From e280f5615a61c04edc290366ac477b7ee42e35f3 Mon Sep 17 00:00:00 2001 From: Sepalani Date: Fri, 3 Feb 2017 23:30:37 +0000 Subject: [PATCH] Handle another case with HLE_GeneralDebugPrint --- Source/Core/Core/HLE/HLE_OS.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/HLE/HLE_OS.cpp b/Source/Core/Core/HLE/HLE_OS.cpp index 6b6ada1110..02b0cd8af7 100644 --- a/Source/Core/Core/HLE/HLE_OS.cpp +++ b/Source/Core/Core/HLE/HLE_OS.cpp @@ -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;