HLE: Updated various handle debug assertions to be more clear.
This commit is contained in:
parent
780a443b08
commit
d7363322c7
4 changed files with 10 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue