mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-21 18:08:12 -05:00
Display correct game logo for Japanese
This commit is contained in:
@@ -71,3 +71,18 @@ void CSDOffsetMidAsmHook(PPCRegister& f1, PPCRegister& f2)
|
||||
*(be<float>*)g_memory.Translate(0x8339C5D4) = ((1280.0f / newAspectRatio) - 720.0f) / 2.0f / 720.0f;
|
||||
}
|
||||
}
|
||||
|
||||
/* Hook function that gets the game region
|
||||
and force result to zero for Japanese
|
||||
to display the correct logos. */
|
||||
PPC_FUNC_IMPL(__imp__sub_825197C0);
|
||||
PPC_FUNC(sub_825197C0)
|
||||
{
|
||||
if (Config::Language == ELanguage_Japanese)
|
||||
{
|
||||
ctx.r3.u64 = 0;
|
||||
return;
|
||||
}
|
||||
|
||||
__imp__sub_825197C0(ctx, base);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user