diff options
author | bunnei <bunneidev@gmail.com> | 2022-02-21 12:35:32 -0800 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-02-21 13:07:19 -0800 |
commit | 70482e6b26d3889517851f57f06c8bed4fbc447a (patch) | |
tree | 386929294c6ece98646af943ac2e07c6ce8c57f3 /src/common | |
parent | ca5e843bf62e6d69b1b476b3925927a20bbffdaf (diff) |
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.cpp | 1 | ||||
-rw-r--r-- | src/common/settings.h | 1 |
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) { // Core values.use_multi_core.SetGlobal(true); + values.use_extended_memory_layout.SetGlobal(true); // CPU 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 { // Core Setting<bool> use_multi_core{true, "use_multi_core"}; + Setting<bool> use_extended_memory_layout{false, "use_extended_memory_layout"}; // Cpu RangedSetting<CPUAccuracy> cpu_accuracy{CPUAccuracy::Auto, CPUAccuracy::Auto, |