mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-19 03:17:34 +01:00
kernel: fix single core for service threads
This commit is contained in:
parent
2228383322
commit
633411c20f
@ -336,6 +336,8 @@ struct KernelCore::Impl {
|
|||||||
return this_id;
|
return this_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static inline thread_local bool is_phantom_mode_for_singlecore{false};
|
||||||
|
|
||||||
bool IsPhantomModeForSingleCore() const {
|
bool IsPhantomModeForSingleCore() const {
|
||||||
return is_phantom_mode_for_singlecore;
|
return is_phantom_mode_for_singlecore;
|
||||||
}
|
}
|
||||||
@ -800,7 +802,6 @@ struct KernelCore::Impl {
|
|||||||
|
|
||||||
bool is_multicore{};
|
bool is_multicore{};
|
||||||
std::atomic_bool is_shutting_down{};
|
std::atomic_bool is_shutting_down{};
|
||||||
bool is_phantom_mode_for_singlecore{};
|
|
||||||
u32 single_core_thread_id{};
|
u32 single_core_thread_id{};
|
||||||
|
|
||||||
std::array<u64, Core::Hardware::NUM_CPU_CORES> svc_ticks{};
|
std::array<u64, Core::Hardware::NUM_CPU_CORES> svc_ticks{};
|
||||||
|
Loading…
Reference in New Issue
Block a user