diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-18 01:59:47 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-21 16:56:55 +0200 |
commit | 35872ad95b998e77b7bf1dce8ef41b87156952c3 (patch) | |
tree | d2f24d6c81c13c9d85c8146400b53de0df5fb017 /src/yuzu/configuration/shared_translation.cpp | |
parent | core,common: Give memory layout setting an enum (diff) | |
download | yuzu-35872ad95b998e77b7bf1dce8ef41b87156952c3.tar yuzu-35872ad95b998e77b7bf1dce8ef41b87156952c3.tar.gz yuzu-35872ad95b998e77b7bf1dce8ef41b87156952c3.tar.bz2 yuzu-35872ad95b998e77b7bf1dce8ef41b87156952c3.tar.lz yuzu-35872ad95b998e77b7bf1dce8ef41b87156952c3.tar.xz yuzu-35872ad95b998e77b7bf1dce8ef41b87156952c3.tar.zst yuzu-35872ad95b998e77b7bf1dce8ef41b87156952c3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu/configuration/shared_translation.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/yuzu/configuration/shared_translation.cpp b/src/yuzu/configuration/shared_translation.cpp index fadc8034e..335810788 100644 --- a/src/yuzu/configuration/shared_translation.cpp +++ b/src/yuzu/configuration/shared_translation.cpp @@ -35,8 +35,7 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) { // Core INSERT(Settings, use_multi_core, "Multicore CPU Emulation", ""); - INSERT(Settings, use_unsafe_extended_memory_layout, "Unsafe extended memory layout (8GB DRAM)", - ""); + INSERT(Settings, memory_layout_mode, "Memory Layout", ""); INSERT(Settings, use_speed_limit, "", ""); INSERT(Settings, speed_limit, "Limit Speed Percent", ""); @@ -374,6 +373,12 @@ std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QWidget* parent) { PAIR(AudioMode, Stereo, "Stereo"), PAIR(AudioMode, Surround, "Surround"), }}); + translations->insert({Settings::EnumMetadata<Settings::MemoryLayout>::Index(), + { + PAIR(MemoryLayout, Memory_4Gb, "4GB DRAM (Default)"), + PAIR(MemoryLayout, Memory_6Gb, "6GB DRAM (Unsafe)"), + PAIR(MemoryLayout, Memory_8Gb, "8GB DRAM (Unsafe)"), + }}); #undef PAIR #undef CTX_PAIR |