Core: Fix log spam in debug mode.

No need to log every single call.
This commit is contained in:
Unknown W. Brackets committed 2017-04-24 10:16:26 -07:00
1 parent c29f70e5e9
commit eb5c55e869
1 file changed
+1 -1
+1 -1
View File
@@ -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)