HLE: Updated various handle debug assertions to be more clear.

This commit is contained in:
bunnei 2014-06-06 00:19:40 -04:00
parent 780a443b08
commit d7363322c7
4 changed files with 10 additions and 10 deletions

View file

@ -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;