diff options
author | bunnei <bunneidev@gmail.com> | 2021-12-06 08:49:26 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-12-07 01:39:18 +0100 |
commit | 0d1bdfc1d4f9cb9ceecdb2dd9c784a664f6ba0c8 (patch) | |
tree | 40ee98688585e116a0773c23eb7bd12f3d488d5c /src/core/hle/kernel/k_light_lock.cpp | |
parent | hle: kernel: service_thread: Force stop threads on destruction. (diff) | |
download | yuzu-0d1bdfc1d4f9cb9ceecdb2dd9c784a664f6ba0c8.tar yuzu-0d1bdfc1d4f9cb9ceecdb2dd9c784a664f6ba0c8.tar.gz yuzu-0d1bdfc1d4f9cb9ceecdb2dd9c784a664f6ba0c8.tar.bz2 yuzu-0d1bdfc1d4f9cb9ceecdb2dd9c784a664f6ba0c8.tar.lz yuzu-0d1bdfc1d4f9cb9ceecdb2dd9c784a664f6ba0c8.tar.xz yuzu-0d1bdfc1d4f9cb9ceecdb2dd9c784a664f6ba0c8.tar.zst yuzu-0d1bdfc1d4f9cb9ceecdb2dd9c784a664f6ba0c8.zip |
Diffstat (limited to 'src/core/hle/kernel/k_light_lock.cpp')
-rw-r--r-- | src/core/hle/kernel/k_light_lock.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_light_lock.cpp b/src/core/hle/kernel/k_light_lock.cpp index 9830506ff..4620342eb 100644 --- a/src/core/hle/kernel/k_light_lock.cpp +++ b/src/core/hle/kernel/k_light_lock.cpp @@ -16,8 +16,8 @@ class ThreadQueueImplForKLightLock final : public KThreadQueue { public: explicit ThreadQueueImplForKLightLock(KernelCore& kernel_) : KThreadQueue(kernel_) {} - virtual void CancelWait(KThread* waiting_thread, ResultCode wait_result, - bool cancel_timer_task) override { + void CancelWait(KThread* waiting_thread, ResultCode wait_result, + bool cancel_timer_task) override { // Remove the thread as a waiter from its owner. if (KThread* owner = waiting_thread->GetLockOwner(); owner != nullptr) { owner->RemoveWaiter(waiting_thread); |