Missed including this in the __KernelSwitchContext null check fix.

This shouldn't be called if target is null.
This commit is contained in:
lioncash 2013-05-30 11:55:29 -04:00
parent 81a91fbcbb
commit 743f5185b8

View File

@ -2962,9 +2962,9 @@ void __KernelSwitchContext(Thread *target, const char *reason)
// No longer waiting.
target->nt.waitType = WAITTYPE_NONE;
target->nt.waitID = 0;
}
__KernelExecutePendingMipsCalls(target, true);
__KernelExecutePendingMipsCalls(target, true);
}
}
void __KernelChangeThreadState(Thread *thread, ThreadStatus newStatus) {