Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

mutex: Remove unused call to VerifyGuestState.

bunneia689a33995c9
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp
index 0ee92a3e3a..4e86eb9187 100644
--- a/src/core/hle/kernel/mutex.cpp
+++ b/src/core/hle/kernel/mutex.cpp
@@ -42,9 +42,6 @@ SharedPtr<Mutex> Mutex::Create(SharedPtr<Kernel::Thread> holding_thread, VAddr g
// Mutexes are referenced by guest address, so track this in the kernel
g_object_address_table.Insert(guest_addr, mutex);
- // Verify that the created mutex matches the guest state for the mutex
- mutex->VerifyGuestState();
-
return mutex;
}