diff options
| author | 2021-05-01 12:17:45 -0700 | |
|---|---|---|
| committer | 2021-05-05 16:40:53 -0700 | |
| commit | 57f80c74b662bd6337edc162eff8808cf7001dcf (patch) | |
| tree | bca63a160c53120b859f1c949fe1beed023776e3 /src | |
| parent | fixup! hle: kernel: Improve MapSharedMemory and implement UnmapSharedMemory. (diff) | |
| download | yuzu-57f80c74b662bd6337edc162eff8808cf7001dcf.tar.gz yuzu-57f80c74b662bd6337edc162eff8808cf7001dcf.tar.xz yuzu-57f80c74b662bd6337edc162eff8808cf7001dcf.zip | |
fixup! hle: kernel: Migrate to KHandleTable.
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h | 2 |
1 files changed, 1 insertions, 1 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 1bfbbcfe2..b5d405744 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 | |||
| @@ -17,7 +17,7 @@ namespace Kernel { | |||
| 17 | 17 | ||
| 18 | class [[nodiscard]] KScopedSchedulerLockAndSleep { | 18 | class [[nodiscard]] KScopedSchedulerLockAndSleep { |
| 19 | public: | 19 | public: |
| 20 | explicit KScopedSchedulerLockAndSleep(KernelCore& kernel, KThread* t, s64 timeout) | 20 | explicit KScopedSchedulerLockAndSleep(KernelCore & kernel, KThread * t, s64 timeout) |
| 21 | : kernel(kernel), thread(t), timeout_tick(timeout) { | 21 | : kernel(kernel), thread(t), timeout_tick(timeout) { |
| 22 | // Lock the scheduler. | 22 | // Lock the scheduler. |
| 23 | kernel.GlobalSchedulerContext().scheduler_lock.Lock(); | 23 | kernel.GlobalSchedulerContext().scheduler_lock.Lock(); |