mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 19:08:24 -05:00
HLE: Updated various handle debug assertions to be more clear.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user