[Kernel] Much better arbiter & thread scheduling impl

This commit is contained in:
wheremyfoodat 2022-10-10 16:41:08 +03:00
parent d777981204
commit 81b0f3dde0
8 changed files with 109 additions and 12 deletions

View file

@ -72,4 +72,9 @@ void Kernel::waitSynchronizationN() {
logSVC("WaitSynchronizationN (STUBBED)\n");
regs[0] = SVCResult::Success;
if (currentThreadIndex == 1) {
printf("WaitSynchN OoT hack triggered\n");
switchThread(0);
}
}