Răsfoiți Sursa

mutex: Remove unused call to VerifyGuestState.

bunnei 8 ani în urmă
părinte
comite
9fcd2bf672
1 a modificat fișierele cu 0 adăugiri și 3 ștergeri
  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;
 }