diff options
author | Lioncash <mathew1800@gmail.com> | 2019-11-26 23:39:57 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-11-27 03:55:39 +0100 |
commit | e4c381b8850db96f162cfcf2cbe28b0e7c1f76f1 (patch) | |
tree | 14b95ea207543f3884558ebdf8673a511bf64dc3 /src/core/cpu_core_manager.cpp | |
parent | core/memory: Migrate over Read{8, 16, 32, 64, Block} to the Memory class (diff) | |
download | yuzu-e4c381b8850db96f162cfcf2cbe28b0e7c1f76f1.tar yuzu-e4c381b8850db96f162cfcf2cbe28b0e7c1f76f1.tar.gz yuzu-e4c381b8850db96f162cfcf2cbe28b0e7c1f76f1.tar.bz2 yuzu-e4c381b8850db96f162cfcf2cbe28b0e7c1f76f1.tar.lz yuzu-e4c381b8850db96f162cfcf2cbe28b0e7c1f76f1.tar.xz yuzu-e4c381b8850db96f162cfcf2cbe28b0e7c1f76f1.tar.zst yuzu-e4c381b8850db96f162cfcf2cbe28b0e7c1f76f1.zip |
Diffstat (limited to 'src/core/cpu_core_manager.cpp')
-rw-r--r-- | src/core/cpu_core_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/cpu_core_manager.cpp b/src/core/cpu_core_manager.cpp index 8efd410bb..f04a34133 100644 --- a/src/core/cpu_core_manager.cpp +++ b/src/core/cpu_core_manager.cpp @@ -25,7 +25,7 @@ CpuCoreManager::~CpuCoreManager() = default; void CpuCoreManager::Initialize() { barrier = std::make_unique<CpuBarrier>(); - exclusive_monitor = Cpu::MakeExclusiveMonitor(cores.size()); + exclusive_monitor = Cpu::MakeExclusiveMonitor(system.Memory(), cores.size()); for (std::size_t index = 0; index < cores.size(); ++index) { cores[index] = std::make_unique<Cpu>(system, *exclusive_monitor, *barrier, index); |