Don't measure syscall stats when not showing.

This commit is contained in:
Unknown W. Brackets 2013-01-30 21:58:51 -08:00
parent d44a731991
commit 4ccd9ee118

View File

@ -20,6 +20,7 @@
#include <map>
#include <vector>
#include "../MemMap.h"
#include "../Config.h"
#include "HLETables.h"
#include "../System.h"
@ -399,5 +400,6 @@ void CallSyscall(u32 op)
ERROR_LOG(HLE,"Unimplemented HLE function %s", moduleDB[modulenum].funcTable[funcnum].name);
}
time_update();
updateSyscallStats(modulenum, funcnum, time_now_d() - start);
if (g_Config.bShowDebugStats)
updateSyscallStats(modulenum, funcnum, time_now_d() - start);
}