From 333bc8fa924a4eb5742acd5a69060c52b1244c2c Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 29 Apr 2022 10:25:20 +0200 Subject: [PATCH] Remove OSSetExceptionCallbackEx hook --- src/FSFileReplacements.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/FSFileReplacements.cpp b/src/FSFileReplacements.cpp index 05e0dbe..b1ba084 100644 --- a/src/FSFileReplacements.cpp +++ b/src/FSFileReplacements.cpp @@ -522,10 +522,6 @@ DECL_FUNCTION(FSStatus, FSGetFreeSpaceSizeAsync, FSClient *client, FSCmdBlock *b return real_FSGetFreeSpaceSizeAsync(client, block, path, outSize, errorMask, asyncData); } -DECL_FUNCTION(void, OSSetExceptionCallbackEx, void) { - return; -} - function_replacement_data_t fs_file_function_replacements[] = { REPLACE_FUNCTION(FSOpenFile, LIBRARY_COREINIT, FSOpenFile), REPLACE_FUNCTION(FSOpenFileAsync, LIBRARY_COREINIT, FSOpenFileAsync), @@ -570,7 +566,6 @@ function_replacement_data_t fs_file_function_replacements[] = { REPLACE_FUNCTION(FSFlushFileAsync, LIBRARY_COREINIT, FSFlushFileAsync), REPLACE_FUNCTION(FSChangeModeAsync, LIBRARY_COREINIT, FSChangeModeAsync), - REPLACE_FUNCTION(OSSetExceptionCallbackEx, LIBRARY_COREINIT, OSSetExceptionCallbackEx), //REPLACE_FUNCTION(FSGetFreeSpaceSizeAsync, LIBRARY_COREINIT, FSGetFreeSpaceSizeAsync), //REPLACE_FUNCTION_VIA_ADDRESS(FSGetFreeSpaceSizeAsync, LIBRARY_COREINIT, 0x0A000000 + 0x0256079c),