[Kernel] Implement ArbitrationType::DecrementAndWaitIfLess
This commit is contained in:
@@ -73,8 +73,7 @@ void Kernel::waitSynchronizationN() {
|
||||
logSVC("WaitSynchronizationN (STUBBED)\n");
|
||||
regs[0] = SVCResult::Success;
|
||||
|
||||
if (currentThreadIndex == 1) {
|
||||
printf("WaitSynchN OoT hack triggered\n");
|
||||
switchThread(0);
|
||||
}
|
||||
printf("Hacky WaitSync stuff for OoT triggered!!!\n");
|
||||
threads[currentThreadIndex].status = ThreadStatus::Ready;
|
||||
switchThread(rand() % threadCount);
|
||||
}
|
||||
Reference in New Issue
Block a user