diff options
author | Liam <byteslice@airmail.cc> | 2022-07-07 18:34:46 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-07-15 04:47:18 +0200 |
commit | da07e13e0798a4ebd423595830f04e2234a03942 (patch) | |
tree | 2e2a88eb2fd2a5ae6f070609040418f9c1df4c35 /src/core/hle/kernel/k_scheduler.h | |
parent | kernel: fix issues with single core mode (diff) | |
download | yuzu-da07e13e0798a4ebd423595830f04e2234a03942.tar yuzu-da07e13e0798a4ebd423595830f04e2234a03942.tar.gz yuzu-da07e13e0798a4ebd423595830f04e2234a03942.tar.bz2 yuzu-da07e13e0798a4ebd423595830f04e2234a03942.tar.lz yuzu-da07e13e0798a4ebd423595830f04e2234a03942.tar.xz yuzu-da07e13e0798a4ebd423595830f04e2234a03942.tar.zst yuzu-da07e13e0798a4ebd423595830f04e2234a03942.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_scheduler.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/hle/kernel/k_scheduler.h b/src/core/hle/kernel/k_scheduler.h index 91e870933..ac7421c9a 100644 --- a/src/core/hle/kernel/k_scheduler.h +++ b/src/core/hle/kernel/k_scheduler.h @@ -49,6 +49,7 @@ public: void SetInterruptTaskRunnable(); void RequestScheduleOnInterrupt(); + void PreemptSingleCore(); u64 GetIdleCount() { return m_state.idle_count; @@ -62,10 +63,6 @@ public: return m_current_thread.load() == m_idle_thread; } - std::shared_ptr<Common::Fiber> GetSwitchFiber() { - return m_switch_fiber; - } - KThread* GetPreviousThread() const { return m_state.prev_thread; } |