Browse Source

mutex: Remove unused call to VerifyGuestState.

bunnei 8 năm trước cách đây
mục cha
commit
9fcd2bf672
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  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;
 }