From eb5c55e869c36dea7b3e455a0d609ff0d25dda52 Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Mon, 24 Apr 2017 10:16:26 -0700 Subject: [PATCH] Core: Fix log spam in debug mode. No need to log every single call. --- Core/HLE/HLE.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/HLE/HLE.cpp b/Core/HLE/HLE.cpp index 32aefdd462..5c6610a780 100644 --- a/Core/HLE/HLE.cpp +++ b/Core/HLE/HLE.cpp @@ -489,7 +489,6 @@ const HLEFunction *GetSyscallFuncPointer(MIPSOpcode op) ERROR_LOG(HLE, "Syscall had bad function number %d in module %d - probably executing garbage", funcnum, modulenum); return NULL; } - DEBUG_LOG(HLE, "Compiling syscall to %s", moduleDB[modulenum].funcTable[funcnum].name); return &moduleDB[modulenum].funcTable[funcnum]; } @@ -500,6 +499,7 @@ void *GetQuickSyscallFunc(MIPSOpcode op) { const HLEFunction *info = GetSyscallFuncPointer(op); if (!info || !info->func) return nullptr; + DEBUG_LOG(HLE, "Compiling syscall to %s", info->name); // TODO: Do this with a flag? if (op == idleOp)