diff options
| author | 2021-08-14 02:14:19 -0700 | |
|---|---|---|
| committer | 2021-12-06 16:39:17 -0800 | |
| commit | 3dc803a430107fb22ffc91608c613e09ec5c8b51 (patch) | |
| tree | f8d5a747cf9d89befd89beec16bdc116d2725fe8 /src/core/cpu_manager.cpp | |
| parent | core: hle: kernel: k_thread: Mark KScopedDisableDispatch as nodiscard. (diff) | |
| download | yuzu-3dc803a430107fb22ffc91608c613e09ec5c8b51.tar.gz yuzu-3dc803a430107fb22ffc91608c613e09ec5c8b51.tar.xz yuzu-3dc803a430107fb22ffc91608c613e09ec5c8b51.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 d9bd5b665..cbcc54891 100644 --- a/src/core/cpu_manager.cpp +++ b/src/core/cpu_manager.cpp | |||
| @@ -32,7 +32,7 @@ void CpuManager::Initialize() { | |||
| 32 | core_data[core].host_thread = std::jthread(ThreadStart, std::ref(*this), core); | 32 | core_data[core].host_thread = std::jthread(ThreadStart, std::ref(*this), core); |
| 33 | } | 33 | } |
| 34 | } else { | 34 | } else { |
| 35 | core_data[0].host_thread = std::jthread(ThreadStart, std::ref(*this), -1); | 35 | core_data[0].host_thread = std::jthread(ThreadStart, std::ref(*this), 0); |
| 36 | } | 36 | } |
| 37 | } | 37 | } |
| 38 | 38 | ||