summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorGravatar bunnei2022-02-21 12:35:32 -0800
committerGravatar bunnei2022-02-21 13:07:19 -0800
commit70482e6b26d3889517851f57f06c8bed4fbc447a (patch)
tree386929294c6ece98646af943ac2e07c6ce8c57f3 /src/common
parentcore: hle: kernel: Remove resource limit hack for PhysicalMemory. (diff)
downloadyuzu-70482e6b26d3889517851f57f06c8bed4fbc447a.tar.gz
yuzu-70482e6b26d3889517851f57f06c8bed4fbc447a.tar.xz
yuzu-70482e6b26d3889517851f57f06c8bed4fbc447a.zip
settings: Add a new "use_extended_memory_layout" setting.
- This will be used to enable emulation of a larger memory arrangement.
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings.cpp1
-rw-r--r--src/common/settings.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 6964a8273..2810cec15 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -167,6 +167,7 @@ void RestoreGlobalState(bool is_powered_on) {
167 167
168 // Core 168 // Core
169 values.use_multi_core.SetGlobal(true); 169 values.use_multi_core.SetGlobal(true);
170 values.use_extended_memory_layout.SetGlobal(true);
170 171
171 // CPU 172 // CPU
172 values.cpu_accuracy.SetGlobal(true); 173 values.cpu_accuracy.SetGlobal(true);
diff --git a/src/common/settings.h b/src/common/settings.h
index 9bee6e10f..d06b23a14 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -466,6 +466,7 @@ struct Values {
466 466
467 // Core 467 // Core
468 Setting<bool> use_multi_core{true, "use_multi_core"}; 468 Setting<bool> use_multi_core{true, "use_multi_core"};
469 Setting<bool> use_extended_memory_layout{false, "use_extended_memory_layout"};
469 470
470 // Cpu 471 // Cpu
471 RangedSetting<CPUAccuracy> cpu_accuracy{CPUAccuracy::Auto, CPUAccuracy::Auto, 472 RangedSetting<CPUAccuracy> cpu_accuracy{CPUAccuracy::Auto, CPUAccuracy::Auto,