diff options
| author | 2023-05-07 10:34:39 -0400 | |
|---|---|---|
| committer | 2023-07-21 10:56:07 -0400 | |
| commit | 4a825268d60a53c6bff429cd4202e3e60f5c8842 (patch) | |
| tree | ff541ab2c35def7d45e112626abf3194ff380b04 | |
| parent | shared_translation: Add copyright and license (diff) | |
| download | yuzu-4a825268d60a53c6bff429cd4202e3e60f5c8842.tar.gz yuzu-4a825268d60a53c6bff429cd4202e3e60f5c8842.tar.xz yuzu-4a825268d60a53c6bff429cd4202e3e60f5c8842.zip | |
shared_translation: Add the rest of the settings
| -rw-r--r-- | src/yuzu/configuration/shared_translation.cpp | 81 |
1 files changed, 80 insertions, 1 deletions
diff --git a/src/yuzu/configuration/shared_translation.cpp b/src/yuzu/configuration/shared_translation.cpp index f82074d7d..ddc7569f1 100644 --- a/src/yuzu/configuration/shared_translation.cpp +++ b/src/yuzu/configuration/shared_translation.cpp | |||
| @@ -21,6 +21,8 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) { | |||
| 21 | #define INSERT(LABEL, NAME, TOOLTIP) \ | 21 | #define INSERT(LABEL, NAME, TOOLTIP) \ |
| 22 | translations->insert(std::pair{(LABEL), std::pair{tr((NAME)), tr((TOOLTIP))}}) | 22 | translations->insert(std::pair{(LABEL), std::pair{tr((NAME)), tr((TOOLTIP))}}) |
| 23 | 23 | ||
| 24 | // A setting can be ignored by giving it a blank name | ||
| 25 | |||
| 24 | // Audio | 26 | // Audio |
| 25 | INSERT("output_engine", "Output Engine:", ""); | 27 | INSERT("output_engine", "Output Engine:", ""); |
| 26 | INSERT("output_device", "Output Device:", ""); | 28 | INSERT("output_device", "Output Device:", ""); |
| @@ -34,6 +36,8 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) { | |||
| 34 | 36 | ||
| 35 | // Cpu | 37 | // Cpu |
| 36 | INSERT("cpu_accuracy", "Accuracy:", ""); | 38 | INSERT("cpu_accuracy", "Accuracy:", ""); |
| 39 | |||
| 40 | // Cpu Debug | ||
| 37 | INSERT("cpu_debug_mode", "Enable CPU Debugging", ""); | 41 | INSERT("cpu_debug_mode", "Enable CPU Debugging", ""); |
| 38 | INSERT("cpuopt_page_tables", "Enable inline page tables", ""); | 42 | INSERT("cpuopt_page_tables", "Enable inline page tables", ""); |
| 39 | INSERT("cpuopt_block_linking", "Enable block linking", ""); | 43 | INSERT("cpuopt_block_linking", "Enable block linking", ""); |
| @@ -50,6 +54,7 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) { | |||
| 50 | ""); | 54 | ""); |
| 51 | INSERT("cpuopt_ignore_memory_aborts", "Enable fallbacks for invalid memory accesses", ""); | 55 | INSERT("cpuopt_ignore_memory_aborts", "Enable fallbacks for invalid memory accesses", ""); |
| 52 | 56 | ||
| 57 | // Cpu Unsafe | ||
| 53 | INSERT("cpuopt_unsafe_unfuse_fma", "Unfuse FMA (improve performance on CPUs without FMA)", ""); | 58 | INSERT("cpuopt_unsafe_unfuse_fma", "Unfuse FMA (improve performance on CPUs without FMA)", ""); |
| 54 | INSERT("cpuopt_unsafe_reduce_fp_error", "Faster FRSQRTE and FRECPE", ""); | 59 | INSERT("cpuopt_unsafe_reduce_fp_error", "Faster FRSQRTE and FRECPE", ""); |
| 55 | INSERT("cpuopt_unsafe_ignore_standard_fpcr", "Faster ASIMD instructions (32 bits only)", ""); | 60 | INSERT("cpuopt_unsafe_ignore_standard_fpcr", "Faster ASIMD instructions (32 bits only)", ""); |
| @@ -127,7 +132,81 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) { | |||
| 127 | INSERT("region_index", "Region:", ""); | 132 | INSERT("region_index", "Region:", ""); |
| 128 | INSERT("time_zone_index", "Time Zone:", ""); | 133 | INSERT("time_zone_index", "Time Zone:", ""); |
| 129 | INSERT("sound_index", "Sound Output Mode:", ""); | 134 | INSERT("sound_index", "Sound Output Mode:", ""); |
| 130 | INSERT("use_docked_mode", "Docked", ""); | 135 | INSERT("use_docked_mode", "", ""); |
| 136 | |||
| 137 | // Controls | ||
| 138 | INSERT("enable_raw_input", "", ""); | ||
| 139 | INSERT("controller_navigation", "", ""); | ||
| 140 | INSERT("enable_joycon_driver", "", ""); | ||
| 141 | INSERT("enable_procon_driver", "", ""); | ||
| 142 | INSERT("vibration_enabled", "", ""); | ||
| 143 | INSERT("enable_accurate_vibrations", "", ""); | ||
| 144 | INSERT("motion_enabled", "", ""); | ||
| 145 | INSERT("udp_input_servers", "", ""); | ||
| 146 | INSERT("enable_udp_controller", "", ""); | ||
| 147 | INSERT("pause_tas_on_load", "", ""); | ||
| 148 | INSERT("tas_enable", "", ""); | ||
| 149 | INSERT("tas_loop", "", ""); | ||
| 150 | INSERT("mouse_panning", "", ""); | ||
| 151 | INSERT("mouse_panning_sensitivity", "", ""); | ||
| 152 | INSERT("mouse_enabled", "", ""); | ||
| 153 | INSERT("emulate_analog_keyboard", "", ""); | ||
| 154 | INSERT("keyboard_enabled", "", ""); | ||
| 155 | INSERT("debug_pad_enabled", "", ""); | ||
| 156 | INSERT("touch_device", "", ""); | ||
| 157 | INSERT("touch_from_button_map", "", ""); | ||
| 158 | INSERT("enable_ring_controller", "", ""); | ||
| 159 | INSERT("enable_ir_sensor", "", ""); | ||
| 160 | INSERT("ir_sensor_device", "", ""); | ||
| 161 | |||
| 162 | // Data Storage | ||
| 163 | INSERT("use_virtual_sd", "", ""); | ||
| 164 | INSERT("gamecard_inserted", "Inserted", ""); | ||
| 165 | INSERT("gamecard_current_game", "Current Game", ""); | ||
| 166 | INSERT("gamecard_path", "Path", ""); | ||
| 167 | |||
| 168 | // Debugging | ||
| 169 | INSERT("use_gdbstub", "Enable GDB Stub", ""); | ||
| 170 | INSERT("gdbstub_port", "Port:", ""); | ||
| 171 | INSERT("program_args", "Arguments String", ""); | ||
| 172 | INSERT("dump_exefs", "Dump ExeFS", ""); | ||
| 173 | INSERT("dump_nso", "Dump Decompressed NSOs", ""); | ||
| 174 | INSERT("enable_fs_access_log", "Enable FS Access Log", ""); | ||
| 175 | INSERT("reporting_services", "Enable Verbose Repoting Services**", ""); | ||
| 176 | INSERT("quest_flag", "Kiosk (Quest) Mode", ""); | ||
| 177 | INSERT("extended_logging", "Enable Extended Logging**", | ||
| 178 | "When checked, the max size of the log increases from 100 MB to 1 GB"); | ||
| 179 | INSERT("use_debug_asserts", "Enable Debug Asserts", ""); | ||
| 180 | INSERT("use_auto_stub", "Enable Auto-Stub**", ""); | ||
| 181 | INSERT("enable_all_controllers", "Enable All Controller Types", ""); | ||
| 182 | INSERT("create_crash_dumps", "Create Minidump After Crash", ""); | ||
| 183 | INSERT("perform_vulkan_check", "Perform Startup Vulkan Check", | ||
| 184 | "Enables yuzu to check for a working Vulkan environment when the program starts up. " | ||
| 185 | "Disable this if this is causing issues with external programs seeing yuzu."); | ||
| 186 | INSERT("log_filter", "Global Log Filter", ""); | ||
| 187 | INSERT("use_dev_keys", "", ""); | ||
| 188 | |||
| 189 | // Debugging Graphics | ||
| 190 | INSERT("dump_shaders", "Dump Game Shaders", | ||
| 191 | "When checked, it will dump all the original assembler shaders from the disk shader " | ||
| 192 | "cache or game as found"); | ||
| 193 | INSERT("disable_macro_jit", "Disable Macro JIT", | ||
| 194 | "When checked, it disables the macro Just In Time compiler. Enabling this makes games " | ||
| 195 | "run slower"); | ||
| 196 | INSERT( | ||
| 197 | "disable_macro_hle", "Disable Macro HLE", | ||
| 198 | "When checked, it disables the macro HLE functions. Enabling this makes games run slower"); | ||
| 199 | INSERT("dump_macros", "Dump Maxwell Macros", | ||
| 200 | "When checked, it will dump all the macro programs of the GPU"); | ||
| 201 | |||
| 202 | // Network | ||
| 203 | INSERT("network_interface", "Network Interface", ""); | ||
| 204 | |||
| 205 | // Web Service | ||
| 206 | INSERT("enable_telemetry", "Share anonymous usage data with the yuzu team", ""); | ||
| 207 | INSERT("web_api_url", "", ""); | ||
| 208 | INSERT("yuzu_username", "", ""); | ||
| 209 | INSERT("yuzu_token", "Token:", ""); | ||
| 131 | 210 | ||
| 132 | #undef INSERT | 211 | #undef INSERT |
| 133 | 212 | ||