yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

fixup! hle: kernel: Migrate to KHandleTable.

This commit is contained in:
bunnei 2021-05-01 12:17:45 -07:00
parent caa11748c6
commit 57f80c74b6
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ namespace Kernel {
class [[nodiscard]] KScopedSchedulerLockAndSleep { class [[nodiscard]] KScopedSchedulerLockAndSleep {
public: public:
explicit KScopedSchedulerLockAndSleep(KernelCore& kernel, KThread* t, s64 timeout) explicit KScopedSchedulerLockAndSleep(KernelCore & kernel, KThread * t, s64 timeout)
: kernel(kernel), thread(t), timeout_tick(timeout) { : kernel(kernel), thread(t), timeout_tick(timeout) {
// Lock the scheduler. // Lock the scheduler.
kernel.GlobalSchedulerContext().scheduler_lock.Lock(); kernel.GlobalSchedulerContext().scheduler_lock.Lock();