diff options
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/settings.h | 8 | ||||
| -rw-r--r-- | src/common/settings_enums.h | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index 928636c72..618c34334 100644 --- a/src/common/settings.h +++ b/src/common/settings.h | |||
| @@ -153,8 +153,12 @@ struct Values { | |||
| 153 | 153 | ||
| 154 | // Core | 154 | // Core |
| 155 | SwitchableSetting<bool> use_multi_core{linkage, true, "use_multi_core", Category::Core}; | 155 | SwitchableSetting<bool> use_multi_core{linkage, true, "use_multi_core", Category::Core}; |
| 156 | SwitchableSetting<bool> use_unsafe_extended_memory_layout{ | 156 | SwitchableSetting<MemoryLayout, true> memory_layout_mode{linkage, |
| 157 | linkage, false, "use_unsafe_extended_memory_layout", Category::Core}; | 157 | MemoryLayout::Memory_4Gb, |
| 158 | MemoryLayout::Memory_4Gb, | ||
| 159 | MemoryLayout::Memory_8Gb, | ||
| 160 | "memory_layout_mode", | ||
| 161 | Category::Core}; | ||
| 158 | SwitchableSetting<bool> use_speed_limit{ | 162 | SwitchableSetting<bool> use_speed_limit{ |
| 159 | linkage, true, "use_speed_limit", Category::Core, Specialization::Paired, false, true}; | 163 | linkage, true, "use_speed_limit", Category::Core, Specialization::Paired, false, true}; |
| 160 | SwitchableSetting<u16, true> speed_limit{linkage, | 164 | SwitchableSetting<u16, true> speed_limit{linkage, |
diff --git a/src/common/settings_enums.h b/src/common/settings_enums.h index f9bb75840..a1a29ebf6 100644 --- a/src/common/settings_enums.h +++ b/src/common/settings_enums.h | |||
| @@ -131,6 +131,8 @@ ENUM(GpuAccuracy, Normal, High, Extreme); | |||
| 131 | 131 | ||
| 132 | ENUM(CpuAccuracy, Auto, Accurate, Unsafe, Paranoid); | 132 | ENUM(CpuAccuracy, Auto, Accurate, Unsafe, Paranoid); |
| 133 | 133 | ||
| 134 | ENUM(MemoryLayout, Memory_4Gb, Memory_6Gb, Memory_8Gb); | ||
| 135 | |||
| 134 | ENUM(FullscreenMode, Borderless, Exclusive); | 136 | ENUM(FullscreenMode, Borderless, Exclusive); |
| 135 | 137 | ||
| 136 | ENUM(NvdecEmulation, Off, Cpu, Gpu); | 138 | ENUM(NvdecEmulation, Off, Cpu, Gpu); |