summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2023-04-30 20:19:11 +0200
committerLiam <byteslice@airmail.cc>2023-04-30 20:24:22 +0200
commit2cd9e1ecb6b67286ae89ef5758a389b58673c378 (patch)
tree9c5af5060d38d4b7df5d95c7ef4a88850e1fd29a /src/common
parentMerge pull request #10110 from Morph1984/intel-disable-compute (diff)
downloadyuzu-2cd9e1ecb6b67286ae89ef5758a389b58673c378.tar
yuzu-2cd9e1ecb6b67286ae89ef5758a389b58673c378.tar.gz
yuzu-2cd9e1ecb6b67286ae89ef5758a389b58673c378.tar.bz2
yuzu-2cd9e1ecb6b67286ae89ef5758a389b58673c378.tar.lz
yuzu-2cd9e1ecb6b67286ae89ef5758a389b58673c378.tar.xz
yuzu-2cd9e1ecb6b67286ae89ef5758a389b58673c378.tar.zst
yuzu-2cd9e1ecb6b67286ae89ef5758a389b58673c378.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings.cpp3
-rw-r--r--src/common/settings.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 84955030b..6dcf4ddb2 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -45,6 +45,7 @@ void LogSettings() {
log_setting("System_LanguageIndex", values.language_index.GetValue());
log_setting("System_RegionIndex", values.region_index.GetValue());
log_setting("System_TimeZoneIndex", values.time_zone_index.GetValue());
+ log_setting("System_UnsafeMemoryLayout", values.use_unsafe_extended_memory_layout.GetValue());
log_setting("Core_UseMultiCore", values.use_multi_core.GetValue());
log_setting("CPU_Accuracy", values.cpu_accuracy.GetValue());
log_setting("Renderer_UseResolutionScaling", values.resolution_setup.GetValue());
@@ -191,7 +192,7 @@ void RestoreGlobalState(bool is_powered_on) {
// Core
values.use_multi_core.SetGlobal(true);
- values.use_extended_memory_layout.SetGlobal(true);
+ values.use_unsafe_extended_memory_layout.SetGlobal(true);
// CPU
values.cpu_accuracy.SetGlobal(true);
diff --git a/src/common/settings.h b/src/common/settings.h
index b77a1580a..a2a3aaae0 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -388,7 +388,8 @@ struct Values {
// Core
SwitchableSetting<bool> use_multi_core{true, "use_multi_core"};
- SwitchableSetting<bool> use_extended_memory_layout{false, "use_extended_memory_layout"};
+ SwitchableSetting<bool> use_unsafe_extended_memory_layout{false,
+ "use_unsafe_extended_memory_layout"};
// Cpu
SwitchableSetting<CPUAccuracy, true> cpu_accuracy{CPUAccuracy::Auto, CPUAccuracy::Auto,