Avoid proccess check when using REPLACE_FUNCTION_OF_EXECUTABLE macros

This commit is contained in:
Maschell 2023-01-08 13:41:18 +01:00
parent 119f529fdd
commit 5e9efc5550
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ typedef function_replacement_data_t function_replacement_data_v3_t;
.virtualAddr = 0, \
.replaceAddr = (uint32_t) my_##__replacementFunctionName, \
.replaceCall = (uint32_t *) &real_##__replacementFunctionName, \
.targetProcess = FP_TARGET_PROCESS_GAME_AND_MENU, \
.targetProcess = FP_TARGET_PROCESS_ALL, \
.ReplaceInRPX = { \
.targetTitleIds = __targetTitleIds, \
.targetTitleIdsCount = __targetTitleIdsCount, \