mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-04-19 20:19:13 +12:00
[GSP] Add interrupt relay event
This commit is contained in:
parent
d0db2eefce
commit
5daade05d8
4 changed files with 25 additions and 5 deletions
|
@ -213,9 +213,8 @@ void Kernel::waitSynchronizationN() {
|
|||
return;
|
||||
}
|
||||
|
||||
Helpers::panic("WaitSyncAny can't instantly acquire :(");
|
||||
regs[0] = SVCResult::Success;
|
||||
regs[1] = handleCount - 1; // FIX THIS
|
||||
regs[0] = SVCResult::Success; // If the thread times out, this should be adjusted to SVCResult::Timeout
|
||||
regs[1] = handleCount - 1; // When the thread exits, this will be adjusted to mirror which handle woke us up
|
||||
t.waitList.resize(handleCount);
|
||||
t.status = ThreadStatus::WaitSyncAny;
|
||||
t.outPointer = outPointer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue