diff options
| author | 2018-02-05 20:14:40 -0800 | |
|---|---|---|
| committer | 2018-02-05 20:14:40 -0800 | |
| commit | 1cd9438945629d8d56f653c32ee4ddce4f7580a0 (patch) | |
| tree | 3bfaeed6762338c883af351cef9e27021c3e0268 /src/core/hle/kernel/mutex.cpp | |
| parent | Extra nvdrv support (#162) (diff) | |
| parent | mutex: Update hasWaiters on release. (diff) | |
| download | yuzu-1cd9438945629d8d56f653c32ee4ddce4f7580a0.tar.gz yuzu-1cd9438945629d8d56f653c32ee4ddce4f7580a0.tar.xz yuzu-1cd9438945629d8d56f653c32ee4ddce4f7580a0.zip | |
Merge pull request #165 from bunnei/puyo-fixes
Stubs for HID, AM, and a mutex fix
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
| -rw-r--r-- | src/core/hle/kernel/mutex.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp index 4e86eb918..0b9dc700c 100644 --- a/src/core/hle/kernel/mutex.cpp +++ b/src/core/hle/kernel/mutex.cpp | |||
| @@ -70,6 +70,7 @@ ResultCode Mutex::Release(Thread* thread) { | |||
| 70 | holding_thread->held_mutexes.erase(this); | 70 | holding_thread->held_mutexes.erase(this); |
| 71 | holding_thread->UpdatePriority(); | 71 | holding_thread->UpdatePriority(); |
| 72 | SetHoldingThread(nullptr); | 72 | SetHoldingThread(nullptr); |
| 73 | SetHasWaiters(!GetWaitingThreads().empty()); | ||
| 73 | WakeupAllWaitingThreads(); | 74 | WakeupAllWaitingThreads(); |
| 74 | Core::System::GetInstance().PrepareReschedule(); | 75 | Core::System::GetInstance().PrepareReschedule(); |
| 75 | 76 | ||