diff options
author | bunnei <bunneidev@gmail.com> | 2022-02-26 10:41:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-26 10:41:08 +0100 |
commit | 20e9501b0d0d18b6b215f2f3ed092a3646267bd1 (patch) | |
tree | cd90b946482d00c5431c13b165f28d803cf54f59 /src/common | |
parent | Merge pull request #7953 from ameerj/radv-rdna2-crash (diff) | |
parent | hle: kernel: KSystemControl: Use 6GB memory layout when "use_extended_memory_layout" setting is enabled. (diff) | |
download | yuzu-20e9501b0d0d18b6b215f2f3ed092a3646267bd1.tar yuzu-20e9501b0d0d18b6b215f2f3ed092a3646267bd1.tar.gz yuzu-20e9501b0d0d18b6b215f2f3ed092a3646267bd1.tar.bz2 yuzu-20e9501b0d0d18b6b215f2f3ed092a3646267bd1.tar.lz yuzu-20e9501b0d0d18b6b215f2f3ed092a3646267bd1.tar.xz yuzu-20e9501b0d0d18b6b215f2f3ed092a3646267bd1.tar.zst yuzu-20e9501b0d0d18b6b215f2f3ed092a3646267bd1.zip |
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, |