mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
[Kernel] Implement ArbitrationType::DecrementAndWaitIfLess
This commit is contained in:
parent
81b0f3dde0
commit
6c3acda34e
3 changed files with 16 additions and 6 deletions
|
@ -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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue