@@ -560,11 +560,11 @@ function_replacement_data_t fs_file_function_replacements[] = {
560560 REPLACE_FUNCTION (FSCloseFileAsync, LIBRARY_COREINIT , FSCloseFileAsync),
561561 REPLACE_FUNCTION (FSGetStatAsync, LIBRARY_COREINIT , FSGetStatAsync),
562562 REPLACE_FUNCTION (FSGetStatFileAsync, LIBRARY_COREINIT , FSGetStatFileAsync),
563- REPLACE_FUNCTION_VIA_ADDRESS (FSReadFileGeneric, 0x3201C400 + 0x4ecc0 , 0x101C400 + 0x4ecc0 ),
563+ REPLACE_FUNCTION_VIA_ADDRESS_FOR_PROCESS (FSReadFileGeneric, 0x3201C400 + 0x4ecc0 , 0x101C400 + 0x4ecc0 , FP_TARGET_PROCESS_GAME_AND_MENU ),
564564 REPLACE_FUNCTION (FSSetPosFileAsync, LIBRARY_COREINIT , FSSetPosFileAsync),
565565 REPLACE_FUNCTION (FSGetPosFileAsync, LIBRARY_COREINIT , FSGetPosFileAsync),
566566 REPLACE_FUNCTION (FSIsEofAsync, LIBRARY_COREINIT , FSIsEofAsync),
567- REPLACE_FUNCTION_VIA_ADDRESS (FSWriteFileGeneric, 0x3201C400 + 0x4eec0 , 0x101C400 + 0x4eec0 ),
567+ REPLACE_FUNCTION_VIA_ADDRESS_FOR_PROCESS (FSWriteFileGeneric, 0x3201C400 + 0x4eec0 , 0x101C400 + 0x4eec0 , FP_TARGET_PROCESS_GAME_AND_MENU ),
568568 REPLACE_FUNCTION (FSTruncateFileAsync, LIBRARY_COREINIT , FSTruncateFileAsync),
569569 REPLACE_FUNCTION (FSRemoveAsync, LIBRARY_COREINIT , FSRemoveAsync),
570570 REPLACE_FUNCTION (FSRenameAsync, LIBRARY_COREINIT , FSRenameAsync),
0 commit comments