summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar Liam2023-11-17 23:44:53 +0200
committerGravatar t8952023-11-25 00:46:47 -0500
commit9f91ba1f7357c61dd2c7c3b437ea203d467fd400 (patch)
tree3cfe55acf5d2f8a0d75373934b4c22a4e9bb2a09 /src/core/core.cpp
parentdevice_memory: Enable direct mapped addresses for nce (diff)
downloadyuzu-9f91ba1f7357c61dd2c7c3b437ea203d467fd400.tar.gz
yuzu-9f91ba1f7357c61dd2c7c3b437ea203d467fd400.tar.xz
yuzu-9f91ba1f7357c61dd2c7c3b437ea203d467fd400.zip
arm: Implement native code execution backend
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 1d557fb43..408479019 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -136,9 +136,7 @@ struct System::Impl {
136 } 136 }
137 137
138 void Initialize(System& system) { 138 void Initialize(System& system) {
139 const bool direct_mapped_address = Settings::IsNceEnabled(); 139 device_memory = std::make_unique<Core::DeviceMemory>();
140 device_memory = std::make_unique<Core::DeviceMemory>(direct_mapped_address);
141
142 is_multicore = Settings::values.use_multi_core.GetValue(); 140 is_multicore = Settings::values.use_multi_core.GetValue();
143 extended_memory_layout = 141 extended_memory_layout =
144 Settings::values.memory_layout_mode.GetValue() != Settings::MemoryLayout::Memory_4Gb; 142 Settings::values.memory_layout_mode.GetValue() != Settings::MemoryLayout::Memory_4Gb;