diff options
| author | 2023-04-30 14:19:11 -0400 | |
|---|---|---|
| committer | 2023-04-30 14:24:22 -0400 | |
| commit | 2cd9e1ecb6b67286ae89ef5758a389b58673c378 (patch) | |
| tree | 9c5af5060d38d4b7df5d95c7ef4a88850e1fd29a /src/common | |
| parent | Merge pull request #10110 from Morph1984/intel-disable-compute (diff) | |
| download | yuzu-2cd9e1ecb6b67286ae89ef5758a389b58673c378.tar.gz yuzu-2cd9e1ecb6b67286ae89ef5758a389b58673c378.tar.xz yuzu-2cd9e1ecb6b67286ae89ef5758a389b58673c378.zip | |
settings: rename extended memory layout to unsafe, move from general to system
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/settings.cpp | 3 | ||||
| -rw-r--r-- | src/common/settings.h | 3 |
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() { | |||
| 45 | log_setting("System_LanguageIndex", values.language_index.GetValue()); | 45 | log_setting("System_LanguageIndex", values.language_index.GetValue()); |
| 46 | log_setting("System_RegionIndex", values.region_index.GetValue()); | 46 | log_setting("System_RegionIndex", values.region_index.GetValue()); |
| 47 | log_setting("System_TimeZoneIndex", values.time_zone_index.GetValue()); | 47 | log_setting("System_TimeZoneIndex", values.time_zone_index.GetValue()); |
| 48 | log_setting("System_UnsafeMemoryLayout", values.use_unsafe_extended_memory_layout.GetValue()); | ||
| 48 | log_setting("Core_UseMultiCore", values.use_multi_core.GetValue()); | 49 | log_setting("Core_UseMultiCore", values.use_multi_core.GetValue()); |
| 49 | log_setting("CPU_Accuracy", values.cpu_accuracy.GetValue()); | 50 | log_setting("CPU_Accuracy", values.cpu_accuracy.GetValue()); |
| 50 | log_setting("Renderer_UseResolutionScaling", values.resolution_setup.GetValue()); | 51 | log_setting("Renderer_UseResolutionScaling", values.resolution_setup.GetValue()); |
| @@ -191,7 +192,7 @@ void RestoreGlobalState(bool is_powered_on) { | |||
| 191 | 192 | ||
| 192 | // Core | 193 | // Core |
| 193 | values.use_multi_core.SetGlobal(true); | 194 | values.use_multi_core.SetGlobal(true); |
| 194 | values.use_extended_memory_layout.SetGlobal(true); | 195 | values.use_unsafe_extended_memory_layout.SetGlobal(true); |
| 195 | 196 | ||
| 196 | // CPU | 197 | // CPU |
| 197 | values.cpu_accuracy.SetGlobal(true); | 198 | 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 { | |||
| 388 | 388 | ||
| 389 | // Core | 389 | // Core |
| 390 | SwitchableSetting<bool> use_multi_core{true, "use_multi_core"}; | 390 | SwitchableSetting<bool> use_multi_core{true, "use_multi_core"}; |
| 391 | SwitchableSetting<bool> use_extended_memory_layout{false, "use_extended_memory_layout"}; | 391 | SwitchableSetting<bool> use_unsafe_extended_memory_layout{false, |
| 392 | "use_unsafe_extended_memory_layout"}; | ||
| 392 | 393 | ||
| 393 | // Cpu | 394 | // Cpu |
| 394 | SwitchableSetting<CPUAccuracy, true> cpu_accuracy{CPUAccuracy::Auto, CPUAccuracy::Auto, | 395 | SwitchableSetting<CPUAccuracy, true> cpu_accuracy{CPUAccuracy::Auto, CPUAccuracy::Auto, |