diff options
Diffstat (limited to 'src/core/hle/kernel/kernel.cpp')
| -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 { | |||
| 336 | return this_id; | 336 | return this_id; |
| 337 | } | 337 | } |
| 338 | 338 | ||
| 339 | static inline thread_local bool is_phantom_mode_for_singlecore{false}; | ||
| 340 | |||
| 339 | bool IsPhantomModeForSingleCore() const { | 341 | bool IsPhantomModeForSingleCore() const { |
| 340 | return is_phantom_mode_for_singlecore; | 342 | return is_phantom_mode_for_singlecore; |
| 341 | } | 343 | } |
| @@ -800,7 +802,6 @@ struct KernelCore::Impl { | |||
| 800 | 802 | ||
| 801 | bool is_multicore{}; | 803 | bool is_multicore{}; |
| 802 | std::atomic_bool is_shutting_down{}; | 804 | std::atomic_bool is_shutting_down{}; |
| 803 | bool is_phantom_mode_for_singlecore{}; | ||
| 804 | u32 single_core_thread_id{}; | 805 | u32 single_core_thread_id{}; |
| 805 | 806 | ||
| 806 | std::array<u64, Core::Hardware::NUM_CPU_CORES> svc_ticks{}; | 807 | std::array<u64, Core::Hardware::NUM_CPU_CORES> svc_ticks{}; |