mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-26 12:21:39 +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;
|
r11.u8 = 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetXButtonHomingMidAsmHook(PPCRegister& r30)
|
|
||||||
{
|
|
||||||
r30.u32 = Config::XButtonHoming;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Hook function that gets the game region
|
/* Hook function that gets the game region
|
||||||
and force result to zero for Japanese
|
and force result to zero for Japanese
|
||||||
to display the correct logos. */
|
to display the correct logos. */
|
||||||
|
|
|
||||||
|
|
@ -89,3 +89,8 @@ void PostUnleashMidAsmHook(PPCRegister& r30)
|
||||||
m_isUnleashCancelled = false;
|
m_isUnleashCancelled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void SetXButtonHomingMidAsmHook(PPCRegister& r30)
|
||||||
|
{
|
||||||
|
r30.u32 = Config::XButtonHoming;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue