diff options
author | Liam <byteslice@airmail.cc> | 2022-10-31 01:02:33 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-10-31 22:45:46 +0100 |
commit | 633411c20f9759a9a5f1a3bf15466b387dce9a5a (patch) | |
tree | 4f552e80dc6c77dc846531c2eb0f907e97e18f9b /src/core | |
parent | kernel: fix port tracking (diff) | |
download | yuzu-633411c20f9759a9a5f1a3bf15466b387dce9a5a.tar yuzu-633411c20f9759a9a5f1a3bf15466b387dce9a5a.tar.gz yuzu-633411c20f9759a9a5f1a3bf15466b387dce9a5a.tar.bz2 yuzu-633411c20f9759a9a5f1a3bf15466b387dce9a5a.tar.lz yuzu-633411c20f9759a9a5f1a3bf15466b387dce9a5a.tar.xz yuzu-633411c20f9759a9a5f1a3bf15466b387dce9a5a.tar.zst yuzu-633411c20f9759a9a5f1a3bf15466b387dce9a5a.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/hle/kernel/kernel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp index 054898638..09c36ee09 100644 --- a/src/core/hle/kernel/kernel.cpp +++ b/src/core/hle/kernel/kernel.cpp @@ -336,6 +336,8 @@ struct KernelCore::Impl { return this_id; } + static inline thread_local bool is_phantom_mode_for_singlecore{false}; + bool IsPhantomModeForSingleCore() const { return is_phantom_mode_for_singlecore; } @@ -800,7 +802,6 @@ struct KernelCore::Impl { bool is_multicore{}; std::atomic_bool is_shutting_down{}; - bool is_phantom_mode_for_singlecore{}; u32 single_core_thread_id{}; std::array<u64, Core::Hardware::NUM_CPU_CORES> svc_ticks{}; |