summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-08-13 00:51:47 +0200
committerSubv <subv2112@gmail.com>2018-08-13 01:41:12 +0200
commit2e7802ad7d4ab80d9547c3ee44ad3a1341dea625 (patch)
treefa4e31e2fe542c263f68a6395cd8e4e150eda799
parentCPU/HLE: Lock the HLE mutex before performing a reschedule. (diff)
downloadyuzu-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.h2
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;
};