Minor code cleanup

This commit is contained in:
Maschell 2022-02-13 17:34:08 +01:00
parent 83c1cef208
commit 5e53161cb1
2 changed files with 1 additions and 4 deletions

View File

@ -25,8 +25,6 @@ FSCmdBlockBody *fsCmdBlockGetBody(FSCmdBlock *cmdBlock) {
return body;
}
std::mutex sendMutex;
FSStatus send_result_async(FSClient *client, FSCmdBlock *block, FSAsyncData *asyncData, FSStatus status) {
if (asyncData->callback != nullptr) {
if (asyncData->ioMsgQueue != nullptr) {

View File

@ -21,11 +21,10 @@
WUMS_MODULE_EXPORT_NAME("homebrew_rpx_loader");
WUMS_USE_WUT_DEVOPTAB();
WUMS_INITIALIZE() {
initLogging();
DEBUG_FUNCTION_LINE("Patch functions");
// we only patch static functions, we don't need re-patch them and every launch
// we only patch static functions, we don't need re-patch them at every launch
FunctionPatcherPatchFunction(fs_file_function_replacements, fs_file_function_replacements_size);
FunctionPatcherPatchFunction(fs_dir_function_replacements, fs_dir_function_replacements_size);
FunctionPatcherPatchFunction(rpx_utils_function_replacements, rpx_utils_function_replacements_size);