diff options
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
| -rw-r--r-- | src/core/hle/kernel/mutex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp index 355824e60..c170e55ff 100644 --- a/src/core/hle/kernel/mutex.cpp +++ b/src/core/hle/kernel/mutex.cpp | |||
| @@ -53,7 +53,7 @@ void MutexAcquireLock(Mutex* mutex, Handle thread = GetCurrentThread()->GetHandl | |||
| 53 | */ | 53 | */ |
| 54 | void ResumeWaitingThread(Mutex* mutex) { | 54 | void ResumeWaitingThread(Mutex* mutex) { |
| 55 | // Find the next waiting thread for the mutex... | 55 | // Find the next waiting thread for the mutex... |
| 56 | auto next_thread = mutex->ReleaseNextThread(); | 56 | auto next_thread = mutex->WakeupNextThread(); |
| 57 | if (next_thread != nullptr) { | 57 | if (next_thread != nullptr) { |
| 58 | MutexAcquireLock(mutex, next_thread->GetHandle()); | 58 | MutexAcquireLock(mutex, next_thread->GetHandle()); |
| 59 | } else { | 59 | } else { |