diff --git a/UnleashedRecomp/patches/fps_patches.cpp b/UnleashedRecomp/patches/fps_patches.cpp index 3c4b81a..aac1be6 100644 --- a/UnleashedRecomp/patches/fps_patches.cpp +++ b/UnleashedRecomp/patches/fps_patches.cpp @@ -120,3 +120,11 @@ PPC_FUNC(sub_8312DBF8) while (std::chrono::steady_clock::now() < next) std::this_thread::yield(); } + +void WaitVsyncMidAsmHook() +{ +} + +void ApplicationFrameLimiterMidAsmHook() +{ +} diff --git a/UnleashedRecompLib/config/SWA.toml b/UnleashedRecompLib/config/SWA.toml index 80d3c0a..21971df 100644 --- a/UnleashedRecompLib/config/SWA.toml +++ b/UnleashedRecompLib/config/SWA.toml @@ -904,3 +904,13 @@ name = "MakeCueSheetDataMidAsmHook" address = 0x82E5EA40 registers = ["r31"] jump_address_on_true = 0x82E5EA4C + +[[midasm_hook]] +name = "WaitVsyncMidAsmHook" +address = 0x82AE2770 +jump_address = 0x82AE2774 + +[[midasm_hook]] +name = "ApplicationFrameLimiterMidAsmHook" +address = 0x822C1064 +jump_address = 0x822C111C