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

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