diff options
| author | 2021-08-14 02:14:19 -0700 | |
|---|---|---|
| committer | 2021-08-14 02:14:19 -0700 | |
| commit | aef0ca6f0d422623f46f47c15e9a4c9b5fd04dd0 (patch) | |
| tree | f82819f5b1470345ea3aab20ba18eba67afe63e5 /src/core/cpu_manager.cpp | |
| parent | core: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard. (diff) | |
| download | yuzu-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.cpp | 2 |
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 | ||