HLE_IPC: Correct HLE Event behavior on timeout.
This commit is contained in:
parent
7e2ce2f7f4
commit
19165cd859
3 changed files with 19 additions and 1 deletions
|
@ -70,6 +70,7 @@ std::shared_ptr<WritableEvent> HLERequestContext::SleepClientThread(
|
|||
});
|
||||
const auto readable_event{writable_event->GetReadableEvent()};
|
||||
writable_event->Clear();
|
||||
thread->SetHLESyncObject(readable_event.get());
|
||||
thread->SetStatus(ThreadStatus::WaitHLEEvent);
|
||||
thread->SetSynchronizationResults(nullptr, RESULT_TIMEOUT);
|
||||
readable_event->AddWaitingThread(thread);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue