patches: move XButtonHoming hook to player_patches

This commit is contained in:
Hyper 2024-11-09 14:54:44 +00:00
parent 0962560ec9
commit dabda369ca
2 changed files with 5 additions and 5 deletions

View file

@ -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. */

View file

@ -89,3 +89,8 @@ void PostUnleashMidAsmHook(PPCRegister& r30)
m_isUnleashCancelled = false;
}
}
void SetXButtonHomingMidAsmHook(PPCRegister& r30)
{
r30.u32 = Config::XButtonHoming;
}