Просмотр исходного кода

mutex: Remove unused call to VerifyGuestState.

bunnei 8 лет назад
Родитель
Сommit
9fcd2bf672
1 измененных файлов с 0 добавлено и 3 удалено
  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
     // Mutexes are referenced by guest address, so track this in the kernel
     g_object_address_table.Insert(guest_addr, mutex);
     g_object_address_table.Insert(guest_addr, mutex);
 
 
-    // Verify that the created mutex matches the guest state for the mutex
-    mutex->VerifyGuestState();
-
     return mutex;
     return mutex;
 }
 }