diff options
| author | 2018-01-08 21:12:13 -0500 | |
|---|---|---|
| committer | 2018-01-08 21:12:56 -0500 | |
| commit | 9fcd2bf672e6adfbf0e2e2e3e798c7f5a6549e71 (patch) | |
| tree | 053733f2a551d2e1ada0468d72fe37bd542ef565 /src | |
| parent | Kernel: Actually wake up the requested number of threads in Semaphore::Release. (diff) | |
| download | yuzu-9fcd2bf672e6adfbf0e2e2e3e798c7f5a6549e71.tar.gz yuzu-9fcd2bf672e6adfbf0e2e2e3e798c7f5a6549e71.tar.xz yuzu-9fcd2bf672e6adfbf0e2e2e3e798c7f5a6549e71.zip | |
mutex: Remove unused call to VerifyGuestState.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/kernel/mutex.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp index 0ee92a3e3..4e86eb918 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 | |||
| 42 | // Mutexes are referenced by guest address, so track this in the kernel | 42 | // Mutexes are referenced by guest address, so track this in the kernel |
| 43 | g_object_address_table.Insert(guest_addr, mutex); | 43 | g_object_address_table.Insert(guest_addr, mutex); |
| 44 | 44 | ||
| 45 | // Verify that the created mutex matches the guest state for the mutex | ||
| 46 | mutex->VerifyGuestState(); | ||
| 47 | |||
| 48 | return mutex; | 45 | return mutex; |
| 49 | } | 46 | } |
| 50 | 47 | ||