code style adjustments

This commit is contained in:
DeaTh-G 2025-02-24 20:02:49 +01:00
parent 7e6511db77
commit 9887deae7e

View file

@ -114,15 +114,13 @@ PPC_FUNC_IMPL(__imp__sub_82736E80);
PPC_FUNC(sub_82736E80)
{
// GroupID parameter text
auto* groupId = (const char*)g_memory.Translate(PPC_LOAD_U32(ctx.r3.u32 + 256));
auto* groupId = (const char*)(base + PPC_LOAD_U32(ctx.r3.u32 + 0x100));
// WhiteIsland_ACT1_001 (Windmill Isle Act 1 Night, Start)
// Your friend went off that way, Sonic.
// Quick, let's go after him!
if (!Config::Hints && strcmp(groupId, "WhiteIsland_ACT1_001"))
{
if (!Config::Hints && strcmp(groupId, "WhiteIsland_ACT1_001") != 0)
return;
}
__imp__sub_82736E80(ctx, base);
}