[Kernel] Moar threads

This commit is contained in:
wheremyfoodat 2023-04-20 22:00:51 +03:00
parent 920fd4cf0d
commit 134d63c515
4 changed files with 28 additions and 2 deletions

View file

@ -101,6 +101,7 @@ void Kernel::waitSynchronization1() {
}
if (!shouldWaitOnObject(object)) {
acquireSyncObject(object, threads[currentThreadIndex]); // Acquire the object since it's ready
regs[0] = SVCResult::Success;
} else {
// Timeout is 0, don't bother waiting, instantly timeout