diff options
author | Subv <subv2112@gmail.com> | 2018-05-20 14:41:58 -0500 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-05-20 14:41:58 -0500 |
commit | fd500d3da6f31bfaf749a5262b804a707860f442 (patch) | |
tree | fedd63f0fe0734a42e03451b7266a1829e09f6d3 /src | |
parent | 1b5c02fc37206bbd33715d2dde6258c3f835581c (diff) |
Mutex: Do not assert when the mutex waiting threads list isn't empty on mutex release.
A thread may own multiple mutexes at the same time, and only release one of them while other threads are waiting for the other mutexes.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/kernel/mutex.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp index 63733ad79..bc144f3de 100644 --- a/src/core/hle/kernel/mutex.cpp +++ b/src/core/hle/kernel/mutex.cpp @@ -104,7 +104,6 @@ ResultCode Mutex::Release(VAddr address) { // There are no more threads waiting for the mutex, release it completely. if (thread == nullptr) { - ASSERT(GetCurrentThread()->wait_mutex_threads.empty()); Memory::Write32(address, 0); return RESULT_SUCCESS; } |