summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-24 11:40:31 +0200
committerbunnei <bunneidev@gmail.com>2021-05-06 01:40:53 +0200
commit4b03e6e776e6421c2b2c290b0822b9e5a8556a4c (patch)
tree87c2925a7adf4109a77b4f015cd36d803d4221fc /src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h
parenthle: kernel: KClassToken: Ensure class tokens are correct. (diff)
downloadyuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar.gz
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar.bz2
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar.lz
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar.xz
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.tar.zst
yuzu-4b03e6e776e6421c2b2c290b0822b9e5a8556a4c.zip
Diffstat (limited to 'src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h')
-rw-r--r--src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h b/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h
index ebecf0c77..1bfbbcfe2 100644
--- a/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h
+++ b/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h
@@ -8,7 +8,7 @@
#pragma once
#include "common/common_types.h"
-#include "core/hle/kernel/handle_table.h"
+#include "core/hle/kernel/k_handle_table.h"
#include "core/hle/kernel/k_thread.h"
#include "core/hle/kernel/kernel.h"
#include "core/hle/kernel/time_manager.h"
@@ -17,7 +17,7 @@ namespace Kernel {
class [[nodiscard]] KScopedSchedulerLockAndSleep {
public:
- explicit KScopedSchedulerLockAndSleep(KernelCore & kernel, KThread * t, s64 timeout)
+ explicit KScopedSchedulerLockAndSleep(KernelCore& kernel, KThread* t, s64 timeout)
: kernel(kernel), thread(t), timeout_tick(timeout) {
// Lock the scheduler.
kernel.GlobalSchedulerContext().scheduler_lock.Lock();