mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-10-30 07:11:05 +00:00
patches: move XButtonHoming hook to player_patches
This commit is contained in:
parent
0962560ec9
commit
dabda369ca
2 changed files with 5 additions and 5 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
|
|
@ -89,3 +89,8 @@ void PostUnleashMidAsmHook(PPCRegister& r30)
|
|||
m_isUnleashCancelled = false;
|
||||
}
|
||||
}
|
||||
|
||||
void SetXButtonHomingMidAsmHook(PPCRegister& r30)
|
||||
{
|
||||
r30.u32 = Config::XButtonHoming;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue