mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-18 17:00:30 +02:00
Turn down logging for things that can be inferred.
If you see a thread switch for a vblank wait, you know what happened.
This commit is contained in:
1 parent
a34cf0bb79
commit
913dca69ef
4 files changed
+13
-13
No files matched your search
@@ -1989,11 +1989,12 @@ static void __KernelSleepThread(bool doCallbacks) {
|
||||
return;
|
||||
}
|
||||
|
||||
DEBUG_LOG(HLE,"sceKernelSleepThread() - wakeupCount decremented to %i", thread->nt.wakeupCount);
|
||||
if (thread->nt.wakeupCount > 0) {
|
||||
thread->nt.wakeupCount--;
|
||||
DEBUG_LOG(HLE, "sceKernelSleepThread() - wakeupCount decremented to %i", thread->nt.wakeupCount);
|
||||
RETURN(0);
|
||||
} else {
|
||||
VERBOSE_LOG(HLE, "sceKernelSleepThread()", thread->nt.wakeupCount);
|
||||
RETURN(0);
|
||||
__KernelWaitCurThread(WAITTYPE_SLEEP, 0, 0, 0, doCallbacks, "thread slept");
|
||||
}
|
||||
@@ -2007,7 +2008,7 @@ void sceKernelSleepThread()
|
||||
//the homebrew PollCallbacks
|
||||
void sceKernelSleepThreadCB()
|
||||
{
|
||||
DEBUG_LOG(HLE, "sceKernelSleepThreadCB()");
|
||||
VERBOSE_LOG(HLE, "sceKernelSleepThreadCB()");
|
||||
__KernelSleepThread(true);
|
||||
__KernelCheckCallbacks();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user