diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-18 01:59:22 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-21 16:56:55 +0200 |
commit | 127b3da0f13ea0850c10115d45488dfe32a0a3f4 (patch) | |
tree | 23d118473491a902f9f441da5c97fb4cd313cfcc /src/common | |
parent | settings: Require time zone setting value for stirng (diff) | |
download | yuzu-127b3da0f13ea0850c10115d45488dfe32a0a3f4.tar yuzu-127b3da0f13ea0850c10115d45488dfe32a0a3f4.tar.gz yuzu-127b3da0f13ea0850c10115d45488dfe32a0a3f4.tar.bz2 yuzu-127b3da0f13ea0850c10115d45488dfe32a0a3f4.tar.lz yuzu-127b3da0f13ea0850c10115d45488dfe32a0a3f4.tar.xz yuzu-127b3da0f13ea0850c10115d45488dfe32a0a3f4.tar.zst yuzu-127b3da0f13ea0850c10115d45488dfe32a0a3f4.zip |
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 { // Core SwitchableSetting<bool> use_multi_core{linkage, true, "use_multi_core", Category::Core}; - SwitchableSetting<bool> use_unsafe_extended_memory_layout{ - linkage, false, "use_unsafe_extended_memory_layout", Category::Core}; + SwitchableSetting<MemoryLayout, true> memory_layout_mode{linkage, + MemoryLayout::Memory_4Gb, + MemoryLayout::Memory_4Gb, + MemoryLayout::Memory_8Gb, + "memory_layout_mode", + Category::Core}; SwitchableSetting<bool> use_speed_limit{ linkage, true, "use_speed_limit", Category::Core, Specialization::Paired, false, true}; 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); ENUM(CpuAccuracy, Auto, Accurate, Unsafe, Paranoid); +ENUM(MemoryLayout, Memory_4Gb, Memory_6Gb, Memory_8Gb); + ENUM(FullscreenMode, Borderless, Exclusive); ENUM(NvdecEmulation, Off, Cpu, Gpu); |