summaryrefslogtreecommitdiff
path: root/src/core/cpu_manager.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2021-08-14 02:14:19 -0700
committerGravatar bunnei2021-08-14 02:14:19 -0700
commitaef0ca6f0d422623f46f47c15e9a4c9b5fd04dd0 (patch)
treef82819f5b1470345ea3aab20ba18eba67afe63e5 /src/core/cpu_manager.cpp
parentcore: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard. (diff)
downloadyuzu-aef0ca6f0d422623f46f47c15e9a4c9b5fd04dd0.tar.gz
yuzu-aef0ca6f0d422623f46f47c15e9a4c9b5fd04dd0.tar.xz
yuzu-aef0ca6f0d422623f46f47c15e9a4c9b5fd04dd0.zip
core: hle: kernel: Disable dispatch count tracking on single core.
- This would have limited value, and would be a mess to handle properly.
Diffstat (limited to 'src/core/cpu_manager.cpp')
-rw-r--r--src/core/cpu_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cpu_manager.cpp b/src/core/cpu_manager.cpp
index 35c1a6cbd..de2e5563e 100644
--- a/src/core/cpu_manager.cpp
+++ b/src/core/cpu_manager.cpp
@@ -33,7 +33,7 @@ void CpuManager::Initialize() {
33 core_data[core].host_thread = std::jthread(ThreadStart, std::ref(*this), core); 33 core_data[core].host_thread = std::jthread(ThreadStart, std::ref(*this), core);
34 } 34 }
35 } else { 35 } else {
36 core_data[0].host_thread = std::jthread(ThreadStart, std::ref(*this), -1); 36 core_data[0].host_thread = std::jthread(ThreadStart, std::ref(*this), 0);
37 } 37 }
38} 38}
39 39