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
commitcc2f7dcd08ae9455524098d2c575eed484d8f08c (patch)
treeec11dc90eb2cad49237eecc98766f61b04724254 /src/core/core.cpp
parent65225cf61b553b828f0e024a3d52191c7f60e47c (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();