diff options
| author | 2023-07-17 19:59:47 -0400 | |
|---|---|---|
| committer | 2023-07-21 10:56:55 -0400 | |
| commit | 35872ad95b998e77b7bf1dce8ef41b87156952c3 (patch) | |
| tree | d2f24d6c81c13c9d85c8146400b53de0df5fb017 | |
| parent | core,common: Give memory layout setting an enum (diff) | |
| download | yuzu-35872ad95b998e77b7bf1dce8ef41b87156952c3.tar.gz yuzu-35872ad95b998e77b7bf1dce8ef41b87156952c3.tar.xz yuzu-35872ad95b998e77b7bf1dce8ef41b87156952c3.zip | |
shared_translation: Update memory layout mode strings
| -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) { | |||
| 35 | 35 | ||
| 36 | // Core | 36 | // Core |
| 37 | INSERT(Settings, use_multi_core, "Multicore CPU Emulation", ""); | 37 | INSERT(Settings, use_multi_core, "Multicore CPU Emulation", ""); |
| 38 | INSERT(Settings, use_unsafe_extended_memory_layout, "Unsafe extended memory layout (8GB DRAM)", | 38 | INSERT(Settings, memory_layout_mode, "Memory Layout", ""); |
| 39 | ""); | ||
| 40 | INSERT(Settings, use_speed_limit, "", ""); | 39 | INSERT(Settings, use_speed_limit, "", ""); |
| 41 | INSERT(Settings, speed_limit, "Limit Speed Percent", ""); | 40 | INSERT(Settings, speed_limit, "Limit Speed Percent", ""); |
| 42 | 41 | ||
| @@ -374,6 +373,12 @@ std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QWidget* parent) { | |||
| 374 | PAIR(AudioMode, Stereo, "Stereo"), | 373 | PAIR(AudioMode, Stereo, "Stereo"), |
| 375 | PAIR(AudioMode, Surround, "Surround"), | 374 | PAIR(AudioMode, Surround, "Surround"), |
| 376 | }}); | 375 | }}); |
| 376 | translations->insert({Settings::EnumMetadata<Settings::MemoryLayout>::Index(), | ||
| 377 | { | ||
| 378 | PAIR(MemoryLayout, Memory_4Gb, "4GB DRAM (Default)"), | ||
| 379 | PAIR(MemoryLayout, Memory_6Gb, "6GB DRAM (Unsafe)"), | ||
| 380 | PAIR(MemoryLayout, Memory_8Gb, "8GB DRAM (Unsafe)"), | ||
| 381 | }}); | ||
| 377 | 382 | ||
| 378 | #undef PAIR | 383 | #undef PAIR |
| 379 | #undef CTX_PAIR | 384 | #undef CTX_PAIR |