summaryrefslogtreecommitdiff
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorGravatar GPUCode2023-11-17 22:23:48 +0200
committerGravatar t8952023-11-25 00:46:47 -0500
commit48388376206aaa7d887b41030019035a06203867 (patch)
tree6dc27b3fc69d7ec4a1d4247fd0a00b7542ef72d4 /src/core/core.cpp
parentexternals: Add oaknut submodule (diff)
downloadyuzu-48388376206aaa7d887b41030019035a06203867.tar.gz
yuzu-48388376206aaa7d887b41030019035a06203867.tar.xz
yuzu-48388376206aaa7d887b41030019035a06203867.zip
device_memory: Enable direct mapped addresses for nce
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r--src/core/core.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 14d6c8c27..1d557fb43 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -136,7 +136,8 @@ struct System::Impl {
136 } 136 }
137 137
138 void Initialize(System& system) { 138 void Initialize(System& system) {
139 device_memory = std::make_unique<Core::DeviceMemory>(); 139 const bool direct_mapped_address = Settings::IsNceEnabled();
140 device_memory = std::make_unique<Core::DeviceMemory>(direct_mapped_address);
140 141
141 is_multicore = Settings::values.use_multi_core.GetValue(); 142 is_multicore = Settings::values.use_multi_core.GetValue();
142 extended_memory_layout = 143 extended_memory_layout =