Explorar o código

mutex: Remove unused call to VerifyGuestState.

bunnei %!s(int64=8) %!d(string=hai) anos
pai
achega
9fcd2bf672
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      src/core/hle/kernel/mutex.cpp

+ 0 - 3
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;
 }