From 5e9efc5550e80095fa19cddaa8c05fae9c00d3e8 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 8 Jan 2023 13:41:18 +0100 Subject: [PATCH] Avoid proccess check when using REPLACE_FUNCTION_OF_EXECUTABLE macros --- include/function_patcher/fpatching_defines.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/function_patcher/fpatching_defines.h b/include/function_patcher/fpatching_defines.h index 868752a..54217ad 100644 --- a/include/function_patcher/fpatching_defines.h +++ b/include/function_patcher/fpatching_defines.h @@ -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, \