summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/mutex.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-06-06 00:19:40 -0400
committerGravatar bunnei2014-06-13 09:51:11 -0400
commitd7363322c79d6e7598e0d80cf1af9c05b652cecb (patch)
tree162a31d1cda9cada208f3732a7f76317d891a0f2 /src/core/hle/kernel/mutex.cpp
parentMutex: Moved ReleaseMutex iterator declaration to be inside while loop. (diff)
downloadyuzu-d7363322c79d6e7598e0d80cf1af9c05b652cecb.tar.gz
yuzu-d7363322c79d6e7598e0d80cf1af9c05b652cecb.tar.xz
yuzu-d7363322c79d6e7598e0d80cf1af9c05b652cecb.zip
HLE: Updated various handle debug assertions to be more clear.
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
-rw-r--r--src/core/hle/kernel/mutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp
index eee7c4935..ee7507edf 100644
--- a/src/core/hle/kernel/mutex.cpp
+++ b/src/core/hle/kernel/mutex.cpp
@@ -122,7 +122,7 @@ bool ReleaseMutex(Mutex* mutex) {
122Result ReleaseMutex(Handle handle) { 122Result ReleaseMutex(Handle handle) {
123 Mutex* mutex = Kernel::g_object_pool.GetFast<Mutex>(handle); 123 Mutex* mutex = Kernel::g_object_pool.GetFast<Mutex>(handle);
124 124
125 _assert_msg_(KERNEL, mutex, "ReleaseMutex tried to release a NULL mutex!"); 125 _assert_msg_(KERNEL, (mutex != NULL), "ReleaseMutex tried to release a NULL mutex!");
126 126
127 if (!ReleaseMutex(mutex)) { 127 if (!ReleaseMutex(mutex)) {
128 return -1; 128 return -1;