Merge pull request #4817 from sepalani/debug_print_case

Handle another case with HLE_GeneralDebugPrint
This commit is contained in:
Matthew Parlane 2017-02-06 17:40:44 +13:00 committed by GitHub
commit b9fc79020d
1 changed files with 10 additions and 2 deletions

View File

@ -47,10 +47,18 @@ void HLE_GeneralDebugPrint()
} }
} }
else else
{
if (GPR(3) > 0x80000000)
{ {
// ___blank(const char* fmt, ...); // ___blank(const char* fmt, ...);
report_message = GetStringVA(); report_message = GetStringVA();
} }
else
{
// ___blank(int log_type, const char* fmt, ...);
report_message = GetStringVA(4);
}
}
NPC = LR; NPC = LR;