diff --git a/UnleashedRecomp/patches/misc_patches.cpp b/UnleashedRecomp/patches/misc_patches.cpp index 616ee73..a130764 100644 --- a/UnleashedRecomp/patches/misc_patches.cpp +++ b/UnleashedRecomp/patches/misc_patches.cpp @@ -32,11 +32,6 @@ void WerehogBattleMusicMidAsmHook(PPCRegister& r11) r11.u8 = 3; } -void SetXButtonHomingMidAsmHook(PPCRegister& r30) -{ - r30.u32 = Config::XButtonHoming; -} - /* Hook function that gets the game region and force result to zero for Japanese to display the correct logos. */ diff --git a/UnleashedRecomp/patches/player_patches.cpp b/UnleashedRecomp/patches/player_patches.cpp index a926a31..1420f6a 100644 --- a/UnleashedRecomp/patches/player_patches.cpp +++ b/UnleashedRecomp/patches/player_patches.cpp @@ -89,3 +89,8 @@ void PostUnleashMidAsmHook(PPCRegister& r30) m_isUnleashCancelled = false; } } + +void SetXButtonHomingMidAsmHook(PPCRegister& r30) +{ + r30.u32 = Config::XButtonHoming; +}