shared_translation: Update memory layout mode strings

This commit is contained in:
lat9nq 2023-07-17 19:59:47 -04:00
parent 127b3da0f1
commit 35872ad95b

View File

@ -35,8 +35,7 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) {
// Core // Core
INSERT(Settings, use_multi_core, "Multicore CPU Emulation", ""); 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, use_speed_limit, "", "");
INSERT(Settings, speed_limit, "Limit Speed Percent", ""); INSERT(Settings, speed_limit, "Limit Speed Percent", "");
@ -374,6 +373,12 @@ std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QWidget* parent) {
PAIR(AudioMode, Stereo, "Stereo"), PAIR(AudioMode, Stereo, "Stereo"),
PAIR(AudioMode, Surround, "Surround"), 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 PAIR
#undef CTX_PAIR #undef CTX_PAIR