aboutsummaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-03-08 22:39:41 -0400
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 11:35:42 -0400
commitab9aae28bf5daa5fa7105bb4ef41b6d0b3c9cdc1 (patch)
treeec11dc90eb2cad49237eecc98766f61b04724254 /src/core/core.cpp
parent391f5f360d4144c21d65b998dd4e467b56533f78 (diff)
General: Initial Setup for Single Core.
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 5d4ecdce5a..fd1bdcaf0a 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -149,6 +149,9 @@ struct System::Impl {
device_memory = std::make_unique<Core::DeviceMemory>(system);
+ kernel.SetMulticore(Settings::values.use_multi_core);
+ cpu_manager.SetMulticore(Settings::values.use_multi_core);
+
core_timing.Initialize([&system]() { system.RegisterHostThread(); });
kernel.Initialize();
cpu_manager.Initialize();