hle: kernel: Move single core "phantom mode" out of KThread.

- This is a workaround that does not belong in a kernel primitive.
This commit is contained in:
bunnei 2020-12-31 02:13:02 -08:00
parent eea346ba8e
commit 4782985013
4 changed files with 31 additions and 16 deletions

View file

@ -237,6 +237,10 @@ public:
*/
void ReleaseServiceThread(std::weak_ptr<Kernel::ServiceThread> service_thread);
/// Workaround for single-core mode when preempting threads while idle.
bool IsPhantomModeForSingleCore() const;
void SetIsPhantomModeForSingleCore(bool value);
private:
friend class Object;
friend class Process;