diff options
author | bunnei <ericbunnie@gmail.com> | 2014-06-06 00:19:40 -0400 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-06-13 09:51:11 -0400 |
commit | d7363322c79d6e7598e0d80cf1af9c05b652cecb (patch) | |
tree | 162a31d1cda9cada208f3732a7f76317d891a0f2 /src/core/hle/kernel/mutex.cpp | |
parent | 780a443b08454b4bf0eb7f5416e361ce95cc7584 (diff) |
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.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 eee7c4935e..ee7507edfb 100644 --- a/src/core/hle/kernel/mutex.cpp +++ b/src/core/hle/kernel/mutex.cpp @@ -122,7 +122,7 @@ bool ReleaseMutex(Mutex* mutex) { Result ReleaseMutex(Handle handle) { Mutex* mutex = Kernel::g_object_pool.GetFast<Mutex>(handle); - _assert_msg_(KERNEL, mutex, "ReleaseMutex tried to release a NULL mutex!"); + _assert_msg_(KERNEL, (mutex != NULL), "ReleaseMutex tried to release a NULL mutex!"); if (!ReleaseMutex(mutex)) { return -1; |