Implemented XButtonHoming hook

This commit is contained in:
Hyper
2024-10-18 00:10:18 +01:00
parent 56657a85f0
commit 52f751c6c8
2 changed files with 11 additions and 1 deletions
+5
View File
@@ -162,6 +162,11 @@ bool DisableHintsMidAsmHook()
return !Config::Hints;
}
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. */