diff options
author | Subv <subv2112@gmail.com> | 2018-08-13 00:51:47 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-08-13 01:41:12 +0200 |
commit | 2e7802ad7d4ab80d9547c3ee44ad3a1341dea625 (patch) | |
tree | fa4e31e2fe542c263f68a6395cd8e4e150eda799 | |
parent | CPU/HLE: Lock the HLE mutex before performing a reschedule. (diff) | |
download | yuzu-2e7802ad7d4ab80d9547c3ee44ad3a1341dea625.tar yuzu-2e7802ad7d4ab80d9547c3ee44ad3a1341dea625.tar.gz yuzu-2e7802ad7d4ab80d9547c3ee44ad3a1341dea625.tar.bz2 yuzu-2e7802ad7d4ab80d9547c3ee44ad3a1341dea625.tar.lz yuzu-2e7802ad7d4ab80d9547c3ee44ad3a1341dea625.tar.xz yuzu-2e7802ad7d4ab80d9547c3ee44ad3a1341dea625.tar.zst yuzu-2e7802ad7d4ab80d9547c3ee44ad3a1341dea625.zip |
-rw-r--r-- | src/core/core_cpu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core_cpu.h b/src/core/core_cpu.h index 976952903..56cdae194 100644 --- a/src/core/core_cpu.h +++ b/src/core/core_cpu.h @@ -79,7 +79,7 @@ private: std::shared_ptr<CpuBarrier> cpu_barrier; std::shared_ptr<Kernel::Scheduler> scheduler; - bool reschedule_pending{}; + std::atomic<bool> reschedule_pending = false; size_t core_index; }; |