mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
[Kernel] Moar threads
This commit is contained in:
parent
920fd4cf0d
commit
134d63c515
4 changed files with 28 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue