summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.codespellrc2
-rw-r--r--CMakeLists.txt45
-rw-r--r--CMakeModules/DownloadExternals.cmake18
-rw-r--r--CMakeModules/FindRenderDoc.cmake19
-rw-r--r--CMakeModules/GenerateSCMRev.cmake2
-rw-r--r--README.md2
-rw-r--r--dist/languages/ar.ts7176
-rw-r--r--dist/languages/ca.ts2305
-rw-r--r--dist/languages/cs.ts2295
-rw-r--r--dist/languages/da.ts2315
-rw-r--r--dist/languages/de.ts2353
-rw-r--r--dist/languages/el.ts2301
-rw-r--r--dist/languages/es.ts2332
-rw-r--r--dist/languages/fr.ts2467
-rw-r--r--dist/languages/hu.ts7171
-rw-r--r--dist/languages/id.ts2441
-rw-r--r--dist/languages/it.ts2578
-rw-r--r--dist/languages/ja_JP.ts2385
-rw-r--r--dist/languages/ko_KR.ts2367
-rw-r--r--dist/languages/nb.ts2330
-rw-r--r--dist/languages/nl.ts2368
-rw-r--r--dist/languages/pl.ts2315
-rw-r--r--dist/languages/pt_BR.ts2585
-rw-r--r--dist/languages/pt_PT.ts2468
-rw-r--r--dist/languages/ru_RU.ts2364
-rw-r--r--dist/languages/sv.ts2272
-rw-r--r--dist/languages/tr_TR.ts2320
-rw-r--r--dist/languages/uk.ts2360
-rw-r--r--dist/languages/vi.ts4126
-rw-r--r--dist/languages/vi_VN.ts3575
-rw-r--r--dist/languages/zh_CN.ts2332
-rw-r--r--dist/languages/zh_TW.ts2390
-rw-r--r--dist/qt_themes/default/style.qss5
-rw-r--r--dist/qt_themes/qdarkstyle_midnight_blue/style.qss4
-rw-r--r--externals/CMakeLists.txt22
m---------externals/SDL0
-rw-r--r--externals/ffmpeg/CMakeLists.txt4
-rw-r--r--externals/renderdoc/renderdoc_app.h744
-rw-r--r--externals/stb/stb_image.cpp7529
-rw-r--r--externals/stb/stb_image.h772
-rw-r--r--externals/stb/stb_image_resize.cpp2282
-rw-r--r--externals/stb/stb_image_resize.h426
-rw-r--r--src/CMakeLists.txt35
-rw-r--r--src/android/.gitignore3
-rw-r--r--src/android/app/build.gradle.kts28
-rw-r--r--src/android/app/src/main/AndroidManifest.xml10
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/NativeLibrary.kt57
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/YuzuApplication.kt2
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt37
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/GameAdapter.kt60
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/HomeSettingAdapter.kt37
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/InstallableAdapter.kt49
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/LicenseAdapter.kt1
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/SetupAdapter.kt22
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/DiskShaderCacheProgress.kt52
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/ShaderProgressViewModel.kt31
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/ui/ShaderProgressDialogFragment.kt103
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractBooleanSetting.kt4
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractByteSetting.kt (renamed from src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/SettingsViewModel.kt)6
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractFloatSetting.kt4
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractIntSetting.kt4
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractLongSetting.kt10
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractSetting.kt20
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractShortSetting.kt10
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractStringSetting.kt4
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/BooleanSetting.kt61
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/ByteSetting.kt25
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/FloatSetting.kt32
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt154
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/LongSetting.kt25
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/SettingSection.kt37
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/Settings.kt325
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/ShortSetting.kt25
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/StringSetting.kt36
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/DateTimeSetting.kt27
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/HeaderSetting.kt2
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/RunnableSetting.kt2
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SettingsItem.kt247
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SingleChoiceSetting.kt37
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SliderSetting.kt55
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/StringSingleChoiceSetting.kt46
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SubmenuSetting.kt6
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SwitchSetting.kt53
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt239
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivityPresenter.kt90
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivityView.kt57
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsAdapter.kt282
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragment.kt166
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentPresenter.kt541
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentView.kt58
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/DateTimeViewHolder.kt17
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/RunnableViewHolder.kt3
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SettingViewHolder.kt16
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.kt27
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SliderViewHolder.kt11
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SubmenuViewHolder.kt1
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt10
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/utils/SettingsFile.kt255
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt236
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/HomeSettingsFragment.kt80
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt213
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/IndeterminateProgressDialogFragment.kt101
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/InstallableFragment.kt138
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LongMessageDialogFragment.kt62
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/MessageDialogFragment.kt51
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SearchFragment.kt46
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SettingsDialogFragment.kt235
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SettingsSearchFragment.kt192
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SetupFragment.kt167
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/model/EmulationViewModel.kt67
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/model/GamesViewModel.kt44
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeSetting.kt6
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeViewModel.kt46
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Installable.kt13
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/model/MessageDialogViewModel.kt14
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/model/SettingsViewModel.kt85
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/model/SetupPage.kt14
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/model/TaskViewModel.kt41
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt15
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/GamesFragment.kt64
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt591
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/BiMap.kt25
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DirectoryInitialization.kt10
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/FileUtil.kt67
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameHelper.kt49
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameIconUtils.kt88
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/NativeConfig.kt33
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ViewUtils.kt35
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/views/FixedRatioSurfaceView.kt48
-rw-r--r--src/android/app/src/main/jni/CMakeLists.txt2
-rw-r--r--src/android/app/src/main/jni/config.cpp57
-rw-r--r--src/android/app/src/main/jni/config.h24
-rw-r--r--src/android/app/src/main/jni/emu_window/emu_window.cpp14
-rw-r--r--src/android/app/src/main/jni/id_cache.cpp14
-rw-r--r--src/android/app/src/main/jni/id_cache.h2
-rw-r--r--src/android/app/src/main/jni/native.cpp150
-rw-r--r--src/android/app/src/main/jni/native_config.cpp237
-rw-r--r--src/android/app/src/main/jni/uisettings.cpp10
-rw-r--r--src/android/app/src/main/jni/uisettings.h29
-rw-r--r--src/android/app/src/main/res/anim-ldrtl/anim_pop_settings_fragment_out.xml16
-rw-r--r--src/android/app/src/main/res/anim-ldrtl/anim_settings_fragment_in.xml16
-rw-r--r--src/android/app/src/main/res/anim/anim_pop_settings_fragment_out.xml16
-rw-r--r--src/android/app/src/main/res/anim/anim_settings_fragment_in.xml16
-rw-r--r--src/android/app/src/main/res/anim/anim_settings_fragment_out.xml10
-rw-r--r--src/android/app/src/main/res/animator/menu_slide_in_from_start.xml20
-rw-r--r--src/android/app/src/main/res/animator/menu_slide_out_to_start.xml21
-rw-r--r--src/android/app/src/main/res/drawable/ic_export.xml9
-rw-r--r--src/android/app/src/main/res/drawable/ic_import.xml9
-rw-r--r--src/android/app/src/main/res/drawable/shortcut.xml11
-rw-r--r--src/android/app/src/main/res/layout-w600dp/fragment_setup.xml60
-rw-r--r--src/android/app/src/main/res/layout-w600dp/page_setup.xml69
-rw-r--r--src/android/app/src/main/res/layout/activity_settings.xml54
-rw-r--r--src/android/app/src/main/res/layout/card_home_option.xml17
-rw-r--r--src/android/app/src/main/res/layout/card_installable.xml71
-rw-r--r--src/android/app/src/main/res/layout/dialog_progress_bar.xml28
-rw-r--r--src/android/app/src/main/res/layout/dialog_slider.xml13
-rw-r--r--src/android/app/src/main/res/layout/fragment_emulation.xml86
-rw-r--r--src/android/app/src/main/res/layout/fragment_installables.xml31
-rw-r--r--src/android/app/src/main/res/layout/fragment_settings.xml39
-rw-r--r--src/android/app/src/main/res/layout/fragment_settings_search.xml120
-rw-r--r--src/android/app/src/main/res/layout/fragment_setup.xml62
-rw-r--r--src/android/app/src/main/res/layout/list_item_setting.xml62
-rw-r--r--src/android/app/src/main/res/layout/page_setup.xml30
-rw-r--r--src/android/app/src/main/res/menu/menu_settings.xml11
-rw-r--r--src/android/app/src/main/res/navigation/emulation_navigation.xml21
-rw-r--r--src/android/app/src/main/res/navigation/home_navigation.xml28
-rw-r--r--src/android/app/src/main/res/navigation/settings_navigation.xml32
-rw-r--r--src/android/app/src/main/res/values-de/strings.xml22
-rw-r--r--src/android/app/src/main/res/values-es/strings.xml20
-rw-r--r--src/android/app/src/main/res/values-fr/strings.xml20
-rw-r--r--src/android/app/src/main/res/values-it/strings.xml20
-rw-r--r--src/android/app/src/main/res/values-ja/strings.xml20
-rw-r--r--src/android/app/src/main/res/values-ko/strings.xml20
-rw-r--r--src/android/app/src/main/res/values-nb/strings.xml20
-rw-r--r--src/android/app/src/main/res/values-pl/strings.xml20
-rw-r--r--src/android/app/src/main/res/values-pt-rBR/strings.xml20
-rw-r--r--src/android/app/src/main/res/values-pt-rPT/strings.xml20
-rw-r--r--src/android/app/src/main/res/values-ru/strings.xml20
-rw-r--r--src/android/app/src/main/res/values-uk/strings.xml20
-rw-r--r--src/android/app/src/main/res/values-w600dp/integers.xml6
-rw-r--r--src/android/app/src/main/res/values-zh-rCN/strings.xml20
-rw-r--r--src/android/app/src/main/res/values-zh-rTW/strings.xml20
-rw-r--r--src/android/app/src/main/res/values/arrays.xml10
-rw-r--r--src/android/app/src/main/res/values/dimens.xml1
-rw-r--r--src/android/app/src/main/res/values/integers.xml2
-rw-r--r--src/android/app/src/main/res/values/strings.xml67
-rw-r--r--src/audio_core/CMakeLists.txt31
-rw-r--r--src/audio_core/adsp/adsp.cpp27
-rw-r--r--src/audio_core/adsp/adsp.h53
-rw-r--r--src/audio_core/adsp/apps/audio_renderer/audio_renderer.cpp218
-rw-r--r--src/audio_core/adsp/apps/audio_renderer/audio_renderer.h109
-rw-r--r--src/audio_core/adsp/apps/audio_renderer/command_buffer.h23
-rw-r--r--src/audio_core/adsp/apps/audio_renderer/command_list_processor.cpp (renamed from src/audio_core/renderer/adsp/command_list_processor.cpp)29
-rw-r--r--src/audio_core/adsp/apps/audio_renderer/command_list_processor.h (renamed from src/audio_core/renderer/adsp/command_list_processor.h)21
-rw-r--r--src/audio_core/adsp/apps/opus/opus_decode_object.cpp107
-rw-r--r--src/audio_core/adsp/apps/opus/opus_decode_object.h38
-rw-r--r--src/audio_core/adsp/apps/opus/opus_decoder.cpp269
-rw-r--r--src/audio_core/adsp/apps/opus/opus_decoder.h92
-rw-r--r--src/audio_core/adsp/apps/opus/opus_multistream_decode_object.cpp111
-rw-r--r--src/audio_core/adsp/apps/opus/opus_multistream_decode_object.h39
-rw-r--r--src/audio_core/adsp/apps/opus/shared_memory.h17
-rw-r--r--src/audio_core/adsp/mailbox.h60
-rw-r--r--src/audio_core/audio_core.cpp4
-rw-r--r--src/audio_core/audio_core.h6
-rw-r--r--src/audio_core/audio_event.cpp1
-rw-r--r--src/audio_core/audio_in_manager.cpp2
-rw-r--r--src/audio_core/audio_in_manager.h4
-rw-r--r--src/audio_core/audio_out_manager.cpp2
-rw-r--r--src/audio_core/audio_out_manager.h3
-rw-r--r--src/audio_core/audio_render_manager.cpp4
-rw-r--r--src/audio_core/audio_render_manager.h4
-rw-r--r--src/audio_core/common/audio_renderer_parameter.h12
-rw-r--r--src/audio_core/opus/decoder.cpp179
-rw-r--r--src/audio_core/opus/decoder.h53
-rw-r--r--src/audio_core/opus/decoder_manager.cpp102
-rw-r--r--src/audio_core/opus/decoder_manager.h38
-rw-r--r--src/audio_core/opus/hardware_opus.cpp241
-rw-r--r--src/audio_core/opus/hardware_opus.h45
-rw-r--r--src/audio_core/opus/parameters.h54
-rw-r--r--src/audio_core/renderer/adsp/adsp.cpp117
-rw-r--r--src/audio_core/renderer/adsp/adsp.h171
-rw-r--r--src/audio_core/renderer/adsp/audio_renderer.cpp225
-rw-r--r--src/audio_core/renderer/adsp/audio_renderer.h204
-rw-r--r--src/audio_core/renderer/adsp/command_buffer.h21
-rw-r--r--src/audio_core/renderer/audio_device.cpp4
-rw-r--r--src/audio_core/renderer/audio_device.h4
-rw-r--r--src/audio_core/renderer/audio_renderer.cpp4
-rw-r--r--src/audio_core/renderer/audio_renderer.h6
-rw-r--r--src/audio_core/renderer/behavior/behavior_info.cpp4
-rw-r--r--src/audio_core/renderer/behavior/behavior_info.h8
-rw-r--r--src/audio_core/renderer/behavior/info_updater.cpp4
-rw-r--r--src/audio_core/renderer/behavior/info_updater.h4
-rw-r--r--src/audio_core/renderer/command/command_buffer.cpp4
-rw-r--r--src/audio_core/renderer/command/command_buffer.h4
-rw-r--r--src/audio_core/renderer/command/command_generator.cpp4
-rw-r--r--src/audio_core/renderer/command/command_generator.h4
-rw-r--r--src/audio_core/renderer/command/command_list_header.h4
-rw-r--r--src/audio_core/renderer/command/command_processing_time_estimator.cpp8
-rw-r--r--src/audio_core/renderer/command/command_processing_time_estimator.h4
-rw-r--r--src/audio_core/renderer/command/data_source/adpcm.cpp24
-rw-r--r--src/audio_core/renderer/command/data_source/adpcm.h23
-rw-r--r--src/audio_core/renderer/command/data_source/decode.cpp110
-rw-r--r--src/audio_core/renderer/command/data_source/decode.h4
-rw-r--r--src/audio_core/renderer/command/data_source/pcm_float.cpp28
-rw-r--r--src/audio_core/renderer/command/data_source/pcm_float.h23
-rw-r--r--src/audio_core/renderer/command/data_source/pcm_int16.cpp28
-rw-r--r--src/audio_core/renderer/command/data_source/pcm_int16.h23
-rw-r--r--src/audio_core/renderer/command/effect/aux_.cpp12
-rw-r--r--src/audio_core/renderer/command/effect/aux_.h13
-rw-r--r--src/audio_core/renderer/command/effect/biquad_filter.cpp14
-rw-r--r--src/audio_core/renderer/command/effect/biquad_filter.h13
-rw-r--r--src/audio_core/renderer/command/effect/capture.cpp12
-rw-r--r--src/audio_core/renderer/command/effect/capture.h13
-rw-r--r--src/audio_core/renderer/command/effect/compressor.cpp12
-rw-r--r--src/audio_core/renderer/command/effect/compressor.h13
-rw-r--r--src/audio_core/renderer/command/effect/delay.cpp12
-rw-r--r--src/audio_core/renderer/command/effect/delay.h13
-rw-r--r--src/audio_core/renderer/command/effect/i3dl2_reverb.cpp12
-rw-r--r--src/audio_core/renderer/command/effect/i3dl2_reverb.h13
-rw-r--r--src/audio_core/renderer/command/effect/light_limiter.cpp22
-rw-r--r--src/audio_core/renderer/command/effect/light_limiter.h19
-rw-r--r--src/audio_core/renderer/command/effect/multi_tap_biquad_filter.cpp14
-rw-r--r--src/audio_core/renderer/command/effect/multi_tap_biquad_filter.h13
-rw-r--r--src/audio_core/renderer/command/effect/reverb.cpp12
-rw-r--r--src/audio_core/renderer/command/effect/reverb.h13
-rw-r--r--src/audio_core/renderer/command/icommand.h17
-rw-r--r--src/audio_core/renderer/command/mix/clear_mix.cpp14
-rw-r--r--src/audio_core/renderer/command/mix/clear_mix.h13
-rw-r--r--src/audio_core/renderer/command/mix/copy_mix.cpp14
-rw-r--r--src/audio_core/renderer/command/mix/copy_mix.h13
-rw-r--r--src/audio_core/renderer/command/mix/depop_for_mix_buffers.cpp14
-rw-r--r--src/audio_core/renderer/command/mix/depop_for_mix_buffers.h13
-rw-r--r--src/audio_core/renderer/command/mix/depop_prepare.cpp14
-rw-r--r--src/audio_core/renderer/command/mix/depop_prepare.h15
-rw-r--r--src/audio_core/renderer/command/mix/mix.cpp12
-rw-r--r--src/audio_core/renderer/command/mix/mix.h13
-rw-r--r--src/audio_core/renderer/command/mix/mix_ramp.cpp13
-rw-r--r--src/audio_core/renderer/command/mix/mix_ramp.h13
-rw-r--r--src/audio_core/renderer/command/mix/mix_ramp_grouped.cpp13
-rw-r--r--src/audio_core/renderer/command/mix/mix_ramp_grouped.h13
-rw-r--r--src/audio_core/renderer/command/mix/volume.cpp12
-rw-r--r--src/audio_core/renderer/command/mix/volume.h13
-rw-r--r--src/audio_core/renderer/command/mix/volume_ramp.cpp13
-rw-r--r--src/audio_core/renderer/command/mix/volume_ramp.h13
-rw-r--r--src/audio_core/renderer/command/performance/performance.cpp20
-rw-r--r--src/audio_core/renderer/command/performance/performance.h13
-rw-r--r--src/audio_core/renderer/command/resample/downmix_6ch_to_2ch.cpp14
-rw-r--r--src/audio_core/renderer/command/resample/downmix_6ch_to_2ch.h13
-rw-r--r--src/audio_core/renderer/command/resample/resample.cpp4
-rw-r--r--src/audio_core/renderer/command/resample/resample.h4
-rw-r--r--src/audio_core/renderer/command/resample/upsample.cpp12
-rw-r--r--src/audio_core/renderer/command/resample/upsample.h13
-rw-r--r--src/audio_core/renderer/command/sink/circular_buffer.cpp14
-rw-r--r--src/audio_core/renderer/command/sink/circular_buffer.h13
-rw-r--r--src/audio_core/renderer/command/sink/device.cpp12
-rw-r--r--src/audio_core/renderer/command/sink/device.h13
-rw-r--r--src/audio_core/renderer/effect/aux_.cpp4
-rw-r--r--src/audio_core/renderer/effect/aux_.h4
-rw-r--r--src/audio_core/renderer/effect/biquad_filter.cpp4
-rw-r--r--src/audio_core/renderer/effect/biquad_filter.h4
-rw-r--r--src/audio_core/renderer/effect/buffer_mixer.cpp4
-rw-r--r--src/audio_core/renderer/effect/buffer_mixer.h4
-rw-r--r--src/audio_core/renderer/effect/capture.cpp4
-rw-r--r--src/audio_core/renderer/effect/capture.h4
-rw-r--r--src/audio_core/renderer/effect/compressor.cpp4
-rw-r--r--src/audio_core/renderer/effect/compressor.h4
-rw-r--r--src/audio_core/renderer/effect/delay.cpp4
-rw-r--r--src/audio_core/renderer/effect/delay.h4
-rw-r--r--src/audio_core/renderer/effect/effect_context.cpp4
-rw-r--r--src/audio_core/renderer/effect/effect_context.h4
-rw-r--r--src/audio_core/renderer/effect/effect_info_base.h4
-rw-r--r--src/audio_core/renderer/effect/effect_reset.h4
-rw-r--r--src/audio_core/renderer/effect/effect_result_state.h4
-rw-r--r--src/audio_core/renderer/effect/i3dl2.cpp4
-rw-r--r--src/audio_core/renderer/effect/i3dl2.h4
-rw-r--r--src/audio_core/renderer/effect/light_limiter.cpp4
-rw-r--r--src/audio_core/renderer/effect/light_limiter.h4
-rw-r--r--src/audio_core/renderer/effect/reverb.cpp4
-rw-r--r--src/audio_core/renderer/effect/reverb.h4
-rw-r--r--src/audio_core/renderer/memory/address_info.h4
-rw-r--r--src/audio_core/renderer/memory/memory_pool_info.cpp4
-rw-r--r--src/audio_core/renderer/memory/memory_pool_info.h4
-rw-r--r--src/audio_core/renderer/memory/pool_mapper.cpp4
-rw-r--r--src/audio_core/renderer/memory/pool_mapper.h4
-rw-r--r--src/audio_core/renderer/mix/mix_context.cpp4
-rw-r--r--src/audio_core/renderer/mix/mix_context.h4
-rw-r--r--src/audio_core/renderer/mix/mix_info.cpp4
-rw-r--r--src/audio_core/renderer/mix/mix_info.h4
-rw-r--r--src/audio_core/renderer/nodes/bit_array.h4
-rw-r--r--src/audio_core/renderer/nodes/edge_matrix.cpp4
-rw-r--r--src/audio_core/renderer/nodes/edge_matrix.h4
-rw-r--r--src/audio_core/renderer/nodes/node_states.cpp4
-rw-r--r--src/audio_core/renderer/nodes/node_states.h4
-rw-r--r--src/audio_core/renderer/performance/detail_aspect.cpp4
-rw-r--r--src/audio_core/renderer/performance/detail_aspect.h4
-rw-r--r--src/audio_core/renderer/performance/entry_aspect.cpp4
-rw-r--r--src/audio_core/renderer/performance/entry_aspect.h4
-rw-r--r--src/audio_core/renderer/performance/performance_detail.h4
-rw-r--r--src/audio_core/renderer/performance/performance_entry.h4
-rw-r--r--src/audio_core/renderer/performance/performance_entry_addresses.h4
-rw-r--r--src/audio_core/renderer/performance/performance_frame_header.h4
-rw-r--r--src/audio_core/renderer/performance/performance_manager.cpp4
-rw-r--r--src/audio_core/renderer/performance/performance_manager.h4
-rw-r--r--src/audio_core/renderer/sink/circular_buffer_sink_info.cpp4
-rw-r--r--src/audio_core/renderer/sink/circular_buffer_sink_info.h4
-rw-r--r--src/audio_core/renderer/sink/device_sink_info.cpp4
-rw-r--r--src/audio_core/renderer/sink/device_sink_info.h4
-rw-r--r--src/audio_core/renderer/sink/sink_context.cpp4
-rw-r--r--src/audio_core/renderer/sink/sink_context.h4
-rw-r--r--src/audio_core/renderer/sink/sink_info_base.cpp4
-rw-r--r--src/audio_core/renderer/sink/sink_info_base.h4
-rw-r--r--src/audio_core/renderer/splitter/splitter_context.cpp4
-rw-r--r--src/audio_core/renderer/splitter/splitter_context.h4
-rw-r--r--src/audio_core/renderer/splitter/splitter_destinations_data.cpp4
-rw-r--r--src/audio_core/renderer/splitter/splitter_destinations_data.h4
-rw-r--r--src/audio_core/renderer/splitter/splitter_info.cpp4
-rw-r--r--src/audio_core/renderer/splitter/splitter_info.h4
-rw-r--r--src/audio_core/renderer/system.cpp54
-rw-r--r--src/audio_core/renderer/system.h16
-rw-r--r--src/audio_core/renderer/system_manager.cpp30
-rw-r--r--src/audio_core/renderer/system_manager.h21
-rw-r--r--src/audio_core/renderer/upsampler/upsampler_info.h4
-rw-r--r--src/audio_core/renderer/upsampler/upsampler_manager.cpp4
-rw-r--r--src/audio_core/renderer/upsampler/upsampler_manager.h4
-rw-r--r--src/audio_core/renderer/upsampler/upsampler_state.h4
-rw-r--r--src/audio_core/renderer/voice/voice_channel_resource.h4
-rw-r--r--src/audio_core/renderer/voice/voice_context.cpp4
-rw-r--r--src/audio_core/renderer/voice/voice_context.h4
-rw-r--r--src/audio_core/renderer/voice/voice_info.cpp4
-rw-r--r--src/audio_core/renderer/voice/voice_info.h4
-rw-r--r--src/audio_core/renderer/voice/voice_state.h4
-rw-r--r--src/audio_core/sink/cubeb_sink.cpp47
-rw-r--r--src/audio_core/sink/cubeb_sink.h7
-rw-r--r--src/audio_core/sink/sdl2_sink.cpp40
-rw-r--r--src/audio_core/sink/sdl2_sink.h7
-rw-r--r--src/audio_core/sink/sink_details.cpp73
-rw-r--r--src/audio_core/sink/sink_details.h8
-rw-r--r--src/common/CMakeLists.txt34
-rw-r--r--src/common/alignment.h37
-rw-r--r--src/common/arm64/native_clock.cpp72
-rw-r--r--src/common/arm64/native_clock.h47
-rw-r--r--src/common/bounded_threadsafe_queue.h4
-rw-r--r--src/common/fs/fs.cpp15
-rw-r--r--src/common/fs/fs_paths.h2
-rw-r--r--src/common/fs/path_util.cpp8
-rw-r--r--src/common/fs/path_util.h2
-rw-r--r--src/common/logging/backend.cpp2
-rw-r--r--src/common/logging/filter.cpp2
-rw-r--r--src/common/logging/types.h2
-rw-r--r--src/common/lz4_compression.cpp6
-rw-r--r--src/common/lz4_compression.h2
-rw-r--r--src/common/page_table.h12
-rw-r--r--src/common/polyfill_thread.h20
-rw-r--r--src/common/settings.cpp265
-rw-r--r--src/common/settings.h877
-rw-r--r--src/common/settings_common.cpp61
-rw-r--r--src/common/settings_common.h269
-rw-r--r--src/common/settings_enums.h216
-rw-r--r--src/common/settings_setting.h419
-rw-r--r--src/common/string_util.cpp5
-rw-r--r--src/common/string_util.h1
-rw-r--r--src/common/swap.h5
-rw-r--r--src/common/wall_clock.cpp12
-rw-r--r--src/core/CMakeLists.txt84
-rw-r--r--src/core/arm/arm_interface.cpp4
-rw-r--r--src/core/arm/arm_interface.h2
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic_32.cpp6
-rw-r--r--src/core/arm/dynarmic/arm_dynarmic_64.cpp6
-rw-r--r--src/core/core.cpp83
-rw-r--r--src/core/core.h20
-rw-r--r--src/core/core_timing.cpp79
-rw-r--r--src/core/core_timing.h12
-rw-r--r--src/core/crypto/key_manager.cpp234
-rw-r--r--src/core/crypto/key_manager.h59
-rw-r--r--src/core/debugger/gdbstub.cpp34
-rw-r--r--src/core/file_sys/card_image.cpp54
-rw-r--r--src/core/file_sys/card_image.h1
-rw-r--r--src/core/file_sys/content_archive.cpp586
-rw-r--r--src/core/file_sys/content_archive.h66
-rw-r--r--src/core/file_sys/control_metadata.cpp3
-rw-r--r--src/core/file_sys/errors.h70
-rw-r--r--src/core/file_sys/fssystem/fs_i_storage.h58
-rw-r--r--src/core/file_sys/fssystem/fs_types.h46
-rw-r--r--src/core/file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.cpp251
-rw-r--r--src/core/file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.h114
-rw-r--r--src/core/file_sys/fssystem/fssystem_aes_ctr_storage.cpp129
-rw-r--r--src/core/file_sys/fssystem/fssystem_aes_ctr_storage.h43
-rw-r--r--src/core/file_sys/fssystem/fssystem_aes_xts_storage.cpp112
-rw-r--r--src/core/file_sys/fssystem/fssystem_aes_xts_storage.h42
-rw-r--r--src/core/file_sys/fssystem/fssystem_alignment_matching_storage.h146
-rw-r--r--src/core/file_sys/fssystem/fssystem_alignment_matching_storage_impl.cpp204
-rw-r--r--src/core/file_sys/fssystem/fssystem_alignment_matching_storage_impl.h21
-rw-r--r--src/core/file_sys/fssystem/fssystem_bucket_tree.cpp598
-rw-r--r--src/core/file_sys/fssystem/fssystem_bucket_tree.h416
-rw-r--r--src/core/file_sys/fssystem/fssystem_bucket_tree_template_impl.h170
-rw-r--r--src/core/file_sys/fssystem/fssystem_bucket_tree_utils.h110
-rw-r--r--src/core/file_sys/fssystem/fssystem_compressed_storage.h963
-rw-r--r--src/core/file_sys/fssystem/fssystem_compression_common.h43
-rw-r--r--src/core/file_sys/fssystem/fssystem_compression_configuration.cpp36
-rw-r--r--src/core/file_sys/fssystem/fssystem_compression_configuration.h12
-rw-r--r--src/core/file_sys/fssystem/fssystem_crypto_configuration.cpp65
-rw-r--r--src/core/file_sys/fssystem/fssystem_crypto_configuration.h12
-rw-r--r--src/core/file_sys/fssystem/fssystem_hierarchical_integrity_verification_storage.cpp127
-rw-r--r--src/core/file_sys/fssystem/fssystem_hierarchical_integrity_verification_storage.h164
-rw-r--r--src/core/file_sys/fssystem/fssystem_hierarchical_sha256_storage.cpp80
-rw-r--r--src/core/file_sys/fssystem/fssystem_hierarchical_sha256_storage.h44
-rw-r--r--src/core/file_sys/fssystem/fssystem_indirect_storage.cpp119
-rw-r--r--src/core/file_sys/fssystem/fssystem_indirect_storage.h294
-rw-r--r--src/core/file_sys/fssystem/fssystem_integrity_romfs_storage.cpp30
-rw-r--r--src/core/file_sys/fssystem/fssystem_integrity_romfs_storage.h42
-rw-r--r--src/core/file_sys/fssystem/fssystem_integrity_verification_storage.cpp91
-rw-r--r--src/core/file_sys/fssystem/fssystem_integrity_verification_storage.h65
-rw-r--r--src/core/file_sys/fssystem/fssystem_memory_resource_buffer_hold_storage.h61
-rw-r--r--src/core/file_sys/fssystem/fssystem_nca_file_system_driver.cpp1351
-rw-r--r--src/core/file_sys/fssystem/fssystem_nca_file_system_driver.h364
-rw-r--r--src/core/file_sys/fssystem/fssystem_nca_header.cpp20
-rw-r--r--src/core/file_sys/fssystem/fssystem_nca_header.h338
-rw-r--r--src/core/file_sys/fssystem/fssystem_nca_reader.cpp531
-rw-r--r--src/core/file_sys/fssystem/fssystem_pooled_buffer.cpp61
-rw-r--r--src/core/file_sys/fssystem/fssystem_pooled_buffer.h95
-rw-r--r--src/core/file_sys/fssystem/fssystem_sparse_storage.cpp39
-rw-r--r--src/core/file_sys/fssystem/fssystem_sparse_storage.h72
-rw-r--r--src/core/file_sys/fssystem/fssystem_switch_storage.h80
-rw-r--r--src/core/file_sys/fssystem/fssystem_utility.cpp27
-rw-r--r--src/core/file_sys/fssystem/fssystem_utility.h12
-rw-r--r--src/core/file_sys/ips_layer.cpp4
-rw-r--r--src/core/file_sys/nca_metadata.cpp4
-rw-r--r--src/core/file_sys/nca_metadata.h1
-rw-r--r--src/core/file_sys/nca_patch.cpp217
-rw-r--r--src/core/file_sys/nca_patch.h145
-rw-r--r--src/core/file_sys/partition_filesystem.cpp1
-rw-r--r--src/core/file_sys/patch_manager.cpp56
-rw-r--r--src/core/file_sys/patch_manager.h6
-rw-r--r--src/core/file_sys/program_metadata.cpp8
-rw-r--r--src/core/file_sys/program_metadata.h1
-rw-r--r--src/core/file_sys/registered_cache.cpp73
-rw-r--r--src/core/file_sys/registered_cache.h5
-rw-r--r--src/core/file_sys/romfs_factory.cpp34
-rw-r--r--src/core/file_sys/romfs_factory.h23
-rw-r--r--src/core/file_sys/savedata_factory.cpp22
-rw-r--r--src/core/file_sys/savedata_factory.h4
-rw-r--r--src/core/file_sys/sdmc_factory.cpp2
-rw-r--r--src/core/file_sys/sdmc_factory.h2
-rw-r--r--src/core/file_sys/submission_package.cpp39
-rw-r--r--src/core/file_sys/submission_package.h1
-rw-r--r--src/core/file_sys/vfs.h2
-rw-r--r--src/core/frontend/applets/controller.cpp4
-rw-r--r--src/core/frontend/framebuffer_layout.cpp3
-rw-r--r--src/core/hid/emulated_controller.cpp11
-rw-r--r--src/core/hid/emulated_controller.h2
-rw-r--r--src/core/hid/hid_core.cpp8
-rw-r--r--src/core/hid/hid_core.h7
-rw-r--r--src/core/hid/hid_types.h26
-rw-r--r--src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp22
-rw-r--r--src/core/hle/kernel/k_auto_object.cpp4
-rw-r--r--src/core/hle/kernel/k_auto_object.h5
-rw-r--r--src/core/hle/kernel/k_capabilities.cpp1
-rw-r--r--src/core/hle/kernel/k_hardware_timer.cpp4
-rw-r--r--src/core/hle/kernel/k_hardware_timer.h9
-rw-r--r--src/core/hle/kernel/k_memory_layout.cpp2
-rw-r--r--src/core/hle/kernel/k_page_table.cpp31
-rw-r--r--src/core/hle/kernel/k_page_table.h3
-rw-r--r--src/core/hle/kernel/k_process.cpp33
-rw-r--r--src/core/hle/kernel/k_process.h15
-rw-r--r--src/core/hle/kernel/k_resource_limit.cpp11
-rw-r--r--src/core/hle/kernel/k_resource_limit.h3
-rw-r--r--src/core/hle/kernel/k_scheduler.cpp3
-rw-r--r--src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h2
-rw-r--r--src/core/hle/kernel/k_thread.cpp2
-rw-r--r--src/core/hle/kernel/k_transfer_memory.cpp89
-rw-r--r--src/core/hle/kernel/k_transfer_memory.h14
-rw-r--r--src/core/hle/kernel/kernel.cpp2
-rw-r--r--src/core/hle/kernel/svc/svc_address_arbiter.cpp3
-rw-r--r--src/core/hle/kernel/svc/svc_condition_variable.cpp3
-rw-r--r--src/core/hle/kernel/svc/svc_debug_string.cpp2
-rw-r--r--src/core/hle/kernel/svc/svc_exception.cpp6
-rw-r--r--src/core/hle/kernel/svc/svc_ipc.cpp20
-rw-r--r--src/core/hle/kernel/svc/svc_resource_limit.cpp2
-rw-r--r--src/core/hle/kernel/svc/svc_synchronization.cpp16
-rw-r--r--src/core/hle/kernel/svc/svc_thread.cpp29
-rw-r--r--src/core/hle/kernel/svc/svc_transfer_memory.cpp54
-rw-r--r--src/core/hle/result.h155
-rw-r--r--src/core/hle/service/acc/acc.cpp11
-rw-r--r--src/core/hle/service/am/am.cpp626
-rw-r--r--src/core/hle/service/am/am.h102
-rw-r--r--src/core/hle/service/am/applet_ae.cpp68
-rw-r--r--src/core/hle/service/am/applets/applet_cabinet.h11
-rw-r--r--src/core/hle/service/am/applets/applet_error.cpp5
-rw-r--r--src/core/hle/service/am/applets/applet_general_backend.cpp6
-rw-r--r--src/core/hle/service/am/applets/applet_mii_edit.cpp55
-rw-r--r--src/core/hle/service/am/applets/applet_mii_edit.h7
-rw-r--r--src/core/hle/service/am/applets/applet_mii_edit_types.h3
-rw-r--r--src/core/hle/service/am/applets/applet_web_browser.cpp2
-rw-r--r--src/core/hle/service/am/applets/applets.cpp16
-rw-r--r--src/core/hle/service/am/applets/applets.h49
-rw-r--r--src/core/hle/service/aoc/aoc_u.cpp20
-rw-r--r--src/core/hle/service/apm/apm_controller.cpp4
-rw-r--r--src/core/hle/service/audio/audctl.cpp46
-rw-r--r--src/core/hle/service/audio/audctl.h22
-rw-r--r--src/core/hle/service/audio/audin_u.cpp4
-rw-r--r--src/core/hle/service/audio/audout_u.cpp2
-rw-r--r--src/core/hle/service/audio/audren_u.cpp7
-rw-r--r--src/core/hle/service/audio/audren_u.h2
-rw-r--r--src/core/hle/service/audio/errors.h12
-rw-r--r--src/core/hle/service/audio/hwopus.cpp697
-rw-r--r--src/core/hle/service/audio/hwopus.h21
-rw-r--r--src/core/hle/service/caps/caps.cpp21
-rw-r--r--src/core/hle/service/caps/caps.h81
-rw-r--r--src/core/hle/service/caps/caps_a.cpp239
-rw-r--r--src/core/hle/service/caps/caps_a.h21
-rw-r--r--src/core/hle/service/caps/caps_c.cpp50
-rw-r--r--src/core/hle/service/caps/caps_c.h10
-rw-r--r--src/core/hle/service/caps/caps_manager.cpp342
-rw-r--r--src/core/hle/service/caps/caps_manager.h72
-rw-r--r--src/core/hle/service/caps/caps_result.h35
-rw-r--r--src/core/hle/service/caps/caps_sc.cpp5
-rw-r--r--src/core/hle/service/caps/caps_sc.h6
-rw-r--r--src/core/hle/service/caps/caps_ss.cpp5
-rw-r--r--src/core/hle/service/caps/caps_ss.h6
-rw-r--r--src/core/hle/service/caps/caps_su.cpp9
-rw-r--r--src/core/hle/service/caps/caps_su.h6
-rw-r--r--src/core/hle/service/caps/caps_types.h184
-rw-r--r--src/core/hle/service/caps/caps_u.cpp104
-rw-r--r--src/core/hle/service/caps/caps_u.h12
-rw-r--r--src/core/hle/service/es/es.cpp10
-rw-r--r--src/core/hle/service/filesystem/filesystem.cpp162
-rw-r--r--src/core/hle/service/filesystem/filesystem.h44
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.cpp144
-rw-r--r--src/core/hle/service/filesystem/fsp_srv.h2
-rw-r--r--src/core/hle/service/glue/arp.cpp36
-rw-r--r--src/core/hle/service/glue/glue_manager.cpp11
-rw-r--r--src/core/hle/service/glue/glue_manager.h4
-rw-r--r--src/core/hle/service/hid/controllers/gesture.cpp2
-rw-r--r--src/core/hle/service/hid/controllers/npad.cpp69
-rw-r--r--src/core/hle/service/hid/controllers/npad.h22
-rw-r--r--src/core/hle/service/hid/controllers/touchscreen.h16
-rw-r--r--src/core/hle/service/hid/hid.cpp95
-rw-r--r--src/core/hle/service/hid/hid.h2
-rw-r--r--src/core/hle/service/ldn/ldn.cpp91
-rw-r--r--src/core/hle/service/ldr/ldr.cpp46
-rw-r--r--src/core/hle/service/mii/mii.cpp514
-rw-r--r--src/core/hle/service/mii/mii.h18
-rw-r--r--src/core/hle/service/mii/mii_database.cpp142
-rw-r--r--src/core/hle/service/mii/mii_database.h66
-rw-r--r--src/core/hle/service/mii/mii_database_manager.cpp420
-rw-r--r--src/core/hle/service/mii/mii_database_manager.h58
-rw-r--r--src/core/hle/service/mii/mii_manager.cpp948
-rw-r--r--src/core/hle/service/mii/mii_manager.h84
-rw-r--r--src/core/hle/service/mii/mii_result.h27
-rw-r--r--src/core/hle/service/mii/mii_types.h692
-rw-r--r--src/core/hle/service/mii/mii_util.h85
-rw-r--r--src/core/hle/service/mii/raw_data.h26
-rw-r--r--src/core/hle/service/mii/types.h553
-rw-r--r--src/core/hle/service/mii/types/char_info.cpp482
-rw-r--r--src/core/hle/service/mii/types/char_info.h137
-rw-r--r--src/core/hle/service/mii/types/core_data.cpp805
-rw-r--r--src/core/hle/service/mii/types/core_data.h219
-rw-r--r--src/core/hle/service/mii/types/raw_data.cpp (renamed from src/core/hle/service/mii/raw_data.cpp)1412
-rw-r--r--src/core/hle/service/mii/types/raw_data.h73
-rw-r--r--src/core/hle/service/mii/types/store_data.cpp676
-rw-r--r--src/core/hle/service/mii/types/store_data.h150
-rw-r--r--src/core/hle/service/mii/types/ver3_store_data.cpp241
-rw-r--r--src/core/hle/service/mii/types/ver3_store_data.h160
-rw-r--r--src/core/hle/service/nfc/common/device.cpp40
-rw-r--r--src/core/hle/service/nfp/nfp_types.h6
-rw-r--r--src/core/hle/service/ngc/ngc.cpp150
-rw-r--r--src/core/hle/service/ngc/ngc.h (renamed from src/core/hle/service/ngct/ngct.h)4
-rw-r--r--src/core/hle/service/ngct/ngct.cpp62
-rw-r--r--src/core/hle/service/nifm/nifm.cpp12
-rw-r--r--src/core/hle/service/nifm/nifm.h1
-rw-r--r--src/core/hle/service/ns/iplatform_service_manager.cpp17
-rw-r--r--src/core/hle/service/ns/ns.cpp70
-rw-r--r--src/core/hle/service/ns/ns.h9
-rw-r--r--src/core/hle/service/nvdrv/core/nvmap.cpp4
-rw-r--r--src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp4
-rw-r--r--src/core/hle/service/nvdrv/devices/nvmap.h14
-rw-r--r--src/core/hle/service/nvnflinger/buffer_item.h2
-rw-r--r--src/core/hle/service/nvnflinger/buffer_queue_producer.cpp1
-rw-r--r--src/core/hle/service/nvnflinger/buffer_slot.h2
-rw-r--r--src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp351
-rw-r--r--src/core/hle/service/nvnflinger/fb_share_buffer_manager.h65
-rw-r--r--src/core/hle/service/nvnflinger/graphic_buffer_producer.h2
-rw-r--r--src/core/hle/service/nvnflinger/nvnflinger.cpp15
-rw-r--r--src/core/hle/service/nvnflinger/nvnflinger.h11
-rw-r--r--src/core/hle/service/nvnflinger/ui/fence.h3
-rw-r--r--src/core/hle/service/nvnflinger/ui/graphic_buffer.h4
-rw-r--r--src/core/hle/service/nvnflinger/window.h1
-rw-r--r--src/core/hle/service/olsc/olsc.cpp158
-rw-r--r--src/core/hle/service/pctl/pctl_module.cpp153
-rw-r--r--src/core/hle/service/server_manager.cpp9
-rw-r--r--src/core/hle/service/service.cpp4
-rw-r--r--src/core/hle/service/service.h4
-rw-r--r--src/core/hle/service/set/set.cpp70
-rw-r--r--src/core/hle/service/set/set.h61
-rw-r--r--src/core/hle/service/set/set_sys.cpp375
-rw-r--r--src/core/hle/service/set/set_sys.h322
-rw-r--r--src/core/hle/service/sm/sm.cpp43
-rw-r--r--src/core/hle/service/sm/sm.h4
-rw-r--r--src/core/hle/service/sockets/bsd.cpp7
-rw-r--r--src/core/hle/service/sockets/bsd.h3
-rw-r--r--src/core/hle/service/sockets/nsd.cpp20
-rw-r--r--src/core/hle/service/sockets/sfdnsres.cpp12
-rw-r--r--src/core/hle/service/sockets/sockets.h2
-rw-r--r--src/core/hle/service/sockets/sockets_translate.cpp4
-rw-r--r--src/core/hle/service/spl/spl_module.cpp51
-rw-r--r--src/core/hle/service/spl/spl_module.h2
-rw-r--r--src/core/hle/service/ssl/ssl.cpp96
-rw-r--r--src/core/hle/service/ssl/ssl_backend.h8
-rw-r--r--src/core/hle/service/ssl/ssl_backend_none.cpp2
-rw-r--r--src/core/hle/service/ssl/ssl_backend_openssl.cpp48
-rw-r--r--src/core/hle/service/ssl/ssl_backend_schannel.cpp90
-rw-r--r--src/core/hle/service/ssl/ssl_backend_securetransport.cpp41
-rw-r--r--src/core/hle/service/time/time_zone_content_manager.cpp20
-rw-r--r--src/core/hle/service/time/time_zone_content_manager.h2
-rw-r--r--src/core/hle/service/vi/display/vi_display.cpp5
-rw-r--r--src/core/hle/service/vi/display/vi_display.h2
-rw-r--r--src/core/hle/service/vi/vi.cpp166
-rw-r--r--src/core/internal_network/network.cpp132
-rw-r--r--src/core/internal_network/network.h5
-rw-r--r--src/core/internal_network/network_interface.cpp9
-rw-r--r--src/core/loader/deconstructed_rom_directory.cpp12
-rw-r--r--src/core/loader/deconstructed_rom_directory.h4
-rw-r--r--src/core/loader/kip.cpp5
-rw-r--r--src/core/loader/loader.cpp8
-rw-r--r--src/core/loader/loader.h22
-rw-r--r--src/core/loader/nax.cpp4
-rw-r--r--src/core/loader/nax.h1
-rw-r--r--src/core/loader/nca.cpp104
-rw-r--r--src/core/loader/nca.h3
-rw-r--r--src/core/loader/nro.cpp5
-rw-r--r--src/core/loader/nso.cpp7
-rw-r--r--src/core/loader/nsp.cpp43
-rw-r--r--src/core/loader/nsp.h3
-rw-r--r--src/core/loader/xci.cpp38
-rw-r--r--src/core/loader/xci.h3
-rw-r--r--src/core/memory.cpp51
-rw-r--r--src/core/memory.h125
-rw-r--r--src/core/memory/cheat_engine.cpp2
-rw-r--r--src/core/reporter.cpp4
-rw-r--r--src/core/telemetry_session.cpp37
-rw-r--r--src/core/tools/renderdoc.cpp55
-rw-r--r--src/core/tools/renderdoc.h22
-rw-r--r--src/dedicated_room/yuzu_room.cpp6
-rw-r--r--src/input_common/CMakeLists.txt2
-rw-r--r--src/input_common/drivers/virtual_gamepad.h2
-rw-r--r--src/input_common/helpers/joycon_protocol/generic_functions.h2
-rw-r--r--src/input_common/input_poller.cpp10
-rw-r--r--src/network/room.cpp2
-rw-r--r--src/shader_recompiler/CMakeLists.txt2
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm_composite.cpp2
-rw-r--r--src/shader_recompiler/backend/glasm/emit_glasm_image.cpp23
-rw-r--r--src/shader_recompiler/backend/glsl/emit_glsl_image.cpp8
-rw-r--r--src/shader_recompiler/backend/spirv/emit_spirv_image.cpp39
-rw-r--r--src/shader_recompiler/backend/spirv/emit_spirv_image_atomic.cpp15
-rw-r--r--src/shader_recompiler/backend/spirv/spirv_emit_context.cpp3
-rw-r--r--src/shader_recompiler/backend/spirv/spirv_emit_context.h1
-rw-r--r--src/shader_recompiler/environment.h2
-rw-r--r--src/shader_recompiler/frontend/ir/modifiers.h1
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_swizzled_add.cpp2
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp6
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp3
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/not_implemented.cpp4
-rw-r--r--src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch.cpp1
-rw-r--r--src/shader_recompiler/ir_opt/constant_propagation_pass.cpp227
-rw-r--r--src/tests/common/ring_buffer.cpp2
-rw-r--r--src/video_core/CMakeLists.txt8
-rw-r--r--src/video_core/buffer_cache/buffer_cache.h24
-rw-r--r--src/video_core/buffer_cache/buffer_cache_base.h12
-rw-r--r--src/video_core/control/channel_state_cache.h2
-rw-r--r--src/video_core/dma_pusher.cpp34
-rw-r--r--src/video_core/dma_pusher.h7
-rw-r--r--src/video_core/engines/draw_manager.h1
-rw-r--r--src/video_core/engines/engine_interface.h8
-rw-r--r--src/video_core/engines/engine_upload.h8
-rw-r--r--src/video_core/engines/kepler_compute.cpp20
-rw-r--r--src/video_core/engines/kepler_compute.h17
-rw-r--r--src/video_core/engines/maxwell_3d.cpp80
-rw-r--r--src/video_core/engines/maxwell_3d.h3
-rw-r--r--src/video_core/engines/maxwell_dma.cpp18
-rw-r--r--src/video_core/engines/maxwell_dma.h55
-rw-r--r--src/video_core/engines/puller.cpp28
-rw-r--r--src/video_core/fence_manager.h21
-rw-r--r--src/video_core/gpu.cpp4
-rw-r--r--src/video_core/host1x/codecs/codec.cpp5
-rw-r--r--src/video_core/host1x/codecs/h264.cpp2
-rw-r--r--src/video_core/host_shaders/CMakeLists.txt8
-rw-r--r--src/video_core/host_shaders/astc_decoder.comp988
-rw-r--r--src/video_core/host_shaders/convert_d32f_to_abgr8.frag14
-rw-r--r--src/video_core/host_shaders/convert_msaa_to_non_msaa.comp7
-rw-r--r--src/video_core/host_shaders/convert_non_msaa_to_msaa.comp7
-rw-r--r--src/video_core/host_shaders/queries_prefix_scan_sum.comp173
-rw-r--r--src/video_core/host_shaders/queries_prefix_scan_sum_nosubgroups.comp138
-rw-r--r--src/video_core/host_shaders/resolve_conditional_render.comp20
-rw-r--r--src/video_core/host_shaders/vulkan_depthstencil_clear.frag12
-rw-r--r--src/video_core/macro/macro.cpp24
-rw-r--r--src/video_core/macro/macro_hle.cpp49
-rw-r--r--src/video_core/query_cache.h17
-rw-r--r--src/video_core/query_cache/bank_base.h105
-rw-r--r--src/video_core/query_cache/query_base.h70
-rw-r--r--src/video_core/query_cache/query_cache.h580
-rw-r--r--src/video_core/query_cache/query_cache_base.h181
-rw-r--r--src/video_core/query_cache/query_stream.h149
-rw-r--r--src/video_core/query_cache/types.h74
-rw-r--r--src/video_core/rasterizer_accelerated.cpp5
-rw-r--r--src/video_core/rasterizer_accelerated.h3
-rw-r--r--src/video_core/rasterizer_interface.h13
-rw-r--r--src/video_core/renderer_base.h3
-rw-r--r--src/video_core/renderer_null/null_rasterizer.cpp18
-rw-r--r--src/video_core/renderer_null/null_rasterizer.h7
-rw-r--r--src/video_core/renderer_opengl/gl_compute_pipeline.cpp6
-rw-r--r--src/video_core/renderer_opengl/gl_device.cpp51
-rw-r--r--src/video_core/renderer_opengl/gl_graphics_pipeline.cpp24
-rw-r--r--src/video_core/renderer_opengl/gl_graphics_pipeline.h2
-rw-r--r--src/video_core/renderer_opengl/gl_query_cache.cpp2
-rw-r--r--src/video_core/renderer_opengl/gl_query_cache.h2
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.cpp58
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer.h7
-rw-r--r--src/video_core/renderer_opengl/gl_shader_cache.cpp22
-rw-r--r--src/video_core/renderer_opengl/gl_texture_cache.cpp8
-rw-r--r--src/video_core/renderer_opengl/maxwell_to_gl.h1
-rw-r--r--src/video_core/renderer_opengl/renderer_opengl.cpp2
-rw-r--r--src/video_core/renderer_opengl/util_shaders.cpp1
-rw-r--r--src/video_core/renderer_vulkan/blit_image.cpp93
-rw-r--r--src/video_core/renderer_vulkan/blit_image.h23
-rw-r--r--src/video_core/renderer_vulkan/maxwell_to_vk.cpp9
-rw-r--r--src/video_core/renderer_vulkan/renderer_vulkan.cpp18
-rw-r--r--src/video_core/renderer_vulkan/renderer_vulkan.h11
-rw-r--r--src/video_core/renderer_vulkan/vk_blit_screen.cpp5
-rw-r--r--src/video_core/renderer_vulkan/vk_buffer_cache.cpp17
-rw-r--r--src/video_core/renderer_vulkan/vk_compute_pass.cpp323
-rw-r--r--src/video_core/renderer_vulkan/vk_compute_pass.h50
-rw-r--r--src/video_core/renderer_vulkan/vk_descriptor_pool.cpp2
-rw-r--r--src/video_core/renderer_vulkan/vk_fence_manager.h2
-rw-r--r--src/video_core/renderer_vulkan/vk_fsr.cpp2
-rw-r--r--src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp3
-rw-r--r--src/video_core/renderer_vulkan/vk_pipeline_cache.cpp39
-rw-r--r--src/video_core/renderer_vulkan/vk_present_manager.cpp67
-rw-r--r--src/video_core/renderer_vulkan/vk_present_manager.h10
-rw-r--r--src/video_core/renderer_vulkan/vk_query_cache.cpp1596
-rw-r--r--src/video_core/renderer_vulkan/vk_query_cache.h106
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.cpp190
-rw-r--r--src/video_core/renderer_vulkan/vk_rasterizer.h17
-rw-r--r--src/video_core/renderer_vulkan/vk_scheduler.cpp12
-rw-r--r--src/video_core/renderer_vulkan/vk_scheduler.h12
-rw-r--r--src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp33
-rw-r--r--src/video_core/renderer_vulkan/vk_staging_buffer_pool.h5
-rw-r--r--src/video_core/renderer_vulkan/vk_swapchain.cpp12
-rw-r--r--src/video_core/renderer_vulkan/vk_texture_cache.cpp153
-rw-r--r--src/video_core/renderer_vulkan/vk_texture_cache.h10
-rw-r--r--src/video_core/renderer_vulkan/vk_turbo_mode.cpp2
-rw-r--r--src/video_core/shader_cache.cpp5
-rw-r--r--src/video_core/shader_cache.h2
-rw-r--r--src/video_core/shader_environment.cpp31
-rw-r--r--src/video_core/shader_environment.h6
-rw-r--r--src/video_core/surface.cpp3
-rw-r--r--src/video_core/surface.h4
-rw-r--r--src/video_core/texture_cache/format_lookup_table.cpp8
-rw-r--r--src/video_core/texture_cache/formatter.h2
-rw-r--r--src/video_core/texture_cache/image_base.h2
-rw-r--r--src/video_core/texture_cache/image_view_base.cpp1
-rw-r--r--src/video_core/texture_cache/texture_cache.h15
-rw-r--r--src/video_core/texture_cache/texture_cache_base.h6
-rw-r--r--src/video_core/texture_cache/util.cpp43
-rw-r--r--src/video_core/textures/texture.cpp4
-rw-r--r--src/video_core/vulkan_common/vma.cpp4
-rw-r--r--src/video_core/vulkan_common/vma.h11
-rw-r--r--src/video_core/vulkan_common/vulkan.h26
-rw-r--r--src/video_core/vulkan_common/vulkan_debug_callback.cpp27
-rw-r--r--src/video_core/vulkan_common/vulkan_debug_callback.h2
-rw-r--r--src/video_core/vulkan_common/vulkan_device.cpp286
-rw-r--r--src/video_core/vulkan_common/vulkan_device.h100
-rw-r--r--src/video_core/vulkan_common/vulkan_instance.cpp29
-rw-r--r--src/video_core/vulkan_common/vulkan_library.cpp16
-rw-r--r--src/video_core/vulkan_common/vulkan_memory_allocator.cpp24
-rw-r--r--src/video_core/vulkan_common/vulkan_memory_allocator.h14
-rw-r--r--src/video_core/vulkan_common/vulkan_surface.cpp13
-rw-r--r--src/video_core/vulkan_common/vulkan_wrapper.cpp10
-rw-r--r--src/video_core/vulkan_common/vulkan_wrapper.h65
-rw-r--r--src/web_service/verify_user_jwt.cpp1
-rw-r--r--src/yuzu/CMakeLists.txt24
-rw-r--r--src/yuzu/applets/qt_amiibo_settings.cpp3
-rw-r--r--src/yuzu/applets/qt_controller.cpp14
-rw-r--r--src/yuzu/bootmanager.cpp16
-rw-r--r--src/yuzu/configuration/config.cpp726
-rw-r--r--src/yuzu/configuration/config.h67
-rw-r--r--src/yuzu/configuration/configuration_shared.cpp103
-rw-r--r--src/yuzu/configuration/configuration_shared.h78
-rw-r--r--src/yuzu/configuration/configure.ui31
-rw-r--r--src/yuzu/configuration/configure_audio.cpp208
-rw-r--r--src/yuzu/configuration/configure_audio.h32
-rw-r--r--src/yuzu/configuration/configure_audio.ui162
-rw-r--r--src/yuzu/configuration/configure_cpu.cpp149
-rw-r--r--src/yuzu/configuration/configure_cpu.h37
-rw-r--r--src/yuzu/configuration/configure_cpu.ui179
-rw-r--r--src/yuzu/configuration/configure_debug.cpp3
-rw-r--r--src/yuzu/configuration/configure_debug.ui865
-rw-r--r--src/yuzu/configuration/configure_dialog.cpp27
-rw-r--r--src/yuzu/configuration/configure_dialog.h7
-rw-r--r--src/yuzu/configuration/configure_general.cpp116
-rw-r--r--src/yuzu/configuration/configure_general.h29
-rw-r--r--src/yuzu/configuration/configure_general.ui87
-rw-r--r--src/yuzu/configuration/configure_graphics.cpp663
-rw-r--r--src/yuzu/configuration/configure_graphics.h63
-rw-r--r--src/yuzu/configuration/configure_graphics.ui690
-rw-r--r--src/yuzu/configuration/configure_graphics_advanced.cpp187
-rw-r--r--src/yuzu/configuration/configure_graphics_advanced.h39
-rw-r--r--src/yuzu/configuration/configure_graphics_advanced.ui231
-rw-r--r--src/yuzu/configuration/configure_input.cpp14
-rw-r--r--src/yuzu/configuration/configure_per_game.cpp38
-rw-r--r--src/yuzu/configuration/configure_per_game.h7
-rw-r--r--src/yuzu/configuration/configure_per_game.ui47
-rw-r--r--src/yuzu/configuration/configure_system.cpp217
-rw-r--r--src/yuzu/configuration/configure_system.h36
-rw-r--r--src/yuzu/configuration/configure_system.ui537
-rw-r--r--src/yuzu/configuration/configure_ui.cpp100
-rw-r--r--src/yuzu/configuration/configure_ui.h8
-rw-r--r--src/yuzu/configuration/configure_ui.ui44
-rw-r--r--src/yuzu/configuration/shared_translation.cpp392
-rw-r--r--src/yuzu/configuration/shared_translation.h25
-rw-r--r--src/yuzu/configuration/shared_widget.cpp802
-rw-r--r--src/yuzu/configuration/shared_widget.h178
-rw-r--r--src/yuzu/discord_impl.cpp82
-rw-r--r--src/yuzu/discord_impl.h7
-rw-r--r--src/yuzu/game_list.cpp35
-rw-r--r--src/yuzu/game_list.h11
-rw-r--r--src/yuzu/game_list_p.h26
-rw-r--r--src/yuzu/game_list_worker.cpp38
-rw-r--r--src/yuzu/game_list_worker.h6
-rw-r--r--src/yuzu/hotkeys.h4
-rw-r--r--src/yuzu/main.cpp719
-rw-r--r--src/yuzu/main.h34
-rw-r--r--src/yuzu/main.ui49
-rw-r--r--src/yuzu/multiplayer/direct_connect.cpp9
-rw-r--r--src/yuzu/multiplayer/host_room.cpp16
-rw-r--r--src/yuzu/multiplayer/lobby.cpp7
-rw-r--r--src/yuzu/play_time_manager.cpp179
-rw-r--r--src/yuzu/play_time_manager.h44
-rw-r--r--src/yuzu/uisettings.cpp28
-rw-r--r--src/yuzu/uisettings.h136
-rw-r--r--src/yuzu/util/util.cpp77
-rw-r--r--src/yuzu/util/util.h14
-rw-r--r--src/yuzu/vk_device_info.cpp4
-rw-r--r--src/yuzu_cmd/config.cpp176
-rw-r--r--src/yuzu_cmd/config.h1
-rw-r--r--src/yuzu_cmd/yuzu.cpp6
-rw-r--r--vcpkg.json1
886 files changed, 85535 insertions, 57238 deletions
diff --git a/.codespellrc b/.codespellrc
index 01ddd2362..944194a25 100644
--- a/.codespellrc
+++ b/.codespellrc
@@ -3,4 +3,4 @@
[codespell]
skip = ./.git,./build,./dist,./Doxyfile,./externals,./LICENSES,./src/android/app/src/main/res
-ignore-words-list = aci,allright,ba,deques,froms,hda,inout,lod,masia,nam,nax,nd,optin,pullrequests,pullrequest,te,transfered,unstall,uscaled,zink
+ignore-words-list = aci,allright,ba,canonicalizations,deques,froms,hda,inout,lod,masia,nam,nax,nd,optin,pullrequests,pullrequest,te,transfered,unstall,uscaled,zink
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 00d540f1f..2bef9d6ed 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -49,7 +49,9 @@ option(YUZU_TESTS "Compile tests" "${BUILD_TESTING}")
option(YUZU_USE_PRECOMPILED_HEADERS "Use precompiled headers" ON)
-cmake_dependent_option(YUZU_ROOM "Compile LDN room server" ON "NOT ANDROID" OFF)
+option(YUZU_DOWNLOAD_ANDROID_VVL "Download validation layer binary for android" ON)
+
+CMAKE_DEPENDENT_OPTION(YUZU_ROOM "Compile LDN room server" ON "NOT ANDROID" OFF)
CMAKE_DEPENDENT_OPTION(YUZU_CRASH_DUMPS "Compile Windows crash dump (Minidump) support" OFF "WIN32" OFF)
@@ -61,8 +63,12 @@ option(YUZU_ENABLE_LTO "Enable link-time optimization" OFF)
option(YUZU_DOWNLOAD_TIME_ZONE_DATA "Always download time zone binaries" OFF)
+option(YUZU_ENABLE_PORTABLE "Allow yuzu to enable portable mode if a user folder is found in the CWD" ON)
+
CMAKE_DEPENDENT_OPTION(YUZU_USE_FASTER_LD "Check if a faster linker is available" ON "NOT WIN32" OFF)
+CMAKE_DEPENDENT_OPTION(USE_SYSTEM_MOLTENVK "Use the system MoltenVK lib (instead of the bundled one)" OFF "APPLE" OFF)
+
set(DEFAULT_ENABLE_OPENSSL ON)
if (ANDROID OR WIN32 OR APPLE)
# - Windows defaults to the Schannel backend.
@@ -75,6 +81,24 @@ if (ANDROID OR WIN32 OR APPLE)
endif()
option(ENABLE_OPENSSL "Enable OpenSSL backend for ISslConnection" ${DEFAULT_ENABLE_OPENSSL})
+if (ANDROID AND YUZU_DOWNLOAD_ANDROID_VVL)
+ set(vvl_version "sdk-1.3.261.1")
+ set(vvl_zip_file "${CMAKE_BINARY_DIR}/externals/vvl-android.zip")
+ if (NOT EXISTS "${vvl_zip_file}")
+ # Download and extract validation layer release to externals directory
+ set(vvl_base_url "https://github.com/KhronosGroup/Vulkan-ValidationLayers/releases/download")
+ file(DOWNLOAD "${vvl_base_url}/${vvl_version}/android-binaries-${vvl_version}-android.zip"
+ "${vvl_zip_file}" SHOW_PROGRESS)
+ execute_process(COMMAND ${CMAKE_COMMAND} -E tar xf "${vvl_zip_file}"
+ WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/externals")
+ endif()
+
+ # Copy the arm64 binary to src/android/app/main/jniLibs
+ set(vvl_lib_path "${CMAKE_CURRENT_SOURCE_DIR}/src/android/app/src/main/jniLibs/arm64-v8a/")
+ file(COPY "${CMAKE_BINARY_DIR}/externals/android-binaries-${vvl_version}/arm64-v8a/libVkLayer_khronos_validation.so"
+ DESTINATION "${vvl_lib_path}")
+endif()
+
# On Android, fetch and compile libcxx before doing anything else
if (ANDROID)
set(CMAKE_SKIP_INSTALL_RULES ON)
@@ -136,6 +160,22 @@ if (YUZU_USE_BUNDLED_VCPKG)
endif()
endif()
+ if (MSVC)
+ set(VCPKG_DOWNLOADS_PATH ${PROJECT_SOURCE_DIR}/externals/vcpkg/downloads)
+ set(NASM_VERSION "2.16.01")
+ set(NASM_DESTINATION_PATH ${VCPKG_DOWNLOADS_PATH}/nasm-${NASM_VERSION}-win64.zip)
+ set(NASM_DOWNLOAD_URL "https://github.com/yuzu-emu/ext-windows-bin/raw/master/nasm/nasm-${NASM_VERSION}-win64.zip")
+
+ if (NOT EXISTS ${NASM_DESTINATION_PATH})
+ file(DOWNLOAD ${NASM_DOWNLOAD_URL} ${NASM_DESTINATION_PATH} SHOW_PROGRESS STATUS NASM_STATUS)
+
+ if (NOT NASM_STATUS EQUAL 0)
+ # Warn and not fail since vcpkg is supposed to download this package for us in the first place
+ message(WARNING "External nasm vcpkg package download from ${NASM_DOWNLOAD_URL} failed with status ${NASM_STATUS}")
+ endif()
+ endif()
+ endif()
+
if (YUZU_TESTS)
list(APPEND VCPKG_MANIFEST_FEATURES "yuzu-tests")
endif()
@@ -293,6 +333,7 @@ find_package(LLVM 17 MODULE COMPONENTS Demangle)
find_package(lz4 REQUIRED)
find_package(nlohmann_json 3.8 REQUIRED)
find_package(Opus 1.3 MODULE)
+find_package(RenderDoc MODULE)
find_package(VulkanMemoryAllocator CONFIG)
find_package(ZLIB 1.2 REQUIRED)
find_package(zstd 1.5 REQUIRED)
@@ -506,7 +547,7 @@ if (ENABLE_SDL2)
if (YUZU_USE_BUNDLED_SDL2)
# Detect toolchain and platform
if ((MSVC_VERSION GREATER_EQUAL 1920 AND MSVC_VERSION LESS 1940) AND ARCHITECTURE_x86_64)
- set(SDL2_VER "SDL2-2.28.1")
+ set(SDL2_VER "SDL2-2.28.2")
else()
message(FATAL_ERROR "No bundled SDL2 binaries for your toolchain. Disable YUZU_USE_BUNDLED_SDL2 and provide your own.")
endif()
diff --git a/CMakeModules/DownloadExternals.cmake b/CMakeModules/DownloadExternals.cmake
index 972f5ca74..a52148bd8 100644
--- a/CMakeModules/DownloadExternals.cmake
+++ b/CMakeModules/DownloadExternals.cmake
@@ -36,3 +36,21 @@ endif()
message(STATUS "Using bundled binaries at ${prefix}")
set(${prefix_var} "${prefix}" PARENT_SCOPE)
endfunction()
+
+function(download_moltenvk_external platform version)
+ set(MOLTENVK_DIR "${CMAKE_BINARY_DIR}/externals/MoltenVK")
+ set(MOLTENVK_TAR "${CMAKE_BINARY_DIR}/externals/MoltenVK.tar")
+ if (NOT EXISTS ${MOLTENVK_DIR})
+ if (NOT EXISTS ${MOLTENVK_TAR})
+ file(DOWNLOAD https://github.com/KhronosGroup/MoltenVK/releases/download/${version}/MoltenVK-${platform}.tar
+ ${MOLTENVK_TAR} SHOW_PROGRESS)
+ endif()
+
+ execute_process(COMMAND ${CMAKE_COMMAND} -E tar xf "${MOLTENVK_TAR}"
+ WORKING_DIRECTORY "${CMAKE_BINARY_DIR}/externals")
+ endif()
+
+ # Add the MoltenVK library path to the prefix so find_library can locate it.
+ list(APPEND CMAKE_PREFIX_PATH "${MOLTENVK_DIR}/MoltenVK/dylib/${platform}")
+ set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} PARENT_SCOPE)
+endfunction()
diff --git a/CMakeModules/FindRenderDoc.cmake b/CMakeModules/FindRenderDoc.cmake
new file mode 100644
index 000000000..2678b936b
--- /dev/null
+++ b/CMakeModules/FindRenderDoc.cmake
@@ -0,0 +1,19 @@
+# SPDX-FileCopyrightText: 2023 Alexandre Bouvier <contact@amb.tf>
+#
+# SPDX-License-Identifier: GPL-3.0-or-later
+
+find_path(RenderDoc_INCLUDE_DIR renderdoc_app.h)
+
+include(FindPackageHandleStandardArgs)
+find_package_handle_standard_args(RenderDoc
+ REQUIRED_VARS RenderDoc_INCLUDE_DIR
+)
+
+if (RenderDoc_FOUND AND NOT TARGET RenderDoc::API)
+ add_library(RenderDoc::API INTERFACE IMPORTED)
+ set_target_properties(RenderDoc::API PROPERTIES
+ INTERFACE_INCLUDE_DIRECTORIES "${RenderDoc_INCLUDE_DIR}"
+ )
+endif()
+
+mark_as_advanced(RenderDoc_INCLUDE_DIR)
diff --git a/CMakeModules/GenerateSCMRev.cmake b/CMakeModules/GenerateSCMRev.cmake
index 2cdb9189a..1d4aa979d 100644
--- a/CMakeModules/GenerateSCMRev.cmake
+++ b/CMakeModules/GenerateSCMRev.cmake
@@ -1,7 +1,7 @@
# SPDX-FileCopyrightText: 2019 yuzu Emulator Project
# SPDX-License-Identifier: GPL-2.0-or-later
-# Gets a UTC timstamp and sets the provided variable to it
+# Gets a UTC timestamp and sets the provided variable to it
function(get_timestamp _var)
string(TIMESTAMP timestamp UTC)
set(${_var} "${timestamp}" PARENT_SCOPE)
diff --git a/README.md b/README.md
index 1d5b4626f..d258584bf 100644
--- a/README.md
+++ b/README.md
@@ -40,7 +40,7 @@ It is written in C++ with portability in mind, and we actively maintain builds f
The emulator is capable of running most commercial games at full speed, provided you meet the [necessary hardware requirements](https://yuzu-emu.org/help/quickstart/#hardware-requirements).
-For a full list of games yuzu support, please visit our [Compatibility page](https://yuzu-emu.org/game/)
+For a full list of games yuzu supports, please visit our [Compatibility page](https://yuzu-emu.org/game/).
Check out our [website](https://yuzu-emu.org/) for the latest news on exciting features, monthly progress reports, and more!
diff --git a/dist/languages/ar.ts b/dist/languages/ar.ts
new file mode 100644
index 000000000..89adc7e7b
--- /dev/null
+++ b/dist/languages/ar.ts
@@ -0,0 +1,7176 @@
+<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="ar" sourcelanguage="en_US">
+<context>
+ <name>AboutDialog</name>
+ <message>
+ <location filename="../../src/yuzu/aboutdialog.ui" line="14"/>
+ <source>About yuzu</source>
+ <translation>عن يوزو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/aboutdialog.ui" line="72"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:28pt;&quot;&gt;yuzu&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:28pt;&quot;&gt;يوزو&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/aboutdialog.ui" line="85"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;%1 (%2)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;%1 (%2)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/aboutdialog.ui" line="98"/>
+ <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:12pt;&quot;&gt;yuzu is an experimental open-source emulator for the Nintendo Switch licensed under GPLv3.0+.&lt;/span&gt;&lt;/p&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:12pt;&quot;&gt;This software should not be used to play games you have not legally obtained.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Ubuntu&apos;; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:12pt;&quot;&gt;يوزو هو محاكٍ تجربيٌّ مفتوح مصدره لجهاز ننتندو سوتش ورخصته هي «+GPLv3.0» &lt;/span&gt;&lt;/p&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:&apos;MS Shell Dlg 2&apos;; font-size:8pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:12pt;&quot;&gt;لا تلعب في هذه البرمجية إن لم تشترِ الألعاب وفق القانون. &lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/aboutdialog.ui" line="130"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://yuzu-emu.org/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Website&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Source Code&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/graphs/contributors&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Contributors&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;License&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://yuzu-emu.org/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;موقعنا&lt;/span&gt;&lt;/a&gt;|&lt;a href=&quot;https://github.com/yuzu-emu&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;رماز المصدر&lt;/span&gt;&lt;/a&gt;|&lt;a href=&quot;https://github.com/yuzu-emu/yuzu/graphs/contributors&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;المساهمون&lt;/span&gt;&lt;/a&gt;|&lt;a href=&quot;https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;الرخصة&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/aboutdialog.ui" line="146"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:7pt;&quot;&gt;&amp;quot;Nintendo Switch&amp;quot; is a trademark of Nintendo. yuzu is not affiliated with Nintendo in any way.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:7pt;&quot;&gt;«ننتندو سوتش» علامة تجارية تملكها ننتندو، ويوزو ليس ذا صلة بننتندو.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+</context>
+<context>
+ <name>CalibrationConfigurationDialog</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="23"/>
+ <source>Communicating with the server...</source>
+ <translation>يتواصل مع الخادوم...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="24"/>
+ <source>Cancel</source>
+ <translation>الغِ</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="43"/>
+ <source>Touch the top left corner &lt;br&gt;of your touchpad.</source>
+ <translation>المس الركن الأعلى الأيسر &lt;br&gt;من لوح اللمس</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="46"/>
+ <source>Now touch the bottom right corner &lt;br&gt;of your touchpad.</source>
+ <translation>والآن المس الركن الأسفل يمينًا &lt;br&gt; من لوح اللمس.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="49"/>
+ <source>Configuration completed!</source>
+ <translation>أتممت الضبط!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="57"/>
+ <source>OK</source>
+ <translation>حسنًا</translation>
+ </message>
+</context>
+<context>
+ <name>ChatRoom</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.ui" line="14"/>
+ <source>Room Window</source>
+ <translation>نافذة الغرفة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.ui" line="40"/>
+ <source>Send Chat Message</source>
+ <translation>أرسل رسالةً</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.ui" line="47"/>
+ <source>Send Message</source>
+ <translation>أرسل الرسالة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="181"/>
+ <source>Members</source>
+ <translation>الأعضاء</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="318"/>
+ <source>%1 has joined</source>
+ <translation>قد انضم %1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="321"/>
+ <source>%1 has left</source>
+ <translation>غادر %1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="324"/>
+ <source>%1 has been kicked</source>
+ <translation>طُرِد %1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="327"/>
+ <source>%1 has been banned</source>
+ <translation>حُظِر %1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="330"/>
+ <source>%1 has been unbanned</source>
+ <translation>رُفِع حظر %1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="446"/>
+ <source>View Profile</source>
+ <translation>اعرض ملف المستخدم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="459"/>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="469"/>
+ <source>Block Player</source>
+ <translation>احجب اللاعب</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="470"/>
+ <source>When you block a player, you will no longer receive chat messages from them.&lt;br&gt;&lt;br&gt;Are you sure you would like to block %1?</source>
+ <translation>لن يتمكَّن من تحجب من مراسلتك، &lt;br&gt;&lt;br&gt;فهل تريد حجب %1؟</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="483"/>
+ <source>Kick</source>
+ <translation>اطرد</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="484"/>
+ <source>Ban</source>
+ <translation>احظر</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="488"/>
+ <source>Kick Player</source>
+ <translation>اطرد اللاعب</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="489"/>
+ <source>Are you sure you would like to &lt;b&gt;kick&lt;/b&gt; %1?</source>
+ <translation>هل أنت متأكد من رغبتك في &lt;b&gt;طرد&lt;/b&gt; %1؟</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="497"/>
+ <source>Ban Player</source>
+ <translation>احظر اللاعب</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="498"/>
+ <source>Are you sure you would like to &lt;b&gt;kick and ban&lt;/b&gt; %1?
+
+This would ban both their forum username and their IP address.</source>
+ <translation>هل أنت متأكد من رغبتك في &lt;b&gt;طرد و حظر&lt;/b&gt; %1؟
+
+فعل هذا يحظر كلًّا من اسمه في المنتدى وعنوان IP.</translation>
+ </message>
+</context>
+<context>
+ <name>ClientRoom</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/client_room.ui" line="14"/>
+ <source>Room Window</source>
+ <translation>نافذة الغرفة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/client_room.ui" line="27"/>
+ <source>Room Description</source>
+ <translation>وصف الغرفة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/client_room.ui" line="47"/>
+ <source>Moderation...</source>
+ <translation>الإشراف...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/client_room.ui" line="57"/>
+ <source>Leave Room</source>
+ <translation>غادر الغرفة</translation>
+ </message>
+</context>
+<context>
+ <name>ClientRoomWindow</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/client_room.cpp" line="78"/>
+ <source>Connected</source>
+ <translation>متصل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/client_room.cpp" line="87"/>
+ <source>Disconnected</source>
+ <translation>ليس متصلًا</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/client_room.cpp" line="100"/>
+ <source>%1 - %2 (%3/%4 members) - connected</source>
+ <translation>%1 - %2 (%3\%4 من الأعضاء) - متصلون</translation>
+ </message>
+</context>
+<context>
+ <name>CompatDB</name>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="20"/>
+ <source>Report Compatibility</source>
+ <translation>أبلغ عن التوافق</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="27"/>
+ <location filename="../../src/yuzu/compatdb.ui" line="63"/>
+ <location filename="../../src/yuzu/compatdb.ui" line="115"/>
+ <location filename="../../src/yuzu/compatdb.ui" line="167"/>
+ <location filename="../../src/yuzu/compatdb.ui" line="219"/>
+ <location filename="../../src/yuzu/compatdb.ui" line="271"/>
+ <location filename="../../src/yuzu/compatdb.ui" line="330"/>
+ <source>Report Game Compatibility</source>
+ <translation>أبلغ عن توافق اللعبة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="36"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;Should you choose to submit a test case to the &lt;/span&gt;&lt;a href=&quot;https://yuzu-emu.org/game/&quot;&gt;&lt;span style=&quot; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;yuzu Compatibility List&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;, The following information will be collected and displayed on the site:&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Hardware Information (CPU / GPU / Operating System)&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Which version of yuzu you are running&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;The connected yuzu account&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;إن أرسلت تقريرًا إلى &lt;/span&gt;&lt;a href=&quot;https://yuzu-emu.org/game/&quot;&gt;&lt;span style=&quot; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;قامة توافق يوزو&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt; فسوف تُجمَع المعلومات التالية وتُعرض في الصفحة: &lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;معلومات العتاد (أي المعالج ومعالج الرسوميات ونظام التشغيل)&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;وأي إصدار يوزو أنت مشغِّله&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;، وحساب يوزو المتصل&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="77"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game boot?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;هل تشتغل اللعبة؟&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="100"/>
+ <source>Yes The game starts to output video or audio</source>
+ <translation>تشتغل وأرى رسمًا وأسمع أصوتًا</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="107"/>
+ <source>No The game doesn&apos;t get past the &quot;Launching...&quot; screen</source>
+ <translation>لا تشتغل، ولا تتعدى شاشة «يشغِّل...»</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="124"/>
+ <source>Yes The game gets past the intro/menu and into gameplay</source>
+ <translation>تشتغل، وتصل شاشة البداية وحتى بداية اللعب</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="131"/>
+ <source>No The game crashes or freezes while loading or using the menu</source>
+ <translation>لا تشتغل، فاللعبة تنهار أو تُعلِّق ريثما تحمِّل أو أثناء استخدام القائمة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="143"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game reach gameplay?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;هل تصل اللعبة إلى اللعب؟&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="176"/>
+ <source>Yes The game works without crashes</source>
+ <translation>نعم، وتعمل دون أن تتعطل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="183"/>
+ <source>No The game crashes or freezes during gameplay</source>
+ <translation>لا، وتنهار أو تبقى معلَّقةً أثناء اللعب</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="195"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game work without crashing, freezing or locking up during gameplay?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;هل تعمل اللعبة بدون أن تتعطل أو تدخل في حالة معلقة؟&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="228"/>
+ <source>Yes The game can be finished without any workarounds</source>
+ <translation>نعم يمكن إكمال اللعبة بدون أي حلول غير تقليدية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="235"/>
+ <source>No The game can&apos;t progress past a certain area</source>
+ <translation>لا لا يمكن تعدي أحد الأماكن في اللعبة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="247"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Is the game completely playable from start to finish?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;هل يمكنك أن تلعب اللعبة من بدايتها إلى نهايتها؟&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="280"/>
+ <source>Major The game has major graphical errors</source>
+ <translation>توجد أخطاء كبيرة توجد أخطاء رسمية كبيرة في اللعبة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="287"/>
+ <source>Minor The game has minor graphical errors</source>
+ <translation>توجد أخطاء صغيرة توجد أخطاء رسمية صغيرة في اللعبة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="294"/>
+ <source>None Everything is rendered as it looks on the Nintendo Switch</source>
+ <translation>لا يتم رسم كل شيء كما يرسم على جهاز &quot;نينتيندو سويتش&quot;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="306"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game have any graphical glitches?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;هل توجد أخطاء رسمية في اللعبة؟&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="339"/>
+ <source>Major The game has major audio errors</source>
+ <translation>توجد أخطاء كبيرة توجد أخطاء صوتية كبيرة في اللعبة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="346"/>
+ <source>Minor The game has minor audio errors</source>
+ <translation>توجد أخطاء صغيرة توجد أخطاء صوتية صغيرة في اللعبة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="353"/>
+ <source>None Audio is played perfectly</source>
+ <translation>لاشيء شغل الصوت بشكل مثالي</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="365"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game have any audio glitches / missing effects?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;هل لدي اللعبة أي مشاكل صوتية أو مؤثرات مفقودة؟&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="389"/>
+ <source>Thank you for your submission!</source>
+ <translation>شكرا على مساهمتك!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.cpp" line="121"/>
+ <source>Submitting</source>
+ <translation>جار إرسال المساهمة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.cpp" line="195"/>
+ <source>Communication error</source>
+ <translation>خطأ في الإتصال</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.cpp" line="196"/>
+ <source>An error occurred while sending the Testcase</source>
+ <translation>حدث خطأ عند إرسال حالة الاختبار</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.cpp" line="198"/>
+ <source>Next</source>
+ <translation>التالي</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigurationShared</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation>تلقائي (%1)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation>افتراضي (%1)</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>الصوت</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureCamera</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.ui" line="14"/>
+ <source>Configure Infrared Camera</source>
+ <translation>إعداد كاميرا الاشعة فوق الحمراء</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.ui" line="26"/>
+ <source>Select where the image of the emulated camera comes from. It may be a virtual camera or a real camera.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.ui" line="52"/>
+ <source>Camera Image Source:</source>
+ <translation>مصدر صورة الكاميرا:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.ui" line="71"/>
+ <source>Input device:</source>
+ <translation>جهاز الادخال:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.ui" line="96"/>
+ <source>Preview</source>
+ <translation>معاينة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.ui" line="108"/>
+ <source>Resolution: 320*240</source>
+ <translation>الدقة: 320*240</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.ui" line="115"/>
+ <source>Click to preview</source>
+ <translation>اضغط للمعاينة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.ui" line="140"/>
+ <source>Restore Defaults</source>
+ <translation>إعادة الأصلي</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.cpp" line="140"/>
+ <source>Auto</source>
+ <translation>تلقائي</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureCpu</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="14"/>
+ <source>Form</source>
+ <translation>الشكل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="17"/>
+ <source>CPU</source>
+ <translation>وحدة المعالج المركزية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
+ <source>General</source>
+ <translation>عام</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
+ <source>We recommend setting accuracy to &quot;Auto&quot;.</source>
+ <translation>نحن نوصي بتتعين الدقة إلى &quot;تلقائي&quot;.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
+ <source>Unsafe CPU Optimization Settings</source>
+ <translation>إعدادات غير سالمة لتحسين مردود المعالج</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
+ <source>These settings reduce accuracy for speed.</source>
+ <translation>هذه الإعدادات تتنازل عن صحة المحاكاة في سبيل السرعة.</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureCpuDebug</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="14"/>
+ <source>Form</source>
+ <translation>الشكل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="17"/>
+ <source>CPU</source>
+ <translation>وحدة المعالج المركزية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="25"/>
+ <source>Toggle CPU Optimizations</source>
+ <translation>تبديل تحسينات وحدة المعالجة المركزية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="31"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;For debugging only.&lt;/span&gt;&lt;br/&gt;If you&apos;re not sure what these do, keep all of these enabled. &lt;br/&gt;These settings, when disabled, only take effect when CPU Debugging is enabled. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="41"/>
+ <source>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;This optimization speeds up memory accesses by the guest program.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it inlines accesses to PageTable::pointers into emitted code.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Disabling this forces all memory accesses to go through the Memory::Read/Memory::Write functions.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="48"/>
+ <source>Enable inline page tables</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="55"/>
+ <source>
+ &lt;div&gt;This optimization avoids dispatcher lookups by allowing emitted basic blocks to jump directly to other basic blocks if the destination PC is static.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="60"/>
+ <source>Enable block linking</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="67"/>
+ <source>
+ &lt;div&gt;This optimization avoids dispatcher lookups by keeping track potential return addresses of BL instructions. This approximates what happens with a return stack buffer on a real CPU.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="72"/>
+ <source>Enable return stack buffer</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="79"/>
+ <source>
+ &lt;div&gt;Enable a two-tiered dispatch system. A faster dispatcher written in assembly has a small MRU cache of jump destinations is used first. If that fails, dispatch falls back to the slower C++ dispatcher.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="84"/>
+ <source>Enable fast dispatcher</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="91"/>
+ <source>
+ &lt;div&gt;Enables an IR optimization that reduces unnecessary accesses to the CPU context structure.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="96"/>
+ <source>Enable context elimination</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="103"/>
+ <source>
+ &lt;div&gt;Enables IR optimizations that involve constant propagation.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="108"/>
+ <source>Enable constant propagation</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="115"/>
+ <source>
+ &lt;div&gt;Enables miscellaneous IR optimizations.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="120"/>
+ <source>Enable miscellaneous optimizations</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="127"/>
+ <source>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;When enabled, a misalignment is only triggered when an access crosses a page boundary.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;When disabled, a misalignment is triggered on all misaligned accesses.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="133"/>
+ <source>Enable misalignment check reduction</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="140"/>
+ <source>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;This optimization speeds up memory accesses by the guest program.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it causes guest memory reads/writes to be done directly into memory and make use of Host's MMU.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Disabling this forces all memory accesses to use Software MMU Emulation.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="147"/>
+ <source>Enable Host MMU Emulation (general memory instructions)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="154"/>
+ <source>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;This optimization speeds up exclusive memory accesses by the guest program.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it causes guest exclusive memory reads/writes to be done directly into memory and make use of Host's MMU.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Disabling this forces all exclusive memory accesses to use Software MMU Emulation.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="161"/>
+ <source>Enable Host MMU Emulation (exclusive memory instructions)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="168"/>
+ <source>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;This optimization speeds up exclusive memory accesses by the guest program.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it reduces the overhead of fastmem failure of exclusive memory accesses.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="174"/>
+ <source>Enable recompilation of exclusive memory instructions</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="181"/>
+ <source>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;This optimization speeds up memory accesses by allowing invalid memory accesses to succeed.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it reduces the overhead of all memory accesses and has no impact on programs that don't access invalid memory.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="187"/>
+ <source>Enable fallbacks for invalid memory accesses</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="212"/>
+ <source>CPU settings are available only when game is not running.</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureDebug</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
+ <source>Debugger</source>
+ <translation>مصحح الأخطاء</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
+ <source>Enable GDB Stub</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
+ <source>Port:</source>
+ <translation>المنفذ:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
+ <source>Logging</source>
+ <translation>تسجيل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
+ <source>Open Log Location</source>
+ <translation>فتح مكان السجل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>مرشح السجل العالمي</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
+ <source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
+ <translation>عند التعليم، سيرتفع الحج الأقصى للسجل من 100 ميجا إلى 1 جيجا</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
+ <source>Enable Extended Logging**</source>
+ <translation>تفعيل السجل المطول</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>عرض السجل في الطرفية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
+ <source>Homebrew</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
+ <source>Arguments String</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
+ <source>Graphics</source>
+ <translation>الرسوميات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
+ <source>When checked, it will dump all the macro programs of the GPU</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
+ <source>Dump Maxwell Macros</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
+ <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
+ <source>Enable Shader Feedback</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
+ <source>Advanced</source>
+ <translation>متقدم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
+ <source>Kiosk (Quest) Mode</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
+ <source>Enable CPU Debugging</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
+ <source>Enable Debug Asserts</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>تصحيح الأخطاء</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
+ <source>**This will be reset automatically when yuzu closes.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="35"/>
+ <source>Restart Required</source>
+ <translation>إعادة التشغيل مطلوبة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="36"/>
+ <source>yuzu is required to restart in order to apply this setting.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
+ <source>Web applet not compiled</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
+ <source>MiniDump creation not compiled</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureDebugController</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug_controller.ui" line="14"/>
+ <source>Configure Debug Controller</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug_controller.ui" line="40"/>
+ <source>Clear</source>
+ <translation>مسح</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug_controller.ui" line="47"/>
+ <source>Defaults</source>
+ <translation>الافتراضيات</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureDebugTab</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug_tab.ui" line="14"/>
+ <source>Form</source>
+ <translation>الشكل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug_tab.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_debug_tab.cpp" line="16"/>
+ <source>Debug</source>
+ <translation>تصحيح الأخطاء</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug_tab.cpp" line="17"/>
+ <source>CPU</source>
+ <translation>وحدة المعالج المركزية</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureDialog</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="20"/>
+ <source>yuzu Configuration</source>
+ <translation>إعدادات يوزو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>بعض الإعدادات تتوفر عندما تكون اللعبة غير مشغلة.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
+ <source>Audio</source>
+ <translation>الصوت</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
+ <source>CPU</source>
+ <translation>وحدة المعالج المركزية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
+ <source>Debug</source>
+ <translation>تصحيح الأخطاء</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <source>Filesystem</source>
+ <translation>نظام الملفات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
+ <source>General</source>
+ <translation>عام</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
+ <source>Graphics</source>
+ <translation>الرسوميات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <source>GraphicsAdvanced</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <source>Hotkeys</source>
+ <translation>الأزرار السريعة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
+ <source>Controls</source>
+ <translation>أيدي التحكم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
+ <source>Profiles</source>
+ <translation>ملفات المستخدمين</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
+ <source>Network</source>
+ <translation>الشبكة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
+ <source>System</source>
+ <translation>النظام</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
+ <source>Game List</source>
+ <translation>قائمة الألعاب</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
+ <source>Web</source>
+ <translation>الشبكة</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureFilesystem</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="14"/>
+ <source>Form</source>
+ <translation>الشكل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="17"/>
+ <source>Filesystem</source>
+ <translation>نظام الملفات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="25"/>
+ <source>Storage Directories</source>
+ <translation>أدلة التخزين</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="31"/>
+ <source>NAND</source>
+ <translation>الذاكرة الداخلية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="114"/>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="136"/>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="143"/>
+ <source>...</source>
+ <translation>...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="51"/>
+ <source>SD Card</source>
+ <translation>بطاقة الذاكرة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="84"/>
+ <source>Gamecard</source>
+ <translation>بطاقة اللعبة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="90"/>
+ <source>Path</source>
+ <translation>المسار</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="100"/>
+ <source>Inserted</source>
+ <translation>مدرج</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="107"/>
+ <source>Current Game</source>
+ <translation>اللعبة الحالية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="124"/>
+ <source>Patch Manager</source>
+ <translation>مدير الرقع</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="152"/>
+ <source>Dump Decompressed NSOs</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="159"/>
+ <source>Dump ExeFS</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="168"/>
+ <source>Mod Load Root</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="175"/>
+ <source>Dump Root</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="201"/>
+ <source>Caching</source>
+ <translation>الذاكرة المؤقتة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="209"/>
+ <source>Cache Game List Metadata</source>
+ <translation>تفعيل الذاكرة المؤقتة للبيانات الوصفية لقائمة الألعاب</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="216"/>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="140"/>
+ <source>Reset Metadata Cache</source>
+ <translation>إعادة تعيين الذاكرة المؤقتة للبيانات الوصفية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="93"/>
+ <source>Select Emulated NAND Directory...</source>
+ <translation>أختر مسار محاكاة الذاكرة الداخلية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="96"/>
+ <source>Select Emulated SD Directory...</source>
+ <translation>أختر مسار محاكاة بطاقة الذاكرة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="99"/>
+ <source>Select Gamecard Path...</source>
+ <translation>أختر مسار بطاقة اللعبة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="102"/>
+ <source>Select Dump Directory...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="105"/>
+ <source>Select Mod Load Directory...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="132"/>
+ <source>The metadata cache is already empty.</source>
+ <translation>الذاكرة مؤقتة للبيانات الوصفية لقائمة الألعاب فارغة مسبقا.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="136"/>
+ <source>The operation completed successfully.</source>
+ <translation>أكتملت العملية بنجاح</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="141"/>
+ <source>The metadata cache couldn&apos;t be deleted. It might be in use or non-existent.</source>
+ <translation>لا يمكن حذف الذاكرة المؤقتة للبيانات الوصفية لقائمة الألعاب. قد تكون مستخدمة الآن أو غير موجودة.</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureGeneral</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="14"/>
+ <source>Form</source>
+ <translation>الشكل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="25"/>
+ <source>General</source>
+ <translation>عام</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
+ <source>Reset All Settings</source>
+ <translation>إعادة تعيين جميع الإعدادات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
+ <source>yuzu</source>
+ <translation>يوزو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
+ <source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureGraphics</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="14"/>
+ <source>Form</source>
+ <translation>الشكل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="17"/>
+ <source>Graphics</source>
+ <translation>الرسوميات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="25"/>
+ <source>API Settings</source>
+ <translation>إعدادات API</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
+ <source>Graphics Settings</source>
+ <translation>إعدادات الرسوميات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
+ <source>Background Color:</source>
+ <translation>لون الخلفية:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
+ <comment>FSR sharpening percentage (e.g. 50%)</comment>
+ <translation>%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
+ <source>Off</source>
+ <translation>معطل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
+ <source>VSync Off</source>
+ <translation>VSync معطل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
+ <source>Recommended</source>
+ <translation>مستحسن</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
+ <source>On</source>
+ <translation>مفعل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
+ <source>VSync On</source>
+ <translation>VSync مفعل</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureGraphicsAdvanced</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="14"/>
+ <source>Form</source>
+ <translation>الشكل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="17"/>
+ <source>Advanced</source>
+ <translation>متقدم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="25"/>
+ <source>Advanced Graphics Settings</source>
+ <translation>إعدادات الرسوميات المتقدمة</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureHotkeys</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.ui" line="14"/>
+ <source>Hotkey Settings</source>
+ <translation>إعدادات الأزرار السريعة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.ui" line="17"/>
+ <source>Hotkeys</source>
+ <translation>الأزرار السريعة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.ui" line="25"/>
+ <source>Double-click on a binding to change it.</source>
+ <translation>انقر مرتين على تعيين لتغييره.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.ui" line="45"/>
+ <source>Clear All</source>
+ <translation>مسح الكل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.ui" line="52"/>
+ <source>Restore Defaults</source>
+ <translation>إعادة الأصلي</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="100"/>
+ <source>Action</source>
+ <translation>فعل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="100"/>
+ <source>Hotkey</source>
+ <translation>زر إختصار</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="100"/>
+ <source>Controller Hotkey</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="168"/>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="394"/>
+ <source>Conflicting Key Sequence</source>
+ <translation>تسلسل أزرار متناقض مع الموجود</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="141"/>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="169"/>
+ <source>The entered key sequence is already assigned to: %1</source>
+ <translation>سبق و تم تعيين تسلسل الأزرار الذي أدخلته، مع: %1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="176"/>
+ <source>[waiting]</source>
+ <translation>[بانتظار الرد]</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="253"/>
+ <source>Invalid</source>
+ <translation>غير صالح</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="358"/>
+ <source>Restore Default</source>
+ <translation>إعادة الأصلي</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="359"/>
+ <source>Clear</source>
+ <translation>مسح</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="380"/>
+ <source>Conflicting Button Sequence</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="381"/>
+ <source>The default button sequence is already assigned to: %1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="395"/>
+ <source>The default key sequence is already assigned to: %1</source>
+ <translation>سبق و تم تعيين تسلسل الأزرار الأصلي، مع: %1</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureInput</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="14"/>
+ <source>ConfigureInput</source>
+ <translation>تعديل الأزرار</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="42"/>
+ <source>Player 1</source>
+ <translation>اللاعب 1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="47"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="50"/>
+ <source>Player 2</source>
+ <translation>اللاعب 2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="55"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="58"/>
+ <source>Player 3</source>
+ <translation>اللاعب 3</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="66"/>
+ <source>Player 4</source>
+ <translation>اللاعب 4</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="71"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="74"/>
+ <source>Player 5</source>
+ <translation>اللاعب 5</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="79"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="82"/>
+ <source>Player 6</source>
+ <translation>اللاعب 6</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="87"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="90"/>
+ <source>Player 7</source>
+ <translation>اللاعب 7</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="98"/>
+ <source>Player 8</source>
+ <translation>اللاعب 8</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="103"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="106"/>
+ <source>Advanced</source>
+ <translation>متقدم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="138"/>
+ <source>Console Mode</source>
+ <translation>وضع الوحدة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="159"/>
+ <source>Docked</source>
+ <translation>مركب بالمنصة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="169"/>
+ <source>Handheld</source>
+ <translation>محمول</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="179"/>
+ <source>Vibration</source>
+ <translation>إرتجاج</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="215"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="261"/>
+ <source>Configure</source>
+ <translation>تعديل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="225"/>
+ <source>Motion</source>
+ <translation>حركة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="296"/>
+ <source>Controllers</source>
+ <translation>أيادي التحكم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="324"/>
+ <source>1</source>
+ <translation>1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="365"/>
+ <source>2</source>
+ <translation>2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="375"/>
+ <source>3</source>
+ <translation>3</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="385"/>
+ <source>4</source>
+ <translation>4</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="395"/>
+ <source>5</source>
+ <translation>5</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="405"/>
+ <source>6</source>
+ <translation>6</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="415"/>
+ <source>7</source>
+ <translation>7</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="425"/>
+ <source>8</source>
+ <translation>8</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="435"/>
+ <source>Connected</source>
+ <translation>متصل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="494"/>
+ <source>Defaults</source>
+ <translation>الأصلي</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="537"/>
+ <source>Clear</source>
+ <translation>مسح</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureInputAdvanced</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="14"/>
+ <source>Configure Input</source>
+ <translation>إعداد الإدخال</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="74"/>
+ <source>Joycon Colors</source>
+ <translation>ألوان أيادي جويكون</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="125"/>
+ <source>Player 1</source>
+ <translation>اللاعب 1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="164"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="450"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="754"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1040"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1365"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1651"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1955"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2241"/>
+ <source>L Body</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="219"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="505"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="809"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1095"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1420"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1706"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2010"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2296"/>
+ <source>L Button</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="295"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="581"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="885"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1171"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1496"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1782"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2086"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2372"/>
+ <source>R Body</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="636"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="940"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1226"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1551"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1837"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2141"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2427"/>
+ <source>R Button</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="411"/>
+ <source>Player 2</source>
+ <translation>اللاعب 2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="715"/>
+ <source>Player 3</source>
+ <translation>اللاعب 3</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1001"/>
+ <source>Player 4</source>
+ <translation>اللاعب 4</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1326"/>
+ <source>Player 5</source>
+ <translation>اللاعب 5</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1612"/>
+ <source>Player 6</source>
+ <translation>اللاعب 6</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1916"/>
+ <source>Player 7</source>
+ <translation>اللاعب 7</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2202"/>
+ <source>Player 8</source>
+ <translation>اللاعب 8</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2533"/>
+ <source>Emulated Devices</source>
+ <translation>الأجهزة المحاكاة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2545"/>
+ <source>Keyboard</source>
+ <translation>لوحة المفاتيح</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2558"/>
+ <source>Mouse</source>
+ <translation>الفأرة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2565"/>
+ <source>Touchscreen</source>
+ <translation>شاشة اللمس</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2588"/>
+ <source>Advanced</source>
+ <translation>متقدم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2595"/>
+ <source>Debug Controller</source>
+ <translation>تصحيح أخطاء أداة التحكم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2602"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2616"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2630"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2756"/>
+ <source>Configure</source>
+ <translation>تعديل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2609"/>
+ <source>Ring Controller</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2623"/>
+ <source>Infrared Camera</source>
+ <translation>كاميرا الأشعة فوق الحمراء</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2640"/>
+ <source>Other</source>
+ <translation>أخرى</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2652"/>
+ <source>Emulate Analog with Keyboard Input</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2659"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2701"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2717"/>
+ <source>Requires restarting yuzu</source>
+ <translation>يتطلب إعادة تشغيل يوزو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2668"/>
+ <source>Enable XInput 8 player support (disables web applet)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2681"/>
+ <source>Enable UDP controllers (not needed for motion)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2694"/>
+ <source>Controller navigation</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2710"/>
+ <source>Enable direct JoyCon driver</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2726"/>
+ <source>Enable direct Pro Controller driver [EXPERIMENTAL]</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2733"/>
+ <source>Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2742"/>
+ <source>Use random Amiibo ID</source>
+ <translation>استخدم معرف عشوائي لأميبو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2749"/>
+ <source>Motion / Touch</source>
+ <translation>حركة / لمس</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureInputPerGame</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="14"/>
+ <source>Form</source>
+ <translation>الشكل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="17"/>
+ <source>Graphics</source>
+ <translation>الرسوميات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="28"/>
+ <source>Input Profiles</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="49"/>
+ <source>Player 1 Profile</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="84"/>
+ <source>Player 2 Profile</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="119"/>
+ <source>Player 3 Profile</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="154"/>
+ <source>Player 4 Profile</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="189"/>
+ <source>Player 5 Profile</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="224"/>
+ <source>Player 6 Profile</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="259"/>
+ <source>Player 7 Profile</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="294"/>
+ <source>Player 8 Profile</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.cpp" line="35"/>
+ <source>Use global input configuration</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.cpp" line="47"/>
+ <source>Player %1 profile</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureInputPlayer</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="14"/>
+ <source>Configure Input</source>
+ <translation>إعداد الإدخال</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="63"/>
+ <source>Connect Controller</source>
+ <translation>اتصال وحدة التحكم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="100"/>
+ <source>Input Device</source>
+ <translation>جهاز الإدخال</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="137"/>
+ <source>Profile</source>
+ <translation>ملف المستخدم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="177"/>
+ <source>Save</source>
+ <translation>حفظ</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="193"/>
+ <source>New</source>
+ <translation>جديد</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="209"/>
+ <source>Delete</source>
+ <translation>حذف</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="272"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1340"/>
+ <source>Left Stick</source>
+ <translation>العصا اليسرى</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="330"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="372"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="906"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="945"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2564"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2603"/>
+ <source>Up</source>
+ <translation>فوق</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="403"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="442"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="976"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1015"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2050"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2634"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2673"/>
+ <source>Left</source>
+ <translation>يسار</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="452"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="491"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1025"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1064"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2099"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2683"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2722"/>
+ <source>Right</source>
+ <translation>يمين</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="534"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="573"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1107"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1146"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2765"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2804"/>
+ <source>Down</source>
+ <translation>تحت</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="604"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="643"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2835"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2874"/>
+ <source>Pressed</source>
+ <translation>مضغوط</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="653"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="692"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2884"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2923"/>
+ <source>Modifier</source>
+ <translation>معدل الضغطة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="702"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2933"/>
+ <source>Range</source>
+ <translation>مدى</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="735"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2966"/>
+ <source>%</source>
+ <translation>%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="778"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3006"/>
+ <source>Deadzone: 0%</source>
+ <translation>المنطقة الميتة: 0%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="802"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3030"/>
+ <source>Modifier Range: 0%</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="848"/>
+ <source>D-Pad</source>
+ <translation>الإتجاهات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1232"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1271"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1345"/>
+ <source>L</source>
+ <translation>L</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1287"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1326"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1337"/>
+ <source>ZL</source>
+ <translation>ZL</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1407"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1446"/>
+ <source>Minus</source>
+ <translation>ناقص</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1456"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1495"/>
+ <source>Capture</source>
+ <translation>تصوير</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1526"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1565"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1336"/>
+ <source>Plus</source>
+ <translation>زائد</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1575"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1614"/>
+ <source>Home</source>
+ <translation>المنزل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1679"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1718"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1339"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1346"/>
+ <source>R</source>
+ <translation>R</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1734"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1773"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1338"/>
+ <source>ZR</source>
+ <translation>ZR</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1854"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1893"/>
+ <source>SL</source>
+ <translation>SL</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1903"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1942"/>
+ <source>SR</source>
+ <translation>SR</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2011"/>
+ <source>Motion 1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2060"/>
+ <source>Motion 2</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2151"/>
+ <source>Face Buttons</source>
+ <translation>الأزرار الأمامية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2209"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2248"/>
+ <source>X</source>
+ <translation>X</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2279"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2318"/>
+ <source>Y</source>
+ <translation>Y</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2328"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2367"/>
+ <source>A</source>
+ <translation>A</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2410"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2449"/>
+ <source>B</source>
+ <translation>B</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2497"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1341"/>
+ <source>Right Stick</source>
+ <translation>العصا اليمنى</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3085"/>
+ <source>Mouse panning</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
+ <source>Configure</source>
+ <translation>تعديل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="384"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="469"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="567"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="662"/>
+ <source>Clear</source>
+ <translation>مسح</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="386"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="471"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="571"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="590"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="664"/>
+ <source>[not set]</source>
+ <translation>[ غير معد ]</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="389"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="415"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="676"/>
+ <source>Invert button</source>
+ <translation>عكس الزر</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="395"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="667"/>
+ <source>Toggle button</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="401"/>
+ <source>Turbo button</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="409"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="618"/>
+ <source>Invert axis</source>
+ <translation>عكس المحاور</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="421"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="425"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="478"/>
+ <source>Set threshold</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="425"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="478"/>
+ <source>Choose a value between 0% and 100%</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="437"/>
+ <source>Toggle axis</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="474"/>
+ <source>Set gyro threshold</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="483"/>
+ <source>Calibrate sensor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="523"/>
+ <source>Map Analog Stick</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="524"/>
+ <source>After pressing OK, first move your joystick horizontally, and then vertically.
+To invert the axes, first move your joystick vertically, and then horizontally.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="592"/>
+ <source>Center axis</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="700"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1065"/>
+ <source>Deadzone: %1%</source>
+ <translation>المنطقة الميتة: %1%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="709"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1070"/>
+ <source>Modifier Range: %1%</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="750"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1095"/>
+ <source>Pro Controller</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1099"/>
+ <source>Dual Joycons</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1103"/>
+ <source>Left Joycon</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1107"/>
+ <source>Right Joycon</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1111"/>
+ <source>Handheld</source>
+ <translation>محمول</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1115"/>
+ <source>GameCube Controller</source>
+ <translation>أداة تحكم GameCube</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1124"/>
+ <source>Poke Ball Plus</source>
+ <translation>Poke Ball Plus</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1128"/>
+ <source>NES Controller</source>
+ <translation>أداة تحكم NES</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1132"/>
+ <source>SNES Controller</source>
+ <translation>أداة تحكم SNES</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1136"/>
+ <source>N64 Controller</source>
+ <translation>أداة تحكم N64</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1140"/>
+ <source>Sega Genesis</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1344"/>
+ <source>Start / Pause</source>
+ <translation>بدء / إيقاف مؤقت</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1347"/>
+ <source>Z</source>
+ <translation>Z</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1348"/>
+ <source>Control Stick</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1349"/>
+ <source>C-Stick</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1450"/>
+ <source>Shake!</source>
+ <translation>هزة!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1452"/>
+ <source>[waiting]</source>
+ <translation>[بانتظار الرد]</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1547"/>
+ <source>New Profile</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1547"/>
+ <source>Enter a profile name:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1555"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1563"/>
+ <source>Create Input Profile</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1556"/>
+ <source>The given profile name is not valid!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1564"/>
+ <source>Failed to create the input profile &quot;%1&quot;</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1584"/>
+ <source>Delete Input Profile</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1585"/>
+ <source>Failed to delete the input profile &quot;%1&quot;</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1607"/>
+ <source>Load Input Profile</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1608"/>
+ <source>Failed to load the input profile &quot;%1&quot;</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1633"/>
+ <source>Save Input Profile</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1634"/>
+ <source>Failed to save the input profile &quot;%1&quot;</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureInputProfileDialog</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_profile_dialog.ui" line="14"/>
+ <source>Create Input Profile</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_profile_dialog.ui" line="40"/>
+ <source>Clear</source>
+ <translation>مسح</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_profile_dialog.ui" line="47"/>
+ <source>Defaults</source>
+ <translation>الأصلي</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureMotionTouch</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="6"/>
+ <source>Configure Motion / Touch</source>
+ <translation>إعداد الحركة / اللمس</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="15"/>
+ <source>Touch</source>
+ <translation>اللمس</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="23"/>
+ <source>UDP Calibration:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="30"/>
+ <source>(100, 50) - (1800, 850)</source>
+ <translation>(100, 50) - (1800, 850)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="46"/>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="242"/>
+ <source>Configure</source>
+ <translation>تعديل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="57"/>
+ <source>Touch from button profile:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="85"/>
+ <source>CemuhookUDP Config</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="91"/>
+ <source>You may use any Cemuhook compatible UDP input source to provide motion and touch input.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="134"/>
+ <source>Server:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="161"/>
+ <source>Port:</source>
+ <translation>المنفذ:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="188"/>
+ <source>Learn More</source>
+ <translation>اعرف المزيد</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="201"/>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="265"/>
+ <source>Test</source>
+ <translation>إختبار</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="214"/>
+ <source>Add Server</source>
+ <translation>إضافة خادم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="247"/>
+ <source>Remove Server</source>
+ <translation>إزالة خادم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="87"/>
+ <source>&lt;a href=&apos;https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;Learn More&lt;/span&gt;&lt;/a&gt;</source>
+ <translation>&lt;a href=&apos;https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;اعرف المزيد&lt;/span&gt;&lt;/a&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="168"/>
+ <source>%1:%2</source>
+ <translation>%1:%2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="173"/>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="187"/>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="193"/>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="287"/>
+ <source>yuzu</source>
+ <translation>يوزو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="173"/>
+ <source>Port number has invalid characters</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="177"/>
+ <source>Port has to be in range 0 and 65353</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="181"/>
+ <source>IP address is not valid</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="187"/>
+ <source>This UDP server already exists</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="193"/>
+ <source>Unable to add more than 8 servers</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="209"/>
+ <source>Testing</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="225"/>
+ <source>Configuring</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="256"/>
+ <source>Test Successful</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="257"/>
+ <source>Successfully received data from the server.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="259"/>
+ <source>Test Failed</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="260"/>
+ <source>Could not receive valid data from the server.&lt;br&gt;Please verify that the server is set up correctly and the address and port are correct.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="288"/>
+ <source>UDP Test or calibration configuration is in progress.&lt;br&gt;Please wait for them to finish.</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureMousePanning</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="6"/>
+ <source>Configure mouse panning</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
+ <source>Enable mouse panning</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
+ <source>Sensitivity</source>
+ <translation>الحساسية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
+ <source>Horizontal</source>
+ <translation>أفقي</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
+ <source>%</source>
+ <translation>%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
+ <source>Vertical</source>
+ <translation>عمودي</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="85"/>
+ <source>Deadzone counterweight</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="88"/>
+ <source>Counteracts a game&apos;s built-in deadzone</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
+ <source>Stick decay</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
+ <source>Strength</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <source>Minimum</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
+ <source>Default</source>
+ <translation>الافتراضي</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureNetwork</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_network.ui" line="14"/>
+ <source>Form</source>
+ <translation>الشكل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_network.ui" line="17"/>
+ <source>Network</source>
+ <translation>الشبكة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_network.ui" line="25"/>
+ <source>General</source>
+ <translation>عام</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_network.ui" line="34"/>
+ <source>Network Interface</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_network.cpp" line="15"/>
+ <source>None</source>
+ <translation>الاسم</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigurePerGame</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
+ <source>Dialog</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
+ <source>Info</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
+ <source>Name</source>
+ <translation>الاسم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
+ <source>Title ID</source>
+ <translation>معرف العنوان</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
+ <source>Filename</source>
+ <translation>اسم الملف</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
+ <source>Format</source>
+ <translation>الصيغة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
+ <source>Version</source>
+ <translation>النسخة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
+ <source>Size</source>
+ <translation>الحجم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
+ <source>Developer</source>
+ <translation>المطور</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>بعض الإعدادات تتوفر عند عدم تشغيل اللعبة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>الاضافات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <source>System</source>
+ <translation>النظام</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
+ <source>CPU</source>
+ <translation>وحدة المعالج المركزية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
+ <source>Graphics</source>
+ <translation>الرسوميات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <source>Adv. Graphics</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
+ <source>Audio</source>
+ <translation>الصوت</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
+ <source>Input Profiles</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
+ <source>Properties</source>
+ <translation>الخصائص</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigurePerGameAddons</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game_addons.ui" line="14"/>
+ <source>Form</source>
+ <translation>الشكل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game_addons.ui" line="17"/>
+ <source>Add-Ons</source>
+ <translation>الاضافات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game_addons.cpp" line="46"/>
+ <source>Patch Name</source>
+ <translation>اسم الرقعة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game_addons.cpp" line="47"/>
+ <source>Version</source>
+ <translation>النسخة</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureProfileManager</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="14"/>
+ <source>Form</source>
+ <translation>الشكل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="17"/>
+ <source>Profiles</source>
+ <translation>ملفات المستخدمين</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="25"/>
+ <source>Profile Manager</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="42"/>
+ <source>Current User</source>
+ <translation>المستخدم الحالي</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="86"/>
+ <source>Username</source>
+ <translation>اسم المستخدم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="116"/>
+ <source>Set Image</source>
+ <translation>تعيين صورة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="136"/>
+ <source>Add</source>
+ <translation>إضافة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="146"/>
+ <source>Rename</source>
+ <translation>تسمية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="156"/>
+ <source>Remove</source>
+ <translation>ازالة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="168"/>
+ <source>Profile management is available only when game is not running.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="55"/>
+ <source>%1
+%2</source>
+ <comment>%1 is the profile username, %2 is the formatted UUID (e.g. 00112233-4455-6677-8899-AABBCCDDEEFF))</comment>
+ <translation>%1
+%2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="73"/>
+ <source>Enter Username</source>
+ <translation>أدخل اسم المستخدم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="139"/>
+ <source>Users</source>
+ <translation>المستخدمين</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="201"/>
+ <source>Enter a username for the new user:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="221"/>
+ <source>Enter a new username:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="271"/>
+ <source>Select User Image</source>
+ <translation>اختر صورة المستخدم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="272"/>
+ <source>JPEG Images (*.jpg *.jpeg)</source>
+ <translation>صور JPEG (*.jpg *.jpeg)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="281"/>
+ <source>Error deleting image</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="282"/>
+ <source>Error occurred attempting to overwrite previous image at: %1.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="290"/>
+ <source>Error deleting file</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="291"/>
+ <source>Unable to delete existing file: %1.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="298"/>
+ <source>Error creating user image directory</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="299"/>
+ <source>Unable to create directory %1 for storing user images.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="304"/>
+ <source>Error copying user image</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="305"/>
+ <source>Unable to copy image from %1 to %2</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="314"/>
+ <source>Error resizing user image</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="315"/>
+ <source>Unable to resize image</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureProfileManagerDeleteDialog</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="332"/>
+ <source>Delete this user? All of the user&apos;s save data will be deleted.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="344"/>
+ <source>Confirm Delete</source>
+ <translation>تأكيد الحذف</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="360"/>
+ <source>Name: %1
+UUID: %2</source>
+ <translation>الاسم: %1
+الرقم التعريفي: %2</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureRingController</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="14"/>
+ <source>Configure Ring Controller</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="26"/>
+ <source>To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="52"/>
+ <source>Virtual Ring Sensor Parameters</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="84"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="123"/>
+ <source>Pull</source>
+ <translation>سحب</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="133"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="172"/>
+ <source>Push</source>
+ <translation>دفع</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="206"/>
+ <source>Deadzone: 0%</source>
+ <translation>المنطقة الميتة: 0%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="233"/>
+ <source>Direct Joycon Driver</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="293"/>
+ <source>Enable Ring Input</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="300"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="317"/>
+ <source>Enable</source>
+ <translation>تفعيل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="307"/>
+ <source>Ring Sensor Value</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="314"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="282"/>
+ <source>Not connected</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="344"/>
+ <source>Restore Defaults</source>
+ <translation>إعادة الأصلي</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="168"/>
+ <source>Clear</source>
+ <translation>مسح</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="170"/>
+ <source>[not set]</source>
+ <translation>[ غير معد ]</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="172"/>
+ <source>Invert axis</source>
+ <translation>عكس المحاور</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="191"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="257"/>
+ <source>Deadzone: %1%</source>
+ <translation>المنطقة الميتة: %1%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="279"/>
+ <source>Error enabling ring input</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="285"/>
+ <source>Direct Joycon driver is not enabled</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="290"/>
+ <source>Configuring</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="302"/>
+ <source>The current mapped device doesn&apos;t support the ring controller</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="306"/>
+ <source>The current mapped device doesn&apos;t have a ring attached</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="309"/>
+ <source>The current mapped device is not connected</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="313"/>
+ <source>Unexpected driver result %1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="336"/>
+ <source>[waiting]</source>
+ <translation>[بانتظار الرد]</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureSystem</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="14"/>
+ <source>Form</source>
+ <translation>الشكل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
+ <source>System</source>
+ <translation>النظام</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
+ <source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureTas</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="11"/>
+ <source>TAS</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="17"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Reads controller input from scripts in the same format as TAS-nx scripts.&lt;br/&gt;For a more detailed explanation, please consult the &lt;a href=&quot;https://yuzu-emu.org/help/feature/tas/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;help page&lt;/span&gt;&lt;/a&gt; on the yuzu website.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="27"/>
+ <source>To check which hotkeys control the playback/recording, please refer to the Hotkey settings (Configure -&gt; General -&gt; Hotkeys).</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="37"/>
+ <source>WARNING: This is an experimental feature.&lt;br/&gt;It will not play back scripts frame perfectly with the current, imperfect syncing method.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="54"/>
+ <source>Settings</source>
+ <translation>الإعدادات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="60"/>
+ <source>Enable TAS features</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="67"/>
+ <source>Loop script</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="77"/>
+ <source>Pause execution during loads</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="91"/>
+ <source>Script Directory</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="97"/>
+ <source>Path</source>
+ <translation>المسار</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="104"/>
+ <source>...</source>
+ <translation>...</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureTasDialog</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.cpp" line="19"/>
+ <source>TAS Configuration</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.cpp" line="49"/>
+ <source>Select TAS Load Directory...</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureTouchFromButton</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="14"/>
+ <source>Configure Touchscreen Mappings</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="22"/>
+ <source>Mapping:</source>
+ <translation>تخطيط أزرار:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="48"/>
+ <source>New</source>
+ <translation>جديد</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="61"/>
+ <source>Delete</source>
+ <translation>حذف</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="74"/>
+ <source>Rename</source>
+ <translation>تسمية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="92"/>
+ <source>Click the bottom area to add a point, then press a button to bind.
+Drag points to change position, or double-click table cells to edit values.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="116"/>
+ <source>Delete Point</source>
+ <translation>حذف نقطة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="78"/>
+ <source>Button</source>
+ <translation>زر</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="78"/>
+ <source>X</source>
+ <comment>X axis</comment>
+ <translation>X</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="78"/>
+ <source>Y</source>
+ <comment>Y axis</comment>
+ <translation>Y</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="195"/>
+ <source>New Profile</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="195"/>
+ <source>Enter the name for the new profile.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="206"/>
+ <source>Delete Profile</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="206"/>
+ <source>Delete profile %1?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="219"/>
+ <source>Rename Profile</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="219"/>
+ <source>New name:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="231"/>
+ <source>[press key]</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureTouchscreenAdvanced</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touchscreen_advanced.ui" line="14"/>
+ <source>Configure Touchscreen</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touchscreen_advanced.ui" line="26"/>
+ <source>Warning: The settings in this page affect the inner workings of yuzu&apos;s emulated touchscreen. Changing them may result in undesirable behavior, such as the touchscreen partially or not working. You should only use this page if you know what you are doing.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touchscreen_advanced.ui" line="52"/>
+ <source>Touch Parameters</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touchscreen_advanced.ui" line="71"/>
+ <source>Touch Diameter Y</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touchscreen_advanced.ui" line="91"/>
+ <source>Touch Diameter X</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touchscreen_advanced.ui" line="98"/>
+ <source>Rotational Angle</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touchscreen_advanced.ui" line="132"/>
+ <source>Restore Defaults</source>
+ <translation>إعادة الأصلي</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureUI</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
+ <source>None</source>
+ <translation>لاشيء</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
+ <source>Small (32x32)</source>
+ <translation>صغير (32*32)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <source>Standard (64x64)</source>
+ <translation>معياري (64*64)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <source>Large (128x128)</source>
+ <translation>كبير (128*128)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <source>Full Size (256x256)</source>
+ <translation>الحجم الكامل (256*256)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
+ <source>Small (24x24)</source>
+ <translation>صغير (24*24)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
+ <source>Standard (48x48)</source>
+ <translation>معياري (48*48)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
+ <source>Large (72x72)</source>
+ <translation>كبير (72*72)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
+ <source>Filename</source>
+ <translation>اسم الملف</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
+ <source>Filetype</source>
+ <translation>نوع الملف</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
+ <source>Title ID</source>
+ <translation>معرف العنوان</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
+ <source>Title Name</source>
+ <translation>اسم العنوان</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureUi</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="14"/>
+ <source>Form</source>
+ <translation>الشكل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="17"/>
+ <source>UI</source>
+ <translation>واجهة المستخدم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="23"/>
+ <source>General</source>
+ <translation>عام</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="31"/>
+ <source>Note: Changing language will apply your configuration.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="43"/>
+ <source>Interface language:</source>
+ <translation>لغة الواجهة:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="57"/>
+ <source>Theme:</source>
+ <translation>السمة:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="74"/>
+ <source>Game List</source>
+ <translation>قائمة الألعاب</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="82"/>
+ <source>Show Compatibility List</source>
+ <translation>عرض قائمة التوافقية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="89"/>
+ <source>Show Add-Ons Column</source>
+ <translation>عرض عمود الإضافات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="96"/>
+ <source>Show Size Column</source>
+ <translation>عرض عمود الحجم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="103"/>
+ <source>Show File Types Column</source>
+ <translation>عرض عمود أنواع الملف</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="112"/>
+ <source>Game Icon Size:</source>
+ <translation>حجم أيقونة اللعبة:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="126"/>
+ <source>Folder Icon Size:</source>
+ <translation>حجم أيقونة المجلد:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="140"/>
+ <source>Row 1 Text:</source>
+ <translation>نص السطر 1:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="154"/>
+ <source>Row 2 Text:</source>
+ <translation>نص السطر 2:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="171"/>
+ <source>Screenshots</source>
+ <translation>لقطات الشاشة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="179"/>
+ <source>Ask Where To Save Screenshots (Windows Only)</source>
+ <translation>اسأل أين أحفظ لقطات الشاشة (نظام التشغيل ويندوز فقط)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="188"/>
+ <source>Screenshots Path: </source>
+ <translation>مسار لقطات الشاشة:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="198"/>
+ <source>...</source>
+ <translation>...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>الدقة:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
+ <source>Select Screenshots Path...</source>
+ <translation>أختر مسار لقطات الشاشة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
+ <source>&lt;System&gt;</source>
+ <translation>&lt;System&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation>تلقائي (%1 x %2, %3 x %4)</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureVibration</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="14"/>
+ <source>Configure Vibration</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="23"/>
+ <source>Press any controller button to vibrate the controller.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="30"/>
+ <source>Vibration</source>
+ <translation>إرتجاج</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="63"/>
+ <source>Player 1</source>
+ <translation>اللاعب 1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="148"/>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="200"/>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="252"/>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="322"/>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="374"/>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="426"/>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="478"/>
+ <source>%</source>
+ <translation>%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="115"/>
+ <source>Player 2</source>
+ <translation>اللاعب 2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="167"/>
+ <source>Player 3</source>
+ <translation>اللاعب 3</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="219"/>
+ <source>Player 4</source>
+ <translation>اللاعب 4</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="289"/>
+ <source>Player 5</source>
+ <translation>اللاعب 5</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="341"/>
+ <source>Player 6</source>
+ <translation>اللاعب 6</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="393"/>
+ <source>Player 7</source>
+ <translation>اللاعب 7</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="445"/>
+ <source>Player 8</source>
+ <translation>اللاعب 8</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="503"/>
+ <source>Settings</source>
+ <translation>الإعدادات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="509"/>
+ <source>Enable Accurate Vibration</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureWeb</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="14"/>
+ <source>Form</source>
+ <translation>الشكل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="17"/>
+ <source>Web</source>
+ <translation>الشبكة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="25"/>
+ <source>yuzu Web Service</source>
+ <translation>خدمة الويب يوزو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="31"/>
+ <source>By providing your username and token, you agree to allow yuzu to collect additional usage data, which may include user identifying information.</source>
+ <translation>بتقديمك اسم المستخدم والرمز المميز الخاص بك، فأنك توافق بالسماح ليوزو بجمع بيانات استخدام إضافية، التي قد تحتوي على بيانات تعريف المستخدم.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="49"/>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="159"/>
+ <source>Verify</source>
+ <translation>تحقق</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="56"/>
+ <source>Sign up</source>
+ <translation>تسجيل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="66"/>
+ <source>Token: </source>
+ <translation>الرمز:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="76"/>
+ <source>Username: </source>
+ <translation>اسم المستخدم:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="93"/>
+ <source>What is my token?</source>
+ <translation>ما هو الرمز الخاص بي؟</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="118"/>
+ <source>Web Service configuration can only be changed when a public room isn&apos;t being hosted.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="128"/>
+ <source>Telemetry</source>
+ <translation>القياس عن بعد</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="134"/>
+ <source>Share anonymous usage data with the yuzu team</source>
+ <translation>مشاركة معلومات الاستخدام المجهولة مع فريق يوزو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="141"/>
+ <source>Learn more</source>
+ <translation>معرفة المزيد</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="150"/>
+ <source>Telemetry ID:</source>
+ <translation>معرف القياس عن بعد:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="166"/>
+ <source>Regenerate</source>
+ <translation>إعادة توليد</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="180"/>
+ <source>Discord Presence</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="186"/>
+ <source>Show Current Game in your Discord Status</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="68"/>
+ <source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;Learn more&lt;/span&gt;&lt;/a&gt;</source>
+ <translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;معرفة المزيد&lt;/span&gt;&lt;/a&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="72"/>
+ <source>&lt;a href=&apos;https://profile.yuzu-emu.org/&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;Sign up&lt;/span&gt;&lt;/a&gt;</source>
+ <translation>&lt;a href=&apos;https://profile.yuzu-emu.org/&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;تسجيل&lt;/span&gt;&lt;/a&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="76"/>
+ <source>&lt;a href=&apos;https://yuzu-emu.org/wiki/yuzu-web-service/&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;What is my token?&lt;/span&gt;&lt;/a&gt;</source>
+ <translation>&lt;a href=&apos;https://yuzu-emu.org/wiki/yuzu-web-service/&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;ماهو رمزي المميز؟&lt;/span&gt;&lt;/a&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="80"/>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="125"/>
+ <source>Telemetry ID: 0x%1</source>
+ <translation>معرف القياس عن بعد: 0x%1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="170"/>
+ <source>Unspecified</source>
+ <translation>غير محدد</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="117"/>
+ <source>Token not verified</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="118"/>
+ <source>Token was not verified. The change to your token has not been saved.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="141"/>
+ <source>Unverified, please click Verify before saving configuration</source>
+ <comment>Tooltip</comment>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="147"/>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="149"/>
+ <source>Verifying...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="164"/>
+ <source>Verified</source>
+ <comment>Tooltip</comment>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="169"/>
+ <source>Verification failed</source>
+ <comment>Tooltip</comment>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="171"/>
+ <source>Verification failed</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="172"/>
+ <source>Verification failed. Check that you have entered your token correctly, and that your internet connection is working.</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ControllerDialog</name>
+ <message>
+ <location filename="../../src/yuzu/debugger/controller.cpp" line="20"/>
+ <source>Controller P1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/controller.cpp" line="58"/>
+ <source>&amp;Controller P1</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>DirectConnect</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="14"/>
+ <source>Direct Connect</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="47"/>
+ <source>Server Address</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="54"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Server address of the host&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="64"/>
+ <source>Port</source>
+ <translation>المنفذ</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="71"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Port number the host is listening on&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="97"/>
+ <source>Nickname</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="111"/>
+ <source>Password</source>
+ <translation>كلمة المرور</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="153"/>
+ <source>Connect</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>DirectConnectWindow</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
+ <source>Connecting</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
+ <source>Connect</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>GMainWindow</name>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
+ <source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
+ <source>Telemetry</source>
+ <translation>القياس عن بعد</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
+ <source>Broken Vulkan Installation Detected</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
+ <source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
+ <source>Running a game</source>
+ <extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
+ <source>Loading Web Applet...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
+ <source>Disable Web Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
+ <source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
+(This can be re-enabled in the Debug settings.)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <source>The amount of shaders currently being built</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
+ <source>The current selected resolution scaling multiplier.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
+ <source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
+ <source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
+ <source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
+ <source>Unmute</source>
+ <translation>إلغاء الكتم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
+ <source>Mute</source>
+ <translation>كتم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
+ <source>Reset Volume</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
+ <source>&amp;Clear Recent Files</source>
+ <translation>&amp;مسح الملفات الحديثة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
+ <source>Emulated mouse is enabled</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
+ <source>&amp;Continue</source>
+ <translation>&amp;استمرار</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
+ <source>&amp;Pause</source>
+ <translation>&amp;إيقاف مؤقت</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
+ <source>Warning Outdated Game Format</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
+ <source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
+ <source>Error while loading ROM!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
+ <source>The ROM format is not supported.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
+ <source>An error occurred initializing the video core.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
+ <source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
+ <source>Error while loading ROM! %1</source>
+ <comment>%1 signifies a numeric error code.</comment>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
+ <source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
+ <comment>%1 signifies an error string.</comment>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
+ <source>An unknown error occurred. Please see the log for more details.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
+ <source>(64-bit)</source>
+ <translation>(64-بت)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
+ <source>(32-bit)</source>
+ <translation>(32-بت)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
+ <source>%1 %2</source>
+ <comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
+ <translation>%1 %2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
+ <source>Closing software...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
+ <source>Save Data</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
+ <source>Mod Data</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
+ <source>Error Opening %1 Folder</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
+ <source>Folder does not exist!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
+ <source>Error Opening Transferable Shader Cache</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
+ <source>Failed to create the shader cache directory for this title.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
+ <source>Error Removing Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <source>Error Removing Update</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
+ <source>Error Removing DLC</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
+ <source>Remove Installed Game Contents?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <source>Remove Installed Game Update?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <source>Remove Installed Game DLC?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <source>Remove Entry</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
+ <source>Successfully Removed</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
+ <source>Successfully removed the installed base game.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
+ <source>The base game is not installed in the NAND and cannot be removed.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
+ <source>Successfully removed the installed update.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
+ <source>There is no update installed for this title.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
+ <source>There are no DLC installed for this title.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
+ <source>Successfully removed %1 installed DLC.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
+ <source>Delete OpenGL Transferable Shader Cache?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <source>Delete Vulkan Transferable Shader Cache?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
+ <source>Delete All Transferable Shader Caches?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
+ <source>Remove Custom Game Configuration?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
+ <source>Remove Cache Storage?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
+ <source>Remove File</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
+ <source>Error Removing Transferable Shader Cache</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
+ <source>A shader cache for this title does not exist.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
+ <source>Successfully removed the transferable shader cache.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
+ <source>Failed to remove the transferable shader cache.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
+ <source>Error Removing Vulkan Driver Pipeline Cache</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
+ <source>Failed to remove the driver pipeline cache.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
+ <source>Error Removing Transferable Shader Caches</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
+ <source>Successfully removed the transferable shader caches.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
+ <source>Failed to remove the transferable shader cache directory.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
+ <source>Error Removing Custom Configuration</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
+ <source>A custom configuration for this title does not exist.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
+ <source>Successfully removed the custom game configuration.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
+ <source>Failed to remove the custom game configuration.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
+ <source>RomFS Extraction Failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
+ <source>There was an error copying the RomFS files or the user cancelled the operation.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
+ <source>Full</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
+ <source>Skeleton</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
+ <source>Select RomFS Dump Mode</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
+ <source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
+ <source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <source>Extracting RomFS...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Cancel</source>
+ <translation>إلغاء</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
+ <source>RomFS Extraction Succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <source>The operation completed successfully.</source>
+ <translation>أكتملت العملية بنجاح</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2778"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
+ <source>Create Shortcut</source>
+ <translation>إنشاء إختصار</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
+ <source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
+ <source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
+ <source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
+ <source>Create Icon</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
+ <source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
+ <source>Start %1 with the yuzu Emulator</source>
+ <translation>بدء %1 بمحاكي يوزو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
+ <source>Failed to create a shortcut at %1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
+ <source>Successfully created a shortcut to %1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
+ <source>Error Opening %1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
+ <source>Select Directory</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
+ <source>Properties</source>
+ <translation>الخصائص</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
+ <source>The game properties could not be loaded.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
+ <source>Switch Executable (%1);;All Files (*.*)</source>
+ <comment>%1 is an identifier for the Switch executable file extensions.</comment>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
+ <source>Load File</source>
+ <translation>تشغيل المِلَفّ</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
+ <source>Open Extracted ROM Directory</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
+ <source>Invalid Directory Selected</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
+ <source>The directory you have selected does not contain a &apos;main&apos; file.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
+ <source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
+ <source>Install Files</source>
+ <translation type="unfinished"/>
+ </message>
+ <message numerus="yes">
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
+ <source>%n file(s) remaining</source>
+ <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
+ <source>Installing file &quot;%1&quot;...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <source>Install Results</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
+ <source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
+Please, only use this feature to install updates and DLC.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message numerus="yes">
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
+ <source>%n file(s) were newly installed
+</source>
+ <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation>
+ </message>
+ <message numerus="yes">
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
+ <source>%n file(s) were overwritten
+</source>
+ <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation>
+ </message>
+ <message numerus="yes">
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
+ <source>%n file(s) failed to install
+</source>
+ <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
+ <source>System Application</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
+ <source>System Archive</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
+ <source>System Application Update</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
+ <source>Firmware Package (Type A)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
+ <source>Firmware Package (Type B)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
+ <source>Game</source>
+ <translation>اللعبة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
+ <source>Game Update</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
+ <source>Game DLC</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
+ <source>Delta Title</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
+ <source>Select NCA Install Type...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
+ <source>Please select the type of title you would like to install this NCA as:
+(In most instances, the default &apos;Game&apos; is fine.)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <source>Failed to Install</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <source>The title type you selected for the NCA is invalid.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
+ <source>File not found</source>
+ <translation>لم يتم العثور على الملف</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
+ <source>File &quot;%1&quot; not found</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
+ <source>OK</source>
+ <translation>موافق</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
+ <source>Hardware requirements not met</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
+ <source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
+ <source>Missing yuzu Account</source>
+ <translation>حساب يوزو مفقود</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
+ <source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
+ <source>Error opening URL</source>
+ <translation>خطأ في فتح URL</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
+ <source>Unable to open the URL &quot;%1&quot;.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
+ <source>TAS Recording</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
+ <source>Overwrite file of player 1?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
+ <source>Invalid config detected</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
+ <source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <source>Amiibo</source>
+ <translation>أميبو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <source>The current amiibo has been removed</source>
+ <translation>أميبو اللعبة الحالية تمت إزالته</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <source>Error</source>
+ <translation>خطأ</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
+ <source>The current game is not looking for amiibos</source>
+ <translation>اللعبة الحالية لا تبحث عن أميبو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
+ <source>Amiibo File (%1);; All Files (*.*)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
+ <source>Load Amiibo</source>
+ <translation>تحميل أميبو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
+ <source>Error loading Amiibo data</source>
+ <translation>خطأ أثناء تحميل بيانات أميبو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
+ <source>The selected file is not a valid amiibo</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
+ <source>The selected file is already on use</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
+ <source>An unknown error occurred</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
+ <source>Capture Screenshot</source>
+ <translation>لقطة شاشة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
+ <source>PNG Image (*.png)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
+ <source>TAS state: Running %1/%2</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
+ <source>TAS state: Recording %1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
+ <source>TAS state: Idle %1/%2</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <source>TAS State: Invalid</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
+ <source>&amp;Stop Running</source>
+ <translation>&amp;إيقاف التشغيل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
+ <source>&amp;Start</source>
+ <translation>&amp;ابدأ</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
+ <source>Stop R&amp;ecording</source>
+ <translation>&amp;إيقاف التسجيل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
+ <source>R&amp;ecord</source>
+ <translation>&amp;تسجيل</translation>
+ </message>
+ <message numerus="yes">
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
+ <source>Building: %n shader(s)</source>
+ <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
+ <source>Scale: %1x</source>
+ <comment>%1 is the resolution scaling factor</comment>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
+ <source>Speed: %1% / %2%</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
+ <source>Speed: %1%</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
+ <source>Game: %1 FPS (Unlocked)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
+ <source>Game: %1 FPS</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
+ <source>Frame: %1 ms</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
+ <source>%1 %2</source>
+ <translation>%1 %2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
+ <source>FSR</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
+ <source>NO AA</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
+ <source>VOLUME: MUTE</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
+ <source>VOLUME: %1%</source>
+ <comment>Volume percentage (e.g. 50%)</comment>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
+ <source>Confirm Key Rederivation</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
+ <source>You are about to force rederive all of your keys.
+If you do not know what this means or what you are doing,
+this is a potentially destructive action.
+Please make sure this is what you want
+and optionally make backups.
+
+This will delete your autogenerated key files and re-run the key derivation module.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
+ <source>Missing fuses</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
+ <source> - Missing BOOT0</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
+ <source> - Missing BCPKG2-1-Normal-Main</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
+ <source> - Missing PRODINFO</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
+ <source>Derivation Components Missing</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
+ <source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
+ <source>Deriving keys...
+This may take up to a minute depending
+on your system&apos;s performance.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
+ <source>Deriving Keys</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
+ <source>System Archive Decryption Failed</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
+ <source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
+ <source>Select RomFS Dump Target</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
+ <source>Please select which RomFS you would like to dump.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
+ <source>Are you sure you want to close yuzu?</source>
+ <translation>هل انت متاكد انك تريد اغلاق يوزو?</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
+ <source>yuzu</source>
+ <translation>يوزو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
+ <source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
+ <translation>هل أنت متأكد أنك تريد إيقاف المحاكاة؟ ستيم فقد البيانات التي لم تتم حفظه</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
+ <source>The currently running application has requested yuzu to not exit.
+
+Would you like to bypass this and exit anyway?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <source>None</source>
+ <translation>لا شيء</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
+ <source>FXAA</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
+ <source>SMAA</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <source>Nearest</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
+ <source>Bilinear</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <source>Bicubic</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <source>Gaussian</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
+ <source>ScaleForce</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
+ <source>Docked</source>
+ <translation>مركب بالمنصة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
+ <source>Handheld</source>
+ <translation>محمول</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <source>Normal</source>
+ <translation>عادي</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
+ <source>High</source>
+ <translation>عالي</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
+ <source>Extreme</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <source>Vulkan</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
+ <source>OpenGL</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
+ <source>Null</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <source>GLSL</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
+ <source>GLASM</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
+ <source>SPIRV</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>GRenderWindow</name>
+ <message>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
+ <source>OpenGL not available!</source>
+ <translation>غير متوفر! OpenGL </translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
+ <source>OpenGL shared contexts are not supported.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
+ <source>yuzu has not been compiled with OpenGL support.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
+ <source>Error while initializing OpenGL!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
+ <source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
+ <source>Error while initializing OpenGL 4.6!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
+ <source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
+ <source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>GameList</name>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <source>Favorite</source>
+ <translation>مفضلة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <source>Start Game</source>
+ <translation>بدء اللعبة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
+ <source>Start Game without Custom Configuration</source>
+ <translation>بدء اللعبة بدون الإعدادات المخصصة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
+ <source>Open Save Data Location</source>
+ <translation>فتح موقع بيانات الحفظ</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <source>Open Mod Data Location</source>
+ <translation>فتح موقع بيانات التعديلات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <source>Open Transferable Pipeline Cache</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <source>Remove</source>
+ <translation>ازالة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <source>Remove Installed Update</source>
+ <translation>ازالة التحديث المثبت</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <source>Remove All Installed DLC</source>
+ <translation>ازل جميع المحتويات المثبتها</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
+ <source>Remove Custom Configuration</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <source>Remove Cache Storage</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <source>Remove OpenGL Pipeline Cache</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
+ <source>Remove Vulkan Pipeline Cache</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <source>Remove All Pipeline Caches</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <source>Remove All Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
+ <source>Dump RomFS</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <source>Dump RomFS to SDMC</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
+ <source>Copy Title ID to Clipboard</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <source>Navigate to GameDB entry</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
+ <source>Create Shortcut</source>
+ <translation>إنشاء إختصار</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <source>Add to Desktop</source>
+ <translation>إضافة إلى سطح المكتب</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
+ <source>Add to Applications Menu</source>
+ <translation>إضافة إلى قائمة التطبيقات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
+ <source>Properties</source>
+ <translation>الخصائص</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
+ <source>Scan Subfolders</source>
+ <translation>مسح الملفات الداخلية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
+ <source>Remove Game Directory</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
+ <source>▲ Move Up</source>
+ <translation>▲ نقل للأعلى</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
+ <source>▼ Move Down</source>
+ <translation>▼ نقل للأسفل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
+ <source>Open Directory Location</source>
+ <translation>فتح موقع الدليل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
+ <source>Clear</source>
+ <translation>مسح</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
+ <source>Name</source>
+ <translation>الاسم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
+ <source>Compatibility</source>
+ <translation>التوافق</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
+ <source>Add-ons</source>
+ <translation>الإضافات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
+ <source>File type</source>
+ <translation>نوع الملف</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
+ <source>Size</source>
+ <translation>الحجم</translation>
+ </message>
+</context>
+<context>
+ <name>GameListItemCompat</name>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="149"/>
+ <source>Ingame</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="149"/>
+ <source>Game starts, but crashes or major glitches prevent it from being completed.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="151"/>
+ <source>Perfect</source>
+ <translation>متقن</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="151"/>
+ <source>Game can be played without issues.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="152"/>
+ <source>Playable</source>
+ <translation>قابل للعب</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="152"/>
+ <source>Game functions with minor graphical or audio glitches and is playable from start to finish.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="155"/>
+ <source>Intro/Menu</source>
+ <translation>مقدمة أو قوائم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="155"/>
+ <source>Game loads, but is unable to progress past the Start Screen.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="156"/>
+ <source>Won&apos;t Boot</source>
+ <translation>لا تفتح</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="156"/>
+ <source>The game crashes when attempting to startup.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="157"/>
+ <source>Not Tested</source>
+ <translation>لم تختبر</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="157"/>
+ <source>The game has not yet been tested.</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>GameListPlaceholder</name>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
+ <source>Double-click to add a new folder to the game list</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>GameListSearchField</name>
+ <message numerus="yes">
+ <location filename="../../src/yuzu/game_list.cpp" line="86"/>
+ <source>%1 of %n result(s)</source>
+ <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
+ <source>Filter:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
+ <source>Enter pattern to filter</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>HostRoom</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="14"/>
+ <source>Create Room</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="37"/>
+ <source>Room Name</source>
+ <translation>اسم الغرفة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="51"/>
+ <source>Preferred Game</source>
+ <translation>لعبة مفضلة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="61"/>
+ <source>Max Players</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="91"/>
+ <source>Username</source>
+ <translation>اسم المستخدم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="101"/>
+ <source>(Leave blank for open game)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="118"/>
+ <source>Password</source>
+ <translation>كلمة المرور</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="125"/>
+ <source>Port</source>
+ <translation>المنفذ</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="139"/>
+ <source>Room Description</source>
+ <translation>وصف الغرفة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="153"/>
+ <source>Load Previous Ban List</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="184"/>
+ <source>Public</source>
+ <translation>عام</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="189"/>
+ <source>Unlisted</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="197"/>
+ <source>Host Room</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>HostRoomWindow</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
+ <source>Error</source>
+ <translation>خطأ</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
+ <source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
+Debug Message: </source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>Hotkeys</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <source>Audio Mute/Unmute</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
+ <source>Main Window</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <source>Audio Volume Down</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <source>Audio Volume Up</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <source>Capture Screenshot</source>
+ <translation>لقطة شاشة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <source>Change Adapting Filter</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <source>Change Docked Mode</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <source>Change GPU Accuracy</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <source>Continue/Pause Emulation</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <source>Exit Fullscreen</source>
+ <translation>الخروج من ملىء الشاشة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <source>Exit yuzu</source>
+ <translation>الخروج من يوزو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <source>Fullscreen</source>
+ <translation>ملىء الشاشة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <source>Load File</source>
+ <translation>تشغيل المِلَفّ</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <source>Load/Remove Amiibo</source>
+ <translation>تحميل/إزالة أميبو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <source>Restart Emulation</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <source>Stop Emulation</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <source>TAS Record</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <source>TAS Reset</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <source>TAS Start/Stop</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <source>Toggle Filter Bar</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <source>Toggle Framerate Limit</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <source>Toggle Mouse Panning</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
+ <source>Toggle Status Bar</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>InstallDialog</name>
+ <message>
+ <location filename="../../src/yuzu/install_dialog.cpp" line="29"/>
+ <source>Please confirm these are the files you wish to install.</source>
+ <translation>الرجاء تأكيد هذه هي الملفات التي ترغب في تثبيتها.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/install_dialog.cpp" line="32"/>
+ <source>Installing an Update or DLC will overwrite the previously installed one.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/install_dialog.cpp" line="36"/>
+ <source>Install</source>
+ <translation>تثبيت</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/install_dialog.cpp" line="49"/>
+ <source>Install Files to NAND</source>
+ <translation>تثبيت الملفات الى NAND</translation>
+ </message>
+</context>
+<context>
+ <name>LimitableInputDialog</name>
+ <message>
+ <location filename="../../src/yuzu/util/limitable_input_dialog.cpp" line="59"/>
+ <source>The text can't contain any of the following characters:
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>LoadingScreen</name>
+ <message>
+ <location filename="../../src/yuzu/loading_screen.ui" line="84"/>
+ <source>Loading Shaders 387 / 1628</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/loading_screen.ui" line="121"/>
+ <source>Loading Shaders %v out of %m</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/loading_screen.ui" line="135"/>
+ <source>Estimated Time 5m 4s</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/loading_screen.cpp" line="83"/>
+ <source>Loading...</source>
+ <translation>جاري التحميل...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/loading_screen.cpp" line="84"/>
+ <source>Loading Shaders %1 / %2</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/loading_screen.cpp" line="85"/>
+ <source>Launching...</source>
+ <translation>يتم بدء اللعبة...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/loading_screen.cpp" line="170"/>
+ <source>Estimated Time %1</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>Lobby</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="14"/>
+ <source>Public Room Browser</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="32"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="39"/>
+ <source>Nickname</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="59"/>
+ <source>Filters</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="66"/>
+ <source>Search</source>
+ <translation>البحث</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="76"/>
+ <source>Games I Own</source>
+ <translation>ألعاب | أملكها</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="83"/>
+ <source>Hide Empty Rooms</source>
+ <translation>إخفاء الغرف الفارغة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="90"/>
+ <source>Hide Full Rooms</source>
+ <translation>إخفاء الغرف الممتلئة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="110"/>
+ <source>Refresh Lobby</source>
+ <translation>إنعاش الردهة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
+ <source>Password Required to Join</source>
+ <translation>كلمة المرور مطلوبة للإنظمام</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
+ <source>Password:</source>
+ <translation>كلمة المرور:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <source>Players</source>
+ <translation>اللاعبين</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <source>Room Name</source>
+ <translation>اسم الغرفة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <source>Preferred Game</source>
+ <translation>لعبة مفضلة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
+ <source>Host</source>
+ <translation>المستضيف</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
+ <source>Refreshing</source>
+ <translation>ينعش</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
+ <source>Refresh List</source>
+ <translation>إنعاش القائمة</translation>
+ </message>
+</context>
+<context>
+ <name>MainWindow</name>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="14"/>
+ <source>yuzu</source>
+ <translation>يوزو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="44"/>
+ <source>&amp;File</source>
+ <translation>&amp;ملف</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="48"/>
+ <source>&amp;Recent Files</source>
+ <translation>&amp;الملفات الحديثة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="66"/>
+ <source>&amp;Emulation</source>
+ <translation>&amp;المحاكاة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="77"/>
+ <source>&amp;View</source>
+ <translation>&amp;عرض</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="81"/>
+ <source>&amp;Reset Window Size</source>
+ <translation>&amp;إعادة تعيين حجم الشاشة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="86"/>
+ <source>&amp;Debugging</source>
+ <translation>&amp;اصلاح الأخطاء</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="91"/>
+ <source>Reset Window Size to &amp;720p</source>
+ <translation>اعادة تعيين حجم النافذة إلى &amp;720p</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="94"/>
+ <source>Reset Window Size to 720p</source>
+ <translation>اعادة تعيين حجم النافذة إلى 720p</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="99"/>
+ <source>Reset Window Size to &amp;900p</source>
+ <translation>اعادة تعيين حجم النافذة إلى &amp;900p</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="102"/>
+ <source>Reset Window Size to 900p</source>
+ <translation>اعادة تعيين حجم النافذة إلى 900p</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="107"/>
+ <source>Reset Window Size to &amp;1080p</source>
+ <translation>اعادة تعيين حجم النافذة إلى &amp;1080p</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="110"/>
+ <source>Reset Window Size to 1080p</source>
+ <translation>اعادة تعيين حجم النافذة إلى 1080p</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="127"/>
+ <source>&amp;Multiplayer</source>
+ <translation>&amp;لعب جماعي</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="138"/>
+ <source>&amp;Tools</source>
+ <translation>&amp;أدوات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="142"/>
+ <source>&amp;TAS</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
+ <source>&amp;Help</source>
+ <translation>&amp;مساعدة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
+ <source>&amp;Install Files to NAND...</source>
+ <translation>&amp;تثبيت الملفات الى الذاكرة الداخلية...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
+ <source>L&amp;oad File...</source>
+ <translation>&amp;تحميل ملف...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
+ <source>Load &amp;Folder...</source>
+ <translation>تحميل &amp;مجلد...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
+ <source>E&amp;xit</source>
+ <translation>&amp;خروج</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
+ <source>&amp;Pause</source>
+ <translation>&amp;إيقاف مؤقت</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
+ <source>&amp;Stop</source>
+ <translation>&amp;إيقاف</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
+ <source>&amp;Reinitialize keys...</source>
+ <translation>&amp;إعادة تهيئة المفاتيح...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
+ <source>&amp;About yuzu</source>
+ <translation>&amp;عن يوزو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
+ <source>Single &amp;Window Mode</source>
+ <translation>وضع &amp;الشاشة الواحدة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
+ <source>Con&amp;figure...</source>
+ <translation>&amp;أعدادات...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
+ <source>Display D&amp;ock Widget Headers</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
+ <source>Show &amp;Filter Bar</source>
+ <translation>عرض &amp;شريط المرشح</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
+ <source>Show &amp;Status Bar</source>
+ <translation>عرض &amp;شريط الحالة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
+ <source>Show Status Bar</source>
+ <translation>عرض شريط الحالة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
+ <source>&amp;Browse Public Game Lobby</source>
+ <translation>&amp;استعراض ردهة الألعاب العامة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
+ <source>&amp;Create Room</source>
+ <translation>&amp;إنشاء غرفة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
+ <source>&amp;Leave Room</source>
+ <translation>&amp;مغادرة الغرفة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
+ <source>&amp;Direct Connect to Room</source>
+ <translation>&amp;اتصال مباشر مع غرفة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
+ <source>&amp;Show Current Room</source>
+ <translation>&amp;عرض الغرفة الحالية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
+ <source>F&amp;ullscreen</source>
+ <translation>&amp;ملئ الشاشة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
+ <source>&amp;Restart</source>
+ <translation>&amp;إعادة التشغيل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
+ <source>Load/Remove &amp;Amiibo...</source>
+ <translation>تحميل/إزالة &amp;أميبو...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
+ <source>&amp;Report Compatibility</source>
+ <translation>&amp;تقرير توافقية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
+ <source>Open &amp;Mods Page</source>
+ <translation>فتح صفحة &amp;التعديلات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
+ <source>Open &amp;Quickstart Guide</source>
+ <translation>فتح دليل &amp;البداية السريعة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
+ <source>&amp;FAQ</source>
+ <translation>&amp;الاسئلة الاكثر شيوعا</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
+ <source>Open &amp;yuzu Folder</source>
+ <translation>فتح مجلد &amp;يوزو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
+ <source>&amp;Capture Screenshot</source>
+ <translation>&amp;لقط الشاشة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
+ <source>&amp;Configure TAS...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
+ <source>Configure C&amp;urrent Game...</source>
+ <translation>إعدادات &amp;اللعبة الحالية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
+ <source>&amp;Start</source>
+ <translation>&amp;ابدأ</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
+ <source>&amp;Reset</source>
+ <translation>&amp;إعادة تعيين</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
+ <source>R&amp;ecord</source>
+ <translation>&amp;تسجيل</translation>
+ </message>
+</context>
+<context>
+ <name>MicroProfileDialog</name>
+ <message>
+ <location filename="../../src/yuzu/debugger/profiler.cpp" line="50"/>
+ <source>&amp;MicroProfile</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ModerationDialog</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="6"/>
+ <source>Moderation</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="20"/>
+ <source>Ban List</source>
+ <translation>قائمة الحظر</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="41"/>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="73"/>
+ <source>Refreshing</source>
+ <translation>ينعش</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="51"/>
+ <source>Unban</source>
+ <translation>إلغاء الحظر</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="40"/>
+ <source>Subject</source>
+ <translation>الموضوع</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="41"/>
+ <source>Type</source>
+ <translation>النوع</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="83"/>
+ <source>Forum Username</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="88"/>
+ <source>IP Address</source>
+ <translation>عنوان IP</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="95"/>
+ <source>Refresh</source>
+ <translation>إنعاش</translation>
+ </message>
+</context>
+<context>
+ <name>MultiplayerState</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/state.cpp" line="90"/>
+ <source>Current connection status</source>
+ <translation>حالة الاتصال الحالي</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/state.cpp" line="117"/>
+ <source>Not Connected. Click here to find a room!</source>
+ <translation>غير متصل. اضغط هنا للبحث عن غرفة!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/state.cpp" line="123"/>
+ <source>Not Connected</source>
+ <translation>غير متصل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/state.cpp" line="129"/>
+ <source>Connected</source>
+ <translation>متصل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/state.cpp" line="136"/>
+ <source>New Messages Received</source>
+ <translation>رسالة جديدة استقبلت</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/state.cpp" line="207"/>
+ <source>Error</source>
+ <translation>خطأ</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/state.cpp" line="208"/>
+ <source>Failed to update the room information. Please check your Internet connection and try hosting the room again.
+Debug Message: </source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>NetworkMessage</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="11"/>
+ <source>Username is not valid. Must be 4 to 20 alphanumeric characters.</source>
+ <translation>اسم المستخدم غير صالح. يجب ان يتكون من 4 الى 20 حرف ورقم.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="13"/>
+ <source>Room name is not valid. Must be 4 to 20 alphanumeric characters.</source>
+ <translation>اسم الغرفة غير صالح. يجب ان يتكون من 4 الى 20 حرف ورقم.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="15"/>
+ <source>Username is already in use or not valid. Please choose another.</source>
+ <translation>اسم المستخدم مستخدم من قبل أو غير صالح. رجاء اختر غيره.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="17"/>
+ <source>IP is not a valid IPv4 address.</source>
+ <translation>IP غير صالح كعنوان IPv4.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="19"/>
+ <source>Port must be a number between 0 to 65535.</source>
+ <translation>المنفذ يجب ان يكون رقم بين 0 و 65535.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="20"/>
+ <source>You must choose a Preferred Game to host a room. If you do not have any games in your game list yet, add a game folder by clicking on the plus icon in the game list.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="24"/>
+ <source>Unable to find an internet connection. Check your internet settings.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="26"/>
+ <source>Unable to connect to the host. Verify that the connection settings are correct. If you still cannot connect, contact the room host and verify that the host is properly configured with the external port forwarded.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="30"/>
+ <source>Unable to connect to the room because it is already full.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="32"/>
+ <source>Creating a room failed. Please retry. Restarting yuzu might be necessary.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="34"/>
+ <source>The host of the room has banned you. Speak with the host to unban you or try a different room.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="37"/>
+ <source>Version mismatch! Please update to the latest version of yuzu. If the problem persists, contact the room host and ask them to update the server.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="39"/>
+ <source>Incorrect password.</source>
+ <translation>كلمة مرور غير صحيحة.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="40"/>
+ <source>An unknown error occurred. If this error continues to occur, please open an issue</source>
+ <translation>حدث خطأ غير معروف. إذا استمر حدوث المشكلة، رجاء افتح مشكلة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="43"/>
+ <source>Connection to room lost. Try to reconnect.</source>
+ <translation>فقد الاتصال مع الغرفة. حاول إعادة الاتصال.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="45"/>
+ <source>You have been kicked by the room host.</source>
+ <translation>طردت من قبل مستضيف الغرفة.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="47"/>
+ <source>IP address is already in use. Please choose another.</source>
+ <translation>عنوان IP مستخدم مسبقا. رجاء اختر غيره.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="49"/>
+ <source>You do not have enough permission to perform this action.</source>
+ <translation>ليست لديك الصلاحية الكافية لتنفيذ هذا الفعل.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="50"/>
+ <source>The user you are trying to kick/ban could not be found.
+They may have left the room.</source>
+ <translation>المستخدم الذي تحاول طرده/حظره غير موجود.
+قد يكون ترك الغرفة.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="52"/>
+ <source>No valid network interface is selected.
+Please go to Configure -&gt; System -&gt; Network and make a selection.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="68"/>
+ <source>Game already running</source>
+ <translation>اللعبة تشتغل مسبقا</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="69"/>
+ <source>Joining a room when the game is already running is discouraged and can cause the room feature not to work correctly.
+Proceed anyway?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="75"/>
+ <source>Leave Room</source>
+ <translation>مغادرة الغزفة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="76"/>
+ <source>You are about to close the room. Any network connections will be closed.</source>
+ <translation>أنت على وشك إغلاق الغرفة. أي اتصال سيتم غلقه.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="81"/>
+ <source>Disconnect</source>
+ <translation>قطع الاتصال</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="82"/>
+ <source>You are about to leave the room. Any network connections will be closed.</source>
+ <translation>أنت على وشك إغلاق الغرفة. أي اتصال سيتم غلقه.</translation>
+ </message>
+</context>
+<context>
+ <name>NetworkMessage::ErrorManager</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="63"/>
+ <source>Error</source>
+ <translation>خطأ</translation>
+ </message>
+</context>
+<context>
+ <name>OverlayDialog</name>
+ <message>
+ <location filename="../../src/yuzu/util/overlay_dialog.ui" line="14"/>
+ <source>Dialog</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/util/overlay_dialog.ui" line="134"/>
+ <location filename="../../src/yuzu/util/overlay_dialog.ui" line="353"/>
+ <source>Cancel</source>
+ <translation>إلغاء</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/util/overlay_dialog.ui" line="152"/>
+ <location filename="../../src/yuzu/util/overlay_dialog.ui" line="371"/>
+ <source>OK</source>
+ <translation>موافق</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/util/overlay_dialog.ui" line="313"/>
+ <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:18pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:18pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+</context>
+<context>
+ <name>PlayerControlPreview</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player_widget.cpp" line="1630"/>
+ <source>START/PAUSE</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>QObject</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby_p.h" line="236"/>
+ <source>%1 is not playing a game</source>
+ <translation>%1 لا يلعب أي لعبة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby_p.h" line="238"/>
+ <source>%1 is playing %2</source>
+ <translation>%1 يلعب %2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="142"/>
+ <source>Not playing a game</source>
+ <translation>لا يلعب أي لعبة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="244"/>
+ <source>Installed SD Titles</source>
+ <translation>عناوين مثبته على بطاقة الذاكرة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="252"/>
+ <source>Installed NAND Titles</source>
+ <translation>عناوين مثبته على الذاكرة الداخلية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="260"/>
+ <source>System Titles</source>
+ <translation>عناوين النظام</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="303"/>
+ <source>Add New Game Directory</source>
+ <translation>اضافة دليل ألعاب جديد</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="326"/>
+ <source>Favorites</source>
+ <translation>المفضلة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="32"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="43"/>
+ <source>Shift</source>
+ <translation>Shift</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="45"/>
+ <source>Ctrl</source>
+ <translation>Ctrl</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="47"/>
+ <source>Alt</source>
+ <translation>Alt</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="35"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="392"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="458"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="249"/>
+ <source>[not set]</source>
+ <translation>[ غير معد ]</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="47"/>
+ <source>Hat %1 %2</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="54"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="481"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="485"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="489"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="493"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="272"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="276"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="280"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="284"/>
+ <source>Axis %1%2</source>
+ <translation>محور %1%2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="60"/>
+ <source>Button %1</source>
+ <translation>زر %1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="452"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="466"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="496"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="243"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="257"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="287"/>
+ <source>[unknown]</source>
+ <translation>[غير معروف]</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="47"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="146"/>
+ <source>Left</source>
+ <translation>يسار</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="49"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="60"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="149"/>
+ <source>Right</source>
+ <translation>يمين</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="51"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="155"/>
+ <source>Down</source>
+ <translation>تحت</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="53"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="152"/>
+ <source>Up</source>
+ <translation>فوق</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="55"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="66"/>
+ <source>Z</source>
+ <translation>Z</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="57"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="68"/>
+ <source>R</source>
+ <translation>R</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="70"/>
+ <source>L</source>
+ <translation>L</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="61"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="84"/>
+ <source>A</source>
+ <translation>A</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="86"/>
+ <source>B</source>
+ <translation>B</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="88"/>
+ <source>X</source>
+ <translation>X</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="90"/>
+ <source>Y</source>
+ <translation>Y</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="92"/>
+ <source>Start</source>
+ <translation>ابدأ</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="102"/>
+ <source>L1</source>
+ <translation>L1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="104"/>
+ <source>L2</source>
+ <translation>L2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="75"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="106"/>
+ <source>L3</source>
+ <translation>L3</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="77"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="108"/>
+ <source>R1</source>
+ <translation>R1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="110"/>
+ <source>R2</source>
+ <translation>R2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="112"/>
+ <source>R3</source>
+ <translation>R3</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="114"/>
+ <source>Circle</source>
+ <translation>دائرة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="116"/>
+ <source>Cross</source>
+ <translation>إكس</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="87"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="118"/>
+ <source>Square</source>
+ <translation>مربع</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="120"/>
+ <source>Triangle</source>
+ <translation>مثلث</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="122"/>
+ <source>Share</source>
+ <translation>مشاركة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="124"/>
+ <source>Options</source>
+ <translation>خيارات</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="140"/>
+ <source>[undefined]</source>
+ <translation>[غير معرف]</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="402"/>
+ <source>%1%2</source>
+ <translation>%1%2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="406"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="197"/>
+ <source>[invalid]</source>
+ <translation>[غير صالح]</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="416"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="440"/>
+ <source>%1%2Hat %3</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="420"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="443"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="446"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="237"/>
+ <source>%1%2Axis %3</source>
+ <translation>%1%2محور %3</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="426"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="217"/>
+ <source>%1%2Axis %3,%4,%5</source>
+ <translation>%1%2محور %3,%4,%5</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="430"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="221"/>
+ <source>%1%2Motion %3</source>
+ <translation>%1%2حركة %3</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="434"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="449"/>
+ <source>%1%2Button %3</source>
+ <translation>%1%2زر %3</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="476"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="267"/>
+ <source>[unused]</source>
+ <translation>[غير مستخدم]</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="72"/>
+ <source>ZR</source>
+ <translation>ZR</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="74"/>
+ <source>ZL</source>
+ <translation>ZL</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="76"/>
+ <source>SR</source>
+ <translation>SR</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="78"/>
+ <source>SL</source>
+ <translation>SL</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="80"/>
+ <source>Stick L</source>
+ <translation>العصا اليسرى</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="82"/>
+ <source>Stick R</source>
+ <translation>العصا اليمنى</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="94"/>
+ <source>Plus</source>
+ <translation>زائد</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="96"/>
+ <source>Minus</source>
+ <translation>ناقص</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="98"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="126"/>
+ <source>Home</source>
+ <translation>المنزل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="100"/>
+ <source>Capture</source>
+ <translation>تصوير</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="128"/>
+ <source>Touch</source>
+ <translation>اللمس</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="130"/>
+ <source>Wheel</source>
+ <comment>Indicates the mouse wheel</comment>
+ <translation>العجلة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="132"/>
+ <source>Backward</source>
+ <translation>الخلف</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="134"/>
+ <source>Forward</source>
+ <translation>الأمام</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="136"/>
+ <source>Task</source>
+ <translation>مهمة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="138"/>
+ <source>Extra</source>
+ <translation>المزيد</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="193"/>
+ <source>%1%2%3%4</source>
+ <translation>%1%2%3%4</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="207"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="231"/>
+ <source>%1%2%3Hat %4</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="211"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="234"/>
+ <source>%1%2%3Axis %4</source>
+ <translation>%1%2%3محور %4</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="240"/>
+ <source>%1%2%3Button %4</source>
+ <translation>%1%2%3زر %4</translation>
+ </message>
+</context>
+<context>
+ <name>QtAmiiboSettingsDialog</name>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="14"/>
+ <source>Amiibo Settings</source>
+ <translation>إعدادات أميبو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="169"/>
+ <source>Amiibo Info</source>
+ <translation>معلومات أميبو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="177"/>
+ <source>Series</source>
+ <translation>السلسلة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="197"/>
+ <source>Type</source>
+ <translation>النوع</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="217"/>
+ <source>Name</source>
+ <translation>الاسم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="242"/>
+ <source>Amiibo Data</source>
+ <translation>بيانات أميبو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="250"/>
+ <source>Custom Name</source>
+ <translation>اسم مخصص</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="270"/>
+ <source>Owner</source>
+ <translation>المالك</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="290"/>
+ <source>Creation Date</source>
+ <translation>تاريخ الانشاء</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="307"/>
+ <source>dd/MM/yyyy</source>
+ <translation>dd/MM/yyyy</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="314"/>
+ <source>Modification Date</source>
+ <translation>تاريخ التعديل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="331"/>
+ <source>dd/MM/yyyy </source>
+ <translation>dd/MM/yyyy </translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="349"/>
+ <source>Game Data</source>
+ <translation>بيانات اللعبة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="355"/>
+ <source>Game Id</source>
+ <translation>معرف اللعبة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="384"/>
+ <source>Mount Amiibo</source>
+ <translation>إدراج أمبيو</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="390"/>
+ <source>...</source>
+ <translation>...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="413"/>
+ <source>File Path</source>
+ <translation>مسار الملف</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
+ <source>No game data present</source>
+ <translation>لا يوجد بيانات لعبة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
+ <source>The following amiibo data will be formatted:</source>
+ <translation>بيانات أمبيو التالية سيتم تهيئتها:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
+ <source>The following game data will removed:</source>
+ <translation>بيانات الألعاب التالية سيتم إزالتها:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
+ <source>Set nickname and owner:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
+ <source>Do you wish to restore this amiibo?</source>
+ <translation>هل ترغب في إستعادة أميبو؟</translation>
+ </message>
+</context>
+<context>
+ <name>QtControllerSelectorDialog</name>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="14"/>
+ <source>Controller Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="129"/>
+ <source>Supported Controller Types:</source>
+ <translation>أنواع أداوت التحكم المدعومة:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="282"/>
+ <source>Players:</source>
+ <translation>اللاعبين:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="300"/>
+ <source>1 - 8</source>
+ <translation>1 - 8</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="418"/>
+ <source>P4</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="514"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="711"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="912"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1222"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <source>Pro Controller</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="519"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="716"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="917"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1227"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1464"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <source>Dual Joycons</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="524"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="721"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="922"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1232"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1469"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <source>Left Joycon</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="529"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="726"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="927"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1237"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1474"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <source>Right Joycon</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="538"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="735"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="941"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1246"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1483"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1680"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1881"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2078"/>
+ <source>Use Current Config</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="615"/>
+ <source>P2</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="812"/>
+ <source>P1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <source>Handheld</source>
+ <translation>محمول</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1126"/>
+ <source>P3</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1363"/>
+ <source>P7</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1560"/>
+ <source>P8</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1757"/>
+ <source>P5</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1958"/>
+ <source>P6</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2272"/>
+ <source>Console Mode</source>
+ <translation>وضع الوحدة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2293"/>
+ <source>Docked</source>
+ <translation>مركب بالمنصة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2313"/>
+ <source>Vibration</source>
+ <translation>إرتجاج</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2349"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2395"/>
+ <source>Configure</source>
+ <translation>تعديل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2359"/>
+ <source>Motion</source>
+ <translation>الحركة</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2405"/>
+ <source>Profiles</source>
+ <translation>ملفات المستخدمين</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2432"/>
+ <source>Create</source>
+ <translation>انشاء</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2467"/>
+ <source>Controllers</source>
+ <translation>أيادي التحكم</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2481"/>
+ <source>1</source>
+ <translation>1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2508"/>
+ <source>2</source>
+ <translation>2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2518"/>
+ <source>4</source>
+ <translation>4</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2528"/>
+ <source>3</source>
+ <translation>3</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2538"/>
+ <source>Connected</source>
+ <translation>متصل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2552"/>
+ <source>5</source>
+ <translation>5</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2569"/>
+ <source>7</source>
+ <translation>7</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2586"/>
+ <source>6</source>
+ <translation>6</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2596"/>
+ <source>8</source>
+ <translation>8</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
+ <source>GameCube Controller</source>
+ <translation>أداة تحكم GameCube</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <source>Poke Ball Plus</source>
+ <translation>Poke Ball Plus</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <source>NES Controller</source>
+ <translation>أداة تحكم NES</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <source>SNES Controller</source>
+ <translation>أداة تحكم SNES</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <source>N64 Controller</source>
+ <translation>أداة تحكم N64</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
+ <source>Sega Genesis</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>QtErrorDisplay</name>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_error.cpp" line="27"/>
+ <location filename="../../src/yuzu/applets/qt_error.cpp" line="40"/>
+ <location filename="../../src/yuzu/applets/qt_error.cpp" line="55"/>
+ <source>Error Code: %1-%2 (0x%3)</source>
+ <translation>رمز خطأ: %1-%2 (0x%3)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_error.cpp" line="31"/>
+ <source>An error has occurred.
+Please try again or contact the developer of the software.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_error.cpp" line="44"/>
+ <source>An error occurred on %1 at %2.
+Please try again or contact the developer of the software.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_error.cpp" line="59"/>
+ <source>An error has occurred.
+
+%1
+
+%2</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>QtProfileSelectionDialog</name>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="23"/>
+ <source>%1
+%2</source>
+ <comment>%1 is the profile username, %2 is the formatted UUID (e.g. 00112233-4455-6677-8899-AABBCCDDEEFF))</comment>
+ <translation>%1
+%2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="85"/>
+ <source>Users</source>
+ <translation>المستخدمين</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="167"/>
+ <source>Profile Creator</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="170"/>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="188"/>
+ <source>Profile Selector</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="173"/>
+ <source>Profile Icon Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="176"/>
+ <source>Profile Nickname Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="198"/>
+ <source>Who will receive the points?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="201"/>
+ <source>Who is using Nintendo eShop?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="204"/>
+ <source>Who is making this purchase?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="207"/>
+ <source>Who is posting?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="210"/>
+ <source>Select a user to link to a Nintendo Account.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="213"/>
+ <source>Change settings for which user?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="216"/>
+ <source>Format data for which user?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="219"/>
+ <source>Which user will be transferred to another console?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="222"/>
+ <source>Send save data for which user?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="226"/>
+ <source>Select a user:</source>
+ <translation>اختر مستخدم:</translation>
+ </message>
+</context>
+<context>
+ <name>QtSoftwareKeyboardDialog</name>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_software_keyboard.ui" line="14"/>
+ <source>Software Keyboard</source>
+ <translation>لوحة مفاتيح برمجية</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_software_keyboard.ui" line="199"/>
+ <source>Enter Text</source>
+ <translation>ادخل نص</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_software_keyboard.ui" line="479"/>
+ <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:26pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:26pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_software_keyboard.cpp" line="403"/>
+ <location filename="../../src/yuzu/applets/qt_software_keyboard.cpp" line="413"/>
+ <source>OK</source>
+ <translation>موافق</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_software_keyboard.cpp" line="413"/>
+ <source>Cancel</source>
+ <translation>إلغاء</translation>
+ </message>
+</context>
+<context>
+ <name>SequenceDialog</name>
+ <message>
+ <location filename="../../src/yuzu/util/sequence_dialog/sequence_dialog.cpp" line="10"/>
+ <source>Enter a hotkey</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>WaitTreeCallstack</name>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="120"/>
+ <source>Call stack</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>WaitTreeSynchronizationObject</name>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="158"/>
+ <source>[%1] %2</source>
+ <translation>[%1] %2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="184"/>
+ <source>waited by no thread</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>WaitTreeThread</name>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="202"/>
+ <source>runnable</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="204"/>
+ <source>paused</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="210"/>
+ <source>sleeping</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="213"/>
+ <source>waiting for IPC reply</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="216"/>
+ <source>waiting for objects</source>
+ <translation>في انتظار العناصر</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="219"/>
+ <source>waiting for condition variable</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="222"/>
+ <source>waiting for address arbiter</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="225"/>
+ <source>waiting for suspend resume</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="228"/>
+ <source>waiting</source>
+ <translation>ينتظر</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="233"/>
+ <source>initialized</source>
+ <translation>مهيئ</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="236"/>
+ <source>terminated</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="239"/>
+ <source>unknown</source>
+ <translation>غير معروف</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="244"/>
+ <source> PC = 0x%1 LR = 0x%2</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="294"/>
+ <source>ideal</source>
+ <translation>خامل</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="297"/>
+ <source>core %1</source>
+ <translation>نواة %1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="301"/>
+ <source>processor = %1</source>
+ <translation>معالج = %1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="303"/>
+ <source>affinity mask = %1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="304"/>
+ <source>thread id = %1</source>
+ <translation>معرف الخيط = %1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="305"/>
+ <source>priority = %1(current) / %2(normal)</source>
+ <translation>الأولوية = %1(الحالي) / %2(الطبيعي)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="309"/>
+ <source>last running ticks = %1</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>WaitTreeThreadList</name>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="325"/>
+ <source>waited by thread</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>WaitTreeWidget</name>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="399"/>
+ <source>&amp;Wait Tree</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+</TS> \ No newline at end of file
diff --git a/dist/languages/ca.ts b/dist/languages/ca.ts
index 770b80a96..0ececae42 100644
--- a/dist/languages/ca.ts
+++ b/dist/languages/ca.ts
@@ -358,78 +358,32 @@ This would ban both their forum username and their IP address.</source>
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Àudio</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Motor de sortida:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
<translation type="unfinished"/>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Mono</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Estèreo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Envoltant</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Utilitza el volum global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Configurar volum:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Volum:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Silenciar l&apos;àudio quan estigui en segon plà</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Àudio</translation>
</message>
</context>
<context>
@@ -493,139 +447,25 @@ This would ban both their forum username and their IP address.</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>General</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Precisió:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Auto</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Precís</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Insegur</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>Paranoic (desactiva la majoria d&apos;optimitzacions)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Recomanem establir la precisió a &quot;Auto&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Paràmetres d&apos;optimització de la CPU insegurs</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Aquests paràmetres redueixen la precisió a canvi de rendiment.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Aquest paràmetre augmenta el rendiment reduint la precisió de les instruccions &quot;fused multiply–add&quot; en CPUs sense support natiu FMA.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Desactivar FMA (millora el rendiment en CPUs sense FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Aquest paràmetre augmenta el rendiment d&apos;algunes funcions de punt flotant, fent servir aproximacions natives menys precises.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>FRSQRTE i FRECPE més ràpid</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Aquesta opció millora la velocitat de les funcions de punt flotant ASIMD de 32 bits executant-les amb modes d&apos;arrodoniment incorrectes.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Instruccions ASIMD més ràpides (només 32 bits)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Aquesta opció millora la velocitat eliminant les comprovacions NaN. Tingues en compte que això també redueix la precisió de determinades instruccions de punt flotant.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Gestió imprecisa NaN</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Aquesta opció millora la velocitat eliminant una comprovació de seguretat abans de cada lectura/escriptura de memòria de l&apos;hoste. Desactivar-lo pot permetre que un joc llegeixi/escrigui la memòria de l&apos;emulador.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>Desactiva les comprovacions d&apos;espai d&apos;adreces</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Aquesta opció millora la velocitat basant-se només en les semàntiques de cmpxchg per assegurar la seguretat de les instruccions d&apos;accés exclusiu. Tingui en compte que això podria ocasionar bloquejos i altres situacions de competició.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>Ignorar monitorització global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>La configuració de la CPU només està disponible quan el joc no s&apos;està executant.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -841,222 +681,227 @@ This would ban both their forum username and their IP address.</source>
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>Activar GDB Stub</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Port:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Registre</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Filtre de registre global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>Mostra el registre a la consola</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Obrir ubicació de l&apos;arxiu del registre</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Filtre de registre global</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Quan està marcat, la mida màxima del registre augmenta de 100 MB a 1 GB </translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Habilitar registre ampliat**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Mostra el registre a la consola</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>Cadena d&apos;arguments</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Gràfics</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>Quan està marcat, l&apos;API de gràfics entrarà en un mode de depuració més lent</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Activar depuració de gràfics</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>Quan està marcat, habilitarà els volcats dels errors d&apos;Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Quan està marcat, s&apos;executaran els shaders sense canvis de lògica de bucle</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Activar Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Desactivar comprovacions de seguretat de bucles</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>Quan està marcat, bolcarà tots els shaders d&apos;assemblador originals del cache de shaders del disc o del joc mentre els troba</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>Bolcar shaders del joc</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>Quan està marcat, desactiva el compilador de macro Just In Time. Activar això fa que els jocs funcionin més lentament</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Desactivar macro JIT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>Quan està marcat, habilitarà els volcats dels errors d&apos;Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Activar Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
<source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation>Quan està marcat, yuzu registrarà estadístiques sobre la cache de canonada compilada</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
<source>Enable Shader Feedback</source>
<translation>Activar informació de shaders</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>Quan està marcat, s&apos;executaran els shaders sense canvis de lògica de bucle</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>Quan està marcat, desactiva el compilador de macro Just In Time. Activar això fa que els jocs funcionin més lentament</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>Desactivar comprovacions de seguretat de bucles</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Desactivar macro JIT</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Depuració</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Quan està marcat, l&apos;API de gràfics entrarà en un mode de depuració més lent</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation>Activa els serveis d&apos;informes detallats**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Activar depuració de gràfics</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>Activar registre d&apos;accés al FS</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Quan està marcat, bolcarà tots els shaders d&apos;assemblador originals del cache de shaders del disc o del joc mentre els troba</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>Bolcar shaders del joc</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
+ <source>Advanced</source>
+ <translation>Avançat</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
- <source>Advanced</source>
- <translation>Avançat</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Desactivar el Web Applet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Activar tots els tipus de controladors</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Activar Auto-Stub**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Mode quiosc (Quest)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>Activar depuració de la CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>Activar alertes de depuració</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>Activar Auto-Stub**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Depuració</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>Activar tots els tipus de controladors</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>Activar registre d&apos;accés al FS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Desactivar el Web Applet</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>Activa els serveis d&apos;informes detallats**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**Això es restablirà automàticament quan es tanqui yuzu.</translation>
</message>
@@ -1071,12 +916,12 @@ This would ban both their forum username and their IP address.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation type="unfinished"/>
</message>
@@ -1126,78 +971,83 @@ This would ban both their forum username and their IP address.</source>
<translation>Configuració de yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Àudio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Depuració</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Sistema de fitxers</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>General</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Gràfics</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>GràficsAvançat</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Tecles d&apos;accés ràpid</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Controls</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Perfils</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Xarxa</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>Sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Llista de jocs</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Web</translation>
</message>
@@ -1356,57 +1206,17 @@ This would ban both their forum username and their IP address.</source>
<translation>General</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Limitar percentatge de velocitat</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Emulació de CPU multinucli</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Confirmar la sortida mentre s&apos;està executant l&apos;emulació</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Sol·licitar l&apos;usuari en l&apos;arrencada del joc</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Pausa l&apos;emulació quan la finestra està en segon pla</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Ocultar el cursor del ratolí en cas d&apos;inactivitat</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Reiniciar tots els paràmetres</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>Això restablirà tota la configuració i eliminarà totes les configuracions dels jocs. No eliminarà ni els directoris de jocs, ni els perfils, ni els perfils dels controladors. Procedir?</translation>
</message>
@@ -1429,308 +1239,43 @@ This would ban both their forum username and their IP address.</source>
<translation>Paràmetres de l&apos;API</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>Suport de shaders:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Dispositiu:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Cap</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Paràmetres gràfics</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>Utilitzar cache de shaders de canonada</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Utilitzar emulació asíncrona de GPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>Accelerar la descodificació de textures ASTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>Emulació NVDEC:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Sense sortida de vídeo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>Descodificació de vídeo a la CPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>Descodificació de vídeo a la GPU (Valor Predeterminat)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Mode pantalla completa:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Finestra sense vores</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Pantalla completa exclusiva</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Relació d&apos;aspecte:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Valor predeterminat (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Forçar 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Forçar 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Estirar a la finestra</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>Resolució:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [EXPERIMENTAL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [EXPERIMENTAL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>Filtre d&apos;adaptació de finestra:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Veí més proper</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Bilineal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Bicúbic</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>Gaussià</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>Mètode d&apos;anti-aliasing</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Utilitza un color de fons global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Configura un color de fons:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Color de fons:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (Assembly Shaders, només NVIDIA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation type="unfinished"/>
</message>
@@ -1752,162 +1297,6 @@ Immediate (no synchronization) just presents whatever is available and can exhib
<source>Advanced Graphics Settings</source>
<translation>Paràmetres gràfics avançats</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Nivell de precisió:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Activa la compilació asíncrona de shaders, el qual podria reduir el tartamudeig dels shaders. Aquesta funcionalitat és experimental.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>Utilitzar la construcció de shaders asíncrona (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>Habilita el temps ràpid de la GPU. Aquesta opció obligarà a la majoria dels jocs a executar-se a la seva resolució nativa més alta.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>Utilitzar temps ràpid a la GPU (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Filtrat anisotròpic:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>Automàtic</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Valor predeterminat</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2674,7 +2063,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Configurar</translation>
</message>
@@ -3102,12 +2491,12 @@ Per invertir els eixos, primer moveu el joystick verticalment i després horitzo
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation type="unfinished"/>
+ <source>Enable mouse panning</source>
+ <translation>Activar desplaçament del ratolí</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
<translation type="unfinished"/>
</message>
<message>
@@ -3117,7 +2506,6 @@ Per invertir els eixos, primer moveu el joystick verticalment i després horitzo
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
<translation type="unfinished"/>
</message>
@@ -3125,15 +2513,13 @@ Per invertir els eixos, primer moveu el joystick verticalment i després horitzo
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
<translation type="unfinished"/>
</message>
@@ -3148,25 +2534,51 @@ Per invertir els eixos, primer moveu el joystick verticalment i després horitzo
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>Valor predeterminat</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3199,100 +2611,95 @@ Per invertir els eixos, primer moveu el joystick verticalment i després horitzo
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Diàleg</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Informació</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Nom</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>ID Títol</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Nom de l&apos;arxiu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Format</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Versió</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Mida</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Desenvolupador</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Complements</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>General</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Complements</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>Sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Gràfics</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Gràfics avanç.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Àudio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Propietats</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Utilitzar configuració global (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3614,412 +3021,17 @@ UUID: %2</source>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>Sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Paràmetres del sistema</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Regió:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Auto</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Valor predeterminat</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Cuba</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Egipte</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>GB</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Greenwich</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Hong Kong</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>Islàndia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>Iran</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>Isreal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Jamaica</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Japó</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>Kwajalein</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Líbia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Navajo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>NZ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>NZ-CHAT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Polònia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Portugal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Singapur</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Turquia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Universal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>Zulu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>EUA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Europa</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Austràlia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>Xina</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Corea</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Taiwan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Zona horària:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Nota: això pot anul·lar-se quan la configuració de regió es selecciona automàticament</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Japonès (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Francès (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Alemany (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Italià (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Castellà (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Xinès</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Coreà (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Holandès (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Portuguès (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Rus (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Taiwanès</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Anglès britànic</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Francès canadenc</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Espanyol llatinoamericà</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Xinès simplificat</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Xinès tradicional (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>Portuguès brasiler (português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>RTC personalitzat</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Idioma</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>Llavor de GNA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Els paràmetres del sistema només estan disponibles quan el joc no s&apos;està executant.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation type="unfinished"/>
</message>
@@ -4228,64 +3240,64 @@ Arrossegui els punts per a canviar la posició, o faci doble clic a les cel·les
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Cap</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>Petit (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>Estàndard (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>Gran (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>Tamany complet (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>Petit (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>Estàndard (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>Gran (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Nom de l&apos;arxiu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>Tipus d&apos;arxiu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>ID del títol</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>Nom del títol</translation>
</message>
@@ -4388,15 +3400,31 @@ Arrossegui els punts per a canviar la posició, o faci doble clic a les cel·les
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Resolució:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>Seleccioni el directori de les Captures de Pantalla...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4697,12 +3725,12 @@ Arrossegui els punts per a canviar la posició, o faci doble clic a les cel·les
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation type="unfinished"/>
</message>
@@ -4710,575 +3738,612 @@ Arrossegui els punts per a canviar la posició, o faci doble clic a les cel·les
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Es recullen dades anònimes&lt;/a&gt; per ajudar a millorar yuzu. &lt;br/&gt;&lt;br/&gt;Desitja compartir les seves dades d&apos;ús amb nosaltres?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Telemetria</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>Carregant Web applet...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Desactivar el Web Applet</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation>Desactivar l&apos;Applet Web pot provocar comportaments indefinits i només hauria d&apos;utilitzar-se amb Super Mario 3D All-Stars. Estàs segur de que vols desactivar l&apos;Applet Web?
(Això pot ser reactivat als paràmetres Debug.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>La quantitat de shaders que s&apos;estan compilant actualment</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation>El multiplicador d&apos;escala de resolució seleccionat actualment.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>Velocitat d&apos;emulació actual. Valors superiors o inferiors a 100% indiquen que l&apos;emulació s&apos;està executant més ràpidament o més lentament que a la Switch.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>Quants fotogrames per segon està mostrant el joc actualment. Això variarà d&apos;un joc a un altre i d&apos;una escena a una altra.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Temps que costa emular un fotograma de la Switch, sense tenir en compte la limitació de fotogrames o la sincronització vertical. Per a una emulació òptima, aquest valor hauria de ser com a màxim de 16.67 ms.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>&amp;Esborrar arxius recents</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>&amp;Continuar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;Pausar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>Advertència format del joc desfasat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>Està utilitzant el format de directori de ROM deconstruït per a aquest joc, que és un format desactualitzat que ha sigut reemplaçat per altres, com NCA, NAX, XCI o NSP. Els directoris de ROM deconstruïts careixen d&apos;icones, metadades i suport d&apos;actualitzacions.&lt;br&gt;&lt;br&gt;Per a obtenir una explicació dels diversos formats de Switch que suporta yuzu,&lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;faci una ullada a la nostra wiki&lt;/a&gt;. Aquest missatge no es tornarà a mostrar.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>Error carregant la ROM!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>El format de la ROM no està suportat.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>S&apos;ha produït un error inicialitzant el nucli de vídeo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation>yuzu ha trobat un error mentre executava el nucli de vídeo. Això sol ser causat per controladors de la GPU obsolets, inclosos els integrats. Si us plau, consulti el registre per a més detalls. Per obtenir més informació sobre com accedir al registre, consulti la següent pàgina: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;Com carregar el fitxer de registre&lt;/a&gt;. </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>Error al carregar la ROM! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation>%1&lt;br&gt;Si us plau, segueixi &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;la guia d&apos;inici de yuzu&lt;/a&gt; per a bolcar de nou els seus fitxers.&lt;br&gt;Pot consultar la wiki de yuzu wiki&lt;/a&gt; o el Discord de yuzu&lt;/a&gt; per obtenir ajuda.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>S&apos;ha produït un error desconegut. Si us plau, consulti el registre per a més detalls.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation>S&apos;està tancant el programari</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>Dades de partides guardades</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Dades de mods</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>Error obrint la carpeta %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>La carpeta no existeix!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>Error obrint la cache transferible de shaders</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation>No s&apos;ha pogut crear el directori de la cache dels shaders per aquest títol.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>Eliminar entrada</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>S&apos;ha eliminat correctament</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>S&apos;ha eliminat correctament el joc base instal·lat.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>El joc base no està instal·lat a la NAND i no pot ser eliminat.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>S&apos;ha eliminat correctament l&apos;actualització instal·lada.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>No hi ha cap actualització instal·lada per aquest títol.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>No hi ha cap DLC instal·lat per aquest títol.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>S&apos;ha eliminat correctament %1 DLC instal·lat/s.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation>Desitja eliminar la cache transferible de shaders d&apos;OpenGL?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation>Desitja eliminar la cache transferible de shaders de Vulkan?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation>Desitja eliminar totes les caches transferibles de shaders?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>Desitja eliminar la configuració personalitzada del joc?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>Eliminar arxiu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>Error eliminant la cache transferible de shaders</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>No existeix una cache de shaders per aquest títol.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>S&apos;ha eliminat correctament la cache transferible de shaders.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>No s&apos;ha pogut eliminar la cache transferible de shaders.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation>Error al eliminar les caches de shaders transferibles</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation>Caches de shaders transferibles eliminades correctament.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation>No s&apos;ha pogut eliminar el directori de caches de shaders transferibles.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>Error eliminant la configuració personalitzada</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>No existeix una configuració personalitzada per aquest joc.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>S&apos;ha eliminat correctament la configuració personalitzada del joc.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>No s&apos;ha pogut eliminar la configuració personalitzada del joc.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>La extracció de RomFS ha fallat!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>S&apos;ha produït un error copiant els arxius RomFS o l&apos;usuari ha cancel·lat la operació.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>Completa</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>Esquelet</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>Seleccioni el mode de bolcat de RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Si us plau, seleccioni la forma en que desitja bolcar la RomFS.&lt;br&gt;Completa copiarà tots els arxius al nou directori mentre que&lt;br&gt;esquelet només crearà l&apos;estructura de directoris.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation>No hi ha suficient espai lliure a %1 per extreure el RomFS. Si us plau, alliberi espai o esculli un altre directori de bolcat a Emulació &gt; Configuració &gt; Sistema &gt; Sistema d&apos;arxius &gt; Carpeta arrel de bolcat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>Extraient RomFS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Cancel·la</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>Extracció de RomFS completada correctament!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>L&apos;operació s&apos;ha completat correctament.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>Error obrint %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Seleccionar directori</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Propietats</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>Les propietats del joc no s&apos;han pogut carregar.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Executable de Switch (%1);;Tots els Arxius (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Carregar arxiu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Obrir el directori de la ROM extreta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Directori seleccionat invàlid</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>El directori que ha seleccionat no conté un arxiu &apos;main&apos;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>Arxiu de Switch Instal·lable (*.nca *.nsp *.xci);;Arxiu de Continguts Nintendo (*.nca);;Paquet d&apos;enviament Nintendo (*.nsp);;Imatge de Cartutx NX (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>Instal·lar arxius</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation><numerusform>%n arxiu(s) restants</numerusform><numerusform>%n arxiu(s) restants</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>Instal·lant arxiu &quot;%1&quot;...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>Resultats instal·lació</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>Per evitar possibles conflictes, no recomanem als usuaris que instal·lin jocs base a la NAND.
Si us plau, utilitzi aquesta funció només per a instal·lar actualitzacions i DLCs.</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation><numerusform>%n nou(s) arxiu(s) s&apos;ha(n) instal·lat
@@ -5286,7 +4351,7 @@ Si us plau, utilitzi aquesta funció només per a instal·lar actualitzacions i
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation><numerusform>%n arxiu(s) s&apos;han sobreescrit
@@ -5294,7 +4359,7 @@ Si us plau, utilitzi aquesta funció només per a instal·lar actualitzacions i
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation><numerusform>%n arxiu(s) no s&apos;han instal·lat
@@ -5302,312 +4367,339 @@ Si us plau, utilitzi aquesta funció només per a instal·lar actualitzacions i
</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Aplicació del sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Arxiu del sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Actualització de l&apos;aplicació del sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Paquet de firmware (Tipus A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Paquet de firmware (Tipus B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Joc</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Actualització de joc</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>DLC del joc</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Títol delta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Seleccioni el tipus d&apos;instal·lació NCA...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>Seleccioni el tipus de títol que desitja instal·lar aquest NCA com a:
(En la majoria dels casos, el valor predeterminat &apos;Joc&apos; està bé.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Ha fallat la instal·lació</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>El tipus de títol seleccionat per el NCA és invàlid.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Arxiu no trobat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Arxiu &quot;%1&quot; no trobat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>D&apos;acord</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>Falta el compte de yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>Per tal d&apos;enviar un cas de prova de compatibilitat de joc, ha de vincular el seu compte de yuzu.&lt;br&gt;&lt;br/&gt;Per a vincular el seu compte de yuzu, vagi a Emulació &amp; gt; Configuració &amp; gt; Web.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>Error obrint URL</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>No es pot obrir la URL &quot;%1&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation>Gravació TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>Sobreescriure l&apos;arxiu del jugador 1?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>Configuració invàlida detectada</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>El controlador del mode portàtil no es pot fer servir en el mode acoblat. Es seleccionarà el controlador Pro en el seu lloc.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>L&apos;amiibo actual ha sigut eliminat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation>El joc actual no està buscant amiibos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Arxiu Amiibo (%1);; Tots els Arxius (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Carregar Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Error al carregar les dades d&apos;Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Captura de pantalla</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>Imatge PNG (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>Estat TAS: executant %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>Estat TAS: gravant %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation>Estat TAS: inactiu %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>Estat TAS: invàlid</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation>&amp;Parar l&apos;execució</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>&amp;Iniciar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>Parar g&amp;ravació</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>G&amp;ravar</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation><numerusform>Construint: %n shader(s)</numerusform><numerusform>Construint: %n shader(s)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>Escala: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Velocitat: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Velocitat: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation>Joc: %1 FPS (desbloquejat)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Joc: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Fotograma: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>SENSE AA</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>Confirmi la clau de rederivació</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5624,37 +4716,37 @@ i opcionalment faci còpies de seguretat.
Això eliminarà els arxius de les claus generats automàticament i tornarà a executar el mòdul de derivació de claus.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>Falten fusibles</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation> - Falta BOOT0</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation> - Falta BCPKG2-1-Normal-Main</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation> - Falta PRODINFO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>Falten components de derivació</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation>Falten les claus d&apos;encriptació. &lt;br&gt;Si us plau, segueixi &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;la guia ràpida de yuzu&lt;/a&gt; per a obtenir totes les seves claus, firmware i jocs.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5663,49 +4755,49 @@ Això pot prendre fins a un minut depenent
del rendiment del seu sistema.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>Derivant claus</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>Seleccioni el destinatari per a bolcar el RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>Si us plau, seleccioni quin RomFS desitja bolcar.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Està segur de que vol tancar yuzu?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Està segur de que vol aturar l&apos;emulació? Qualsevol progrés no guardat es perdrà.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5714,97 +4806,97 @@ Would you like to bypass this and exit anyway?</source>
Desitja tancar-lo de totes maneres?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Cap</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Bilineal</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Bicúbic</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>Gaussià</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Acoblada</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Portàtil</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
<translation type="unfinished"/>
</message>
@@ -5812,44 +4904,44 @@ Desitja tancar-lo de totes maneres?</translation>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGL no disponible!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>yuzu no ha estat compilat amb suport per OpenGL.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>Error al inicialitzar OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>La seva GPU no suporta OpenGL, o no té instal·lat els últims controladors gràfics.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>Error inicialitzant OpenGL 4.6!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>La seva GPU no suporta OpenGL 4.6, o no té instal·lats els últims controladors gràfics.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>És possible que la seva GPU no suporti una o més extensions necessàries d&apos;OpenGL. Si us plau, asseguris de tenir els últims controladors de la tarjeta gràfica.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Extensions no suportades:&lt;br&gt;%2</translation>
</message>
@@ -5857,173 +4949,178 @@ Desitja tancar-lo de totes maneres?</translation>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>Preferit</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>Iniciar el joc</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>Iniciar el joc sense la configuració personalitzada</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Obrir la ubicació dels arxius de partides guardades</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Obrir la ubicació dels mods</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation>Obrir cache transferible de shaders de canonada</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Eliminar</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>Eliminar actualització instal·lada</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>Eliminar tots els DLC instal·lats</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>Eliminar configuració personalitzada</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation>Eliminar cache de canonada d&apos;OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation>Eliminar cache de canonada de Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>Eliminar totes les caches de canonada</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>Eliminar tots els continguts instal·lats</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>Bolcar RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>Bolcar RomFS a SDMC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Copiar la ID del títol al porta-retalls</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>Navegar a l&apos;entrada de GameDB</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Propietats</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>Escanejar subdirectoris</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>Eliminar directori de jocs</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ Moure amunt</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ Move avall</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>Obre ubicació del directori</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Esborrar</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Nom</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Compatibilitat</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Complements</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Tipus d&apos;arxiu</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Mida</translation>
</message>
@@ -6094,7 +5191,7 @@ Desitja tancar-lo de totes maneres?</translation>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>Faci doble clic per afegir un nou directori a la llista de jocs</translation>
</message>
@@ -6107,12 +5204,12 @@ Desitja tancar-lo de totes maneres?</translation>
<translation><numerusform>%1 de %n resultat(s)</numerusform><numerusform>%1 de %n resultat(s)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Filtre:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Introdueixi patró per a filtrar</translation>
</message>
@@ -6188,12 +5285,12 @@ Desitja tancar-lo de totes maneres?</translation>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation type="unfinished"/>
@@ -6202,13 +5299,11 @@ Debug Message: </source>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6229,111 +5324,113 @@ Debug Message: </source>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Captura de pantalla</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Pantalla Completa</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Carregar arxiu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation type="unfinished"/>
</message>
@@ -6453,42 +5550,42 @@ Debug Message: </source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Jugadors</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation type="unfinished"/>
</message>
@@ -6576,172 +5673,182 @@ Debug Message: </source>
<translation>&amp;TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Ajuda</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>&amp;instal·lar arxius a la NAND...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>C&amp;arregar arxiu...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>Carregar &amp;carpeta...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>S&amp;ortir</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>&amp;Pausar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>&amp;Aturar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>&amp;Reinicialitzar claus...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>&amp;Sobre yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>Mode una sola &amp;finestra</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>Con&amp;figurar...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>Mostrar complements de capçalera del D&amp;ock</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>Mostrar la barra de &amp;filtre</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>Mostrar la barra d&apos;&amp;estat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Mostrar barra d&apos;estat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>P&amp;antalla completa</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>&amp;Reiniciar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation>Carregar/Eliminar &amp;Amiibo...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>&amp;Informar de compatibilitat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation>Obrir la pàgina de &amp;mods</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation>Obre la guia d&apos;&amp;inici ràpid</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>&amp;Preguntes freqüents</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation>Obrir la carpeta de &amp;yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>&amp;Captura de pantalla</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation>&amp;Configurar TAS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation>Configurar joc a&amp;ctual...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>&amp;Iniciar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation>&amp;Reiniciar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>E&amp;nregistrar</translation>
</message>
@@ -7530,27 +6637,27 @@ p, li { white-space: pre-wrap; }
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation type="unfinished"/>
</message>
@@ -7591,7 +6698,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Controlador Pro</translation>
</message>
@@ -7604,7 +6711,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Joycons duals</translation>
</message>
@@ -7617,7 +6724,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Joycon esquerra</translation>
</message>
@@ -7630,7 +6737,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Joycon dret</translation>
</message>
@@ -7659,7 +6766,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Portàtil</translation>
</message>
@@ -7775,32 +6882,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>Controlador de GameCube</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>Poke Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>Controlador NES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>Controlador SNES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>Controlador N64</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>Sega Genesis</translation>
</message>
diff --git a/dist/languages/cs.ts b/dist/languages/cs.ts
index a932dabed..899725ed4 100644
--- a/dist/languages/cs.ts
+++ b/dist/languages/cs.ts
@@ -358,78 +358,32 @@ This would ban both their forum username and their IP address.</source>
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Audio</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Výstupní Engine:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Mono</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Stereo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Surround</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Použít globální hlasitost</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Nastavit hlasitost:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Hlasitost:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
<translation type="unfinished"/>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Audio</translation>
</message>
</context>
<context>
@@ -493,137 +447,25 @@ This would ban both their forum username and their IP address.</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Obecné</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Přesnost:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Automatické</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Přesné</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Nebezpečné</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>Paranoidní (zakáže většinu optimizací)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Doporučujeme nastavit přesnost na &quot;Automatické&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Nebezpečná nastavení optimalizace CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Tato nastavení snižují přesnost pro vyšší rychlost.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Toto nastavení zvýší rychlost tím, že sníží přesnost instrukcí fused-multiply-add na procesorech bez nativní podpory FMA.&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Rozložit FMA instrukce (zlepší výkon na CPU bez FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Tato možnost zvýší rychlost některých funkcí pro čísla s pohyblivou desetinnou čárkou použitím méně přesných nativních aproximací.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>Rychlejší FRSQRTE a FRECPE</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Tato možnost zvýší rychlost 32-bitových ASIMD funkcí pro čísla s pohyblivou desetinnou čárkou použitím méně přesných zaokruhlovacích režimů.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Rychlejší instrukce ASIMD (Pouze 32 bitové)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Tato možnost zvýší rychlost odstraněním ověření NaN. Také snižuje přesnost některých instrukcí pro čísla s pohyblivou desetinnou čárkou.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Nepřesné zpracování NaN</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
-Tato možnost zlepšuje rychlost vypnutím bezpečnostní kontroly před každým zápisem/přečtením paměti ve hře. Zakázání této možnosti by mohlo dovolit hře číst/zapisovat pamět emulátoru.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>Zakázat kontrolu adres paměti</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
-Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zajištění bezpečnosti exkluzivního přístupu k přístupovým instrukcím. Prosím zapamtujte si že tato možnost může zavinit zaseknutí a ostatní náhodné akce.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>Ignorovat globální hlídač.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>Nastavení CPU jsou k dispozici, pouze když není spuštěna žádná hra.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -833,222 +675,227 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>Debugger</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>Povolit GDB Stub</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Port:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Logování</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Centrální log filtr</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>Zobrazit log v konzoli</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Otevřít lokaci s logama</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Centrální log filtr</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Po povolení se zvýší maximální velikost logu z 100 MB na 1 GB.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Povolit rozšířené logování</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Zobrazit log v konzoli</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>Argumenty</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Grafika</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>Po povolení se grafické API přepne do pomalejšího režimu ladění.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Zapnout ladění grafiky</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>Zaškrtnutí povolí crash dumpy Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Když je zaškrtnuto, shadery budou exekutovány bez změn logických smyček.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Povolit Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>Když je zaškrtnuto, dumpne všechny originální shadery assembleru z diskové zálohy shaderů či hry jak jsou nalezeny.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>Dumpnout shadery hry</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>Když je zaškrtnuto, dumpne všechny makro programy GPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>Dumpnout Maxwell Makra</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>Zaškrtnutí povolí crash dumpy Nsight Aftermath</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Povolit Nsight Aftermath</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
+ <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
+ <translation>Když je zaškrtnuto, yuzu bude logovat statistiky o kompilované mezipaměti pipelinu</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
+ <source>Enable Shader Feedback</source>
+ <translation>Povolit Shader Feedback</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
<source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
<translation>Po povolení se zakáže makro Just-in-Time překladač. Poté hry poběží pomaleji.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
<source>Disable Macro JIT</source>
<translation>Zakázat Makro JIT</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Po povolení se grafické API přepne do pomalejšího režimu ladění.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
- <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
- <translation>Když je zaškrtnuto, yuzu bude logovat statistiky o kompilované mezipaměti pipelinu</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Zapnout ladění grafiky</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
- <source>Enable Shader Feedback</source>
- <translation>Povolit Shader Feedback</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Když je zaškrtnuto, dumpne všechny originální shadery assembleru z diskové zálohy shaderů či hry jak jsou nalezeny.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>Když je zaškrtnuto, shadery budou exekutovány bez změn logických smyček.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>Dumpnout shadery hry</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Ladění</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
+ <source>Advanced</source>
+ <translation>Pokročilé</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Zakázat Web Applet</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
- <source>Advanced</source>
- <translation>Pokročilé</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Předváděcí (Quest/Kiosk) režim</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>Povolit Debug Asserts</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Ladění</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Zakázat Web Applet</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation type="unfinished"/>
</message>
@@ -1063,12 +910,12 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation type="unfinished"/>
</message>
@@ -1118,78 +965,83 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj
<translation>Nastavení yuzu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Zvuk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Ladění</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Souborový systém</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Obecné</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Grafika</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>GrafickyPokročilé</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Zkratky</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Ovládání</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Profily</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Síť</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>Systém</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Seznam her</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Web</translation>
</message>
@@ -1348,57 +1200,17 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj
<translation>Obecné</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Omezení rychlosti v procentech</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Vícejádrová emulace CPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Potvrzovat exit při spuštěné emulaci</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Zeptat se na uživatele při spuštění hry</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Pozastavit emulaci, když je aplikace v pozadí</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Skrýt myš při neaktivitě</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Resetovat všechna nastavení</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>Toto vyresetuje všechna nastavení a odstraní konfigurace pro jednotlivé hry. Složky s hrami a profily zůstanou zachovány. Přejete si pokračovat?</translation>
</message>
@@ -1421,308 +1233,43 @@ Tato možnost zlepšuje rychlost díky závislosti na sémantice cmpxchg pro zaj
<translation>Nastavení API</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Zařízení:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Žádné</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Nastavení grafiky</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Použít asynchronní emulaci GPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Režim celé obrazovky:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Okno bez okrajů</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Exkluzivní</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Poměr stran:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Výchozí (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Vynutit 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Vynutit 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Roztáhnout podle okna</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Použít globální barvu pozadí</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Nastavit barvu pozadí:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Barva Pozadí:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation type="unfinished"/>
</message>
@@ -1744,162 +1291,6 @@ Immediate (no synchronization) just presents whatever is available and can exhib
<source>Advanced Graphics Settings</source>
<translation>Pokročilé nastavení grafiky</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Přesnost:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Zapnout asynchronní kompilaci shaderů, která může snížit zasekávání shaderů. Tato funkce je experimentální. </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Anizotropní filtrování:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Výchozí</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2666,7 +2057,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Nastavení</translation>
</message>
@@ -3094,12 +2485,12 @@ Pro převrácení os nejprve posuňte joystick vertikálně, poté horizontáln
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation type="unfinished"/>
+ <source>Enable mouse panning</source>
+ <translation>Povolit naklánění myší</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
<translation type="unfinished"/>
</message>
<message>
@@ -3109,7 +2500,6 @@ Pro převrácení os nejprve posuňte joystick vertikálně, poté horizontáln
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
<translation type="unfinished"/>
</message>
@@ -3117,15 +2507,13 @@ Pro převrácení os nejprve posuňte joystick vertikálně, poté horizontáln
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
<translation type="unfinished"/>
</message>
@@ -3140,25 +2528,51 @@ Pro převrácení os nejprve posuňte joystick vertikálně, poté horizontáln
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>Výchozí</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3191,100 +2605,95 @@ Pro převrácení os nejprve posuňte joystick vertikálně, poté horizontáln
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Dialog</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Info</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Název</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>ID Titulu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Název souboru</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Formát</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Verze</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Velikost</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Vývojář</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Doplňky</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Obecné</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Doplňky</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>Systém</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Grafika</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Pokroč. grafika</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Zvuk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Vlastnosti</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Použít globální nastavení (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3606,412 +3015,17 @@ UUID: %2</source>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>Systém</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Systémové Nastavení</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Region:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Auto</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Výchozí</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Cuba</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Egypt</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>GB</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Greenwich</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Hongkong</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>Island</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>Iran</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>Israel</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Jamajka</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Japonsko</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>Kwajalein</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Lybie</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Navajo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>NZ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>NZ-CHAT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Polsko</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Portugalsko</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Singapur</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Turecko</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Univerzální</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>Zulu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>USA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Evropa</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Austrálie</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>Čína</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Korea</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Taiwan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Časové Pásmo:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Pozn.: tohle se může přemazat když se region vybírá automaticky</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Japonština (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Francouzština (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Nemčina (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Italština (Italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Španělština (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Čínština</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Korejština (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Holandština (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Portugalština (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Ruština (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Tajwanština</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Britská Angličtina</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Kanadská Francouzština</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Latinsko Americká Španělština</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Zjednodušená Čínština</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Tradiční Čínština (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>Vlastní RTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Jazyk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>RNG Seed</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Systémová nastavení jsou dostupná pouze, pokud hra neběží.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation type="unfinished"/>
</message>
@@ -4220,64 +3234,64 @@ Táhněte body pro změnu pozice nebo dvojitě klikněte na buňky tabulky pro z
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Žádné</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>Malý (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>Standartní (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>Velký (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>Plná Velikost (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>Malý (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>Standartní (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>Velký (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Název souboru</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>ID Titulu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation type="unfinished"/>
</message>
@@ -4380,15 +3394,31 @@ Táhněte body pro změnu pozice nebo dvojitě klikněte na buňky tabulky pro z
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>Vyberte cestu ke snímkům obrazovky...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4689,12 +3719,12 @@ Táhněte body pro změnu pozice nebo dvojitě klikněte na buňky tabulky pro z
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation type="unfinished"/>
</message>
@@ -4702,897 +3732,961 @@ Táhněte body pro změnu pozice nebo dvojitě klikněte na buňky tabulky pro z
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymní data jsou sbírána&lt;/a&gt; pro vylepšení yuzu. &lt;br/&gt;&lt;br/&gt;Chcete s námi sdílet anonymní data?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Telemetry</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>Načítání Web Appletu...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Zakázat Web Applet</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>Počet aktuálně sestavovaných shaderů</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>Aktuální emulační rychlost. Hodnoty vyšší než 100% indikují, že emulace běží rychleji nebo pomaleji než na Switchi.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>Kolik snímků za sekundu aktuálně hra zobrazuje. Tohle závisí na hře od hry a scény od scény.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Čas potřebný na emulaci framu scény, nepočítá se limit nebo v-sync. Pro plnou rychlost by se tohle mělo pohybovat okolo 16.67 ms.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>&amp;Vymazat poslední soubory</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>&amp;Pokračovat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;Pauza</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>Varování Zastaralý Formát Hry</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>Používáte rozbalený formát hry, který je zastaralý a byl nahrazen jinými jako NCA, NAX, XCI, nebo NSP. Rozbalená ROM nemá ikony, metadata, a podporu updatů.&lt;br&gt;&lt;br&gt;Pro vysvětlení všech možných podporovaných typů, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;zkoukni naší wiki&lt;/a&gt;. Tato zpráva se nebude znova zobrazovat.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>Chyba při načítání ROM!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>Tento formát ROM není podporován.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>Nastala chyba při inicializaci jádra videa.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>Chyba při načítání ROM! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation>%1&lt;br&gt;Pro extrakci souborů postupujte podle &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;rychlého průvodce yuzu&lt;/a&gt;. Nápovědu naleznete na &lt;br&gt;wiki&lt;/a&gt; nebo na Discordu&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>Nastala chyba. Koukni do logu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>Uložit data</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Módovat Data</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>Chyba otevírání složky %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>Složka neexistuje!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>Chyba při otevírání přenositelné mezipaměti shaderů</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>Odebrat položku</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>Úspěšně odebráno</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>Úspěšně odebrán nainstalovaný základ hry.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>Základ hry není nainstalovaný na NAND a nemůže být odstraněn.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>Úspěšně odebrána nainstalovaná aktualizace.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>Není nainstalovaná žádná aktualizace pro tento titul.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>Není nainstalované žádné DLC pro tento titul.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>Úspěšně odstraněno %1 nainstalovaných DLC.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>Odstranit vlastní konfiguraci hry?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>Odstranit soubor</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>Chyba při odstraňování přenositelné mezipaměti shaderů</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>Mezipaměť shaderů pro tento titul neexistuje.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>Přenositelná mezipaměť shaderů úspěšně odstraněna</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>Nepodařilo se odstranit přenositelnou mezipaměť shaderů</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>Chyba při odstraňování vlastní konfigurace hry</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>Vlastní konfigurace hry pro tento titul neexistuje.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>Úspěšně odstraněna vlastní konfigurace hry.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>Nepodařilo se odstranit vlastní konfiguraci hry.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>Extrakce RomFS se nepovedla!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>Nastala chyba při kopírování RomFS souborů, nebo uživatel operaci zrušil.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>Plný</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>Kostra</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>Vyber RomFS Dump Mode</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Vyber jak by si chtěl RomFS vypsat.&lt;br&gt;Plné zkopíruje úplně všechno, ale&lt;br&gt;kostra zkopíruje jen strukturu složky.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>Extrahuji RomFS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Zrušit</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>Extrakce RomFS se povedla!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>Operace byla dokončena úspěšně.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>Chyba při otevírání %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Vybraná Složka</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Vlastnosti</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>Herní vlastnosti nemohly být načteny.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Switch Executable (%1);;Všechny soubory (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Načíst soubor</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Otevřít složku s extrahovanou ROM</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Vybraná složka je neplatná</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>Složka kterou jste vybrali neobsahuje soubor &quot;main&quot;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>Instalovatelný soubor pro Switch (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>Instalovat Soubory</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>Instalování souboru &quot;%1&quot;...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>Výsledek instalace</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>Abychom předešli možným konfliktům, nedoporučujeme uživatelům instalovat základní hry na paměť NAND.
Tuto funkci prosím používejte pouze k instalaci aktualizací a DLC.</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Systémová Aplikace</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Systémový archív</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Systémový Update Aplikace</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Firmware-ový baliček (Typu A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Firmware-ový baliček (Typu B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Hra</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Update Hry</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>Herní DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Delta Title</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Vyberte typ instalace NCA...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>Vyberte typ title-u, který chcete nainstalovat tenhle NCA jako:
(Většinou základní &quot;game&quot; stačí.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Chyba v instalaci</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>Tento typ pro tento NCA není platný.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Soubor nenalezen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Soubor &quot;%1&quot; nenalezen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>Chybí účet yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>Pro přidání recenze kompatibility je třeba mít účet yuzu&lt;br&gt;&lt;br/&gt;Pro nalinkování yuzu účtu jdi do Emulace &amp;gt; Konfigurace &amp;gt; Web.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>Chyba při otevírání URL</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>Nelze otevřít URL &quot;%1&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>Zjištěno neplatné nastavení</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>Ruční ovladač nelze používat v dokovacím režimu. Bude vybrán ovladač Pro Controller.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Soubor Amiibo (%1);; Všechny Soubory (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Načíst Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Chyba načítání Amiiba</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Pořídit Snímek Obrazovky</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>PNG Image (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>&amp;Start</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Rychlost: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Rychlost: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Hra: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Frame: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>Potvďte Rederivaci Klíčů</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5609,37 +4703,37 @@ a udělejte si zálohu.
Toto vymaže věechny vaše automaticky generované klíče a znova spustí modul derivace klíčů.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>Chybí Fuses</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation>- Chybí BOOT0</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation> - Chybí BCPKG2-1-Normal-Main</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation> - Chybí PRODINFO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>Chybé odvozené komponenty</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5648,49 +4742,49 @@ Tohle může zabrat až minutu
podle výkonu systému.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>Derivuji Klíče</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>Vyberte Cíl vypsaní RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>Vyberte, kterou RomFS chcete vypsat.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Jste si jist, že chcete zavřít yuzu?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Jste si jist, že chcete ukončit emulaci? Jakýkolic neuložený postup bude ztracen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5699,97 +4793,97 @@ Would you like to bypass this and exit anyway?</source>
Opravdu si přejete ukončit tuto aplikaci?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Žádné</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Zadokovaná</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Příruční</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
<translation type="unfinished"/>
</message>
@@ -5797,44 +4891,44 @@ Opravdu si přejete ukončit tuto aplikaci?</translation>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGL není k dispozici!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>yuzu nebylo sestaveno s OpenGL podporou.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>Chyba při inicializaci OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>Vaše grafická karta pravděpodobně nepodporuje OpenGL nebo nejsou nainstalovány nejnovější ovladače.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>Chyba při inicializaci OpenGL 4.6!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>Vaše grafická karta pravděpodobně nepodporuje OpenGL 4.6 nebo nejsou nainstalovány nejnovější ovladače.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>Vaše grafická karta pravděpodobně nepodporuje jedno nebo více rozšíření OpenGL. Ujistěte se prosím, že jsou nainstalovány nejnovější ovladače.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Nepodporované rozšíření:&lt;br&gt;%2</translation>
</message>
@@ -5842,173 +4936,178 @@ Opravdu si přejete ukončit tuto aplikaci?</translation>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>Oblíbené</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>Spustit hru</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>Spustit hru bez vlastní konfigurace</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Otevřít Lokaci Savů</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Otevřít Lokaci Modifikací</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Odstranit</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>Odstranit nainstalovanou aktualizaci</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>Odstranit všechny nainstalované DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>Odstranit vlastní konfiguraci hry</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>Odstranit všechen nainstalovaný obsah</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>Vypsat RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Zkopírovat ID Titulu do schránky</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>Navigovat do GameDB</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Vlastnosti</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>Prohledat podsložky</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>Odstranit složku se hrou</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ Posunout nahoru</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ Posunout dolů</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>Otevřít umístění složky</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Vymazat</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Název</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Kompatibilita</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Modifkace</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Typ-Souboru</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Velikost</translation>
</message>
@@ -6079,7 +5178,7 @@ Opravdu si přejete ukončit tuto aplikaci?</translation>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>Dvojitým kliknutím přidáte novou složku do seznamu her</translation>
</message>
@@ -6092,12 +5191,12 @@ Opravdu si přejete ukončit tuto aplikaci?</translation>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Filtr:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Zadejte filtr</translation>
</message>
@@ -6173,12 +5272,12 @@ Opravdu si přejete ukončit tuto aplikaci?</translation>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation type="unfinished"/>
@@ -6187,13 +5286,11 @@ Debug Message: </source>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6214,111 +5311,113 @@ Debug Message: </source>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Pořídit Snímek Obrazovky</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Celá Obrazovka</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Načíst soubor</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation type="unfinished"/>
</message>
@@ -6437,42 +5536,42 @@ Debug Message: </source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Hráči</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation type="unfinished"/>
</message>
@@ -6560,172 +5659,182 @@ Debug Message: </source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Pomoc</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>&amp;Instalovat soubory na NAND...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>Načís&amp;t soubor...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>Načíst sl&amp;ožku...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>E&amp;xit</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>&amp;Pauza</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>&amp;Stop</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>&amp;Znovu inicializovat klíče...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>O &amp;aplikaci yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>&amp;Režim jednoho okna</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>&amp;Nastavení</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>Zobrazit záhlaví widgetů d&amp;oku</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>Zobrazit &amp;filtrovací panel</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>Zobrazit &amp;stavový řádek</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Zobrazit Staus Bar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>&amp;Celá obrazovka</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>&amp;Restartovat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>&amp;Nahlásit kompatibilitu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation>Otevřít stránku s &amp;modifikacemi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation>Otevřít &amp;rychlého průvodce</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>Často &amp;kladené otázky</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation>Otevřít složku s &amp;yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>Za&amp;chytit snímek obrazovky</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation>Nastavení současné hry</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>&amp;Start</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation type="unfinished"/>
</message>
@@ -7514,27 +6623,27 @@ p, li { white-space: pre-wrap; }
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation type="unfinished"/>
</message>
@@ -7575,7 +6684,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Pro Controller</translation>
</message>
@@ -7588,7 +6697,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Oba Joycony</translation>
</message>
@@ -7601,7 +6710,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Levý Joycon</translation>
</message>
@@ -7614,7 +6723,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Pravý Joycon</translation>
</message>
@@ -7643,7 +6752,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Handheld</translation>
</message>
@@ -7759,32 +6868,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>Ovladač GameCube</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation type="unfinished"/>
</message>
diff --git a/dist/languages/da.ts b/dist/languages/da.ts
index 7a16e813c..96fa73cc0 100644
--- a/dist/languages/da.ts
+++ b/dist/languages/da.ts
@@ -366,78 +366,32 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.</translati
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Lyd</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Udgangsmotor:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
<translation type="unfinished"/>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Mono</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Stereo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Surround</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Benyt global lydstyrke</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Angiv lydstyrke:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Lydstyrke:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Gør lydløs, når i baggrunden</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Lyd</translation>
</message>
</context>
<context>
@@ -501,139 +455,25 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.</translati
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Generelt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Nøjagtighed</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Automatisk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Nøjagtig</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Usikker</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>Paranoid (deaktiverer de fleste optimeringer)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Vi anbefaler at indstille nøjagtighed til &quot;Automatisk.&quot;</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Usikre CPU-Optimeringsindstillinger</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Disse indstillinger reducerer nøjagtighed for hastighed.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Denne valgmulighed forbedrer hastighed, ved at reducere fused-multiply-add instruksers nøjagtighed på CPUer uden indbygget FMA-understøttelse.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Adskil FMA (forbedr ydeevne på CPUer uden FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Denne valgmulighed forbedrer nogle anslåede floating-point funktioners hastighed, vha. mindre nøjagtige indbyggede anslag.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>Hurtigere FRSQRTE og FRECPE</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Denne valgmulighed forbedrer 32-bit ASIMD floating-point funktioners hastighed, ved at køre med ukorrekte afrundingstilstande.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Hurtigere ASIMD-instrukser (kun 32-bit)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Denne valgmulighed forbedrer hastighed, ved at fjerne NaN-kontrol. Bemærk venligst, at dette også reducerer visse floating-point instruksers nøjagtighed.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Unøjagtig NaN-håndtering</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Denne valgmulighed forbedrer hastighed, ved at eliminere en sikkerhedskontrol, før hukommelses-læse/-skrive operation i gæst. Deaktivering heraf kan tillade et spil, at læse/skrive emulatorens hukommelse.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>Deaktivér adresseplads-kontrol</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Denne valgmulighed forbedrer hastigheden, ved kun at benytte sig cmpxchg&apos;s semantik, for at sikre eksklusiv-adgangsinstruktioners sikkerhed. Bemærk venligst at dette kan resultere i fastfrysning og andre sjældne forhold.&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>Ignorér global overvågning</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>CPU-indstillinger er kun tilgængelige, når spil ikke kører.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -849,222 +689,227 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.</translati
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>Fejlretning</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>Aktivér GDB Stub</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Port:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Logføring</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Globalt Logfilter</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>Vis Log i Konsol</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Åbn Logplacering</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Globalt Logfilter</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Når valgt, øges loggens maksimale størrelse fra 100 MB til 1 GB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Aktivér Udvidet Logning**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Vis Log i Konsol</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Hjemmebrændt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>Argumentsstreng</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Grafik</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>Når valgt, påbegynder grafik-APIen en langsommere fejlfindingstilstand</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Aktivér Grafik-Fejlfinding</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>Når valgt, aktiverer det Nsight Aftermath nedbruds-nedfældelser</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Når valgt, eksekverer den shadere, uden loop-logik-forandringer</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Aktivér Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Deaktivér Loop-sikkerhedskontrol</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>Når valgt, vil den dumpe alle de originale samler-shadere fra diskens shader-lager eller game, som fundet</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>Dump Spil-Shadere</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>Når valgt, vil den dumpe alle GPUens makroprogrammer</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>Dump Maxwell-Makroer</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>Når valgt, deaktiverer den makro-Just-In-Time-kompileringen. Aktivering heraf får spil til at køre langsommere</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Deaktivér Makro-JIT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>Når valgt, aktiverer det Nsight Aftermath nedbruds-nedfældelser</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Aktivér Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
<source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation>Når valgt, vil yuzu logføre statistikker om det kompilerede rørlinje-mellemlager</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
<source>Enable Shader Feedback</source>
<translation>Aktivér Shader-Tilbagemelding</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>Når valgt, eksekverer den shadere, uden loop-logik-forandringer</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>Deaktivér Loop-sikkerhedskontrol</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>Når valgt, deaktiverer den makro-Just-In-Time-kompileringen. Aktivering heraf får spil til at køre langsommere</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Fejlfinding</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Deaktivér Makro-JIT</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation>Aktivér Vitterlig Rapporteringstjeneste</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Når valgt, påbegynder grafik-APIen en langsommere fejlfindingstilstand</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>Aktivér FS-Tilgangslog</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Aktivér Grafik-Fejlfinding</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation>Aktivér dette, for at udgyde den senest genererede lyd-kommandoliste til konsollen. Påvirker kun spil, som gør brug af lyd-renderingen.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Når valgt, vil den dumpe alle de originale samler-shadere fra diskens shader-lager eller game, som fundet</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation>Dump Lydkommandoer Til Konsol**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>Dump Spil-Shadere</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>Opret Minidump Efter Nedbrud</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
<source>Advanced</source>
<translation>Avanceret</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>Gør Yuzu i stand til at kontrollere for et funktionelt Vulkan-miljø, når programmet starter op. Deaktivering af dette forårsager problemer med at eksterne programmer ser Yuzu.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>Udfør Vulkan-Kontrol Under Opstart</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Deaktivér Net-Applet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Aktivér Alle Kontrolenhedstyper</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Aktivér Automatisk Stub**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Kiosk (Rejse)-Tilstand</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>Aktivér CPU-Fejlfinding</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>Aktivér Fejlfindingshævdelser</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>Aktivér Automatisk Stub**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Fejlfinding</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>Aktivér Alle Kontrolenhedstyper</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>Aktivér FS-Tilgangslog</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Deaktivér Net-Applet</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>Opret Minidump Efter Nedbrud</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation>Gør Yuzu i stand til at kontrollere for et funktionelt Vulkan-miljø, når programmet starter op. Deaktivering af dette forårsager problemer med at eksterne programmer ser Yuzu.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>Aktivér dette, for at udgyde den senest genererede lyd-kommandoliste til konsollen. Påvirker kun spil, som gør brug af lyd-renderingen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>Udfør Vulkan-Kontrol Under Opstart</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation>Dump Lydkommandoer Til Konsol**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>Aktivér Vitterlig Rapporteringstjeneste</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**Dette vil automatisk blive nulstillet, når yuzu lukkes.</translation>
</message>
@@ -1079,12 +924,12 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.</translati
<translation>Yuzu kræver en genstart, for at anvende denne indstilling.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>Net-applet ikke kompileret</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation>MiniDump oprettelse ikke kompileret</translation>
</message>
@@ -1134,78 +979,83 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.</translati
<translation>yuzu Konfiguration</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Lyd</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Fejlfind</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Filsystem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Generelt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Grafik</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>GrafikAvanceret</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Genvejstaster</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Styring</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Profiler</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Netværk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>System</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Spilliste</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Net</translation>
</message>
@@ -1364,57 +1214,17 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.</translati
<translation>Generelt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Begræns Hastighedsprocent</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Flerkerne-CPU-Emulering</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Bekræft afslutning, mens emulering kører</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Spørg efter bruger, ved opstart af spil</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Sæt emulering på pause, når i baggrund</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Skjul mus ved inaktivitet</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Nulstil Alle Indstillinger</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>dette nulstiller alle indstillinger og fjerner alle pr-spil-konfigurationer. Dette vil ikke slette spilmapper, -profiler, eller input-profiler. Fortsæt?</translation>
</message>
@@ -1437,308 +1247,43 @@ Dette vil bandlyse både vedkommendes forum-brugernavn og IP-adresse.</translati
<translation>API-Indstillinger</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>Shader-Bagende:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Enhed:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Ingen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Grafikindstillinger</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>Brug disk-rørlinje-mellemlager</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Brug asynkron GPU-emulering</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>Accelerér ASTC-tekstur afkodning</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>NVDEC-emulering:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Ingen Video-Output</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>CPU-Video Afkodning</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>GPU-Video Afkodning (Standard)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Fuldskærmstilstand:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Uindrammet Vindue</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Eksklusiv Fuld Skærm</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Skærmformat:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Standard (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Tving 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Tving 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Stræk til Vindue</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>Opløsning:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0,5X (360p/540p) [EKSPERIMENTEL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0,75X (540p/810p) [EKSPERIMENTEL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>Vinduestilpassende Filter:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Nærmeste Nabo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Bilineær</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Bikubisk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>Gausisk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>Anti-Aliaseringsmetode:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Brug global baggrundsfarve</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Angiv baggrundsfarve:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Baggrundsfarve:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (Assembly-Shadere, kun NVIDIA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation type="unfinished"/>
</message>
@@ -1760,162 +1305,6 @@ Immediate (no synchronization) just presents whatever is available and can exhib
<source>Advanced Graphics Settings</source>
<translation>Avancerede Grafikindstillinger</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Nøjagtighedsniveau</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Aktiverer asynkron shader-kompilering, hvilket kan reducere shader-stammen. Denne funktion er eksperimentiel.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>Brug asynkron shader-opbygning (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>Aktiverer Hurtig GPU-Tid. Denne valgmulighed vil tvinge de fleste spil, til at køre i deres højeste indbyggede opløsning.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>Brug Hurtig GPU-Tid (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Anisotropisk Filtrering:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Standard</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation type="unfinished"/>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2682,7 +2071,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Konfigurér</translation>
</message>
@@ -3110,12 +2499,12 @@ Bevæg, for at omvende akserne, først din styrepind lodret og så vandret.</tra
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation type="unfinished"/>
+ <source>Enable mouse panning</source>
+ <translation>Aktivér kig med mus</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
<translation type="unfinished"/>
</message>
<message>
@@ -3125,7 +2514,6 @@ Bevæg, for at omvende akserne, først din styrepind lodret og så vandret.</tra
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
<translation type="unfinished"/>
</message>
@@ -3133,15 +2521,13 @@ Bevæg, for at omvende akserne, først din styrepind lodret og så vandret.</tra
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
<translation type="unfinished"/>
</message>
@@ -3156,25 +2542,51 @@ Bevæg, for at omvende akserne, først din styrepind lodret og så vandret.</tra
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>Standard</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3207,100 +2619,95 @@ Bevæg, for at omvende akserne, først din styrepind lodret og så vandret.</tra
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Dialogboks</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Info</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Navn</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>Titel-ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Filnavn</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Format</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Version</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Størrelse</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Udvikler</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Tilføjelser</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Generelt</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Tilføjelser</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>System</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Grafik</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Lyd</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Egenskaber</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Brug global konfiguration (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3622,412 +3029,17 @@ UUID: %2</source>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>System</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Systemindstillinger</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Region</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Automatisk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Standard</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Cuba</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Ægypten</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>GB</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Greenwich</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Hongkong</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>Island</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>Iran</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>Israel</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Jamaica</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Japan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>Kwajalein</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Libyen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Navajo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>NZ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>NZ-CHAT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Polen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Portugal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Singapore</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Tyrkiet</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Universel</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>Zulu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>USA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Europa</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Australien</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>Kina</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Korea</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Taiwan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Tidszone</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Bemærk: Dette kan overskrives, når regionsindstillinger er sat til automatisk valg</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Japansk (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Fransk (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Tysk (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Italiensk (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Spansk (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Kinesisk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Koreansk (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Hollandsk (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Portugisisk (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Russisk (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Taiwanesisk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Britisk Engelsk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Candadisk Fransk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Latinamerikansk Spansk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Forenklet Kinesisk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Traditionelt Kinesisk (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>Braziliansk Portugisisk (português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>Tilpasset RTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Sprog</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>RNG-Seed</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Systemindstillinger er kun tilgængelige, når spil ikke kører.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation type="unfinished"/>
</message>
@@ -4236,64 +3248,64 @@ Træk punkter, for at skifte position, eller dobbeltklik i tabelceller, for at r
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Ingen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>Lille (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>Standard (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>Stor (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>Fuld Størrelse (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>Lille (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>Standard (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>Stor (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Filnavn</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>Filtype</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>Titel-ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>Titelnavn</translation>
</message>
@@ -4396,15 +3408,31 @@ Træk punkter, for at skifte position, eller dobbeltklik i tabelceller, for at r
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Opløsning:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>Vælg Skærmbilledsti...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4705,12 +3733,12 @@ Træk punkter, for at skifte position, eller dobbeltklik i tabelceller, for at r
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation type="unfinished"/>
</message>
@@ -4718,895 +3746,959 @@ Træk punkter, for at skifte position, eller dobbeltklik i tabelceller, for at r
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonym data indsamles&lt;/a&gt;, for at hjælp med, at forbedre yuzu. &lt;br/&gt;&lt;br/&gt;Kunne du tænke dig, at dele dine brugsdata med os?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Telemetri</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>Indlæser Net-Applet...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Deaktivér Net-Applet</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>Aktuel emuleringshastighed. Værdier højere eller lavere end 100% indikerer, at emulering kører hurtigere eller langsommere end en Switch.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>Advarsel, Forældet Spilformat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>Fejl under indlæsning af ROM!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>ROM-formatet understøttes ikke.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>Der skete en fejl under initialisering af video-kerne.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>Fejl ved Åbning af %1 Mappe</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>Mappe eksisterer ikke!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>RomFS-Udpakning Mislykkedes!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>Der skete en fejl ved kopiering af RomFS-filerne, eller brugeren afbrød opgaven.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>Fuld</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>Skelet</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>Vælg RomFS-Nedfældelsestilstand</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>Udpakker RomFS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Afbryd</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>RomFS-Udpakning Lykkedes!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>Fuldførelse af opgaven lykkedes.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>Fejl ved Åbning af %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Vælg Mappe</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Egenskaber</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>Spil-egenskaberne kunne ikke indlæses.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Switch-Eksekverbar (%1);;Alle filer (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Indlæs Fil</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Åbn Udpakket ROM-Mappe</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Ugyldig Mappe Valgt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>Installér fil &quot;%1&quot;...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Systemapplikation</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Systemarkiv</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Systemapplikationsopdatering</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Firmwarepakke (Type A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Firmwarepakke (Type B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Spil</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Spilopdatering</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>Spiludvidelse</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Delta-Titel</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Vælg NCA-Installationstype...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Installation mislykkedes</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Fil ikke fundet</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Fil &quot;%1&quot; ikke fundet</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>Manglende yuzu-Konto</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Amiibo-Fil (%1);; Alle Filer (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Indlæs Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Fejl ved indlæsning af Amiibo-data</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Optag Skærmbillede</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>PNG-Billede (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Hastighed: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Hastighed: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Spil: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Billede: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5617,183 +4709,183 @@ This will delete your autogenerated key files and re-run the key derivation modu
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Er du sikker på, at du vil lukke yuzu?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Er du sikker på, at du vil stoppe emulereingen? Enhver ulagret data, vil gå tabt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Ingen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Bilineær</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Bikubisk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>Gausisk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Dokket</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Håndholdt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
<translation type="unfinished"/>
</message>
@@ -5801,44 +4893,44 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation type="unfinished"/>
</message>
@@ -5846,173 +4938,178 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Åbn Gemt Data-Placering</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Åbn Mod-Data-Placering</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Fjern</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Kopiér Titel-ID til Udklipsholder</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Egenskaber</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Ryd</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Navn</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Kompatibilitet</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Tilføjelser</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Filtype</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Størrelse</translation>
</message>
@@ -6083,7 +5180,7 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation type="unfinished"/>
</message>
@@ -6096,12 +5193,12 @@ Would you like to bypass this and exit anyway?</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Filter:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation type="unfinished"/>
</message>
@@ -6177,12 +5274,12 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation type="unfinished"/>
@@ -6191,13 +5288,11 @@ Debug Message: </source>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6218,111 +5313,113 @@ Debug Message: </source>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Optag Skærmbillede</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Fuldskærm</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Indlæs Fil</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation type="unfinished"/>
</message>
@@ -6441,42 +5538,42 @@ Debug Message: </source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Spillere</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation type="unfinished"/>
</message>
@@ -6564,172 +5661,182 @@ Debug Message: </source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Hjælp</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
- <source>&amp;About yuzu</source>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="227"/>
+ <source>&amp;About yuzu</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Vis Statuslinje</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation type="unfinished"/>
</message>
@@ -7514,27 +6621,27 @@ p, li { white-space: pre-wrap; }
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation type="unfinished"/>
</message>
@@ -7575,7 +6682,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Pro-Styringsenhed</translation>
</message>
@@ -7588,7 +6695,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Dobbelt-Joycon</translation>
</message>
@@ -7601,7 +6708,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Venstre Joycon</translation>
</message>
@@ -7614,7 +6721,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Højre Joycon</translation>
</message>
@@ -7643,7 +6750,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Håndholdt</translation>
</message>
@@ -7759,32 +6866,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>GameCube-Styringsenhed</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation type="unfinished"/>
</message>
diff --git a/dist/languages/de.ts b/dist/languages/de.ts
index 500dce5f2..263c11158 100644
--- a/dist/languages/de.ts
+++ b/dist/languages/de.ts
@@ -365,78 +365,32 @@ Dies würde deren Forum Benutzernamen und deren IP-Adresse sperren.</translation
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Audio</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Ausgabe-Engine:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>Ausgabegerät:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>Eingabegerät:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>Tonausgangsmodus:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Mono</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Stereo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Surround</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Globale Lautstärke verwenden</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Lautstärke:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Lautstärke:</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Audio im Hintergrund stummschalten</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation type="unfinished"/>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Audio</translation>
</message>
</context>
<context>
@@ -500,137 +454,25 @@ Dies würde deren Forum Benutzernamen und deren IP-Adresse sperren.</translation
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Allgemeines</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Genauigkeit der Emulation:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Auto</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Akkurat</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Unsicher</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>Paranoid (deaktiviert die meisten Optimierungen)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Wir empfehlen die Genauigkeit auf &quot;Auto&quot; zu setzen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Unsichere CPU-Optimierungen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Diese Optionen reduzieren die Genauigkeit, können jedoch die Geschwindigkeit erhöhen.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Diese Option steigert die Geschwindigkeit, indem die Genauigkeit von sog. &quot;fused-multiply-add&quot; Anweisungen auf CPUs ohne native FMA-Unterstützung reduziert wird.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Unfuse FMA (erhöht Leistung auf CPUs ohne FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Diese Option steigert die Geschwindigkeit von einigen &quot;floating point&quot;-Anweisungen, indem weniger akkurate Schätzungen der Werte verwendet werden.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>Schnelleres FRSQRTE und FRECPE</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
-Diese Option steigert die Geschwindigkeit von 32-Bit-ASMID-Gleitkomma-Funktionen indem diese mit ungenauen Rundungsmodellen laufen.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Schnellere ASIMD Instruktionen (nur 32-Bit)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Diese Option erhöht die Geschwindigkeit indem die NaN-Überprüfung entfernt wird. Bitte beachte, dass dadurch auch die Genauigkeit von gewissen Fließpunkt-Anweisungen verringert wird.&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Ungenaue NaN-Verarbeitung</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;Diese option verbessert die Geschwindigkeit durch ausschalten eines Sicherheits Check, bevor jeder speicher lesen/schreiben im Gast. Ausschalten erlaubt den Spiel vielleicht den Emulators Speicher zu lesen/schreiben.&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>Adressraumprüfungen deaktivieren</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Diese Option verbessert die Geschwindigkeit, indem sie sich nur auf die Semantik von cmpxchg (compare and swap) verlässt, um die Sicherheit von Anweisungen mit exklusivem Zugriff zu gewährleisten. Bitte beachten Sie, dass dies zu Deadlocks und anderen Race Conditions führen kann.&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>Globalen Monitor ignorieren</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>Die CPU-Einstellungen sind nur verfügbar, wenn kein Spiel aktiv ist.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -847,222 +689,227 @@ Diese Option steigert die Geschwindigkeit von 32-Bit-ASMID-Gleitkomma-Funktionen
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>Debugger</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>GDB-Stub aktivieren</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Port:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Logging</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Globaler Log-Filter</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>Log in der Konsole zeigen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Log-Verzeichnis öffnen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Globaler Log-Filter</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Wenn diese Option aktiviert ist, erhöht sich die maximale Größe des Logs von 100 MB auf 1 GB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Erweitertes Logging aktivieren**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Log in der Konsole zeigen</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>String-Argumente</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Grafik</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>Wenn diese Option aktiviert ist, wechselt die Grafik-API in einen langsameren Debug-Modus</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Grafik-Debugging aktivieren</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>Wenn diese Option aktiviert ist, werden Nsight Aftermath-Crash-Dumps zugelassen.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Wenn diese Option aktiviert ist, werden Shader ohne Änderungen der looplogik ausgeführt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Nsight Aftermath aktivieren</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>Wenn diese Option aktiviert ist, werden alle Original-Assembler-Shader aus dem Festplatten-Shader-Cache oder welche von dem Spiel gefunden gefunden gedumpt.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation> When checked, it disables the macro HLE functions. Enabling this makes games run slower</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>Spiele-Shader dumpen</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>Deaktiviert Macro-HLE</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>Wenn diese Option aktiviert ist, werden alle Makroprogramme der GPU gedumpt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>Maxwell-Macros dumpen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>Wenn diese Option aktiviert ist, werden Nsight Aftermath-Crash-Dumps zugelassen.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Nsight Aftermath aktivieren</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
+ <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
+ <translation>Wenn ausgewählt wird yuzu Log Statistiken über den kompilierte Pipeline Chache sammeln.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
+ <source>Enable Shader Feedback</source>
+ <translation>Shader-Feedback aktivieren</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
<source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
<translation>Diese Option deaktiviert den Macro-JIT-Compiler. Dies wird die Geschwindigkeit verringern.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
<source>Disable Macro JIT</source>
<translation>Macro-JIT deaktivieren</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation> When checked, it disables the macro HLE functions. Enabling this makes games run slower</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation>Deaktiviert Macro-HLE</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Wenn diese Option aktiviert ist, wechselt die Grafik-API in einen langsameren Debug-Modus</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
- <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
- <translation>Wenn ausgewählt wird yuzu Log Statistiken über den kompilierte Pipeline Chache sammeln.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Grafik-Debugging aktivieren</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
- <source>Enable Shader Feedback</source>
- <translation>Shader-Feedback aktivieren</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Wenn diese Option aktiviert ist, werden alle Original-Assembler-Shader aus dem Festplatten-Shader-Cache oder welche von dem Spiel gefunden gefunden gedumpt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>Wenn diese Option aktiviert ist, werden Shader ohne Änderungen der looplogik ausgeführt.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>Spiele-Shader dumpen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Debugging</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation> Ausführliche Berichtsdienste aktivieren**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
+ <source>Advanced</source>
+ <translation>Erweitert</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>FS-Zugriffslog aktivieren</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>Ermöglicht es yuzu, beim Programmstart nach einer funktionierenden Vulkan-Umgebung zu suchen. Deaktivieren Sie dies, wenn dies zu Problemen mit externen Programmen führt, die yuzu sehen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation>Aktivieren Sie diese Option, um den zuletzt generierten Audio-Log auf der Konsole auszugeben. Betrifft nur Spiele, die den Audio-Renderer verwenden.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>Vulkan-Prüfung beim Start durchführen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation> Audio-Befehle auf die Konsole als Dump abspeichern**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Deaktiviere die Web Applikation</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>Minidump nach Absturz erstellen</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Aktiviere alle Arten von Controllern</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
- <source>Advanced</source>
- <translation>Erweitert</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Auto-Stub** aktivieren</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Kiosk(Quest)-Modus</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>CPU Debugging aktivieren</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>aktiviere Debug-Meldungen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>Auto-Stub** aktivieren</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Debugging</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>Aktiviere alle Arten von Controllern</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>FS-Zugriffslog aktivieren</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Deaktiviere die Web Applikation</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>Minidump nach Absturz erstellen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation>Ermöglicht es yuzu, beim Programmstart nach einer funktionierenden Vulkan-Umgebung zu suchen. Deaktivieren Sie dies, wenn dies zu Problemen mit externen Programmen führt, die yuzu sehen.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>Aktivieren Sie diese Option, um den zuletzt generierten Audio-Log auf der Konsole auszugeben. Betrifft nur Spiele, die den Audio-Renderer verwenden.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>Vulkan-Prüfung beim Start durchführen</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation> Audio-Befehle auf die Konsole als Dump abspeichern**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation> Ausführliche Berichtsdienste aktivieren**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**Dies wird automatisch beim Schließen von yuzu zurückgesetzt.</translation>
</message>
@@ -1077,12 +924,12 @@ Diese Option steigert die Geschwindigkeit von 32-Bit-ASMID-Gleitkomma-Funktionen
<translation>yuzu muss neugestartet werden, damit diese Einstellungen übernommen werden können. </translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>Web-Applet nicht kompiliert</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation>MiniDump-Erstellung nicht kompiliert</translation>
</message>
@@ -1132,78 +979,83 @@ Diese Option steigert die Geschwindigkeit von 32-Bit-ASMID-Gleitkomma-Funktionen
<translation>yuzu-Konfiguration</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Einige Einstellungen sind nur verfügbar, wenn kein Spiel aktiv ist.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Debug</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Dateisystem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Allgemein</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Grafik</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>GraphicsAdvanced</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Hotkeys</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Steuerung</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Nutzer</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Netzwerk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>System</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Spieleliste</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Web</translation>
</message>
@@ -1362,57 +1214,17 @@ Diese Option steigert die Geschwindigkeit von 32-Bit-ASMID-Gleitkomma-Funktionen
<translation>Allgemein</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Geschwindigkeit auf % festlegen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Multicore-CPU-Emulation</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Schließen des Emulators bestätigen, falls ein Spiel läuft</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Beim Spielstart nach Nutzer fragen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Emulation im Hintergrund pausieren</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Mauszeiger verstecken</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Setze alle Einstellungen zurück</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>Hierdurch werden alle Einstellungen zurückgesetzt und alle spielspezifischen Konfigurationen gelöscht. Spiel-Ordner, Profile oder Eingabeprofile werden nicht gelöscht. Fortfahren?</translation>
</message>
@@ -1435,311 +1247,43 @@ Diese Option steigert die Geschwindigkeit von 32-Bit-ASMID-Gleitkomma-Funktionen
<translation>API-Einstellungen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>Shader Backend:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Gerät:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Keiner</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Grafik-Einstellungen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>Disk-Pipeline-Cache verwenden</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Asynchrone GPU-Emulation verwenden</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>Beschleunigt ASTC Texturen Decodierung</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation>VSync Modus:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation>FIFO (VSync) lässt keine Bilder fallen und zeigt kein Tearing, ist aber durch die Bildwiederholfrequenz begrenzt.
-FIFO Relaxed ist ähnlich wie FIFO, lässt aber Tearing zu, wenn es sich von einer Verlangsamung erholt.
-Mailbox kann eine geringere Latenz als FIFO haben und zeigt kein Tearing, kann aber Bilder fallen lassen.
-Immediate (keine Synchronisierung) zeigt direkt, was verfügbar ist und kann Tearing zeigen.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>NVDEC Emulation:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Keine Videoausgabe</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>CPU Video Dekodierung</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>GPU Video Dekodierung (Standard)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Vollbild Modus:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Rahmenloses Fenster</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Exklusiver Vollbildmodus</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Seitenverhältnis:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Standard (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>4:3 erzwingen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>21:9 erzwingen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>Erzwinge 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Auf Fenster anpassen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>Auflösung:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [EXPERIMENTELL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [EXPERIMENTELL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation>1.5X (1080p/1620p) [EXPERIMENTELL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation>7X (5040p/7560p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation>8X (5760p/8640p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>Bildschirmanpassungsfilter:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Nächste-Nachbarn</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Bilinear</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Bikubisch</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>Gaussian</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️Super Resolution</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>Kantenglättungs-Methode:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation>Verwende Globale FSR Schärfe</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation>Setze FSR Schärfe</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation>FSR Schärfe</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation>100%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Globale Hintergrundfarbe verwenden</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Hintergrundfarbe:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Hintergrundfarbe:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (Assembly Shaders, Nur NVIDIA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation>SPIR-V (Experimentell, Nur Mesa)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation>Aus</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation>Vsync Aus</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation>Empfohlen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation>An</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation>Vsync An</translation>
</message>
@@ -1761,163 +1305,6 @@ Immediate (keine Synchronisierung) zeigt direkt, was verfügbar ist und kann Tea
<source>Advanced Graphics Settings</source>
<translation>Erweiterte Grafik-Einstellungen</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Genauigkeit der Emulation:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation>ASTC Rekompression:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation>Unkomprimiert (Beste Qualität)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation>BC1 (Niedrige Qualität)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation>BC3 (Mittlere Qualität)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation>Erlaube Asynchrone Präsentation (Nur Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation>Lässt im Hintergrund die GPU Aufgaben erledigen während diese auf Grafikbefehle wartet, damit diese nicht herunter taktet.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation>Erzwinge Maximale Taktrate (Vulkan only)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation>Aktiviere asynchrone ASTC Texturen Dekodierung, welche möglicherweise Ladezeiten stotter verringert. Diese Funktion ist experimentell</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation>Dekodiere ASTC-Texturen asynchron (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation>Verwendet reaktives Flushing anstelle von prädiktivem Flushing. Ermöglicht eine genauere Synchronisierung des Speichers.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation>Aktiviere Reactives Flushing</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Nutze asynchrone Shader-Kompilierung. Dies kann Stottern durch Shader reduzieren. Dieses Feature ist experimentell.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>Aktiviere asynchrones Shader Kompilieren. (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>Aktiviert Schnelle GPU-Zeit. Diese Option zwingt die meisten Spiele dazu, mit ihrer höchsten nativen Auflösung zu laufen.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>Verwende Schnelle GPU-Zeit (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation>Aktiviert den GPU-anbieterspezifischen Pipeline-Cache. Diese Option kann die Shader-Ladezeit in Fällen, in denen der Vulkan-Treiber die Pipeline-Cache-Dateien nicht intern speichert, erheblich verbessern.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation>Vulkan-Pipeline-Cache verwernden</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation>Aktiviert Compute Pipelines, die von einigen Spielen benötigt werden. Diese Einstellung existiert nur für proprietäre Intel-Treiber und kann bei Aktivierung zum Absturz führen.
-Compute-Pipelines sind bei allen anderen Treibern immer aktiviert.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation>Aktiviere Compute Pipelines (nur Intel Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation>Lasse das Spiel in der normalen Geschwindigkeit abspielen, trotz freigeschalteter Bildrade (FPS)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation>Synchronisiere die Bildrate mit der Zwischensequenz</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation>Verbessert das Rendering von Transparenzeffekten in bestimmten Spielen.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Anisotrope Filterung:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>Automatisch</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Standard</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2684,7 +2071,7 @@ Compute-Pipelines sind bei allen anderen Treibern immer aktiviert.</translation>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Konfigurieren</translation>
</message>
@@ -2745,7 +2132,7 @@ Compute-Pipelines sind bei allen anderen Treibern immer aktiviert.</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="437"/>
<source>Toggle axis</source>
- <translation type="unfinished"/>
+ <translation>Achse umschalten</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="474"/>
@@ -3108,44 +2495,41 @@ Um die Achsen umzukehren, bewege den Joystick zuerst vertikal und dann horizonta
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="6"/>
<source>Configure mouse panning</source>
- <translation type="unfinished"/>
+ <translation>Mausschwenk konfigurieren</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation>Aktiviere</translation>
+ <source>Enable mouse panning</source>
+ <translation>Maus-Panning aktivieren</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
<source>Sensitivity</source>
- <translation type="unfinished"/>
+ <translation>Sensitivität</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
- <translation type="unfinished"/>
+ <translation>Horizontal</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
- <translation type="unfinished"/>
+ <translation>Vertikal</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="85"/>
@@ -3158,25 +2542,51 @@ Um die Achsen umzukehren, bewege den Joystick zuerst vertikal und dann horizonta
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
- <translation type="unfinished"/>
+ <translation>Stärke</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
- <translation type="unfinished"/>
+ <translation>Minimum</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>Standard</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation>Die emulierte Maus ist aktiviert. Dies ist mit Mausschwenk nicht kompatibel.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>Emulierte Maus ist aktiviert</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation>Echte Mauseingabe und Mausschwenken sind nicht kompatibel. Bitte deaktivieren Sie die emulierte Maus in den erweiterten Eingabeeinstellungen, um das Schwenken der Maus zu ermöglichen.</translation>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3209,100 +2619,95 @@ Um die Achsen umzukehren, bewege den Joystick zuerst vertikal und dann horizonta
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Dialog</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Info</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Name</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>Titel ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Dateiname</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Format</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Version</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Größe</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Entwickler</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Add-Ons</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Einige Einstellungen sind nur verfügbar, wenn kein Spiel aktiv ist.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Allgemeines</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Add-Ons</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>System</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Grafik</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Erw. Grafik</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation>Eingabe-Profile</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Einstellungen</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Globale Konfiguration verwenden (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3592,7 +2997,7 @@ UUID: %2</source>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="302"/>
<source>The current mapped device doesn&apos;t support the ring controller</source>
- <translation type="unfinished"/>
+ <translation>Das aktuell zugeordnete Gerät unterstützt den Ringcontroller nicht</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="306"/>
@@ -3602,7 +3007,7 @@ UUID: %2</source>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="309"/>
<source>The current mapped device is not connected</source>
- <translation type="unfinished"/>
+ <translation>Das aktuell zugeordnete Gerät ist nicht verbunden</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="313"/>
@@ -3624,412 +3029,17 @@ UUID: %2</source>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>System</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Systemeinstellungen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Region:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Auto</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Standard</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Kuba</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Ägypten</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>GB</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Greenwich</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Hongkong</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>Island</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>Iran</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>Israel</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Jamaika</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Japan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>Kwajalein</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Libyen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Navajo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>NZ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>NZ-CHAT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Polen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Portugal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Singapur</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Türkei</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Universal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>Zulu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>USA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Europa</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Australien</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>China</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Korea</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Taiwan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Zeitzone:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Anmerkung: Diese Einstellung kann überschrieben werden, falls deine Region auf &quot;auto-select&quot; eingestellt ist.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Japanisch (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation>Amerikanisches Englisch</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Französisch (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Deutsch (German)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Italienisch (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Spanisch (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Chinesisch</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Koreanisch (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Niederländisch (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Portugiesisch (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Russisch (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Taiwanesisch</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Britisches Englisch</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Kanadisches Französisch</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Lateinamerikanisches Spanisch</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Vereinfachtes Chinesisch</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Traditionelles Chinesisch (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>Brasilianisches Portugiesisch (português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>Benutzerdefinierte Echtzeituhr</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Sprache</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>RNG Seed</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation>Gerätename</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation>Unsicheres erweitertes Speicherlayout (8GB DRAM)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Die Systemeinstellungen sind nur verfügbar, wenn kein Spiel aktiv ist.</translation>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation>Achtung: &quot;%1&quot; ist keine valide Sprache für die Region &quot;%2&quot;</translation>
</message>
@@ -4238,64 +3248,64 @@ Ziehe die Punkte mit deiner Maus, um ihre Position zu ändern. Doppelklicke auf
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Keiner</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>Klein (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>Standard (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>Groß (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>Volle Größe (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>Klein (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>Standard (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>Groß (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Dateiname</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>Dateityp</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>Titel ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>Spielname</translation>
</message>
@@ -4398,15 +3408,31 @@ Ziehe die Punkte mit deiner Maus, um ihre Position zu ändern. Doppelklicke auf
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Auflösung:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>Screenshotpfad auswählen...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4707,12 +3733,12 @@ Ziehe die Punkte mit deiner Maus, um ihre Position zu ändern. Doppelklicke auf
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation>Verbinde</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation>Verbinden</translation>
</message>
@@ -4720,576 +3746,613 @@ Ziehe die Punkte mit deiner Maus, um ihre Position zu ändern. Doppelklicke auf
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonyme Daten werden gesammelt,&lt;/a&gt; um yuzu zu verbessern.&lt;br/&gt;&lt;br/&gt;Möchstest du deine Nutzungsdaten mit uns teilen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Telemetrie</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation>Defekte Vulkan-Installation erkannt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation>Vulkan Initialisierung fehlgeschlagen.&lt;br&gt;&lt;br&gt;Klicken Sie auf &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;für Instruktionen zur Problembehebung.&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>Lade Web-Applet...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Deaktiviere die Web Applikation</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>Wie viele Shader im Moment kompiliert werden</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation>Der momentan ausgewählte Auflösungsskalierung Multiplikator.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>Derzeitige Emulations-Geschwindigkeit. Werte höher oder niedriger als 100% zeigen, dass die Emulation scheller oder langsamer läuft als auf einer Switch.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>Wie viele Bilder pro Sekunde angezeigt werden variiert von Spiel zu Spiel und von Szene zu Szene. </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Zeit, die gebraucht wurde, um einen Switch-Frame zu emulieren, ohne Framelimit oder V-Sync. Für eine Emulation bei voller Geschwindigkeit sollte dieser Wert bei höchstens 16.67ms liegen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation>Ton aktivieren</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation>Stummschalten</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation>Ton zurücksetzen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>&amp;Zuletzt geladene Dateien leeren</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation>Emulierte Maus ist aktiviert</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation>Echte Mauseingabe und Mausschwenken sind nicht kompatibel. Bitte deaktivieren Sie die emulierte Maus in den erweiterten Eingabeeinstellungen, um das Schwenken der Maus zu ermöglichen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>&amp;Fortsetzen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;Pause</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>Warnung veraltetes Spielformat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>Du nutzt eine entpackte ROM-Ordnerstruktur für dieses Spiel, welches ein veraltetes Format ist und von anderen Formaten wie NCA, NAX, XCI oder NSP überholt wurde. Entpackte ROM-Ordner unterstützen keine Icons, Metadaten oder Updates.&lt;br&gt;&lt;br&gt;&lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;Unser Wiki&lt;/a&gt; enthält eine Erklärung der verschiedenen Formate, die yuzu unterstützt. Diese Nachricht wird nicht noch einmal angezeigt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>ROM konnte nicht geladen werden!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>ROM-Format wird nicht unterstützt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>Beim Initialisieren des Video-Kerns ist ein Fehler aufgetreten.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation>Yuzu ist auf einen Fehler gestoßen beim Ausführen des Videokerns.
Dies ist in der Regel auf veraltete GPU Treiber zurückzuführen, integrierte GPUs eingeschlossen.
Bitte öffnen Sie die Log Datei für weitere Informationen. Für weitere Informationen wie Sie auf die Log Datei zugreifen, öffnen Sie bitte die folgende Seite: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;Wie wird eine Log Datei hochgeladen?&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>ROM konnte nicht geladen werden! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation>%1&lt;br&gt;Bitte folge der &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;yuzu-Schnellstart-Anleitung&lt;/a&gt; um deine Dateien zu extrahieren.&lt;br&gt;Hilfe findest du im yuzu-Wiki&lt;/a&gt; oder dem yuzu-Discord&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>Ein unbekannter Fehler ist aufgetreten. Bitte prüfe die Log-Dateien auf mögliche Fehlermeldungen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-Bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-Bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation>Schließe Software...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>Speicherdaten</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Mod-Daten</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>Konnte Verzeichnis %1 nicht öffnen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>Verzeichnis existiert nicht!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>Fehler beim Öffnen des transferierbaren Shader-Caches</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation>Fehler beim erstellen des Shader-Cache-Ordner für den ausgewählten Titel.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation>Fehler beim Entfernen des Inhalts</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation>Fehler beim Entfernen des Updates</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation>Fehler beim Entfernen des DLCs</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation>Installierten Spiele-Content entfernen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation>Installierte Spiele-Updates entfernen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation>Installierte Spiele-DLCs entfernen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>Eintrag entfernen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>Erfolgreich entfernt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>Das Spiel wurde entfernt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>Das Spiel ist nicht im NAND installiert und kann somit nicht entfernt werden.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>Das Update wurde entfernt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>Es ist kein Update für diesen Titel installiert.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>Es sind keine DLC für diesen Titel installiert.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>%1 DLC entfernt. </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation>Transferierbaren OpenGL Shader Cache löschen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation>Transferierbaren Vulkan Shader Cache löschen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation>Alle transferierbaren Shader Caches löschen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>Spiel-Einstellungen entfernen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation>Cache-Speicher entfernen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>Datei entfernen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>Fehler beim Entfernen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>Es existiert kein Shader-Cache für diesen Titel.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>Der transferierbare Shader-Cache wurde entfernt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>Konnte den transferierbaren Shader-Cache nicht entfernen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation>Fehler beim Entfernen des Vulkan-Pipeline-Cache</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation>Fehler beim Entfernen des Driver-Pipeline-Cache</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation>Fehler beim Entfernen der transferierbaren Shader Caches</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation>Die übertragbaren Shader-Caches wurden erfolgreich entfernt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>Fehler beim Entfernen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>Es existieren keine Spiel-Einstellungen für dieses Spiel.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>Die Spiel-Einstellungen wurden entfernt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>Die Spiel-Einstellungen konnten nicht entfernt werden.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>RomFS-Extraktion fehlgeschlagen!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>Das RomFS konnte wegen eines Fehlers oder Abbruchs nicht kopiert werden.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>Komplett</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>Nur Ordnerstruktur</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>RomFS Extraktions-Modus auswählen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Bitte wähle, wie das RomFS gespeichert werden soll.&lt;br&gt;&quot;Full&quot; wird alle Dateien des Spiels extrahieren, während &lt;br&gt;&quot;Skeleton&quot; nur die Ordnerstruktur erstellt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation>Es ist nicht genügend Speicher (%1) vorhanden um das RomFS zu entpacken. Bitte sorge für genügend Speicherplatze oder wähle ein anderes Verzeichnis aus. (Emulation &gt; Konfiguration &gt; System &gt; Dateisystem &gt; Dump Root)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>RomFS wird extrahiert...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Abbrechen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>RomFS wurde extrahiert!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>Der Vorgang wurde erfolgreich abgeschlossen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation>Verknüpfung erstellen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation>Icon erstellen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Symboldatei konnte nicht erstellt werden. Der Pfad &quot;%1&quot; existiert nicht oder kann nicht erstellt werden.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation>Verknüpfung konnte nicht unter %1 erstellt werden.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation>Verknüpfung wurde erfolgreich erstellt unter %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>Fehler beim Öffnen von %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Verzeichnis auswählen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Einstellungen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>Spiel-Einstellungen konnten nicht geladen werden.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Switch-Programme (%1);;Alle Dateien (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Datei laden</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Öffne das extrahierte ROM-Verzeichnis</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Ungültiges Verzeichnis ausgewählt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>Das Verzeichnis, das du ausgewählt hast, enthält keine &apos;main&apos;-Datei.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>Installierbares Switch-Programm (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submissions Package (*.nsp);;NX Cartridge Image (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>Dateien installieren</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation><numerusform>%n Datei verbleibend</numerusform><numerusform>%n Dateien verbleibend</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>Datei &quot;%1&quot; wird installiert...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>NAND-Installation</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>Um Konflikte zu vermeiden, raten wir Nutzern davon ab, Spiele im NAND zu installieren.
Bitte nutze diese Funktion nur zum Installieren von Updates und DLC.</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation><numerusform>%n file was newly installed
@@ -5297,324 +4360,351 @@ Bitte nutze diese Funktion nur zum Installieren von Updates und DLC.</translatio
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Systemanwendung</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Systemarchiv</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Systemanwendungsupdate</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Firmware-Paket (Typ A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Firmware-Paket (Typ B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Spiel</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Spiel-Update</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>Spiel-DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Delta-Titel</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Wähle den NCA-Installationstyp aus...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>Bitte wähle, als was diese NCA installiert werden soll:
(In den meisten Fällen sollte die Standardeinstellung &apos;Spiel&apos; ausreichen.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Installation fehlgeschlagen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>Der Titel-Typ, den du für diese NCA ausgewählt hast, ist ungültig.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Datei nicht gefunden</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Datei &quot;%1&quot; nicht gefunden</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation>Hardwareanforderungen nicht erfüllt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation>Dein System erfüllt nicht die empfohlenen Mindestanforderungen der Hardware. Meldung der Komptabilität wurde deaktiviert.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>Fehlender yuzu-Account</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>Um einen Kompatibilitätsbericht abzuschicken, musst du einen yuzu-Account mit yuzu verbinden.&lt;br&gt;&lt;br/&gt;Um einen yuzu-Account zu verbinden, prüfe die Einstellungen unter Emulation &amp;gt; Konfiguration &amp;gt; Web.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>Fehler beim Öffnen der URL</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>URL &quot;%1&quot; kann nicht geöffnet werden.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation>TAS Aufnahme</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>Datei von Spieler 1 überschreiben?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>Ungültige Konfiguration erkannt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>Handheld-Controller können nicht im Dock verwendet werden. Der Pro-Controller wird verwendet.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>Das aktuelle Amiibo wurde entfernt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>Fehler</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation>Das aktuelle Spiel sucht nicht nach Amiibos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Amiibo-Datei (%1);; Alle Dateien (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Amiibo laden</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Fehler beim Laden der Amiibo-Daten</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation>Die ausgewählte Datei ist keine gültige Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation>Die ausgewählte Datei wird bereits verwendet</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation>Ein unbekannter Fehler ist aufgetreten</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Screenshot aufnehmen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>PNG Bild (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>TAS Zustand: Läuft %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>TAS Zustand: Aufnahme %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>TAS Zustand: Ungültig</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>&amp;Start</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>Aufnahme stoppen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>Aufnahme</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>Skalierung: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Geschwindigkeit: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Geschwindigkeit: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation>Spiel: %1 FPS (Unbegrenzt)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Spiel: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Frame: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>KEIN AA</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation>LAUTSTÄRKE: STUMM</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation>LAUTSTÄRKE: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>Schlüsselableitung bestätigen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5627,37 +4717,37 @@ This will delete your autogenerated key files and re-run the key derivation modu
Dieser Prozess wird die generierten Schlüsseldateien löschen und die Schlüsselableitung neu starten.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>Fuses fehlen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation> - BOOT0 fehlt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation> - BCPKG2-1-Normal-Main fehlt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation> - PRODINFO fehlt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>Derivationskomponenten fehlen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation>Die Verschlüsselungsschlüssel fehlen. &lt;br&gt;Bitte folgen Sie &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;dem Yuzu Schnellstart Guide&lt;/a&gt; um ihre benötigten Schlüssel, Firmware und Spiele zu erhalten.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5665,49 +4755,49 @@ on your system&apos;s performance.</source>
Dies könnte, je nach Leistung deines Systems, bis zu einer Minute dauern.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>Schlüsselableitung</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation>Die Systemarchiventschlüsselung ist gescheitert.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>RomFS wählen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>Wähle, welches RomFS du speichern möchtest.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Bist du sicher, dass du yuzu beenden willst?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Bist du sicher, dass du die Emulation stoppen willst? Jeder nicht gespeicherte Fortschritt geht verloren.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5716,97 +4806,97 @@ Would you like to bypass this and exit anyway?</source>
Möchtest du dies umgehen und sie trotzdem beenden?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Keiner</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Bilinear</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Bikubisch</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>Gaussian</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Im Dock</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Handheld</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation>Normal</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation>Hoch</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
- <translation type="unfinished"/>
+ <translation>Extrem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
- <translation type="unfinished"/>
+ <translation>OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
<translation type="unfinished"/>
</message>
@@ -5814,44 +4904,44 @@ Möchtest du dies umgehen und sie trotzdem beenden?</translation>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGL nicht verfügbar!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation>Gemeinsame OpenGL-Kontexte werden nicht unterstützt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>yuzu wurde nicht mit OpenGL-Unterstützung kompiliert.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>Fehler beim Initialisieren von OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>Deine Grafikkarte unterstützt kein OpenGL oder du hast nicht den neusten Treiber installiert.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>Fehler beim Initialisieren von OpenGL 4.6!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>Deine Grafikkarte unterstützt OpenGL 4.6 nicht, oder du benutzt nicht die neuste Treiberversion.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>Deine Grafikkarte unterstützt anscheinend nicht eine oder mehrere von yuzu benötigten OpenGL-Erweiterungen. Bitte stelle sicher, dass du den neusten Grafiktreiber installiert hast.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Nicht unterstützte Erweiterungen:&lt;br&gt;%2</translation>
</message>
@@ -5859,173 +4949,178 @@ Möchtest du dies umgehen und sie trotzdem beenden?</translation>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>Favorit</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>Spiel starten</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>Spiel ohne benutzerdefinierte Spiel-Einstellungen starten</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Spielstand-Verzeichnis öffnen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Mod-Verzeichnis öffnen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Entfernen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>Installiertes Update entfernen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>Alle installierten DLCs entfernen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>Spiel-Einstellungen entfernen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation>Cache-Speicher entfernen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation>OpenGL-Pipeline-Cache entfernen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation>Vulkan-Pipeline-Cache entfernen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>Alle Pipeline-Caches entfernen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>Alle installierten Inhalte entfernen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>RomFS speichern</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>RomFS nach SDMC dumpen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Title-ID in die Zwischenablage kopieren</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>GameDB-Eintrag öffnen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation>Verknüpfung erstellen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation>Zum Desktop hinzufügen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
- <translation type="unfinished"/>
+ <translation>Zum Menü &quot;Anwendungen&quot; hinzufügen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Eigenschaften</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>Unterordner scannen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>Spieleverzeichnis entfernen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ Nach Oben</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ Nach Unten</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>Verzeichnis öffnen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Löschen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Name</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Kompatibilität</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Add-ons</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Dateityp</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Größe</translation>
</message>
@@ -6096,7 +5191,7 @@ Möchtest du dies umgehen und sie trotzdem beenden?</translation>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>Doppelklicke, um einen neuen Ordner zur Spieleliste hinzuzufügen.</translation>
</message>
@@ -6109,12 +5204,12 @@ Möchtest du dies umgehen und sie trotzdem beenden?</translation>
<translation><numerusform>%1 von %n Ergebnis</numerusform><numerusform>%1 von %n Ergebnisse(n)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Filter:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Wörter zum Filtern eingeben</translation>
</message>
@@ -6190,12 +5285,12 @@ Möchtest du dies umgehen und sie trotzdem beenden?</translation>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>Fehler</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation type="unfinished"/>
@@ -6204,13 +5299,11 @@ Debug Message: </source>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation>Audio aktivieren / deaktivieren</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6231,113 +5324,115 @@ Debug Message: </source>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation>Hauptfenster</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation>Lautstärke verringern</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation>Lautstärke erhöhen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Screenshot aufnehmen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation>Adaptiven Filter ändern</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation>GPU-Genauigkeit ändern</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation>Emulation fortsetzen/pausieren</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation>Vollbild verlassen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation>yuzu verlassen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Vollbild</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Datei laden</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation>Amiibo laden/entfernen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation>Emulation neustarten</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation>Emulation stoppen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation>TAS aufnehmen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation>TAS neustarten</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation>TAS starten/stoppen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation>Filterleiste umschalten</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation>Aktiviere Bildraten Limitierung</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation>Mausschwenk umschalten</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
- <translation type="unfinished"/>
+ <translation>Statusleiste umschalten</translation>
</message>
</context>
<context>
@@ -6454,42 +5549,42 @@ Debug Message: </source>
<translation>Lobby aktualisieren</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation>Passwort zum Joinen benötigt</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation>Passwort:</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Spieler</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation>Raumname</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation>Bevorzugtes Spiel</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation>Host</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation>Aktualisiere</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation>Liste aktualisieren</translation>
</message>
@@ -6524,7 +5619,7 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/main.ui" line="81"/>
<source>&amp;Reset Window Size</source>
- <translation>&amp;Fenstergöße zurücksetzen</translation>
+ <translation>&amp;Fenstergröße zurücksetzen</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="86"/>
@@ -6577,172 +5672,182 @@ Debug Message: </source>
<translation>&amp;TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Hilfe</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>&amp;Dateien im NAND installieren...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>Datei &amp;laden...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>&amp;Verzeichnis laden...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>S&amp;chließen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>&amp;Pause</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>&amp;Stop</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>&amp;Schlüssel neu initialisieren...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>&amp;Über yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>&amp;Einzelfenster-Modus</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>Kon&amp;figurieren</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>D&amp;ock-Widget-Header anzeigen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>&amp;Filterleiste anzeigen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>&amp;Statusleiste anzeigen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Statusleiste anzeigen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation>&amp;Öffentliche Spiele-Lobbys durchsuchen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation>&amp;Raum erstellen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation>&amp;Raum verlassen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation>&amp;Direkte Verbindung zum Raum</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation>&amp;Aktuellen Raum anzeigen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>Vollbild (&amp;u)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>Neusta&amp;rt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation>&amp;Amiibo laden/entfernen...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>&amp;Kompatibilität melden</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation>&amp;Mods-Seite öffnen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation>&amp;Schnellstart-Anleitung öffnen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>&amp;FAQ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation>&amp;yuzu-Verzeichnis öffnen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>&amp;Bildschirmfoto aufnehmen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation>&amp;TAS &amp;konfigurieren...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation>&amp;Spiel-Einstellungen ändern...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>&amp;Start</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation>&amp;Zurücksetzen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>Aufnahme</translation>
</message>
@@ -6883,7 +5988,9 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="26"/>
<source>Unable to connect to the host. Verify that the connection settings are correct. If you still cannot connect, contact the room host and verify that the host is properly configured with the external port forwarded.</source>
- <translation type="unfinished"/>
+ <translation>Es kann keine Verbindung zum Host hergestellt werden.
+Überprüfen Sie, ob die Verbindungseinstellungen korrekt sind.
+Wenn Sie immer noch keine Verbindung herstellen können, wenden Sie sich an den Host des Raumes und überprüfen Sie, ob der Host richtig konfiguriert ist und der externe Port weitergeleitet wurde.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="30"/>
@@ -7533,27 +6640,27 @@ p, li { white-space: pre-wrap; }
<translation>Dateipfad</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation>Keine Spieldaten vorhanden</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation>Die folgenden amiibo-Daten werden formatiert:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation>Die folgenden Spieldaten werden entfernt:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation>Spitzname und Besitzer festlegen:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation>Möchtest du diese amiibo wiederherstellen?</translation>
</message>
@@ -7594,7 +6701,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Pro-Controller</translation>
</message>
@@ -7607,7 +6714,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Zwei Joycons</translation>
</message>
@@ -7620,7 +6727,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Linker Joycon</translation>
</message>
@@ -7633,7 +6740,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Rechter Joycon</translation>
</message>
@@ -7662,7 +6769,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Handheld</translation>
</message>
@@ -7778,32 +6885,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>GameCube-Controller</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>Poke-Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>NES Controller</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>SNES Controller</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>N64 Controller</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>Sega Genesis</translation>
</message>
diff --git a/dist/languages/el.ts b/dist/languages/el.ts
index 712f5241e..cb6cb9c9a 100644
--- a/dist/languages/el.ts
+++ b/dist/languages/el.ts
@@ -366,78 +366,32 @@ This would ban both their forum username and their IP address.</source>
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Ήχος</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Μηχανή εξόδου:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Μονοφωνικό</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Στέρεοφωνικό</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
<translation type="unfinished"/>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Χρήση καθολικής έντασης ήχου</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Ένταση ήχου:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Ένταση:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Σίγαση ήχου όταν βρίσκεται στο παρασκήνιο</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Ήχος</translation>
</message>
</context>
<context>
@@ -501,139 +455,25 @@ This would ban both their forum username and their IP address.</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Γενικά</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Ακρίβεια:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Αυτόματη</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Ακριβής</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Επισφαλής</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Συνιστούμε να ορίσετε την ακρίβεια σε &quot;Αυτόματο&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Επισφαλείς Ρυθμίσεις Βελτιστοποίησης CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Οι ρυθμίσεις αυτές μειώνουν την ακρίβεια για ταχύτητα.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Αυτή η επιλογή βελτιώνει την ταχύτητα μειώνοντας την ακρίβεια των εντολών συγχωνευμένης-πολλαπλασιάζουσας-προσθήκης σε CPU χωρίς εγγενή υποστήριξη FMA.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Αχρησιμοποίητο FMA (βελτιώνει την απόδοση σε επεξεργαστές χωρίς FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Η επιλογή αυτή βελτιώνει την ταχύτητα ορισμένων συναρτήσεων κινητής υποδιαστολής χρησιμοποιώντας λιγότερο ακριβείς τοπικές προσεγγίσεις.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>Ταχύτερη FRSQRTE και FRECPE</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Αυτή η επιλογή βελτιώνει την ταχύτητα των συναρτήσεων κινητής υποδιαστολής ASIMD 32 bits εκτελώντας εσφαλμένες λειτουργίες στρογγυλοποίησης.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Ταχύτερες οδηγίες ASIMD (μόνο 32 bits)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Αυτή η επιλογή βελτιώνει την ταχύτητα καταργώντας τον έλεγχο NaN. Λάβετε υπόψη ότι αυτό μειώνει επίσης την ακρίβεια ορισμένων εντολών κινητής υποδιαστολής.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Ανακριβής χειρισμός NaN</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Αυτή η επιλογή βελτιώνει την ταχύτητα εξαλείφοντας τον έλεγχο ασφαλείας πριν από κάθε ανάγνωση/εγγραφή μνήμης. Η απενεργοποίησή του μπορεί να επιτρέψει σε ένα παιχνίδι να διαβάσει/γράψει στη μνήμη του εξομοιωτή.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>Απενεργοποίηση ελέγχου χώρου διευθύνσεων</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Αυτή η επιλογή βελτιώνει την ταχύτητα βασιζόμενη μόνο στη σημασιολογία του cmpxchg για να διασφαλίσει την ασφάλεια των αποκλειστικών οδηγιών πρόσβασης. Λάβετε υπόψη ότι αυτό μπορεί να οδηγήσει σε αδιέξοδα και άλλες ασυνήθιστες συνθήκες.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>Αγνοήση καθολικής επίβλεψης</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>Οι επιλογές επεξεργαστή είναι διαθέσιμες μόνο όταν δεν εκτελείται ένα παιχνίδι.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -841,222 +681,227 @@ This would ban both their forum username and their IP address.</source>
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Θύρα:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Καταγραφή Συμβάντων</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Παγκόσμιο φίλτρο αρχείου καταγραφής</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Άνοιγμα θέσης του αρχείου καταγραφής</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Παγκόσμιο φίλτρο αρχείου καταγραφής</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Όταν επιλεγεί, το μέγιστο μέγεθος του αρχείου καταγραφής αυξάνεται από 100 MB σε 1 GB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Ενεργοποίηση Εκτεταμένης Καταγραφής**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Σπιτικό</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Γραφικά</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>Όταν είναι επιλεγμένο, το API γραφικών εισέρχεται σε μια πιο αργή λειτουργία εντοπισμού σφαλμάτων</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Ενεργοποίηση του Εντοπισμού Σφαλμάτων Γραφικών</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>Όταν είναι επιλεγμένο, ενεργοποιεί την ένδειξη σφαλμάτων Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Όταν είναι επιλεγμένο, εκτελεί shaders χωρίς αλλαγές στη λογική του βρόχου</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Ενεργοποίηση του Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Απενεργοποίηση των ελέγχων ασφαλείας βρόχου</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>Όταν επιλεγεί, θα απορρίψει όλους τους αρχικούς assembler shaders από την κρυφή μνήμη ή το παιχνίδι σκίασης δίσκου όπως βρέθηκε</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>Όταν είναι επιλεγμένο, απενεργοποιεί τη μακροεντολή Just In Time compiler. Η ενεργοποίηση αυτού κάνει τα παιχνίδια να τρέχουν πιο αργά</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>Όταν είναι επιλεγμένο, ενεργοποιεί την ένδειξη σφαλμάτων Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Απενεργοποίηση του Macro JIT</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Ενεργοποίηση του Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
+ <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
+ <source>Enable Shader Feedback</source>
+ <translation>Ενεργοποίηση Shader Feedback</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
- <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>Όταν είναι επιλεγμένο, απενεργοποιεί τη μακροεντολή Just In Time compiler. Η ενεργοποίηση αυτού κάνει τα παιχνίδια να τρέχουν πιο αργά</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
- <source>Enable Shader Feedback</source>
- <translation>Ενεργοποίηση Shader Feedback</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Απενεργοποίηση του Macro JIT</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>Όταν είναι επιλεγμένο, εκτελεί shaders χωρίς αλλαγές στη λογική του βρόχου</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Όταν είναι επιλεγμένο, το API γραφικών εισέρχεται σε μια πιο αργή λειτουργία εντοπισμού σφαλμάτων</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>Απενεργοποίηση των ελέγχων ασφαλείας βρόχου</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Ενεργοποίηση του Εντοπισμού Σφαλμάτων Γραφικών</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Εντοπισμός Σφαλμάτων</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Όταν επιλεγεί, θα απορρίψει όλους τους αρχικούς assembler shaders από την κρυφή μνήμη ή το παιχνίδι σκίασης δίσκου όπως βρέθηκε</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
+ <source>Advanced</source>
+ <translation>Προχωρημένα</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>Επιτρέπει στο yuzu να ελέγχει για ένα λειτουργικό περιβάλλον Vulkan κατά την εκκίνηση του προγράμματος. Απενεργοποιήστε το αν αυτό προκαλεί προβλήματα με τα εξωτερικά προγράμματα που βλέπουν το yuzu.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>Εκτέλεση ελέγχου Vulkan κατά την εκκίνηση</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>Δημιουργία Minidump μετά από κατάρρευση</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
- <source>Advanced</source>
- <translation>Προχωρημένα</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Ενεργοποίηση Auto-Stub**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>Ενεργοποίηση Εντοπισμού Σφαλμάτων CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>Ενεργοποίηση Βεβαιώσεων Εντοπισμού Σφαλμάτων</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>Ενεργοποίηση Auto-Stub**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Εντοπισμός Σφαλμάτων</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>Δημιουργία Minidump μετά από κατάρρευση</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation>Επιτρέπει στο yuzu να ελέγχει για ένα λειτουργικό περιβάλλον Vulkan κατά την εκκίνηση του προγράμματος. Απενεργοποιήστε το αν αυτό προκαλεί προβλήματα με τα εξωτερικά προγράμματα που βλέπουν το yuzu.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>Εκτέλεση ελέγχου Vulkan κατά την εκκίνηση</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**Αυτό θα μηδενιστεί αυτόματα όταν το yuzu κλείσει.</translation>
</message>
@@ -1071,12 +916,12 @@ This would ban both their forum username and their IP address.</source>
<translation>το yuzu πρέπει να επανεκκινηθεί για να εφαρμοστεί αυτή η ρύθμιση.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>Το web applet δεν έχει συσταθεί</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation>Δημιουργία MiniDump που δεν έχει συσταθεί</translation>
</message>
@@ -1126,78 +971,83 @@ This would ban both their forum username and their IP address.</source>
<translation>Διαμόρφωση yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Ήχος</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Αποσφαλμάτωση</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Σύστημα Αρχείων</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Γενικά</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Γραφικά</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Πλήκτρα Συντόμευσης</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Χειρισμός</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Τα προφίλ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Δίκτυο</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>Σύστημα</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Λίστα Παιχνιδιών</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Ιστός</translation>
</message>
@@ -1356,57 +1206,17 @@ This would ban both their forum username and their IP address.</source>
<translation>Γενικά</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Όριο Ποσοστού Ταχύτητας</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Εξομοίωση Πολυπύρηνων CPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Επιβεβαίωση εξόδου κατά την εκτέλεση εξομοίωσης</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Επιλογή χρήστη κατά την εκκίνηση παιχνιδιού</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Παύση εξομοίωσης όταν βρίσκεται στο παρασκήνιο</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Απόκρυψη δρομέα ποντικιού στην αδράνεια</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Επαναφορά Όλων των Ρυθμίσεων</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>Επαναφέρει όλες τις ρυθμίσεις και καταργεί όλες τις επιλογές ανά παιχνίδι. Δεν θα διαγράψει καταλόγους παιχνιδιών, προφίλ ή προφίλ εισόδου. Συνέχιση;</translation>
</message>
@@ -1429,308 +1239,43 @@ This would ban both their forum username and their IP address.</source>
<translation>Ρυθμίσεις API</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Συσκευή:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Κανένα</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Ρυθμίσεις Γραφικών</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Χρησιμοποίηση ασύγχρονης εξομοίωσης GPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>Επιτάχυνση του αποκωδικοποίηση υφής ASTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>Εξομοίωση NVDEC:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Χωρίς Έξοδο Βίντεο</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>Αποκωδικοποίηση Βίντεο CPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>Αποκωδικοποίηση Βίντεο GPU (Προεπιλογή)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Λειτουργία Πλήρους Οθόνης:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Παραθυροποιημένο Χωρίς Όρια</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Αποκλειστική Πλήρης Οθόνη</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Αναλογία Απεικόνισης:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Προεπιλογή (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Επιβολή 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Επιβολή 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>Επιβολή 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Επέκταση στο Παράθυρο</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>Ανάλυση:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [ΠΕΙΡΑΜΑΤΙΚΟ]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [ΠΕΙΡΑΜΑΤΙΚΟ]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>Φίλτρο Προσαρμογής Παραθύρου:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Πλησιέστερος Γείτονας</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Διγραμμικό</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Δικυβικό</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>Gaussian</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>Μέθοδος Anti-Aliasing:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation>100%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Χρησιμοποιήστε καθολικό χρώμα φόντου</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Ορισμός χρώματος φόντου:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Χρώμα Φόντου:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (Shaders Γλώσσας Μηχανής, μόνο NVIDIA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation type="unfinished"/>
</message>
@@ -1752,162 +1297,6 @@ Immediate (no synchronization) just presents whatever is available and can exhib
<source>Advanced Graphics Settings</source>
<translation>Προηγμένες Ρυθμίσεις Γραφικών</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Επίπεδο Ακρίβειας:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Ενεργοποιεί τη σύνταξη ασύγχρονων shader, η οποία μπορεί να μειώσει το shader stutter. Αυτή η δυνατότητα είναι πειραματική.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>Χρήση ασύγχρονης σύνταξης σκίασης (Τέχνασμα)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>Ενεργοποιεί τον Γοργό Ρυθμό GPU. Αυτή η επιλογή θα αναγκάσει τα περισσότερα παιχνίδια να εκτελούνται στην υψηλότερη εγγενή τους ανάλυση.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>Χρήση Γοργού Ρυθμού GPU (Τέχνασμα)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Ανισοτροπικό Φιλτράρισμα:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>Αυτόματα</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Προεπιλεγμένο</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2674,7 +2063,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Διαμόρφωση</translation>
</message>
@@ -3102,12 +2491,12 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation type="unfinished"/>
+ <source>Enable mouse panning</source>
+ <translation>Ενεργοποιήστε τη μετατόπιση του ποντικιού</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
<translation type="unfinished"/>
</message>
<message>
@@ -3117,7 +2506,6 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
<translation type="unfinished"/>
</message>
@@ -3125,15 +2513,13 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
<translation type="unfinished"/>
</message>
@@ -3148,25 +2534,51 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>Προεπιλεγμένο</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3199,100 +2611,95 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Όνομα</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>ID Τίτλου</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Όνομα αρχείου</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Έκδοση</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Μέγεθος</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Προγραμματιστής</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Πρόσθετα</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Γενικά</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Πρόσθετα</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>Σύστημα</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Γραφικά</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Προχ. Γραφικά</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Ήχος</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Ιδιότητες</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Χρήση καθολικής διαμόρφωσης (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3614,412 +3021,17 @@ UUID: %2</source>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>Σύστημα</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Ρυθμίσεις Συστήματος</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Περιφέρεια:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Αυτόματη</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Προεπιλεγμένο</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Κούβα</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Αίγυπτος</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Γκρήνουιτς</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Χονγκ Κονγκ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>Ισλανδία</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>Ιράν</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>Ισραήλ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Ιαμαϊκή</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Ιαπωνία</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Λιβύη</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Ναβάχο</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Πολωνία</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Πορτογαλία</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Σιγκαπούρη</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Τουρκία</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Παγκόσμια</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>ΗΠΑ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Ευρώπη</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Αυστραλία</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>Κίνα</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Κορέα</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Ταϊβάν</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Ζώνη Ώρας:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Σημείωση: αυτό μπορεί να παρακαμφθεί όταν η ρύθμιση περιοχής είναι ως αυτόματη επιλογή</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Ιαπωνικά (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Γαλλικά (Français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Γερμανικά (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Ιταλικά (Italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Ισπανικά (Español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Κινέζικα</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Κορεάτικα (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Ολλανδικά (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Πορτογαλικά (Português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Ρώσικα (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Ταϊβανέζικα</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Βρετανικά Αγγλικά</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Καναδικά Γαλλικά</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Λατινοαμερικάνικα Ισπανικά</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Απλοποιημένα Κινέζικα</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Παραδοσιακά Κινέζικα (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>Πορτογαλικά Βραζιλίας (Português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Γλώσσα</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>RNG Seed</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Οι ρυθμίσεις συστήματος είναι διαθέσιμες μόνο όταν το παιχνίδι δεν εκτελείται.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation type="unfinished"/>
</message>
@@ -4227,64 +3239,64 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Κανένα</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Όνομα αρχείου</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>Τύπος αρχείου</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>ID Τίτλου</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>Όνομα τίτλου</translation>
</message>
@@ -4387,15 +3399,31 @@ Drag points to change position, or double-click table cells to edit values.</sou
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Ανάλυση:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4696,12 +3724,12 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation type="unfinished"/>
</message>
@@ -4709,120 +3737,120 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Τηλεμετρία</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>Πόσα καρέ ανά δευτερόλεπτο εμφανίζει το παιχνίδι αυτή τη στιγμή. Αυτό διαφέρει από παιχνίδι σε παιχνίδι και από σκηνή σε σκηνή.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>&amp;Συνέχεια</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;Παύση</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>Μη μεταφρασμένη συμβολοσειρά
@@ -4830,779 +3858,843 @@ Drag points to change position, or double-click table cells to edit values.</sou
Για μια εξήγηση των διαφόρων μορφών Switch που υποστηρίζει το yuzu,&lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt; δείτε το wiki μας &lt;/a&gt;. Αυτό το μήνυμα δεν θα εμφανιστεί ξανά.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>Σφάλμα κατά τη φόρτωση της ROM!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>Εμφανίστηκε ένα απροσδιόριστο σφάλμα. Ανατρέξτε στο αρχείο καταγραφής για περισσότερες λεπτομέρειες.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>Αποθήκευση δεδομένων</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>Ο φάκελος δεν υπάρχει!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>Αφαίρεση Αρχείου</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>Επιλογή λειτουργίας απόρριψης RomFS </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Μη αποθηκευμένη μετάφραση.
Παρακαλούμε επιλέξτε τον τρόπο με τον οποίο θα θέλατε να γίνει η απόρριψη της RomFS.&lt;br&gt;
Η επιλογή Πλήρης θα αντιγράψει όλα τα αρχεία στο νέο κατάλογο, ενώ η επιλογή &lt;br&gt; Σκελετός θα δημιουργήσει μόνο τη δομή του καταλόγου.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Ακύρωση</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>Η επέμβαση ολοκληρώθηκε με επιτυχία.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Επιλογή καταλόγου</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Ιδιότητες</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Φόρτωση αρχείου</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>Αποτελέσματα εγκατάστασης</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Εφαρμογή συστήματος</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Παιχνίδι</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Ενημέρωση παιχνιδιού</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>DLC παιχνιδιού</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Επιλέξτε τον τύπο εγκατάστασης NCA...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Το αρχείο δεν βρέθηκε</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Το αρχείο &quot;%1&quot; δεν βρέθηκε</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>Σφάλμα κατα το άνοιγμα του URL</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>Αδυναμία ανοίγματος του URL &quot;%1&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>Σφάλμα</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Φόρτωση Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Σφάλμα φόρτωσης δεδομένων Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation>Το επιλεγμένο αρχείο δεν αποτελεί έγκυρο amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation>Το επιλεγμένο αρχείο χρησιμοποιείται ήδη</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Λήψη στιγμιότυπου οθόνης</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>Εικόνα PBG (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>&amp;Έναρξη</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>Κλίμακα: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Ταχύτητα: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Ταχύτητα: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Καρέ: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5613,183 +4705,183 @@ This will delete your autogenerated key files and re-run the key derivation modu
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation>- Λείπει το BOOT0</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation>- Λείπει το BCPKG2-1-Normal-Main</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation>- Λείπει το PRODINFO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Είστε σίγουροι ότι θέλετε να κλείσετε το yuzu;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Κανένα</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Διγραμμικό</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Δικυβικό</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>Gaussian</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Docked</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Handheld</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
<translation type="unfinished"/>
</message>
@@ -5797,44 +4889,44 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>Το OpenGL δεν είναι διαθέσιμο!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>Σφάλμα κατα την αρχικοποίηση του OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation type="unfinished"/>
</message>
@@ -5842,173 +4934,178 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>Αγαπημένο</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>Έναρξη παιχνιδιού</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Άνοιγμα Τοποθεσίας Αποθήκευσης Δεδομένων</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Άνοιγμα Τοποθεσίας Δεδομένων Mod</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Αφαίρεση</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>Αφαίρεση Εγκατεστημένης Ενημέρωσης</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>Αφαίρεση Όλων των Εγκατεστημένων DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>Καταργήστε Όλη την Κρυφή μνήμη του Pipeline</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>Καταργήστε Όλο το Εγκατεστημένο Περιεχόμενο</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>Απόθεση του RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>Απόθεση του RomFS στο SDMC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Αντιγραφή του Title ID στο Πρόχειρο</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>Μεταβείτε στην καταχώρηση GameDB</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Ιδιότητες</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>Σκανάρισμα Υποφακέλων</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>Αφαίρεση Φακέλου Παιχνιδιών</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ Μετακίνηση Επάνω</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ Μετακίνηση Κάτω</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>Ανοίξτε την Τοποθεσία Καταλόγου</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Καθαρισμός</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Όνομα</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Συμβατότητα</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Πρόσθετα</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Τύπος αρχείου</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Μέγεθος</translation>
</message>
@@ -6079,7 +5176,7 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>Διπλο-κλικ για προσθήκη νεου φακέλου στη λίστα παιχνιδιών</translation>
</message>
@@ -6092,12 +5189,12 @@ Would you like to bypass this and exit anyway?</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Φίλτρο:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Εισαγάγετε μοτίβο για φιλτράρισμα</translation>
</message>
@@ -6173,12 +5270,12 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>Σφάλμα</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation type="unfinished"/>
@@ -6187,13 +5284,11 @@ Debug Message: </source>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6214,111 +5309,113 @@ Debug Message: </source>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Λήψη στιγμιότυπου οθόνης</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Πλήρη Οθόνη</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Φόρτωση αρχείου</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation type="unfinished"/>
</message>
@@ -6437,42 +5534,42 @@ Debug Message: </source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation type="unfinished"/>
</message>
@@ -6560,172 +5657,182 @@ Debug Message: </source>
<translation>&amp;TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>&amp;Παύση</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>&amp;Σταμάτημα </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
- <source>&amp;About yuzu</source>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="227"/>
+ <source>&amp;About yuzu</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation>&amp;Περιήγηση σε δημόσιο λόμπι παιχνιδιού</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation>&amp;Δημιουργία δωματίου</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation>&amp;Αποχωρήσει από το δωμάτιο</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation>&amp;Άμεση σύνδεση σε Δωμάτιο</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation>&amp;Εμφάνιση τρέχοντος δωματίου</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>&amp;Έναρξη</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation type="unfinished"/>
</message>
@@ -7513,27 +6620,27 @@ p, li { white-space: pre-wrap; }
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation type="unfinished"/>
</message>
@@ -7574,7 +6681,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Pro Controller</translation>
</message>
@@ -7587,7 +6694,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Διπλά Joycons</translation>
</message>
@@ -7600,7 +6707,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Αριστερό Joycon</translation>
</message>
@@ -7613,7 +6720,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Δεξί Joycon</translation>
</message>
@@ -7642,7 +6749,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Handheld</translation>
</message>
@@ -7758,32 +6865,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>Χειριστήριο GameCube</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>Poke Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>Χειριστήριο NES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>Χειριστήριο SNES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>Χειριστήριο N64</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>Sega Genesis</translation>
</message>
diff --git a/dist/languages/es.ts b/dist/languages/es.ts
index 7032c726e..608f9b399 100644
--- a/dist/languages/es.ts
+++ b/dist/languages/es.ts
@@ -366,78 +366,32 @@ Esto banearía su nombre del foro y su dirección IP.</translation>
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Audio</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Motor de salida:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>Dispositivo de salida:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>Dispositivo de entrada:</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>Método de salida de sonido:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Mono</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Estéreo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Envolvente</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Usar volumen global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Ajustar volumen:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Volumen:</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation>Auto (%1)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Silenciar audio en segundo plano</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation>Predeterminada (%1)</translation>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Audio</translation>
</message>
</context>
<context>
@@ -501,139 +455,25 @@ Esto banearía su nombre del foro y su dirección IP.</translation>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>General</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Precisión: </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Auto</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Preciso</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Impreciso</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>Inestable (Deshabilita la mayoría de optimizaciones)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Recomendamos establecer la precisión en &quot;Auto&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Ajustes del Modo Impreciso de optimización de la CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Estos ajustes reducen la precisión para mejorar el rendimiento.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Esta opción mejora el rendimiento al reducir la precisión de las instrucciones fused-multiply-add en las CPU sin soporte nativo FMA.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Desactivar FMA (mejora el rendimiento en las CPU sin FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Esta opción mejora el rendimiento de algunas funciones aproximadas de punto flotante al utilizar aproximaciones nativas menos precisas.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>FRSQRTE y FRECPE rápido</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Esta opción mejora la velocidad de las funciones de punto flotante ASIMD de 32 bits al ejecutarlas con métodos aproximados e incorrectos.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Instrucciones ASIMD rápidas (sólo 32 bits)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Esta opción mejora la velocidad eliminando las comprobaciones NaN. Ten en cuenta que esto también reduce la precisión de algunas instrucciones de punto flotante.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Gestión imprecisa NaN</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Esta opción mejora la velocidad al eliminar un control de seguridad antes de cada lectura/escritura de memoria del anfitrión. Desactivarlo podría permitir que los juegos lean/escriban en la memoria del emulador.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>Desactivar comprobación del espacio de destino</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Esta opción mejora la velocidad basándose solamente en la semántica de cmpxchg para asegurar la seguridad de las instrucciones de acceso exclusivo. Ten en cuenta que activar esto podría resultar en bloqueos y otros motivos de conflictos.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>Ignorar monitorización global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>Los ajustes de la CPU sólo están disponibles cuando no se esté ejecutando ningún juego.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -852,222 +692,227 @@ Esto banearía su nombre del foro y su dirección IP.</translation>
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>Depurador</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>Activar GDB Stub</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Puerto:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Registro</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Filtro del registro global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>Ver registro en consola</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Abrir ubicación del archivo de registro</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Filtro del registro global</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Al activarlo, el tamaño máximo del registro aumenta de 100 MB a 1 GB.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Habilitar registro extendido**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Ver registro en consola</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>Cadena de argumentos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Gráficos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>Al activarlo, la API gráfica entrará en un modo de depuración más lento.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Activar depuración de gráficos</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>Al activarlo, se habilitan los volcados Nsight Aftermath de bloqueos o errores.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Al activarlo, se ejecutarán los shaders sin cambios en bucles lógicos.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Activar Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Desactivar comprobaciones de seguridad de bucles</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>Al activarlo, se volcarán todos los shaders del ensamblador original de la caché de sombreadores en disco o del juego tal y como se encuentren.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>Al activarlo, desactiva las funciones de macro HLE. Activar esto hace que los juegos se ejecuten más lento.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>Volcar shaders del juego</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>Desactivar Macro HLE</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>Al activarlo, se volcarán todos los programas macro de la GPU.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>Volcar Macros Maxwell</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>Al activarlo, se desactiva el compilador de macro Just In Time. Activar esto hace que los juegos se ejecuten más lento.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Desactivar macro JIT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation>Al activarlo, desactiva las funciones de macro HLE. Activar esto hace que los juegos se ejecuten más lento.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>Al activarlo, se habilitan los volcados Nsight Aftermath de bloqueos o errores.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation>Desactivar Macro HLE</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Activar Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
<source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation>Al activarlo, yuzu realizará un registro de estadísticas del caché de canalización compilado.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
<source>Enable Shader Feedback</source>
<translation>Activar información de shaders</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>Al activarlo, se ejecutarán los shaders sin cambios en bucles lógicos.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>Desactivar comprobaciones de seguridad de bucles</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>Al activarlo, se desactiva el compilador de macro Just In Time. Activar esto hace que los juegos se ejecuten más lento.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Depuración</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Desactivar macro JIT</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation>Activar servicios de reporte detallados**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Al activarlo, la API gráfica entrará en un modo de depuración más lento.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>Activar registro de acceso FS</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Activar depuración de gráficos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation>Activa esta opción para mostrar en la consola la última lista de comandos de audio generada. Solo afecta a los juegos que utilizan el renderizador de audio.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Al activarlo, se volcarán todos los shaders del ensamblador original de la caché de sombreadores en disco o del juego tal y como se encuentren.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation>Volcar comandos de audio a la consola**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>Volcar shaders del juego</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>Crear mini volcado tras un crash</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation>Activar Atajo de Renderdoc</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
<source>Advanced</source>
<translation>Avanzado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>Permite a yuzu comprobar si el entorno de Vulkan funciona cuando el programa se inicia. Desactiva esto si está causando problemas con los programas externos ligados a yuzu.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>Realizar comprobación de Vulkan al ejecutar</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Desactivar Web applet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Activar todos los tipos de controladores</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Activar Auto-Stub**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Modo quiosco (Quest)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>Activar depuración de la CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>Activar alertas de depuración</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>Activar Auto-Stub**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Depuración</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>Activar todos los tipos de controladores</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>Activar registro de acceso FS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Desactivar Web applet</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>Crear mini volcado tras un crash</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation>Permite a yuzu comprobar si el entorno de Vulkan funciona cuando el programa se inicia. Desactiva esto si está causando problemas con los programas externos ligados a yuzu.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>Activa esta opción para mostrar en la consola la última lista de comandos de audio generada. Solo afecta a los juegos que utilizan el renderizador de audio.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>Realizar comprobación de Vulkan al ejecutar</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation>Volcar comandos de audio a la consola**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>Activar servicios de reporte detallados**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**Esto se reiniciará automáticamente cuando yuzu se cierre.</translation>
</message>
@@ -1082,12 +927,12 @@ Esto banearía su nombre del foro y su dirección IP.</translation>
<translation>Para aplicar estos ajustes es necesario reiniciar yuzu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>La web applet no se ha compilado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation>La creación del mini volcado no se ha compilado</translation>
</message>
@@ -1137,78 +982,83 @@ Esto banearía su nombre del foro y su dirección IP.</translation>
<translation>Configuración de yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Algunos ajustes sólo están disponibles cuando no se esté ejecutando ningún juego.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Depuración</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Sistema de archivos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>General</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Gráficos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>Gráficosavanzados</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Teclas de acceso rápido</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Controles</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Perfiles</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Red</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>Sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Lista de juegos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Web</translation>
</message>
@@ -1367,57 +1217,17 @@ Esto banearía su nombre del foro y su dirección IP.</translation>
<translation>General</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Limitar porcentaje de velocidad</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Emulación de CPU multinúcleo </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Confirmar salida mientras se ejecuta la emulación</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Mostrar usuario actual al abrir el juego</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Pausar emulación cuando la ventana esté en segundo plano</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Ocultar el cursor en caso de inactividad.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation>Desactivar applet de control</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Reiniciar todos los ajustes</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>Esto reiniciará y eliminará todas las configuraciones de los juegos. No eliminará ni los directorios de juego, ni los perfiles, ni los perfiles de los mandos. ¿Continuar?</translation>
</message>
@@ -1440,311 +1250,43 @@ Esto banearía su nombre del foro y su dirección IP.</translation>
<translation>Ajustes de la API</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>Soporte de shaders:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Dispositivo:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Ninguno</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Ajustes gráficos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>Usar caché de canalización en disco</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Usar emulación asíncrona de GPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>Acelerar decodificación de texturas ASTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation>Modo VSync:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation>FIFO (VSync) no pierde frames ni muestra tearing, pero está limitado por la tasa de refresco de la pantalla.
-FIFO Relaxed es similar a FIFO, pero permite el tearing tan pronto como se recupera de una ralentización.
-Mailbox puede tener una latencia más baja que FIFO y no causa tearing, pero podría hacer perder frames.
-Inmediato (sin sincronización) sólo muestra lo que está disponible y puede mostrar tearing.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>Emulación NVDEC:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Sin salida de vídeo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>Decodificación de vídeo en la CPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>Decodificación de vídeo en GPU (Por defecto)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Modo pantalla completa:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Ventana sin bordes</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Pantalla completa</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Relación de aspecto:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Valor predeterminado (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Forzar a 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Forzar a 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>Forzar 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Ajustar a la ventana</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>Resolución:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>x0.5 (360p/540p) [EXPERIMENTAL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>x0.75 (540p/810p) [EXPERIMENTAL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>x1 (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation>x1.5 (1080p/1620p) [EXPERIMENTAL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>x2 (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>x3 (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>x4 (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>x5 (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>x6 (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation>x7 (5040p/7560p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation>x8 (5760p/8640p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>Filtro adaptable de ventana:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Vecino más próximo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Bilineal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Bicúbico</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>Gaussiano</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️ Super Resolution</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>Método de Anti-Aliasing:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation>Usar nitidez global FSR</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation>Ajustar nitidez FSR</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation>Nitidez FSR:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation>100%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Usar el color de fondo global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Establecer el color de fondo:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Color de fondo:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (Shaders de ensamblado, sólo NVIDIA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation>SPIR-V (Experimental, sólo Mesa)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation>Desactivado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation>VSync Desactivado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation>Recomendado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation>Activado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation>VSync Activado</translation>
</message>
@@ -1766,163 +1308,6 @@ Inmediato (sin sincronización) sólo muestra lo que está disponible y puede mo
<source>Advanced Graphics Settings</source>
<translation>Ajustes avanzados de gráficos</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Nivel de precisión: </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation>Recompresión ASTC:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation>Sin compresión (Calidad óptima)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation>BC1 (Calidad baja)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation>BC3 (Calidad media)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation>Activar presentación asíncrona (sólo Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation>Ejecuta los procesos en segundo plano mientras espera las instrucciones gráficas para evitar que la GPU reduzca su velocidad de reloj.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation>Forzar relojes máximos (sólo Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation>Activa la decodificación de texturas asíncrona de ASTC, lo cuál podría reducir la duración de los parones. Esta función es experimental.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation>Decodificar texturas ASTC de manera asíncrona (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation>Usa una limpieza reactiva en vez de una limpieza predictiva, permitiendo así una sincronización de memoria más precisa.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation>Activar Limpieza Reactiva</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Activa la compilación de shaders en modo asíncrono, lo que puede reducir la sobrecarga de shaders. Esta función es experimental.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>Usar la construcción de shaders asíncronos (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>Activa el tiempo rápido de GPU. Esta opción hará que muchos juegos estén forzados a ejecutarse en su resolución nativa máxima.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>Usar tiempo rápido en la GPU (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation>Activa la caché de canalización específica del fabricante de la GPU. Esta opción puede mejorar significativamente el tiempo de carga de sombreadores en los casos en los que el controlador de Vulkan no almacena internamente archivos de caché de canalización.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation>Usar caché de canalización de Vulkan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation>Activa las canalizaciones de cómputo, que son necesarias en algunos juegos. Esta opción sólo está para los drivers propietarios de AMD, y puede colgarse si se activa.
-Las canalizaciones de cómputo están siempre activadas en los otros drivers.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation>Activar canalizaciones de cómputo (sólo Intel Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation>Corre el juego a la velocidad normal durante la reproducción de vídeos, incluso cuando no hay límite de fotogramas.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation>Sincronizar a fotogramas de reproducción de vídeo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation>Mejora la renderización de los efectos de transparencia en ciertos juegos.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation>Bucles de feedback de barrera</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Filtrado anisotrópico:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>Automático</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Valor predeterminado</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>x2</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>x4</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>x8</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>x16</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2689,7 +2074,7 @@ Las canalizaciones de cómputo están siempre activadas en los otros drivers.</t
<translation>Desplazamiento del ratón</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Configurar</translation>
</message>
@@ -3117,13 +2502,13 @@ Para invertir los ejes, mueve primero el joystick de manera vertical, y luego ho
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation>Activar</translation>
+ <source>Enable mouse panning</source>
+ <translation>Activar desplazamiento del ratón</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
- <translation>Puede ser activada con una tecla de acceso rápido</translation>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
+ <translation>Puede activarse a través de una tecla de acceso rápido. La tecla de acceso rápido por defecto es Ctrl + F9</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
@@ -3132,7 +2517,6 @@ Para invertir los ejes, mueve primero el joystick de manera vertical, y luego ho
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
<translation>Horizontal</translation>
</message>
@@ -3140,15 +2524,13 @@ Para invertir los ejes, mueve primero el joystick de manera vertical, y luego ho
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
<translation>Vertical</translation>
</message>
@@ -3163,25 +2545,52 @@ Para invertir los ejes, mueve primero el joystick de manera vertical, y luego ho
<translation>Contrarresta la zona muerta por defecto de un juego</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation>Punto muerto</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
<translation>Decaída del stick</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
<translation>Fuerza</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
<translation>Mínimo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>Predeterminado</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation>El desplazamiento del ratón funciona mejor con una zona muerta del 0% y un rango del 100%.
+Los valores actuales son %1% y %2% respectivamente.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation>El ratón emulado está activado. Ésto es incompatible con el desplazamiento del ratón.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>El ratón emulado está activado</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation>La entrada de un ratón real y la panoramización del ratón son incompatibles. Por favor, desactive el ratón emulado en la configuración avanzada de entrada para permitir así la panoramización del ratón.</translation>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3214,100 +2623,95 @@ Para invertir los ejes, mueve primero el joystick de manera vertical, y luego ho
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Diálogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Información</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Nombre</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>ID del título</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Nombre del archivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Formato</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Versión</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Tamaño</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Desarrollador</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Extras / Add-Ons</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Algunos ajustes sólo están disponibles cuando no se esté ejecutando ningún juego.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>General</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Extras / Add-Ons</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>Sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Gráficos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Gráficos avanz.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation>Perfiles de entrada</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Propiedades</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Usar configuración global (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3608,7 +3012,7 @@ UUID: %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="309"/>
<source>The current mapped device is not connected</source>
- <translation type="unfinished"/>
+ <translation>El dispositivo de entrada actual no está conectado.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="313"/>
@@ -3630,412 +3034,17 @@ UUID: %2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>Sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Ajustes del sistema</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Región:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Auto</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Predeterminado</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Cuba</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Egipto</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>GB</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Greenwich</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Hongkong</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>Islandia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>Irán</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>Israel</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Jamaica</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Japón</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>Kwajalein</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Libia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Navajo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>NZ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>NZ-CHAT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Polonia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Portugal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Singapur</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Turquía</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Universal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>Zulú</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>EEUU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Europa</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Australia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>China</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Corea</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Taiwán</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Zona horaria:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Nota: esto puede ser reemplazado si la opción de región está en &quot;autoseleccionar&quot;</translation>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation>Núcleo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Japonés (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation>Inglés estadounidense</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Francés (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Alemán (deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Italiano (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Español</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Chino</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Coreano (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Holandés (nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Portugués (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Ruso (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Taiwanés</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Inglés británico</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Francés canadiense</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Español latinoamericano</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Chino simplificado</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Chino tradicional (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>Portugués brasileño (português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>RTC personalizado</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Idioma</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>Semilla de GNA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation>Nombre del dispositivo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation>Interfaz de memoria extendida no segura (8GB DRAM)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Los ajustes del sistema sólo se encuentran disponibles cuando no se esté ejecutando ningún juego.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation>Aviso: &quot;%1&quot; no es un idioma válido para la región &quot;%2&quot;</translation>
</message>
@@ -4244,64 +3253,64 @@ Arrastra los puntos para cambiar de posición, o haz doble clic en las celdas de
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Ninguno</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>Pequeño (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>Estándar (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>Grande (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>Tamaño completo (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>Pequeño (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>Estándar (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>Grande (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Nombre del archivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>Tipo de archivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>ID del título</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>Nombre del título</translation>
</message>
@@ -4404,15 +3413,31 @@ Arrastra los puntos para cambiar de posición, o haz doble clic en las celdas de
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation>TextLabel</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Resolución:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>Selecciona la ruta de las capturas de pantalla:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation>Auto (%1 x %2, %3 x %4)</translation>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4713,12 +3738,12 @@ Arrastra los puntos para cambiar de posición, o haz doble clic en las celdas de
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation>Conectando</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation>Conectar</translation>
</message>
@@ -4726,575 +3751,612 @@ Arrastra los puntos para cambiar de posición, o haz doble clic en las celdas de
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Los datos de uso anónimos se recogen&lt;/a&gt; para ayudar a mejorar yuzu. &lt;br/&gt;&lt;br/&gt;¿Deseas compartir tus datos de uso con nosotros?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Telemetría </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation>Se ha detectado una instalación corrupta de Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation>La inicialización de Vulkan ha fallado durante la ejecución. Haz clic &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;aquí para más información sobre como arreglar el problema&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
<translation>Ejecutando un juego</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>Cargando Web applet...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Desactivar Web applet</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation>Deshabilitar el Applet Web puede causar comportamientos imprevistos y debería solo ser usado con Super Mario 3D All-Stars. ¿Estas seguro que quieres deshabilitar el Applet Web?
(Puede ser reactivado en las configuraciones de Depuración.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>La cantidad de shaders que se están construyendo actualmente</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation>El multiplicador de escala de resolución seleccionado actualmente.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>La velocidad de emulación actual. Los valores superiores o inferiores al 100% indican que la emulación se está ejecutando más rápido o más lento que en una Switch.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>La cantidad de fotogramas por segundo que se está mostrando el juego actualmente. Esto variará de un juego a otro y de una escena a otra.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Tiempo que lleva emular un fotograma de la Switch, sin tener en cuenta la limitación de fotogramas o sincronización vertical. Para una emulación óptima, este valor debería ser como máximo de 16.67 ms.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation>Desmutear</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation>Mutear</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation>Restablecer Volumen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>&amp;Eliminar archivos recientes</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation>El ratón emulado está activado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation>La entrada de un ratón real y la panoramización del ratón son incompatibles. Por favor, desactive el ratón emulado en la configuración avanzada de entrada para permitir así la panoramización del ratón.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>&amp;Continuar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;Pausar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>Advertencia: formato del juego obsoleto</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>Está utilizando el formato de directorio de ROM deconstruido para este juego, que es un formato desactualizado que ha sido reemplazado por otros, como los NCA, NAX, XCI o NSP. Los directorios de ROM deconstruidos carecen de íconos, metadatos y soporte de actualizaciones.&lt;br&gt;&lt;br&gt;Para ver una explicación de los diversos formatos de Switch que soporta yuzu,&lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;echa un vistazo a nuestra wiki&lt;/a&gt;. Este mensaje no se volverá a mostrar.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>¡Error al cargar la ROM!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>El formato de la ROM no es compatible.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>Se ha producido un error al inicializar el núcleo de video.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation>yuzu ha encontrado un error al ejecutar el núcleo de video. Esto suele ocurrir al no tener los controladores de la GPU actualizados, incluyendo los integrados. Por favor, revisa el registro para más detalles. Para más información sobre cómo acceder al registro, por favor, consulta la siguiente página: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;Como cargar el archivo de registro&lt;/a&gt;. </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>¡Error al cargar la ROM! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation>%1&lt;br&gt;Por favor, sigue &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;la guía de inicio rápido de yuzu&lt;/a&gt; para revolcar los archivos.&lt;br&gt;Puedes consultar la wiki de yuzu&lt;/a&gt; o el Discord de yuzu&lt;/a&gt; para obtener ayuda.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>Error desconocido. Por favor, consulte el archivo de registro para ver más detalles.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation>Cerrando software...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>Datos de guardado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Datos de mods</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>Error al abrir la carpeta %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>¡La carpeta no existe!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>Error al abrir el caché transferible de shaders</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation>No se pudo crear el directorio de la caché de los shaders para este título.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation>Error al eliminar el contenido</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation>Error al eliminar la actualización</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation>Error al eliminar el DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation>¿Eliminar contenido del juego instalado?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation>¿Eliminar actualización del juego instalado?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation>¿Eliminar el DLC del juego instalado?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>Eliminar entrada</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>Se ha eliminado con éxito</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>Se ha eliminado con éxito el juego base instalado.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>El juego base no está instalado en el NAND y no se puede eliminar.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>Se ha eliminado con éxito la actualización instalada.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>No hay ninguna actualización instalada para este título.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>No hay ningún DLC instalado para este título.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>Se ha eliminado con éxito %1 DLC instalado(s).</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation>¿Deseas eliminar el caché transferible de shaders de OpenGL?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation>¿Deseas eliminar el caché transferible de shaders de Vulkan?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation>¿Deseas eliminar todo el caché transferible de shaders?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>¿Deseas eliminar la configuración personalizada del juego?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation>¿Quitar almacenamiento de caché?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>Eliminar archivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>Error al eliminar la caché de shaders transferibles</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>No existe caché de shaders para este título.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>El caché de shaders transferibles se ha eliminado con éxito.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>No se ha podido eliminar la caché de shaders transferibles.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation>Error al eliminar la caché de canalización del controlador Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation>No se ha podido eliminar la caché de canalización del controlador.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation>Error al eliminar las cachés de shaders transferibles</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation>Cachés de shaders transferibles eliminadas con éxito.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation>No se ha podido eliminar el directorio de cachés de shaders transferibles.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>Error al eliminar la configuración personalizada del juego</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>No existe una configuración personalizada para este título.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>Se eliminó con éxito la configuración personalizada del juego.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>No se ha podido eliminar la configuración personalizada del juego.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>¡La extracción de RomFS ha fallado!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>Se ha producido un error al copiar los archivos RomFS o el usuario ha cancelado la operación.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>Completo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>En secciones</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>Elegir método de volcado de RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Por favor, selecciona el método en que quieres volcar el RomFS.&lt;br&gt;Completo copiará todos los archivos al nuevo directorio &lt;br&gt; mientras que en secciones solo creará la estructura del directorio.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation>No hay suficiente espacio en %1 para extraer el RomFS. Por favor, libera espacio o elige otro directorio de volcado en Emulación &gt; Configuración &gt; Sistema &gt; Sistema de archivos &gt; Raíz de volcado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>Extrayendo RomFS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Cancelar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>¡La extracción RomFS ha tenido éxito!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>La operación se completó con éxito.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation>¡No se pudo ejecutar la verificación de integridad!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation>No se ha podido comprobar la validez de los contenidos del archivo.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation>¡Verificación de integridad fallida!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation>Los contenidos del archivo pueden estar corruptos.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation>Verificando integridad...</translation>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation>¡La verificación de integridad ha sido un éxito!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation>Crear acceso directo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation>Esto creará un acceso directo a la AppImage actual. Esto puede no funcionar bien si se actualiza. ¿Continuar?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation>No se puede crear un acceso directo en el escritorio. La ruta &quot;%1&quot; no existe.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>No se puede crear un acceso directo en el menú de aplicaciones. La ruta &quot;%1&quot; no existe y no se puede crear.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation>Crear icono</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>No se puede crear el archivo de icono. La ruta &quot;%1&quot; no existe y no se ha podido crear.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation>Iniciar %1 con el Emulador yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation>Error al crear un acceso directo en %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation>Se ha creado un acceso directo a %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>Error al intentar abrir %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Seleccionar directorio</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Propiedades</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>No se pueden cargar las propiedades del juego.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Ejecutable de Switch (%1);;Todos los archivos (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Cargar archivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Abrir el directorio de la ROM extraída</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Directorio seleccionado no válido</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>El directorio que ha seleccionado no contiene ningún archivo &apos;main&apos;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>Archivo de Switch Instalable (*.nca *.nsp *.xci);;Archivo de contenidos de Nintendo (*.nca);;Paquete de envío de Nintendo (*.nsp);;Imagen de cartucho NX (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>Instalar archivos</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation><numerusform>%n archivo(s) restantes</numerusform><numerusform>%n archivo(s) restantes</numerusform><numerusform>%n archivo(s) restantes</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>Instalando el archivo &quot;%1&quot;...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>Instalar resultados</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>Para evitar posibles conflictos, no se recomienda a los usuarios que instalen juegos base en el NAND.
Por favor, utiliza esta función sólo para instalar actualizaciones y DLCs.</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation><numerusform>%n archivo(s) recién instalado/s
@@ -5303,7 +4365,7 @@ Por favor, utiliza esta función sólo para instalar actualizaciones y DLCs.</tr
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation><numerusform>%n archivo(s) recién sobreescrito/s
@@ -5312,7 +4374,7 @@ Por favor, utiliza esta función sólo para instalar actualizaciones y DLCs.</tr
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation><numerusform>%n archivo(s) no se instaló/instalaron
@@ -5321,312 +4383,341 @@ Por favor, utiliza esta función sólo para instalar actualizaciones y DLCs.</tr
</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Aplicación del sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Archivo del sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Actualización de la aplicación del sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Paquete de firmware (Tipo A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Paquete de firmware (Tipo B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Juego</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Actualización de juego</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>DLC del juego</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Titulo delta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Seleccione el tipo de instalación NCA...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>Seleccione el tipo de título en el que deseas instalar este NCA como:
(En la mayoría de los casos, el &apos;Juego&apos; predeterminado está bien).</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Fallo en la instalación</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>El tipo de título que seleccionó para el NCA no es válido.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Archivo no encontrado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Archivo &quot;%1&quot; no encontrado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>Aceptar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation>No se cumplen los requisitos de hardware</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation>El sistema no cumple con los requisitos de hardware recomendados. Los informes de compatibilidad se han desactivado.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>Falta la cuenta de Yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>Para enviar un caso de prueba de compatibilidad de juegos, debes vincular tu cuenta de yuzu.&lt;br&gt;&lt;br/&gt; Para vincular tu cuenta de yuzu, ve a Emulación &amp;gt; Configuración &amp;gt; Web.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>Error al abrir la URL</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>No se puede abrir la URL &quot;%1&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation>Grabación TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>¿Sobrescribir archivo del jugador 1?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>Configuración no válida detectada</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>El controlador del modo portátil no puede ser usado en el modo sobremesa. Se seleccionará el controlador Pro en su lugar.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>El amiibo actual ha sido eliminado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation>El juego actual no está buscando amiibos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Archivo amiibo (%1);; Todos los archivos (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Cargar amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Error al cargar los datos Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation>El archivo seleccionado no es un amiibo válido</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation>El archivo seleccionado ya se encuentra en uso</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation>Ha ocurrido un error inesperado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation>La verificación falló en los siguientes archivos:
+
+%1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Captura de pantalla</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>Imagen PNG (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>Estado TAS: ejecutando %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>Estado TAS: grabando %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation>Estado TAS: inactivo %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>Estado TAS: nulo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation>&amp;Parar de ejecutar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>&amp;Iniciar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>Pausar g&amp;rabación</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>G&amp;rabar</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation><numerusform>Creando: %n shader(s)</numerusform><numerusform>Construyendo: %n shader(s)</numerusform><numerusform>Construyendo: %n shader(s)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>Escalado: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Velocidad: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Velocidad: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation>Juego: %1 FPS (desbloqueado)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Juego: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Fotogramas: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>NO AA</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation>VOLUMEN: SILENCIO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation>VOLUMEN: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>Confirmar la clave de rederivación</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5643,37 +4734,37 @@ es lo que quieres hacer si es necesario.
Esto eliminará los archivos de las claves generadas automáticamente y volverá a ejecutar el módulo de derivación de claves.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>Faltan fuses</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation>- Falta BOOT0</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation> - Falta BCPKG2-1-Normal-Main</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation> - Falta PRODINFO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>Faltan componentes de derivación</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation>Faltan las claves de encriptación. &lt;br&gt;Por favor, sigue &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;la guía rápida de yuzu&lt;/a&gt; para obtener todas tus claves, firmware y juegos.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5682,49 +4773,49 @@ Esto puede llevar unos minutos dependiendo
del rendimiento de su sistema.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>Obtención de claves</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation>Desencriptación del Sistema de Archivos Fallida</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation>Las claves de encriptación no han podido desencriptar el firmware. &lt;br&gt;Por favor, siga&lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;la guía de inicio rápido de yuzu&lt;/a&gt; para obtener todas tus claves, firmware y juegos.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>Selecciona el destinatario para volcar el RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>Por favor, seleccione los RomFS que deseas volcar.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>¿Estás seguro de que quieres cerrar yuzu?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>¿Estás seguro de que quieres detener la emulación? Cualquier progreso no guardado se perderá.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5733,97 +4824,97 @@ Would you like to bypass this and exit anyway?</source>
¿Quieres salir de todas formas?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Ninguno</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
<translation>Mas cercano</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Bilineal</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Bicúbico</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>Gaussiano</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Sobremesa</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Portátil</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation>Normal</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation>Alto</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation>Extremo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
<translation>OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation>Null</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
<translation>GLSL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
<translation>GLASM</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
<translation>SPIRV</translation>
</message>
@@ -5831,44 +4922,44 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>¡OpenGL no está disponible!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation>Los contextos compartidos de OpenGL no son compatibles.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>yuzu no ha sido compilado con soporte de OpenGL.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>¡Error al inicializar OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>Tu GPU no soporta OpenGL, o no tienes instalados los últimos controladores gráficos.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>¡Error al iniciar OpenGL 4.6!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>Tu GPU no soporta OpenGL 4.6, o no tienes instalado el último controlador de la tarjeta gráfica.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>Es posible que la GPU no soporte una o más extensiones necesarias de OpenGL . Por favor, asegúrate de tener los últimos controladores de la tarjeta gráfica.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Extensiones no soportadas:&lt;br&gt;%2</translation>
</message>
@@ -5876,173 +4967,178 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>Favorito</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>Iniciar juego</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>Iniciar juego sin la configuración personalizada</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Abrir ubicación de los archivos de guardado</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Abrir ubicación de los mods</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation>Abrir caché de canalización de shaders transferibles</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Eliminar</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>Eliminar la actualización instalada</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>Eliminar todos los DLC instalados</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>Eliminar la configuración personalizada</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation>Quitar almacenamiento de caché</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation>Eliminar caché de canalización de OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation>Eliminar caché de canalización de Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>Eliminar todas las cachés de canalización</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>Eliminar todo el contenido instalado</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>Volcar RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>Volcar RomFS a SDMC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation>Verificar Integridad</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Copiar la ID del título al portapapeles</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>Ir a la sección de bases de datos del juego</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation>Crear Acceso directo</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation>Añadir al Escritorio</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation>Añadir al menú de Aplicaciones</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Propiedades</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>Escanear subdirectorios</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>Eliminar directorio de juegos</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ Mover hacia arriba</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ Mover hacia abajo</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>Abrir ubicación del directorio</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Limpiar</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Nombre</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Compatibilidad</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Extras/Add-ons</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Tipo de archivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Tamaño</translation>
</message>
@@ -6113,7 +5209,7 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>Haz doble clic para agregar un nuevo directorio a la lista de juegos.</translation>
</message>
@@ -6126,12 +5222,12 @@ Would you like to bypass this and exit anyway?</source>
<translation><numerusform>%1 de %n resultado(s)</numerusform><numerusform>%1 de %n resultado(s)</numerusform><numerusform>%1 de %n resultado(s)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Búsqueda:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Introduce un patrón para buscar</translation>
</message>
@@ -6207,12 +5303,12 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>Error</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation>Error al publicar la sala al lobby público. Para poder publicar una sala en el lobby público, debes tener una cuenta válida de yuzu configurada en Emulación -&gt; Configurar -&gt; Web. Si no quieres publicar una sala en el lobby público, seleccione en su lugar &quot;Privada&quot;.
@@ -6222,13 +5318,11 @@ Mensaje de depuración: </translation>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation>Activar/Desactivar audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6249,111 +5343,113 @@ Mensaje de depuración: </translation>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation>Ventana principal</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation>Bajar volumen del audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation>Subir volumen del audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Captura de pantalla</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation>Cambiar filtro adaptable</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation>Cambiar a modo sobremesa</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation>Cambiar precisión de GPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation>Continuar/Pausar emulación</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation>Salir de pantalla completa</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation>Cerrar yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Pantalla completa</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Cargar archivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation>Cargar/Eliminar Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation>Reiniciar emulación</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation>Detener emulación</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation>Grabar TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation>Reiniciar TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation>Iniciar/detener TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation>Alternar barra de filtro</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation>Alternar limite de fotogramas</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation>Alternar desplazamiento del ratón</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation>Alternar barra de estado</translation>
</message>
@@ -6473,42 +5569,42 @@ Mensaje de depuración: </translation>
<translation>Actualizar lobby</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation>Contraseña necesaria para unirse</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation>Contraseña:</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Jugadores</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation>Nombre de sala</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation>Juego preferente</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation>Anfitrión</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation>Actualizando</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation>Actualizar lista</translation>
</message>
@@ -6596,172 +5692,182 @@ Mensaje de depuración: </translation>
<translation>&amp;TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Ayuda</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>&amp;Instalar archivos en NAND...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>C&amp;argar archivo...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>Cargar &amp;carpeta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>S&amp;alir</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>&amp;Pausar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>&amp;Detener</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>&amp;Reiniciar claves...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>&amp;Acerca de yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>Modo &amp;ventana</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>Con&amp;figurar...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>Mostrar complementos de cabecera del D&amp;ock </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>Mostrar barra de &amp;búsqueda</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>Mostrar barra de &amp;estado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Mostrar barra de estado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation>&amp;Buscar en el lobby de juegos públicos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation>&amp;Crear sala</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation>&amp;Abandonar sala</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation>&amp;Conexión directa a una sala</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation>&amp;Mostrar sala actual</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>P&amp;antalla completa</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>&amp;Reiniciar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation>Cargar/Eliminar &amp;Amiibo...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>&amp;Reporte de compatibilidad</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation>Abrir página de &amp;mods</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation>Abrir guía de &amp;inicio rápido</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>&amp;Preguntas frecuentes</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation>Abrir la carpeta de &amp;yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>&amp;Captura de pantalla</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation>&amp;Configurar TAS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation>Configurar j&amp;uego actual...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>&amp;Iniciar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation>&amp;Reiniciar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>G&amp;rabar</translation>
</message>
@@ -7554,27 +6660,27 @@ p, li { white-space: pre-wrap; }
<translation>Ruta del archivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation>No hay datos del juego</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation>Los siguientes datos de amiibo serán formateados:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation>Los siguientes datos del juego se eliminarán:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation>Establece un apodo y un propietario:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation>¿Deseas reestablecer este amiibo?</translation>
</message>
@@ -7615,7 +6721,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Controlador Pro</translation>
</message>
@@ -7628,7 +6734,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Joycons duales</translation>
</message>
@@ -7641,7 +6747,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Joycon izquierdo</translation>
</message>
@@ -7654,7 +6760,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Joycon derecho</translation>
</message>
@@ -7683,7 +6789,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Portátil</translation>
</message>
@@ -7799,32 +6905,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>Controlador de GameCube</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>Poke Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>Control de NES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>Control de SNES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>Control de N64</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>Sega Genesis</translation>
</message>
diff --git a/dist/languages/fr.ts b/dist/languages/fr.ts
index 49d30137f..91025e950 100644
--- a/dist/languages/fr.ts
+++ b/dist/languages/fr.ts
@@ -36,7 +36,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/aboutdialog.ui" line="130"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://yuzu-emu.org/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Website&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Source Code&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/graphs/contributors&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Contributors&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;License&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://yuzu-emu.org/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Site Web&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Code Source &lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/graphs/contributors&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Contributeurs&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;License&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://yuzu-emu.org/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Site Web&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Code Source &lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/graphs/contributors&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Contributeurs&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Licence&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/aboutdialog.ui" line="146"/>
@@ -82,7 +82,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.ui" line="14"/>
<source>Room Window</source>
- <translation>Fenêtre du Salon</translation>
+ <translation>Fenêtre du salon</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.ui" line="40"/>
@@ -180,7 +180,7 @@ Cela bannirait à la fois son nom d&apos;utilisateur du forum et son adresse IP.
<message>
<location filename="../../src/yuzu/multiplayer/client_room.ui" line="14"/>
<source>Room Window</source>
- <translation>Fenêtre du Salon</translation>
+ <translation>Fenêtre du salon</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/client_room.ui" line="27"/>
@@ -313,7 +313,7 @@ Cela bannirait à la fois son nom d&apos;utilisateur du forum et son adresse IP.
<message>
<location filename="../../src/yuzu/compatdb.ui" line="294"/>
<source>None Everything is rendered as it looks on the Nintendo Switch</source>
- <translation>Aucun Tout est render comme cela apparait sur la Nintendo Switch</translation>
+ <translation>Aucun Tout est rendu comme ça apparait sur la Nintendo Switch</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="306"/>
@@ -343,7 +343,7 @@ Cela bannirait à la fois son nom d&apos;utilisateur du forum et son adresse IP.
<message>
<location filename="../../src/yuzu/compatdb.ui" line="389"/>
<source>Thank you for your submission!</source>
- <translation>Merci de votre Suggestion !</translation>
+ <translation>Merci de votre suggestion !</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.cpp" line="121"/>
@@ -367,78 +367,32 @@ Cela bannirait à la fois son nom d&apos;utilisateur du forum et son adresse IP.
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Audio</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Moteur de Sortie :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>Périphérique de sortie :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>Périphérique d&apos;entrée :</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>Mode de sortie sonore :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Mono</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Stéréo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Surround</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Utiliser le volume global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Régler le volume :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Volume :</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation>Auto (%1)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Couper le son en arrière-plan</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation>Par défaut (%1)</translation>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Audio</translation>
</message>
</context>
<context>
@@ -481,7 +435,7 @@ Cela bannirait à la fois son nom d&apos;utilisateur du forum et son adresse IP.
<message>
<location filename="../../src/yuzu/configuration/configure_camera.ui" line="140"/>
<source>Restore Defaults</source>
- <translation>Restaurer les défauts</translation>
+ <translation>Restaurer les paramètres par défaut</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_camera.cpp" line="140"/>
@@ -502,137 +456,25 @@ Cela bannirait à la fois son nom d&apos;utilisateur du forum et son adresse IP.
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Général</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Précision:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Auto</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Précis</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Risqué</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>Paranoïaque (désactive la plupart des optimisations)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Nous recommandons de mettre la précision à &quot;Auto&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Paramètres d&apos;optimisation du CPU non sûrs</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Ces réglages réduisent la précision au profit de la vitesse.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
-Cette option améliore la vitesse en réduisant la précision des instructions fusionnées-multiple-ajoutées sur les CPU sans support FMA natif.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Désactivation du FMA (améliore les performances des CPU sans FMA) </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;Cette option augmente la vitesse de certaines fonctions en virgule flottante en utilisant des approximations moins précises.&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>FRSQRTE et FRECPE plus rapides</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Cette option améliore la vitesse des fonctions à virgule flottante 32 bits ASIMD en utilisant des modes d&apos;arrondissement incorrects.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Instructions ASIMD plus rapides (32 bits seulement)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Cette option améliore la vitesse en retirant la vérification NaN. Veuillez noter que cela réduit également la précision de certaines instructions à virgule flottante.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Traitement NaN imprécis</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Cette option améliore la vitesse en éliminant le test de sécurité avant chaque lecture/écriture en mémoire chez l&apos;invité. La désactiver peut permettre à un jeu de lire/écrire dans la mémoire de l&apos;émulateur.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>Désactiver les vérifications de l&apos;espace d&apos;adresse</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Cette option améliore la vitesse en s&apos;appuyant uniquement sur la sémantique de cmpxchg pour s&apos;assurer de la sécurité des instructions d&apos;accès exclusif. Veuillez noter que cela peut entraîner des blocages et autres situations de compétition.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>Ignorer le moniteur global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>Les paramètres du CPU sont uniquement disponibles quand aucun jeu n&apos;est lancé.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -845,228 +687,233 @@ Cette option améliore la vitesse en réduisant la précision des instructions f
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="212"/>
<source>CPU settings are available only when game is not running.</source>
- <translation>Les réglages du CPU sont uniquement disponibles quand aucun jeu n&apos;est lancé.</translation>
+ <translation>Les réglages du CPU ne sont disponibles que lorsqu&apos;un jeu n&apos;est pas en cours d&apos;exécution.</translation>
</message>
</context>
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>Débogueur</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>Activer le &quot;stub&quot; de GDB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Port :</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>S&apos;enregistrer</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Filtre de log global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>Afficher le relevé d&apos;événements dans la console</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Ouvrir l&apos;emplacement du journal de logs</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Filtre de log global</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Lorsque coché, la taille maximum du relevé d&apos;événements augmente de 100 Mo à 1 Go</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Activer la Journalisation Étendue**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Afficher le relevé d&apos;événements dans la console</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>Chaîne d&apos;arguments</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Graphismes</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>Lorsque coché, l&apos;API graphique entre dans un mode de débogage plus lent</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Activer le débogage des graphismes </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>Une fois cochée, cette option active les &quot;crash dumps&quot; pour Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Lorsque la case est cochée, exécuter les shaders sans changer la boucle de logique</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Activer Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Désactiver les vérifications de boucle</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>Lorsqu&apos;il est coché, il videra tous les shaders d&apos;assemblage d&apos;origine du cache de shader de disque ou du jeu tels qu&apos;ils ont été trouvés</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>Lorsque coché, désactive les fonctions macro HLE. L&apos;activer ralentit les jeux</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>Récupérer Shaders Jeu</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>Désactiver les macros HLE</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>Lorsqu&apos;il est coché, il videra tous les programmes de macro du GPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>Copier les &quot;Maxwell Macros&quot;</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>Lorsque coché, désactive le compilateur de macros JIT. L&apos;activer ralentit les jeux</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Désactiver les macros JIT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation>Lorsque coché, désactive les fonctions macro HLE. L&apos;activer ralentit les jeux</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>Une fois cochée, cette option active les &quot;crash dumps&quot; pour Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation>Désactiver les macros HLE</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Activer Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
<source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation>Lorsque la case est cochée, yuzu enregistrera les journaux de statistiques à propos de la cache de pipeline compilée</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
<source>Enable Shader Feedback</source>
<translation>Activer le retour d&apos;information des shaders</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>Lorsque la case est cochée, exécuter les shaders sans changer la boucle de logique</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>Désactiver les vérifications de boucle</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>Lorsque coché, désactive le compilateur de macros JIT. L&apos;activer ralentit les jeux</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Débogage</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Désactiver les macros JIT</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation>Activer les services de rapport verbeux**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Lorsque coché, l&apos;API graphique entre dans un mode de débogage plus lent</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>Activer la journalisation des accès du système de fichiers</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Activer le débogage des graphismes </translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation>Activez cette option pour afficher la dernière liste de commandes audio générée sur la console. N&apos;affecte que les jeux utilisant le moteur de rendu audio.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Lorsqu&apos;il est coché, il videra tous les shaders d&apos;assemblage d&apos;origine du cache de shader de disque ou du jeu tels qu&apos;ils ont été trouvés</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation>Déversez les commandes audio à la console**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>Récupérer Shaders Jeu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>Crée un Minidump après un crash</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation>Activer le raccourci Renderdoc</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
<source>Advanced</source>
<translation>Avancé</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>Active yuzu pour chercher pour un environnement Vulkan fonctionnel quand le programme démarre. Desactiver ceci si cela cause des problèmes avec des programmes externes.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>Performe un check de Vulkan au démarrage</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Désactiver l&apos;applet web</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Activer tous les types de contrôleurs</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Activer l&apos;Auto-Stub**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Mode Kiosk (Quest)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>Activer le Débogage CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>Activer les assertions de débogage</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>Activer l&apos;Auto-Stub**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Débogage</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>Activer tous les types de contrôleurs</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>Activer la journalisation des accès du système de fichiers</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Désactiver l&apos;applet web</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>Créer un minidump après un crash</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation>Active yuzu pour chercher pour un environnement Vulkan fonctionnel quand le programme démarre. Desactiver ceci si cela cause des problèmes avec des programmes externes.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>Activez cette option pour afficher la dernière liste de commandes audio générée sur la console. N&apos;affecte que les jeux utilisant le moteur de rendu audio.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>Performe un check de Vulkan au démarrage</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation>Déversez les commandes audio à la console**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>Activer les services de rapport verbeux**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**Ces options seront réinitialisées automatiquement lorsque yuzu fermera.</translation>
</message>
@@ -1081,14 +928,14 @@ Cette option améliore la vitesse en réduisant la précision des instructions f
<translation>yuzu doit redémarrer pour appliquer ce paramètre.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>Applet Web non compilé</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
- <translation>Création de MiniDump non compilé</translation>
+ <translation>Création de minidump non compilé</translation>
</message>
</context>
<context>
@@ -1136,78 +983,83 @@ Cette option améliore la vitesse en réduisant la précision des instructions f
<translation>Configuration de yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Certains paramètres ne sont disponibles que lorsqu&apos;un jeu n&apos;est pas en cours d&apos;exécution.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Son</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Débogage</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Système de fichiers</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Général</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Vidéo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>Graphismes avancés</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Raccourcis clavier</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Contrôles</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Profils</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Réseau</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>Système</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Liste des jeux</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Web</translation>
</message>
@@ -1366,57 +1218,17 @@ Cette option améliore la vitesse en réduisant la précision des instructions f
<translation>Général </translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Limiter la vitesse en pourcentage</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Émulation CPU Multicœur</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Confirmer la sortie pendent l&apos;émulation en cours</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Demander un utilisateur au lancement d&apos;un jeu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Mettre en pause l’émulation lorsque mis en arrière-plan </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Cacher la souris en cas d&apos;inactivité</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation>Désactiver l&apos;applet du contrôleur</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Réinitialiser tous les paramètres</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>Ceci réinitialise tout les paramètres et supprime toutes les configurations par jeu. Cela ne va pas supprimer les répertoires de jeu, les profils, ou les profils d&apos;entrée. Continuer ?</translation>
</message>
@@ -1439,311 +1251,43 @@ Cette option améliore la vitesse en réduisant la précision des instructions f
<translation>Paramètres de l&apos;API </translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>Back-end des Shaders :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Appareil :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Aucune</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Paramètres Vidéo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>Utiliser la cache de pipeline sur disque</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Utiliser l&apos;émulation GPU asynchrone</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>Accélérer le décodage des textures ASTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation>Mode VSync :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation>FIFO (VSync) ne perd pas de trames ni ne présente de déchirures, mais est limité par le taux de rafraîchissement de l&apos;écran.
-FIFO Relaxé est similaire à FIFO mais autorise les déchirures lorsqu&apos;il récupère d&apos;un ralentissement.
-Mailbox peut avoir une latence plus faible que FIFO et ne présente pas de déchirures, mais peut perdre des trames.
-Immédiat (sans synchronisation) présente simplement ce qui est disponible et peut présenter des déchirures.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>Émulation NVDEC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Pas de sortie vidéo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>Décodage Vidéo sur le CPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>Décodage Vidéo sur le GPU (par défaut)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Mode Plein écran :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Fenêtré sans bordure</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Plein écran exclusif</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Format :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Par défaut (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Forcer le 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Forcer le 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>Forcer le 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Étirer à la fenêtre</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>Résolution :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [EXPÉRIMENTAL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [EXPÉRIMENTAL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation>1.5X (1080p/1620p) [EXPÉRIMENTAL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation>7X (5040p/7560p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation>8X (5760p/8640p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>Filtre de fenêtre adaptatif</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Plus proche voisin</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Bilinéaire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Bicubique</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>Gaussien</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️ Super Resolution</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>Méthode d&apos;anticrénelage :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation>Utiliser la netteté FSR globale</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation>Définir la netteté FSR</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation>Netteté FSR :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation>100%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Utiliser une couleur d&apos;arrière-plan globale</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Définir la couleur d&apos;arrière-plan :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
- <translation>Couleur de L’arrière plan :</translation>
+ <translation>Couleur de l’arrière plan :</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (Shaders en Assembleur, NVIDIA Seulement)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation>SPIR-V (Expérimental, Mesa seulement)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation>Désactivé</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation>VSync Désactivée</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation>Recommandé</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation>Activé</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation>VSync Activée</translation>
</message>
@@ -1765,164 +1309,6 @@ Immédiat (sans synchronisation) présente simplement ce qui est disponible et p
<source>Advanced Graphics Settings</source>
<translation>Paramètres Vidéo Avancés</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Niveau de Précision :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation>Recompression ASTC :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation>Non compressé (Meilleure qualité)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation>BC1 (Basse qualité)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation>BC3 (Qualité moyenne)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation>Activer la présentation asynchrone (uniquement pour Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation>Les exécutions fonctionnent en arrière-plan en attendant les commandes graphiques pour empêcher le GPU de réduire sa vitesse de fréquence d&apos;horloge.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation>Forcer la fréquence d&apos;horloge maximale (Vulkan uniquement)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation>Active le décodage asynchrone de textures ASTC, qui peut réduire les saccades de chargement. Cette fonctionnalité est expérimentale.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation>Décoder les textures ASTC de manière asynchrone (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation>Utilise le vidage réactif à la place du vidage prédictif. Permet une synchronisation de mémoire plus précise.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation>Activer le Vidage Réactif</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Active la compilation de shaders asynchrone, qui peut réduire les saccades des shaders. Cette fonctionnalité est expérimentale.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>Utiliser la compilation asynchrone des shaders (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>Active le Temps GPU Rapide. Cette option forcera la plupart des jeux à utiliser leur plus grande résolution native.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>Utiliser le Temps GPU Rapide (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation>Active le cache de pipeline spécifique au fournisseur de GPU. Cette option peut améliorer considérablement le temps de chargement du shader dans les cas où le pilote Vulkan ne stocke pas les fichiers de cache du pipeline en interne.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation>Utiliser le cache de pipeline Vulkan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation>Activer les pipelines de calcul, requis par certains jeux. Ce paramètre n&apos;existe que pour les pilotes propriétaires Intel et peut provoquer des plantages s&apos;il est activé.
-Les pipelines de calcul sont toujours activés sur tous les autres pilotes.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation>Activer les pipelines de calcul (uniquement pour Intel Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation>Éxécuter le jeu à une vitesse normale pendant la relecture du vidéo,
-même-ci la fréquence d&apos;image est dévérouillée. </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation>Synchro la fréquence d&apos;image de la relecture du vidéo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation>Améliore le rendu des effets de transparence dans des jeux spécifiques.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation>Boucles de rétroaction de barrière</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Filtrage anisotropique :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>Automatique</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Défaut</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -1949,7 +1335,7 @@ même-ci la fréquence d&apos;image est dévérouillée. </translation>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.ui" line="52"/>
<source>Restore Defaults</source>
- <translation>Restaurer les défauts</translation>
+ <translation>Restaurer les paramètres par défaut</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="100"/>
@@ -1982,7 +1368,7 @@ même-ci la fréquence d&apos;image est dévérouillée. </translation>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="176"/>
<source>[waiting]</source>
- <translation>[En attente]</translation>
+ <translation>[en attente]</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="253"/>
@@ -1992,7 +1378,7 @@ même-ci la fréquence d&apos;image est dévérouillée. </translation>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="358"/>
<source>Restore Default</source>
- <translation>Rétablir les défauts</translation>
+ <translation>Restaurer les paramètres par défaut</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="359"/>
@@ -2160,7 +1546,7 @@ même-ci la fréquence d&apos;image est dévérouillée. </translation>
<message>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="494"/>
<source>Defaults</source>
- <translation>Défauts</translation>
+ <translation>Par défaut</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="537"/>
@@ -2356,7 +1742,7 @@ même-ci la fréquence d&apos;image est dévérouillée. </translation>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2726"/>
<source>Enable direct Pro Controller driver [EXPERIMENTAL]</source>
- <translation>Activer le pilote Pro Controller direct [EXPERIMENTAL]</translation>
+ <translation>Activer le pilote direct de la manette pro [EXPERIMENTAL]</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2733"/>
@@ -2371,7 +1757,7 @@ même-ci la fréquence d&apos;image est dévérouillée. </translation>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2749"/>
<source>Motion / Touch</source>
- <translation>La motion / Toucher</translation>
+ <translation>Mouvement / Tactile</translation>
</message>
</context>
<context>
@@ -2394,42 +1780,42 @@ même-ci la fréquence d&apos;image est dévérouillée. </translation>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="49"/>
<source>Player 1 Profile</source>
- <translation>Profil joueur 1</translation>
+ <translation>Profil du joueur 1</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="84"/>
<source>Player 2 Profile</source>
- <translation>Profil joueur 2</translation>
+ <translation>Profil du joueur 2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="119"/>
<source>Player 3 Profile</source>
- <translation>Profil joueur 3</translation>
+ <translation>Profil du joueur 3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="154"/>
<source>Player 4 Profile</source>
- <translation>Profil joueur 4</translation>
+ <translation>Profil du joueur 4</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="189"/>
<source>Player 5 Profile</source>
- <translation>Profil joueur 5</translation>
+ <translation>Profil du joueur 5</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="224"/>
<source>Player 6 Profile</source>
- <translation>Profil joueur 6</translation>
+ <translation>Profil du joueur 6</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="259"/>
<source>Player 7 Profile</source>
- <translation>Profil joueur 7</translation>
+ <translation>Profil du joueur 7</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="294"/>
<source>Player 8 Profile</source>
- <translation>Profil joueur 8</translation>
+ <translation>Profil du joueur 8</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.cpp" line="35"/>
@@ -2439,7 +1825,7 @@ même-ci la fréquence d&apos;image est dévérouillée. </translation>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.cpp" line="47"/>
<source>Player %1 profile</source>
- <translation>Profil joueur %1</translation>
+ <translation>Profil du joueur %1</translation>
</message>
</context>
<context>
@@ -2467,7 +1853,7 @@ même-ci la fréquence d&apos;image est dévérouillée. </translation>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="177"/>
<source>Save</source>
- <translation>Sauvegarde</translation>
+ <translation>Enregistrer</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="193"/>
@@ -2596,7 +1982,7 @@ même-ci la fréquence d&apos;image est dévérouillée. </translation>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1456"/>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1495"/>
<source>Capture</source>
- <translation>Capturer</translation>
+ <translation>Capture</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1526"/>
@@ -2689,7 +2075,7 @@ même-ci la fréquence d&apos;image est dévérouillée. </translation>
<translation>Panoramique de la souris</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Configurer</translation>
</message>
@@ -2795,7 +2181,7 @@ Pour inverser les axes, bougez d&apos;abord votre joystick verticalement, puis h
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="750"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1095"/>
<source>Pro Controller</source>
- <translation>Pro Controller</translation>
+ <translation>Manette Switch Pro</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1099"/>
@@ -2805,12 +2191,12 @@ Pour inverser les axes, bougez d&apos;abord votre joystick verticalement, puis h
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1103"/>
<source>Left Joycon</source>
- <translation>Joycon de gauche</translation>
+ <translation>Joycon gauche</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1107"/>
<source>Right Joycon</source>
- <translation>Joycon de droit</translation>
+ <translation>Joycon droit</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1111"/>
@@ -3117,13 +2503,13 @@ Pour inverser les axes, bougez d&apos;abord votre joystick verticalement, puis h
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation>Activer</translation>
+ <source>Enable mouse panning</source>
+ <translation>Activer le mouvement panorama avec la souris</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
- <translation>Peut être activé/désactivé via un raccourci clavier</translation>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
+ <translation>Peut être activé/désactivé via un raccourci. Le raccourci par défaut est Ctrl + F9.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
@@ -3132,7 +2518,6 @@ Pour inverser les axes, bougez d&apos;abord votre joystick verticalement, puis h
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
<translation>Horizontal</translation>
</message>
@@ -3140,15 +2525,13 @@ Pour inverser les axes, bougez d&apos;abord votre joystick verticalement, puis h
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
<translation>Vertical</translation>
</message>
@@ -3163,24 +2546,51 @@ Pour inverser les axes, bougez d&apos;abord votre joystick verticalement, puis h
<translation>Contrebalance la zone morte intégrée d&apos;un jeu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation>Zone morte</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
<translation>Dégradation du stick</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
<translation>Force</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
<translation>Minimum</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
- <translation>Défaut</translation>
+ <translation>Par défaut</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation>Le panoramique de la souris fonctionne mieux avec une zone morte de 0 % et une plage de 100 %.
+Les valeurs actuelles sont respectivement de %1% et %2%.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation>La souris émulée est activée. C&apos;est incompatible avec le panoramique avec la souris.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>La souris émulée est activée</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation>La saisie réelle de la souris et le panoramique de la souris sont incompatibles. Veuillez désactiver la souris émulée dans les paramètres avancés d&apos;entrée pour permettre le panoramique de la souris.</translation>
</message>
</context>
<context>
@@ -3214,100 +2624,95 @@ Pour inverser les axes, bougez d&apos;abord votre joystick verticalement, puis h
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Dialogue</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Info</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Nom</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>ID du titre</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Nom du fichier</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Format</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Version</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Taille</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Développeur</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Extensions</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Certains paramètres ne sont disponibles que lorsqu&apos;un jeu n&apos;est pas en cours d&apos;exécution.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Général</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Extensions</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>Système</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Graphiques</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Adv. Graphiques</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation>Profils d&apos;entrée</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Propriétés</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Utiliser la configuration globale (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3382,7 +2787,7 @@ Pour inverser les axes, bougez d&apos;abord votre joystick verticalement, puis h
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="168"/>
<source>Profile management is available only when game is not running.</source>
- <translation>La gestion de profil est accessible uniquement lorsque aucun jeu n&apos;est en cours.</translation>
+ <translation>La gestion de profil est disponible que lorsqu&apos;un jeu n&apos;est pas en cours d&apos;exécution.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="55"/>
@@ -3483,7 +2888,7 @@ Pour inverser les axes, bougez d&apos;abord votre joystick verticalement, puis h
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="344"/>
<source>Confirm Delete</source>
- <translation>Confirmez la suppression</translation>
+ <translation>Confirmer la suppression</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="360"/>
@@ -3618,7 +3023,7 @@ UUID : %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="336"/>
<source>[waiting]</source>
- <translation>[En attente]</translation>
+ <translation>[en attente]</translation>
</message>
</context>
<context>
@@ -3630,412 +3035,17 @@ UUID : %2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>Système</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Paramètres Système</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Région :</translation>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation>Cœur</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Automatique</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Défaut</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Cuba</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Égypte</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>GB</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Greenwich</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Hong Kong</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>Islande</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>Iran</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>Israël</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Jamaïque</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Japon</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>Kwajalein</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Libye</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Navajo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>NZ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>NZ-CHAT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Pologne</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Portugal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Singapour</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Turquie</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Universel</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>Zulu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>É.-U.A.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Europe</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Australie</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>Chine</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Corée</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Taïwan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Fuseau horaire :</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Note : ceci peut être remplacé quand le paramètre de région est réglé sur automatique</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Japonais (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation>Anglais Américain</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Français (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Allemand (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Italien (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Espagnol (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Chinois</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Coréen (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Néerlandais (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Portugais (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Russe (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Taïwanais</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Anglais Britannique</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Français Canadien</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Espagnol d&apos;Amérique Latine</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Chinois Simplifié</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Chinois Traditionnel (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>Portugais Brésilien (português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>RTC Customisé</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Langue</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>Seed RNG</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation>Nom de l&apos;appareil</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation>Disposition de mémoire étendue non sécurisée (8 Go de DRAM)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Les paramètres systèmes ne sont accessibles que lorsque le jeu n&apos;est pas en cours.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation>Attention: &quot;%1&quot; n&apos;est pas une langue valide pour la région &quot;%2&quot;</translation>
</message>
@@ -4244,64 +3254,64 @@ Faites glisser les points pour modifier la position ou double-cliquez sur les ce
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Aucun</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>Petite (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>Standard (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>Grande (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>Taille Maximale (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>Petite (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>Standard (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>Grande (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Nom du fichier</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>Type du fichier</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>Identifiant du Titre</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>Nom du Titre</translation>
</message>
@@ -4331,7 +3341,7 @@ Faites glisser les points pour modifier la position ou double-cliquez sur les ce
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="43"/>
<source>Interface language:</source>
- <translation>Langage de l&apos;interface :</translation>
+ <translation>Langue de l&apos;interface :</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="57"/>
@@ -4351,7 +3361,7 @@ Faites glisser les points pour modifier la position ou double-cliquez sur les ce
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="89"/>
<source>Show Add-Ons Column</source>
- <translation>Afficher la colonne des Add-Ons</translation>
+ <translation>Afficher la colonne des extensions</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="96"/>
@@ -4366,12 +3376,12 @@ Faites glisser les points pour modifier la position ou double-cliquez sur les ce
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="112"/>
<source>Game Icon Size:</source>
- <translation>Taille de l&apos;icône jeu:</translation>
+ <translation>Taille de l&apos;icône du jeu :</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="126"/>
<source>Folder Icon Size:</source>
- <translation>Taille de l&apos;icône dossier:</translation>
+ <translation>Taille de l&apos;icône du dossier :</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="140"/>
@@ -4404,15 +3414,31 @@ Faites glisser les points pour modifier la position ou double-cliquez sur les ce
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation>TextLabel</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Résolution :</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>Sélectionnez le chemin du dossier des captures d&apos;écran...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation>Auto (%1 x %2, %3 x %4)</translation>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4545,7 +3571,7 @@ Faites glisser les points pour modifier la position ou double-cliquez sur les ce
<message>
<location filename="../../src/yuzu/configuration/configure_web.ui" line="118"/>
<source>Web Service configuration can only be changed when a public room isn&apos;t being hosted.</source>
- <translation>La configuration du service Web ne peut être modifiée que lorsqu&apos;une salle publique n&apos;est pas hébergée.</translation>
+ <translation>La configuration du service Web ne peut être modifiée que lorsqu&apos;un salon publique n&apos;est pas hébergée.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.ui" line="128"/>
@@ -4713,12 +3739,12 @@ Faites glisser les points pour modifier la position ou double-cliquez sur les ce
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation>Connexion</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation>Connecter</translation>
</message>
@@ -4726,898 +3752,964 @@ Faites glisser les points pour modifier la position ou double-cliquez sur les ce
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Des données anonymes sont collectées&lt;/a&gt; pour aider à améliorer yuzu. &lt;br/&gt;&lt;br/&gt;Voulez-vous partager vos données d&apos;utilisations avec nous ?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Télémétrie</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation>Installation Vulkan Cassée Détectée</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation>L&apos;initialisation de Vulkan a échoué lors du démarrage.&lt;br&gt;&lt;br&gt;Cliquez &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;ici pour obtenir des instructions pour résoudre le problème&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
<translation>Exécution d&apos;un jeu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>Chargement du Web Applet...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Désactiver l&apos;applet web</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation>La désactivation de l&apos;applet Web peut entraîner un comportement indéfini et ne doit être utilisée qu&apos;avec Super Mario 3D All-Stars. Voulez-vous vraiment désactiver l&apos;applet Web ?
(Cela peut être réactivé dans les paramètres de débogage.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>La quantité de shaders en cours de construction</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation>Le multiplicateur de mise à l&apos;échelle de résolution actuellement sélectionné.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>Valeur actuelle de la vitesse de l&apos;émulation. Des valeurs plus hautes ou plus basses que 100% indique que l&apos;émulation fonctionne plus vite ou plus lentement qu&apos;une véritable Switch.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>Combien d&apos;image par seconde le jeu est en train d&apos;afficher. Ceci vas varier de jeu en jeu et de scènes en scènes.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Temps pris pour émuler une image par seconde de la switch, sans compter le limiteur d&apos;image par seconde ou la synchronisation verticale. Pour une émulation à pleine vitesse, ceci devrait être au maximum à 16.67 ms.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation>Remettre le son</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation>Couper le son</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation>Réinitialiser le volume</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>&amp;Effacer les fichiers récents</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation>La souris émulée est activée</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation>La saisie réelle de la souris et le panoramique de la souris sont incompatibles. Veuillez désactiver la souris émulée dans les paramètres avancés d&apos;entrée pour permettre le panoramique de la souris.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>&amp;Continuer</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;Pause</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>Avertissement : Le Format de jeu est dépassé</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>Vous utilisez un format de ROM déconstruite pour ce jeu, qui est donc un format dépassé qui à été remplacer par d&apos;autre. Par exemple les formats NCA, NAX, XCI, ou NSP. Les destinations de ROM déconstruites manque des icônes, des métadonnée et du support de mise à jour.&lt;br&gt;&lt;br&gt;Pour une explication des divers formats Switch que yuzu supporte, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;Regardez dans le wiki&lt;/a&gt;. Ce message ne sera pas montré une autre fois.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>Erreur lors du chargement de la ROM !</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>Le format de la ROM n&apos;est pas supporté.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>Une erreur s&apos;est produite lors de l&apos;initialisation du noyau dédié à la vidéo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation>yuzu a rencontré une erreur en exécutant le cœur vidéo. Cela est généralement causé par des pilotes graphiques trop anciens. Veuillez consulter les logs pour plus d&apos;informations. Pour savoir comment accéder aux logs, veuillez vous référer à la page suivante : &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;Comment partager un fichier de log &lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>Erreur lors du chargement de la ROM ! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation>%1&lt;br&gt;Veuillez suivre &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;le guide de démarrage rapide yuzu&lt;/a&gt; pour retransférer vos fichiers.&lt;br&gt;Vous pouvez vous référer au wiki yuzu&lt;/a&gt; ou le Discord yuzu&lt;/a&gt; pour de l&apos;assistance.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>Une erreur inconnue est survenue. Veuillez consulter le journal des logs pour plus de détails.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation>Fermeture du logiciel...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>Enregistrer les données</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Donnés du Mod</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>Erreur dans l&apos;ouverture du dossier %1.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>Le dossier n&apos;existe pas !</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>Erreur lors de l&apos;ouverture des Shader Cache Transferable</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation>Impossible de créer le dossier de cache du shader pour ce jeu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation>Erreur en enlevant le contenu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation>Erreur en enlevant la Mise à Jour</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation>Erreur en enlevant le DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation>Enlever les données du jeu installé ?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation>Enlever la mise à jour du jeu installé ?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation>Enlever le DLC du jeu installé ?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>Supprimer l&apos;entrée</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>Supprimé avec succès</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>Suppression du jeu de base installé avec succès.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>Le jeu de base n&apos;est pas installé dans la NAND et ne peut pas être supprimé.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>Suppression de la mise à jour installée avec succès.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>Il n&apos;y a pas de mise à jour installée pour ce titre.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>Il n&apos;y a pas de DLC installé pour ce titre.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>Suppression de %1 DLC installé(s) avec succès.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation>Supprimer la Cache OpenGL de Shader Transférable?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation>Supprimer la Cache Vulkan de Shader Transférable?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation>Supprimer Toutes les Caches de Shader Transférable?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>Supprimer la configuration personnalisée du jeu?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation>Supprimer le stockage du cache ?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>Supprimer fichier</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>Erreur lors de la suppression du cache de shader transférable</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>Un shader cache pour ce titre n&apos;existe pas.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>Suppression du cache de shader transférable avec succès.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>Échec de la suppression du cache de shader transférable.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation>Erreur lors de la suppression du cache de pipeline de pilotes Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation>Échec de la suppression du cache de pipeline de pilotes.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation>Erreur durant la Suppression des Caches de Shader Transférable</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation>Suppression des caches de shader transférable effectuée avec succès.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation>Impossible de supprimer le dossier de la cache de shader transférable.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>Erreur lors de la suppression de la configuration personnalisée</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>Il n&apos;existe pas de configuration personnalisée pour ce titre.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>Suppression de la configuration de jeu personnalisée avec succès.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>Échec de la suppression de la configuration personnalisée du jeu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>L&apos;extraction de la RomFS a échoué !</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>Une erreur s&apos;est produite lors de la copie des fichiers RomFS ou l&apos;utilisateur a annulé l&apos;opération.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>Plein</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>Squelette</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>Sélectionnez le mode d&apos;extraction de la RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Veuillez sélectionner la manière dont vous souhaitez que le fichier RomFS soit extrait.&lt;br&gt;Full copiera tous les fichiers dans le nouveau répertoire, tandis que&lt;br&gt;skeleton créera uniquement la structure de répertoires.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation>Il n&apos;y a pas assez d&apos;espace libre dans %1 pour extraire la RomFS. Veuillez libérer de l&apos;espace ou sélectionner un autre dossier d&apos;extraction dans Émulation &gt; Configurer &gt; Système &gt; Système de fichiers &gt; Extraire la racine</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>Extraction de la RomFS ...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Annuler</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>Extraction de la RomFS réussi !</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>L&apos;opération s&apos;est déroulée avec succès.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation>La vérification de l&apos;intégrité n&apos;a pas pu être effectuée !</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation>La validité du contenu du fichier n&apos;a pas été vérifiée.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation>La vérification de l&apos;intégrité a échoué !</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation>Le contenu du fichier pourrait être corrompu.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation>Vérification de l&apos;intégrité...</translation>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation>La vérification de l&apos;intégrité a réussi !</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation>Créer un raccourci</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation>Cela créera un raccourci vers l&apos;AppImage actuelle. Cela peut ne pas fonctionner correctement si vous mettez à jour. Continuer ?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation>Impossible de créer un raccourci sur le bureau. Le chemin &quot;%1&quot; n&apos;existe pas.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Impossible de créer un raccourci dans le menu des applications. Le chemin &quot;%1&quot; n&apos;existe pas et ne peut pas être créé.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation>Créer une icône</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Impossible de créer le fichier d&apos;icône. Le chemin &quot;%1&quot; n&apos;existe pas et ne peut pas être créé.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation>Démarrer %1 avec l&apos;émulateur Yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation>Impossible de créer un raccourci vers %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation>Création réussie d&apos;un raccourci vers %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>Erreur lors de l&apos;ouverture %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Sélectionner un répertoire</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Propriétés</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>Les propriétés du jeu n&apos;ont pas pu être chargées.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Exécutable Switch (%1);;Tous les fichiers (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Charger un fichier</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Ouvrir le dossier des ROM extraites</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Destination sélectionnée invalide</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>Le répertoire que vous avez sélectionné ne contient pas de fichier &quot;main&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>Fichier Switch installable (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>Installer les fichiers</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation><numerusform>%n fichier restant</numerusform><numerusform>%n fichiers restants</numerusform><numerusform>%n fichiers restants</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>Installation du fichier &quot;%1&quot; ...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>Résultats d&apos;installation</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>Pour éviter d&apos;éventuels conflits, nous déconseillons aux utilisateurs d&apos;installer des jeux de base sur la NAND.
Veuillez n&apos;utiliser cette fonctionnalité que pour installer des mises à jour et des DLC.</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation><numerusform>%n fichier a été nouvellement installé</numerusform><numerusform>%n fichiers ont été nouvellement installés</numerusform><numerusform>%n fichiers ont été nouvellement installés</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation><numerusform>%n fichier a été écrasé</numerusform><numerusform>%n fichiers ont été écrasés</numerusform><numerusform>%n fichiers ont été écrasés</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation><numerusform>%n fichier n&apos;a pas pu être installé</numerusform><numerusform>%n fichiers n&apos;ont pas pu être installés</numerusform><numerusform>%n fichiers n&apos;ont pas pu être installés</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Application Système</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Archive Système</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Mise à jour de l&apos;application système</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Paquet micrologiciel (Type A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Paquet micrologiciel (Type B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Jeu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Mise à jour de jeu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>DLC de jeu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Titre Delta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Sélectionner le type d&apos;installation du NCA...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>Veuillez sélectionner le type de titre auquel vous voulez installer ce NCA :
(Dans la plupart des cas, le titre par défaut : &apos;Jeu&apos; est correct.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Échec de l&apos;installation</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>Le type de titre que vous avez sélectionné pour le NCA n&apos;est pas valide.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Fichier non trouvé</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Fichier &quot;%1&quot; non trouvé</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation>Éxigences matérielles non respectées</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation>Votre système ne correspond pas aux éxigences matérielles. Les rapports de comptabilité ont été désactivés.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>Compte yuzu manquant</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>Pour soumettre un test de compatibilité pour un jeu, vous devez lier votre compte yuzu.&lt;br&gt;&lt;br/&gt;Pour lier votre compte yuzu, aller à Emulation &amp;gt; Configuration&amp;gt; Web.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>Erreur lors de l&apos;ouverture de l&apos;URL</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>Impossible d&apos;ouvrir l&apos;URL &quot;%1&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation>Enregistrement TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>Écraser le fichier du joueur 1 ?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>Configuration invalide détectée</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
- <translation>Contrôleur portable ne peut pas être utilisé en mode téléviseur. La manette Pro sera sélectionnée.</translation>
+ <translation>Le contrôleur portable ne peut pas être utilisé en mode TV. La manette pro sera sélectionné.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>L&apos;amiibo actuel a été retiré</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>Erreur</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation>Le jeu actuel ne cherche pas d&apos;amiibos.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Fichier Amiibo (%1);; Tous les fichiers (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Charger un Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Erreur lors du chargement des données Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation>Le fichier choisi n&apos;est pas un amiibo valide</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation>Le fichier sélectionné est déjà utilisé</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation>Une erreur inconnue s&apos;est produite</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation>La vérification a échoué pour les fichiers suivants :
+
+%1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation>Pas de firmware disponible</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation>Veuillez installer le firmware pour utiliser l&apos;éditeur Mii.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation>Applet de l&apos;éditeur Mii</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation>L&apos;éditeur Mii n&apos;est pas disponible. Veuillez réinstaller le firmware.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Capture d&apos;écran</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>Image PNG (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>État du TAS : En cours d&apos;exécution %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>État du TAS : Enregistrement %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation>État du TAS : Inactif %1:%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>État du TAS : Invalide</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation>&amp;Stopper l&apos;exécution</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>&amp;Start</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>Stopper l&apos;en&amp;registrement</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>En&amp;registrer</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation><numerusform>Compilation: %n shader</numerusform><numerusform>Compilation : %n shaders</numerusform><numerusform>Compilation : %n shaders</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>Échelle : %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Vitesse : %1% / %2% </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Vitesse : %1% </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation>Jeu : %1 IPS (Débloqué)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Jeu : %1 FPS </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Frame : %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>AUCUN AA</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
- <translation>VOLUME: MUET</translation>
+ <translation>VOLUME : MUET</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
- <translation>VOLUME: %1%</translation>
+ <translation>VOLUME : %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>Confirmer la réinstallation de la clé</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5634,37 +4726,37 @@ et éventuellement faites des sauvegardes.
Cela supprimera vos fichiers de clé générés automatiquement et ré exécutera le module d&apos;installation de clé.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>Fusibles manquants</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation>- BOOT0 manquant</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation>- BCPKG2-1-Normal-Main manquant</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation>- PRODINFO manquant</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>Composants de dérivation manquants</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation>Les clés de chiffrement sont manquantes. &lt;br&gt;Veuillez suivre &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;le guide de démarrage rapide yuzu&lt;/a&gt; pour obtenir tous vos clés, firmware et jeux.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5673,49 +4765,49 @@ Cela peut prendre jusqu&apos;à une minute en fonction
des performances de votre système.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>Installation des clés</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation>Échec du déchiffrement de l&apos;archive système.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation>Les clés de chiffrement n&apos;ont pas réussi à déchiffrer le firmware. &lt;br&gt;Veuillez suivre &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;le guide de démarrage rapide du yuzu&lt;/a&gt; pour obtenir toutes vos clés, firmware et jeux.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>Sélectionner la cible d&apos;extraction du RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>Veuillez sélectionner quel RomFS vous voulez extraire.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Êtes vous sûr de vouloir fermer yuzu ?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Êtes-vous sûr d&apos;arrêter l&apos;émulation ? Tout progrès non enregistré sera perdu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5724,97 +4816,97 @@ Would you like to bypass this and exit anyway?</source>
Voulez-vous ignorer ceci and quitter quand même ?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Aucune</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
<translation>Le plus proche</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Bilinéaire</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Bicubique</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>Gaussien</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Mode TV</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Mode Portable</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation>Normal</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation>Haut</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation>Extême</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
<translation>OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation>Nul</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
<translation>GLSL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
<translation>GLASM</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
<translation>SPIRV</translation>
</message>
@@ -5822,44 +4914,44 @@ Voulez-vous ignorer ceci and quitter quand même ?</translation>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGL n&apos;est pas disponible !</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation>Les contextes OpenGL partagés ne sont pas pris en charge.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>yuzu n&apos;a pas été compilé avec le support OpenGL.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
- <translation>Erreur lors de l&apos;initialisation d&apos;OpenGL!</translation>
+ <translation>Erreur lors de l&apos;initialisation d&apos;OpenGL !</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>Votre GPU peut ne pas prendre en charge OpenGL, ou vous n&apos;avez pas les derniers pilotes graphiques.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
- <translation>Erreur lors de l&apos;initialisation d&apos;OpenGL 4.6!</translation>
+ <translation>Erreur lors de l&apos;initialisation d&apos;OpenGL 4.6 !</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>Votre GPU peut ne pas prendre en charge OpenGL 4.6 ou vous ne disposez pas du dernier pilote graphique: %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>Votre GPU peut ne pas prendre en charge une ou plusieurs extensions OpenGL requises. Veuillez vous assurer que vous disposez du dernier pilote graphique.&lt;br&gt;&lt;br&gt;GL Renderer :&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Extensions non prises en charge :&lt;br&gt;%2</translation>
</message>
@@ -5867,173 +4959,178 @@ Voulez-vous ignorer ceci and quitter quand même ?</translation>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>Préférer</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>Démarrer le jeu</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>Démarrer le jeu sans configuration personnalisée</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Ouvrir l&apos;emplacement des données de sauvegarde</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Ouvrir l&apos;emplacement des données des mods</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation>Ouvrir la Cache de Pipeline Transférable</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Supprimer</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>Supprimer mise à jour installée</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>Supprimer tous les DLC installés</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>Supprimer la configuration personnalisée</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation>Supprimer le stockage du cache</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation>Supprimer la Cache de Pipeline OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation>Supprimer la Cache de Pipeline Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>Supprimer Toutes les Caches de Pipeline</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>Supprimer tout le contenu installé</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>Extraire la RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>Décharger RomFS vers SDMC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation>Vérifier l&apos;intégrité</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Copier l&apos;ID du titre dans le Presse-papiers</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>Accédez à l&apos;entrée GameDB</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation>Créer un raccourci</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation>Ajouter au bureau</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation>Ajouter au menu des applications</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Propriétés</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>Scanner les sous-dossiers</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>Supprimer le répertoire du jeu</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ Monter</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ Descendre</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>Ouvrir l&apos;emplacement du répertoire</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Effacer</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Nom</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Compatibilité</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Extensions</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Type de fichier</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Taille</translation>
</message>
@@ -6104,7 +5201,7 @@ Voulez-vous ignorer ceci and quitter quand même ?</translation>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>Double-cliquez pour ajouter un nouveau dossier à la liste de jeux</translation>
</message>
@@ -6117,12 +5214,12 @@ Voulez-vous ignorer ceci and quitter quand même ?</translation>
<translation><numerusform>%1 sur %n résultat</numerusform><numerusform>%1 sur %n résultats</numerusform><numerusform>%1 sur %n résultats</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Filtre :</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Entrez un motif à filtrer</translation>
</message>
@@ -6198,28 +5295,26 @@ Voulez-vous ignorer ceci and quitter quand même ?</translation>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>Erreur</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
- <translation>Échec de l&apos;annonce de la salle dans le hall public. Pour héberger une salle publiquement, vous devez avoir un compte yuzu valide configuré dans Emulation -&gt; Configurer -&gt; Web. Si vous ne souhaitez pas publier une salle dans le hall public, sélectionnez plutôt Non Répertorié.
+ <translation>Échec de l&apos;annonce du salon dans le hall public. Pour héberger un salon publiquement, vous devez avoir un compte yuzu valide configuré dans Emulation -&gt; Configurer -&gt; Web. Si vous ne souhaitez pas publier un salon dans le hall public, sélectionnez plutôt Non Répertorié.
Message de débogage : </translation>
</message>
</context>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
- <translation>Désactiver/Activer le Son</translation>
+ <translation>Désactiver/Activer le son</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6240,111 +5335,113 @@ Message de débogage : </translation>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation>Fenêtre Principale</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation>Baisser le volume audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation>Augmenter le volume audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Prendre une capture d&apos;ecran</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation>Modifier le filtre d&apos;adaptation</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation>Changer le mode de la station d&apos;accueil</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation>Modifier la précision du GPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation>Continuer/Suspendre l&apos;Émulation</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation>Quitter le plein écran</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation>Quitter yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Plein écran</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Charger un fichier</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation>Charger/Supprimer un Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation>Redémarrer l&apos;Émulation</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation>Arrêter l&apos;Émulation</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation>Enregistrement TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation>Réinitialiser le TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation>Démarrer/Arrêter le TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation>Activer la barre de filtre</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation>Activer la limite de fréquence d&apos;images</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation>Activer le panoramique de la souris</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation>Activer la barre d&apos;état</translation>
</message>
@@ -6464,42 +5561,42 @@ Message de débogage : </translation>
<translation>Rafraichir le menu</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation>Mot de passe requis pour rejoindre</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
- <translation>Mot de passe:</translation>
+ <translation>Mot de passe :</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Joueurs</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation>Nom du salon</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation>Jeu préféré</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation>Hôte</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation>Rafraîchissement</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation>Rafraîchir la liste</translation>
</message>
@@ -6587,172 +5684,182 @@ Message de débogage : </translation>
<translation>&amp;TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Aide</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>&amp;Installer des fichiers sur la NAND...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>&amp;Charger un fichier...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>&amp;Charger un dossier</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>Q&amp;uitter</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>&amp;Pause</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>&amp;Arrêter</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>&amp;Réinitialiser les clés...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation>&amp;Vérifier les contenus installés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>&amp;À propos de yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>&amp;Mode fenêtre unique</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>&amp;Configurer...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>&amp;Afficher les en-têtes du widget Dock</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>&amp;Afficher la barre de filtre</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>&amp;Afficher la barre d&apos;état</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Afficher la barre d&apos;état</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation>&amp;Parcourir le menu des jeux publics</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
- <translation>&amp;Créer une room</translation>
+ <translation>&amp;Créer un salon</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
- <translation>&amp;Quitter la room</translation>
+ <translation>&amp;Quitter le salon</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
- <translation>&amp;Connexion directe à la room</translation>
+ <translation>&amp;Connexion directe au salon</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
- <translation>&amp;Afficher la room actuelle</translation>
+ <translation>&amp;Afficher le salon actuel</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>P&amp;lein écran</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>&amp;Redémarrer</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation>Charger/Retirer &amp;Amiibo…</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>&amp;Signaler la compatibilité</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
- <translation>Ouvrir la &amp;Page des Mods</translation>
+ <translation>Ouvrir la &amp;page des mods</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
- <translation>Ouvrir le &amp;Guide de Démarrage rapide</translation>
+ <translation>Ouvrir le &amp;guide de Démarrage rapide</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>&amp;FAQ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
- <translation>Ouvrir le &amp;Dossier de Yuzu</translation>
+ <translation>Ouvrir le &amp;dossier de Yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>&amp;Capture d&apos;écran</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation>Ouvrir l&apos;&amp;éditeur Mii</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation>&amp;Configurer TAS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
- <translation>Configurer le J&amp;eu actuel...</translation>
+ <translation>Configurer le j&amp;eu actuel...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>&amp;Démarrer</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation>&amp;Réinitialiser</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>En&amp;registrer</translation>
</message>
@@ -6850,7 +5957,7 @@ Message de débogage : </translation>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="208"/>
<source>Failed to update the room information. Please check your Internet connection and try hosting the room again.
Debug Message: </source>
- <translation>Impossible de mettre à jour les informations de la room. Veuillez vérifier votre connexion internet et d&apos;héberger la room à nouveau.
+ <translation>Impossible de mettre à jour les informations du salon. Veuillez vérifier votre connexion internet et d&apos;héberger le salon à nouveau.
Message de Débogage :</translation>
</message>
</context>
@@ -6859,12 +5966,12 @@ Message de Débogage :</translation>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="11"/>
<source>Username is not valid. Must be 4 to 20 alphanumeric characters.</source>
- <translation>Le nom d&apos;utilisateur n&apos;est pas valide. Doit être de 4 à 20 caractères alphanumériques.</translation>
+ <translation>Le nom d&apos;utilisateur n&apos;est pas valide. Il doit être de 4 à 20 caractères alphanumériques.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="13"/>
<source>Room name is not valid. Must be 4 to 20 alphanumeric characters.</source>
- <translation>Le nom du salon n&apos;est pas valide. Doit être de 4 à 20 caractères alphanumériques.</translation>
+ <translation>Le nom du salon n&apos;est pas valide. Il doit être de 4 à 20 caractères alphanumériques.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="15"/>
@@ -6874,7 +5981,7 @@ Message de Débogage :</translation>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="17"/>
<source>IP is not a valid IPv4 address.</source>
- <translation>IP n&apos;est pas une adresse IPv4 valide.</translation>
+ <translation>L&apos;IP n&apos;est pas une adresse IPv4 valide.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="19"/>
@@ -6894,7 +6001,7 @@ Message de Débogage :</translation>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="26"/>
<source>Unable to connect to the host. Verify that the connection settings are correct. If you still cannot connect, contact the room host and verify that the host is properly configured with the external port forwarded.</source>
- <translation>Impossible de se connecter à l&apos;hôte. Vérifiez que les paramètres de connexion sont corrects. Si vous ne parvenez toujours pas à vous connecter, contactez l&apos;hôte de la salle et vérifiez que l&apos;hôte a correctement configuré le port externe redirigé.</translation>
+ <translation>Impossible de se connecter à l&apos;hôte. Vérifiez que les paramètres de connexion sont corrects. Si vous ne parvenez toujours pas à vous connecter, contactez l&apos;hôte du salon et vérifiez que l&apos;hôte a correctement configuré le port externe redirigé.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="30"/>
@@ -6914,7 +6021,7 @@ Message de Débogage :</translation>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="37"/>
<source>Version mismatch! Please update to the latest version of yuzu. If the problem persists, contact the room host and ask them to update the server.</source>
- <translation>Décalage de version ! Veuillez mettre à jour la dernière version de yuzu. Si le problème persiste, contactez l&apos;hôte de la salle et demandez lui de mettre à jour le serveur.</translation>
+ <translation>Décalage de version ! Veuillez faire la mettre à jour vers la dernière version de yuzu. Si le problème persiste, contactez l&apos;hôte du salon et demandez lui de mettre à jour le serveur.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="39"/>
@@ -6963,7 +6070,7 @@ Veuillez aller dans Configurer -&gt; Système -&gt; Réseau et faites un choix.<
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="68"/>
<source>Game already running</source>
- <translation>Jeu déjà en cours</translation>
+ <translation>Le jeu est déjà en cours d&apos;exécution</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="69"/>
@@ -7400,7 +6507,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="100"/>
<source>Capture</source>
- <translation>Capturer</translation>
+ <translation>Capture</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="128"/>
@@ -7545,27 +6652,27 @@ p, li { white-space: pre-wrap; }
<translation>Chemin du fichier</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation>Aucune données de jeu présent</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation>Les données de cet Amiibo vont être formatées :</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation>Les données de ce jeu vont être enlevés :</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation>Mettre un surnom et un propriétaire</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation>Voulez-vous restaurer cet Amiibo ?</translation>
</message>
@@ -7606,9 +6713,9 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
- <translation>Pro Controller</translation>
+ <translation>Manette Switch Pro</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="519"/>
@@ -7619,7 +6726,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Deux Joycons</translation>
</message>
@@ -7632,7 +6739,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Joycon gauche</translation>
</message>
@@ -7645,7 +6752,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Joycon droit</translation>
</message>
@@ -7674,9 +6781,9 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
- <translation>Portable</translation>
+ <translation>Mode Portable</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1126"/>
@@ -7790,32 +6897,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>Manette GameCube</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>Poké Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>Manette NES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>Manette SNES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>Manette N64</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>Sega Genesis</translation>
</message>
@@ -7906,7 +7013,7 @@ Veuillez essayer à nouveau ou contactez le développeur du logiciel.</translati
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="204"/>
<source>Who is making this purchase?</source>
- <translation>Qui effectue cet achat ?</translation>
+ <translation>Qui effectue cet achat ?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="207"/>
@@ -7921,22 +7028,22 @@ Veuillez essayer à nouveau ou contactez le développeur du logiciel.</translati
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="213"/>
<source>Change settings for which user?</source>
- <translation>Modifier les paramètres pour quel utilisateur ?</translation>
+ <translation>Modifier les paramètres pour quel utilisateur ?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="216"/>
<source>Format data for which user?</source>
- <translation>Formater les données pour quel utilisateur ?</translation>
+ <translation>Formater les données pour quel utilisateur ?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="219"/>
<source>Which user will be transferred to another console?</source>
- <translation>Quel utilisateur sera transféré sur une autre console ?</translation>
+ <translation>Quel utilisateur sera transféré sur une autre console ?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="222"/>
<source>Send save data for which user?</source>
- <translation>Envoyer les données de sauvegarde pour quel utilisateur ?</translation>
+ <translation>Envoyer les données de sauvegarde pour quel utilisateur ?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="226"/>
diff --git a/dist/languages/hu.ts b/dist/languages/hu.ts
new file mode 100644
index 000000000..3c14971ba
--- /dev/null
+++ b/dist/languages/hu.ts
@@ -0,0 +1,7171 @@
+<?xml version="1.0" ?><!DOCTYPE TS><TS version="2.1" language="hu" sourcelanguage="en_US">
+<context>
+ <name>AboutDialog</name>
+ <message>
+ <location filename="../../src/yuzu/aboutdialog.ui" line="14"/>
+ <source>About yuzu</source>
+ <translation>A yuzuról</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/aboutdialog.ui" line="72"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:28pt;&quot;&gt;yuzu&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:28pt;&quot;&gt;yuzu&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/aboutdialog.ui" line="85"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;%1 (%2)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;%1 (%2)&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/aboutdialog.ui" line="98"/>
+ <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Ubuntu'; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'MS Shell Dlg 2'; font-size:12pt;&quot;&gt;yuzu is an experimental open-source emulator for the Nintendo Switch licensed under GPLv3.0+.&lt;/span&gt;&lt;/p&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'MS Shell Dlg 2'; font-size:8pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:12pt;&quot;&gt;This software should not be used to play games you have not legally obtained.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;Ubuntu&apos;; font-size:11pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:12pt;&quot;&gt;A yuzu egy kísérleti nyílt forráskódú emulátor a Nintendo Switchhez, GPLv3.0+ licenccel.&lt;/span&gt;&lt;/p&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:&apos;MS Shell Dlg 2&apos;; font-size:8pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;
+&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:12pt;&quot;&gt;Ezt a szoftvert ne használd, ha nem legálisan szerezted meg a játékaidat.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/aboutdialog.ui" line="130"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://yuzu-emu.org/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Website&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Source Code&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/graphs/contributors&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Contributors&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;License&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://yuzu-emu.org/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Weboldal&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Forráskód&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/graphs/contributors&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Közreműködők&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Licensz&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/aboutdialog.ui" line="146"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:7pt;&quot;&gt;&amp;quot;Nintendo Switch&amp;quot; is a trademark of Nintendo. yuzu is not affiliated with Nintendo in any way.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:7pt;&quot;&gt;&amp;quot;Nintendo Switch&amp;quot; a Nintendo védjegye. A yuzu semmilyen módon nem áll kapcsolatban a Nintendóval.</translation>
+ </message>
+</context>
+<context>
+ <name>CalibrationConfigurationDialog</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="23"/>
+ <source>Communicating with the server...</source>
+ <translation>Kommunikáció a szerverrel...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="24"/>
+ <source>Cancel</source>
+ <translation>Mégse</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="43"/>
+ <source>Touch the top left corner &lt;br&gt;of your touchpad.</source>
+ <translation>Nyomd meg a bal felső sarkot &lt;br&gt;a touchpaden.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="46"/>
+ <source>Now touch the bottom right corner &lt;br&gt;of your touchpad.</source>
+ <translation>Most pedig nyomd meg a jobb alsó sarkot &lt;br&gt;a touchpaden.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="49"/>
+ <source>Configuration completed!</source>
+ <translation>Beállitás befejezve!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="57"/>
+ <source>OK</source>
+ <translation>OK</translation>
+ </message>
+</context>
+<context>
+ <name>ChatRoom</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.ui" line="14"/>
+ <source>Room Window</source>
+ <translation>Szoba ablak</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.ui" line="40"/>
+ <source>Send Chat Message</source>
+ <translation>Chat üzenet küldése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.ui" line="47"/>
+ <source>Send Message</source>
+ <translation>Üzenet küldése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="181"/>
+ <source>Members</source>
+ <translation>Tagok</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="318"/>
+ <source>%1 has joined</source>
+ <translation>%1 csatlakozott</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="321"/>
+ <source>%1 has left</source>
+ <translation>%1 kilépett</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="324"/>
+ <source>%1 has been kicked</source>
+ <translation>%1 ki lett rúgva</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="327"/>
+ <source>%1 has been banned</source>
+ <translation>%1 ki lett tiltva</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="330"/>
+ <source>%1 has been unbanned</source>
+ <translation>%1 tiltása feloldva</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="446"/>
+ <source>View Profile</source>
+ <translation>Profil megtekintése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="459"/>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="469"/>
+ <source>Block Player</source>
+ <translation>Játékos blokkolása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="470"/>
+ <source>When you block a player, you will no longer receive chat messages from them.&lt;br&gt;&lt;br&gt;Are you sure you would like to block %1?</source>
+ <translation>Ha blokkolsz egy játékost, akkor nem kaphatsz tőle üzeneteket.&lt;br&gt;&lt;br&gt;Biztos, hogy blokkolni szeretnéd %1-t?</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="483"/>
+ <source>Kick</source>
+ <translation>Kirúgás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="484"/>
+ <source>Ban</source>
+ <translation>Kitiltás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="488"/>
+ <source>Kick Player</source>
+ <translation>Játékos kirúgása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="489"/>
+ <source>Are you sure you would like to &lt;b&gt;kick&lt;/b&gt; %1?</source>
+ <translation>Biztos, hogy ki szeretnéd &lt;b&gt;rúgni&lt;/b&gt; %1-t?</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="497"/>
+ <source>Ban Player</source>
+ <translation>Játékos kitiltása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="498"/>
+ <source>Are you sure you would like to &lt;b&gt;kick and ban&lt;/b&gt; %1?
+
+This would ban both their forum username and their IP address.</source>
+ <translation>Biztos, hogy ki szeretnéd &lt;b&gt;rúgni és tiltani&lt;/b&gt; %1-t?
+
+Ez kitiltaná a fórum felhasználóneve és az IP címe alapján.</translation>
+ </message>
+</context>
+<context>
+ <name>ClientRoom</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/client_room.ui" line="14"/>
+ <source>Room Window</source>
+ <translation>Szoba ablak</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/client_room.ui" line="27"/>
+ <source>Room Description</source>
+ <translation>Szoba leírása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/client_room.ui" line="47"/>
+ <source>Moderation...</source>
+ <translation>Moderáció...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/client_room.ui" line="57"/>
+ <source>Leave Room</source>
+ <translation>Szoba elhagyása</translation>
+ </message>
+</context>
+<context>
+ <name>ClientRoomWindow</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/client_room.cpp" line="78"/>
+ <source>Connected</source>
+ <translation>Csatlakoztatva</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/client_room.cpp" line="87"/>
+ <source>Disconnected</source>
+ <translation>Lecsatlakozva</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/client_room.cpp" line="100"/>
+ <source>%1 - %2 (%3/%4 members) - connected</source>
+ <translation>%1 - %2 (%3/%4 tagok) - csatlakoztatva</translation>
+ </message>
+</context>
+<context>
+ <name>CompatDB</name>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="20"/>
+ <source>Report Compatibility</source>
+ <translation>Kompatibilitás jelentése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="27"/>
+ <location filename="../../src/yuzu/compatdb.ui" line="63"/>
+ <location filename="../../src/yuzu/compatdb.ui" line="115"/>
+ <location filename="../../src/yuzu/compatdb.ui" line="167"/>
+ <location filename="../../src/yuzu/compatdb.ui" line="219"/>
+ <location filename="../../src/yuzu/compatdb.ui" line="271"/>
+ <location filename="../../src/yuzu/compatdb.ui" line="330"/>
+ <source>Report Game Compatibility</source>
+ <translation>Játék kompatibilitásának jelentése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="36"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;Should you choose to submit a test case to the &lt;/span&gt;&lt;a href=&quot;https://yuzu-emu.org/game/&quot;&gt;&lt;span style=&quot; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;yuzu Compatibility List&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;, The following information will be collected and displayed on the site:&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Hardware Information (CPU / GPU / Operating System)&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Which version of yuzu you are running&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;The connected yuzu account&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;Szeretnél küldeni egy tesztelési jelentést a &lt;/span&gt;&lt;a href=&quot;https://yuzu-emu.org/game/&quot;&gt;&lt;span style=&quot; font-size:10pt; text-decoration: underline; color:#0000ff;&quot;&gt;yuzu Kompatibilitás Listájára&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot; font-size:10pt;&quot;&gt;, A következő információkat fogjuk begyűjteni és megjeleníteni az oldalon:&lt;/span&gt;&lt;/p&gt;&lt;ul style=&quot;margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; -qt-list-indent: 1;&quot;&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Hardver Információk (CPU / GPU / Operációs rendszer)&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;A yuzu, milyen verzión fut&lt;/li&gt;&lt;li style=&quot; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;A használt yuzu fiók&lt;/li&gt;&lt;/ul&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="77"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game boot?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Elindul a játék?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="100"/>
+ <source>Yes The game starts to output video or audio</source>
+ <translation>Igen A játék ad ki magából videót vagy hangot</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="107"/>
+ <source>No The game doesn&apos;t get past the &quot;Launching...&quot; screen</source>
+ <translation>Nem A játék nem megy tovább az &quot;Indítás...&quot; képernyőn</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="124"/>
+ <source>Yes The game gets past the intro/menu and into gameplay</source>
+ <translation>Igen A játék tovább megy az intro/menü szekción, és betölt a játékmenet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="131"/>
+ <source>No The game crashes or freezes while loading or using the menu</source>
+ <translation>Nem A játék összeomlik, lefagy betöltés, vagy a menü használata közben</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="143"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game reach gameplay?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;A játék eléri a játékmenetet?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="176"/>
+ <source>Yes The game works without crashes</source>
+ <translation>Igen A játék működik összeomlások nélkül</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="183"/>
+ <source>No The game crashes or freezes during gameplay</source>
+ <translation>Nem A játék összeomlik, vagy lefagy játékmenet közben</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="195"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game work without crashing, freezing or locking up during gameplay?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Működik a játék összeomlások, lefagyások vagy leállások nélkül játékmenet közben?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="228"/>
+ <source>Yes The game can be finished without any workarounds</source>
+ <translation>Igen A játék befejezhető akármilyen probléma megoldás nélkül</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="235"/>
+ <source>No The game can&apos;t progress past a certain area</source>
+ <translation>Nem A játékot nem lehet egy ponton túl tovább vinni</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="247"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Is the game completely playable from start to finish?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;A játék teljesen befejezhető az elejétől a végéig?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="280"/>
+ <source>Major The game has major graphical errors</source>
+ <translation>Jelentős A játéknak jelentős grafikai problémái vannak</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="287"/>
+ <source>Minor The game has minor graphical errors</source>
+ <translation>Enyhe A játéknak enyhe grafikai problémái vannak </translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="294"/>
+ <source>None Everything is rendered as it looks on the Nintendo Switch</source>
+ <translation>Nincs Minden úgy van betöltve, ahogy Nintendo Switchen néz ki</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="306"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game have any graphical glitches?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Van a játéknak akármilyen grafikai problémája?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="339"/>
+ <source>Major The game has major audio errors</source>
+ <translation>Jelentős A játéknak jelentős hang problémái vannak </translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="346"/>
+ <source>Minor The game has minor audio errors</source>
+ <translation>Enyhe A játéknak enyhe hang problémái vannak </translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="353"/>
+ <source>None Audio is played perfectly</source>
+ <translation>Nincs A hang tökéletesen működik</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="365"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game have any audio glitches / missing effects?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Van a játéknak akármilyen hang problémája / kihagyott effektje?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.ui" line="389"/>
+ <source>Thank you for your submission!</source>
+ <translation>Köszönjük a jelentését!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.cpp" line="121"/>
+ <source>Submitting</source>
+ <translation>Beküldés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.cpp" line="195"/>
+ <source>Communication error</source>
+ <translation>Kommunikációs probléma</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.cpp" line="196"/>
+ <source>An error occurred while sending the Testcase</source>
+ <translation>Probléma lépett fel a tesztelési jelentés küldése során</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/compatdb.cpp" line="198"/>
+ <source>Next</source>
+ <translation>Következő</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigurationShared</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation>Automatikus (%1)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation>Alapértelmezett (%1)</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Hang</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureCamera</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.ui" line="14"/>
+ <source>Configure Infrared Camera</source>
+ <translation>Infravörös Kamera Konfigurálása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.ui" line="26"/>
+ <source>Select where the image of the emulated camera comes from. It may be a virtual camera or a real camera.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.ui" line="52"/>
+ <source>Camera Image Source:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.ui" line="71"/>
+ <source>Input device:</source>
+ <translation>Beviteli eszköz:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.ui" line="96"/>
+ <source>Preview</source>
+ <translation>Előnézet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.ui" line="108"/>
+ <source>Resolution: 320*240</source>
+ <translation>Felbontás: 320*240</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.ui" line="115"/>
+ <source>Click to preview</source>
+ <translation>Kattints az előnézethez</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.ui" line="140"/>
+ <source>Restore Defaults</source>
+ <translation>Visszaállítás alapértelmezettre</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_camera.cpp" line="140"/>
+ <source>Auto</source>
+ <translation>Automatikus</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureCpu</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="14"/>
+ <source>Form</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="17"/>
+ <source>CPU</source>
+ <translation>Processzor</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
+ <source>General</source>
+ <translation>Általános</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
+ <source>We recommend setting accuracy to &quot;Auto&quot;.</source>
+ <translation>Az &quot;Automatikus&quot; pontosság beállítást ajánljuk.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
+ <source>Unsafe CPU Optimization Settings</source>
+ <translation>Nem biztonságos CPU Optimalizálási Beállítások</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
+ <source>These settings reduce accuracy for speed.</source>
+ <translation>Ezek a beállítások csökkentik a pontosságot a gyorsaság érdekében.</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureCpuDebug</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="14"/>
+ <source>Form</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="17"/>
+ <source>CPU</source>
+ <translation>Processzor</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="25"/>
+ <source>Toggle CPU Optimizations</source>
+ <translation>CPU optimalizáció kapcsoló</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="31"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;For debugging only.&lt;/span&gt;&lt;br/&gt;If you&apos;re not sure what these do, keep all of these enabled. &lt;br/&gt;These settings, when disabled, only take effect when CPU Debugging is enabled. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Csak hibakereséshez.&lt;/span&gt;&lt;br/&gt;Ha nem vagy biztos benne, hogy ezek mit csinálnak, hagyj mindent bekapcsolva. &lt;br/&gt;Ezen beállítások kikapcsolása csak akkor lép érvénybe, ha a CPU hibakeresés engedélyezve van. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="41"/>
+ <source>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;This optimization speeds up memory accesses by the guest program.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it inlines accesses to PageTable::pointers into emitted code.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Disabling this forces all memory accesses to go through the Memory::Read/Memory::Write functions.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="48"/>
+ <source>Enable inline page tables</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="55"/>
+ <source>
+ &lt;div&gt;This optimization avoids dispatcher lookups by allowing emitted basic blocks to jump directly to other basic blocks if the destination PC is static.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="60"/>
+ <source>Enable block linking</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="67"/>
+ <source>
+ &lt;div&gt;This optimization avoids dispatcher lookups by keeping track potential return addresses of BL instructions. This approximates what happens with a return stack buffer on a real CPU.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="72"/>
+ <source>Enable return stack buffer</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="79"/>
+ <source>
+ &lt;div&gt;Enable a two-tiered dispatch system. A faster dispatcher written in assembly has a small MRU cache of jump destinations is used first. If that fails, dispatch falls back to the slower C++ dispatcher.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="84"/>
+ <source>Enable fast dispatcher</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="91"/>
+ <source>
+ &lt;div&gt;Enables an IR optimization that reduces unnecessary accesses to the CPU context structure.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="96"/>
+ <source>Enable context elimination</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="103"/>
+ <source>
+ &lt;div&gt;Enables IR optimizations that involve constant propagation.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="108"/>
+ <source>Enable constant propagation</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="115"/>
+ <source>
+ &lt;div&gt;Enables miscellaneous IR optimizations.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="120"/>
+ <source>Enable miscellaneous optimizations</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="127"/>
+ <source>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;When enabled, a misalignment is only triggered when an access crosses a page boundary.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;When disabled, a misalignment is triggered on all misaligned accesses.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="133"/>
+ <source>Enable misalignment check reduction</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="140"/>
+ <source>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;This optimization speeds up memory accesses by the guest program.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it causes guest memory reads/writes to be done directly into memory and make use of Host's MMU.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Disabling this forces all memory accesses to use Software MMU Emulation.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="147"/>
+ <source>Enable Host MMU Emulation (general memory instructions)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="154"/>
+ <source>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;This optimization speeds up exclusive memory accesses by the guest program.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it causes guest exclusive memory reads/writes to be done directly into memory and make use of Host's MMU.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Disabling this forces all exclusive memory accesses to use Software MMU Emulation.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="161"/>
+ <source>Enable Host MMU Emulation (exclusive memory instructions)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="168"/>
+ <source>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;This optimization speeds up exclusive memory accesses by the guest program.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it reduces the overhead of fastmem failure of exclusive memory accesses.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="174"/>
+ <source>Enable recompilation of exclusive memory instructions</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="181"/>
+ <source>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;This optimization speeds up memory accesses by allowing invalid memory accesses to succeed.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it reduces the overhead of all memory accesses and has no impact on programs that don't access invalid memory.&lt;/div&gt;
+ </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="187"/>
+ <source>Enable fallbacks for invalid memory accesses</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="212"/>
+ <source>CPU settings are available only when game is not running.</source>
+ <translation>A CPU beállítások csak akkor érhetők el, amikor éppen nem fut játék.</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureDebug</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
+ <source>Debugger</source>
+ <translation>Hibakereső</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
+ <source>Enable GDB Stub</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
+ <source>Port:</source>
+ <translation>Port:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
+ <source>Logging</source>
+ <translation>Naplózás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
+ <source>Open Log Location</source>
+ <translation>Naplózási Hely Megnyitása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Globális Naplózási Szűrő</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
+ <source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
+ <translation>Ha bepipálva marad, a naplózásnak a maximális nagysága 100 MB-ról 1 GB-ra növekszik</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
+ <source>Enable Extended Logging**</source>
+ <translation>Bővített Naplózás Engedélyezése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Napló mutatása a Konzolban</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
+ <source>Homebrew</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
+ <source>Arguments String</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
+ <source>Graphics</source>
+ <translation>Grafika</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Ha be van pipálva, végrehajtja az árnyékolókat ismétlő logikai változtatások nélkül</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Ismétlő biztonsági ellenőrzések tiltása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>Ha bepipálva marad, letiltja a macro HLE funkciókat. Ha engedélyezi, lassabban futnak a játékok</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>Macro HLE tiltása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
+ <source>When checked, it will dump all the macro programs of the GPU</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
+ <source>Dump Maxwell Macros</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Nsight Aftermath Engedélyezése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
+ <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
+ <source>Enable Shader Feedback</source>
+ <translation>Árnyékoló Visszajelzés Engedélyezése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>Ha bepipálva marad, letiltja a macro Just In Time összegyűjtőt. Ha engedélyezi, lassabban futnak a játékok</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Macro JIT tiltása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Ha bepipálva marad, a grafikai API lassabb hibakereső módba fog lépni</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Grafikai Hibakereső Engedélyezése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
+ <source>Advanced</source>
+ <translation>Haladó</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>Engedélyezi a yuzunak, hogy keressen működő Vulkan környezetet, amikor a program elindul. Tiltsa le, ha okoz problémát yuzu észlelésénél külsős programoknál</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>Elindítási Vulkan Ellenőrzés Végrehajtása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Webalkalmazás letiltása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Összes Kontroller Típus Engedélyezése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Auto-Stub engedélyezése** </translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
+ <source>Kiosk (Quest) Mode</source>
+ <translation>Kiosk (Quest) Mód</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
+ <source>Enable CPU Debugging</source>
+ <translation>CPU Hibakereső Engedélyezése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
+ <source>Enable Debug Asserts</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Hibakeresés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>FS Hozzáférés Naplózás Engedélyezése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
+ <source>**This will be reset automatically when yuzu closes.</source>
+ <translation>**Ez automatikusan visszaáll, amikor a yuzu leáll.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="35"/>
+ <source>Restart Required</source>
+ <translation>Újraindítás Szükséges</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="36"/>
+ <source>yuzu is required to restart in order to apply this setting.</source>
+ <translation>Szükséges a yuzu újraindítása, hogy alkalmazzuk ezt a beállítást.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
+ <source>Web applet not compiled</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
+ <source>MiniDump creation not compiled</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureDebugController</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug_controller.ui" line="14"/>
+ <source>Configure Debug Controller</source>
+ <translation>Hibakeresési Kontroller Konfigurálása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug_controller.ui" line="40"/>
+ <source>Clear</source>
+ <translation>Törlés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug_controller.ui" line="47"/>
+ <source>Defaults</source>
+ <translation>Alapértelmezettek</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureDebugTab</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug_tab.ui" line="14"/>
+ <source>Form</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug_tab.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_debug_tab.cpp" line="16"/>
+ <source>Debug</source>
+ <translation>Hibakeresés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug_tab.cpp" line="17"/>
+ <source>CPU</source>
+ <translation>Processzor</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureDialog</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="20"/>
+ <source>yuzu Configuration</source>
+ <translation>yuzu konfigurálás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Valamely beállítások csak akkor elérhetőek, amikor nem fut játék.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
+ <source>Audio</source>
+ <translation>Hang</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
+ <source>CPU</source>
+ <translation>CPU</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
+ <source>Debug</source>
+ <translation>Hibakeresés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <source>Filesystem</source>
+ <translation>Fájlrendszer</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
+ <source>General</source>
+ <translation>Általános</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
+ <source>Graphics</source>
+ <translation>Grafika</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <source>GraphicsAdvanced</source>
+ <translation>Haladó Grafika</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <source>Hotkeys</source>
+ <translation>Gyorsgombok</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
+ <source>Controls</source>
+ <translation>Irányítás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
+ <source>Profiles</source>
+ <translation>Profilok</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
+ <source>Network</source>
+ <translation>Hálózat</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
+ <source>System</source>
+ <translation>Rendszer</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
+ <source>Game List</source>
+ <translation>Játék lista</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
+ <source>Web</source>
+ <translation>Web</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureFilesystem</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="14"/>
+ <source>Form</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="17"/>
+ <source>Filesystem</source>
+ <translation>Fájlrendszer</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="25"/>
+ <source>Storage Directories</source>
+ <translation>Tárolási Könyvtárak</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="31"/>
+ <source>NAND</source>
+ <translation>NAND</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="114"/>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="136"/>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="143"/>
+ <source>...</source>
+ <translation>...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="51"/>
+ <source>SD Card</source>
+ <translation>SD Kártya</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="84"/>
+ <source>Gamecard</source>
+ <translation>Játékkártya</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="90"/>
+ <source>Path</source>
+ <translation>Útvonal</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="100"/>
+ <source>Inserted</source>
+ <translation>Beillesztve</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="107"/>
+ <source>Current Game</source>
+ <translation>Jelenlegi Játék</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="124"/>
+ <source>Patch Manager</source>
+ <translation>Patch kezelő</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="152"/>
+ <source>Dump Decompressed NSOs</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="159"/>
+ <source>Dump ExeFS</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="168"/>
+ <source>Mod Load Root</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="175"/>
+ <source>Dump Root</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="201"/>
+ <source>Caching</source>
+ <translation>Gyorsítótárazás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="209"/>
+ <source>Cache Game List Metadata</source>
+ <translation>Játéklista metaadatainak gyorsítótárazása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="216"/>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="140"/>
+ <source>Reset Metadata Cache</source>
+ <translation>Metaadat gyorsítótár visszaállítása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="93"/>
+ <source>Select Emulated NAND Directory...</source>
+ <translation>Válasszon ki Emulált NAND Könyvtárat...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="96"/>
+ <source>Select Emulated SD Directory...</source>
+ <translation>Válasszon ki Emulált SD Könyvtárat...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="99"/>
+ <source>Select Gamecard Path...</source>
+ <translation>Válasszon ki Játékkártya Könyvtárat...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="102"/>
+ <source>Select Dump Directory...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="105"/>
+ <source>Select Mod Load Directory...</source>
+ <translation>Válasszon ki Mod Betöltő Könyvtárat...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="132"/>
+ <source>The metadata cache is already empty.</source>
+ <translation>A metaadat gyórsítótár már üres.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="136"/>
+ <source>The operation completed successfully.</source>
+ <translation>A művelet sikeresen végrehajtva.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="141"/>
+ <source>The metadata cache couldn&apos;t be deleted. It might be in use or non-existent.</source>
+ <translation>A metaadat gyórsítótárat nem lehetett törölni. Lehetséges, hogy használatban van, vagy nem létezik.</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureGeneral</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="14"/>
+ <source>Form</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="25"/>
+ <source>General</source>
+ <translation>Általános</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
+ <source>Reset All Settings</source>
+ <translation>Összes Beállítás Visszaállítása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
+ <source>yuzu</source>
+ <translation>yuzu</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
+ <source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
+ <translation>Ez visszaállítja az összes beállítást és törli az összes játékonkénti konfigurációkat. Ez nem fogja kitörölni a játék könyvtárakat, profilokat, se a beviteli profilokat. Folytatja?</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureGraphics</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="14"/>
+ <source>Form</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="17"/>
+ <source>Graphics</source>
+ <translation>Grafika</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="25"/>
+ <source>API Settings</source>
+ <translation>API Beállítások</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
+ <source>Graphics Settings</source>
+ <translation>Grafikai Beállítások</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
+ <source>Background Color:</source>
+ <translation>Háttérszín:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
+ <comment>FSR sharpening percentage (e.g. 50%)</comment>
+ <translation>%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
+ <source>Off</source>
+ <translation>Ki</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
+ <source>VSync Off</source>
+ <translation>VSync Ki</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
+ <source>Recommended</source>
+ <translation>Ajánlott</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
+ <source>On</source>
+ <translation>Be</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
+ <source>VSync On</source>
+ <translation>VSync Be</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureGraphicsAdvanced</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="14"/>
+ <source>Form</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="17"/>
+ <source>Advanced</source>
+ <translation>Haladó</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="25"/>
+ <source>Advanced Graphics Settings</source>
+ <translation>Haladó Grafikai Beállítások</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureHotkeys</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.ui" line="14"/>
+ <source>Hotkey Settings</source>
+ <translation>Gyorsgomb Beállítások</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.ui" line="17"/>
+ <source>Hotkeys</source>
+ <translation>Gyorsgombok</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.ui" line="25"/>
+ <source>Double-click on a binding to change it.</source>
+ <translation>A módosításhoz kattints duplán egy hozzárendelésre.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.ui" line="45"/>
+ <source>Clear All</source>
+ <translation>Összes Törlése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.ui" line="52"/>
+ <source>Restore Defaults</source>
+ <translation>Visszaállítás alapértelmezettre</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="100"/>
+ <source>Action</source>
+ <translation>Akció</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="100"/>
+ <source>Hotkey</source>
+ <translation>Gyorsgomb</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="100"/>
+ <source>Controller Hotkey</source>
+ <translation>Kontroller Gyorsgomb</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="168"/>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="394"/>
+ <source>Conflicting Key Sequence</source>
+ <translation>Ütköző kulcssorozat</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="141"/>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="169"/>
+ <source>The entered key sequence is already assigned to: %1</source>
+ <translation>A megadott kulcssorozat már hozzá van rendelve a: %1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="176"/>
+ <source>[waiting]</source>
+ <translation>[várakozás]</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="253"/>
+ <source>Invalid</source>
+ <translation>Érvénytelen</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="358"/>
+ <source>Restore Default</source>
+ <translation>Alapértelmezettre állítás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="359"/>
+ <source>Clear</source>
+ <translation>Törlés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="380"/>
+ <source>Conflicting Button Sequence</source>
+ <translation>Ütköző gombsor</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="381"/>
+ <source>The default button sequence is already assigned to: %1</source>
+ <translation>Az alapértelmezett gombsor már hozzá van rendelve a: %1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="395"/>
+ <source>The default key sequence is already assigned to: %1</source>
+ <translation>Az alapértelmezett kulcssorozat már hozzá van rendelve a: %1</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureInput</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="14"/>
+ <source>ConfigureInput</source>
+ <translation>Bevitel Konfigurálása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="42"/>
+ <source>Player 1</source>
+ <translation>Játékos 1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="47"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="50"/>
+ <source>Player 2</source>
+ <translation>Játékos 2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="55"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="58"/>
+ <source>Player 3</source>
+ <translation>Játékos 3</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="66"/>
+ <source>Player 4</source>
+ <translation>Játékos 4</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="71"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="74"/>
+ <source>Player 5</source>
+ <translation>Játékos 5</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="79"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="82"/>
+ <source>Player 6</source>
+ <translation>Játékos 6</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="87"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="90"/>
+ <source>Player 7</source>
+ <translation>Játékos 7</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="98"/>
+ <source>Player 8</source>
+ <translation>Játékos 8</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="103"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="106"/>
+ <source>Advanced</source>
+ <translation>Haladó</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="138"/>
+ <source>Console Mode</source>
+ <translation>Konzol Mód</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="159"/>
+ <source>Docked</source>
+ <translation>Dokkolva</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="169"/>
+ <source>Handheld</source>
+ <translation>Kézi</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="179"/>
+ <source>Vibration</source>
+ <translation>Rezgés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="215"/>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="261"/>
+ <source>Configure</source>
+ <translation>Konfigurálás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="225"/>
+ <source>Motion</source>
+ <translation>Mozgás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="296"/>
+ <source>Controllers</source>
+ <translation>Kontrollerek</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="324"/>
+ <source>1</source>
+ <translation>1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="365"/>
+ <source>2</source>
+ <translation>2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="375"/>
+ <source>3</source>
+ <translation>3</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="385"/>
+ <source>4</source>
+ <translation>4</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="395"/>
+ <source>5</source>
+ <translation>5</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="405"/>
+ <source>6</source>
+ <translation>6</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="415"/>
+ <source>7</source>
+ <translation>7</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="425"/>
+ <source>8</source>
+ <translation>8</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="435"/>
+ <source>Connected</source>
+ <translation>Csatlakoztatva</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="494"/>
+ <source>Defaults</source>
+ <translation>Alapértelmezettek</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input.ui" line="537"/>
+ <source>Clear</source>
+ <translation>Törlés</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureInputAdvanced</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="14"/>
+ <source>Configure Input</source>
+ <translation>Bevitel Konfigurálása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="74"/>
+ <source>Joycon Colors</source>
+ <translation>Joycon Színei</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="125"/>
+ <source>Player 1</source>
+ <translation>Játékos 1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="164"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="450"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="754"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1040"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1365"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1651"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1955"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2241"/>
+ <source>L Body</source>
+ <translation>Bal Test</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="219"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="505"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="809"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1095"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1420"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1706"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2010"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2296"/>
+ <source>L Button</source>
+ <translation>Bal Gomb</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="295"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="581"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="885"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1171"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1496"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1782"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2086"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2372"/>
+ <source>R Body</source>
+ <translation>Jobb Test</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="636"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="940"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1226"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1551"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1837"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2141"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2427"/>
+ <source>R Button</source>
+ <translation>Jobb Gomb</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="411"/>
+ <source>Player 2</source>
+ <translation>Játékos 2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="715"/>
+ <source>Player 3</source>
+ <translation>Játékos 3</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1001"/>
+ <source>Player 4</source>
+ <translation>Játékos 4</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1326"/>
+ <source>Player 5</source>
+ <translation>Játékos 5</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1612"/>
+ <source>Player 6</source>
+ <translation>Játékos 6</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1916"/>
+ <source>Player 7</source>
+ <translation>Játékos 7</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2202"/>
+ <source>Player 8</source>
+ <translation>Játékos 8</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2533"/>
+ <source>Emulated Devices</source>
+ <translation>Emulált Eszközök</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2545"/>
+ <source>Keyboard</source>
+ <translation>Billentyűzet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2558"/>
+ <source>Mouse</source>
+ <translation>Egér</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2565"/>
+ <source>Touchscreen</source>
+ <translation>Érintőképernyő</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2588"/>
+ <source>Advanced</source>
+ <translation>Haladó</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2595"/>
+ <source>Debug Controller</source>
+ <translation>Kontroller Hibakeresése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2602"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2616"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2630"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2756"/>
+ <source>Configure</source>
+ <translation>Konfigurálás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2609"/>
+ <source>Ring Controller</source>
+ <translation>Ring Kontroller</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2623"/>
+ <source>Infrared Camera</source>
+ <translation>Infravörös Kamera</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2640"/>
+ <source>Other</source>
+ <translation>Egyéb</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2652"/>
+ <source>Emulate Analog with Keyboard Input</source>
+ <translation>Analóg Emulálása Billentyűzet Bevitellel</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2659"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2701"/>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2717"/>
+ <source>Requires restarting yuzu</source>
+ <translation>Yuzu újraindítása szükséges</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2668"/>
+ <source>Enable XInput 8 player support (disables web applet)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2681"/>
+ <source>Enable UDP controllers (not needed for motion)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2694"/>
+ <source>Controller navigation</source>
+ <translation>Kontroller nagiváció</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2710"/>
+ <source>Enable direct JoyCon driver</source>
+ <translation>Közvetlen JoyCon driver engedélyezése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2726"/>
+ <source>Enable direct Pro Controller driver [EXPERIMENTAL]</source>
+ <translation>Közvetlen Pro Kontroller driver engedélyezése [KÍSÉRLETI]</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2733"/>
+ <source>Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use.</source>
+ <translation>Engedélyezi az ugyanolyan Amiibo korlátlan használatát, olyan játékokban ahol másképpen egyszeri használatra lenne limitálva.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2742"/>
+ <source>Use random Amiibo ID</source>
+ <translation>Véletlenszerű Amiibo ID használata</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2749"/>
+ <source>Motion / Touch</source>
+ <translation>Mozgás / Érintés</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureInputPerGame</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="14"/>
+ <source>Form</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="17"/>
+ <source>Graphics</source>
+ <translation>Grafika</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="28"/>
+ <source>Input Profiles</source>
+ <translation>Beviteli Profilok</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="49"/>
+ <source>Player 1 Profile</source>
+ <translation>Játékos 1 Profilja</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="84"/>
+ <source>Player 2 Profile</source>
+ <translation>Játékos 2 Profilja</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="119"/>
+ <source>Player 3 Profile</source>
+ <translation>Játékos 3 Profilja</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="154"/>
+ <source>Player 4 Profile</source>
+ <translation>Játékos 4 Profilja</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="189"/>
+ <source>Player 5 Profile</source>
+ <translation>Játékos 5 Profilja</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="224"/>
+ <source>Player 6 Profile</source>
+ <translation>Játékos 6 Profilja</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="259"/>
+ <source>Player 7 Profile</source>
+ <translation>Játékos 7 Profilja</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="294"/>
+ <source>Player 8 Profile</source>
+ <translation>Játékos 8 Profilja</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.cpp" line="35"/>
+ <source>Use global input configuration</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_per_game.cpp" line="47"/>
+ <source>Player %1 profile</source>
+ <translation>Játékos %1 profilja</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureInputPlayer</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="14"/>
+ <source>Configure Input</source>
+ <translation>Bevitel Konfigurálása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="63"/>
+ <source>Connect Controller</source>
+ <translation>Csatlakoztatott kontroller</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="100"/>
+ <source>Input Device</source>
+ <translation>Bemeneti Eszköz</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="137"/>
+ <source>Profile</source>
+ <translation>Profil</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="177"/>
+ <source>Save</source>
+ <translation>Mentés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="193"/>
+ <source>New</source>
+ <translation>Új</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="209"/>
+ <source>Delete</source>
+ <translation>Törlés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="272"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1340"/>
+ <source>Left Stick</source>
+ <translation>Bal kar</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="330"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="372"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="906"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="945"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2564"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2603"/>
+ <source>Up</source>
+ <translation>Fel</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="403"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="442"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="976"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1015"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2050"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2634"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2673"/>
+ <source>Left</source>
+ <translation>Balra</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="452"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="491"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1025"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1064"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2099"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2683"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2722"/>
+ <source>Right</source>
+ <translation>Jobbra</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="534"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="573"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1107"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1146"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2765"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2804"/>
+ <source>Down</source>
+ <translation>Le</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="604"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="643"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2835"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2874"/>
+ <source>Pressed</source>
+ <translation>Lenyomva</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="653"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="692"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2884"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2923"/>
+ <source>Modifier</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="702"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2933"/>
+ <source>Range</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="735"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2966"/>
+ <source>%</source>
+ <translation>%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="778"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3006"/>
+ <source>Deadzone: 0%</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="802"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3030"/>
+ <source>Modifier Range: 0%</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="848"/>
+ <source>D-Pad</source>
+ <translation>D-Pad</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1232"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1271"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1345"/>
+ <source>L</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1287"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1326"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1337"/>
+ <source>ZL</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1407"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1446"/>
+ <source>Minus</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1456"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1495"/>
+ <source>Capture</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1526"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1565"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1336"/>
+ <source>Plus</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1575"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1614"/>
+ <source>Home</source>
+ <translation>Home</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1679"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1718"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1339"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1346"/>
+ <source>R</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1734"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1773"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1338"/>
+ <source>ZR</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1854"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1893"/>
+ <source>SL</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1903"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1942"/>
+ <source>SR</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2011"/>
+ <source>Motion 1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2060"/>
+ <source>Motion 2</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2151"/>
+ <source>Face Buttons</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2209"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2248"/>
+ <source>X</source>
+ <translation>X</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2279"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2318"/>
+ <source>Y</source>
+ <translation>Y</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2328"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2367"/>
+ <source>A</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2410"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2449"/>
+ <source>B</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2497"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1341"/>
+ <source>Right Stick</source>
+ <translation>Jobb kar</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3085"/>
+ <source>Mouse panning</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
+ <source>Configure</source>
+ <translation>Konfigurálás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="384"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="469"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="567"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="662"/>
+ <source>Clear</source>
+ <translation>Törlés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="386"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="471"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="571"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="590"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="664"/>
+ <source>[not set]</source>
+ <translation>[nincs beállítva]</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="389"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="415"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="676"/>
+ <source>Invert button</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="395"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="667"/>
+ <source>Toggle button</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="401"/>
+ <source>Turbo button</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="409"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="618"/>
+ <source>Invert axis</source>
+ <translation>Fordított tengely</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="421"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="425"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="478"/>
+ <source>Set threshold</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="425"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="478"/>
+ <source>Choose a value between 0% and 100%</source>
+ <translation>Válassz egy 0% és 100% közötti értéket</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="437"/>
+ <source>Toggle axis</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="474"/>
+ <source>Set gyro threshold</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="483"/>
+ <source>Calibrate sensor</source>
+ <translation>Szenzor kalibrálása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="523"/>
+ <source>Map Analog Stick</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="524"/>
+ <source>After pressing OK, first move your joystick horizontally, and then vertically.
+To invert the axes, first move your joystick vertically, and then horizontally.</source>
+ <translation>Az OK megnyomása után először mozgasd a kart vízszintesen, majd függőlegesen.
+A tengely megfordításához mozgasd a kart először függőlegesen, majd vízszintesen.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="592"/>
+ <source>Center axis</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="700"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1065"/>
+ <source>Deadzone: %1%</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="709"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1070"/>
+ <source>Modifier Range: %1%</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="750"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1095"/>
+ <source>Pro Controller</source>
+ <translation>Pro kontroller</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1099"/>
+ <source>Dual Joycons</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1103"/>
+ <source>Left Joycon</source>
+ <translation>Bal Joycon</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1107"/>
+ <source>Right Joycon</source>
+ <translation>Jobb Joycon</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1111"/>
+ <source>Handheld</source>
+ <translation>Kézben</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1115"/>
+ <source>GameCube Controller</source>
+ <translation>GameCube kontroller</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1124"/>
+ <source>Poke Ball Plus</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1128"/>
+ <source>NES Controller</source>
+ <translation>NES kontroller</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1132"/>
+ <source>SNES Controller</source>
+ <translation>SNES kontroller</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1136"/>
+ <source>N64 Controller</source>
+ <translation>N64 kontroller</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1140"/>
+ <source>Sega Genesis</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1344"/>
+ <source>Start / Pause</source>
+ <translation>Indítás / Szünet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1347"/>
+ <source>Z</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1348"/>
+ <source>Control Stick</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1349"/>
+ <source>C-Stick</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1450"/>
+ <source>Shake!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1452"/>
+ <source>[waiting]</source>
+ <translation>[várokazás]</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1547"/>
+ <source>New Profile</source>
+ <translation>Új profil</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1547"/>
+ <source>Enter a profile name:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1555"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1563"/>
+ <source>Create Input Profile</source>
+ <translation>Bemeneti profil létrehozása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1556"/>
+ <source>The given profile name is not valid!</source>
+ <translation>A megadott profilnév érvénytelen!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1564"/>
+ <source>Failed to create the input profile &quot;%1&quot;</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1584"/>
+ <source>Delete Input Profile</source>
+ <translation>Beviteli profil törlése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1585"/>
+ <source>Failed to delete the input profile &quot;%1&quot;</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1607"/>
+ <source>Load Input Profile</source>
+ <translation>Beviteli profil betöltése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1608"/>
+ <source>Failed to load the input profile &quot;%1&quot;</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1633"/>
+ <source>Save Input Profile</source>
+ <translation>Beviteli profil mentése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1634"/>
+ <source>Failed to save the input profile &quot;%1&quot;</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureInputProfileDialog</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_profile_dialog.ui" line="14"/>
+ <source>Create Input Profile</source>
+ <translation>Bemeneti profil létrehozása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_profile_dialog.ui" line="40"/>
+ <source>Clear</source>
+ <translation>Törlés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_profile_dialog.ui" line="47"/>
+ <source>Defaults</source>
+ <translation>Alapértelmezettek</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureMotionTouch</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="6"/>
+ <source>Configure Motion / Touch</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="15"/>
+ <source>Touch</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="23"/>
+ <source>UDP Calibration:</source>
+ <translation>UDP kalibráció:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="30"/>
+ <source>(100, 50) - (1800, 850)</source>
+ <translation>(100, 50) - (1800, 850)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="46"/>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="242"/>
+ <source>Configure</source>
+ <translation>Konfigurálás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="57"/>
+ <source>Touch from button profile:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="85"/>
+ <source>CemuhookUDP Config</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="91"/>
+ <source>You may use any Cemuhook compatible UDP input source to provide motion and touch input.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="134"/>
+ <source>Server:</source>
+ <translation>Szerver:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="161"/>
+ <source>Port:</source>
+ <translation>Port:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="188"/>
+ <source>Learn More</source>
+ <translation>Tudj meg többet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="201"/>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="265"/>
+ <source>Test</source>
+ <translation>Teszt</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="214"/>
+ <source>Add Server</source>
+ <translation>Szerver hozzáadása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="247"/>
+ <source>Remove Server</source>
+ <translation>Szerver eltávolítása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="87"/>
+ <source>&lt;a href=&apos;https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;Learn More&lt;/span&gt;&lt;/a&gt;</source>
+ <translation>&lt;a href=&apos;https://yuzu-emu.org/wiki/using-a-controller-or-android-phone-for-motion-or-touch-input&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;Tudj meg többet&lt;/span&gt;&lt;/a&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="168"/>
+ <source>%1:%2</source>
+ <translation>%1:%2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="173"/>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="187"/>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="193"/>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="287"/>
+ <source>yuzu</source>
+ <translation>yuzu</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="173"/>
+ <source>Port number has invalid characters</source>
+ <translation>A port érvénytelen karaktereket tartalmaz</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="177"/>
+ <source>Port has to be in range 0 and 65353</source>
+ <translation>A portnak 0 és 65353 közötti tartományban kell lennie.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="181"/>
+ <source>IP address is not valid</source>
+ <translation>Érvénytelen IP-cím</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="187"/>
+ <source>This UDP server already exists</source>
+ <translation>Ez az UDP szerver már létezik</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="193"/>
+ <source>Unable to add more than 8 servers</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="209"/>
+ <source>Testing</source>
+ <translation>Tesztelés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="225"/>
+ <source>Configuring</source>
+ <translation>Konfigurálás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="256"/>
+ <source>Test Successful</source>
+ <translation>Sikeres teszt</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="257"/>
+ <source>Successfully received data from the server.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="259"/>
+ <source>Test Failed</source>
+ <translation>Sikertelen teszt</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="260"/>
+ <source>Could not receive valid data from the server.&lt;br&gt;Please verify that the server is set up correctly and the address and port are correct.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="288"/>
+ <source>UDP Test or calibration configuration is in progress.&lt;br&gt;Please wait for them to finish.</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureMousePanning</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="6"/>
+ <source>Configure mouse panning</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
+ <source>Enable mouse panning</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
+ <source>Sensitivity</source>
+ <translation>Érzékenység</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
+ <source>Horizontal</source>
+ <translation>Vízszintes</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
+ <source>%</source>
+ <translation>%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
+ <source>Vertical</source>
+ <translation>Függőleges</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="85"/>
+ <source>Deadzone counterweight</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="88"/>
+ <source>Counteracts a game&apos;s built-in deadzone</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
+ <source>Stick decay</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
+ <source>Strength</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <source>Minimum</source>
+ <translation>Minimum</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
+ <source>Default</source>
+ <translation>Alapértelmezett</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>Emulált egér engedélyezve</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureNetwork</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_network.ui" line="14"/>
+ <source>Form</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_network.ui" line="17"/>
+ <source>Network</source>
+ <translation>Hálózat</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_network.ui" line="25"/>
+ <source>General</source>
+ <translation>Általános</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_network.ui" line="34"/>
+ <source>Network Interface</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_network.cpp" line="15"/>
+ <source>None</source>
+ <translation>Nincs</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigurePerGame</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
+ <source>Dialog</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
+ <source>Info</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
+ <source>Name</source>
+ <translation>Név</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
+ <source>Title ID</source>
+ <translation>Játék azonosító</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
+ <source>Filename</source>
+ <translation>Fájlnév</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
+ <source>Format</source>
+ <translation>Formátum</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
+ <source>Version</source>
+ <translation>Verzió</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
+ <source>Size</source>
+ <translation>Méret</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
+ <source>Developer</source>
+ <translation>Fejlesztő</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Valamely beállítások csak akkor elérhetőek, amikor nem fut játék.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Kiegészítők</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <source>System</source>
+ <translation>Rendszer</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
+ <source>CPU</source>
+ <translation>Processzor</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
+ <source>Graphics</source>
+ <translation>Grafika</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <source>Adv. Graphics</source>
+ <translation>Haladó graf.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
+ <source>Audio</source>
+ <translation>Hang</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
+ <source>Input Profiles</source>
+ <translation>Beviteli Profilok</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
+ <source>Properties</source>
+ <translation>Tulajdonságok</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigurePerGameAddons</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game_addons.ui" line="14"/>
+ <source>Form</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game_addons.ui" line="17"/>
+ <source>Add-Ons</source>
+ <translation>Kiegészítők</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game_addons.cpp" line="46"/>
+ <source>Patch Name</source>
+ <translation>Patch Név</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_per_game_addons.cpp" line="47"/>
+ <source>Version</source>
+ <translation>Verzió</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureProfileManager</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="14"/>
+ <source>Form</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="17"/>
+ <source>Profiles</source>
+ <translation>Profilok</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="25"/>
+ <source>Profile Manager</source>
+ <translation>Profilkezelő</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="42"/>
+ <source>Current User</source>
+ <translation>Jelenlegi felhasználó</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="86"/>
+ <source>Username</source>
+ <translation>Felhasználónév</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="116"/>
+ <source>Set Image</source>
+ <translation>Kép beállítása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="136"/>
+ <source>Add</source>
+ <translation>Hozzáadás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="146"/>
+ <source>Rename</source>
+ <translation>Átnevezés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="156"/>
+ <source>Remove</source>
+ <translation>Eltávolítás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="168"/>
+ <source>Profile management is available only when game is not running.</source>
+ <translation>A profilkezelés játék közben nem érhető el.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="55"/>
+ <source>%1
+%2</source>
+ <comment>%1 is the profile username, %2 is the formatted UUID (e.g. 00112233-4455-6677-8899-AABBCCDDEEFF))</comment>
+ <translation>%1
+%2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="73"/>
+ <source>Enter Username</source>
+ <translation>Felhasználónév megadása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="139"/>
+ <source>Users</source>
+ <translation>Felhasználók</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="201"/>
+ <source>Enter a username for the new user:</source>
+ <translation>Add meg az új felhasználó nevét:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="221"/>
+ <source>Enter a new username:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="271"/>
+ <source>Select User Image</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="272"/>
+ <source>JPEG Images (*.jpg *.jpeg)</source>
+ <translation>JPEG képek (*.jpg *.jpeg)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="281"/>
+ <source>Error deleting image</source>
+ <translation>Hiba történt a kép törlése során</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="282"/>
+ <source>Error occurred attempting to overwrite previous image at: %1.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="290"/>
+ <source>Error deleting file</source>
+ <translation>Hiba történt a fájl törlés során</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="291"/>
+ <source>Unable to delete existing file: %1.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="298"/>
+ <source>Error creating user image directory</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="299"/>
+ <source>Unable to create directory %1 for storing user images.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="304"/>
+ <source>Error copying user image</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="305"/>
+ <source>Unable to copy image from %1 to %2</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="314"/>
+ <source>Error resizing user image</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="315"/>
+ <source>Unable to resize image</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureProfileManagerDeleteDialog</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="332"/>
+ <source>Delete this user? All of the user&apos;s save data will be deleted.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="344"/>
+ <source>Confirm Delete</source>
+ <translation>Törlés megerősítése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="360"/>
+ <source>Name: %1
+UUID: %2</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureRingController</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="14"/>
+ <source>Configure Ring Controller</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="26"/>
+ <source>To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="52"/>
+ <source>Virtual Ring Sensor Parameters</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="84"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="123"/>
+ <source>Pull</source>
+ <translation>Húzás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="133"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="172"/>
+ <source>Push</source>
+ <translation>Tolás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="206"/>
+ <source>Deadzone: 0%</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="233"/>
+ <source>Direct Joycon Driver</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="293"/>
+ <source>Enable Ring Input</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="300"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="317"/>
+ <source>Enable</source>
+ <translation>Engedélyezés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="307"/>
+ <source>Ring Sensor Value</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="314"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="282"/>
+ <source>Not connected</source>
+ <translation>Nincs csatlakoztatva</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="344"/>
+ <source>Restore Defaults</source>
+ <translation>Visszaállítás alapértelmezettre</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="168"/>
+ <source>Clear</source>
+ <translation>Törlés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="170"/>
+ <source>[not set]</source>
+ <translation>[nincs beállítva]</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="172"/>
+ <source>Invert axis</source>
+ <translation>Fordított tengely</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="191"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="257"/>
+ <source>Deadzone: %1%</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="279"/>
+ <source>Error enabling ring input</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="285"/>
+ <source>Direct Joycon driver is not enabled</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="290"/>
+ <source>Configuring</source>
+ <translation>Konfigurálás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="302"/>
+ <source>The current mapped device doesn&apos;t support the ring controller</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="306"/>
+ <source>The current mapped device doesn&apos;t have a ring attached</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="309"/>
+ <source>The current mapped device is not connected</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="313"/>
+ <source>Unexpected driver result %1</source>
+ <translation>Váratlan illesztőprogram eredmény %1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="336"/>
+ <source>[waiting]</source>
+ <translation>[várokazás]</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureSystem</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="14"/>
+ <source>Form</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
+ <source>System</source>
+ <translation>Rendszer</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation>Mag</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
+ <source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
+ <translation>Figyelmeztetés: A(z) &quot;%1&quot; nyelv nem érvényes a(z) &quot;%2&quot; régióra</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureTas</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="11"/>
+ <source>TAS</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="17"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Reads controller input from scripts in the same format as TAS-nx scripts.&lt;br/&gt;For a more detailed explanation, please consult the &lt;a href=&quot;https://yuzu-emu.org/help/feature/tas/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;help page&lt;/span&gt;&lt;/a&gt; on the yuzu website.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="27"/>
+ <source>To check which hotkeys control the playback/recording, please refer to the Hotkey settings (Configure -&gt; General -&gt; Hotkeys).</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="37"/>
+ <source>WARNING: This is an experimental feature.&lt;br/&gt;It will not play back scripts frame perfectly with the current, imperfect syncing method.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="54"/>
+ <source>Settings</source>
+ <translation>Beállítások</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="60"/>
+ <source>Enable TAS features</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="67"/>
+ <source>Loop script</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="77"/>
+ <source>Pause execution during loads</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="91"/>
+ <source>Script Directory</source>
+ <translation>Szkript könyvtár</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="97"/>
+ <source>Path</source>
+ <translation>Útvonal</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.ui" line="104"/>
+ <source>...</source>
+ <translation>...</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureTasDialog</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.cpp" line="19"/>
+ <source>TAS Configuration</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_tas.cpp" line="49"/>
+ <source>Select TAS Load Directory...</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ConfigureTouchFromButton</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="14"/>
+ <source>Configure Touchscreen Mappings</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="22"/>
+ <source>Mapping:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="48"/>
+ <source>New</source>
+ <translation>Új</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="61"/>
+ <source>Delete</source>
+ <translation>Törlés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="74"/>
+ <source>Rename</source>
+ <translation>Átnevezés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="92"/>
+ <source>Click the bottom area to add a point, then press a button to bind.
+Drag points to change position, or double-click table cells to edit values.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="116"/>
+ <source>Delete Point</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="78"/>
+ <source>Button</source>
+ <translation>Gomb</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="78"/>
+ <source>X</source>
+ <comment>X axis</comment>
+ <translation>X</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="78"/>
+ <source>Y</source>
+ <comment>Y axis</comment>
+ <translation>Y</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="195"/>
+ <source>New Profile</source>
+ <translation>Új profil</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="195"/>
+ <source>Enter the name for the new profile.</source>
+ <translation>Add meg az új profil nevét.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="206"/>
+ <source>Delete Profile</source>
+ <translation>Profil törlése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="206"/>
+ <source>Delete profile %1?</source>
+ <translation>Törlöd a(z) %1 profilt?</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="219"/>
+ <source>Rename Profile</source>
+ <translation>Profil átnevezése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="219"/>
+ <source>New name:</source>
+ <translation>Új név:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="231"/>
+ <source>[press key]</source>
+ <translation>[nyomj meg egy gombot]</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureTouchscreenAdvanced</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touchscreen_advanced.ui" line="14"/>
+ <source>Configure Touchscreen</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touchscreen_advanced.ui" line="26"/>
+ <source>Warning: The settings in this page affect the inner workings of yuzu&apos;s emulated touchscreen. Changing them may result in undesirable behavior, such as the touchscreen partially or not working. You should only use this page if you know what you are doing.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touchscreen_advanced.ui" line="52"/>
+ <source>Touch Parameters</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touchscreen_advanced.ui" line="71"/>
+ <source>Touch Diameter Y</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touchscreen_advanced.ui" line="91"/>
+ <source>Touch Diameter X</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touchscreen_advanced.ui" line="98"/>
+ <source>Rotational Angle</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touchscreen_advanced.ui" line="132"/>
+ <source>Restore Defaults</source>
+ <translation>Visszaállítás alapértelmezettre</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureUI</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
+ <source>None</source>
+ <translation>Nincs</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
+ <source>Small (32x32)</source>
+ <translation>Kicsi (32x32)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <source>Standard (64x64)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <source>Large (128x128)</source>
+ <translation>Nagy (128x128)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <source>Full Size (256x256)</source>
+ <translation>Teljes méret (256x256)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
+ <source>Small (24x24)</source>
+ <translation>Kicsi (24x24)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
+ <source>Standard (48x48)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
+ <source>Large (72x72)</source>
+ <translation>Nagy (72x72)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
+ <source>Filename</source>
+ <translation>Fájlnév</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
+ <source>Filetype</source>
+ <translation>Fájltípus</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
+ <source>Title ID</source>
+ <translation>Játék azonosító</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
+ <source>Title Name</source>
+ <translation>Játék neve</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureUi</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="14"/>
+ <source>Form</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="17"/>
+ <source>UI</source>
+ <translation>Menü</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="23"/>
+ <source>General</source>
+ <translation>Általános</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="31"/>
+ <source>Note: Changing language will apply your configuration.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="43"/>
+ <source>Interface language:</source>
+ <translation>Felület nyelve:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="57"/>
+ <source>Theme:</source>
+ <translation>Téma:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="74"/>
+ <source>Game List</source>
+ <translation>Játék lista</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="82"/>
+ <source>Show Compatibility List</source>
+ <translation>Kompatibilitási lista mutatása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="89"/>
+ <source>Show Add-Ons Column</source>
+ <translation>Kiegészítők oszlop mutatása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="96"/>
+ <source>Show Size Column</source>
+ <translation>Méret oszlop mutatása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="103"/>
+ <source>Show File Types Column</source>
+ <translation>Fájltípus oszlop mutatása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="112"/>
+ <source>Game Icon Size:</source>
+ <translation>Játék ikonméret:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="126"/>
+ <source>Folder Icon Size:</source>
+ <translation>Mappa ikonméret:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="140"/>
+ <source>Row 1 Text:</source>
+ <translation>1. sor szövege:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="154"/>
+ <source>Row 2 Text:</source>
+ <translation>2. sor szövege:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="171"/>
+ <source>Screenshots</source>
+ <translation>Képernyőmentések</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="179"/>
+ <source>Ask Where To Save Screenshots (Windows Only)</source>
+ <translation>Kérdezze meg a képernyőmentések útvonalát (csak Windowson)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="188"/>
+ <source>Screenshots Path: </source>
+ <translation>Képernyőmentések útvonala:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="198"/>
+ <source>...</source>
+ <translation>...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Felbontás:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
+ <source>Select Screenshots Path...</source>
+ <translation>Képernyőmentések útvonala...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
+ <source>&lt;System&gt;</source>
+ <translation>&lt;System&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation>Auto (%1 x %2, %3 x %4)</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureVibration</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="14"/>
+ <source>Configure Vibration</source>
+ <translation>Rezgés konfigurálása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="23"/>
+ <source>Press any controller button to vibrate the controller.</source>
+ <translation>Nyomj meg bármilyen gombot a kontroller rezegtetéséhez.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="30"/>
+ <source>Vibration</source>
+ <translation>Vibráció</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="63"/>
+ <source>Player 1</source>
+ <translation>Játékos 1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="148"/>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="200"/>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="252"/>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="322"/>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="374"/>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="426"/>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="478"/>
+ <source>%</source>
+ <translation>%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="115"/>
+ <source>Player 2</source>
+ <translation>Játékos 2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="167"/>
+ <source>Player 3</source>
+ <translation>Játékos 3</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="219"/>
+ <source>Player 4</source>
+ <translation>Játékos 4</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="289"/>
+ <source>Player 5</source>
+ <translation>Játékos 5</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="341"/>
+ <source>Player 6</source>
+ <translation>Játékos 6</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="393"/>
+ <source>Player 7</source>
+ <translation>Játékos 7</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="445"/>
+ <source>Player 8</source>
+ <translation>Játékos 8</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="503"/>
+ <source>Settings</source>
+ <translation>Beállítások</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_vibration.ui" line="509"/>
+ <source>Enable Accurate Vibration</source>
+ <translation>Pontos rezgés engedélyezése</translation>
+ </message>
+</context>
+<context>
+ <name>ConfigureWeb</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="14"/>
+ <source>Form</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="17"/>
+ <source>Web</source>
+ <translation>Web</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="25"/>
+ <source>yuzu Web Service</source>
+ <translation>yuzu webszolgáltatás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="31"/>
+ <source>By providing your username and token, you agree to allow yuzu to collect additional usage data, which may include user identifying information.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="49"/>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="159"/>
+ <source>Verify</source>
+ <translation>Megerősítés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="56"/>
+ <source>Sign up</source>
+ <translation>Regisztráció</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="66"/>
+ <source>Token: </source>
+ <translation>Token: </translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="76"/>
+ <source>Username: </source>
+ <translation>Felhasználónév:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="93"/>
+ <source>What is my token?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="118"/>
+ <source>Web Service configuration can only be changed when a public room isn&apos;t being hosted.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="128"/>
+ <source>Telemetry</source>
+ <translation>Telemetria</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="134"/>
+ <source>Share anonymous usage data with the yuzu team</source>
+ <translation>Névtelen felhasználási adat megosztása a yuzu csapatával</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="141"/>
+ <source>Learn more</source>
+ <translation>Tudj meg többet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="150"/>
+ <source>Telemetry ID:</source>
+ <translation>Telemetria azonosító:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="166"/>
+ <source>Regenerate</source>
+ <translation>Helyreállítás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="180"/>
+ <source>Discord Presence</source>
+ <translation>Discord jelenlét</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.ui" line="186"/>
+ <source>Show Current Game in your Discord Status</source>
+ <translation>Jelenlegi játék megjelenítése a Discord állapotodban</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="68"/>
+ <source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;Learn more&lt;/span&gt;&lt;/a&gt;</source>
+ <translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;Tudj meg többet&lt;/span&gt;&lt;/a&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="72"/>
+ <source>&lt;a href=&apos;https://profile.yuzu-emu.org/&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;Sign up&lt;/span&gt;&lt;/a&gt;</source>
+ <translation>&lt;a href=&apos;https://profile.yuzu-emu.org/&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;Regisztráció&lt;/span&gt;&lt;/a&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="76"/>
+ <source>&lt;a href=&apos;https://yuzu-emu.org/wiki/yuzu-web-service/&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;What is my token?&lt;/span&gt;&lt;/a&gt;</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="80"/>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="125"/>
+ <source>Telemetry ID: 0x%1</source>
+ <translation>Telemetria ID: 0x%1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="170"/>
+ <source>Unspecified</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="117"/>
+ <source>Token not verified</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="118"/>
+ <source>Token was not verified. The change to your token has not been saved.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="141"/>
+ <source>Unverified, please click Verify before saving configuration</source>
+ <comment>Tooltip</comment>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="147"/>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="149"/>
+ <source>Verifying...</source>
+ <translation>Megerősítés...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="164"/>
+ <source>Verified</source>
+ <comment>Tooltip</comment>
+ <translation>Megerősítve</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="169"/>
+ <source>Verification failed</source>
+ <comment>Tooltip</comment>
+ <translation>Sikertelen megerősítés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="171"/>
+ <source>Verification failed</source>
+ <translation>Sikertelen megerősítés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_web.cpp" line="172"/>
+ <source>Verification failed. Check that you have entered your token correctly, and that your internet connection is working.</source>
+ <translation>Sikertelen megerősítése. Győződj meg róla, hogy helyesen írtad be a tokened, és van internetkapcsolatod.</translation>
+ </message>
+</context>
+<context>
+ <name>ControllerDialog</name>
+ <message>
+ <location filename="../../src/yuzu/debugger/controller.cpp" line="20"/>
+ <source>Controller P1</source>
+ <translation>Kontroller P1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/controller.cpp" line="58"/>
+ <source>&amp;Controller P1</source>
+ <translation>&amp;Kontroller P1</translation>
+ </message>
+</context>
+<context>
+ <name>DirectConnect</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="14"/>
+ <source>Direct Connect</source>
+ <translation>Közvetlen kapcsolat</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="47"/>
+ <source>Server Address</source>
+ <translation>Kiszolgálócím</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="54"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Server address of the host&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Hoszt kiszolgálócíme&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="64"/>
+ <source>Port</source>
+ <translation>Port</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="71"/>
+ <source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Port number the host is listening on&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Port, amin a hoszt kommunikál&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="97"/>
+ <source>Nickname</source>
+ <translation>Becenév</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="111"/>
+ <source>Password</source>
+ <translation>Jelszó</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="153"/>
+ <source>Connect</source>
+ <translation>Csatlakozás</translation>
+ </message>
+</context>
+<context>
+ <name>DirectConnectWindow</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
+ <source>Connecting</source>
+ <translation>Csatlakozás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
+ <source>Connect</source>
+ <translation>Csatlakozás</translation>
+ </message>
+</context>
+<context>
+ <name>GMainWindow</name>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
+ <source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
+ <source>Telemetry</source>
+ <translation>Telemetria</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
+ <source>Broken Vulkan Installation Detected</source>
+ <translation>Hibás Vulkan telepítés észlelve</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
+ <source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
+ <translation>A Vulkan inicializálása sikertelen volt az indulás során. &lt;br&gt;&lt;br&gt;Kattints ide&lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;a probléma megoldásához szükséges instrukciókhoz&lt;/a&gt;.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
+ <source>Running a game</source>
+ <extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
+ <translation>Játék közben</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
+ <source>Loading Web Applet...</source>
+ <translation>Webalkalmazás betöltése...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
+ <source>Disable Web Applet</source>
+ <translation>Webalkalmazás letiltása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
+ <source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
+(This can be re-enabled in the Debug settings.)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <source>The amount of shaders currently being built</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
+ <source>The current selected resolution scaling multiplier.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
+ <source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
+ <source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
+ <source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
+ <source>Unmute</source>
+ <translation>Némítás feloldása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
+ <source>Mute</source>
+ <translation>Némítás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
+ <source>Reset Volume</source>
+ <translation>Hangerő visszaállítása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
+ <source>&amp;Clear Recent Files</source>
+ <translation>&amp;Legutóbbi fájlok törlése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>Emulált egér engedélyezve</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
+ <source>&amp;Continue</source>
+ <translation>&amp;Folytatás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
+ <source>&amp;Pause</source>
+ <translation>&amp;Szünet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
+ <source>Warning Outdated Game Format</source>
+ <translation>Figyelmeztetés: Elavult játékformátum</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
+ <source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
+ <source>Error while loading ROM!</source>
+ <translation>Hiba történt a ROM betöltése során!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
+ <source>The ROM format is not supported.</source>
+ <translation>A ROM formátum nem támogatott.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
+ <source>An error occurred initializing the video core.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
+ <source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
+ <source>Error while loading ROM! %1</source>
+ <comment>%1 signifies a numeric error code.</comment>
+ <translation>Hiba történt a ROM betöltése során! %1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
+ <source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
+ <comment>%1 signifies an error string.</comment>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
+ <source>An unknown error occurred. Please see the log for more details.</source>
+ <translation>Ismeretlen hiba történt. Nyisd meg a logot a részletekért.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
+ <source>(64-bit)</source>
+ <translation>(64-bit)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
+ <source>(32-bit)</source>
+ <translation>(32-bit)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
+ <source>%1 %2</source>
+ <comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
+ <translation>%1 %2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
+ <source>Closing software...</source>
+ <translation>Szoftver bezárása...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
+ <source>Save Data</source>
+ <translation>Mentett adat</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
+ <source>Mod Data</source>
+ <translation>Modolt adat</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
+ <source>Error Opening %1 Folder</source>
+ <translation>Hiba törént a(z) %1 mappa megnyitása során</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
+ <source>Folder does not exist!</source>
+ <translation>A mappa nem létezik!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
+ <source>Error Opening Transferable Shader Cache</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
+ <source>Failed to create the shader cache directory for this title.</source>
+ <translation>Nem sikerült létrehozni az árnyékoló gyorsítótár könyvtárat ehhez a játékhoz.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
+ <source>Error Removing Contents</source>
+ <translation>Hiba történt a játéktartalom eltávolítása során</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <source>Error Removing Update</source>
+ <translation>Hiba történt a frissítés eltávolítása során</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
+ <source>Error Removing DLC</source>
+ <translation>Hiba történt a DLC eltávolítása során</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
+ <source>Remove Installed Game Contents?</source>
+ <translation>Törlöd a telepített játéktartalmat?</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <source>Remove Installed Game Update?</source>
+ <translation>Törlöd a telepített játékfrissítést?</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <source>Remove Installed Game DLC?</source>
+ <translation>Törlöd a telepített DLC-t?</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <source>Remove Entry</source>
+ <translation>Bejegyzés törlése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
+ <source>Successfully Removed</source>
+ <translation>Sikeresen eltávolítva</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
+ <source>Successfully removed the installed base game.</source>
+ <translation>A telepített alapjáték sikeresen el lett távolítva.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
+ <source>The base game is not installed in the NAND and cannot be removed.</source>
+ <translation>Az alapjáték nincs telepítve a NAND-ra, ezért nem törölhető.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
+ <source>Successfully removed the installed update.</source>
+ <translation>A telepített frissítés sikeresen el lett távolítva.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
+ <source>There is no update installed for this title.</source>
+ <translation>Nincs telepítve frissítés ehhez a játékhoz.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
+ <source>There are no DLC installed for this title.</source>
+ <translation>Nincs telepítve DLC ehhez a játékhoz.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
+ <source>Successfully removed %1 installed DLC.</source>
+ <translation>%1 telepített DLC sikeresen eltávolítva.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
+ <source>Delete OpenGL Transferable Shader Cache?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <source>Delete Vulkan Transferable Shader Cache?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
+ <source>Delete All Transferable Shader Caches?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
+ <source>Remove Custom Game Configuration?</source>
+ <translation>Törlöd az egyéni játék konfigurációt?</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
+ <source>Remove Cache Storage?</source>
+ <translation>Törlöd a gyorsítótárat?</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
+ <source>Remove File</source>
+ <translation>Fájl eltávolítása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
+ <source>Error Removing Transferable Shader Cache</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
+ <source>A shader cache for this title does not exist.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
+ <source>Successfully removed the transferable shader cache.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
+ <source>Failed to remove the transferable shader cache.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
+ <source>Error Removing Vulkan Driver Pipeline Cache</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
+ <source>Failed to remove the driver pipeline cache.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
+ <source>Error Removing Transferable Shader Caches</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
+ <source>Successfully removed the transferable shader caches.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
+ <source>Failed to remove the transferable shader cache directory.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
+ <source>Error Removing Custom Configuration</source>
+ <translation>Hiba történt az egyéni konfiguráció törlése során</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
+ <source>A custom configuration for this title does not exist.</source>
+ <translation>Nem létezik egyéni konfiguráció ehhez a játékhoz.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
+ <source>Successfully removed the custom game configuration.</source>
+ <translation>Egyéni játék konfiguráció sikeresen eltávolítva.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
+ <source>Failed to remove the custom game configuration.</source>
+ <translation>Nem sikerült eltávolítani az egyéni játék konfigurációt.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
+ <source>RomFS Extraction Failed!</source>
+ <translation>RomFS kicsomagolása sikertelen!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
+ <source>There was an error copying the RomFS files or the user cancelled the operation.</source>
+ <translation>Hiba történt a RomFS fájlok másolása közben, vagy a felhasználó megszakította a műveletet.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
+ <source>Full</source>
+ <translation>Teljes</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
+ <source>Skeleton</source>
+ <translation>Csontváz</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
+ <source>Select RomFS Dump Mode</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
+ <source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
+ <source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <source>Extracting RomFS...</source>
+ <translation>RomFS kicsomagolása...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Cancel</source>
+ <translation>Mégse</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
+ <source>RomFS Extraction Succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <source>The operation completed successfully.</source>
+ <translation>A művelet sikeresen végrehajtva.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2778"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
+ <source>Create Shortcut</source>
+ <translation>Parancsikon létrehozása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
+ <source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
+ <source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
+ <source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
+ <source>Create Icon</source>
+ <translation>Ikon létrehozása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
+ <source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
+ <source>Start %1 with the yuzu Emulator</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
+ <source>Failed to create a shortcut at %1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
+ <source>Successfully created a shortcut to %1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
+ <source>Error Opening %1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
+ <source>Select Directory</source>
+ <translation>Könyvtár kiválasztása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
+ <source>Properties</source>
+ <translation>Tulajdonságok</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
+ <source>The game properties could not be loaded.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
+ <source>Switch Executable (%1);;All Files (*.*)</source>
+ <comment>%1 is an identifier for the Switch executable file extensions.</comment>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
+ <source>Load File</source>
+ <translation>Fájl betöltése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
+ <source>Open Extracted ROM Directory</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
+ <source>Invalid Directory Selected</source>
+ <translation>Érvénytelen könyvtár kiválasztva</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
+ <source>The directory you have selected does not contain a &apos;main&apos; file.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
+ <source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
+ <source>Install Files</source>
+ <translation>Fájlok telepítése</translation>
+ </message>
+ <message numerus="yes">
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
+ <source>%n file(s) remaining</source>
+ <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
+ <source>Installing file &quot;%1&quot;...</source>
+ <translation>&quot;%1&quot; fájl telepítése...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <source>Install Results</source>
+ <translation>Telepítés eredménye</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
+ <source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
+Please, only use this feature to install updates and DLC.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message numerus="yes">
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
+ <source>%n file(s) were newly installed
+</source>
+ <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
+ </message>
+ <message numerus="yes">
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
+ <source>%n file(s) were overwritten
+</source>
+ <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
+ </message>
+ <message numerus="yes">
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
+ <source>%n file(s) failed to install
+</source>
+ <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
+ <source>System Application</source>
+ <translation>Rendszeralkalmazás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
+ <source>System Archive</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
+ <source>System Application Update</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
+ <source>Firmware Package (Type A)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
+ <source>Firmware Package (Type B)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
+ <source>Game</source>
+ <translation>Játék</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
+ <source>Game Update</source>
+ <translation>Játékfrissítés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
+ <source>Game DLC</source>
+ <translation>Játék DLC</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
+ <source>Delta Title</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
+ <source>Select NCA Install Type...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
+ <source>Please select the type of title you would like to install this NCA as:
+(In most instances, the default &apos;Game&apos; is fine.)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <source>Failed to Install</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <source>The title type you selected for the NCA is invalid.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
+ <source>File not found</source>
+ <translation>Fájl nem található</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
+ <source>File &quot;%1&quot; not found</source>
+ <translation>&quot;%1&quot; fájl nem található</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
+ <source>OK</source>
+ <translation>OK</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
+ <source>Hardware requirements not met</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
+ <source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
+ <source>Missing yuzu Account</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
+ <source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
+ <source>Error opening URL</source>
+ <translation>Hiba történt az URL megnyitása során</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
+ <source>Unable to open the URL &quot;%1&quot;.</source>
+ <translation>Hiba történt az URL megnyitása során: &quot;%1&quot;.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
+ <source>TAS Recording</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
+ <source>Overwrite file of player 1?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
+ <source>Invalid config detected</source>
+ <translation>Érvénytelen konfig észlelve</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
+ <source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <source>Amiibo</source>
+ <translation>Amiibo</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <source>The current amiibo has been removed</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <source>Error</source>
+ <translation>Hiba</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
+ <source>The current game is not looking for amiibos</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
+ <source>Amiibo File (%1);; All Files (*.*)</source>
+ <translation>Amiibo fájl (%1);; Minden fájl (*.*)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
+ <source>Load Amiibo</source>
+ <translation>Amiibo betöltése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
+ <source>Error loading Amiibo data</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
+ <source>The selected file is not a valid amiibo</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
+ <source>The selected file is already on use</source>
+ <translation>A kiválasztott fájl már használatban van</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
+ <source>An unknown error occurred</source>
+ <translation>Ismeretlen hiba történt</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
+ <source>Capture Screenshot</source>
+ <translation>Képernyőkép készítése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
+ <source>PNG Image (*.png)</source>
+ <translation>PNG kép (*.png)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
+ <source>TAS state: Running %1/%2</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
+ <source>TAS state: Recording %1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
+ <source>TAS state: Idle %1/%2</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <source>TAS State: Invalid</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
+ <source>&amp;Stop Running</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
+ <source>&amp;Start</source>
+ <translation>&amp;Indítás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
+ <source>Stop R&amp;ecording</source>
+ <translation>F&amp;elvétel leállítása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
+ <source>R&amp;ecord</source>
+ <translation>F&amp;elvétel</translation>
+ </message>
+ <message numerus="yes">
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
+ <source>Building: %n shader(s)</source>
+ <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
+ <source>Scale: %1x</source>
+ <comment>%1 is the resolution scaling factor</comment>
+ <translation>Skálázás: %1x</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
+ <source>Speed: %1% / %2%</source>
+ <translation>Sebesség: %1% / %2%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
+ <source>Speed: %1%</source>
+ <translation>Sebesség: %1%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
+ <source>Game: %1 FPS (Unlocked)</source>
+ <translation>Játék: %1 FPS (Feloldva)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
+ <source>Game: %1 FPS</source>
+ <translation>Játék: %1 FPS</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
+ <source>Frame: %1 ms</source>
+ <translation>Képkocka: %1 ms</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
+ <source>%1 %2</source>
+ <translation>%1 %2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
+ <source>FSR</source>
+ <translation>FSR</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
+ <source>NO AA</source>
+ <translation>Nincs élsimítás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
+ <source>VOLUME: MUTE</source>
+ <translation>HANGERŐ: NÉMÍTVA</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
+ <source>VOLUME: %1%</source>
+ <comment>Volume percentage (e.g. 50%)</comment>
+ <translation>HANGERŐ: %1%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
+ <source>Confirm Key Rederivation</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
+ <source>You are about to force rederive all of your keys.
+If you do not know what this means or what you are doing,
+this is a potentially destructive action.
+Please make sure this is what you want
+and optionally make backups.
+
+This will delete your autogenerated key files and re-run the key derivation module.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
+ <source>Missing fuses</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
+ <source> - Missing BOOT0</source>
+ <translation> - Hiányzó BOOT0</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
+ <source> - Missing BCPKG2-1-Normal-Main</source>
+ <translation> - Hiányzó BCPKG2-1-Normal-Main</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
+ <source> - Missing PRODINFO</source>
+ <translation> - Hiányzó PRODINFO</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
+ <source>Derivation Components Missing</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
+ <source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
+ <source>Deriving keys...
+This may take up to a minute depending
+on your system&apos;s performance.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
+ <source>Deriving Keys</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
+ <source>System Archive Decryption Failed</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
+ <source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
+ <source>Select RomFS Dump Target</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
+ <source>Please select which RomFS you would like to dump.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
+ <source>Are you sure you want to close yuzu?</source>
+ <translation>Biztosan be akarod zárni a yuzut?</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
+ <source>yuzu</source>
+ <translation>yuzu</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
+ <source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
+ <source>The currently running application has requested yuzu to not exit.
+
+Would you like to bypass this and exit anyway?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <source>None</source>
+ <translation>Nincs</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
+ <source>FXAA</source>
+ <translation>FXAA</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
+ <source>SMAA</source>
+ <translation>SMAA</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <source>Nearest</source>
+ <translation>Legközelebbi</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
+ <source>Bilinear</source>
+ <translation>Bilineáris</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <source>Bicubic</source>
+ <translation>Bikubikus</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <source>Gaussian</source>
+ <translation>Gauss-féle</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
+ <source>ScaleForce</source>
+ <translation>ScaleForce</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
+ <source>Docked</source>
+ <translation>Dokkolva</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
+ <source>Handheld</source>
+ <translation>Kézi</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <source>Normal</source>
+ <translation>Normál</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
+ <source>High</source>
+ <translation>Magas</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
+ <source>Extreme</source>
+ <translation>Extrém</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <source>Vulkan</source>
+ <translation>Vulkan</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
+ <source>OpenGL</source>
+ <translation>OpenGL</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
+ <source>Null</source>
+ <translation>Nulla</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <source>GLSL</source>
+ <translation>GLSL</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
+ <source>GLASM</source>
+ <translation>GLASM</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
+ <source>SPIRV</source>
+ <translation>SPIRV</translation>
+ </message>
+</context>
+<context>
+ <name>GRenderWindow</name>
+ <message>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
+ <source>OpenGL not available!</source>
+ <translation>OpenGL nem elérhető!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
+ <source>OpenGL shared contexts are not supported.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
+ <source>yuzu has not been compiled with OpenGL support.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
+ <source>Error while initializing OpenGL!</source>
+ <translation>Hiba történt az OpenGL inicializálása során!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
+ <source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
+ <translation>Lehetséges, hogy a GPU-d nem támogatja az OpenGL-t, vagy nem a legfrissebb grafikus illesztőprogram van telepítve.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
+ <source>Error while initializing OpenGL 4.6!</source>
+ <translation>Hiba történt az OpenGL 4.6 inicializálása során!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
+ <source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
+ <translation>Lehetséges, hogy a GPU-d nem támogatja az OpenGL 4.6-ot, vagy nem a legfrissebb grafikus illesztőprogram van telepítve.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
+ <source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>GameList</name>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <source>Favorite</source>
+ <translation>Kedvenc</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <source>Start Game</source>
+ <translation>Játék indítása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
+ <source>Start Game without Custom Configuration</source>
+ <translation>Játék indítása egyéni konfiguráció nélkül</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
+ <source>Open Save Data Location</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <source>Open Mod Data Location</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <source>Open Transferable Pipeline Cache</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <source>Remove</source>
+ <translation>Eltávolítás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <source>Remove Installed Update</source>
+ <translation>Telepített frissítés eltávolítása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <source>Remove All Installed DLC</source>
+ <translation>Összes telepített DLC eltávolítása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
+ <source>Remove Custom Configuration</source>
+ <translation>Egyéni konfiguráció eltávolítása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <source>Remove Cache Storage</source>
+ <translation>Gyorsítótár ürítése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <source>Remove OpenGL Pipeline Cache</source>
+ <translation>OpenGL Pipeline gyorsítótár eltávolítása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
+ <source>Remove Vulkan Pipeline Cache</source>
+ <translation>Vulkan Pipeline gyorsítótár eltávolítása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <source>Remove All Pipeline Caches</source>
+ <translation>Az összes Pipeline gyorsítótár törlése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <source>Remove All Installed Contents</source>
+ <translation>Összes telepített tartalom törlése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
+ <source>Dump RomFS</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <source>Dump RomFS to SDMC</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation>Integritás ellenőrzése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
+ <source>Copy Title ID to Clipboard</source>
+ <translation>Játék címének vágólapra másolása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <source>Navigate to GameDB entry</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
+ <source>Create Shortcut</source>
+ <translation>Parancsikon létrehozása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <source>Add to Desktop</source>
+ <translation>Asztalhoz adás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
+ <source>Add to Applications Menu</source>
+ <translation>Alkalmazások menühöz adás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
+ <source>Properties</source>
+ <translation>Tulajdonságok</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
+ <source>Scan Subfolders</source>
+ <translation>Almappák szkennelése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
+ <source>Remove Game Directory</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
+ <source>▲ Move Up</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
+ <source>▼ Move Down</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
+ <source>Open Directory Location</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
+ <source>Clear</source>
+ <translation>Törlés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
+ <source>Name</source>
+ <translation>Név</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
+ <source>Compatibility</source>
+ <translation>Kompatibilitás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
+ <source>Add-ons</source>
+ <translation>Kiegészítők</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
+ <source>File type</source>
+ <translation>Fájltípus</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
+ <source>Size</source>
+ <translation>Méret</translation>
+ </message>
+</context>
+<context>
+ <name>GameListItemCompat</name>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="149"/>
+ <source>Ingame</source>
+ <translation>Játékban</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="149"/>
+ <source>Game starts, but crashes or major glitches prevent it from being completed.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="151"/>
+ <source>Perfect</source>
+ <translation>Tökéletes</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="151"/>
+ <source>Game can be played without issues.</source>
+ <translation>A játék problémamentesen játszható.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="152"/>
+ <source>Playable</source>
+ <translation>Játszható</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="152"/>
+ <source>Game functions with minor graphical or audio glitches and is playable from start to finish.</source>
+ <translation>A játék kisebb grafikai- és hanghibákkal végigjátszható.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="155"/>
+ <source>Intro/Menu</source>
+ <translation>Bevezető/Menü</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="155"/>
+ <source>Game loads, but is unable to progress past the Start Screen.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="156"/>
+ <source>Won&apos;t Boot</source>
+ <translation>Nem indul</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="156"/>
+ <source>The game crashes when attempting to startup.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="157"/>
+ <source>Not Tested</source>
+ <translation>Nem tesztelt</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="157"/>
+ <source>The game has not yet been tested.</source>
+ <translation>Ez a játék még nem lett tesztelve.</translation>
+ </message>
+</context>
+<context>
+ <name>GameListPlaceholder</name>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
+ <source>Double-click to add a new folder to the game list</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>GameListSearchField</name>
+ <message numerus="yes">
+ <location filename="../../src/yuzu/game_list.cpp" line="86"/>
+ <source>%1 of %n result(s)</source>
+ <translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
+ <source>Filter:</source>
+ <translation>Szűrés:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
+ <source>Enter pattern to filter</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>HostRoom</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="14"/>
+ <source>Create Room</source>
+ <translation>Szoba létrehozása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="37"/>
+ <source>Room Name</source>
+ <translation>Szoba neve</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="51"/>
+ <source>Preferred Game</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="61"/>
+ <source>Max Players</source>
+ <translation>Max játékosok</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="91"/>
+ <source>Username</source>
+ <translation>Felhasználónév</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="101"/>
+ <source>(Leave blank for open game)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="118"/>
+ <source>Password</source>
+ <translation>Jelszó</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="125"/>
+ <source>Port</source>
+ <translation>Port</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="139"/>
+ <source>Room Description</source>
+ <translation>Szoba leírása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="153"/>
+ <source>Load Previous Ban List</source>
+ <translation>Előző tiltólista betöltése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="184"/>
+ <source>Public</source>
+ <translation>Nyilvános</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="189"/>
+ <source>Unlisted</source>
+ <translation>Nem listázott</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.ui" line="197"/>
+ <source>Host Room</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>HostRoomWindow</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
+ <source>Error</source>
+ <translation>Hiba</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
+ <source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
+Debug Message: </source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>Hotkeys</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <source>Audio Mute/Unmute</source>
+ <translation>Hang némítása/feloldása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
+ <source>Main Window</source>
+ <translation>Főablak</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <source>Audio Volume Down</source>
+ <translation>Hangerő csökkentése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <source>Audio Volume Up</source>
+ <translation>Hangerő növelése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <source>Capture Screenshot</source>
+ <translation>Képernyőkép készítése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <source>Change Adapting Filter</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <source>Change Docked Mode</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <source>Change GPU Accuracy</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <source>Continue/Pause Emulation</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <source>Exit Fullscreen</source>
+ <translation>Kilépés a teljes képernyőből</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <source>Exit yuzu</source>
+ <translation>Kilépés a yuzuból</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <source>Fullscreen</source>
+ <translation>Teljes képernyő</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <source>Load File</source>
+ <translation>Fájl betöltése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <source>Load/Remove Amiibo</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <source>Restart Emulation</source>
+ <translation>Emuláció újraindítása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <source>Stop Emulation</source>
+ <translation>Emulácíó leállítása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <source>TAS Record</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <source>TAS Reset</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <source>TAS Start/Stop</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <source>Toggle Filter Bar</source>
+ <translation>Szűrősáv kapcsoló</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <source>Toggle Framerate Limit</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <source>Toggle Mouse Panning</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
+ <source>Toggle Status Bar</source>
+ <translation>Állapotsáv kapcsoló</translation>
+ </message>
+</context>
+<context>
+ <name>InstallDialog</name>
+ <message>
+ <location filename="../../src/yuzu/install_dialog.cpp" line="29"/>
+ <source>Please confirm these are the files you wish to install.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/install_dialog.cpp" line="32"/>
+ <source>Installing an Update or DLC will overwrite the previously installed one.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/install_dialog.cpp" line="36"/>
+ <source>Install</source>
+ <translation>Telepítés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/install_dialog.cpp" line="49"/>
+ <source>Install Files to NAND</source>
+ <translation>Fájlok telepítése a NAND-ra</translation>
+ </message>
+</context>
+<context>
+ <name>LimitableInputDialog</name>
+ <message>
+ <location filename="../../src/yuzu/util/limitable_input_dialog.cpp" line="59"/>
+ <source>The text can't contain any of the following characters:
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>LoadingScreen</name>
+ <message>
+ <location filename="../../src/yuzu/loading_screen.ui" line="84"/>
+ <source>Loading Shaders 387 / 1628</source>
+ <translation>Árnyékolók betöltése 387 / 1628</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/loading_screen.ui" line="121"/>
+ <source>Loading Shaders %v out of %m</source>
+ <translation>Loading Shaders %v out of %m</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/loading_screen.ui" line="135"/>
+ <source>Estimated Time 5m 4s</source>
+ <translation>Hátralévő idő 5p 4mp</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/loading_screen.cpp" line="83"/>
+ <source>Loading...</source>
+ <translation>Betöltés...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/loading_screen.cpp" line="84"/>
+ <source>Loading Shaders %1 / %2</source>
+ <translation>Árnyékolók betöltése %1 / %2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/loading_screen.cpp" line="85"/>
+ <source>Launching...</source>
+ <translation>Indítás...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/loading_screen.cpp" line="170"/>
+ <source>Estimated Time %1</source>
+ <translation>Hátralévő idő %1</translation>
+ </message>
+</context>
+<context>
+ <name>Lobby</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="14"/>
+ <source>Public Room Browser</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="32"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="39"/>
+ <source>Nickname</source>
+ <translation>Becenév</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="59"/>
+ <source>Filters</source>
+ <translation>Szűrők</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="66"/>
+ <source>Search</source>
+ <translation>Keresés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="76"/>
+ <source>Games I Own</source>
+ <translation>Játékok I Saját</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="83"/>
+ <source>Hide Empty Rooms</source>
+ <translation>Üres szobák elrejtése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="90"/>
+ <source>Hide Full Rooms</source>
+ <translation>Teli szobák elrejtése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.ui" line="110"/>
+ <source>Refresh Lobby</source>
+ <translation>Lobbi frissítése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
+ <source>Password Required to Join</source>
+ <translation>A csatlakozáshoz jelszó szükséges</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
+ <source>Password:</source>
+ <translation>Jelszó:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <source>Players</source>
+ <translation>Játékosok</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <source>Room Name</source>
+ <translation>Szoba neve</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <source>Preferred Game</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
+ <source>Host</source>
+ <translation>Hoszt</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
+ <source>Refreshing</source>
+ <translation>Frissítés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
+ <source>Refresh List</source>
+ <translation>Lista frissítése</translation>
+ </message>
+</context>
+<context>
+ <name>MainWindow</name>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="14"/>
+ <source>yuzu</source>
+ <translation>yuzu</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="44"/>
+ <source>&amp;File</source>
+ <translation>&amp;Fájl</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="48"/>
+ <source>&amp;Recent Files</source>
+ <translation>&amp;Legutóbbi fájlok</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="66"/>
+ <source>&amp;Emulation</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="77"/>
+ <source>&amp;View</source>
+ <translation>&amp;Nézet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="81"/>
+ <source>&amp;Reset Window Size</source>
+ <translation>&amp;Ablakméret visszaállítása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="86"/>
+ <source>&amp;Debugging</source>
+ <translation>&amp;Hibakeresés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="91"/>
+ <source>Reset Window Size to &amp;720p</source>
+ <translation>Ablakfelbontás visszaállítása erre: &amp;720p</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="94"/>
+ <source>Reset Window Size to 720p</source>
+ <translation>Ablakfelbontás visszaállítása 720p-re</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="99"/>
+ <source>Reset Window Size to &amp;900p</source>
+ <translation>Ablakfelbontás visszaállítása erre: &amp;900p</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="102"/>
+ <source>Reset Window Size to 900p</source>
+ <translation>Ablakfelbontás visszaállítása 900p-re</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="107"/>
+ <source>Reset Window Size to &amp;1080p</source>
+ <translation>Ablakfelbontás visszaállítása erre: &amp;1080p</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="110"/>
+ <source>Reset Window Size to 1080p</source>
+ <translation>Ablakfelbontás visszaállítása 1080p-re</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="127"/>
+ <source>&amp;Multiplayer</source>
+ <translation>&amp;Multiplayer</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="138"/>
+ <source>&amp;Tools</source>
+ <translation>&amp;Eszközök</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="142"/>
+ <source>&amp;TAS</source>
+ <translation>&amp;TAS</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
+ <source>&amp;Help</source>
+ <translation>&amp;Segítség</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
+ <source>&amp;Install Files to NAND...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
+ <source>L&amp;oad File...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
+ <source>Load &amp;Folder...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
+ <source>E&amp;xit</source>
+ <translation>K&amp;ilépés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
+ <source>&amp;Pause</source>
+ <translation>&amp;Szünet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
+ <source>&amp;Stop</source>
+ <translation>&amp;Leállítás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
+ <source>&amp;Reinitialize keys...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
+ <source>&amp;About yuzu</source>
+ <translation>&amp;A yuzuról</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
+ <source>Single &amp;Window Mode</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
+ <source>Con&amp;figure...</source>
+ <translation>Kon@figurálás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
+ <source>Display D&amp;ock Widget Headers</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
+ <source>Show &amp;Filter Bar</source>
+ <translation>&amp;Szűrősáv mutatása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
+ <source>Show &amp;Status Bar</source>
+ <translation>&amp;Állapotsáv mutatása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
+ <source>Show Status Bar</source>
+ <translation>Állapotsáv mutatása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
+ <source>&amp;Browse Public Game Lobby</source>
+ <translation>&amp;Nyilvános játéklobbi böngészése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
+ <source>&amp;Create Room</source>
+ <translation>&amp;Szoba létrehozása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
+ <source>&amp;Leave Room</source>
+ <translation>&amp;Szoba elhagyása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
+ <source>&amp;Direct Connect to Room</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
+ <source>&amp;Show Current Room</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
+ <source>F&amp;ullscreen</source>
+ <translation>T@eljes képernyő</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
+ <source>&amp;Restart</source>
+ <translation>&amp;Újraindítás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
+ <source>Load/Remove &amp;Amiibo...</source>
+ <translation>&amp;Amiibo betöltése/törlése...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
+ <source>&amp;Report Compatibility</source>
+ <translation>&amp;Kompatibilitás jelentése</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
+ <source>Open &amp;Mods Page</source>
+ <translation>&amp;Módok oldal megnyitása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
+ <source>Open &amp;Quickstart Guide</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
+ <source>&amp;FAQ</source>
+ <translation>&amp;GYIK</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
+ <source>Open &amp;yuzu Folder</source>
+ <translation>&amp;yuzu mappa megnyitása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
+ <source>&amp;Capture Screenshot</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
+ <source>&amp;Configure TAS...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
+ <source>Configure C&amp;urrent Game...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
+ <source>&amp;Start</source>
+ <translation>&amp;Indítás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
+ <source>&amp;Reset</source>
+ <translation>&amp;Visszaállítás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
+ <source>R&amp;ecord</source>
+ <translation>F&amp;elvétel</translation>
+ </message>
+</context>
+<context>
+ <name>MicroProfileDialog</name>
+ <message>
+ <location filename="../../src/yuzu/debugger/profiler.cpp" line="50"/>
+ <source>&amp;MicroProfile</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>ModerationDialog</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="6"/>
+ <source>Moderation</source>
+ <translation>Moderáció</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="20"/>
+ <source>Ban List</source>
+ <translation>Tiltólista</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="41"/>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="73"/>
+ <source>Refreshing</source>
+ <translation>Frissítés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="51"/>
+ <source>Unban</source>
+ <translation>Tiltás feloldása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="40"/>
+ <source>Subject</source>
+ <translation>Tárgy</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="41"/>
+ <source>Type</source>
+ <translation>Típus</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="83"/>
+ <source>Forum Username</source>
+ <translation>Fórum felhasználónév</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="88"/>
+ <source>IP Address</source>
+ <translation>IP-cím</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="95"/>
+ <source>Refresh</source>
+ <translation>Frissítés</translation>
+ </message>
+</context>
+<context>
+ <name>MultiplayerState</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/state.cpp" line="90"/>
+ <source>Current connection status</source>
+ <translation>Jelenlegi kapcsolat állapota</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/state.cpp" line="117"/>
+ <source>Not Connected. Click here to find a room!</source>
+ <translation>Nincs csatlakozva. Kattints ide a szobák kereséséhez.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/state.cpp" line="123"/>
+ <source>Not Connected</source>
+ <translation>Nincs csatlakozva</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/state.cpp" line="129"/>
+ <source>Connected</source>
+ <translation>Csatlakoztatva</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/state.cpp" line="136"/>
+ <source>New Messages Received</source>
+ <translation>Új üzenetek érkeztek</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/state.cpp" line="207"/>
+ <source>Error</source>
+ <translation>Hiba</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/state.cpp" line="208"/>
+ <source>Failed to update the room information. Please check your Internet connection and try hosting the room again.
+Debug Message: </source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>NetworkMessage</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="11"/>
+ <source>Username is not valid. Must be 4 to 20 alphanumeric characters.</source>
+ <translation>Érvénytelen felhasználónév. 4-20 alfanumerikus karakterből kell állnia.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="13"/>
+ <source>Room name is not valid. Must be 4 to 20 alphanumeric characters.</source>
+ <translation>Érvénytelen szobanév. 4-20 alfanumerikus karakterből kell állnia.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="15"/>
+ <source>Username is already in use or not valid. Please choose another.</source>
+ <translation>A felhasználónév már használatban van, vagy érvénytelen. Próbálj megadni egy másikat.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="17"/>
+ <source>IP is not a valid IPv4 address.</source>
+ <translation>Az IP nem érvényes IPv4 cím.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="19"/>
+ <source>Port must be a number between 0 to 65535.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="20"/>
+ <source>You must choose a Preferred Game to host a room. If you do not have any games in your game list yet, add a game folder by clicking on the plus icon in the game list.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="24"/>
+ <source>Unable to find an internet connection. Check your internet settings.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="26"/>
+ <source>Unable to connect to the host. Verify that the connection settings are correct. If you still cannot connect, contact the room host and verify that the host is properly configured with the external port forwarded.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="30"/>
+ <source>Unable to connect to the room because it is already full.</source>
+ <translation>Nem lehetett csatlakozni a szobához, mert már megtelt.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="32"/>
+ <source>Creating a room failed. Please retry. Restarting yuzu might be necessary.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="34"/>
+ <source>The host of the room has banned you. Speak with the host to unban you or try a different room.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="37"/>
+ <source>Version mismatch! Please update to the latest version of yuzu. If the problem persists, contact the room host and ask them to update the server.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="39"/>
+ <source>Incorrect password.</source>
+ <translation>Helytelen jelszó.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="40"/>
+ <source>An unknown error occurred. If this error continues to occur, please open an issue</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="43"/>
+ <source>Connection to room lost. Try to reconnect.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="45"/>
+ <source>You have been kicked by the room host.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="47"/>
+ <source>IP address is already in use. Please choose another.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="49"/>
+ <source>You do not have enough permission to perform this action.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="50"/>
+ <source>The user you are trying to kick/ban could not be found.
+They may have left the room.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="52"/>
+ <source>No valid network interface is selected.
+Please go to Configure -&gt; System -&gt; Network and make a selection.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="68"/>
+ <source>Game already running</source>
+ <translation>A játék már fut</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="69"/>
+ <source>Joining a room when the game is already running is discouraged and can cause the room feature not to work correctly.
+Proceed anyway?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="75"/>
+ <source>Leave Room</source>
+ <translation>Szoba elhagyása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="76"/>
+ <source>You are about to close the room. Any network connections will be closed.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="81"/>
+ <source>Disconnect</source>
+ <translation>Lecsatlakozás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="82"/>
+ <source>You are about to leave the room. Any network connections will be closed.</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>NetworkMessage::ErrorManager</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/message.cpp" line="63"/>
+ <source>Error</source>
+ <translation>Hiba</translation>
+ </message>
+</context>
+<context>
+ <name>OverlayDialog</name>
+ <message>
+ <location filename="../../src/yuzu/util/overlay_dialog.ui" line="14"/>
+ <source>Dialog</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/util/overlay_dialog.ui" line="134"/>
+ <location filename="../../src/yuzu/util/overlay_dialog.ui" line="353"/>
+ <source>Cancel</source>
+ <translation>Mégse</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/util/overlay_dialog.ui" line="152"/>
+ <location filename="../../src/yuzu/util/overlay_dialog.ui" line="371"/>
+ <source>OK</source>
+ <translation>OK</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/util/overlay_dialog.ui" line="313"/>
+ <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:18pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>PlayerControlPreview</name>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player_widget.cpp" line="1630"/>
+ <source>START/PAUSE</source>
+ <translation>INDÍTÁS/SZÜNET</translation>
+ </message>
+</context>
+<context>
+ <name>QObject</name>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby_p.h" line="236"/>
+ <source>%1 is not playing a game</source>
+ <translation>%1 éppen nem játszik</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/lobby_p.h" line="238"/>
+ <source>%1 is playing %2</source>
+ <translation>%1 ezzel játszik %2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="142"/>
+ <source>Not playing a game</source>
+ <translation>Nincs játékban</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="244"/>
+ <source>Installed SD Titles</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="252"/>
+ <source>Installed NAND Titles</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="260"/>
+ <source>System Titles</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="303"/>
+ <source>Add New Game Directory</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list_p.h" line="326"/>
+ <source>Favorites</source>
+ <translation>Kedvencek</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="32"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="43"/>
+ <source>Shift</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="45"/>
+ <source>Ctrl</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="47"/>
+ <source>Alt</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="35"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="392"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="458"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="249"/>
+ <source>[not set]</source>
+ <translation>[nincs beállítva]</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="47"/>
+ <source>Hat %1 %2</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="54"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="481"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="485"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="489"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="493"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="272"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="276"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="280"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="284"/>
+ <source>Axis %1%2</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="60"/>
+ <source>Button %1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="452"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="466"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="496"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="243"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="257"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="287"/>
+ <source>[unknown]</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="47"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="146"/>
+ <source>Left</source>
+ <translation>Balra</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="49"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="60"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="149"/>
+ <source>Right</source>
+ <translation>Jobbra</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="51"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="155"/>
+ <source>Down</source>
+ <translation>Le</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="53"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="152"/>
+ <source>Up</source>
+ <translation>Fel</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="55"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="66"/>
+ <source>Z</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="57"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="68"/>
+ <source>R</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="70"/>
+ <source>L</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="61"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="84"/>
+ <source>A</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="86"/>
+ <source>B</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="88"/>
+ <source>X</source>
+ <translation>X</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="90"/>
+ <source>Y</source>
+ <translation>Y</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="92"/>
+ <source>Start</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="102"/>
+ <source>L1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="104"/>
+ <source>L2</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="75"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="106"/>
+ <source>L3</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="77"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="108"/>
+ <source>R1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="110"/>
+ <source>R2</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="112"/>
+ <source>R3</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="114"/>
+ <source>Circle</source>
+ <translation>Kör</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="116"/>
+ <source>Cross</source>
+ <translation>Kereszt</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="87"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="118"/>
+ <source>Square</source>
+ <translation>Négyzet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="120"/>
+ <source>Triangle</source>
+ <translation>Háromszög</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="122"/>
+ <source>Share</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="124"/>
+ <source>Options</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="140"/>
+ <source>[undefined]</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="402"/>
+ <source>%1%2</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="406"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="197"/>
+ <source>[invalid]</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="416"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="440"/>
+ <source>%1%2Hat %3</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="420"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="443"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="446"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="237"/>
+ <source>%1%2Axis %3</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="426"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="217"/>
+ <source>%1%2Axis %3,%4,%5</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="430"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="221"/>
+ <source>%1%2Motion %3</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="434"/>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="449"/>
+ <source>%1%2Button %3</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="476"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="267"/>
+ <source>[unused]</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="72"/>
+ <source>ZR</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="74"/>
+ <source>ZL</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="76"/>
+ <source>SR</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="78"/>
+ <source>SL</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="80"/>
+ <source>Stick L</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="82"/>
+ <source>Stick R</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="94"/>
+ <source>Plus</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="96"/>
+ <source>Minus</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="98"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="126"/>
+ <source>Home</source>
+ <translation>Home</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="100"/>
+ <source>Capture</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="128"/>
+ <source>Touch</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="130"/>
+ <source>Wheel</source>
+ <comment>Indicates the mouse wheel</comment>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="132"/>
+ <source>Backward</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="134"/>
+ <source>Forward</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="136"/>
+ <source>Task</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="138"/>
+ <source>Extra</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="193"/>
+ <source>%1%2%3%4</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="207"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="231"/>
+ <source>%1%2%3Hat %4</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="211"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="234"/>
+ <source>%1%2%3Axis %4</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="240"/>
+ <source>%1%2%3Button %4</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>QtAmiiboSettingsDialog</name>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="14"/>
+ <source>Amiibo Settings</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="169"/>
+ <source>Amiibo Info</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="177"/>
+ <source>Series</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="197"/>
+ <source>Type</source>
+ <translation>Típus</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="217"/>
+ <source>Name</source>
+ <translation>Név</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="242"/>
+ <source>Amiibo Data</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="250"/>
+ <source>Custom Name</source>
+ <translation>Egyéni név</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="270"/>
+ <source>Owner</source>
+ <translation>Tulajdonos</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="290"/>
+ <source>Creation Date</source>
+ <translation>Lérehozás dátuma</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="307"/>
+ <source>dd/MM/yyyy</source>
+ <translation>nn/HH/éééé</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="314"/>
+ <source>Modification Date</source>
+ <translation>Módosítás dátuma</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="331"/>
+ <source>dd/MM/yyyy </source>
+ <translation>nn/HH/éééé</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="349"/>
+ <source>Game Data</source>
+ <translation>Játékadat</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="355"/>
+ <source>Game Id</source>
+ <translation>Játék azonosító</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="384"/>
+ <source>Mount Amiibo</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="390"/>
+ <source>...</source>
+ <translation>...</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="413"/>
+ <source>File Path</source>
+ <translation>Fájl elérési útja</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
+ <source>No game data present</source>
+ <translation>Nincs elérhető játékadat.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
+ <source>The following amiibo data will be formatted:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
+ <source>The following game data will removed:</source>
+ <translation>Az alábbi játékadat törlésre kerül:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
+ <source>Set nickname and owner:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
+ <source>Do you wish to restore this amiibo?</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>QtControllerSelectorDialog</name>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="14"/>
+ <source>Controller Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="129"/>
+ <source>Supported Controller Types:</source>
+ <translation>Támogatott kontroller típusok:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="282"/>
+ <source>Players:</source>
+ <translation>Játékosok:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="300"/>
+ <source>1 - 8</source>
+ <translation>1 - 8</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="418"/>
+ <source>P4</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="514"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="711"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="912"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1222"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <source>Pro Controller</source>
+ <translation>Pro kontroller</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="519"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="716"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="917"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1227"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1464"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <source>Dual Joycons</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="524"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="721"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="922"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1232"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1469"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <source>Left Joycon</source>
+ <translation>Bal Joycon</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="529"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="726"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="927"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1237"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1474"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <source>Right Joycon</source>
+ <translation>Jobb Joycon</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="538"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="735"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="941"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1246"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1483"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1680"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1881"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2078"/>
+ <source>Use Current Config</source>
+ <translation>Jelenlegi konfig használata</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="615"/>
+ <source>P2</source>
+ <translation>P2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="812"/>
+ <source>P1</source>
+ <translation>P1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <source>Handheld</source>
+ <translation>Kézi</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1126"/>
+ <source>P3</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1363"/>
+ <source>P7</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1560"/>
+ <source>P8</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1757"/>
+ <source>P5</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="1958"/>
+ <source>P6</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2272"/>
+ <source>Console Mode</source>
+ <translation>Konzol Mód</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2293"/>
+ <source>Docked</source>
+ <translation>Dokkolva</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2313"/>
+ <source>Vibration</source>
+ <translation>Rezgés</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2349"/>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2395"/>
+ <source>Configure</source>
+ <translation>Konfigurálás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2359"/>
+ <source>Motion</source>
+ <translation>Mozgás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2405"/>
+ <source>Profiles</source>
+ <translation>Profilok</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2432"/>
+ <source>Create</source>
+ <translation>Létrehozás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2467"/>
+ <source>Controllers</source>
+ <translation>Kontrollerek</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2481"/>
+ <source>1</source>
+ <translation>1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2508"/>
+ <source>2</source>
+ <translation>2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2518"/>
+ <source>4</source>
+ <translation>4</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2528"/>
+ <source>3</source>
+ <translation>3</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2538"/>
+ <source>Connected</source>
+ <translation>Csatlakoztatva</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2552"/>
+ <source>5</source>
+ <translation>5</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2569"/>
+ <source>7</source>
+ <translation>7</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2586"/>
+ <source>6</source>
+ <translation>6</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.ui" line="2596"/>
+ <source>8</source>
+ <translation>8</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
+ <source>GameCube Controller</source>
+ <translation>GameCube kontroller</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <source>Poke Ball Plus</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <source>NES Controller</source>
+ <translation>NES kontroller</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <source>SNES Controller</source>
+ <translation>SNES kontroller</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <source>N64 Controller</source>
+ <translation>N64 kontroller</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
+ <source>Sega Genesis</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>QtErrorDisplay</name>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_error.cpp" line="27"/>
+ <location filename="../../src/yuzu/applets/qt_error.cpp" line="40"/>
+ <location filename="../../src/yuzu/applets/qt_error.cpp" line="55"/>
+ <source>Error Code: %1-%2 (0x%3)</source>
+ <translation>Hibakód: %1-%2 (0x%3)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_error.cpp" line="31"/>
+ <source>An error has occurred.
+Please try again or contact the developer of the software.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_error.cpp" line="44"/>
+ <source>An error occurred on %1 at %2.
+Please try again or contact the developer of the software.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_error.cpp" line="59"/>
+ <source>An error has occurred.
+
+%1
+
+%2</source>
+ <translation>Hiba történt.
+
+%1
+
+%2</translation>
+ </message>
+</context>
+<context>
+ <name>QtProfileSelectionDialog</name>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="23"/>
+ <source>%1
+%2</source>
+ <comment>%1 is the profile username, %2 is the formatted UUID (e.g. 00112233-4455-6677-8899-AABBCCDDEEFF))</comment>
+ <translation>%1
+%2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="85"/>
+ <source>Users</source>
+ <translation>Felhasználók</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="167"/>
+ <source>Profile Creator</source>
+ <translation>Profil készítő</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="170"/>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="188"/>
+ <source>Profile Selector</source>
+ <translation>Profil kiválasztó</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="173"/>
+ <source>Profile Icon Editor</source>
+ <translation>Profil ikonszerkesztő</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="176"/>
+ <source>Profile Nickname Editor</source>
+ <translation>Profil becenév szerkesztő</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="198"/>
+ <source>Who will receive the points?</source>
+ <translation>Ki kapja meg a pontokat?</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="201"/>
+ <source>Who is using Nintendo eShop?</source>
+ <translation>Ki használja a Nintendo eShopot?</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="204"/>
+ <source>Who is making this purchase?</source>
+ <translation>Ki végzi el a vásárlást?</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="207"/>
+ <source>Who is posting?</source>
+ <translation>Ki posztol?</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="210"/>
+ <source>Select a user to link to a Nintendo Account.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="213"/>
+ <source>Change settings for which user?</source>
+ <translation>Melyik felhasználó beállításait változtassuk meg?</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="216"/>
+ <source>Format data for which user?</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="219"/>
+ <source>Which user will be transferred to another console?</source>
+ <translation>Melyik felhasználó lesz átköltöztetve a másik konzolra?</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="222"/>
+ <source>Send save data for which user?</source>
+ <translation>Melyik felhasználóhoz küldjük a mentési adatokat?</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="226"/>
+ <source>Select a user:</source>
+ <translation>Válassz egy felhasználót:</translation>
+ </message>
+</context>
+<context>
+ <name>QtSoftwareKeyboardDialog</name>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_software_keyboard.ui" line="14"/>
+ <source>Software Keyboard</source>
+ <translation>Szoftver billentyűzet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_software_keyboard.ui" line="199"/>
+ <source>Enter Text</source>
+ <translation>Szöveg beírása</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_software_keyboard.ui" line="479"/>
+ <source>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:26pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_software_keyboard.cpp" line="403"/>
+ <location filename="../../src/yuzu/applets/qt_software_keyboard.cpp" line="413"/>
+ <source>OK</source>
+ <translation>OK</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/applets/qt_software_keyboard.cpp" line="413"/>
+ <source>Cancel</source>
+ <translation>Mégse</translation>
+ </message>
+</context>
+<context>
+ <name>SequenceDialog</name>
+ <message>
+ <location filename="../../src/yuzu/util/sequence_dialog/sequence_dialog.cpp" line="10"/>
+ <source>Enter a hotkey</source>
+ <translation>Gyorsbillentyű megadása</translation>
+ </message>
+</context>
+<context>
+ <name>WaitTreeCallstack</name>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="120"/>
+ <source>Call stack</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>WaitTreeSynchronizationObject</name>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="158"/>
+ <source>[%1] %2</source>
+ <translation>[%1] %2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="184"/>
+ <source>waited by no thread</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>WaitTreeThread</name>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="202"/>
+ <source>runnable</source>
+ <translation>futtatható</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="204"/>
+ <source>paused</source>
+ <translation>szünetel</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="210"/>
+ <source>sleeping</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="213"/>
+ <source>waiting for IPC reply</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="216"/>
+ <source>waiting for objects</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="219"/>
+ <source>waiting for condition variable</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="222"/>
+ <source>waiting for address arbiter</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="225"/>
+ <source>waiting for suspend resume</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="228"/>
+ <source>waiting</source>
+ <translation>várakozás</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="233"/>
+ <source>initialized</source>
+ <translation>inicializált</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="236"/>
+ <source>terminated</source>
+ <translation>megszakítva</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="239"/>
+ <source>unknown</source>
+ <translation>ismeretlen</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="244"/>
+ <source> PC = 0x%1 LR = 0x%2</source>
+ <translation> PC = 0x%1 LR = 0x%2</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="294"/>
+ <source>ideal</source>
+ <translation>ideális</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="297"/>
+ <source>core %1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="301"/>
+ <source>processor = %1</source>
+ <translation>processzor = %1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="303"/>
+ <source>affinity mask = %1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="304"/>
+ <source>thread id = %1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="305"/>
+ <source>priority = %1(current) / %2(normal)</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="309"/>
+ <source>last running ticks = %1</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>WaitTreeThreadList</name>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="325"/>
+ <source>waited by thread</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+<context>
+ <name>WaitTreeWidget</name>
+ <message>
+ <location filename="../../src/yuzu/debugger/wait_tree.cpp" line="399"/>
+ <source>&amp;Wait Tree</source>
+ <translation type="unfinished"/>
+ </message>
+</context>
+</TS> \ No newline at end of file
diff --git a/dist/languages/id.ts b/dist/languages/id.ts
index 374b18402..bbf0ed89a 100644
--- a/dist/languages/id.ts
+++ b/dist/languages/id.ts
@@ -86,7 +86,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.ui" line="47"/>
<source>Send Message</source>
- <translation type="unfinished"/>
+ <translation>Kirim Pesan</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="181"/>
@@ -132,7 +132,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="470"/>
<source>When you block a player, you will no longer receive chat messages from them.&lt;br&gt;&lt;br&gt;Are you sure you would like to block %1?</source>
- <translation type="unfinished"/>
+ <translation>Ketika anda memblock pemain, anda tidak akan dapat menerima pesan dari mereka.&lt;br&gt;&lt;br&gt;Apakah kamu yakin untuk melakukan blokir %1?</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="483"/>
@@ -177,7 +177,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/multiplayer/client_room.ui" line="27"/>
<source>Room Description</source>
- <translation type="unfinished"/>
+ <translation>Deskripsi ruangan</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/client_room.ui" line="47"/>
@@ -358,78 +358,32 @@ This would ban both their forum username and their IP address.</source>
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Audio</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Mesin Keluaran:</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
<translation type="unfinished"/>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Mono</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Stereo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Surround</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Pakai volume global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Atur volume:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Volume:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Bisukan audio saat berada di background</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Audio</translation>
</message>
</context>
<context>
@@ -467,7 +421,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_camera.ui" line="115"/>
<source>Click to preview</source>
- <translation type="unfinished"/>
+ <translation>Klik untuk melihat pratinjau</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_camera.ui" line="140"/>
@@ -493,133 +447,25 @@ This would ban both their forum username and their IP address.</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Umum</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Akurasi:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Otomatis</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Akurat</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Berbahaya</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Kami sarankan untuk mengatur akurasi ke &quot;Otomatis&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Pengaturan Optimisasi CPU Berbahaya</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Pengaturan ini mengurangi akurasi untuk menambah kecepatan.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;Opsi ini meningkatkan kecepatan dengan mengurangi akurasi dari instruksi fused-multiply-add pada CPU tanpa dukungan FMA bawaan.&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Pisahkan FMA (meningkatkan performa pada CPU tanpa FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Opsi ini meningkatkan kecepatan untuk beberapa perkiraan fungsi titik mengambang dengan menggunakan perkiraan bawaan yang kurang akurat.&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>FRSQRTE dan FRECPE lebih cepat</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;Opsi ini meningkatkan kecepatan fungsi titik mengambang 32 bits ASIMD dengan menjalankan metode pembulatan yang salah.&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Instruksi ASIMD lebih cepat (hanya untuk 32 bits)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Penanganan NaN tidak akurat</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>Matikan pengecekan adress space</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>Abaikan monitor global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>Pengaturan CPU hanya tersedia saat permainan tidak dijalankan.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -808,222 +654,227 @@ Memungkinkan berbagai macam optimasi IR.</translation>
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>Aktifkan GDB Stub</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Port:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Pencatatan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Catatan Penyaring Global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>Tampilkan Catatan Di Konsol</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Buka Lokasi Catatan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Catatan Penyaring Global</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Saat dicentang, ukuran maksimum log meningkat dari 100 MB menjadi 1 GB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Aktifkan Pencatatan Yang Diperluas**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Tampilkan Catatan Di Konsol</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>String Argumen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Grafis</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Nyalakan Pengawakutuan Grafis</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Saat dinyalakan, akan menjalankan shader tanpa perubahan logika loop</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Aktifkan Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Matikan cek keamanan Loop</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>Saat dicentang, ini menonaktifkan kompiler makro Just In Time. Mengaktifkan ini membuat game berjalan lebih lambat</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Matikan Macro JIT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Aktifkan Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
<source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation>Saat dinyalakan, yuzu akan mencatat statstik tentang pipeline cache yang disusun</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
<source>Enable Shader Feedback</source>
<translation>Nyalakan Umpan Balik Shader</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>Saat dinyalakan, akan menjalankan shader tanpa perubahan logika loop</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>Matikan cek keamanan Loop</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>Saat dicentang, ini menonaktifkan kompiler makro Just In Time. Mengaktifkan ini membuat game berjalan lebih lambat</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Pengawakutuan</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Matikan Macro JIT</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation>Nyalakan Layanan Laporan Bertele-tele**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>Nyalakan Log Akses FS</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Nyalakan Pengawakutuan Grafis</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
<source>Advanced</source>
<translation>Lanjutan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Matikan Applet Web</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Aktifkan Semua Jenis Controller</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Mode Kiosk (Pencarian)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>Nyalakan Pengawakutuan CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>Nyalakan Awakutu Assert</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Pengawakutuan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>Aktifkan Semua Jenis Controller</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>Nyalakan Log Akses FS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Matikan Applet Web</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>Nyalakan Layanan Laporan Bertele-tele**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**Ini akan diatur ulang secara otomatis ketika yuzu ditutup.</translation>
</message>
@@ -1035,15 +886,15 @@ Memungkinkan berbagai macam optimasi IR.</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_debug.cpp" line="36"/>
<source>yuzu is required to restart in order to apply this setting.</source>
- <translation type="unfinished"/>
+ <translation>yuzu harus dimuat-ulang untuk mengaplikasikan pengaturan ini.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation type="unfinished"/>
</message>
@@ -1093,78 +944,83 @@ Memungkinkan berbagai macam optimasi IR.</translation>
<translation>Komfigurasi yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Awakutu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Sistem berkas</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Umum</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Grafis</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>GrafisLanjutan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Pintasan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Kendali</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Profil</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Jaringan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>Sistem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Daftar Permainan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Jejaring</translation>
</message>
@@ -1323,57 +1179,17 @@ Memungkinkan berbagai macam optimasi IR.</translation>
<translation>Umum</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Persen Batas Kecepatan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Emulasi CPU Multicore</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Konfirmasi jika ingin keluar saat emulasi berjalan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Tanyakan pengguna ketika memulai permainan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Jeda pengemulasian ketika berada di latar</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Sembunyikan mouse saat tidak aktif</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Atur Ulang Semua Pengaturan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation type="unfinished"/>
</message>
@@ -1396,308 +1212,43 @@ Memungkinkan berbagai macam optimasi IR.</translation>
<translation>Pengaturan API</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>Backend Shader:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Perangkat:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Tak ada</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Pengaturan Grafis</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>Gunakan pipeline cache diska</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Gunakan pengemulasian GPU yang asinkron</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>Percepat penguraian tekstur ASTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>Emulasi NVDEC:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Tidak ada Keluaran Suara</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>Penguraian Video menggunakan CPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>Penguraian Video menggunakan GPU (Bawaan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Mode Layar Penuh:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Layar Tanpa Batas</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Layar Penuh Eksklusif</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Rasio Aspek:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Bawaan (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Paksa 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Paksa 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Regangkan ke Layar</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>Resolusi:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [EKSPERIMENTAL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [EKSPERIMENTAL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>Filter Menyelaraskan dengan Layar:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Nearest Neighbor</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Biliner</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Bikubik</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>Gaussian</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>Metode Anti-Aliasing:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Gunakan warna latar global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Setel warna latar:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Warna Latar:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (Shader perakit, hanya NVIDIA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
- <translation type="unfinished"/>
+ <translation>Mati</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
- <translation type="unfinished"/>
+ <translation>Direkomendasikan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
- <translation type="unfinished"/>
+ <translation>Nyala</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation type="unfinished"/>
</message>
@@ -1719,162 +1270,6 @@ Immediate (no synchronization) just presents whatever is available and can exhib
<source>Advanced Graphics Settings</source>
<translation>Pengaturan Grafis Lanjutan</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Tingkat Akurasi:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Anisotropic Filtering:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>Otomatis</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Bawaan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -1939,7 +1334,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="253"/>
<source>Invalid</source>
- <translation type="unfinished"/>
+ <translation>Tidak valid</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="358"/>
@@ -2641,7 +2036,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Konfigurasi</translation>
</message>
@@ -2678,7 +2073,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="401"/>
<source>Turbo button</source>
- <translation type="unfinished"/>
+ <translation>Tombol turbo</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="409"/>
@@ -2712,7 +2107,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="483"/>
<source>Calibrate sensor</source>
- <translation type="unfinished"/>
+ <translation>Kalibrasi sensor</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="523"/>
@@ -3069,40 +2464,37 @@ Untuk membalikkan sumbu, pertama gerakkan joystik secara tegak lurus, lalu menda
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation type="unfinished"/>
+ <source>Enable mouse panning</source>
+ <translation>Nyalakan geseran tetikus</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
- <translation type="unfinished"/>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
+ <translation>Dapat diaktifkan melalui hotkey. Ctrl + F9 adalah hotkey bawaan</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
<source>Sensitivity</source>
- <translation type="unfinished"/>
+ <translation>Sensitivitas</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
- <translation type="unfinished"/>
+ <translation>Horisontal</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
- <translation type="unfinished"/>
+ <translation>Vertikal</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="85"/>
@@ -3115,25 +2507,51 @@ Untuk membalikkan sumbu, pertama gerakkan joystik secara tegak lurus, lalu menda
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>Bawaan</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3166,100 +2584,95 @@ Untuk membalikkan sumbu, pertama gerakkan joystik secara tegak lurus, lalu menda
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Dialog</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Info</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Nama</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>ID Judul</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Nama Berkas</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Format</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Versi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Ukuran</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Pengembang</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Pengaya (Add-On)</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Umum</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Pengaya (Add-On)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>Sistem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Grafis</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Ljtan. Grafik</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Properti</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Gunakan konfigurasi global (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3503,7 +2916,7 @@ UUID: %2</source>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="314"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="282"/>
<source>Not connected</source>
- <translation type="unfinished"/>
+ <translation>Tidak terkoneksi</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="344"/>
@@ -3581,412 +2994,17 @@ UUID: %2</source>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>Sistem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Pengaturan Sistem</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Wilayah:</translation>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation>Core</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Otomatis</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Bawaan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Kuba</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Mesir</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>Éire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>GB (Britania Raya)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-Éire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Greenwich</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Hongkong</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>Islandia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>Iran</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>Israel</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Jamaika</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Jepang</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>Kwajalein</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Libya</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Navajo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>NZ (Selandia Baru)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>NZ-CHAT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Polandia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Portugal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Singapura</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Turki</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Universal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>Zulu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>USA (Amerika Serikat)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Eropa</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Australia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>Tiongkok</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Korea</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Taiwan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Zona Waktu:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Catatan: ini dapat diubah ketika pengaturan wilayah diotomatiskan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Jepang (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Prancis (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Jerman (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Italia (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Spanyol (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Cina</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Korea (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Belanda (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Portugis (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Rusia (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Taiwan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Inggris Britania</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Prancis Kanada</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Spanyol Amerika Latin</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Cina Sederhana</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Cina Tradisional (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>Portugis Brazil (português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>RTC Kustom</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Bahasa</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>Benih RNG</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Pengaturan sistem hanya tersedia saat permainan tidak dijalankan.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation type="unfinished"/>
</message>
@@ -4194,64 +3212,64 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Tak ada</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>Kecil (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>Standar (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>Besar (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>Ukuran Penuh (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>Kecil (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>Standar (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>Besar (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Nama Berkas</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>Filetype</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>ID Judul</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>Nama Judul</translation>
</message>
@@ -4354,15 +3372,31 @@ Drag points to change position, or double-click table cells to edit values.</sou
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Resolusi:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>Pilih Jalur Screenshot...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4585,7 +3619,7 @@ Drag points to change position, or double-click table cells to edit values.</sou
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="164"/>
<source>Verified</source>
<comment>Tooltip</comment>
- <translation type="unfinished"/>
+ <translation>Terverifikasi</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="169"/>
@@ -4627,7 +3661,7 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="47"/>
<source>Server Address</source>
- <translation type="unfinished"/>
+ <translation>Alamat Server</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="54"/>
@@ -4652,7 +3686,7 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="111"/>
<source>Password</source>
- <translation type="unfinished"/>
+ <translation>Kata sandi</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="153"/>
@@ -4663,12 +3697,12 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation type="unfinished"/>
</message>
@@ -4676,899 +3710,963 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Data anonim dikumpulkan&lt;/a&gt; untuk membantu yuzu. &lt;br/&gt;&lt;br/&gt;Apa Anda ingin membagi data penggunaan dengan kami?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Telemetri</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>Memuat Applet Web...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Matikan Applet Web</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>Jumlah shader yang sedang dibuat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation>Pengali skala resolusi yang terpilih.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>Kecepatan emulasi saat ini. Nilai yang lebih tinggi atau rendah dari 100% menandakan pengemulasian berjalan lebih cepat atau lambat dibanding Switch aslinya.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>Berapa banyak frame per second (bingkai per detik) permainan akan ditampilkan. Ini akan berubah dari berbagai permainan dan pemandangan.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Waktu yang diperlukan untuk mengemulasikan bingkai Switch, tak menghitung pembatas bingkai atau v-sync. Agar emulasi berkecepatan penuh, ini harus 16.67 mdtk.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
- <translation type="unfinished"/>
+ <translation>Membunyikan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
- <translation type="unfinished"/>
+ <translation>Bisukan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
- <translation type="unfinished"/>
+ <translation>Atur ulang tingkat suara</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>&amp;Bersihkan Berkas Baru-baru Ini</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>&amp;Lanjutkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;Jeda</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>Peringatan Format Permainan yang Usang</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>Anda menggunakan format direktori ROM yang sudah didekonstruksi untuk permainan ini, yang mana itu merupakan format lawas yang sudah tergantikan oleh yang lain seperti NCA, NAX, XCI, atau NSP. Direktori ROM yang sudah didekonstruksi kekurangan ikon, metadata, dan dukungan pembaruan.&lt;br&gt;&lt;br&gt;Untuk penjelasan berbagai format Switch yang didukung yuzu, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;periksa wiki kami&lt;/a&gt;. Pesan ini tidak akan ditampilkan lagi.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>Kesalahan ketika memuat ROM!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>Format ROM tak didukung.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>Terjadi kesalahan ketika menginisialisasi inti video.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation>yuzu telah mengalami error saat menjalankan inti video. Ini biasanya disebabkan oleh pemicu piranti (driver) GPU yang usang, termasuk yang terintegrasi. Mohon lihat catatan untuk informasi lebih rinci. Untuk informasi cara mengakses catatan, mohon lihat halaman berikut: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;Cara Mengupload Berkas Catatan&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>Terjadi kesalahan yang tak diketahui. Mohon lihat catatan untuk informasi lebih rinci.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>Simpan Data</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Mod Data</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>Gagal Membuka Folder %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>Folder tak ada!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>Gagal Ketika Membuka Tembolok Shader yang Dapat Ditransfer</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
- <translation type="unfinished"/>
+ <translation>Error saat menghapus konten</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
- <translation type="unfinished"/>
+ <translation>Error saat menghapus Update</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
- <translation type="unfinished"/>
+ <translation>Error saat menghapus DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
- <translation type="unfinished"/>
+ <translation>Hapus Konten Game yang terinstall?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
- <translation type="unfinished"/>
+ <translation>Hapus Update Game yang terinstall?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
- <translation type="unfinished"/>
+ <translation>Hapus DLC Game yang terinstall?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>Hapus Masukan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
- <translation type="unfinished"/>
+ <translation>Berhasil menghapus</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>Tidak ada DLC yang terinstall untuk judul ini.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>Hapus File</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>Kesalahan Menghapus Transferable Shader Cache</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>Cache shader bagi judul ini tidak ada</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>Kesalahan Menghapus Konfigurasi Buatan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>Pengekstrakan RomFS Gagal!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>Terjadi kesalahan ketika menyalin berkas RomFS atau dibatalkan oleh pengguna.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>Penuh</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>Skeleton</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>Pilih Mode Dump RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Mohon pilih cara RomFS akan di-dump.&lt;br&gt;FPenuh akan menyalin seluruh berkas ke dalam direktori baru sementara &lt;br&gt;jerangkong hanya akan menciptakan struktur direktorinya saja.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>Mengekstrak RomFS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Batal</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>Pengekstrakan RomFS Berhasil!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>Operasi selesai dengan sukses,</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
- <source>Create Shortcut</source>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
+ <source>Create Shortcut</source>
+ <translation>Buat Pintasan</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
- <translation type="unfinished"/>
+ <translation>Buat ikon</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>Gagal membuka %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Pilih Direktori</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Properti</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>Properti permainan tak dapat dimuat.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Eksekutabel Switch (%1);;Semua Berkas (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Muat Berkas</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Buka Direktori ROM Terekstrak</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Direktori Terpilih Tidak Sah</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>Direktori yang Anda pilih tak memiliki berkas &apos;utama.&apos;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>Install File</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation type="unfinished"><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>Memasang berkas &quot;%1&quot;...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>Hasil Install</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation><numerusform>%n file(s) baru diinstall
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation><numerusform>%n file(s) telah ditimpa
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation><numerusform>%n file(s) gagal di install
</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Aplikasi Sistem</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Arsip Sistem</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Pembaruan Aplikasi Sistem</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Paket Perangkat Tegar (Tipe A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Paket Perangkat Tegar (Tipe B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Permainan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Pembaruan Permainan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>DLC Permainan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Judul Delta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Pilih Tipe Pemasangan NCA...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>Mohon pilih jenis judul yang Anda ingin pasang sebagai NCA ini:
(Dalam kebanyakan kasus, pilihan bawaan &apos;Permainan&apos; tidak apa-apa`.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Gagal Memasang</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>Jenis judul yang Anda pilih untuk NCA tidak sah.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Berkas tak ditemukan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Berkas &quot;%1&quot; tak ditemukan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>Akun yuzu Hilang</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>Agar dapat mengirimkan berkas uju kompatibilitas permainan, Anda harus menautkan akun yuzu Anda.&lt;br&gt;&lt;br/&gt;TUntuk mennautkan akun yuzu Anda, pergi ke Emulasi &amp;gt; Konfigurasi &amp;gt; Web.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>Kesalahan saat membuka URL</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>Tidak dapat membuka URL &quot;%1&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation>Rekaman TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>Timpa file pemain 1? </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>Konfigurasi tidak sah terdeteksi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>Kontroller jinjing tidak bisa digunakan dalam mode dock. Kontroller Pro akan dipilih</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Berkas Amiibo (%1);; Semua Berkas (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Muat Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Gagal memuat data Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Tangkapan Layar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>Berkas PNG (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>Status TAS: Berjalan %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>Status TAS: Merekam %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation>Status TAS: Diam %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>Status TAS: Tidak Valid</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation>&amp;Matikan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>&amp;Mulai</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>Berhenti Mer&amp;ekam</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>R&amp;ekam</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation><numerusform>Membangun: %n shader(s)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>Skala: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Kecepatan: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Kecepatan: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Permainan: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Frame: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>TANPA AA</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
- <translation type="unfinished"/>
+ <translation>VOLUME : SENYAP</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5579,37 +4677,37 @@ This will delete your autogenerated key files and re-run the key derivation modu
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation>- Kehilangan BOOT0</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation>- Kehilangan BCPKG2-1-Normal-Main</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation>- Kehilangan PRODINFO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5618,146 +4716,146 @@ Ini mungkin memakan waktu hingga satu menit
tergantung dari sistem performa Anda.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>Pilih Target Dump RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>Silahkan pilih jenis RomFS yang ingin Anda buang.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Apakah anda yakin ingin menutup yuzu?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Apakah Anda yakin untuk menghentikan emulasi? Setiap progres yang tidak tersimpan akan hilang.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Tak ada</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
- <translation type="unfinished"/>
+ <translation>Terdekat</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Biliner</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Bikubik</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>Gaussian</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Terpasang</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Jinjing</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
- <translation type="unfinished"/>
+ <translation>Normal</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
- <translation type="unfinished"/>
+ <translation>Tinggi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
<translation type="unfinished"/>
</message>
@@ -5765,44 +4863,44 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGL tidak tersedia!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>Terjadi kesalahan menginisialisasi OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>VGA anda mungkin tidak mendukung OpenGL, atau anda tidak memiliki pemacu piranti (driver) grafis terbaharu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>Terjadi kesalahan menginisialisasi OpenGL 4.6!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>VGA anda mungkin tidak mendukung OpenGL 4.6, atau anda tidak memiliki pemacu piranti (driver) grafis terbaharu.&lt;br&gt;&lt;br&gt;Pemuat GL:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>VGA anda mungkin tidak mendukung satu atau lebih ekstensi OpenGL. Mohon pastikan bahwa anda memiliki pemacu piranti (driver) grafis terbaharu.&lt;br&gt;&lt;br&gt;Pemuat GL:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Ekstensi yang tidak didukung:&lt;br&gt;%2</translation>
</message>
@@ -5810,173 +4908,178 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>Favorit</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
- <translation type="unfinished"/>
+ <translation>Mulai permainan</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Buka Lokasi Data Penyimpanan</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Buka Lokasi Data Mod</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Singkirkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>Hapus semua konten terinstall.</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>Dump RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Salin Judul ID ke Clipboard.</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>Pindah ke tampilan GameDB</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
- <translation type="unfinished"/>
+ <translation>Buat pintasan</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
- <translation type="unfinished"/>
+ <translation>Menambahkan ke Desktop</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Properti</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
- <translation type="unfinished"/>
+ <translation>Memindai subfolder</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>Buka Lokasi Direktori</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Bersihkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Nama</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Kompatibilitas</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Pengaya (Add-On)</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Tipe berkas</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Ukuran</translation>
</message>
@@ -6001,7 +5104,7 @@ Would you like to bypass this and exit anyway?</source>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="151"/>
<source>Game can be played without issues.</source>
- <translation type="unfinished"/>
+ <translation>Permainan dapat dimainkan tanpa kendala.</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="152"/>
@@ -6047,7 +5150,7 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>Klik dua kali untuk menambahkan folder sebagai daftar permainan.</translation>
</message>
@@ -6060,12 +5163,12 @@ Would you like to bypass this and exit anyway?</source>
<translation type="unfinished"><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Masukkan pola untuk memfilter</translation>
</message>
@@ -6075,12 +5178,12 @@ Would you like to bypass this and exit anyway?</source>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="14"/>
<source>Create Room</source>
- <translation type="unfinished"/>
+ <translation>Buat Ruangan</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="37"/>
<source>Room Name</source>
- <translation type="unfinished"/>
+ <translation>Nama Ruang</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="51"/>
@@ -6105,7 +5208,7 @@ Would you like to bypass this and exit anyway?</source>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="118"/>
<source>Password</source>
- <translation type="unfinished"/>
+ <translation>Kata sandi</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="125"/>
@@ -6115,7 +5218,7 @@ Would you like to bypass this and exit anyway?</source>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="139"/>
<source>Room Description</source>
- <translation type="unfinished"/>
+ <translation>Deskripsi ruang</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="153"/>
@@ -6141,12 +5244,12 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation type="unfinished"/>
@@ -6155,13 +5258,11 @@ Debug Message: </source>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6182,111 +5283,113 @@ Debug Message: </source>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Tangkapan Layar</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Muat Berkas</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation type="unfinished"/>
</message>
@@ -6382,7 +5485,7 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="66"/>
<source>Search</source>
- <translation type="unfinished"/>
+ <translation>Cari</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="76"/>
@@ -6405,42 +5508,42 @@ Debug Message: </source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
- <translation type="unfinished"/>
+ <translation>Kata sandi diperlukan untuk bergabung</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
- <translation type="unfinished"/>
+ <translation>Kata sandi</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Pemain</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
- <translation type="unfinished"/>
+ <translation>Nama Ruang</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation type="unfinished"/>
</message>
@@ -6485,22 +5588,22 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/main.ui" line="91"/>
<source>Reset Window Size to &amp;720p</source>
- <translation type="unfinished"/>
+ <translation>Atur ulang ukuran bingkai ke &amp;720p</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="94"/>
<source>Reset Window Size to 720p</source>
- <translation type="unfinished"/>
+ <translation>Atur ulang ukuran bingkai ke 720p</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="99"/>
<source>Reset Window Size to &amp;900p</source>
- <translation type="unfinished"/>
+ <translation>Atur ulang ukuran bingkai ke &amp;900p</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="102"/>
<source>Reset Window Size to 900p</source>
- <translation type="unfinished"/>
+ <translation>Atur ulang ukuran bingkai ke 900p</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="107"/>
@@ -6528,172 +5631,182 @@ Debug Message: </source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>&amp;Jeda</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
- <source>&amp;About yuzu</source>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="227"/>
+ <source>&amp;About yuzu</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Munculkan Status Bar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
- <translation type="unfinished"/>
+ <translation>Buka %Panduan cepat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>&amp;Mulai</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>R&amp;ekam</translation>
</message>
@@ -6747,7 +5860,7 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="88"/>
<source>IP Address</source>
- <translation type="unfinished"/>
+ <translation>Alamat IP</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="95"/>
@@ -6780,7 +5893,7 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="136"/>
<source>New Messages Received</source>
- <translation type="unfinished"/>
+ <translation>Pesan baru diterima</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="207"/>
@@ -6901,7 +6014,7 @@ Please go to Configure -&gt; System -&gt; Network and make a selection.</source>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="68"/>
<source>Game already running</source>
- <translation type="unfinished"/>
+ <translation>Game sudah berjalan</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="69"/>
@@ -6972,7 +6085,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/configuration/configure_input_player_widget.cpp" line="1630"/>
<source>START/PAUSE</source>
- <translation type="unfinished"/>
+ <translation>MULAI/JEDA</translation>
</message>
</context>
<context>
@@ -7029,7 +6142,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="34"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="45"/>
<source>Ctrl</source>
- <translation type="unfinished"/>
+ <translation>Ctrl</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="25"/>
@@ -7161,61 +6274,61 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="71"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="102"/>
<source>L1</source>
- <translation type="unfinished"/>
+ <translation>L1</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="73"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="104"/>
<source>L2</source>
- <translation type="unfinished"/>
+ <translation>L2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="75"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="106"/>
<source>L3</source>
- <translation type="unfinished"/>
+ <translation>L3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="77"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="108"/>
<source>R1</source>
- <translation type="unfinished"/>
+ <translation>R1</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="79"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="110"/>
<source>R2</source>
- <translation type="unfinished"/>
+ <translation>R2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="81"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="112"/>
<source>R3</source>
- <translation type="unfinished"/>
+ <translation>R3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="83"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="114"/>
<source>Circle</source>
- <translation type="unfinished"/>
+ <translation>O</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="85"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="116"/>
<source>Cross</source>
- <translation type="unfinished"/>
+ <translation>X</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="87"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="118"/>
<source>Square</source>
- <translation type="unfinished"/>
+ <translation>⬜</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="89"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="120"/>
<source>Triangle</source>
- <translation type="unfinished"/>
+ <translation>▲</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="91"/>
@@ -7227,7 +6340,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="93"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="124"/>
<source>Options</source>
- <translation type="unfinished"/>
+ <translation>Opsi</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="95"/>
@@ -7307,12 +6420,12 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="80"/>
<source>Stick L</source>
- <translation type="unfinished"/>
+ <translation>Stik Analog Kiri</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="82"/>
<source>Stick R</source>
- <translation type="unfinished"/>
+ <translation>Stik Analog Kanan</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="94"/>
@@ -7478,27 +6591,27 @@ p, li { white-space: pre-wrap; }
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation type="unfinished"/>
</message>
@@ -7539,7 +6652,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Kontroler Pro</translation>
</message>
@@ -7552,7 +6665,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Joycon Dual</translation>
</message>
@@ -7565,7 +6678,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Joycon Kiri</translation>
</message>
@@ -7578,7 +6691,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Joycon Kanan</translation>
</message>
@@ -7607,7 +6720,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Jinjing</translation>
</message>
@@ -7723,32 +6836,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>Kontroler GameCube</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>Poke Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>Kontroler NES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>Kontroler SNES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>Kontroler N64</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>Sega Genesis</translation>
</message>
@@ -7881,7 +6994,7 @@ Please try again or contact the developer of the software.</source>
<message>
<location filename="../../src/yuzu/applets/qt_software_keyboard.ui" line="199"/>
<source>Enter Text</source>
- <translation type="unfinished"/>
+ <translation>Masukkan teks</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_software_keyboard.ui" line="479"/>
@@ -7943,7 +7056,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="204"/>
<source>paused</source>
- <translation type="unfinished"/>
+ <translation>dijeda</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="210"/>
diff --git a/dist/languages/it.ts b/dist/languages/it.ts
index fbd1247f6..69f39500a 100644
--- a/dist/languages/it.ts
+++ b/dist/languages/it.ts
@@ -242,102 +242,102 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.</trans
<message>
<location filename="../../src/yuzu/compatdb.ui" line="77"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game boot?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation>il gioco parte?</translation>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Il gioco parte?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="100"/>
<source>Yes The game starts to output video or audio</source>
- <translation>Sì Il gioco inizia a produrre video o audio</translation>
+ <translation>Sì Il gioco inizia a riprodurre audio o video</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="107"/>
<source>No The game doesn&apos;t get past the &quot;Launching...&quot; screen</source>
- <translation>No il gioco non passa avanti la schermata d&apos;avvio </translation>
+ <translation>No Il gioco non supera la schermata d&apos;avvio </translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="124"/>
<source>Yes The game gets past the intro/menu and into gameplay</source>
- <translation>sì il gioco passa l&apos;intro/menu e va nel gameplay </translation>
+ <translation>Sì Il gioco supera l&apos;introduzione/il menù e raggiunge il gameplay </translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="131"/>
<source>No The game crashes or freezes while loading or using the menu</source>
- <translation>no il gioco si freeza e crasha durante il caricamento o usando il menu</translation>
+ <translation>No Il gioco va in crash o si blocca durante il caricamento o usando il menù</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="143"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game reach gameplay?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation>il gioco arriva al gameplay?</translation>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Il gioco raggiunge il gameplay?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="176"/>
<source>Yes The game works without crashes</source>
- <translation>si il gioco funziona senza crashare</translation>
+ <translation>Sì Il gioco funziona senza andare in crash</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="183"/>
<source>No The game crashes or freezes during gameplay</source>
- <translation>no il gioco crasha/si blocca durante il gameplay </translation>
+ <translation>No Il gioco va in crash o si blocca durante il gameplay </translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="195"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game work without crashing, freezing or locking up during gameplay?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation>Il gioco funziona senza crashare o bloccarsi durante il gameplay?</translation>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Il gioco funziona senza bloccarsi o andare in crash durante il gameplay?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="228"/>
<source>Yes The game can be finished without any workarounds</source>
- <translation>Sì Il gioco può essere finito senza alcuna soluzione alternativa</translation>
+ <translation>Sì Il gioco può essere completato senza alcun espediente</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="235"/>
<source>No The game can&apos;t progress past a certain area</source>
- <translation>no il gioco non va avanti dopo una certa area</translation>
+ <translation>No Non è possibile progredire oltre una certa area</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="247"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Is the game completely playable from start to finish?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation>Il gioco è completamente giocabile dall&apos;inizio alla fine?</translation>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Il gioco è completamente giocabile dall&apos;inizio alla fine?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="280"/>
<source>Major The game has major graphical errors</source>
- <translation>il gioco ha gravi errori grafici</translation>
+ <translation>Gravi Il gioco presenta problemi grafici gravi</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="287"/>
<source>Minor The game has minor graphical errors</source>
- <translation type="unfinished"/>
+ <translation>Lievi Il gioco presenta problemi grafici lievi</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="294"/>
<source>None Everything is rendered as it looks on the Nintendo Switch</source>
- <translation type="unfinished"/>
+ <translation>Nessuno Il gioco si presenta esattamente come sulla Nintendo Switch</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="306"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game have any graphical glitches?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"/>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt; Il gioco presenta dei problemi grafici? &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="339"/>
<source>Major The game has major audio errors</source>
- <translation type="unfinished"/>
+ <translation>Gravi Il gioco presenta gravi problemi sonori</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="346"/>
<source>Minor The game has minor audio errors</source>
- <translation type="unfinished"/>
+ <translation>Lievi Il gioco presenta lievi problemi sonori</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="353"/>
<source>None Audio is played perfectly</source>
- <translation type="unfinished"/>
+ <translation>Nessuno Il gioco non presenta alcun problema nel comparto sonoro</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="365"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game have any audio glitches / missing effects?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"/>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Il gioco presenta effetti sonori mancanti o difetti audio?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="389"/>
@@ -366,78 +366,32 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.</trans
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Audio</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Motore di output:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>Dispositivo di output:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>Dispositivo di input:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>Modalità di output del suono:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Mono</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Stereo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Surround</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Usa il volume globale</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Imposta il volume:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Volume:</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation>Automatico (%1)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Silenzia l&apos;audio quando la finestra è in background</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation>Predefinito (%1)</translation>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Audio</translation>
</message>
</context>
<context>
@@ -501,135 +455,25 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.</trans
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Generale</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Accuratezza:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Automatica</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Accurata</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Non sicura</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>Paranoica (disabilita la maggior parte delle ottimizzazioni)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Raccomandiamo di impostare l&apos;accuratezza su &quot;Automatica&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Impostazioni di ottimizzazione non sicura della CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Queste impostazioni riducono l&apos;accuratezza a favore della velocità.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Questa opzione migliora la velocità riducendo la precisione fused-multiply-add ossia FMA sulle CPU senza il supporto FMA nativo.&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Non fondere FMA (migliora le prestazioni della CPU senza FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Questa opzione migliora la velocità di alcune funzioni a virgola mobile approssimate utilizzando approssimazioni native meno accurate.&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>FRSQRTE e FRECPE più veloci</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Questa opzione migliora la velocità delle funzioni in virgola mobile ASIMD a 32 bit eseguendole con modalità di arrotondamento errate.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Istruzioni ASIMD più veloci (solo 32 bit)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Questa opzione migliora la velocità rimuovendo i controlli NaN. Ciò ridurrà l&apos;accuratezza di alcune istruzioni a virgola mobile.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Gestione inaccurata NaN</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Questa opzione migliora la velocità eliminando un controllo di sicurezza prima di ogni lettura/scrittura di memoria del guest. Disabilitarla può permettere ad un gioco di leggere/scrivere la memoria dell&apos;emulatore.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>Disattiva i controlli dello spazio degli indirizzi</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>Ignora il monitor globale</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>Le impostazioni della CPU sono disponibili solo quando il gioco non è in esecuzione.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -651,7 +495,7 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.</trans
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="31"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;For debugging only.&lt;/span&gt;&lt;br/&gt;If you&apos;re not sure what these do, keep all of these enabled. &lt;br/&gt;These settings, when disabled, only take effect when CPU Debugging is enabled. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Solo durante il debug.&lt;/span&gt;&lt;br/&gt;Se non sei sicuro su cosa facciano queste opzioni, lasciale tutte attive.&lt;br/&gt;Queste opzioni avranno effetto solo se la modalità di Debug della CPU è attiva&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Solo per il debug.&lt;/span&gt;&lt;br/&gt;Se non sei sicuro su cosa facciano queste opzioni, lasciale tutte attive.&lt;br/&gt;Queste opzioni avranno effetto solo se la modalità di Debug della CPU è attiva&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="41"/>
@@ -778,15 +622,15 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.</trans
&lt;div style=&quot;white-space: nowrap&quot;&gt;Disabling this forces all memory accesses to use Software MMU Emulation.&lt;/div&gt;
</source>
<translation>
- &lt;div style=&quot;white-space: nowrap&quot;&gt;Questa ottimizzazione accelera gli accessi alla memoria da parte del programma guest.&lt;/div&gt;
- &lt;div style=&quot;white-space: nowrap&quot;&gt;L&apos;abilitazione fa sì che le letture/scritture della memoria del guest siano fatte direttamente nella memoria e facciano uso della MMU dell&apos;host.&lt;/div&gt;
- &lt;div style=&quot;white-space: nowrap&quot;&gt;Disabilitandolo si costringono tutti gli accessi alla memoria ad usare l&apos;emulazione software MMU.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Questa ottimizzazione velocizza gli accessi alla memoria da parte del programma emulato.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Abilitandola, le letture/scritture nella memoria del programma emulato vengono eseguite direttamente in memoria e usano la MMU dell&apos;host.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Disabilitandola, si costringono tutti gli accessi alla memoria ad usare l&apos;emulazione software della MMU.&lt;/div&gt;
</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="147"/>
<source>Enable Host MMU Emulation (general memory instructions)</source>
- <translation type="unfinished"/>
+ <translation>Abilita l&apos;emulazione della MMU nell&apos;host (istruzioni di memoria generiche)</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="154"/>
@@ -795,12 +639,16 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.</trans
&lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it causes guest exclusive memory reads/writes to be done directly into memory and make use of Host's MMU.&lt;/div&gt;
&lt;div style=&quot;white-space: nowrap&quot;&gt;Disabling this forces all exclusive memory accesses to use Software MMU Emulation.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Questa ottimizzazione velocizza gli accessi esclusivi alla memoria da parte del programma emulato.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Abilitandola, le letture/scritture esclusive nella memoria del programma emulato vengono eseguite direttamente in memoria e usano la MMU dell&apos;host.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Disabilitandola, si costringono tutti gli accessi esclusivi alla memoria ad usare l&apos;emulazione software della MMU.&lt;/div&gt;
+</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="161"/>
<source>Enable Host MMU Emulation (exclusive memory instructions)</source>
- <translation type="unfinished"/>
+ <translation>Abilita l&apos;emulazione della MMU nell&apos;host (per le istruzioni di memoria esclusive)</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="168"/>
@@ -808,12 +656,15 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.</trans
&lt;div style=&quot;white-space: nowrap&quot;&gt;This optimization speeds up exclusive memory accesses by the guest program.&lt;/div&gt;
&lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it reduces the overhead of fastmem failure of exclusive memory accesses.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Questa ottimizzazione velocizza gli accessi esclusivi alla memoria da parte del programma emulato.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Abilitandola, si riduce il carico aggiuntivo causato dagli errori di fastmem.&lt;/div&gt;
+</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="174"/>
<source>Enable recompilation of exclusive memory instructions</source>
- <translation type="unfinished"/>
+ <translation>Abilita la ricompilazione delle istruzioni di memoria esclusive</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="181"/>
@@ -821,12 +672,14 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.</trans
&lt;div style=&quot;white-space: nowrap&quot;&gt;This optimization speeds up memory accesses by allowing invalid memory accesses to succeed.&lt;/div&gt;
&lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it reduces the overhead of all memory accesses and has no impact on programs that don't access invalid memory.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Questa ottimizzazione velocizza l&apos;accesso alla memoria ignorando gli accessi non validi.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Abilitarlo riduce il carico di tutti gli accessi alla memoria e non ha alcun impatto sui programmi che non accedono ad aree di memoria non valide.&lt;/div&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="187"/>
<source>Enable fallbacks for invalid memory accesses</source>
- <translation type="unfinished"/>
+ <translation>Abilita fallback per accessi alla memoria non validi </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="212"/>
@@ -837,222 +690,227 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.</trans
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>Debugger</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>Abilita stub GDB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Porta:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Logging</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Filtro log globale</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>Mostra i log nella console</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Apri cartella dei log</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Filtro log globale</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Quando l&apos;opzione è selezionata, la dimensione massima del log aumenterà da 100 MB a 1 GB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Abilita il log esteso**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Mostra i log nella console</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>Stringa degli argomenti</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Grafica</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>Quando l&apos;opzione è selezionata, l&apos;API grafica entra in una modalità di debug più lenta</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Abilita il debug della grafica</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>Quando l&apos;opzione è selezionata, abilita i crash dump di Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Quando l&apos;opzione è selezionata, gli shader verranno eseguiti senza alcun cambiamento nella logica dei loop</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Abilita Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Disabilita i controlli di sicurezza dei loop</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>Quando l&apos;opzione è selezionata, disabilita le funzioni HLE delle macro. Abilitare questa opzione rende i giochi più lenti</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>Estrai shader del gioco</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>Disabilita HLE macro</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>Quando l&apos;opzione è selezionata, verranno estratti tutti i programmi macro della GPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>Estrai macro Maxwell</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>Quando l&apos;opzione è selezionata, disabilita il compilatore Just-In-Time delle macro. Abilitare questa opzione rende i giochi più lenti</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>Quando l&apos;opzione è selezionata, abilita i crash dump di Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Disabilita JIT macro</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Abilita Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation>Quando l&apos;opzione è selezionata, disabilita le funzioni HLE delle macro. Abilitare questa opzione rende i giochi più lenti</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
+ <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
+ <translation>Quando l&apos;opzione è selezionata, yuzu scriverà nel log le statistiche riguardanti la cache delle pipeline compilate</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation>Disabilita HLE macro</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
+ <source>Enable Shader Feedback</source>
+ <translation>Abilita lo shader feedback</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
- <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>Quando l&apos;opzione è selezionata, disabilita il compilatore Just-In-Time delle macro. Abilitare questa opzione rende i giochi più lenti</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
- <source>Enable Shader Feedback</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Disabilita JIT macro</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Quando l&apos;opzione è selezionata, l&apos;API grafica entra in una modalità di debug più lenta</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Abilita il debug della grafica</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Debug</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Quando l&apos;opzione è selezionata, verrà eseguito il dump degli shader originali in assembler dalla shader cache o dal gioco</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>Estrai shader del gioco</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>Abilita log di accesso al FS</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation>Abilita Hotkey Renderdoc</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
+ <source>Advanced</source>
+ <translation>Avanzate</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>Se abilitato, yuzu verificherà se è presente un ambiente Vulkan funzionante quando il programma viene eseguito. Disabilita questa impostazione se hai problemi con altre applicazioni mentre usi yuzu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>Crea Minidump dopo un arresto anomalo</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>Esegui controllo di Vulkan all&apos;avvio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
- <source>Advanced</source>
- <translation>Avanzate</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Disabilita l&apos;applet web</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Abilita tutti i tipi di controller</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Abilita stub automatico**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Modalità Kiosk (Quest)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>Abilita il debug della CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>Abilita le asserzioni di debug</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>Abilita stub automatico**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Debug</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>Abilita tutti i tipi di controller</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>Abilita log di accesso al FS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Disabilita l&apos;applet web</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>Crea Minidump dopo un arresto anomalo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>Abilita questa opzione per stampare l&apos;ultima lista dei comandi audio nella console. Impatta solo i giochi che usano il renderer audio.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>Esegui controllo di Vulkan all&apos;avvio</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation>Stampa i comandi audio nella console**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>Abilita servizi di segnalazione dettagliata**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**L&apos;opzione verrà automaticamente ripristinata alla chiusura di yuzu.</translation>
</message>
@@ -1067,12 +925,12 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.</trans
<translation>yuzu dev&apos;essere riavviato affinché questa opzione venga applicata.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>Applet web non compilato</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation>Creazione MiniDump non compilata</translation>
</message>
@@ -1122,78 +980,83 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.</trans
<translation>Configurazione di yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Alcune impostazioni sono disponibili soltanto quando un gioco non è in esecuzione.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Debug</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Filesystem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Generale</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Grafica</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>Grafica avanzata</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Scorciatoie</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Comandi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Profili</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Rete</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>Sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Lista dei giochi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Web</translation>
</message>
@@ -1352,57 +1215,17 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.</trans
<translation>Generale</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Percentuale di limite della velocità</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Emulazione CPU multi-core</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Richiedi conferma di uscire mentre l&apos;emulazione è in corso</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Richiedi utente all&apos;avvio di un gioco</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Metti in pausa l&apos;emulazione quando la finestra è in background</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Nascondi il puntatore del mouse se inattivo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Ripristina tutte le impostazioni</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>Tutte le impostazioni verranno ripristinate e tutte le configurazioni dei giochi verranno rimosse. Le cartelle di gioco, i profili e i profili di input non saranno cancellati. Vuoi procedere?</translation>
</message>
@@ -1425,310 +1248,45 @@ Questo bannerà sia il suo nome utente del forum che il suo indirizzo IP.</trans
<translation>Impostazioni API</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>Backend degli shader:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Dispositivo:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Nessuno</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Impostazioni grafiche</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>Utilizza la cache delle pipeline su disco</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Utilizza l&apos;emulazione asincrona della GPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>Accelera la decodifica delle texture ASTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation>Modalità VSync:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>Emulazione NVDEC:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Nessun output video</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>Decodifica video CPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>Decodifica video GPU (predefinita)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Modalità schermo intero:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Finestra senza bordi</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Esclusivamente a schermo intero</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Rapporto d&apos;aspetto:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Predefinito (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Forza 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Forza 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>Forza 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Allunga a finestra</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>Risoluzione:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [SPERIMENTALE]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [SPERIMENTALE]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation>1.5X (1080p/1620p) [SPERIMENTALE]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation>7X (5040p/7560p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation>8X (5760p/8640p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>Filtro di adattamento alla finestra:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Nearest neighbor</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Bilineare</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Bicubico</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>Gaussiano</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️ Super Resolution</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>Metodo di anti-aliasing:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation>Usa la nitidezza FSR globale</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation>Imposta la nitidezza FSR</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation>Nitidezza FSR:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation>100%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Usa il colore di sfondo globale</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Imposta il colore di sfondo:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Colore dello sfondo:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (shader assembly, solo NVIDIA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation>SPIR-V (sperimentale, solo Mesa)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
- <translation type="unfinished"/>
+ <translation>Disattivato</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
- <translation type="unfinished"/>
+ <translation>VSync disattivato</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
- <translation type="unfinished"/>
+ <translation>Consigliata</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
- <translation type="unfinished"/>
+ <translation>Attivato</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
- <translation type="unfinished"/>
+ <translation>VSync attivato</translation>
</message>
</context>
<context>
@@ -1748,162 +1306,6 @@ Immediate (no synchronization) just presents whatever is available and can exhib
<source>Advanced Graphics Settings</source>
<translation>Impostazioni grafiche avanzate</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Livello di accuratezza:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation>Ricompressione ASTC:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation>Nessuna compressione (qualità migliore)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation>BC1 (qualità bassa)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation>BC3 (qualità media)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation>Abilita la presentazione asincrona (solo Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation>Esegue del lavoro in background durante l&apos;attesa dei comandi grafici per evitare che la GPU diminuisca la sua velocità di clock.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation>Forza clock massimi (solo Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation>Abilita la decodifica asincrona delle texture ASTC, che può ridurre gli scatti durante il caricamento. Questa funzione è sperimentale.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation>Decodifica le texture ASTC in maniera asincrona (espediente)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Abilita la compilazione degli shader asincrona, che può ridurre gli scatti causati dagli shader. Questa funzione è sperimentale.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>Utilizza la compilazione asincrona degli shader (espediente)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation>Utilizza la cache delle pipeline di Vulkan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Filtro anisotropico:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>Automatico</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Predefinito</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2342,12 +1744,12 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2733"/>
<source>Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use.</source>
- <translation type="unfinished"/>
+ <translation>Permette l&apos;uso dello stesso Amiibo all&apos;infinito in giochi che, al contrario, li limitano ad un utilizzo singolo.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2742"/>
<source>Use random Amiibo ID</source>
- <translation type="unfinished"/>
+ <translation>Utilizza un ID Amiibo casuale</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2749"/>
@@ -2667,10 +2069,10 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3085"/>
<source>Mouse panning</source>
- <translation type="unfinished"/>
+ <translation>Abilita il mouse panning</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Configura</translation>
</message>
@@ -2707,7 +2109,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="401"/>
<source>Turbo button</source>
- <translation type="unfinished"/>
+ <translation>Modalità Turbo</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="409"/>
@@ -2731,17 +2133,17 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="437"/>
<source>Toggle axis</source>
- <translation type="unfinished"/>
+ <translation>Cancella asse</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="474"/>
<source>Set gyro threshold</source>
- <translation type="unfinished"/>
+ <translation>Imposta soglia del giroscopio</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="483"/>
<source>Calibrate sensor</source>
- <translation type="unfinished"/>
+ <translation>Calibra sensore</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="523"/>
@@ -3094,75 +2496,103 @@ Per invertire gli assi, prima muovi la levetta verticalmente, e poi orizzontalme
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="6"/>
<source>Configure mouse panning</source>
- <translation type="unfinished"/>
+ <translation>Configura il mouse panning</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation>Abilita</translation>
+ <source>Enable mouse panning</source>
+ <translation>Abilita il mouse panning</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
- <translation type="unfinished"/>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
+ <translation>Può essere attivato o disattivato tramite una scorciatoia. La scorciatoia predefinita è CTRL + F9</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
<source>Sensitivity</source>
- <translation type="unfinished"/>
+ <translation>Sensibilità</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
- <translation type="unfinished"/>
+ <translation>Orizzontale</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
- <translation type="unfinished"/>
+ <translation>Verticale</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="85"/>
<source>Deadzone counterweight</source>
- <translation type="unfinished"/>
+ <translation>Contrappeso Deadzone</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="88"/>
<source>Counteracts a game&apos;s built-in deadzone</source>
- <translation type="unfinished"/>
+ <translation>Cerca di rimpiazzare o contrastare la zona morta incorporata in un gioco.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation>Zona morta</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
- <translation type="unfinished"/>
+ <translation>Drift dello Stick</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
- <translation type="unfinished"/>
+ <translation>Forza</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
- <translation type="unfinished"/>
+ <translation>Minima</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>Predefinito</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation>Il mouse panning funziona meglio se la zona morta è impostata allo 0% e il range di input al 100%.
+I valori correnti sono rispettivamente:
+Zona morta: %1%
+Range di input: %2%</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation>Il mouse emulato è abilitato.
+NB: non potrai attivare il mouse panning.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>Mouse emulato abilitato</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation>L&apos;input reale del mouse è incompatibile col mouse panning.
+Per attivarlo, disattiva il mouse emulato.</translation>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3195,100 +2625,95 @@ Per invertire gli assi, prima muovi la levetta verticalmente, e poi orizzontalme
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Dialogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Info</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Nome</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>Title ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Nome file</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Formato</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Versione</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Dimensioni</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Sviluppatore</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Add-on</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Alcune impostazioni sono disponibili soltanto quando un gioco non è in esecuzione.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Generale</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Add-on</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>Sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Grafica</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Grafica (Avanzate)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation>Profili di input</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Proprietà</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Usa la configurazione globale (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3484,24 +2909,24 @@ UUID: %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="26"/>
<source>To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game.</source>
- <translation type="unfinished"/>
+ <translation>Per usare il Ring-Con, configurare il Giocatore 1 come utilizzatore del Joy-Con destro (fisico o emulato) e il Giocatore 2 come utilizzatore del Joy-Con sinistro prima di avviare il gioco.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="52"/>
<source>Virtual Ring Sensor Parameters</source>
- <translation type="unfinished"/>
+ <translation>Parametri Sensore del Virtual Ring</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="84"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="123"/>
<source>Pull</source>
- <translation type="unfinished"/>
+ <translation>Tirare</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="133"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="172"/>
<source>Push</source>
- <translation type="unfinished"/>
+ <translation>Spingere</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="206"/>
@@ -3527,7 +2952,7 @@ UUID: %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="307"/>
<source>Ring Sensor Value</source>
- <translation type="unfinished"/>
+ <translation>Valore Sensore Ring</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="314"/>
@@ -3589,7 +3014,7 @@ UUID: %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="309"/>
<source>The current mapped device is not connected</source>
- <translation type="unfinished"/>
+ <translation>L&apos;attuale dispositivo mappato non è connesso.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="313"/>
@@ -3611,412 +3036,17 @@ UUID: %2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>Sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Impostazioni di sistema</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Regione:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Automatico</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Predefinito</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Cuba</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Egitto</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>GB</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Greenwich</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Hongkong</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>Islanda</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>Iran</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>Israele</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Giamaica</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Giappone</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>Kwajalein</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Libia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Navajo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>NZ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>NZ-CHAT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Polonia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Portogallo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Singapore</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Turchia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Universale</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>Zulu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>USA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Europa</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Australia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>Cina</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Corea</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Taiwan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Fuso orario:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Nota: questo può essere ignorato quando le impostazioni della regione sono su auto-select</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Giapponese (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation>Inglese americano</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Francese (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Tedesco (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Italiano</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Spagnolo (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Cinese</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Coreano (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Olandese (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Portoghese (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Russo (Русский)</translation>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation>Core</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Taiwanese</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Inglese britannico</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Francese canadese</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Spagnolo latino-americano</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Cinese semplificato</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Cinese tradizionale (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>Portoghese brasiliano (português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>RTC Personalizzato</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Lingua</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>Seed RNG</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation>Nome del dispositivo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation>Layout di memoria esteso non sicuro (8GB DRAM)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Le impostazioni di sistema sono disponibili solamente quando il gioco non è in esecuzione.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation>Attenzione: &quot;%1&quot; non è una lingua valida per la regione &quot;%2&quot;</translation>
</message>
@@ -4056,7 +3086,7 @@ UUID: %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="67"/>
<source>Loop script</source>
- <translation type="unfinished"/>
+ <translation>Looping script</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="77"/>
@@ -4225,64 +3255,64 @@ Trascina i punti per cambiare posizione, oppure clicca due volte la cella in tab
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Nessuna</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>Piccola (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>Standard (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>Grande (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>Dimensione intera (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>Piccola (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>Standard (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>Grande (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Nome del file</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>Tipo di file</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>ID del gioco (Title ID)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>Nome del gioco</translation>
</message>
@@ -4385,15 +3415,31 @@ Trascina i punti per cambiare posizione, oppure clicca due volte la cella in tab
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation>Etichetta</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Risoluzione:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>Seleziona il percorso degli screenshot...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation>Automatica (%1 x %2, %3 x %4)</translation>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4694,12 +3740,12 @@ Trascina i punti per cambiare posizione, oppure clicca due volte la cella in tab
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation>Connessione in corso</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation>Connetti</translation>
</message>
@@ -4707,574 +3753,615 @@ Trascina i punti per cambiare posizione, oppure clicca due volte la cella in tab
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Vengono raccolti dati anonimi&lt;/a&gt; per aiutarci a migliorare yuzu. &lt;br/&gt;&lt;br/&gt;Desideri condividere i tuoi dati di utilizzo con noi?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Telemetria</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation>Rilevata installazione di Vulkan non funzionante</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation>L&apos;inizializzazione di Vulkan è fallita durante l&apos;avvio.&lt;br&gt;&lt;br&gt;Clicca &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;qui per istruzioni su come risolvere il problema&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
- <translation type="unfinished"/>
+ <translation>Gioco in esecuzione</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>Caricamento dell&apos;applet web...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Disabilita l&apos;applet web</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
- <translation type="unfinished"/>
+ <translation>Disabilitare l&apos;applet web potrebbe causare dei comportamenti indesiderati.
+Da usare solo con Super Mario 3D All-Stars. Sei sicuro di voler procedere?
+(Puoi riabilitarlo quando vuoi nelle impostazioni di Debug.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
- <translation>Il numero di shaders al momento in costruzione</translation>
+ <translation>Il numero di shader in fase di compilazione</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
- <translation type="unfinished"/>
+ <translation>Il moltiplicatore corrente dello scaling della risoluzione.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>Velocità corrente dell&apos;emulazione. Valori più alti o più bassi di 100% indicano che l&apos;emulazione sta funzionando più velocemente o lentamente rispetto a una Switch.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>Il numero di fotogrammi al secondo che il gioco visualizza attualmente. Può variare in base al gioco e alla situazione.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Tempo necessario per emulare un fotogramma della Switch, senza tenere conto del limite al framerate o del V-Sync. Per un&apos;emulazione alla massima velocità, il valore non dovrebbe essere superiore a 16.67 ms.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
- <translation type="unfinished"/>
+ <translation>Riattiva</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
- <translation type="unfinished"/>
+ <translation>Silenzia</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
- <translation type="unfinished"/>
+ <translation>Reimposta volume</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>&amp;Cancella i file recenti</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
- <translation type="unfinished"/>
+ <translation>Mouse emulato abilitato</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
- <translation type="unfinished"/>
+ <translation>L&apos;input reale del mouse è incompatibile col mouse panning.
+Per attivarlo, disattiva il mouse emulato.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>&amp;Continua</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;Pausa</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>Formato del gioco obsoleto</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
- <translation>Stai usando una cartella con dentro una ROM decostruita come formato per avviare questo gioco, è un formato obsoleto ed è stato sostituito da altri come NCA, NAX, XCI o NSP. Le ROM decostruite non hanno icone, metadata e non supportano gli aggiornamenti. &lt;br&gt;&lt;br&gt;Per una spiegazione sui vari formati di Switch che yuzu supporta, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;controlla la nostra wiki&lt;/a&gt;. Questo messaggio non verrà più mostrato.</translation>
+ <translation>Stai usando una cartella contenente una ROM decostruita per avviare questo gioco, che è un formato obsoleto e sostituito da NCA, NAX, XCI o NSP. Le ROM decostruite non hanno icone, metadati e non supportano gli aggiornamenti. &lt;br&gt;&lt;br&gt;Per una spiegazione sui vari formati della Switch supportati da yuzu, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;consulta la nostra wiki (in inglese)&lt;/a&gt;. Non riceverai di nuovo questo avviso.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>Errore nel caricamento della ROM!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>Il formato della ROM non è supportato.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>È stato riscontrato un errore nell&apos;inizializzazione del core video.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
- <translation type="unfinished"/>
+ <translation>yuzu ha riscontrato un problema durante l&apos;avvio del core video. Di solito questo errore è causato da driver GPU obsoleti, compresi quelli integrati.
+Consulta il log per maggiori dettagli. Se hai bisogno di aiuto per accedere ai log, consulta questa pagina (in inglese): &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;Come caricare i file di log&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>Errore nel caricamento della ROM! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
- <translation>%1&lt;br&gt;Segui &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;la guida introduttiva di yuzu&lt;/a&gt; per rifare il dump dei file.&lt;br&gt;Puoi fare riferimento alla wiki di yuzu&lt;/a&gt; o al server Discord di yuzu&lt;/a&gt; per assistenza.</translation>
+ <translation>%1&lt;br&gt;Segui &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;la guida introduttiva di yuzu&lt;/a&gt; per rifare il dump dei file.&lt;br&gt;Puoi dare un occhiata alla wiki di yuzu (in inglese)&lt;/a&gt; o al server Discord di yuzu&lt;/a&gt; per assistenza.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>Si è verificato un errore sconosciuto. Visualizza il log per maggiori dettagli.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation>Chiusura del software in corso...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>Dati di salvataggio</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Dati delle mod</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>Impossibile aprire la cartella %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>La cartella non esiste!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>Impossibile aprire la cache trasferibile degli shader</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation>Impossibile creare la cartella della cache degli shader per questo titolo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation>Impossibile rimuovere il contentuto</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation>Impossibile rimuovere l&apos;aggiornamento</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation>Impossibile rimuovere il DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation>Rimuovere il contenuto del gioco installato?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation>Rimuovere l&apos;aggiornamento installato?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation>Rimuovere il DLC installato?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>Rimuovi voce</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>Rimozione completata</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>Il gioco base installato è stato rimosso con successo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>Il gioco base non è installato su NAND e non può essere rimosso.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>Aggiornamento rimosso con successo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>Non c&apos;è alcun aggiornamento installato per questo gioco.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>Non c&apos;è alcun DLC installato per questo gioco.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>%1 DLC rimossi con successo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation>Vuoi rimuovere la cache trasferibile degli shader OpenGL?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation>Vuoi rimuovere la cache trasferibile degli shader Vulkan?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation>Vuoi rimuovere tutte le cache trasferibili degli shader?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>Rimuovere la configurazione personalizzata del gioco?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
- <translation type="unfinished"/>
+ <translation>Rimuovere la Storage Cache?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>Rimuovi file</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>Impossibile rimuovere la cache trasferibile degli shader</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>Per questo titolo non esiste una cache degli shader.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>La cache trasferibile degli shader è stata rimossa con successo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>Impossibile rimuovere la cache trasferibile degli shader.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation>Impossibile rimuovere la cache delle pipeline del driver Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation>Impossibile rimuovere la cache delle pipeline del driver.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation>Impossibile rimuovere le cache trasferibili degli shader</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation>Le cache trasferibili degli shader sono state rimosse con successo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation>Impossibile rimuovere la cartella della cache trasferibile degli shader.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>Impossibile rimuovere la configurazione personalizzata</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>Non esiste una configurazione personalizzata per questo gioco.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>La configurazione personalizzata del gioco è stata rimossa con successo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>Impossibile rimuovere la configurazione personalizzata del gioco.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>Estrazione RomFS fallita!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>C&apos;è stato un errore nella copia dei file del RomFS o l&apos;operazione è stata annullata dall&apos;utente.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>Completa</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>Cartelle</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>Seleziona la modalità di estrazione della RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Seleziona come vorresti estrarre la RomFS. &lt;br&gt;La modalità Completa copierà tutti i file in una nuova cartella mentre&lt;br&gt;la modalità Cartelle creerà solamente le cartelle e le sottocartelle.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
- <translation type="unfinished"/>
+ <translation>Non c&apos;è abbastanza spazio disponibile nel disco %1 per estrarre la RomFS. Libera lo spazio o seleziona una cartella di estrazione diversa in Emulazione &gt; Configura &gt; Sistema &gt; File system &gt; Cartella di estrazione</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>Estrazione RomFS in corso...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Annulla</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>Estrazione RomFS riuscita!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>L&apos;operazione è stata completata con successo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation>Impossibile verificare l&apos;integrità dei file.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation>I contenuti di questo file non sono stati verificati</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation>Verifica integrità fallita.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation>I contenuti di questo File potrebbero essere corrotti.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation>Verificando l&apos;integrità della ROM...</translation>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation>Verifica dell&apos;integrità completata con successo!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation>Crea scorciatoia</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation>Verrà creata una scorciatoia all&apos;AppImage attuale. Potrebbe non funzionare correttamente se effettui un aggiornamento. Vuoi continuare?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation>Impossibile creare la scorciatoia sul desktop. Il percorso &quot;%1&quot; non esiste.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Impossibile creare la scorciatoia nel menù delle applicazioni. Il percorso &quot;%1&quot; non esiste e non può essere creato.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation>Crea icona</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Impossibile creare il file dell&apos;icona. Il percorso &quot;%1&quot; non esiste e non può essere creato.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation>Avvia %1 con l&apos;emulatore yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation>Impossibile creare la scorciatoia in %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation>Scorciatoia creata con successo in %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>Impossibile aprire %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Seleziona cartella</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Proprietà</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>Non è stato possibile caricare le proprietà del gioco.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Eseguibile Switch (%1);;Tutti i file (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Carica file</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Apri cartella ROM estratta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Cartella selezionata non valida</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>La cartella che hai selezionato non contiene un file &quot;main&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>File installabili Switch (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>Installa file</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation><numerusform>%n file rimanente</numerusform><numerusform>%n file rimanenti</numerusform><numerusform>%n file rimanenti</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>Installazione del file &quot;%1&quot;...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>Risultati dell&apos;installazione</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>Per evitare possibli conflitti, sconsigliamo di installare i giochi base su NAND.
Usa questa funzione solo per installare aggiornamenti e DLC.</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation><numerusform>%n nuovo file è stato installato
@@ -5283,7 +4370,7 @@ Usa questa funzione solo per installare aggiornamenti e DLC.</translation>
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation><numerusform>%n file è stato sovrascritto
@@ -5292,7 +4379,7 @@ Usa questa funzione solo per installare aggiornamenti e DLC.</translation>
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation><numerusform>%n file non è stato installato a causa di errori
@@ -5301,313 +4388,342 @@ Usa questa funzione solo per installare aggiornamenti e DLC.</translation>
</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Applicazione di sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Archivio di sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Aggiornamento di un&apos;applicazione di sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Pacchetto firmware (tipo A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Pacchetto firmware (tipo B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Gioco</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Aggiornamento di gioco</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Titolo delta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Seleziona il tipo di installazione NCA</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>Seleziona il tipo del file NCA da installare:
(Nella maggior parte dei casi, il valore predefinito &apos;Gioco&apos; va bene.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Installazione fallita</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>Il tipo che hai selezionato per l&apos;NCA non è valido.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>File non trovato</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>File &quot;%1&quot; non trovato</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation>Requisiti hardware non soddisfatti</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation>Il tuo sistema non soddisfa i requisiti hardware consigliati. La funzionalità di segnalazione della compatibilità è stata disattivata.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>Account di yuzu non trovato</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>Per segnalare la compatibilità di un gioco, devi collegare il tuo account yuzu. &lt;br&gt;&lt;br/&gt;Per collegare il tuo account yuzu, vai su Emulazione &amp;gt;
Configurazione &amp;gt; Web.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>Impossibile aprire l&apos;URL</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>Non è stato possibile aprire l&apos;URL &quot;%1&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
- <translation type="unfinished"/>
+ <translation>Registrazione TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>Vuoi sovrascrivere il file del giocatore 1?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
- <translation>Trovata configurazione invalida</translation>
+ <translation>Rilevata configurazione non valida</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>Il controller portatile non può essere utilizzato in modalità dock. Verrà selezionato il controller Pro.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>L&apos;Amiibo corrente è stato rimosso</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>Errore</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
- <translation type="unfinished"/>
+ <translation>Il gioco in uso non è alla ricerca di Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>File Amiibo (%1);; Tutti i file (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Carica Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Impossibile caricare i dati dell&apos;Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation>Il file selezionato non è un Amiibo valido</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation>Il file selezionato è già in uso</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation>Si è verificato un errore sconosciuto</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation>La verifica sui seguenti file è fallita:
+
+%1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Cattura screenshot</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>Immagine PNG (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
- <translation type="unfinished"/>
+ <translation>Stato TAS: In esecuzione (%1/%2)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
- <translation type="unfinished"/>
+ <translation>Stato TAS: Registrazione in corso (%1)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
- <translation type="unfinished"/>
+ <translation>Stato TAS: In attesa (%1/%2)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
- <translation type="unfinished"/>
+ <translation>Stato TAS: Non valido</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation>&amp;Interrompi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>&amp;Avvia</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>Interrompi r&amp;egistrazione</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>R&amp;egistra</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation><numerusform>Compilazione di %n shader</numerusform><numerusform>Compilazione di %n shader</numerusform><numerusform>Compilazione di %n shader</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>Risoluzione: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Velocità: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Velocità: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation>Gioco: %1 FPS (Sbloccati)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Gioco: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Frame: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>NO AA</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation>VOLUME: MUTO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation>VOLUME: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>Conferma ri-derivazione chiavi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5615,46 +4731,46 @@ Please make sure this is what you want
and optionally make backups.
This will delete your autogenerated key files and re-run the key derivation module.</source>
- <translation>Stai per forzare la ri-derivazione di tutte le tue chiavi.
+ <translation>Stai per forzare la ri-derivazione di tutte le tue chiavi di crittografia.
Se non sai cosa significa o cosa stai per fare,
-questa azione potrebbe causare gravi problemi.
-Assicurati di volerlo fare
-e facoltativamente fai dei backup.
+questa azione potrebbe fare danni.
+Se sei sicuro di voler procedere,
+è consigliato fare dei backup.
-Questo eliminerà i tuoi file di chiavi autogenerati e ri-avvierà il processo di derivazione delle chiavi.</translation>
+Questa azione eliminerà i tuoi file delle chiavi autogenerati e ripeterà il processo di derivazione delle chiavi.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>Fusi mancanti</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation> - BOOT0 mancante</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation> - BCPKG2-1-Normal-Main mancante</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation>- PRODINFO mancante</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>Componenti di derivazione mancanti</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
- <translation>Chiavi di crittografia mancanti. &lt;br&gt;Segui &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;la guida introduttiva di yuzu&lt;/a&gt; per ottenere tutte le tue chiavi, il tuo firmware e i tuoi giochi.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
+ <translation>Chiavi di crittografia mancanti. &lt;br&gt;Segui &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;la guida introduttiva di yuzu&lt;/a&gt; per ottenere tutte le tue chiavi, il firmware e i giochi.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5663,148 +4779,148 @@ Questa operazione potrebbe durare fino a un minuto in
base alle prestazioni del tuo sistema.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>Derivazione chiavi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
- <translation type="unfinished"/>
+ <translation>Decrittazione dell&apos;archivio di sistema fallita</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
- <translation type="unfinished"/>
+ <translation>Le chiavi di crittografia non sono riuscite a decrittare il firmware. &lt;br&gt;Segui &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;la guida introduttiva di yuzu&lt;/a&gt; per estrarre tutte le tue chiavi, il firmware e i giochi dalla tua Switch.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>Seleziona Target dell&apos;Estrazione del RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>Seleziona quale RomFS vorresti estrarre.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Sei sicuro di voler chiudere yuzu?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Sei sicuro di voler arrestare l&apos;emulazione? Tutti i progressi non salvati verranno perduti.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
- <translation>L&apos;applicazione in uso ha richiesto a yuzu di non uscire.
+ <translation>L&apos;applicazione in uso ha richiesto a yuzu di non arrestare il programma.
-Desideri uscire comunque?</translation>
+Vuoi forzare l&apos;arresto?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Nessuna</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
<translation>Nearest</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Bilineare</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Bicubico</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>Gaussiano</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Dock</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Portatile</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation>Normale</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation>Alta</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation>Estrema</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
<translation>OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
- <translation type="unfinished"/>
+ <translation>Nullo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
<translation>GLSL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
<translation>GLASM</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
<translation>SPIRV</translation>
</message>
@@ -5812,44 +4928,44 @@ Desideri uscire comunque?</translation>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGL non disponibile!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation>Gli shared context di OpenGL non sono supportati.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>yuzu è stato compilato senza il supporto a OpenGL.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>Errore durante l&apos;inizializzazione di OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>La tua GPU potrebbe non supportare OpenGL, o non hai installato l&apos;ultima versione dei driver video.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>Errore durante l&apos;inizializzazione di OpenGL 4.6!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>La tua GPU potrebbe non supportare OpenGL 4.6, o non hai installato l&apos;ultima versione dei driver video.&lt;br&gt;&lt;br&gt;Renderer GL:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>La tua GPU potrebbe non supportare una o più estensioni OpenGL richieste. Assicurati di aver installato i driver video più recenti.&lt;br&gt;&lt;br&gt;Renderer GL:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Estensioni non supportate:&lt;br&gt;%2</translation>
</message>
@@ -5857,173 +4973,178 @@ Desideri uscire comunque?</translation>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>Preferito</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>Avvia gioco</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>Avvia gioco senza la configurazione personalizzata</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Apri la cartella dei dati di salvataggio</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Apri la cartella delle mod</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation>Apri la cartella della cache trasferibile delle pipeline</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Rimuovi</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>Rimuovi l&apos;aggiornamento installato</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>Rimuovi tutti i DLC installati</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>Rimuovi la configurazione personalizzata</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
- <translation type="unfinished"/>
+ <translation>Rimuovi Storage Cache</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation>Rimuovi la cache delle pipeline OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation>Rimuovi la cache delle pipeline Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>Rimuovi tutte le cache delle pipeline</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>Rimuovi tutti i contenuti installati</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>Estrai RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>Estrai RomFS su SDMC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation>Verifica Integrità</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Copia il Title ID negli Appunti</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>Vai alla pagina di GameDB</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation>Crea scorciatoia</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation>Aggiungi al desktop</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation>Aggiungi al menù delle applicazioni</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Proprietà</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>Scansiona le sottocartelle</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>Rimuovi cartella dei giochi</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ Sposta in alto</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ Sposta in basso</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>Apri cartella</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Cancella</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Nome</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Compatibilità</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Add-on</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Tipo di file</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Dimensione</translation>
</message>
@@ -6094,7 +5215,7 @@ Desideri uscire comunque?</translation>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>Clicca due volte per aggiungere una nuova cartella alla lista dei giochi</translation>
</message>
@@ -6107,12 +5228,12 @@ Desideri uscire comunque?</translation>
<translation><numerusform>%1 di %n risultato</numerusform><numerusform>%1 di %n risultati</numerusform><numerusform>%1 di %n risultati</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Filtro:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Inserisci pattern per filtrare</translation>
</message>
@@ -6188,12 +5309,12 @@ Desideri uscire comunque?</translation>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>Errore</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation>Impossibile annunciare la stanza alla lobby pubblica. Per ospitare una stanza pubblicamente, devi avere un account yuzu valido configurato in Emulazione -&gt; Configura -&gt; Web. Se non desideri pubblicare una stanza nella lobby pubblica, seleziona Non in lista.
@@ -6203,13 +5324,11 @@ Messaggio di debug:</translation>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation>Attiva/disattiva l&apos;audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6230,111 +5349,113 @@ Messaggio di debug:</translation>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation>Finestra principale</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation>Abbassa il volume dell&apos;audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation>Alza il volume dell&apos;audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Cattura screenshot</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation>Cambia filtro di adattamento</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation>Cambia modalità console</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation>Cambia accuratezza GPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation>Continua/Metti in pausa l&apos;emulazione</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation>Esci dalla modalità schermo intero</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation>Esci da yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Schermo intero</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Carica file</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation>Carica/Rimuovi Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation>Riavvia l&apos;emulazione</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation>Arresta l&apos;emulazione</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation>Registra TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation>Reimposta TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation>Avvia/interrompi TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation>Mostra/nascondi la barra del filtro</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation>Attiva/disattiva il limite del framerate</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation>Attiva/disattiva il mouse panning</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation>Mostra/nascondi la barra di stato</translation>
</message>
@@ -6454,42 +5575,42 @@ Messaggio di debug:</translation>
<translation>Aggiorna lobby</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation>Password richiesta per entrare</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation>Password:</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Giocatori</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation>Nome stanza</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation>Gioco preferito</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation>Host</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation>Aggiornamento in corso</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation>Aggiorna lista</translation>
</message>
@@ -6577,172 +5698,182 @@ Messaggio di debug:</translation>
<translation>&amp;TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Aiuto</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>&amp;Installa file su NAND...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>Carica &amp;file...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>Carica &amp;cartella...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>&amp;Esci</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>&amp;Pausa</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>Arre&amp;sta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>&amp;Reinizializza chiavi...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>&amp;Informazioni su yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>&amp;Modalità finestra singola</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>Configura...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>Visualizza le intestazioni del dock dei widget</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>Mostra barra del &amp;filtro</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>Mostra barra di &amp;stato</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Mostra barra di stato</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation>&amp;Sfoglia lobby di gioco pubblica</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation>&amp;Crea stanza</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation>&amp;Esci dalla stanza</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation>Collegamento &amp;diretto alla stanza</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation>&amp;Mostra stanza attuale</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>Schermo intero</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>&amp;Riavvia</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation>Carica/Rimuovi &amp;Amiibo...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>&amp;Segnala la compatibilità</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation>Apri la pagina delle &amp;mod</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation>Apri la &amp;guida introduttiva</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>&amp;Domande frequenti</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation>Apri la cartella di yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>Cattura schermo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation>&amp;Configura TAS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation>Configura il gioco in uso...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>&amp;Avvia</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation>&amp;Reimposta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>R&amp;egistra</translation>
</message>
@@ -6953,13 +6084,14 @@ Vai su Configura -&gt; Sistema -&gt; Rete e selezionane una.</translation>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="68"/>
<source>Game already running</source>
- <translation type="unfinished"/>
+ <translation>Il gioco è già in esecuzione.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="69"/>
<source>Joining a room when the game is already running is discouraged and can cause the room feature not to work correctly.
Proceed anyway?</source>
- <translation type="unfinished"/>
+ <translation>Entrare in una stanza online mentre il gioco è già in esecuzione è sconsigliato e potrebbe causare problemi.
+Vuoi continuare lo stesso?</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="75"/>
@@ -7289,7 +6421,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="95"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="140"/>
<source>[undefined]</source>
- <translation type="unfinished"/>
+ <translation>[indefinito]</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="402"/>
@@ -7306,7 +6438,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="416"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="440"/>
<source>%1%2Hat %3</source>
- <translation type="unfinished"/>
+ <translation>%1%2Freccia %3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="420"/>
@@ -7415,7 +6547,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="136"/>
<source>Task</source>
- <translation type="unfinished"/>
+ <translation>Comando</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="138"/>
@@ -7431,7 +6563,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="207"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="231"/>
<source>%1%2%3Hat %4</source>
- <translation type="unfinished"/>
+ <translation>%1%2%3Freccia %4</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="211"/>
@@ -7534,27 +6666,27 @@ p, li { white-space: pre-wrap; }
<translation>Percorso file</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation>Nessun dato di gioco presente</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation>I seguenti dati Amiibo verranno formattati:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation>I seguenti dati di gioco verranno rimossi:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation>Imposta nickname e proprietario:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation>Vuoi ripristinare questo Amiibo?</translation>
</message>
@@ -7564,7 +6696,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="14"/>
<source>Controller Applet</source>
- <translation>Applet Controller</translation>
+ <translation>Applet controller</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="129"/>
@@ -7595,7 +6727,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Pro Controller</translation>
</message>
@@ -7608,7 +6740,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Due Joycon</translation>
</message>
@@ -7621,7 +6753,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Joycon sinistro</translation>
</message>
@@ -7634,7 +6766,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Joycon destro</translation>
</message>
@@ -7663,7 +6795,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Portatile</translation>
</message>
@@ -7779,32 +6911,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>Controller GameCube</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>Poké Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>Controller NES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>Controller SNES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>Controller N64</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>Sega Genesis</translation>
</message>
@@ -7864,7 +6996,7 @@ Riprova o contatta gli sviluppatori del programma.</translation>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="167"/>
<source>Profile Creator</source>
- <translation type="unfinished"/>
+ <translation>Creatore Profilo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="170"/>
@@ -7875,57 +7007,57 @@ Riprova o contatta gli sviluppatori del programma.</translation>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="173"/>
<source>Profile Icon Editor</source>
- <translation type="unfinished"/>
+ <translation>Editor Icona del Profilo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="176"/>
<source>Profile Nickname Editor</source>
- <translation type="unfinished"/>
+ <translation>Editor Nickname del Profilo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="198"/>
<source>Who will receive the points?</source>
- <translation type="unfinished"/>
+ <translation>Chi riceverà i punti?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="201"/>
<source>Who is using Nintendo eShop?</source>
- <translation type="unfinished"/>
+ <translation>Chi sta usando il Nintendo eShop?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="204"/>
<source>Who is making this purchase?</source>
- <translation type="unfinished"/>
+ <translation>Chi sta acquistando questo titolo?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="207"/>
<source>Who is posting?</source>
- <translation type="unfinished"/>
+ <translation>Chi sta postando?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="210"/>
<source>Select a user to link to a Nintendo Account.</source>
- <translation type="unfinished"/>
+ <translation>Seleziona un utente da collegare ad un Account Nintendo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="213"/>
<source>Change settings for which user?</source>
- <translation type="unfinished"/>
+ <translation>Per quale utente vuoi modificare le impostazioni?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="216"/>
<source>Format data for which user?</source>
- <translation type="unfinished"/>
+ <translation>A quale utente verranno formattati i dati?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="219"/>
<source>Which user will be transferred to another console?</source>
- <translation type="unfinished"/>
+ <translation>Quale utente verrà trasferito ad un altra console?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="222"/>
<source>Send save data for which user?</source>
- <translation type="unfinished"/>
+ <translation>A quale utente vuoi inviare i dati di salvataggio?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="226"/>
@@ -8009,12 +7141,12 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="204"/>
<source>paused</source>
- <translation>in pausa</translation>
+ <translation>In Pausa</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="210"/>
<source>sleeping</source>
- <translation>dormendo</translation>
+ <translation>Attende...</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="213"/>
@@ -8024,7 +7156,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="216"/>
<source>waiting for objects</source>
- <translation>attende degli oggetti</translation>
+ <translation>Attendendo gli Oggetti...</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="219"/>
@@ -8034,7 +7166,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="222"/>
<source>waiting for address arbiter</source>
- <translation>attende un indirizzo arbitro</translation>
+ <translation>attende un indirizzo arbitrio</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="225"/>
@@ -8064,7 +7196,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="244"/>
<source> PC = 0x%1 LR = 0x%2</source>
- <translation> PC = 0x%1 LR = 0x%2</translation>
+ <translation> Program Counter = 0x%1 LR = 0x%2</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="294"/>
@@ -8079,17 +7211,17 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="301"/>
<source>processor = %1</source>
- <translation>processore = %1</translation>
+ <translation>CPU = %1</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="303"/>
<source>affinity mask = %1</source>
- <translation>affinity mask = %1</translation>
+ <translation>Maschera Affinità = %1</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="304"/>
<source>thread id = %1</source>
- <translation>id thread = %1</translation>
+ <translation>ID Thread: %1</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="305"/>
diff --git a/dist/languages/ja_JP.ts b/dist/languages/ja_JP.ts
index 74094f48b..8c06a0afd 100644
--- a/dist/languages/ja_JP.ts
+++ b/dist/languages/ja_JP.ts
@@ -133,7 +133,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="459"/>
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="469"/>
<source>Block Player</source>
- <translation type="unfinished"/>
+ <translation>プレイヤーをブロック</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="470"/>
@@ -213,7 +213,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/multiplayer/client_room.cpp" line="100"/>
<source>%1 - %2 (%3/%4 members) - connected</source>
- <translation type="unfinished"/>
+ <translation>%1 - %2 (%3/%4 メンバー) - 接続済み</translation>
</message>
</context>
<context>
@@ -242,12 +242,12 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="77"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game boot?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"/>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;ゲームは起動しますか?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="100"/>
<source>Yes The game starts to output video or audio</source>
- <translation type="unfinished"/>
+ <translation>はい ゲームは映像または音声の出力を開始します</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="107"/>
@@ -267,12 +267,12 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="143"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game reach gameplay?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"/>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;ゲームはゲームプレイまで達しますか?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="176"/>
<source>Yes The game works without crashes</source>
- <translation type="unfinished"/>
+ <translation>はい ゲームはクラッシュせず動作します</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="183"/>
@@ -302,17 +302,17 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="280"/>
<source>Major The game has major graphical errors</source>
- <translation type="unfinished"/>
+ <translation>メジャー ゲームは大きなグラフィックエラーがあります</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="287"/>
<source>Minor The game has minor graphical errors</source>
- <translation type="unfinished"/>
+ <translation>マイナー ゲームはマイナーなグラフィックエラーがあります</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="294"/>
<source>None Everything is rendered as it looks on the Nintendo Switch</source>
- <translation type="unfinished"/>
+ <translation>なし すべてはニンテンドースイッチと同様にレンダリングされます</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="306"/>
@@ -366,78 +366,32 @@ This would ban both their forum username and their IP address.</source>
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>サウンド</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>出力エンジン:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>出力デバイス:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>入力デバイス:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>音声出力モード:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>モノラル</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>ステレオ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>サラウンド</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>共通設定を使用</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>カスタム設定</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>音量:</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation>自動 (%1)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>非アクティブ時にサウンドをミュート</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation>既定 (%1)</translation>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>サウンド</translation>
</message>
</context>
<context>
@@ -501,139 +455,25 @@ This would ban both their forum username and their IP address.</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>全般</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>エミュレーション精度:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>自動</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Accurate(正確)</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Unsafe(不正確)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>Paranoid (ほとんどの最適化を無効化)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>エミュレーション精度の設定は「自動」推奨です</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>不安定なCPU最適化設定</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>これらの設定は高速化のために精度を犠牲にします。</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;このオプションは、ネイティブFMAをサポートしていないCPUで融合積和 (FMA) 命令の精度を下げることで速度を改善させます。&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>FMAの融合を解除 (FMAに対応していないCPUのパフォーマンスを向上させる)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;このオプションは、精度の低いネイティブ近似を使用することにより、一部の近似浮動小数点関数の速度を改善させます。&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>Faster FRSQRTE and FRECPE</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;このオプションは、不正確な丸めモードで実行することにより、32ビットASIMD浮動小数点関数の速度を向上させます。&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>高速なASIMD命令 (32bitのみ)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;このオプションは、非数チェックをなくすことにより速度を向上させます。一部の浮動小数点演算命令の精度が低下することにご注意ください。&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>不正確な非数値の取り扱い</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;このオプションは、ゲストでメモリの読み書きの前に行われる安全チェックをなくすことで、速度を向上させます。このオプションを無効にすると、ゲームがエミュレータのメモリを読み書きできるようになる場合があります。&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>アドレス空間チェックの無効化</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;このオプションは、排他的アクセス命令の安全性の確保に、cmpxchgのセマンティクスにのみ依存することで、速度を向上させます。フリーズやその他の競合状態を引き起こす可能性があることに注意してください。&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>CPUの設定はゲームを実行していない時にのみ変更できます。</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -852,222 +692,227 @@ This would ban both their forum username and their IP address.</source>
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>デバッガ―</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>GDBスタブの有効化</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>ポート:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>ログ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>グローバルログフィルター</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>コンソールにログを表示</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>ログ出力フォルダを開く</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>グローバルログフィルター</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>チェックすると、ログの最大サイズが100MBから1GBに増加します。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>拡張ログの有効化**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>コンソールにログを表示</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>引数</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>グラフィック</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>チェックすると、 グラフィックAPIはより遅いデバッグモードになります。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>グラフィックデバッグの有効化</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>チェックすると、Nsight Aftermathのクラッシュダンプが有効になります</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>チェックすると、ループロジックを変更せずにシェーダーを実行します。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Nsight Aftermathの有効化</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>ループ安全性チェックの無効化</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>チェックすると、ディスクシェーダーキャッシュまたはゲームからオリジナルのアセンブラーシェーダーをすべてダンプします</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>有効化すると、マクロHLE機能を無効にします。これを有効にすると、ゲームの動作が遅くなります</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>ゲームシェーダーをダンプ</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>Macro HLE を無効化</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>チェックすると、GPUのすべてのマクロプログラムをダンプします</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>Maxwellマクロをダンプ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>チェックすると、マクロのJust In Timeコンパイラが無効になります。有効にすると、ゲームの動作が遅くなります。</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>チェックすると、Nsight Aftermathのクラッシュダンプが有効になります</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Macro JITを無効化</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Nsight Aftermathの有効化</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation>有効化すると、マクロHLE機能を無効にします。これを有効にすると、ゲームの動作が遅くなります</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
+ <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
+ <translation>チェックすると、コンパイルしたパイプラインキャッシュの統計情報をロギングします</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation>Macro HLE を無効化</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
+ <source>Enable Shader Feedback</source>
+ <translation>シェーダーフィードバックの有効j化</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
- <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
- <translation>チェックすると、コンパイルしたパイプラインキャッシュの統計情報をロギングします</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>チェックすると、マクロのJust In Timeコンパイラが無効になります。有効にすると、ゲームの動作が遅くなります。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
- <source>Enable Shader Feedback</source>
- <translation>シェーダフィードバックの有効j化</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Macro JITを無効化</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>チェックすると、ループロジックを変更せずにシェーダーを実行します。</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>チェックすると、 グラフィックAPIはより遅いデバッグモードになります。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>ループ安全性チェックの無効化</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>グラフィックデバッグの有効化</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>デバッグ</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>チェックすると、ディスクシェーダーキャッシュまたはゲームからオリジナルのアセンブラーシェーダーをすべてダンプします</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation>詳細なレポートサービスの有効化**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>ゲームシェーダーをダンプ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>FSアクセスログの有効化</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation>Renderdocのホットキーを有効化</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation>これを有効にすると、最新のオーディオコマンドリストがコンソールに出力されます。オーディオレンダラーを使用するゲームにのみ影響します。</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
+ <source>Advanced</source>
+ <translation>高度</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>プログラム起動時にyuzuがVulkan環境が動作しているかどうかを確認するようにします。外部プログラムがyuzuを参照する際に問題がある場合は、これを無効にしてください。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>クラッシュ時にミニダンプを生成</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>スタートアップ時にVulkanのチェックを実行する</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
- <source>Advanced</source>
- <translation>高度</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Webアプレットの無効化</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>すべてのコントローラタイプを有効にする</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>自動スタブの有効化**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Kiosk (Quest) Mode</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>CPUデバッグの有効化</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>デバッグアサートの有効化</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>自動スタブの有効化**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>デバッグ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>すべてのコントローラタイプを有効にする</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>FSアクセスログの有効化</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Webアプレットの無効化</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>クラッシュ時にミニダンプを生成</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation>プログラム起動時にyuzuがVulkan環境が動作しているかどうかを確認するようにします。外部プログラムがyuzuを参照する際に問題がある場合は、これを無効にしてください。</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>これを有効にすると、最新のオーディオコマンドリストがコンソールに出力されます。オーディオレンダラーを使用するゲームにのみ影響します。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>スタートアップ時にVulkanのチェックを実行する</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>詳細なレポートサービスの有効化**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>** yuzuを終了したときに自動的にリセットされます。</translation>
</message>
@@ -1082,12 +927,12 @@ This would ban both their forum username and their IP address.</source>
<translation>この設定を適用するには yuzu を再起動する必要があります.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>ウェブアプレットがコンパイルされていません</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation type="unfinished"/>
</message>
@@ -1137,78 +982,83 @@ This would ban both their forum username and their IP address.</source>
<translation>yuzuの設定</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>いくつかの設定はゲームが実行中でないときのみ設定できます</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>サウンド</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>デバッグ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>ファイルシステム</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>全般</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>グラフィック</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>拡張グラフィック</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>ホットキー</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>操作</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>プロファイル</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>ネットワーク</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>システム</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>ゲームリスト</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Web</translation>
</message>
@@ -1367,57 +1217,17 @@ This would ban both their forum username and their IP address.</source>
<translation>全般</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>エミュレーション速度の制限</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>マルチコアCPUエミュレーション</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>エミュレーションの停止を確認</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>ゲーム起動時に確認を表示</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>非アクティブ時にエミュレーションを一時停止</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>非アクティブ時にマウスカーソルを隠す</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>すべての設定をリセット</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>すべての設定がリセットされ、ゲームごとの設定もすべて削除されます。ゲームディレクトリ、プロファイル、入力プロファイルは削除されません。続行しますか?</translation>
</message>
@@ -1440,308 +1250,43 @@ This would ban both their forum username and their IP address.</source>
<translation>API設定</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>シェーダバックエンド:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>使用デバイス:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>なし</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>グラフィック設定</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>ディスクパイプラインキャッシュを使用</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>非同期GPUエミュレーションを使用する</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>ASTCテクスチャデコーディングの高速化</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation>垂直同期:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>NVDEC エミュレーション:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>ビデオ出力しない</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>ビデオをCPUでデコード</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>ビデオをGPUでデコード (デフォルト)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>全画面モード:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>ボーダーレスウィンドウ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>排他的フルスクリーン</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>アスペクト比:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>デフォルト (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>強制 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>強制 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>強制 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>ウィンドウに合わせる</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>解像度:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [実験的]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [実験的]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation>1.5X (1080p/1620p) [実験的]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation>7X (5040p/7560p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation>8X (5760p/8640p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>ウィンドウ アダプティング フィルター:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Nearest Neighbor</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Bilinear</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Bicubic</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>Gaussian</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️ Super Resolution</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>アンチエイリアス方式:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation>共通設定を使用</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation>FSR シャープネスを設定</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation>FSR シャープネス:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation>100%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>共通設定を使用</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>背景色の設定:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>背景色:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (アセンブリシェーダ、NVIDIA のみ)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation>SPIR-V (実験的, Mesa のみ)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation>オフ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation>VSync オフ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation>推奨</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation>オン</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation>VSync オン</translation>
</message>
@@ -1763,162 +1308,6 @@ Immediate (no synchronization) just presents whatever is available and can exhib
<source>Advanced Graphics Settings</source>
<translation>グラフィックの高度な設定</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>精度:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation>ASTC 再圧縮:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation>圧縮しない (最高品質)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation>BC1 (低品質)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation>BC3 (中品質)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation>非同期プレゼンテーション (Vulkan のみ)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation>GPUのクロックスピードを下げないように、グラフィックコマンドを待っている間、バックグラウンドで作業を実行させます。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation>最大クロック強制 (Vulkan のみ)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation>非同期ASTCテクスチャーデコードを有効にし、ロード時間のスタッターを減らすことができます。この機能は実験的なものです。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation>ASTCテクスチャを非同期でデコードする(ハック)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>非同期でのシェーダーのコンパイルを有効にします。シェーダーのスタッターが減少する場合があります。この機能は実験的です。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>非同期でのシェーダー構築を使用 (ハック)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>高速なGPUタイミングを有効にします。このオプションは、ほとんどのゲームをその最高のネイティブ解像度で実行することを強制します。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>高速なGPUタイミング(ハック)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation>GPU ベンダー固有のパイプラインキャッシュを有効にします。このオプションは、Vulkanドライバがパイプラインキャッシュファイルを内部に保存していない場合に、シェーダのロード時間を大幅に改善することができます。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation>Vulkan パイプラインキャッシュを使用</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>異方性フィルタリング:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>自動</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>デフォルト</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2685,7 +2074,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>設定</translation>
</message>
@@ -3113,40 +2502,37 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation>有効</translation>
+ <source>Enable mouse panning</source>
+ <translation type="unfinished"/>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
<source>Sensitivity</source>
- <translation type="unfinished"/>
+ <translation>感度</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
- <translation type="unfinished"/>
+ <translation>水平</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
- <translation type="unfinished"/>
+ <translation>垂直</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="85"/>
@@ -3159,25 +2545,51 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation>遊び</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>デフォルト</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3210,100 +2622,95 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>ダイアログ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>情報</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>タイトル</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>タイトルID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>ファイル名</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>ファイル形式</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>バージョン</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>ファイルサイズ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>開発元</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>アドオン</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>いくつかの設定はゲームが実行中でないときのみ設定できます</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>全般</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>アドオン</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>システム</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>グラフィック</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>高度なグラフィック</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>サウンド</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation>入力プロファイル</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>プロパティ</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>共通設定を使用(%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3626,412 +3033,17 @@ UUID: %2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>システム</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>システム設定</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>地域:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>自動</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>デフォルト</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>中央ヨーロッパ時間</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>キューバ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>東ヨーロッパ標準時</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>エジプト</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>アイルランド</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>アメリカ東部標準時</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>イギリス</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>イギリス-アイルランド</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>グリニッジ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>香港</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>ハワイ標準時</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>アイスランド</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>イラン</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>イスラエル</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>ジャマイカ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>日本</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>クェゼリン</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>リビア</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>中東時間</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>ナバホ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>NZ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>NZ-CHAT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>ポーランド</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>ポルトガル</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>シンガポール</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>トルコ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>ユニバーサル</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>ズールー</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>アメリカ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>ヨーロッパ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>オーストラリア</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>中国</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>韓国</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>台湾</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>タイムゾーン:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>注意:地域が自動選択の場合、設定が上書きされる可能性があります。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>日本語</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation>アメリカ英語</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>フランス語 (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>ドイツ語 (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>イタリア語 (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>スペイン語 (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>中国語</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>韓国語 (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>オランダ語 (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>ポルトガル語 (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>ロシア語 (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>台湾語</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>イギリス英語</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>カナダフランス語</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>ラテンアメリカスペイン語</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>簡体字中国語</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>繁体字中国語 (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>ブラジルポルトガル語 (português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>カスタム RTC を有効化</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>システムの言語</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>乱数シード値の変更</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation>デバイス名</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation>不安定な拡張メモリレイアウト (8GB DRAM)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>システム設定はゲーム未実行時にのみ変更できます。</translation>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation type="unfinished"/>
</message>
@@ -4240,64 +3252,64 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>なし</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>小 (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>標準 (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>大 (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>フルサイズ (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>小 (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>標準 (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>大 (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>ファイル名</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>ファイル種別</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>タイトルID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>タイトル名</translation>
</message>
@@ -4400,15 +3412,31 @@ Drag points to change position, or double-click table cells to edit values.</sou
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>解像度:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>スクリーンショットの保存先を選択...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4709,12 +3737,12 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation>接続中</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation>接続</translation>
</message>
@@ -4722,901 +3750,965 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>yuzuの改善に役立てるため、&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;匿名データが収集されます&lt;/a&gt;。&lt;br/&gt;&lt;br/&gt;統計情報を共有しますか?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>テレメトリ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation>壊れたVulkanのインストールが検出されました。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation>起動時にVulkanの初期化に失敗しました。&lt;br&gt;&lt;br&gt;この問題を解決するための手順は&lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;こちら&lt;/a&gt;。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>Webアプレットをロード中...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Webアプレットの無効化</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation>Webアプレットを無効にすると、未定義の動作になる可能性があるため、スーパーマリオ3Dオールスターズでのみ使用するようにしてください。本当にWebアプレットを無効化しますか?
(デバッグ設定で再度有効にすることができます)。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>ビルド中のシェーダー数</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation>現在選択されている解像度の倍率。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>現在のエミュレーション速度。値が100%より高いか低い場合、エミュレーション速度がSwitchより速いか遅いことを示します。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>ゲームが現在表示している1秒あたりのフレーム数。これはゲームごと、シーンごとに異なります。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Switchフレームをエミュレートするのにかかる時間で、フレームリミットやV-Syncは含まれません。フルスピードエミュレーションの場合、最大で16.67ミリ秒になります。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
- <translation type="unfinished"/>
+ <translation>消音解除</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
- <translation type="unfinished"/>
+ <translation>消音</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
- <translation type="unfinished"/>
+ <translation>音量をリセット</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>最近のファイルをクリア(&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>再開(&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>中断(&amp;P)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>古いゲームフォーマットの警告</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>このゲームでは、分解されたROMディレクトリフォーマットを使用しています。これは、NCA、NAX、XCI、またはNSPなどに取って代わられた古いフォーマットです。分解されたROMディレクトリには、アイコン、メタデータ、およびアップデートサポートがありません。&lt;br&gt;&lt;br&gt;yuzuがサポートするSwitchフォーマットの説明については、&lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;wikiをチェックしてください&lt;/a&gt;。このメッセージは二度と表示されません。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>ROMロード中にエラーが発生しました!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>このROMフォーマットはサポートされていません。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>ビデオコア初期化中にエラーが発生しました。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation>yuzuは、ビデオコアの実行中にエラーが発生しました。これは通常、内蔵GPUも含め、古いGPUドライバが原因です。詳しくはログをご覧ください。ログへのアクセス方法については、以下のページをご覧ください:&lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;ログファイルのアップロード方法について&lt;/a&gt;。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>ROMのロード中にエラー! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation>%1&lt;br&gt;&lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;yuzuクイックスタートガイド&lt;/a&gt;を参照してファイルを再ダンプしてください。&lt;br&gt;またはyuzu wiki及び&lt;/a&gt;yuzu Discord&lt;/a&gt;を参照するとよいでしょう。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>不明なエラーが発生しました。詳細はログを確認して下さい。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation>ソフトウェアを終了中...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>データのセーブ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Modデータ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>”%1”フォルダを開けませんでした</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>フォルダが存在しません!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
- <translation>シェーダキャッシュを開けませんでした</translation>
+ <translation>シェーダーキャッシュを開けませんでした</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
- <translation>このタイトル用のシェーダキャッシュディレクトリの作成に失敗しました</translation>
+ <translation>このタイトル用のシェーダーキャッシュディレクトリの作成に失敗しました</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation>コンテンツの削除エラー</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation>アップデートの削除エラー</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation>DLC の削除エラー</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation>インストールされたゲームのコンテンツを削除しますか?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation>インストールされたゲームのアップデートを削除しますか?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation>インストールされたゲームの DLC を削除しますか?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>エントリ削除</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>削除しました</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>インストールされたゲームを正常に削除しました。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>ゲームはNANDにインストールされていないため、削除できません。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>インストールされたアップデートを正常に削除しました。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>このタイトルのアップデートはインストールされていません。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>このタイトルにはDLCがインストールされていません。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>%1にインストールされたDLCを正常に削除しました。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
- <translation>転送可能なOpenGLシェーダキャッシュを削除しますか?</translation>
+ <translation>転送可能なOpenGLシェーダーキャッシュを削除しますか?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
- <translation>転送可能なVulkanシェーダキャッシュを削除しますか?</translation>
+ <translation>転送可能なVulkanシェーダーキャッシュを削除しますか?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
- <translation>転送可能なすべてのシェーダキャッシュを削除しますか?</translation>
+ <translation>転送可能なすべてのシェーダーキャッシュを削除しますか?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>このタイトルのカスタム設定を削除しますか?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation>キャッシュストレージを削除しますか?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>ファイル削除</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>転送可能なシェーダーキャッシュの削除エラー</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
- <translation>このタイトル用のシェーダキャッシュは存在しません。</translation>
+ <translation>このタイトル用のシェーダーキャッシュは存在しません。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>転送可能なシェーダーキャッシュが正常に削除されました。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>転送可能なシェーダーキャッシュを削除できませんでした。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
- <translation>転送可能なシェーダキャッシュの削除エラー</translation>
+ <translation>転送可能なシェーダーキャッシュの削除エラー</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
- <translation>転送可能なシェーダキャッシュを正常に削除しました。</translation>
+ <translation>転送可能なシェーダーキャッシュを正常に削除しました。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
- <translation>転送可能なシェーダキャッシュディレクトリの削除に失敗しました。</translation>
+ <translation>転送可能なシェーダーキャッシュディレクトリの削除に失敗しました。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>カスタム設定の削除エラー</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>このタイトルのカスタム設定は存在しません。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>カスタム設定を正常に削除しました。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>カスタム設定の削除に失敗しました。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>RomFSの抽出に失敗しました!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>RomFSファイルをコピー中にエラーが発生したか、ユーザー操作によりキャンセルされました。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>フル</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>スケルトン</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>RomFSダンプモードの選択</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>RomFSのダンプ方法を選択してください。&lt;br&gt;”完全”はすべてのファイルが新しいディレクトリにコピーされます。&lt;br&gt;”スケルトン”はディレクトリ構造を作成するだけです。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation>%1 に RomFS を展開するための十分な空き領域がありません。Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root で、空き容量を確保するか、別のダンプディレクトリを選択してください。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>RomFSを抽出中...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>キャンセル</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>RomFS抽出成功!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>操作は成功しました。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation>ショートカットを作成</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation>アイコンを作成</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>”%1”を開けませんでした</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>ディレクトリの選択</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>プロパティ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>ゲームプロパティをロード出来ませんでした。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Switch実行ファイル (%1);;すべてのファイル (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>ファイルのロード</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>展開されているROMディレクトリを開く</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>無効なディレクトリが選択されました</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>選択されたディレクトリに”main”ファイルが見つかりませんでした。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>インストール可能なスイッチファイル (*.nca *.nsp *.xci);;任天堂コンテンツアーカイブ (*.nca);;任天堂サブミッションパッケージ (*.nsp);;NXカートリッジイメージ (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>ファイルのインストール</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation><numerusform>残り %n ファイル</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>&quot;%1&quot;ファイルをインストールしています・・・</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>インストール結果</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>競合を避けるため、NANDにゲーム本体をインストールすることはお勧めしません。
この機能は、アップデートやDLCのインストールにのみ使用してください。</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation><numerusform>%n ファイルが新たにインストールされました
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation><numerusform>%n ファイルが上書きされました
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation><numerusform>%n ファイルのインストールに失敗しました
</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>システムアプリケーション</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>システムアーカイブ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>システムアプリケーションアップデート</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>ファームウェアパッケージ(Type A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>ファームウェアパッケージ(Type B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>ゲーム</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>ゲームアップデート</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>ゲームDLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>差分タイトル</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>NCAインストール種別を選択・・・</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>インストールするNCAタイトル種別を選択して下さい:
(ほとんどの場合、デフォルトの”ゲーム”で問題ありません。)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>インストール失敗</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>選択されたNCAのタイトル種別が無効です。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>ファイルが存在しません</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>ファイル”%1”が存在しません</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>yuzuアカウントが存在しません</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>ゲームの互換性テストケースを送信するには、yuzuアカウントをリンクする必要があります。&lt;br&gt;&lt;br/&gt;yuzuアカウントをリンクするには、エミュレーション > 設定 > Web から行います。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>URLオープンエラー</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>URL&quot;%1&quot;を開けません。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation> TAS 記録中</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>プレイヤー1のファイルを上書きしますか?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>無効な設定を検出しました</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>携帯コントローラはドックモードで使用できないため、Proコントローラが選択されます。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>現在の amiibo は削除されました</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>エラー</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation>現在のゲームはamiiboを要求しません</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>amiiboファイル (%1);;すべてのファイル (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>amiiboのロード</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>amiiboデータ読み込み中にエラーが発生しました</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation>不明なエラーが発生しました</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>スクリーンショットのキャプチャ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>PNG画像 (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>TAS 状態: 実行中 %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>TAS 状態: 記録中 %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation>TAS 状態: アイドル %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>TAS 状態: 無効</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation>実行停止(&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>実行(&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>記録停止(&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>記録(&amp;R)</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation><numerusform>構築中: %n 個のシェーダー</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>拡大率: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>速度:%1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>速度:%1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation>Game: %1 FPS(制限解除)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>ゲーム:%1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>フレーム:%1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>NO AA</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation>音量: ミュート</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation>音量: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>キーの再取得確認</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5633,37 +4725,37 @@ This will delete your autogenerated key files and re-run the key derivation modu
実行すると、自動生成された鍵ファイルが削除され、鍵生成モジュールが再実行されます。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>ヒューズがありません</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation> - BOOT0がありません</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation> - BCPKG2-1-Normal-Mainがありません</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation> - PRODINFOがありません</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>派生コンポーネントがありません</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation>暗号化キーがありません。&lt;br&gt;キー、ファームウェア、ゲームを取得するには&lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;yuzu クイックスタートガイド&lt;/a&gt;を参照ください。&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5672,49 +4764,49 @@ on your system&apos;s performance.</source>
1分以上かかります。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>派生キー</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation>システムアーカイブの復号に失敗しました</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>RomFSダンプターゲットの選択</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>ダンプしたいRomFSを選択して下さい。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>yuzuを終了しますか?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>エミュレーションを停止しますか?セーブされていない進行状況は失われます。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5723,142 +4815,142 @@ Would you like to bypass this and exit anyway?</source>
無視してとにかく終了しますか?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>なし</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
- <translation type="unfinished"/>
+ <translation>Nearest</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Bilinear</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Bicubic</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>Gaussian</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Docked</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>携帯モード</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation>標準</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation>高い</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
- <translation type="unfinished"/>
+ <translation>OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
- <translation type="unfinished"/>
+ <translation>GLSL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
- <translation type="unfinished"/>
+ <translation>GLASM</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
- <translation type="unfinished"/>
+ <translation>SPIRV</translation>
</message>
</context>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGLは使用できません!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>yuzuはOpenGLサポート付きでコンパイルされていません。</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>OpenGL初期化エラー</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>GPUがOpenGLをサポートしていないか、グラフィックスドライバーが最新ではありません。</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>OpenGL4.6初期化エラー!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>GPUがOpenGL4.6をサポートしていないか、グラフィックスドライバーが最新ではありません。&lt;br&gt;&lt;br&gt;GL レンダラ:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>GPUが1つ以上の必要なOpenGL拡張機能をサポートしていない可能性があります。最新のグラフィックドライバを使用していることを確認してください。&lt;br&gt;&lt;br&gt;GL レンダラ:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;サポートされていない拡張機能:&lt;br&gt;%2</translation>
</message>
@@ -5866,173 +4958,178 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>お気に入り</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>ゲームを開始</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>カスタム設定なしでゲームを開始</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>セーブデータディレクトリを開く</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Modデータディレクトリを開く</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation>転送可能なパイプラインキャッシュを開く</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>削除</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>インストールされているアップデートを削除</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>全てのインストールされているDLCを削除</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>カスタム設定を削除</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation>キャッシュストレージを削除</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation>OpenGLパイプラインキャッシュを削除</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation>Vulkanパイプラインキャッシュを削除</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>すべてのパイプラインキャッシュを削除</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>全てのインストールされているコンテンツを削除</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>RomFSをダンプ</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>RomFSをSDMCにダンプ</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>タイトルIDをクリップボードへコピー</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>GameDBエントリを表示</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation>ショートカットを作成</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation>デスクトップに追加</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation>アプリケーションメニューに追加</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>プロパティ</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>サブフォルダをスキャンする</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>ゲームディレクトリを削除する</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ 上へ移動</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ 下へ移動</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>ディレクトリの場所を開く</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>クリア</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>ゲーム名</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>互換性</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>アドオン</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>ファイル種別</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>ファイルサイズ</translation>
</message>
@@ -6103,7 +5200,7 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>新しいゲームリストフォルダを追加するにはダブルクリックしてください。</translation>
</message>
@@ -6116,12 +5213,12 @@ Would you like to bypass this and exit anyway?</source>
<translation type="unfinished"><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>フィルター:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>フィルターパターンを入力</translation>
</message>
@@ -6197,12 +5294,12 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>エラー</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation>公開ロビーへの部屋のアナウンスに失敗しました。部屋を公開するためには、Emulation -&gt; Configure -&gt; Web で有効なyuzuアカウントが設定されている必要があります。もし、部屋を公開ロビーに公開したくないのであれば、代わりに非公開を選択してください。
@@ -6212,13 +5309,11 @@ Debug Message: </source>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation>音声ミュート/解除</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6239,111 +5334,113 @@ Debug Message: </source>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation>メイン画面</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation>音量を下げる</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation>音量を上げる</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>スクリーンショットを撮る</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation>アダプティングフィルターの変更</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation>ドックモードを変更</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation>GPU精度を変更</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation>エミュレーションの一時停止/再開</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation>フルスクリーンをやめる</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation>yuzuを終了</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>フルスクリーン</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>ファイルのロード</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation>読み込み/解除 Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation>エミュレーションをリスタート</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation>エミュレーションをやめる</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation>TAS 記録</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation>TAS リセット</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation>TAS 開始/停止</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation>フィルタバー切り替え</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation>フレームレート制限切り替え</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation>ステータスバー切り替え</translation>
</message>
@@ -6386,12 +5483,12 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/loading_screen.ui" line="84"/>
<source>Loading Shaders 387 / 1628</source>
- <translation>シェーダをロード中 387 / 1628</translation>
+ <translation>シェーダーをロード中 387 / 1628</translation>
</message>
<message>
<location filename="../../src/yuzu/loading_screen.ui" line="121"/>
<source>Loading Shaders %v out of %m</source>
- <translation>シェーダをロード中 %v / %m</translation>
+ <translation>シェーダーをロード中 %v / %m</translation>
</message>
<message>
<location filename="../../src/yuzu/loading_screen.ui" line="135"/>
@@ -6406,7 +5503,7 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/loading_screen.cpp" line="84"/>
<source>Loading Shaders %1 / %2</source>
- <translation>シェーダをロード中 %1 / %2</translation>
+ <translation>シェーダーをロード中 %1 / %2</translation>
</message>
<message>
<location filename="../../src/yuzu/loading_screen.cpp" line="85"/>
@@ -6463,42 +5560,42 @@ Debug Message: </source>
<translation>ロビー更新</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation>参加にはパスワードが必要です。</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation>パスワード:</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>プレイヤー</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation>ルーム名</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation>優先ゲーム</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation>ホスト</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation>更新中</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation>リスト更新</translation>
</message>
@@ -6586,172 +5683,182 @@ Debug Message: </source>
<translation>&amp;TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>ヘルプ(&amp;H)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>ファイルをNANDにインストール...(&amp;I)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>ファイルをロード...(&amp;L)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>フォルダをロード...(&amp;F)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>終了(&amp;E)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>中断(&amp;P)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>停止(&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>鍵を再初期化...(&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>yuzuについて(&amp;A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>シングルウィンドウモード(&amp;W)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>設定...(&amp;F)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>ドックウィジェットヘッダ(&amp;O)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>フィルタバー(&amp;F)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>ステータスバー(&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>ステータスバーの表示</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation>公開ゲームロビーを参照 (&amp;B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation>ルームを作成 (&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation>ルームを退出 (&amp;L)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation>ルームに直接接続 (&amp;D)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation>現在のルームを表示 (&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>全画面表示(&amp;F)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>再実行(&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation>&amp;Amiibo をロード/削除...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>互換性を報告(&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation>&amp;Modページを開く</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation>クイックスタートガイドを開く(&amp;Q)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>&amp;FAQ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation>&amp;yuzuフォルダを開く</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>スクリーンショットをキャプチャ(&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation>TASを設定... (&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation>現在のゲームを設定...(&amp;U)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>実行(&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation>リセット(&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>記録(&amp;R)</translation>
</message>
@@ -7543,27 +6650,27 @@ p, li { white-space: pre-wrap; }
<translation>ファイルパス</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation type="unfinished"/>
</message>
@@ -7604,7 +6711,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Proコントローラ</translation>
</message>
@@ -7617,7 +6724,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Joy-Con(L/R)</translation>
</message>
@@ -7630,7 +6737,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Joy-Con(L)</translation>
</message>
@@ -7643,7 +6750,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Joy-Con(R)</translation>
</message>
@@ -7672,7 +6779,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>携帯モード</translation>
</message>
@@ -7788,32 +6895,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>ゲームキューブコントローラ</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>モンスターボールプラス</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>ファミコン・コントローラー</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>スーパーファミコン・コントローラー</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>ニンテンドウ64・コントローラー</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>メガドライブ</translation>
</message>
diff --git a/dist/languages/ko_KR.ts b/dist/languages/ko_KR.ts
index 8ebdf1d04..f5204f1aa 100644
--- a/dist/languages/ko_KR.ts
+++ b/dist/languages/ko_KR.ts
@@ -366,78 +366,32 @@ This would ban both their forum username and their IP address.</source>
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>오디오</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>출력 엔진:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>출력 장치:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>입력 장치:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>소리 출력 모드:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>모노</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>스테레오</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>서라운드</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>전역 볼륨 설정 사용</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>볼륨 설정:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>볼륨:</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation>자동 (%1)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>백그라운드에서 오디오 음소거</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation>기본 (%1)</translation>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>오디오</translation>
</message>
</context>
<context>
@@ -501,139 +455,25 @@ This would ban both their forum username and their IP address.</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>일반</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>정확도:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>자동</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>정확함</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>안전하지 않음</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>편집증(대부분의 최적화 비활성화)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>정확도를 &quot;자동&quot;으로 설정하는 것을 권장합니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>안전하지 않은 CPU 최적화 설정</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>이 설정은 속도를 위해 정확도를 떨어뜨립니다.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;이 설정은 단일 곱셈-누산기의 정확도를 감소시켜 FMA를 지원하지 않는 CPU에서의 성능을 향상시킵니다.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>FMA 분리 (FMA를 지원하지 않는 CPU에서의 성능을 향상시킵니다)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;이 설정은 덜 정확한 표준 근사치를 사용하여 일부 근사 부동 소수점 함수의 처리 속도를 증가 시킵니다.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>더 빠른 FRSQRTE와 FRECPE</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;이 옵션은 잘못된 반올림 모드로 실행하여 32비트 ASIMD 부동 소수점 함수의 속도를 향상시킵니다.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>더 빠른 ASIMD 명령어(32비트 전용)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;이 옵션은 NaN 체크 과정을 건너뛰어 에뮬레이션 속도를 증가시킵니다. 다만 특정 부동소수점 연산의 정확도를 떨어뜨리니 유의하십시오.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>부정확한 NaN 처리</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;이 옵션은 게스트에서 모든 메모리 읽기/쓰기 전에 안전 검사를 제거하여 속도를 향상시킵니다. 비활성화하면 게임에서 에뮬레이터의 메모리를 읽고 쓸 수 있습니다.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>주소 공간 검사 비활성화</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;이 옵션은 cmpxchg의 구문에만 의존하여 배타적 액세스 명령의 안전성을 보장함으로써 속도를 향상시킵니다. 교착 상태 및 기타 경쟁 조건이 발생할 수 있습니다.
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>글로벌 모니터 무시</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>CPU 설정은 게임이 작동하고 있지 않을 때만 수정 가능합니다.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -853,222 +693,227 @@ This would ban both their forum username and their IP address.</source>
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>디버거</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>GDB Stub 활성화</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>포트:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>로깅</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>전역 로그 필터</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>콘솔에 로그 표시</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>로그 경로 열기</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>전역 로그 필터</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>이 옵션을 활성화 시, 로그 파일의 최대 용량이 100MB에서 1GB로 증가합니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>확장된 로깅 활성화**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>콘솔에 로그 표시</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>홈브류</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>실행인수</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>그래픽</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>이 옵션을 활성화 시, 그래픽 API가 디버깅 모드로 진입하여 속도가 느려집니다.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>그래픽 디버깅 활성화</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>선택하면 Nsight Aftermath 크래시 덤프가 활성화됩니다.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>체크 시 루프 로직 변경 없이 셰이더 실행</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Nsight Aftermath 활성화</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>루프 안전 검사 비활성화</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>선택하면 디스크 셰이더 캐시 또는 게임에서 찾은 모든 원본 어셈블러 셰이더를 덤프합니다.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>선택하면 매크로 HLE 기능이 비활성화됩니다. 이 기능을 활성화하면 게임 실행 속도가 느려짐</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>게임 셰이더 덤프</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>매크로 HLE 비활성화</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>체크하면 GPU의 모든 매크로 프로그램을 덤프합니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>Maxwell 매크로 덤프</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>이 옵션에 체크할 시, 매크로 JIT 컴파일러를 비활성화 합니다. 게임 속도가 느려지니 유의하십시오.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Macro JIT 비활성화</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation>선택하면 매크로 HLE 기능이 비활성화됩니다. 이 기능을 활성화하면 게임 실행 속도가 느려짐</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>선택하면 Nsight Aftermath 크래시 덤프가 활성화됩니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation>매크로 HLE 비활성화</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Nsight Aftermath 활성화</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
<source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation>선택하면 yuzu는 컴파일된 파이프라인 캐시에 대한 통계를 기록합니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
<source>Enable Shader Feedback</source>
<translation>셰이더 피드백 활성화</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>체크 시 루프 로직 변경 없이 셰이더 실행</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>루프 안전 검사 비활성화</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>이 옵션에 체크할 시, 매크로 JIT 컴파일러를 비활성화 합니다. 게임 속도가 느려지니 유의하십시오.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>디버깅</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Macro JIT 비활성화</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation>자세한 리포팅 서비스 활성화**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>이 옵션을 활성화 시, 그래픽 API가 디버깅 모드로 진입하여 속도가 느려집니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>FS 액세스 로그 활성화</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>그래픽 디버깅 활성화</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation>이 옵션을 활성화하면 가장 최근에 생성된 오디오 명령어 목록을 콘솔에 출력할 수 있습니다. 오디오 렌더러를 사용하는 게임에만 영향을 줍니다.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>선택하면 디스크 셰이더 캐시 또는 게임에서 찾은 모든 원본 어셈블러 셰이더를 덤프합니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation>콘솔에 오디오 명령어 덤프</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>게임 셰이더 덤프</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>충돌후 미니덤프 생성</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
<source>Advanced</source>
<translation>고급</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>프로그램 시작시 yuzu가 Vulkan 환경을 확인할 수 있도록 합니다. 외부 프로그램에서 유자를 보는 데 문제가 있는 경우 이 기능을 비활성화합니다.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>시작시 Vulkan 검사 수행</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>웹 애플릿 비활성화</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>모든 컨트롤러 유형 활성화</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>자동 스텁 활성화**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Kiosk (Quest) 모드</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>CPU 디버깅 활성화</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>디버그 에러 검출 활성화</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>자동 스텁 활성화**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>디버깅</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>모든 컨트롤러 유형 활성화</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>FS 액세스 로그 활성화</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>웹 애플릿 비활성화</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>충돌후 미니덤프 생성</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation>프로그램 시작시 yuzu가 Vulkan 환경을 확인할 수 있도록 합니다. 외부 프로그램에서 유자를 보는 데 문제가 있는 경우 이 기능을 비활성화합니다.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>이 옵션을 활성화하면 가장 최근에 생성된 오디오 명령어 목록을 콘솔에 출력할 수 있습니다. 오디오 렌더러를 사용하는 게임에만 영향을 줍니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>시작시 Vulkan 검사 수행</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation>콘솔에 오디오 명령어 덤프</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>자세한 리포팅 서비스 활성화**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**Yuzu가 종료되면 자동으로 재설정됩니다.</translation>
</message>
@@ -1083,12 +928,12 @@ This would ban both their forum username and their IP address.</source>
<translation>이 설정을 적용하려면 yuzu를 다시 시작해야 합니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>웹 애플릿이 컴파일되지 않음</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation>MiniDump 생성이 컴파일되지 않음</translation>
</message>
@@ -1138,78 +983,83 @@ This would ban both their forum username and their IP address.</source>
<translation>yuzu 설정</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>일부 설정은 게임이 실행 중이 아닐 때만 사용할 수 있습니다.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>오디오</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>디버그</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>파일 시스템</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>일반</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>그래픽</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>그래픽 고급</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>단축키</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>조작</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>프로필</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>네트워크</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>시스템</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>게임 목록</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>웹</translation>
</message>
@@ -1368,57 +1218,17 @@ This would ban both their forum username and their IP address.</source>
<translation>일반</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>속도 퍼센트 제한</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>멀티 코어 CPU 에뮬레이션</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>에뮬레이터가 작동 중일 때 종료 시 확인</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>게임 부팅시 유저 선택 화면 표시</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>백그라운드에 있을 시 에뮬레이션 일시중지</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>비활성 상태일 때 마우스 숨기기</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>모든 설정 초기화</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>모든 환경 설정과 게임별 맞춤 설정이 초기화됩니다. 게임 디렉토리나 프로필, 또는 입력 프로필은 삭제되지 않습니다. 진행하시겠습니까?</translation>
</message>
@@ -1441,311 +1251,43 @@ This would ban both their forum username and their IP address.</source>
<translation>API 설정</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>셰이더 백엔드:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>장치:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>없음</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>그래픽 설정</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>디스크 파이프라인 캐시 사용</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>비동기 GPU 에뮬레이션 사용</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>ASTC 텍스처 디코딩 가속화</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation>VSync 모드:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation>FIFO (수직동기화)는 프레임이 떨어지거나 티어링 현상이 나타나지 않지만 화면 재생률에 의해 제한됩니다.
-FIFO 릴랙스드는 FIFO와 유사하지만 속도가 느려진 후 복구할 때 끊김 현상이 발생할 수 있습니다.
-메일박스는 FIFO보다 지연 시간이 짧고 티어링이 발생하지 않지만 프레임이 떨어질 수 있습니다.
-즉시 (동기화 없음)는 사용 가능한 모든 것을 표시하며 티어링이 나타날 수 있습니다.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>NVDEC 에뮬레이션:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>비디오 출력 없음</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>CPU 비디오 디코딩</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>GPU 비디오 디코딩(기본값)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>전체 화면 모드:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>경계 없는 창 모드</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>독점 전체화면 모드</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>화면비:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>기본 (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>강제 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>강제 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>강제 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>창에 맞게 늘림</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>해상도:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [실험적]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [실험적]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation>1.5X (1080p/1620p) [실험적]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation>7X (5040p/7560p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation>8X (5760p/8640p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>윈도우 적응형 필터:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Nearest Neighbor</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>이중선형</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>고등차수보간</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>가우시안</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️ Super Resolution</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>안티에일리어싱 방식:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation>글로벌 FSR 선명도 사용</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation>FSR 선명도 설정</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation>FSR 선명도:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation>100%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>전역 배경색 사용</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>배경색 설정:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>배경색:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM(어셈블리 셰이더, NVIDIA 전용)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation>SPIR-V (실험적, Mesa 전용)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation>끔</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation>수직동기화 끔</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation>추천</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation>켬</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation>수직동기화 켬</translation>
</message>
@@ -1767,163 +1309,6 @@ FIFO 릴랙스드는 FIFO와 유사하지만 속도가 느려진 후 복구할
<source>Advanced Graphics Settings</source>
<translation>고급 그래픽 설정</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>정확도 수준:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation>ASTC 재압축:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation>비압축(최고 품질)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation>BC1(저품질)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation>BC3(중간 품질)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation>비동기 프레젠테이션 활성화(Vulkan만 해당)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation>실행은 GPU가 클럭 속도를 낮추지 않도록 그래픽 명령을 기다리는 동안 백그라운드에서 작동합니다.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation>강제 최대 클록 (Vulkan 전용)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation>로드 시간 끊김을 줄일 수 있는 비동기 ASTC 텍스처 디코딩을 활성화합니다. 이 기능은 실험적입니다.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation>ASTC 텍스처를 비동기식으로 디코딩(해킹)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation>예측 플러싱 대신 반응형 플러싱 를 사용합니다. 보다 정확한 메모리 동기화를 허용합니다.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation>반응형 플러싱 활성화</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>비동기 셰이더 컴파일을 활성화하여 셰이더의 버벅임을 감소시킬 수 있습니다. 이 기능은 실험적 기능입니다.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>비동기식 셰이더 빌드 사용(Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>빠른 GPU 시간을 활성화합니다. 이 옵션을 사용하면 대부분의 게임이 가장 높은 기본 해상도에서 실행됩니다.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>빠른 GPU 시간 사용(Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation>GPU 공급업체별 파이프라인 캐시를 활성화합니다. 이 옵션은 Vulkan 드라이버가 파이프라인 캐시 파일을 내부에 저장하지 않는 경우 셰이더 로딩 시간을 크게 개선할 수 있습니다.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation>Vulkan 파이프라인 캐시 사용</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation>일부 게임에 필요한 컴퓨팅 파이프라인을 활성화합니다. 이 설정은 인텔 독점 드라이버에만 존재하며 활성화된 경우 충돌이 발생할 수 있습니다.
-컴퓨팅 파이프라인은 다른 모든 드라이버에서 항상 활성화됩니다.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation>컴퓨팅 파이프라인 활성화(Intel Vulkan만 해당)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation>프레임 속도가 잠금 해제된 상태에서도 동영상 재생 중에 일반 속도로 게임을 실행합니다.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation>동영상 재생 프레임 속도에 동기화</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation>특정 게임에서 투명도 효과의 렌더링을 개선합니다.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation>차단 피드백 루프</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>비등방성 필터링:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>자동</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>기본값</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2687,10 +2072,10 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3085"/>
<source>Mouse panning</source>
- <translation type="unfinished"/>
+ <translation>마우스 패닝</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>설정</translation>
</message>
@@ -3114,75 +2499,98 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="6"/>
<source>Configure mouse panning</source>
- <translation type="unfinished"/>
+ <translation>마우스 패닝 설정</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation>활성화</translation>
+ <source>Enable mouse panning</source>
+ <translation>마우스 패닝 활성화</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
- <translation type="unfinished"/>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
+ <translation>핫키를 통해 전환할 수 있습니다. 기본 핫키는 Ctrl + F9입니다</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
<source>Sensitivity</source>
- <translation type="unfinished"/>
+ <translation>민감도</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
- <translation type="unfinished"/>
+ <translation>수평</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
- <translation type="unfinished"/>
+ <translation>수직</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="85"/>
<source>Deadzone counterweight</source>
- <translation type="unfinished"/>
+ <translation>데드존 균형</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="88"/>
<source>Counteracts a game&apos;s built-in deadzone</source>
- <translation type="unfinished"/>
+ <translation>게임에 내장된 데드존에 대응</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation>데드존</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
- <translation type="unfinished"/>
+ <translation>스틱 감소</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
- <translation type="unfinished"/>
+ <translation>강도</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
- <translation type="unfinished"/>
+ <translation>최소</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>기본값</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation>마우스 패닝은 데드존이 0%이고 범위가 100%일 때 더 잘 작동합니다. 현재 값은 각각 %1% 및 %2%입니다.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation>에뮬레이트 마우스가 활성화되었습니다. 이것은 마우스 패닝과 호환되지 않습니다.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>에뮬레이트 마우스 사용</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation>실제 마우스 입력과 마우스 패닝은 호환되지 않습니다. 마우스 패닝을 허용하려면 입력 고급 설정에서 에뮬레이트 마우스를 비활성화하세요.</translation>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3215,100 +2623,95 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Dialog</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>정보</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>이름</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>타이틀 ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>파일명</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>파일 형식</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>버전</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>크기</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>개발자</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>부가 기능</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>일부 설정은 게임이 실행 중이 아닐 때만 사용할 수 있습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>일반</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>부가 기능</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>시스템</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>그래픽</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>고급 그래픽</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>오디오</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation>입력 프로파일</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>속성</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>전역 설정 사용(%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3504,7 +2907,7 @@ UUID: %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="26"/>
<source>To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game.</source>
- <translation type="unfinished"/>
+ <translation>링콘을 사용하려면 게임을 시작하기 전에 플레이어 1을 오른쪽 조이콘 (실제 및 에뮬레이션 모두)으로, 플레이어 2를 왼쪽 조이콘 (왼쪽 실제 및 듀얼 에뮬레이션)으로 구성합니다.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="52"/>
@@ -3609,7 +3012,7 @@ UUID: %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="309"/>
<source>The current mapped device is not connected</source>
- <translation type="unfinished"/>
+ <translation>현재 매핑된 장치가 연결되지 않았습니다.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="313"/>
@@ -3631,412 +3034,17 @@ UUID: %2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>시스템</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>시스템 설정</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>국가:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>자동</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>기본값</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>중앙유럽 표준시(CET)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>쿠바</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>동유럽 표준시(EET)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>이집트</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>영국 하계 표준시(GB)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>그리니치 표준시(GMT)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>그리니치</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>홍콩</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>하와이-알류샨 표준시(HST)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>아이슬란드</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>이란</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>이스라엘</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>자메이카</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>일본</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>크와잘린</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>리비아</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>중앙유럽 표준시(MET)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>산악 표준시(MST)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>나바호</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>뉴질랜드 표준시(NZ)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>채텀 표준시(NZ-CHAT)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>폴란드</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>포르투갈</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>북한 표준시(ROK)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>싱가포르</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>터키</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Universal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>협정 세계시(UTC)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>유럽/모스크바(W-SU)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>서유럽</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>줄루</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>미국</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>유럽</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>호주</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>중국</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>대한민국</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>타이완</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>시계:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>참고 : 이 설정은 지역 설정이 &apos;자동 선택&apos;일 때 무시될 수 있습니다.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>일본어(日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation>미국 영어</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>프랑스어(français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>독일어(Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>이탈리아어(italiano)</translation>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation>코어</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>스페인어(español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>중국어</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>한국어(Korean)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>네덜란드어(Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>포르투갈어(português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>러시아어(Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>대만어</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>영어(영국)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>캐나다 프랑스어</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>라틴 아메리카 스페인어</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>간체</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>번체 (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>브라질 포르투갈어(português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>커스텀 RTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>언어</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>RNG 시드</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation>장치 이름</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation>안전하지 않은 확장 메모리 레이아웃 (8GB DRAM)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>시스템 설정은 게임이 꺼져 있을 때만 수정 가능합니다.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation>경고: &quot;%1&quot;은(는) 지역 &quot;%2&quot;에 유효한 언어가 아님</translation>
</message>
@@ -4245,64 +3253,64 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>없음</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>작은 크기 (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>기본 크기 (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>큰 크기 (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>전체 크기(256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>작은 크기 (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>기본 크기 (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>큰 크기 (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>파일명</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>파일타입</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>타이틀 ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>타이틀 이름</translation>
</message>
@@ -4405,15 +3413,31 @@ Drag points to change position, or double-click table cells to edit values.</sou
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>해상도:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>스크린샷 경로 선택...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation>자동 (%1 x %2, %3 x %4)</translation>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4714,12 +3738,12 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation>연결중</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation>연결</translation>
</message>
@@ -4727,901 +3751,965 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>yuzu를 개선하기 위해 &lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;익명 데이터가 수집됩니다.&lt;/a&gt; &lt;br/&gt;&lt;br/&gt;사용 데이터를 공유하시겠습니까?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>원격 측정</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
- <translation>망가진 Vulkan 설치 감지됨</translation>
+ <translation>깨진 Vulkan 설치 감지됨</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation>부팅하는 동안 Vulkan 초기화에 실패했습니다.&lt;br&gt;&lt;br&gt;문제 해결 지침을 보려면 &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;여기&lt;/a&gt;를 클릭하세요.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
- <translation type="unfinished"/>
+ <translation>게임 실행중</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>웹 애플릿을 로드하는 중...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>웹 애플릿 비활성화</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation>웹 애플릿을 비활성화하면 정의되지 않은 동작이 발생할 수 있으며 Super Mario 3D All-Stars에서만 사용해야 합니다. 웹 애플릿을 비활성화하시겠습니까?
(디버그 설정에서 다시 활성화할 수 있습니다.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>현재 생성중인 셰이더의 양</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation>현재 선택된 해상도 배율입니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>현재 에뮬레이션 속도. 100%보다 높거나 낮은 값은 에뮬레이션이 Switch보다 빠르거나 느린 것을 나타냅니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>게임이 현재 표시하고 있는 초당 프레임 수입니다. 이것은 게임마다 다르고 장면마다 다릅니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>프레임 제한이나 수직 동기화를 계산하지 않고 Switch 프레임을 에뮬레이션 하는 데 걸린 시간. 최대 속도로 에뮬레이트 중일 때에는 대부분 16.67 ms 근처입니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation>음소거 해제</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation>음소거</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation>볼륨 재설정</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>Clear Recent Files(&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation>에뮬레이트 마우스 사용</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation>실제 마우스 입력과 마우스 패닝은 호환되지 않습니다. 마우스 패닝을 허용하려면 입력 고급 설정에서 에뮬레이트 마우스를 비활성화하세요.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>재개(&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>일시중지(&amp;P)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>오래된 게임 포맷 경고</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>이 게임 파일은 &apos;분해된 ROM 디렉토리&apos;라는 오래된 포맷을 사용하고 있습니다. 해당 포맷은 NCA, NAX, XCI 또는 NSP와 같은 다른 포맷으로 대체되었으며 분해된 ROM 디렉토리에는 아이콘, 메타 데이터 및 업데이트가 지원되지 않습니다.&lt;br&gt;&lt;br&gt;yuzu가 지원하는 다양한 Switch 포맷에 대한 설명은 &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;위키를 확인하세요.&lt;/a&gt; 이 메시지는 다시 표시되지 않습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>ROM 로드 중 오류 발생!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>지원되지 않는 롬 포맷입니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>비디오 코어를 초기화하는 동안 오류가 발생했습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation>비디오 코어를 실행하는 동안 yuzu에 오류가 발생했습니다. 이것은 일반적으로 통합 드라이버를 포함하여 오래된 GPU 드라이버로 인해 발생합니다. 자세한 내용은 로그를 참조하십시오. 로그 액세스에 대한 자세한 내용은 &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;로그 파일 업로드 방법&lt;/a&gt; 페이지를 참조하세요.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>ROM 불러오는 중 오류 발생! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation>%1&lt;br&gt;파일들을 다시 덤프하기 위해&lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;yuzu 빠른 시작 가이드&lt;/a&gt; 를 따라주세요.&lt;br&gt;도움이 필요할 시 yuzu 위키&lt;/a&gt; 를 참고하거나 yuzu 디스코드&lt;/a&gt; 를 이용해보세요.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>알 수 없는 오류가 발생했습니다. 자세한 내용은 로그를 참고하십시오.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64비트)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32비트)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation>소프트웨어를 닫는 중...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>세이브 데이터</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>모드 데이터</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>%1 폴더 열기 오류</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>폴더가 존재하지 않습니다!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>전송 가능한 셰이더 캐시 열기 오류</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation>이 타이틀에 대한 셰이더 캐시 디렉토리를 생성하지 못했습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation>콘텐츠 제거 중 오류 발생</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation>업데이트 제거 오류</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation>DLC 제거 오류</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation>설치된 게임 콘텐츠를 제거하겠습니까?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation>설치된 게임 업데이트를 제거하겠습니까?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation>설치된 게임 DLC를 제거하겠습니까?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>항목 제거</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>삭제 완료</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>설치된 기본 게임을 성공적으로 제거했습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>기본 게임은 NAND에 설치되어 있지 않으며 제거 할 수 없습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>설치된 업데이트를 성공적으로 제거했습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>이 타이틀에 대해 설치된 업데이트가 없습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>이 타이틀에 설치된 DLC가 없습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>설치된 %1 DLC를 성공적으로 제거했습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation>OpenGL 전송 가능한 셰이더 캐시를 삭제하시겠습니까?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation>Vulkan 전송 가능한 셰이더 캐시를 삭제하시겠습니까?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation>모든 전송 가능한 셰이더 캐시를 삭제하시겠습니까?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>사용자 지정 게임 구성을 제거 하시겠습니까?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation>캐시 저장소를 제거하겠습니까?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>파일 제거</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>전송 가능한 셰이더 캐시 제거 오류</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>이 타이틀에 대한 셰이더 캐시가 존재하지 않습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>전송 가능한 셰이더 캐시를 성공적으로 제거했습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>전송 가능한 셰이더 캐시를 제거하지 못했습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation>Vulkan 드라이버 파이프라인 캐시 제거 오류</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation>드라이버 파이프라인 캐시를 제거하지 못했습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation>전송 가능한 셰이더 캐시 제거 오류</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation>전송 가능한 셰이더 캐시를 성공적으로 제거했습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation>전송 가능한 셰이더 캐시 디렉토리를 제거하지 못했습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>사용자 지정 구성 제거 오류</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>이 타이틀에 대한 사용자 지정 구성이 존재하지 않습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>사용자 지정 게임 구성을 성공적으로 제거했습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>사용자 지정 게임 구성을 제거하지 못했습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>RomFS 추출 실패!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>RomFS 파일을 복사하는 중에 오류가 발생했거나 사용자가 작업을 취소했습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>전체</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>뼈대</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>RomFS 덤프 모드 선택</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>RomFS 덤프 방법을 선택하십시오.&lt;br&gt;전체는 모든 파일을 새 디렉토리에 복사하고&lt;br&gt;뼈대는 디렉토리 구조 만 생성합니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation>%1에 RomFS를 추출하기에 충분한 여유 공간이 없습니다. 공간을 확보하거나 에뮬레이견 &gt; 설정 &gt; 시스템 &gt; 파일시스템 &gt; 덤프 경로에서 다른 덤프 디렉토리를 선택하십시오.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>RomFS 추출 중...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>취소</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>RomFS 추출이 성공했습니다!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>작업이 성공적으로 완료되었습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation>바로가기 만들기</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation>현재 AppImage에 대한 바로 가기가 생성됩니다. 업데이트하면 제대로 작동하지 않을 수 있습니다. 계속합니까?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation>바탕 화면에 바로가기를 만들 수 없습니다. 경로 &quot;%1&quot;이(가) 존재하지 않습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>애플리케이션 메뉴에서 바로가기를 만들 수 없습니다. 경로 &quot;%1&quot;이(가) 존재하지 않으며 생성할 수 없습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation>아이콘 만들기</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>아이콘 파일을 만들 수 없습니다. 경로 &quot;%1&quot;이(가) 존재하지 않으며 생성할 수 없습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation>yuzu 에뮬레이터로 %1 시작</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation>%1에서 바로가기를 만들기 실패</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation>%1 바로가기를 성공적으로 만듬</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>%1 열기 오류</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>경로 선택</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>속성</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>게임 속성을 로드 할 수 없습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Switch 실행파일 (%1);;모든 파일 (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>파일 로드</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>추출된 ROM 디렉토리 열기</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>잘못된 디렉토리 선택</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>선택한 디렉토리에 &apos;main&apos;파일이 없습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>설치 가능한 Switch 파일 (*.nca *.nsp *.xci);;Nintendo 컨텐츠 아카이브 (*.nca);;Nintendo 서브미션 패키지 (*.nsp);;NX 카트리지 이미지 (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>파일 설치</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation><numerusform>%n개의 파일이 남음</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>파일 &quot;%1&quot; 설치 중...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>설치 결과</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>충돌을 피하기 위해, 낸드에 베이스 게임을 설치하는 것을 권장하지 않습니다.
이 기능은 업데이트나 DLC를 설치할 때에만 사용해주세요.</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation><numerusform>%n개의 파일이 새로 설치되었습니다.
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation><numerusform>%n개의 파일을 덮어썼습니다.
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation><numerusform>%n개의 파일을 설치하지 못했습니다.
</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>시스템 애플리케이션</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>시스템 아카이브</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>시스템 애플리케이션 업데이트</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>펌웨어 패키지 (A타입)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>펌웨어 패키지 (B타입)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>게임</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>게임 업데이트</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>게임 DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>델타 타이틀</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>NCA 설치 유형 선택...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>이 NCA를 설치할 타이틀 유형을 선택하세요:
(대부분의 경우 기본값인 &apos;게임&apos;이 괜찮습니다.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>설치 실패</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>NCA 타이틀 유형이 유효하지 않습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>파일을 찾을 수 없음</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>파일 &quot;%1&quot;을 찾을 수 없습니다</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation>하드웨어 요구 사항이 충족되지 않음</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation>시스템이 권장 하드웨어 요구 사항을 충족하지 않습니다. 호환성 보고가 비활성화되었습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>yuzu 계정 누락</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>게임 호환성 테스트 결과를 제출하려면 yuzu 계정을 연결해야합니다.&lt;br&gt;&lt;br/&gt;yuzu 계정을 연결하려면 에뮬레이션 &amp;gt; 설정 &amp;gt; 웹으로 가세요.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>URL 열기 오류</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>URL &quot;%1&quot;을 열 수 없습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation>TAS 레코딩</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>플레이어 1의 파일을 덮어쓰시겠습니까?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>유효하지 않은 설정 감지</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>휴대 모드용 컨트롤러는 거치 모드에서 사용할 수 없습니다. 프로 컨트롤러로 대신 선택됩니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>현재 amiibo가 제거되었습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>오류</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation>현재 게임은 amiibo를 찾고 있지 않습니다</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Amiibo 파일 (%1);; 모든 파일 (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Amiibo 로드</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Amiibo 데이터 로드 오류</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation>선택한 파일은 유효한 amiibo가 아닙니다</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation>선택한 파일은 이미 사용 중입니다</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation>알수없는 오류가 발생했습니다</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>스크린샷 캡처</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>PNG 이미지 (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>TAS 상태: %1/%2 실행 중</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>TAS 상태: 레코딩 %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation>TAS 상태: 유휴 %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>TAS 상태: 유효하지 않음</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation>실행 중지(&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>시작(&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>레코딩 중지(&amp;e)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>레코드(&amp;R)</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation><numerusform>빌드중: %n개 셰이더</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>스케일: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>속도: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>속도: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation>게임: %1 FPS (제한없음)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>게임: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>프레임: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>AA 없음</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation>볼륨: 음소거</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation>볼륨: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>키 재생성 확인</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5638,37 +4726,37 @@ This will delete your autogenerated key files and re-run the key derivation modu
자동 생성되었던 키 파일들이 삭제되고 키 생성 모듈이 다시 실행됩니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>fuses 누락</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation> - BOOT0 누락</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation> - BCPKG2-1-Normal-Main 누락</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation> - PRODINFO 누락</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>파생 구성 요소 누락</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation>암호화 키가 없습니다. &lt;br&gt;모든 키, 펌웨어 및 게임을 얻으려면 &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;yuzu 빠른 시작 가이드&lt;/a&gt;를 따르세요.&lt;br&gt;&lt;br&gt; &lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5677,49 +4765,49 @@ on your system&apos;s performance.</source>
소요될 수 있습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>파생 키</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation>시스템 아카이브 암호 해독 실패</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
- <translation>암호화 키가 펌웨어를 해독하지 못했습니다. &lt;br&gt; 모든 키, 펌웨어 및 게임을 받으려면&lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt; Yuzu 빠른 시작 가이드 &lt;/a&gt;를 따르세요.</translation>
+ <translation>암호화 키가 펌웨어를 해독하지 못했습니다. &lt;br&gt; 암호화 키와 펌웨어 및 게임을 얻기위해&lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt; Yuzu 빠른 시작 가이드 &lt;/a&gt;를 따르세요.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>RomFS 덤프 대상 선택</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>덤프할 RomFS를 선택하십시오.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>yuzu를 닫으시겠습니까?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>에뮬레이션을 중지하시겠습니까? 모든 저장되지 않은 진행 상황은 사라집니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5728,97 +4816,97 @@ Would you like to bypass this and exit anyway?</source>
이를 무시하고 나가시겠습니까?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>없음</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
- <translation>가장 가까운</translation>
+ <translation>Nearest</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
- <translation>이중선형</translation>
+ <translation>Bilinear</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
- <translation>고등차수보간</translation>
+ <translation>Bicubic</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>가우시안</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>스케일포스</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>거치 모드</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>휴대 모드</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation>보통</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation>높음</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation>익스트림</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>불칸</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
<translation>OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation>Null</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
<translation>GLSL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
<translation>GLASM</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
<translation>SPIRV</translation>
</message>
@@ -5826,44 +4914,44 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGL을 사용할 수 없습니다!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation>OpenGL 공유 컨텍스트는 지원되지 않습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>yuzu는 OpenGL 지원으로 컴파일되지 않았습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>OpenGL을 초기화하는 동안 오류가 발생했습니다!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>사용하시는 GPU가 OpenGL을 지원하지 않거나, 최신 그래픽 드라이버가 설치되어 있지 않습니다.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>OpenGL 4.6 초기화 중 오류 발생!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>사용하시는 GPU가 OpenGL 4.6을 지원하지 않거나 최신 그래픽 드라이버가 설치되어 있지 않습니다. &lt;br&gt;&lt;br&gt;GL 렌더링 장치:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>사용하시는 GPU가 1개 이상의 OpenGL 확장 기능을 지원하지 않습니다. 최신 그래픽 드라이버가 설치되어 있는지 확인하세요. &lt;br&gt;&lt;br&gt;GL 렌더링 장치:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;지원하지 않는 확장 기능:&lt;br&gt;%2</translation>
</message>
@@ -5871,173 +4959,178 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>선호하는 게임</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>게임 시작</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>맞춤 설정 없이 게임 시작</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>세이브 데이터 경로 열기</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>MOD 데이터 경로 열기</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation>전송 가능한 파이프라인 캐시 열기</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>제거</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>설치된 업데이트 삭제</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>설치된 모든 DLC 삭제</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>사용자 지정 구성 제거</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation>캐시 스토리지 제거</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation>OpenGL 파이프라인 캐시 제거</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation>Vulkan 파이프라인 캐시 제거</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>모든 파이프라인 캐시 제거</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>설치된 모든 컨텐츠 제거</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>RomFS를 덤프</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>RomFS를 SDMC로 덤프</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>클립보드에 타이틀 ID 복사</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>GameDB 항목으로 이동</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation>바로가기 만들기</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation>데스크톱에 추가</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation>애플리케이션 메뉴에 추가</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>속성</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>하위 폴더 스캔</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>게임 디렉토리 제거</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ 위로 이동</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ 아래로 이동</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>디렉토리 위치 열기</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>초기화</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>이름</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>호환성</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>부가 기능</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>파일 형식</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>크기</translation>
</message>
@@ -6108,7 +5201,7 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>더블 클릭하여 게임 목록에 새 폴더 추가</translation>
</message>
@@ -6121,12 +5214,12 @@ Would you like to bypass this and exit anyway?</source>
<translation><numerusform>%1 중의 %n 결과</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>필터:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>검색 필터 입력</translation>
</message>
@@ -6202,12 +5295,12 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>오류</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation>공개 로비에 방을 알리지 못했습니다. 방을 공개적으로 호스트하려면 에뮬레이션 -&gt; 구성 -&gt; 웹에서 유효한 yuzu 계정이 구성되어 있어야 합니다. 공개 로비에 방을 게시하지 않으려면 대신 목록에 없음을 선택하세요.
@@ -6217,13 +5310,11 @@ Debug Message: </source>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation>오디오 음소거/음소거 해제</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6244,111 +5335,113 @@ Debug Message: </source>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation>메인 윈도우</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation>오디오 볼륨 낮추기</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation>오디오 볼륨 키우기</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>스크린샷 캡처</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation>적응형 필터 변경</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation>독 모드 변경</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation>GPU 정확성 변경</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation>재개/에뮬레이션 일시중지</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation>전체화면 종료</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation>yuzu 종료</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>전체화면</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>파일 로드</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation>Amiibo 로드/제거</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation>에뮬레이션 재시작</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation>에뮬레이션 중단</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation>TAS 기록</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation>TAS 리셋</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation>TAS 시작/멈춤</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation>상태 표시줄 전환</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation>프레임속도 제한 토글</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation>마우스 패닝 활성화</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation>상태 표시줄 전환</translation>
</message>
@@ -6468,42 +5561,42 @@ Debug Message: </source>
<translation>로비 새로 고침</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation>입장시 비밀번호가 필요합니다</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation>비밀번호:</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>플레이어</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation>방 이름</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation>선호하는 게임</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation>호스트</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation>새로 고치는 중</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation>새로 고침 목록</translation>
</message>
@@ -6591,172 +5684,182 @@ Debug Message: </source>
<translation>TAS(&amp;T)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>도움말(&amp;H)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>낸드에 파일 설치(&amp;I)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>파일 불러오기...(&amp;L)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>폴더 불러오기...(&amp;F)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>종료(&amp;X)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>일시중지(&amp;P)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>정지(&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>키 재설정...(&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>yuzu 정보(&amp;A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>싱글 창 모드(&amp;W)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>설정(&amp;f)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>독 위젯 헤더 표시(&amp;o)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>필터링 바 표시(&amp;F)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>상태 표시줄 보이기(&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>상태 표시줄 보이기</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation>공개 게임 로비 찾아보기(&amp;B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation>방 만들기(&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation>방에서 나가기(&amp;L)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation>방에 직접 연결(&amp;D)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation>현재 방 표시(&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>전체 화면(&amp;u)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>재시작(&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation>Amiibo 로드/제거(&amp;A)...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>호환성 보고(&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation>게임 모드 페이지 열기(&amp;M)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation>빠른 시작 가이드 열기(&amp;Q)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>FAQ(&amp;F)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation>yuzu 폴더 열기(&amp;y)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>스크린샷 찍기(&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation>TAS설정...(&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation>실행중인 게임 맞춤 설정...(&amp;u)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>시작(&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation>리셋(&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>레코드(&amp;e)</translation>
</message>
@@ -7388,12 +6491,12 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="94"/>
<source>Plus</source>
- <translation>Plus</translation>
+ <translation>+</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="96"/>
<source>Minus</source>
- <translation>Minus</translation>
+ <translation>-</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="98"/>
@@ -7549,27 +6652,27 @@ p, li { white-space: pre-wrap; }
<translation>파일 경로</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation>게임 데이터 없음</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation>다음 amiibo 데이터의 형식이 지정됩니다:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation>다음 게임 데이터가 제거됩니다:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation>닉네임 및 소유자 설정:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation>이 amiibo를 복원하겠습니까?</translation>
</message>
@@ -7610,7 +6713,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>프로 컨트롤러</translation>
</message>
@@ -7623,7 +6726,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>듀얼 조이콘</translation>
</message>
@@ -7636,7 +6739,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>왼쪽 조이콘</translation>
</message>
@@ -7649,7 +6752,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>오른쪽 조이콘</translation>
</message>
@@ -7678,7 +6781,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>휴대 모드</translation>
</message>
@@ -7794,32 +6897,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>GameCube 컨트롤러</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>몬스터볼 Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>NES 컨트롤러</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>SNES 컨트롤러</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>N64 컨트롤러</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>세가 제네시스</translation>
</message>
diff --git a/dist/languages/nb.ts b/dist/languages/nb.ts
index 6e86588f6..d5e1ea138 100644
--- a/dist/languages/nb.ts
+++ b/dist/languages/nb.ts
@@ -366,78 +366,32 @@ Dette vil bannlyse både deres forum brukernavn og deres IP adresse.</translatio
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Lyd</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Utgangsmotor</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>Utgangsenhet:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>Inngangsenhet:</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>Lydutgangsmodus:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Mono</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Stereo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Surround</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Bruk globalt volum</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Sett volum:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Volum:</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation>Auto (%1)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Demp lyden når yuzu kjører i bakgrunnen</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation>Normalverdi (%1)</translation>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Lyd</translation>
</message>
</context>
<context>
@@ -501,139 +455,25 @@ Dette vil bannlyse både deres forum brukernavn og deres IP adresse.</translatio
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Generelt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Nøyaktighet:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Auto</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Nøyaktig</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Utrygt</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>Paranoid (deaktiverer de fleste optimaliseringer)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Vi anbefaler å sette nøyaktigheten til &quot;Auto&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Utrygge CPU-Optimaliseringsinnstillinger</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Disse innstillingene reduserer nøyaktighet for fart.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Denne innstillingen øker hastigheten ved å redusere nøyaktigheten til fused-multiply-add–instruksjoner på prosessorer uten innebygd FMA-støtte.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Del opp FMA (forbedre ytelsen på prosessorer uten FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Denne innstillingen øker hastigheten til noen omtrentlige flyttallsfunksjoner ved å bruke mindre nøyaktige innebygde tilnærminger.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>Raskere FRSQRTE og FRECPE</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Denne innstillingen øker hastigheten til 32-bit ASIMD flyttallsfunksjoner ved å kjøre med ukorrekte avrundingsmoduser.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Raskere ASIMD-instruksjoner (kun 32-bit)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Denne innstillingen øker hastigheten ved å fjerne NaN-sjekking. Merk at dette også reduserer nøyaktigheten til enkelte flyttallsinstruskjoner.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Unøyaktig NaN-håndtering</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Denne innstillingen øker hastigheten ved å eliminere en sikkerhetskontroll før hver lese- og skriveoperasjon til minne fra gjest. Å slå den av kan la et spill lese fra og skrive til emulatorens minne.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>Slå av adresseromskontroller</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Denne innstillingen øker hastigheten ved å bruke kun semantikken til cmpxchg for å bevare integriteten til eksklusiv aksess–instruksjoner. Merk at dette kan resultere i at programmet går i baklås eller andre datakappløp.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>Ignorer global overvåkning</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>CPU-innstillinger er bare tilgjengelige når ingen spill kjører.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -852,222 +692,227 @@ Dette vil bannlyse både deres forum brukernavn og deres IP adresse.</translatio
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>Feilsøker</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>Aktiver GDB Stub</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Port:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Loggføring</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Global Loggfilter</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>Vis logg i konsollen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Åpne Logg-Plassering</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Global Loggfilter</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Når dette er på øker maksstørrelsen til loggen fra 100 MB til 1 GB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Slå på utvidet loggføring**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Vis logg i konsollen</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>Argument streng</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Grafikk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>Når dette er på går grafikk–API-et inn i en tregere feilsøkingsmodus</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Slå på Grafikkfeilsøking</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>Når avhuket, aktiverer Nsight Aftermath kræsjdumper</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Når dette er på kjører shader-e uten endring i løkkelogikk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Aktiver Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Deaktive Loop sikkerhetssjekker</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>Når det er merket av, vil det dumpe alle de originale assembler shaders fra disk shader cache eller spillet som funnet</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>Når det er merket av, deaktiverer det makro HLE-funksjonene. Aktivering av dette gjør at spillene kjører saktere</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>Dump Spill Shadere</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>Deaktiver Macro HLE</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>Når det er merket av, vil det dumpe alle makroprogrammene til GPUen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>Dump Maxwell Makroer</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>Når den er merket av, deaktiverer den makrokompilatoren Just In Time. Aktivering av dette gjør at spill kjører saktere</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Deaktiver Macro JIT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation>Når det er merket av, deaktiverer det makro HLE-funksjonene. Aktivering av dette gjør at spillene kjører saktere</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>Når avhuket, aktiverer Nsight Aftermath kræsjdumper</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation>Deaktiver Macro HLE</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Aktiver Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
<source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation>Når det er merket av, vil yuzu logge statistikk om den kompilerte rørledningsbufferen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
<source>Enable Shader Feedback</source>
<translation>Slå på shader-tilbakemelding</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>Når dette er på kjører shader-e uten endring i løkkelogikk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>Deaktive Loop sikkerhetssjekker</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>Når den er merket av, deaktiverer den makrokompilatoren Just In Time. Aktivering av dette gjør at spill kjører saktere</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Feilsøking</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Deaktiver Macro JIT</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation>Aktiver Verbose Reporting Services**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Når dette er på går grafikk–API-et inn i en tregere feilsøkingsmodus</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>Aktiver FS Tilgangs Logg</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Slå på Grafikkfeilsøking</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation>Aktiver dette for å sende den siste genererte lydkommandolisten til konsollen. Påvirker bare spill som bruker lydrenderen.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Når det er merket av, vil det dumpe alle de originale assembler shaders fra disk shader cache eller spillet som funnet</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation>Dump Lydkommandoer Til Konsollen**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>Dump Spill Shadere</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>Lag Minidump Etter Kræsj</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation>Aktiver hurtigtast for Renderdoc</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
<source>Advanced</source>
<translation>Avansert</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>Gjør det mulig for yuzu å se etter et fungerende Vulkan-miljø når programmet starter opp. Deaktiver dette hvis dette forårsaker problemer ved at eksterne programmer ser yuzu.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>Utfør Vulkan-Sjekk Ved Oppstart</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Slå av web-applet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Aktiver Alle Kontrollertyper</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Aktiver Auto-Stub**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Kiosk (Quest) Modus</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>Slå på prosessorfeilsøking</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>Aktiver Feilsøkingsoppgaver</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>Aktiver Auto-Stub**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Feilsøking</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>Aktiver Alle Kontrollertyper</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>Aktiver FS Tilgangs Logg</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Slå av web-applet</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>Lag Minidump Etter Kræsj</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation>Gjør det mulig for yuzu å se etter et fungerende Vulkan-miljø når programmet starter opp. Deaktiver dette hvis dette forårsaker problemer ved at eksterne programmer ser yuzu.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>Aktiver dette for å sende den siste genererte lydkommandolisten til konsollen. Påvirker bare spill som bruker lydrenderen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>Utfør Vulkan-Sjekk Ved Oppstart</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation>Dump Lydkommandoer Til Konsollen**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>Aktiver Verbose Reporting Services**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**Dette blir automatisk tilbakestilt når yuzu lukkes.</translation>
</message>
@@ -1082,12 +927,12 @@ Dette vil bannlyse både deres forum brukernavn og deres IP adresse.</translatio
<translation>yuzu må startes på nytt for å bruke denne innstillingen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>Web-applet ikke kompilert</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation>MiniDump-opprettelse ikke kompilert</translation>
</message>
@@ -1137,78 +982,83 @@ Dette vil bannlyse både deres forum brukernavn og deres IP adresse.</translatio
<translation>yuzu Konfigurasjon</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Noen innstillinger er bare tilgjengelige når spillet ikke er i gang.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Lyd</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Feilsøk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Filsystem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Generelt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Grafikk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>AvnsertGrafikk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Hurtigtaster</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Kontrollere</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Profiler</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Nettverk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>System</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Spill Liste</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Nett</translation>
</message>
@@ -1367,57 +1217,17 @@ Dette vil bannlyse både deres forum brukernavn og deres IP adresse.</translatio
<translation>Generelt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Begrens Farts-Prosent</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Fjerkjernes prosessoremulering</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Bekreft lukking mens emuleringen kjører</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Spør om bruker når et spill starter</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Paus emulering når yuzu kjører i bakgrunnen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Gjem mus under inaktivitet</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation>Deaktiver kontroller-appleten</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Tilbakestill alle innstillinger</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>Dette tilbakestiller alle innstillinger og fjerner alle spillinnstillinger. Spillmapper, profiler og inndataprofiler blir ikke slettet. Fortsett?</translation>
</message>
@@ -1440,311 +1250,43 @@ Dette vil bannlyse både deres forum brukernavn og deres IP adresse.</translatio
<translation>API-Innstillinger</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>Shader-backend:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Enhet:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Ingen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Grafikkinnstillinger</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>Bruk diskens rørledningsmellomlagring</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Bruk asynkron GPU-emulering</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>Akselerer ASTC-teksturdekoding</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation>VSync Modus:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation>FIFO (VSync) slipper ikke bilder eller viser tearing, men er begrenset av skjermoppdateringsfrekvensen.
-FIFO Relaxed ligner på FIFO, men tillater riving etter hvert som den kommer seg etter en oppbremsing.
-Mailbox kan ha lavere ventetid enn FIFO og river ikke, men kan slippe rammer.
-Umiddelbar (ingen synkronisering) presenterer bare det som er tilgjengelig og kan vise riving.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>NVDEC-emulering:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Ingen videoutdata</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>Prosessorvideodekoding</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>GPU-videodekoding (standard)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Fullskjermmodus:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Rammeløst vindu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Eksklusiv fullskjerm</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Størrelsesforhold:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Standard (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Tving 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Tving 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>Tving 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Strekk til Vindu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>Oppløsning:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [EKSPERIMENTELL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [EKSPERIMENTELL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation>1.5X (1080p/1620p) [EXPERIMENTELL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation>7X (5040p/7560p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation>8X (5760p/8640p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>Vindustilpasningsfilter:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Nærmeste nabo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Bilineær</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Bikubisk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>Gaussisk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️ Super Resolution</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>Anti-aliasing–metode:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation>Bruk global FSR skarphet</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation>Sett FSR skarphet</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation>FSR Skarphet:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation>100%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Bruk global bakgrunnsfarge</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Velg bakgrunnsfarge:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Bakgrunnsfarge:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (assembly-shader-e, kun med NVIDIA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation>SPIR-V (Eksperimentell, Kun Mesa)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation>Av</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation>VSync Av</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation>Anbefalt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation>På</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation>VSync På</translation>
</message>
@@ -1766,163 +1308,6 @@ Umiddelbar (ingen synkronisering) presenterer bare det som er tilgjengelig og ka
<source>Advanced Graphics Settings</source>
<translation>Avanserte Grafikkinnstillinger</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Nøyaktighetsnivå:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation>ASTC rekomprimering:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation>Ukomprimert (beste kvalitet)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation>BC1 (Lav kvalitet)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation>BC3 (Medium kvalitet)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation>Aktiver asynkron presentasjon (kun Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation>Kjører arbeid i bakgrunnen mens den venter på grafikkommandoer for å forhindre at GPU-en senker klokkehastigheten.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation>Tving maksikal klokkehastighet (kun Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation>Aktiverer asynkron ASTC-teksturavkoding, noe som kan redusere hakking i lastetiden. Denne funksjonen er eksperimentell.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation>Dekode ASTC-teksturer asynkront (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation>Bruker reaktiv tømming i stedet for prediktiv tømming. Tillater en mer nøyaktig synkronisering av minnet.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation>Aktiver Reaktiv Tømming</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Slår på asynkron shader-kompilering, som kan redusere shader-hakking. Denne funksjonaliteten er eksperimentell.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>Bruk asynkron shader-bygging (hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>Aktiverer rask GPU-tid. Dette alternativet vil tvinge de fleste spill til å kjøre med sin høyeste opprinnelige oppløsning.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>Bruk Rask GPU-Tid (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation>Aktiverer GPU-leverandørspesifikk rørledningsbuffer. Dette alternativet kan forbedre shader-innlastingstiden betydelig i tilfeller der Vulkan-driveren ikke lagrer rørledningsbufferfiler internt.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation>Bruk Vulkan rørledningsbuffer</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation>Aktiver beregningsrørledninger, kreves av noen spill. Denne innstillingen finnes bare for Intel-proprietære drivere, og kan krasje hvis den er aktivert.
-Beregningsrørledninger er alltid aktivert på alle andre drivere.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation>Aktiver beregningsrørledninger (kun Intel Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation>Kjør spillet i normal hastighet under videoavspilling, selv når bildefrekvensen er låst opp.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation>Synkroniser med bildefrekvensen for videoavspilling</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation>Forbedrer gjengivelsen av transparenseffekter i spesifikke spill.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation>Tilbakekoblingssløyfer for barrierer</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Anisotropisk filtrering:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>Automatisk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Standard</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2689,7 +2074,7 @@ Beregningsrørledninger er alltid aktivert på alle andre drivere.</translation>
<translation>Musepanorering</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Konfigurer</translation>
</message>
@@ -3117,13 +2502,13 @@ For å invertere aksene, flytt først stikken vertikalt, og så horistonalt.</tr
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation>Aktiver</translation>
+ <source>Enable mouse panning</source>
+ <translation>Slå på musepanorering</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
- <translation>Kan veksles via en hurtigtast</translation>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
+ <translation>Kan veksles via en hurtigtast. Standard hurtigtast er Ctrl + F9</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
@@ -3132,7 +2517,6 @@ For å invertere aksene, flytt først stikken vertikalt, og så horistonalt.</tr
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
<translation>Horisontal</translation>
</message>
@@ -3140,15 +2524,13 @@ For å invertere aksene, flytt først stikken vertikalt, og så horistonalt.</tr
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
<translation>Vertikal</translation>
</message>
@@ -3163,25 +2545,52 @@ For å invertere aksene, flytt først stikken vertikalt, og så horistonalt.</tr
<translation>Motvirker spillets innebygde dødsone</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation>Dødsone</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
<translation>Forfall av spaken</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
<translation>Styrke</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
<translation>Minimum</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>Standard</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation>Musepanorering fungerer bedre med en dødsone på 0 % og et område på 100 %.
+Gjeldende verdier er henholdsvis %1% og %2%.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation>Emulert mus er aktivert. Dette er ikke kompatibelt med musepanorering.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>Emulert mus er aktivert</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation>Ekte museinndata og musepanning er inkompatible. Deaktiver den emulerte musen i avanserte innstillinger for inndata for å tillate musepanning.</translation>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3214,100 +2623,95 @@ For å invertere aksene, flytt først stikken vertikalt, og så horistonalt.</tr
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Dialog</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Info</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Navn</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>Tittel-ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Filnavn</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Format</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Versjon</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Størrelse</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Utvikler</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Tillegg</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Noen innstillinger er bare tilgjengelige når spillet ikke er i gang.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Generelt</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Tillegg</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>System</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Grafikk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Avn. Grafikk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Lyd</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation>Inndataprofiler</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Egenskaper</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Bruk global konfigurasjon (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3630,412 +3034,17 @@ UUID: %2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>System</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Systeminstillinger</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Region:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Auto</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Standard</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Cuba</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Egypt</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>GB</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Greenwich</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Hongkong</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>Island</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>Iran</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>Israel</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Jamaica</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Japan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>Kwajalein</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Libya</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation>Kjerne</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Navajo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>NZ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>NZ-CHAT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Polen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Portugal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Singapore</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Tyrkia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Universalt</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>Zulu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>USA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Europa</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Australia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>Kina</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Korea</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Taiwan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Tidssone:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>NB: dette kan bli overstyrt når regionsinnstillingen er satt til auto-valg</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Japansk (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation>Amerikans Engelsk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Fransk (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Tysk (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Italiensk (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Spansk (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Kinesisk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Koreansk (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Nederlandsk (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Portugisisk (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Russisk (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Taiwansk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Britisk Engelsk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Kanadisk Fransk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Latinamerikansk Spansk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Forenklet Kinesisk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Tradisjonell Kinesisk (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>Brasiliansk portugisisk (português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>Tilpasset Sannhetstidsklokke</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Språk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>Frø For Tilfeldig Nummergenerering</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation>Enhetsnavn</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation>Usikkert utvidet minneoppsett (8 GB DRAM)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Systeminnstillinger er bare tilgjengelige når ingen spill kjører.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation>Advarsel: &quot;%1&quot; er ikke et gyldig språk for region &quot;%2&quot;</translation>
</message>
@@ -4244,64 +3253,64 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Ingen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>Liten (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>Standard (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>Stor (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>Full størrelse (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>Liten (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>Standard (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>Stor (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Filnavn</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>Filtype</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>Tittel-ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>Tittelnavn</translation>
</message>
@@ -4404,15 +3413,31 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation>TextLabel</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Oppløsning:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>Velg Skermbildebane...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation>Auto (%1 x %2, %3 x %4)</translation>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4713,12 +3738,12 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation>Kobler Til</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation>Koble Til</translation>
</message>
@@ -4726,575 +3751,612 @@ Dra punkter for å endre posisjon, eller dobbelttrykk på tabellfelter for å re
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonym data blir samlet inn&lt;/a&gt;for å hjelpe til med å forbedre yuzu.&lt;br/&gt;&lt;br/&gt;Vil du dele din bruksdata med oss?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Telemetri</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation>Ødelagt Vulkan-installasjon oppdaget</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation>Vulkan-initialisering mislyktes under oppstart.&lt;br&gt;&lt;br&gt;Klikk&lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;her for instruksjoner for å løse problemet&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
<translation>Kjører et spill</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>Laster web-applet...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Slå av web-applet</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation>Deaktivering av webappleten kan føre til udefinert oppførsel og bør bare brukes med Super Mario 3D All-Stars. Er du sikker på at du vil deaktivere webappleten?
(Dette kan aktiveres på nytt i feilsøkingsinnstillingene).</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>Antall shader-e som bygges for øyeblikket</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation>Den valgte oppløsningsskaleringsfaktoren.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>Nåværende emuleringshastighet. Verdier høyere eller lavere en 100% indikerer at emuleringen kjører raskere eller tregere enn en Switch.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>Hvor mange bilder per sekund spiller viser. Dette vil variere fra spill til spill og scene til scene.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Tid det tar for å emulere et Switch bilde. Teller ikke med bildebegrensing eller v-sync. For full-hastighet emulering burde dette være 16.67 ms. på det høyeste.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation>Slå på lyden</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation>Lydløs</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation>Tilbakestill volum</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>&amp;Tøm Nylige Filer</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation>Emulert mus er aktivert</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation>Ekte museinndata og musepanning er inkompatible. Deaktiver den emulerte musen i avanserte innstillinger for inndata for å tillate musepanning.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>&amp;Fortsett</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;Paus</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>Advarsel: Utdatert Spillformat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>Du bruker en dekonstruert ROM-mappe for dette spillet, som er et utdatert format som har blitt erstattet av andre formater som NCA, NAX, XCI, eller NSP. Dekonstruerte ROM-mapper mangler ikoner, metadata, og oppdateringsstøtte.&lt;br&gt;&lt;br&gt;For en forklaring på diverse Switch-formater som yuzu støtter,&lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;sjekk vår wiki&lt;/a&gt;. Denne meldingen vil ikke bli vist igjen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>Feil under innlasting av ROM!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>Dette ROM-formatet er ikke støttet.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>En feil oppstod under initialisering av videokjernen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation>yuzu har oppdaget en feil under kjøring av videokjernen. Dette er vanligvis forårsaket av utdaterte GPU-drivere, inkludert for integrert grafikk. Vennligst sjekk loggen for flere detaljer. For mer informasjon om å finne loggen, besøk følgende side: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Uploadd the Log File&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>Feil under lasting av ROM! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation>%1&lt;br&gt;Vennligst følg &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;hurtigstartsguiden&lt;/a&gt; for å redumpe filene dine. &lt;br&gt;Du kan henvise til yuzu wikien&lt;/a&gt; eller yuzu Discorden&lt;/a&gt; for hjelp.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>En ukjent feil oppstod. Se loggen for flere detaljer.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation>Lukker programvare...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>Lagre Data</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Mod Data</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>Feil Under Åpning av %1 Mappen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>Mappen eksisterer ikke!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>Feil ved åpning av overførbar shaderbuffer</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation>Kunne ikke opprette shader cache-katalogen for denne tittelen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation>Feil ved fjerning av innhold</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation>Feil ved fjerning av oppdatering</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation>Feil ved fjerning av DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation>Fjern Innstallert Spillinnhold?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation>Fjern Installert Spilloppdatering?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation>Fjern Installert Spill DLC?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>Fjern oppføring</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>Fjerning lykkes</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>Vellykket fjerning av det installerte basisspillet.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>Grunnspillet er ikke installert i NAND og kan ikke bli fjernet.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>Fjernet vellykket den installerte oppdateringen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>Det er ingen oppdatering installert for denne tittelen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>Det er ingen DLC installert for denne tittelen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>Fjernet vellykket %1 installerte DLC-er.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation>Slette OpenGL Overførbar Shaderbuffer?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation>Slette Vulkan Overførbar Shaderbuffer?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation>Slette Alle Overførbare Shaderbuffere?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>Fjern Tilpasset Spillkonfigurasjon?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation>Fjerne Hurtiglagringen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>Fjern Fil</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>Feil under fjerning av overførbar shader cache</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>En shaderbuffer for denne tittelen eksisterer ikke.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>Lykkes i å fjerne den overførbare shader cachen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>Feil under fjerning av den overførbare shader cachen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation>Feil ved fjerning av Vulkan Driver-Rørledningsbuffer</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation>Kunne ikke fjerne driverens rørledningsbuffer.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation>Feil ved fjerning av overførbare shaderbuffere</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation>Vellykket fjerning av overførbare shaderbuffere.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation>Feil ved fjerning av overførbar shaderbuffer katalog.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>Feil Under Fjerning Av Tilpasset Konfigurasjon</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>En tilpasset konfigurasjon for denne tittelen finnes ikke.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>Fjernet vellykket den tilpassede spillkonfigurasjonen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>Feil under fjerning av den tilpassede spillkonfigurasjonen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>Utvinning av RomFS Feilet!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>Det oppstod en feil under kopiering av RomFS filene eller så kansellerte brukeren operasjonen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>Fullstendig</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>Skjelett</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>Velg RomFS Dump Modus</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Velg hvordan du vil dumpe RomFS.&lt;br&gt;Fullstendig vil kopiere alle filene til en ny mappe mens &lt;br&gt;skjelett vil bare skape mappestrukturen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation>Det er ikke nok ledig plass på %1 til å pakke ut RomFS. Vennligst frigjør plass eller velg en annen dump-katalog under Emulering &gt; Konfigurer &gt; System &gt; Filsystem &gt; Dump Root.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>Utvinner RomFS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Avbryt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>RomFS Utpakking lyktes!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>Operasjonen fullført vellykket.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation>Integritetsverifisering kunne ikke utføres!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation>Filinnholdet ble ikke kontrollert for gyldighet.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation>Integritetsverifisering mislyktes!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation>Filinnholdet kan være skadet.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation>Verifiserer integritet...</translation>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation>Integritetsverifisering vellykket!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation>Lag Snarvei</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation>Dette vil opprette en snarvei til gjeldende AppImage. Dette fungerer kanskje ikke bra hvis du oppdaterer. Fortsette?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation>Kan ikke opprette snarvei på skrivebordet. Stien &quot;%1&quot; finnes ikke.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Kan ikke opprette snarvei i applikasjonsmenyen. Stien &quot;%1&quot; finnes ikke og kan ikke opprettes.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation>Lag Ikon</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Kan ikke opprette ikonfil. Stien &quot;%1&quot; finnes ikke og kan ikke opprettes.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation>Start %1 med yuzu-emulatoren</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation>Mislyktes i å opprette en snarvei ved %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation>Opprettet en snarvei til %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>Feil ved åpning av %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Velg Mappe</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Egenskaper</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>Spillets egenskaper kunne ikke bli lastet inn.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Switch Kjørbar Fil (%1);;Alle Filer (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Last inn Fil</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Åpne Utpakket ROM Mappe</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Ugyldig Mappe Valgt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>Mappen du valgte inneholder ikke en &apos;main&apos; fil.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>Installerbar Switch-Fil (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xcI)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>Installer Filer</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation><numerusform>%n fil gjenstår</numerusform><numerusform>%n filer gjenstår</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>Installerer fil &quot;%1&quot;...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>Insallasjonsresultater</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>For å unngå mulige konflikter fraråder vi brukere å installere basisspill på NAND.
Bruk kun denne funksjonen til å installere oppdateringer og DLC.</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation><numerusform>%n fil ble nylig installert
@@ -5302,7 +4364,7 @@ Bruk kun denne funksjonen til å installere oppdateringer og DLC.</translation>
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation><numerusform>%n fil ble overskrevet
@@ -5310,7 +4372,7 @@ Bruk kun denne funksjonen til å installere oppdateringer og DLC.</translation>
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation><numerusform>%n fil ble ikke installert
@@ -5318,312 +4380,341 @@ Bruk kun denne funksjonen til å installere oppdateringer og DLC.</translation>
</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Systemapplikasjon</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Systemarkiv</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Systemapplikasjonsoppdatering</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Firmware Pakke (Type A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Firmware-Pakke (Type B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Spill</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Spilloppdatering</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>Spill tilleggspakke</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Delta Tittel</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Velg NCA Installasjonstype...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>Vennligst velg typen tittel du vil installere denne NCA-en som:
(I de fleste tilfellene, standarden &apos;Spill&apos; fungerer.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Feil under Installasjon</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>Titteltypen du valgte for NCA-en er ugyldig.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Fil ikke funnet</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Filen &quot;%1&quot; ikke funnet</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation>Krav til maskinvare ikke oppfylt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation>Systemet ditt oppfyller ikke de anbefalte maskinvarekravene. Kompatibilitetsrapportering er deaktivert.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>Mangler yuzu Bruker</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>For å sende inn et testtilfelle for spillkompatibilitet, må du linke yuzu-brukeren din.&lt;br&gt;&lt;br/&gt;For å linke yuzu-brukeren din, gå til Emulasjon &amp;gt; Konfigurasjon &amp;gt; Nett.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>Feil under åpning av URL</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>Kunne ikke åpne URL &quot;%1&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation>TAS-innspilling</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>Overskriv filen til spiller 1?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>Ugyldig konfigurasjon oppdaget</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>Håndholdt kontroller kan ikke brukes i dokket modus. Pro-kontroller vil bli valgt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>Den valgte amiibo-en har blitt fjernet</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>Feil</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation>Det kjørende spillet sjekker ikke for amiibo-er</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Amiibo-Fil (%1);; Alle Filer (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Last inn Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Feil ved lasting av Amiibo data</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation>Den valgte filen er ikke en gyldig amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation>Den valgte filen er allerede i bruk</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation>En ukjent feil oppso</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation>Verifisering mislyktes for følgende filer:
+
+%1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Ta Skjermbilde</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>PNG Bilde (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>TAS-tilstand: Kjører %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>TAS-tilstand: Spiller inn %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation>TAS-tilstand: Venter %1%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>TAS-tilstand: Ugyldig</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation>&amp;Stopp kjøring</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>&amp;Start</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>Stopp innspilling (&amp;E)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>Spill inn (%E)</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation><numerusform>Bygger: %n shader</numerusform><numerusform>Bygger: %n shader-e</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>Skala: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Hastighet: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Hastighet: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation>Spill: %1 FPS (ubegrenset)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Spill: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Ramme: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>INGEN AA</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation>VOLUM: DEMPET</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation>VOLUM: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>Bekreft Nøkkel-Redirevasjon</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5640,37 +4731,37 @@ og eventuelt lag backups.
Dette vil slette dine autogenererte nøkkel-filer og kjøre nøkkel-derivasjonsmodulen på nytt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>Mangler fuses</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation>- Mangler BOOT0</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation>- Mangler BCPKG2-1-Normal-Main</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation>- Mangler PRODINFO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>Derivasjonskomponenter Mangler</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation>Krypteringsnøkler mangler. &lt;br&gt;Vennligst følg &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;yuzus oppstartsguide&lt;/a&gt; for å få alle nøklene, fastvaren og spillene dine.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5679,49 +4770,49 @@ Dette kan ta opp til et minutt avhengig
av systemytelsen din.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>Deriverer Nøkler</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation>Dekryptering av systemarkiv mislyktes</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation>Krypteringsnøkler klarte ikke å dekryptere firmware. &lt;br&gt;Vennligst følg &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;quickstartguiden for yuzu &lt;/a&gt; for å få alle nøkler, firmware og spill.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>Velg RomFS Dump-Mål</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>Vennligst velg hvilken RomFS du vil dumpe.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Er du sikker på at du vil lukke yuzu?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Er du sikker på at du vil stoppe emulasjonen? All ulagret fremgang vil bli tapt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5730,97 +4821,97 @@ Would you like to bypass this and exit anyway?</source>
Vil du overstyre dette og lukke likevel?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Ingen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
<translation>Nærmest</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Bilineær</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Bikubisk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>Gaussisk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Dokket</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Håndholdt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation>Normal</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation>Høy</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation>Ekstrem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
<translation>OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation>Null</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
<translation>GLSL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
<translation>GLASM</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
<translation>SPIRV</translation>
</message>
@@ -5828,44 +4919,44 @@ Vil du overstyre dette og lukke likevel?</translation>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGL ikke tilgjengelig!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation>Delte OpenGL-kontekster støttes ikke.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>yuzu har ikke blitt kompilert med OpenGL-støtte.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>Feil under initialisering av OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>Det kan hende at GPU-en din ikke støtter OpenGL, eller at du ikke har den nyeste grafikkdriveren.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>Feil under initialisering av OpenGL 4.6!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>Det kan hende at GPU-en din ikke støtter OpenGL 4.6, eller at du ikke har den nyeste grafikkdriveren.&lt;br&gt;&lt;br&gt;GL-renderer:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>Det kan hende at GPU-en din ikke støtter én eller flere nødvendige OpenGL-utvidelser. Vennligst sørg for at du har den nyeste grafikkdriveren.&lt;br&gt;&lt;br&gt;GL-renderer: &lt;br&gt;%1&lt;br&gt;&lt;br&gt;Ikke-støttede utvidelser:&lt;br&gt;%2</translation>
</message>
@@ -5873,173 +4964,178 @@ Vil du overstyre dette og lukke likevel?</translation>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>Legg til som favoritt</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>Start Spill</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>Star Spill Uten Tilpasset Konfigurasjon</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Åpne Lagret Data plassering</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Åpne Mod Data plassering</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation>Åpne Overførbar Rørledningsbuffer</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Fjern</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>Fjern Installert Oppdatering</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>Fjern All Installert DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>Fjern Tilpasset Konfigurasjon</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation>Fjern Hurtiglagring</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation>Fjer OpenGL Rørledningsbuffer</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation>Fjern Vulkan Rørledningsbuffer</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>Fjern Alle Rørledningsbuffere</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>Fjern All Installert Innhold</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>Dump RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>Dump RomFS til SDMC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation>Verifiser integritet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Kopier Tittel-ID til Utklippstavle</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>Naviger til GameDB-oppføring</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation>lag Snarvei</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation>Legg Til På Skrivebordet</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation>Legg Til Applikasjonsmenyen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Egenskaper</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>Skann Undermapper</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>Fjern Spillmappe</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ Flytt Opp</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ Flytt Ned</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>Åpne Spillmappe</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Fjern</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Navn</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Kompatibilitet</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Tilleggsprogrammer</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Fil Type</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Størrelse</translation>
</message>
@@ -6110,7 +5206,7 @@ Vil du overstyre dette og lukke likevel?</translation>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>Dobbeltrykk for å legge til en ny mappe i spillisten</translation>
</message>
@@ -6123,12 +5219,12 @@ Vil du overstyre dette og lukke likevel?</translation>
<translation><numerusform>%1 of %n resultat</numerusform><numerusform>%1 of %n resultater</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Filter:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Angi mønster for å filtrere</translation>
</message>
@@ -6204,12 +5300,12 @@ Vil du overstyre dette og lukke likevel?</translation>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>Feil</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation>Kunne ikke annonsere rommet til den offentlige lobbyen. For å være vert for et rom offentlig, må du ha en gyldig yuzu-konto konfigurert i Emulering -&gt; Konfigurer -&gt; Web. Hvis du ikke vil publisere et rom i den offentlige lobbyen, velger du ikke oppført i stedet.
@@ -6219,13 +5315,11 @@ Feilmelding:</translation>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation>Lyd av/på</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6246,111 +5340,113 @@ Feilmelding:</translation>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation>Hovedvindu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation>Lydvolum Ned</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation>Lydvolum Opp</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Ta Skjermbilde</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation>Endre tilpasningsfilter</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation>Endre forankret modus</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation>Endre GPU-nøyaktighet</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation>Fortsett/Pause Emuleringen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation>Avslutt fullskjerm</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation>Avslutt yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Fullskjerm</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Last inn Fil</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation>Last/Fjern Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation>Omstart Emuleringen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation>Stopp Emuleringen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation>Spill inn TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation>Tilbakestill TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation>Start/Stopp TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation>Veksle Filterlinje</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation>Veksle Bildefrekvensgrense</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation>Veksle Muspanorering</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation>Veksle Statuslinje</translation>
</message>
@@ -6470,42 +5566,42 @@ Feilmelding:</translation>
<translation>Oppdater Lobbyen</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation>Passord Kreves For Å Delta</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation>Passord:</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Spillere</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation>Romnavn</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation>Foretrukket spill</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation>Vert</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation>Oppdaterer</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation>Oppdater liste</translation>
</message>
@@ -6593,172 +5689,182 @@ Feilmelding:</translation>
<translation>&amp;TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Hjelp</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>&amp;Installer filer til NAND...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>Last inn fil... (&amp;O)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>Last inn mappe (&amp;F)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>&amp;Avslutt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>&amp;Paus</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>&amp;Stop</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>&amp;Reinitialiser nøkler...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>Om yuzu (&amp;A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>Énvindusmodus (&amp;W)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>Kon&amp;figurer...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>Vis Overskrifter for Dock Widget (&amp;O)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>Vis &amp;filterlinje</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>Vis &amp;statuslinje</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Vis statuslinje</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation>Bla gjennom den offentlige spillobbyen (&amp;B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation>Opprett Rom (&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation>Forlat Rommet (&amp;L)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation>Direkte Tilkobling Til Rommet (&amp;D)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation>Vis nåværende rom (&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>F&amp;ullskjerm</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>Omstart (&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation>Last/Fjern Amiibo (&amp;A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>Rapporter kompatibilitet (&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation>Åpne Modifikasjonssiden (&amp;M)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation>Åpne Hurtigstartsguiden (&amp;Q)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>&amp;FAQ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation>Åpne &amp;yuzu Mappen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>Ta Skjermbilde (&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation>Konfigurer TAS (&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation>Konfigurer Gjeldende Spill (&amp;U)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>&amp;Start</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation>Tilbakestill (&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>Spill inn (%E)</translation>
</message>
@@ -7551,27 +6657,27 @@ p, li { white-space: pre-wrap; }
<translation>Filbane</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation>Ingen spilldata til stede</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation>Følgende amiibo-data vil bli formatert:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation>Følgende spilldata vil bli fjernet:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation>Angi kallenavn og eier:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation>Ønsker du å gjenopprette denne amiiboen?</translation>
</message>
@@ -7612,7 +6718,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Pro-Kontroller</translation>
</message>
@@ -7625,7 +6731,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Doble Joycons</translation>
</message>
@@ -7638,7 +6744,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Venstre Joycon</translation>
</message>
@@ -7651,7 +6757,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Høyre Joycon</translation>
</message>
@@ -7680,7 +6786,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Håndholdt</translation>
</message>
@@ -7796,32 +6902,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>GameCube-kontroller</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>Poke Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>NES-kontroller</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>SNES-kontroller</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>N64-kontroller</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>Sega Genesis</translation>
</message>
diff --git a/dist/languages/nl.ts b/dist/languages/nl.ts
index 070e4dba7..ec7577c9d 100644
--- a/dist/languages/nl.ts
+++ b/dist/languages/nl.ts
@@ -366,78 +366,32 @@ Dit zou zowel hun forum gebruikersnaam als hun IP-adres verbannen.</translation>
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Audio</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Uitvoer-engine:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>Uitvoerapparaat:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>Invoerapparaat:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>Geluidsuitvoermodus:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Mono</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Stereo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Surround</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Gebruik globaal volume</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Stel volume in:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Volume:</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation>Auto (%1)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Demp audio op de achtergrond</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation>Standaard (%1)</translation>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Audio</translation>
</message>
</context>
<context>
@@ -501,133 +455,25 @@ Dit zou zowel hun forum gebruikersnaam als hun IP-adres verbannen.</translation>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Algemeen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Nauwkeurigheid:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Auto</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Accuraat </translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Onveilig</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>Paranoid (schakelt de meeste optimalisaties uit)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>We raden aan de nauwkeurigheid op &apos;Auto&apos; te zetten</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Onveilige CPU-optimalisatie-instellingen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Deze instellingen verlagen nauwkeurigheid voor snelheid.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;Deze optie verbeterd de prestatie door de accuratie van fused-multiply-add-instructies te verminderen op CPU&apos;s zonder native FMA support.&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Ontbind FMA (verbeterd prestatie op CPU&apos;s zonder FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;Deze optie verbeterd de snelheid van sommige kommagetallen functies door minder naukeurige ingebouwde benaderingen te gebruiken.&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>Snellere FRSRTE en FRECPE</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;Deze optie verbetert de snelheid of 32-bit ASIMD floating-point functies door incorrecte afronding modellen te gebruiken.&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Snellere ASIMD-instructies (alleen 32-bits)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;Deze optie verbetert de snelheid door NaN-controle te verwijderen. Houd er rekening mee dat dit ook de nauwkeurigheid van bepaalde drijvende-komma-instructies vermindert.&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Onnauwkeurige NaN-verwerking</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;Deze optie verbetert de snelheid door het elimineren van een veiligheidscontrole voor elk geheugen lezen/schrijven in de gast. Door deze optie uit te schakelen kan een spel het geheugen van de emulator lezen/schrijven.&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>Schakel adresruimtecontroles uit</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;Deze optie verbetert de snelheid door alleen de semantiek van cmpxchg te gebruiken om de veiligheid van exclusieve toegangsinstructies te garanderen. Dit kan resulteren in deadlocks en andere &quot;race conditions&quot;.&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>Negeer globale monitor</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>CPU-instellingen zijn alleen toegankelijk als er geen spel draait.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -834,222 +680,227 @@ Dit zou zowel hun forum gebruikersnaam als hun IP-adres verbannen.</translation>
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>Debugger</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>Schakel GDB Stub in</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Poort:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Loggen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Globale Log Filter</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>Toon Login-console</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Open Loglocatie</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Globale Log Filter</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Indien aangevinkt, neemt de maximale grootte van de log toe van 100 MB tot 1 GB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Schakel Uitgebreid Loggen** in</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Toon Login-console</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>Argumentenrij</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Graphics</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>Indien aangevinkt, gaat de grafische API naar een langzamere foutopsporingsmodus</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Schakel Graphics Foutopsporing in</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>Indien aangevinkt schakelt het Nsight Aftermath crashdumps in</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Indien aangevinkt, voert het shaders uit zonder wijzigingen in de luslogica</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Schakel Nsight Aftermath in</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Schakel Lusveiligheidscontroles uit</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>Indien aangevinkt, zal het alle originele assembler shaders van de disk shader cache of het gevonden spel dumpen</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>Indien aangevinkt, schakelt het de macro HLE functies uit. Inschakelen maakt spellen langzamer</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>Dump Spel-shaders</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>Schakel Macro HLE uit</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>Indien aangevinkt, worden alle macroprogramma&apos;s van de GPU gedumpt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>Dump Maxwell-macro&apos;s</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>Indien aangevinkt, wordt de macro Just In Time-compiler uitgeschakeld. Als je dit inschakelt, worden spellen langzamer</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Schakel Macro JIT uit</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation>Indien aangevinkt, schakelt het de macro HLE functies uit. Inschakelen maakt spellen langzamer</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>Indien aangevinkt schakelt het Nsight Aftermath crashdumps in</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation>Schakel Macro HLE uit</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Schakel Nsight Aftermath in</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
<source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation>Indien aangevinkt, zal yuzu statistieken registreren over de gecompileerde pijplijn-cache</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
<source>Enable Shader Feedback</source>
<translation>Schakel Shader Feedback in</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>Indien aangevinkt, voert het shaders uit zonder wijzigingen in de luslogica</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>Schakel Lusveiligheidscontroles uit</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>Indien aangevinkt, wordt de macro Just In Time-compiler uitgeschakeld. Als je dit inschakelt, worden spellen langzamer</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Debugging</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Schakel Macro JIT uit</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation>Schakel Verbose Reporting Services** in</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Indien aangevinkt, gaat de grafische API naar een langzamere foutopsporingsmodus</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>Schakel FS-toegangslogboek in</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Schakel Graphics Foutopsporing in</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation>Zet dit aan om de laatst gegenereerde audio commandolijst naar de console te sturen. Alleen van invloed op spellen die de audio renderer gebruiken.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Indien aangevinkt, zal het alle originele assembler shaders van de disk shader cache of het gevonden spel dumpen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation>Dump Audio-opdrachten naar Console**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>Dump Spel-shaders</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>Maak Minidump na Crash</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation>Schakel Renderdoc-sneltoets in</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
<source>Advanced</source>
<translation>Geavanceerd</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>Laat yuzu controleren op een werkende Vulkan-omgeving wanneer het programma opstart. Schakel dit uit als dit problemen veroorzaakt met externe programma&apos;s die yuzu zien.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>Voer Vulkan-controle bij het opstarten uit</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Schakel Webapplet uit</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Schakel Alle Controler-soorten in</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Schakel Auto-Stub** in</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Kiosk-modus (Quest)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>Schakel CPU-foutopsporing in</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>Schakel Debug-asserts in</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>Schakel Auto-Stub** in</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Debugging</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>Schakel Alle Controler-soorten in</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>Schakel FS-toegangslogboek in</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Schakel Webapplet uit</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>Maak Minidump na Crash</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation>Laat yuzu controleren op een werkende Vulkan-omgeving wanneer het programma opstart. Schakel dit uit als dit problemen veroorzaakt met externe programma&apos;s die yuzu zien.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>Zet dit aan om de laatst gegenereerde audio commandolijst naar de console te sturen. Alleen van invloed op spellen die de audio renderer gebruiken.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>Voer Vulkan-controle bij het opstarten uit</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation>Dump Audio-opdrachten naar Console**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>Schakel Verbose Reporting Services** in</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**Deze optie wordt automatisch gereset wanneer yuzu is gesloten.</translation>
</message>
@@ -1064,12 +915,12 @@ Dit zou zowel hun forum gebruikersnaam als hun IP-adres verbannen.</translation>
<translation>yuzu moet opnieuw opstarten om deze instelling toe te passen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>Webapplet niet gecompileerd</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation>MiniDump-creatie niet gecompileerd</translation>
</message>
@@ -1119,78 +970,83 @@ Dit zou zowel hun forum gebruikersnaam als hun IP-adres verbannen.</translation>
<translation>yuzu-configuratie</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Sommige instellingen zijn alleen beschikbaar als een spel niet actief is.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Debug</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Bestandssysteem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Algemeen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Graphics</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>Geavanceerde Graphics</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Sneltoetsen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Bediening</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Profielen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Netwerk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>Systeem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Spellijst</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Web</translation>
</message>
@@ -1349,57 +1205,17 @@ Dit zou zowel hun forum gebruikersnaam als hun IP-adres verbannen.</translation>
<translation>Algemeen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Beperk Snelheidspercentage</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Multicore CPU-emulatie</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Bevestig sluiten terwijl emulatie nog bezig is</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Vraag aan gebruiker bij opstarten van het spel</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Emulatie onderbreken op de achtergrond</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Verberg muis wanneer inactief</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Reset Alle Instellingen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>Hiermee worden alle instellingen gereset en alle configuraties per game verwijderd. Hiermee worden gamedirectory&apos;s, profielen of invoerprofielen niet verwijderd. Doorgaan?</translation>
</message>
@@ -1422,311 +1238,43 @@ Dit zou zowel hun forum gebruikersnaam als hun IP-adres verbannen.</translation>
<translation>API-instellingen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>Shader Backend:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Apparaat:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Geen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Grafische Instellingen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>Gebruik schijfpijplijn-cache</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Gebruik asynchrone GPU-emulatie</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>Versnel ASTC-textuurdecodering</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation>VSync-modus:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation>FIFO (VSync) dropt geen frames en vertoont geen scheuren, maar wordt beperkt door de vernieuwingsfrequentie van het scherm.
-FIFO Relaxed is vergelijkbaar met FIFO, maar staat scheuren toe wanneer het zich herstelt van een vertraging.
-Mailbox kan een lagere latentie hebben dan FIFO en scheurt niet, maar kan frames droppen.
-Immediate (geen synchronisatie) presenteert gewoon wat beschikbaar is en kan scheuren vertonen.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>NVDEC-emulatie:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Geen Video-uitvoer</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>CPU Videodecodering</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>GPU Videodecodering (Standaard)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Volledig scherm modus:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Randloos Venster</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Exclusief Volledig Scherm</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Aspect Ratio:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Standaart (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Forceer 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Forceer 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>Forceer 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Uitrekken naar Venster</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>Resolutie:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [EXPERIMENTEEL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [EXPERIMENTEEL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation>1.5X (1080p/1620p) [EXPERIMENTEEL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation>7X (5040p/7560p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation>8X (5760p/8640p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>Window Adapting Filter:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Nearest Neighbor</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Bilinear</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Bicubic</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>Gaussian</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️ Super Resolution</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>Antialiasing-methode:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation>Gebruik globale FSR-scherpte</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation>Stel FSR-scherpte in</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation>FSR-scherpte:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation>100%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Gebruik globale achtergrondkleur</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Gebruik achtergrondkleur:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Achtergrondkleur:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (Assembly Shaders, alleen NVIDIA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation>SPIR-V (Experimenteel, alleen Mesa)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation>Uit</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation>VSync Uit</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation>Aanbevolen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation>Aan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation>VSync Aan</translation>
</message>
@@ -1748,163 +1296,6 @@ Immediate (geen synchronisatie) presenteert gewoon wat beschikbaar is en kan sch
<source>Advanced Graphics Settings</source>
<translation>Geavanceerde Grafische Instellingen</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Nauwkeurigheidsniveau:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation>BC1 (Lage Kwaliteit)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation>BC3 (Gemiddelde kwaliteit)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation>Schakel asynchrone presentatie in (alleen Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation>Werkt op de achtergrond terwijl er wordt gewacht op grafische opdrachten om te voorkomen dat de GPU zijn kloksnelheid verlaagt.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation>Forceer maximale klokken (alleen Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation>Maakt asynchrone ASTC-textuurdecodering mogelijk, waardoor de laadtijd minder stottert. Deze functie is experimenteel.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation>Decodeer ASTC-texturen asynchroon (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation>Gebruikt reactieve flushing in plaats van predictieve flushing. Maakt een nauwkeuriger synchronisatie van het geheugen mogelijk.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation>Schakel Reactive Flushing In</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Laat shaders asynchroon compileren, wat haperingen kunnen verminderen. Deze instelling is experimenteel.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>Gebruik asynchrone shaderbouw (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>Schakelt Snelle GPU-tijd in. Deze optie forceert de meeste games om op hun hoogste native resolutie te draaien.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>Gebruik Snelle GPU-tijd (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation>Schakelt GPU-leverancier-specifieke pijplijn-cache in. Deze optie kan de laadtijd van shaders aanzienlijk verbeteren in gevallen waarin het Vulkan-stuurprogramma de pijplijncachebestanden niet intern opslaat.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation>Gebruik Vulkan-pijplijn-cache</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation>Schakel compute pipelines in, vereist door sommige games. Deze instelling bestaat alleen voor Intel-eigen drivers, en kan crashen indien ingeschakeld.
-Compute pipelines is altijd ingeschakeld bij alle andere drivers.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation>Schakel Compute Pipelines in (alleen Intel Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Anisotrope Filtering:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>Automatisch</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Standaard</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2668,10 +2059,10 @@ Compute pipelines is altijd ingeschakeld bij alle andere drivers.</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3085"/>
<source>Mouse panning</source>
- <translation type="unfinished"/>
+ <translation>Muis pannen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Configureer</translation>
</message>
@@ -3095,75 +2486,99 @@ Om de assen om te keren, beweeg je de joystick eerst verticaal en vervolgens hor
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="6"/>
<source>Configure mouse panning</source>
- <translation type="unfinished"/>
+ <translation>Configureer muis pannen</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation>Inschakelen</translation>
+ <source>Enable mouse panning</source>
+ <translation>Schakel muispanning in</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
- <translation type="unfinished"/>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
+ <translation>Kan worden geschakeld met een sneltoets. Standaardsneltoets is Ctrl + F9</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
<source>Sensitivity</source>
- <translation type="unfinished"/>
+ <translation>Gevoeligheid</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
- <translation type="unfinished"/>
+ <translation>Horizontaal</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
- <translation type="unfinished"/>
+ <translation>Verticaal</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="85"/>
<source>Deadzone counterweight</source>
- <translation type="unfinished"/>
+ <translation>Deadzone tegengewicht</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="88"/>
<source>Counteracts a game&apos;s built-in deadzone</source>
- <translation type="unfinished"/>
+ <translation>Gaat de ingebouwde deadzone van een game tegen</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation>Deadzone</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
- <translation type="unfinished"/>
+ <translation>Stick verval</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
- <translation type="unfinished"/>
+ <translation>Kracht</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
- <translation type="unfinished"/>
+ <translation>Minimum</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>Standaard</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation>Muis panning werkt beter met een deadzone van 0% en een bereik van 100%
+De huidige waarden zijn %1% en %2%.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation>Geëmuleerde muis is ingeschakeld. Dit is niet compatibel met panning met de muis.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>Geëmuleerde muis is ingeschakeld</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation>Echte muisinvoer en muispanning zijn niet compatibel. Schakel de geëmuleerde muis uit in de geavanceerde invoerinstellingen om muispanning mogelijk te maken.</translation>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3196,100 +2611,95 @@ Om de assen om te keren, beweeg je de joystick eerst verticaal en vervolgens hor
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Dialoog</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Informatie</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Naam</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>Titel-ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Bestandsnaam</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Formaat</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Versie</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Groote</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Ontwikkelaar</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Add-Ons</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Sommige instellingen zijn alleen beschikbaar als een spel niet actief is.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Algemeen</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Add-Ons</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>Systeem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Graphics</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Adv. Graphics</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation>Invoerprofielen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Eigenschappen</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Gebruik globale configuratie (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3485,7 +2895,7 @@ UUID: %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="26"/>
<source>To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game.</source>
- <translation type="unfinished"/>
+ <translation>Om Ring-Con te gebruiken, configureer speler 1 als rechter Joy-Con (zowel fysiek als geëmuleerd) en speler 2 als linker Joy-Con (links fysiek en dubbel geëmuleerd) voordat het spel start.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="52"/>
@@ -3590,7 +3000,7 @@ UUID: %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="309"/>
<source>The current mapped device is not connected</source>
- <translation type="unfinished"/>
+ <translation>Het huidige toegewezen apparaat is niet aangesloten</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="313"/>
@@ -3612,412 +3022,17 @@ UUID: %2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>Systeem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Systeeminstellingen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Regio:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Auto</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Standaard</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Cuba</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Egypte</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>GB</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Greenwich</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Hongkong</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>Ijsland</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>Iran</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>Israel</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Jamaica</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Japan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>Kwajalein</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Libië</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation>Core</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Navajo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>NZ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>NZ-CHAT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Polen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Portugal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Singapore</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Turkije</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Universeel</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>Zulu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>USA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Europa</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Australië</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>China</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Korea</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Taiwan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Tijdzone:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Opmerking: dit kan worden overschreven wanneer de regio-instelling automatisch wordt geselecteerd</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Japans (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation>Amerikaans-Engels</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Frans (Français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Duits (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Italiaans (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Spaans (Español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Chinees</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Koreaans (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Nederlands (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Portugees (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Russisch (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Taiwanese</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Brits-Engels</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Canadees-Frans</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Latijns-Amerikaans Spaans</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Vereenvoudigd Chinees</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Traditioneel Chinees (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>Braziliaans-Portugees (português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>Aangepaste RTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Taal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>RNG Seed</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation>Apparaatnaam</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation>Onveilige uitgebreide geheugenindeling (8GB DRAM)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Systeeminstellingen zijn enkel toegankelijk wanneer er geen game draait.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation>Waarschuwing: &quot;%1&quot; is geen geldige taal voor regio &quot;%2&quot;</translation>
</message>
@@ -4226,64 +3241,64 @@ Versleep punten om de positie te veranderen, of dubbelklik op tabelcellen om waa
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Geen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>Klein (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>Standaard (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>Groot (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>Volledige Grootte (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>Klein (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>Standaard (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>Groot (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Bestandsnaam</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>Bestandstype</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>Titel-ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>Titelnaam</translation>
</message>
@@ -4386,15 +3401,31 @@ Versleep punten om de positie te veranderen, of dubbelklik op tabelcellen om waa
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation>TextLabel</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Resolutie:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>Selecteer Schermafbeeldingspad...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation>Auto (%1 x %2, %3 x %4)</translation>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4695,12 +3726,12 @@ Versleep punten om de positie te veranderen, of dubbelklik op tabelcellen om waa
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation>Verbinden</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation>Verbind</translation>
</message>
@@ -4708,575 +3739,612 @@ Versleep punten om de positie te veranderen, of dubbelklik op tabelcellen om waa
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Annonieme gegevens worden verzameld&lt;/a&gt; om yuzu te helpen verbeteren. &lt;br/&gt;&lt;br/&gt; Zou je jouw gebruiksgegevens met ons willen delen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Telemetrie</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation>Beschadigde Vulkan-installatie gedetecteerd</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation>Vulkan-initialisatie mislukt tijdens het opstarten.&lt;br&gt;&lt;br&gt;Klik &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;hier voor instructies om het probleem op te lossen&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
- <translation type="unfinished"/>
+ <translation>Een spel uitvoeren</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>Web Applet Laden...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Schakel Webapplet uit</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation>Het uitschakelen van de webapplet kan leiden tot ongedefinieerd gedrag en mag alleen gebruikt worden met Super Mario 3D All-Stars. Weet je zeker dat je de webapplet wilt uitschakelen?
(Deze kan opnieuw worden ingeschakeld in de Debug-instellingen).</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>Het aantal shaders dat momenteel wordt gebouwd</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation>De huidige geselecteerde resolutieschaalmultiplier.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>Huidige emulatiesnelheid. Waarden hoger of lager dan 100% geven aan dat de emulatie sneller of langzamer werkt dan een Switch.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>Hoeveel beelden per seconde het spel momenteel weergeeft. Dit varieert van spel tot spel en van scène tot scène.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Tijd die nodig is om een Switch-beeld te emuleren, beeldbeperking of v-sync niet meegerekend. Voor emulatie op volle snelheid mag dit maximaal 16,67 ms zijn.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation>Dempen opheffen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation>Dempen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
- <translation>Volume resetten</translation>
+ <translation>Herstel Volume</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>&amp;Wis Recente Bestanden</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation>Geëmuleerde muis is ingeschakeld</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation>Echte muisinvoer en muispanning zijn niet compatibel. Schakel de geëmuleerde muis uit in de geavanceerde invoerinstellingen om muispanning mogelijk te maken.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>&amp;Doorgaan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;Onderbreken</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>Waarschuwing Verouderd Spelformaat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>Je gebruikt het gedeconstrueerde ROM-mapformaat voor dit spel, wat een verouderd formaat is dat vervangen is door andere zoals NCA, NAX, XCI, of NSP. Deconstructed ROM-mappen missen iconen, metadata, en update-ondersteuning.&lt;br&gt;&lt;br&gt;Voor een uitleg van de verschillende Switch-formaten die yuzu ondersteunt,&lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt; bekijk onze wiki&lt;/a&gt;. Dit bericht wordt niet meer getoond.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>Fout tijdens het laden van een ROM!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>Het ROM-formaat wordt niet ondersteund.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>Er is een fout opgetreden tijdens het initialiseren van de videokern.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation>yuzu is een fout tegengekomen tijdens het uitvoeren van de videokern. Dit wordt meestal veroorzaakt door verouderde GPU-drivers, inclusief geïntegreerde. Zie het logboek voor meer details. Voor meer informatie over toegang tot het log, zie de volgende pagina: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;Hoe upload je het logbestand&lt;/a&gt;. </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>Fout tijdens het laden van ROM! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation>%1&lt;br&gt;Volg de &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;yuzu snelstartgids&lt;/a&gt; om je bestanden te redumpen.&lt;br&gt;Je kunt de yuzu-wiki&lt;/a&gt;of de yuzu-Discord&lt;/a&gt; raadplegen voor hulp.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>Een onbekende fout heeft plaatsgevonden. Kijk in de log voor meer details.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation>Software sluiten...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>Save Data</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Mod Data</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>Fout tijdens het openen van %1 map</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>Map bestaat niet!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>Fout bij het openen van overdraagbare shader-cache</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation>Kon de shader-cache-map voor dit spel niet aanmaken.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation>Fout bij het verwijderen van de inhoud</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation>Fout bij het verwijderen van de update</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation>Fout bij het verwijderen van DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation>Geïnstalleerde Spelinhoud Verwijderen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation>Geïnstalleerde Spel-update Verwijderen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation>Geïnstalleerde Spel-DLC Verwijderen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>Verwijder Invoer</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>Met Succes Verwijderd</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>Het geïnstalleerde basisspel is succesvol verwijderd.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>Het basisspel is niet geïnstalleerd in de NAND en kan niet worden verwijderd.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>De geïnstalleerde update is succesvol verwijderd.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>Er is geen update geïnstalleerd voor dit spel.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>Er is geen DLC geïnstalleerd voor dit spel.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>%1 geïnstalleerde DLC met succes verwijderd.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation>Overdraagbare OpenGL-shader-cache Verwijderen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation>Overdraagbare Vulkan-shader-cache Verwijderen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation>Alle Overdraagbare Shader-caches Verwijderen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>Aangepaste Spelconfiguratie Verwijderen?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
- <translation>Cache-opslag verwijderen</translation>
+ <translation>Verwijder Cache-opslag?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>Verwijder Bestand</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>Fout bij het verwijderen van Overdraagbare Shader-cache</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>Er bestaat geen shader-cache voor dit spel.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>De overdraagbare shader-cache is verwijderd.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>Kon de overdraagbare shader-cache niet verwijderen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation>Fout bij het verwijderen van Pijplijn-cache van Vulkan-driver</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation>Kon de pijplijn-cache van de driver niet verwijderen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation>Fout bij het verwijderen van overdraagbare shader-caches</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation>De overdraagbare shader-caches zijn verwijderd.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation>Kon de overdraagbare shader-cache-map niet verwijderen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>Fout bij het verwijderen van aangepaste configuratie</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>Er bestaat geen aangepaste configuratie voor dit spel.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>De aangepaste spelconfiguratie is verwijderd.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>Kon de aangepaste spelconfiguratie niet verwijderen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>RomFS-extractie Mislukt!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>Er is een fout opgetreden bij het kopiëren van de RomFS-bestanden of de gebruiker heeft de bewerking geannuleerd.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>Volledig</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>Skelet</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>Selecteer RomFS-dumpmodus</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Selecteer hoe je de RomFS gedumpt wilt hebben.&lt;br&gt;Volledig zal alle bestanden naar de nieuwe map kopiëren, terwijl &lt;br&gt;Skelet alleen de mapstructuur zal aanmaken.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation>Er is niet genoeg vrije ruimte op %1 om de RomFS uit te pakken. Maak ruimte vrij of kies een andere dumpmap bij Emulatie &gt; Configuratie &gt; Systeem &gt; Bestandssysteem &gt; Dump Root.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>RomFS uitpakken...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Annuleren</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>RomFS-extractie Geslaagd!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>De bewerking is succesvol voltooid.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation>Integriteitsverificatie kon niet worden uitgevoerd!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation>De inhoud van bestanden werd niet gecontroleerd op geldigheid.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation>Integriteitsverificatie mislukt!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation>Bestandsinhoud kan corrupt zijn.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation>Integriteit verifiëren...</translation>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation>Integriteitsverificatie geslaagd!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation>Maak Snelkoppeling</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation>Dit maakt een snelkoppeling naar de huidige AppImage. Dit werkt mogelijk niet goed als je een update uitvoert. Doorgaan?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation>Kan geen snelkoppeling op het bureaublad maken. Pad &quot;%1&quot; bestaat niet.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Kan geen snelkoppeling maken in toepassingen menu. Pad &quot;%1&quot; bestaat niet en kan niet worden aangemaakt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation>Maak Icoon</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Kan geen icoonbestand maken. Pad &quot;%1&quot; bestaat niet en kan niet worden aangemaakt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation>Voer %1 uiit met de yuzu-emulator</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation>Er is geen snelkoppeling gemaakt op %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation>Succesvol een snelkoppeling naar %1 gemaakt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>Fout bij openen %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Selecteer Map</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Eigenschappen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>De speleigenschappen kunnen niet geladen worden.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Switch Executable (%1);;Alle Bestanden (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Laad Bestand</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Open Uitgepakte ROM-map</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Ongeldige Map Geselecteerd</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>De map die je hebt geselecteerd bevat geen &apos;main&apos;-bestand.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>Installeerbaar Switch-bestand (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>Installeer Bestanden</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation><numerusform>%n bestand(en) resterend</numerusform><numerusform>%n bestand(en) resterend</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>Bestand &quot;%1&quot; Installeren...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>Installeerresultaten</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>Om mogelijke conflicten te voorkomen, raden we gebruikers af om basisgames te installeren op de NAND.
Gebruik deze functie alleen om updates en DLC te installeren.</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation><numerusform>%n bestand(en) zijn recent geïnstalleerd
@@ -5284,7 +4352,7 @@ Gebruik deze functie alleen om updates en DLC te installeren.</translation>
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation><numerusform>%n bestand(en) werden overschreven
@@ -5292,7 +4360,7 @@ Gebruik deze functie alleen om updates en DLC te installeren.</translation>
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation><numerusform>%n bestand(en) niet geïnstalleerd
@@ -5300,312 +4368,341 @@ Gebruik deze functie alleen om updates en DLC te installeren.</translation>
</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Systeemapplicatie</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Systeemarchief</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Systeemapplicatie-update</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Filmware-pakket (Type A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Filmware-pakket (Type B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Spel</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Spelupdate</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>Spel-DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Delta Titel</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Selecteer NCA-installatiesoort...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>Selecteer het type titel waarin je deze NCA wilt installeren:
(In de meeste gevallen is de standaard &quot;Spel&quot; prima).</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Installatie Mislukt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>Het soort title dat je hebt geselecteerd voor de NCA is ongeldig.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Bestand niet gevonden</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Bestand &quot;%1&quot; niet gevonden</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation>Er is niet voldaan aan de hardwarevereisten</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation>Je systeem voldoet niet aan de aanbevolen hardwarevereisten. Compatibiliteitsrapportage is uitgeschakeld.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>yuzu-account Ontbreekt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>Om een spelcompatibiliteitstest in te dienen, moet je je yuzu-account koppelen.&lt;br&gt;&lt;br/&gt;Om je yuzu-account te koppelen, ga naar Emulatie &amp;gt; Configuratie &amp;gt; Web.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>Fout bij het openen van URL</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>Kan de URL &quot;%1&quot; niet openen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation>TAS-opname</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>Het bestand van speler 1 overschrijven?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>Ongeldige configuratie gedetecteerd</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>Handheld-controller kan niet gebruikt worden in docked-modus. Pro controller wordt geselecteerd.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>De huidige amiibo is verwijderd</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>Fout</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation>Het huidige spel is niet op zoek naar amiibo&apos;s</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Amiibo-bestand (%1);; Alle Bestanden (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Laad Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Fout tijdens het laden van de Amiibo-gegevens</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation>Het geselecteerde bestand is geen geldige amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation>Het geselecteerde bestand is al in gebruik</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation>Er is een onbekende fout opgetreden</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation>Verificatie mislukt voor de volgende bestanden:
+
+%1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Leg Schermafbeelding Vast</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>PNG-afbeelding (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>TAS-status: %1/%2 In werking</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>TAS-status: %1 Aan het opnemen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation>TAS-status: %1/%2 Inactief</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>TAS-status: Ongeldig</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation>&amp;Stop Uitvoering</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>&amp;Start</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>Stop Opname</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>Opnemen</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation><numerusform>Bouwen: %n shader(s)</numerusform><numerusform>Bouwen: %n shader(s)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>Schaal: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Snelheid: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Snelheid: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation>Spel: %1 FPS (Ontgrendeld)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Game: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Frame: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>GEEN AA</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation>VOLUME: GEDEMPT</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation>VOLUME: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>Bevestig Sleutelherhaling</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5622,37 +4719,37 @@ en maak eventueel back-ups.
Dit zal je automatisch gegenereerde sleutelbestanden verwijderen en de sleutelafleidingsmodule opnieuw uitvoeren.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>Missing fuses</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation> - BOOT0 Ontbreekt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation> - BCPKG2-1-Normal-Main Ontbreekt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation> - PRODINFO Ontbreekt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>Afleidingscomponenten ontbreken</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation>Encryptiesleutels ontbreken. &lt;br&gt;Volg &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;de yuzu-snelstartgids&lt;/a&gt; om al je sleutels, firmware en spellen te krijgen.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5661,49 +4758,49 @@ Dit kan tot een minuut duren,
afhankelijk van de prestaties van je systeem.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>Sleutels Afleiden</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation>Decryptie van Systeemarchief Mislukt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation>Encryptiesleutels zijn mislukt om firmware te decoderen. &lt;br&gt;Volg &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;de yuzu-snelstartgids&lt;/a&gt; om al je sleutels, firmware en games te krijgen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>Selecteer RomFS-dumpdoel</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>Selecteer welke RomFS je zou willen dumpen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Weet je zeker dat je yuzu wilt sluiten?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Weet je zeker dat je de emulatie wilt stoppen? Alle niet opgeslagen voortgang zal verloren gaan.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5712,142 +4809,142 @@ Would you like to bypass this and exit anyway?</source>
Wil je toch afsluiten?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Geen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
- <translation type="unfinished"/>
+ <translation>Nearest</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Bilinear</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Bicubic</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>Gaussian</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Docked</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Handheld</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation>Normaal</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation>Hoog</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
- <translation>Extreem</translation>
+ <translation>Extreme</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
<translation>OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
- <translation>Nul</translation>
+ <translation>Null</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
- <translation type="unfinished"/>
+ <translation>GLSL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
- <translation type="unfinished"/>
+ <translation>GLASM</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
- <translation type="unfinished"/>
+ <translation>SPIRV</translation>
</message>
</context>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGL niet beschikbaar!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation>OpenGL gedeelde contexten worden niet ondersteund.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>yuzu is niet gecompileerd met OpenGL-ondersteuning.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>Fout tijdens het initialiseren van OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>Je GPU ondersteunt mogelijk geen OpenGL, of je hebt niet de laatste grafische stuurprogramma.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>Fout tijdens het initialiseren van OpenGL 4.6!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>Je GPU ondersteunt mogelijk OpenGL 4.6 niet, of je hebt niet het laatste grafische stuurprogramma.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>Je GPU ondersteunt mogelijk een of meer vereiste OpenGL-extensies niet. Zorg ervoor dat je het laatste grafische stuurprogramma hebt.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Ondersteunde extensies:&lt;br&gt;%2</translation>
</message>
@@ -5855,173 +4952,178 @@ Wil je toch afsluiten?</translation>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>Favoriet</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>Start Spel</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>Start Spel zonder Aangepaste Configuratie</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Open Locatie van Save-data</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Open Locatie van Mod-data</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation>Open Overdraagbare Pijplijn-cache</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Verwijder</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>Verwijder Geïnstalleerde Update</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>Verwijder Alle Geïnstalleerde DLC&apos;s</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>Verwijder Aangepaste Configuraties</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
- <translation>Cache-opslag verwijderen</translation>
+ <translation>Verwijder Cache-opslag</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation>Verwijder OpenGL-pijplijn-cache</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation>Verwijder Vulkan-pijplijn-cache</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>Verwijder Alle Pijplijn-caches</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>Verwijder Alle Geïnstalleerde Inhoud</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>Dump RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>Dump RomFS naar SDMC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation>Verifieer Integriteit</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Kopiëer Titel-ID naar Klembord</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>Navigeer naar GameDB-invoer</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation>Maak Snelkoppeling</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation>Toevoegen aan Bureaublad</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation>Toevoegen aan menu Toepassingen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Eigenschappen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>Scan Submappen</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>Verwijder Spelmap</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ Omhoog</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ Omlaag</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>Open Maplocatie</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Verwijder</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Naam</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Compatibiliteit</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Add-ons</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Bestandssoort</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Grootte</translation>
</message>
@@ -6092,7 +5194,7 @@ Wil je toch afsluiten?</translation>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>Dubbel-klik om een ​​nieuwe map toe te voegen aan de spellijst</translation>
</message>
@@ -6105,12 +5207,12 @@ Wil je toch afsluiten?</translation>
<translation><numerusform>%1 van %n resultaat(en)</numerusform><numerusform>%1 van %n resultaat(en)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Filter:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Voer patroon in om te filteren</translation>
</message>
@@ -6186,12 +5288,12 @@ Wil je toch afsluiten?</translation>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>Fout</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation>Het is niet gelukt om de kamer aan te kondigen in de openbare lobby. Om een kamer openbaar te hosten, moet je een geldige yuzu-account geconfigureerd hebben in Emulatie -&gt; Configuratie -&gt; Web. Als je geen kamer wilt publiceren in de openbare lobby, selecteer dan in plaats daarvan Niet Vermeld.
@@ -6201,13 +5303,11 @@ Debug-bericht: </translation>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation>Audio Dempen/Dempen Opheffen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6228,111 +5328,113 @@ Debug-bericht: </translation>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation>Hoofdvenster</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation>Audiovolume Omlaag</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation>Audiovolume Omhoog</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Leg Schermafbeelding Vast</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation>Wijzig Aanpassingsfilter</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation>Wijzig Docked-modus</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation>Wijzig GPU-nauwkeurigheid</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation>Emulatie Doorgaan/Onderbreken</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation>Volledig Scherm Afsluiten</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation>yuzu afsluiten</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Volledig Scherm</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Laad Bestand</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation>Laad/Verwijder Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation>Herstart Emulatie</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation>Stop Emulatie</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation>TAS Opname</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation>TAS Reset</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation>TAS Start/Stop</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation>Schakel Filterbalk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation>Schakel Frameratelimiet</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation>Schakel Muispanning</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation>Schakel Statusbalk</translation>
</message>
@@ -6452,42 +5554,42 @@ Debug-bericht: </translation>
<translation>Vernieuw Lobby</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation>Wachtwoord vereist om toegang te krijgen</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation>Wachtwoord:</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Spelers</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation>Kamernaam</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation>Voorkeursspel</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation>Host</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation>Vernieuwen</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation>Vernieuw Lijst</translation>
</message>
@@ -6575,172 +5677,182 @@ Debug-bericht: </translation>
<translation>&amp;TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Help</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>&amp;Installeer Bestanden naar NAND...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>L&amp;aad Bestand...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>Laad &amp;Map...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>A&amp;fsluiten</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>&amp;Onderbreken</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>&amp;Stop</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>&amp;Herinitialiseer toetsen...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>&amp;Over yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>Modus Enkel Venster</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>Con&amp;figureer...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>Toon Dock Widget Kopteksten</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>Toon &amp;Filterbalk</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>Toon &amp;Statusbalk</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Toon Statusbalk</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation>&amp;Bladeren door Openbare Spellobby</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation>&amp;Maak Kamer</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation>&amp;Verlaat Kamer</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation>&amp;Directe Verbinding met Kamer</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation>&amp;Toon Huidige Kamer</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>Volledig Scherm</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>&amp;Herstart</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation>Laad/Verwijder &amp;Amiibo...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>&amp;Rapporteer Compatibiliteit</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation>Open &amp;Mod-pagina</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation>Open &amp;Snelstartgids</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>&amp;FAQ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation>Open &amp;yuzu-map</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>&amp;Leg Schermafbeelding Vast</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation>&amp;Configureer TAS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation>Configureer Huidig Spel...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>&amp;Start</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation>&amp;Herstel</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>Opnemen</translation>
</message>
@@ -7533,27 +6645,27 @@ p, li { white-space: pre-wrap; }
<translation>Bestandspad</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation>Geen spelgegevens aanwezig</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation>De volgende amiibo-gegevens worden zo geformatteerd:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation>De volgende spelgegevens worden verwijderd:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation>Stel gebruikersnaam en eigenaar in:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation>Wil je deze amiibo herstellen?</translation>
</message>
@@ -7594,7 +6706,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Pro Controller</translation>
</message>
@@ -7607,7 +6719,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Twee Joycons</translation>
</message>
@@ -7620,7 +6732,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Linker Joycon</translation>
</message>
@@ -7633,7 +6745,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Rechter Joycon</translation>
</message>
@@ -7662,7 +6774,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Handheld</translation>
</message>
@@ -7778,32 +6890,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>GameCube-controller</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>Poke Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>NES-controller</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>SNES-controller</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>N64-controller</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>Sega Genesis</translation>
</message>
diff --git a/dist/languages/pl.ts b/dist/languages/pl.ts
index 2ee8cef47..4fa59f40b 100644
--- a/dist/languages/pl.ts
+++ b/dist/languages/pl.ts
@@ -366,78 +366,32 @@ To zbanuje jego/jej nick na forum, oraz jego/jej adres IP.</translation>
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Dźwięk</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Silnik wyjściowy</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>Urządzenie wyjściowe:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>Urządzenie wejściowe:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>Tryb wyjścia dźwięku:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Mono</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Stereo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Surround</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Użyj globalnej głośności </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Ustaw głośność:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Głośność:</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Wyciszaj audio gdy yuzu działa w tle</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation type="unfinished"/>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Dźwięk</translation>
</message>
</context>
<context>
@@ -501,135 +455,25 @@ To zbanuje jego/jej nick na forum, oraz jego/jej adres IP.</translation>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Ogólne</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Precyzja:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Automatyczny</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Dokładność</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Niebezpieczne</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>Paranoiczne (wyłącza większość optymalizacji)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Zalecamy ustawienie dokładności na &quot;Dokładny&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Niebezpieczne ustawienia optymalizacji CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Te ustawienia zwiększają prędkość kosztem dokładności emulacji</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;Ta opcja zwiększa prędkość zmniejszając dokładność operacji FMA na procesorach bez natywnego wsparcia FMA.&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Unfuse FMA (zwiększ wydajność na procesorach bez FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;Ta opcja zwiększa prędkość wykonując przybliżenia operacji zmiennoprzecinkowych przez wykorzystanie mniej dokładnych natywnych przybliżeń&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>Szybsze FRSQRTE i FRECPE</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
-Ta opcja zwiększa szybkość 32-bitowych funkcji zmiennoprzecinkowych ASIMD, uruchamiając je z nieprawidłowymi trybami zaokrąglania.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Szybsze instrukcje ASIMD (Tylko 32-bit)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Ta opcja zwiększa szybkość, usuwając sprawdzanie NaN. Należy pamiętać, że zmniejsza to również dokładność niektórych instrukcji zmiennoprzecinkowych.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Niedokładna obsługa NaN</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
-Ta opcja poprawia prędkość usuwając weryfikację bezpieczeństwa przed każdym odczytem/zapisem pamięci w gościu.
-Wyłączenie tej opcji może pozwolić grze na zapis lub odczyt pamięci emulatora.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>Wyłącz sprawdzanie przestrzeni adresów</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Ta opcja poprawia szybkość, opierając się wyłącznie na semantyce cmpxchg w celu zapewnienia bezpieczeństwa instrukcji dostępu wyłącznego. Należy pamiętać, że może to spowodować awarie gier.&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>Ignoruj ogólne monitorowanie</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>Ustawienia CPU są dostępne tylko wtedy, gdy gra nie jest uruchomiona.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -846,222 +690,227 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>Debuger</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>Włącz namiastkę GDB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Port</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Logowanie</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Globalny filtr rejestrów</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>Pokaż Log w konsoli</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Otwórz miejsce rejestrów</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Globalny filtr rejestrów</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Kiedy zaznaczony, maksymalny rozmiar logu wzrasta ze 100 MB do 1 GB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Włącz Przedłużony Logging**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Pokaż Log w konsoli</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>Linijka argumentu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Grafika</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>Gdy zaznaczone, API grafiki przechodzi w wolniejszy tryb debugowania</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Włącz debugowanie grafiki</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>Gdy zaznaczone, włącza zrzucanie awarii Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Gdy zaznaczone, używa shaderów bez zmian logicznych pętli</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Włącz Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Wyłącz Zapętlanie sprawdzania bezpieczeństwa</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>Po zaznaczeniu, zrzuci wszystkie oryginalne shadery asemblera z pamięci podręcznej dysku shaderów albo gry, jeśli zostaną znalezione</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>Kiedy jest zaznaczone, wyłączane są funkcje makra HLE. Włączenie tego powoduje spadek wydajności w grach.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>Zrzuć Shadery Gry</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>Wyłącz makra HLE</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>Kiedy jest zaznaczone, będą zrzucane wszystkie makro programy GPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>Zrzuć Makra Maxwell</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>Gdy zaznaczone, wyłącza kompilator makr Just In Time. Włączenie tej opcji spowalnia działanie gier</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Wyłącz Makro JIT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation>Kiedy jest zaznaczone, wyłączane są funkcje makra HLE. Włączenie tego powoduje spadek wydajności w grach.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>Gdy zaznaczone, włącza zrzucanie awarii Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation>Wyłącz makra HLE</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Włącz Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
<source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation>Po zaznaczeniu, yuzu będzie rejestrować statystyki dotyczące skompilowanej pamięci podręcznej.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
<source>Enable Shader Feedback</source>
<translation>Włącz funkcję Feedbacku Shaderów</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>Gdy zaznaczone, używa shaderów bez zmian logicznych pętli</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>Wyłącz Zapętlanie sprawdzania bezpieczeństwa</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>Gdy zaznaczone, wyłącza kompilator makr Just In Time. Włączenie tej opcji spowalnia działanie gier</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Debugowanie</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Wyłącz Makro JIT</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation>Włącz Pełne Usługi Raportowania**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Gdy zaznaczone, API grafiki przechodzi w wolniejszy tryb debugowania</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>Włącz dziennik Dostępu FS</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Włącz debugowanie grafiki</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation>Włącz tę opcję, aby wyświetlić ostatnio wygenerowaną listę poleceń dźwiękowych na konsoli. Wpływa tylko na gry korzystające z renderera dźwięku.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Po zaznaczeniu, zrzuci wszystkie oryginalne shadery asemblera z pamięci podręcznej dysku shaderów albo gry, jeśli zostaną znalezione</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation>Zrzuć polecenia audio do konsoli**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>Zrzuć Shadery Gry</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>Utwórz mini zrzut po awarii</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
<source>Advanced</source>
<translation>Zaawansowane</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>Umożliwia yuzu sprawdzanie działającego środowiska Vulkan podczas uruchamiania programu. Wyłącz to, jeśli powoduje to problemy z zewnętrznymi programami widzącymi yuzu.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>Przeprowadź sprawdzanie uruchamiania Vulkana</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Wyłącz Aplet internetowy</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Włącz wszystkie Typy Kontrolerów</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Włącz Auto-Stub**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Tryb Kiosk (Quest)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>Włącz Debugowanie CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>Włącz potwierdzenia debugowania</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>Włącz Auto-Stub**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Debugowanie</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>Włącz wszystkie Typy Kontrolerów</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>Włącz dziennik Dostępu FS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Wyłącz Aplet internetowy</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>Utwórz mini zrzut po awarii</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation>Umożliwia yuzu sprawdzanie działającego środowiska Vulkan podczas uruchamiania programu. Wyłącz to, jeśli powoduje to problemy z zewnętrznymi programami widzącymi yuzu.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>Włącz tę opcję, aby wyświetlić ostatnio wygenerowaną listę poleceń dźwiękowych na konsoli. Wpływa tylko na gry korzystające z renderera dźwięku.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>Przeprowadź sprawdzanie uruchamiania Vulkana</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation>Zrzuć polecenia audio do konsoli**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>Włącz Pełne Usługi Raportowania**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**To zresetuje się automatycznie po wyłączeniu yuzu.</translation>
</message>
@@ -1076,12 +925,12 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d
<translation>yuzu wymaga ponownego uruchomienia w przypadku zastosowania tego ustawienia.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>Aplet sieciowy nie został skompilowany</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation>Tworzenie mini zrzutów nie zostało skompilowane</translation>
</message>
@@ -1131,78 +980,83 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d
<translation>Ustawienia yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Dźwięk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Wyszukiwanie usterek</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>System plików</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Ogólne</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Grafika</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>Zaawansowana grafika</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Skróty klawiszowe</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Sterowanie</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Profile</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Sieć</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>System</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Lista Gier</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Web</translation>
</message>
@@ -1361,57 +1215,17 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d
<translation>Ogólne</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Procent limitu prędkości</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Emulacja CPU Wielordzeniowa</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Potwierdź wyjście podczas emulacji</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Pytaj o użytkownika podczas uruchamiania gry</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Wstrzymaj emulację w tle</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Ukryj mysz przy braku aktywności</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Resetuj wszystkie ustawienia</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>Spowoduje to zresetowanie wszystkich ustawień i usunięcie wszystkich konfiguracji gier. Nie spowoduje to usunięcia katalogów gier, profili ani profili wejściowych. Kontynuować?</translation>
</message>
@@ -1434,308 +1248,43 @@ Gdy ta opcja jest włączona, niedopasowanie jest uruchamiane tylko wtedy, gdy d
<translation>Ustawienia API</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>Backend Shaderów:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Urządzenie:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Żadny</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Ustawienia Graficzne</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>Użyj Pamięci Podręcznej Pipeline z dysku</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Użyj asynchronicznej emulacji GPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>Przyspiesz dekodowanie tekstur ASTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation>Tryb synchronizacji pionowej:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>Emulacja NVDEC:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Brak wyjścia wideo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>Dekodowanie Wideo przez CPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>Dekodowanie Wideo przez GPU (Domyślne)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Tryb Pełnoekranowy:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>W oknie (Bezramkowy)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Exclusive Fullscreen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Format obrazu:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Domyślne (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Wymuś 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Wymuś 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>Wymuś 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Rozciągnij do Okna</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>Rozdzielczość:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [EKSPERYMENTALNE]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [EKSPERYMENTALNE]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation>1.5X (1080p/1620p) [Ekperymentalnie]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation>7X (5040p/7560p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation>8X (5760p/8640p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>Filtr Adaptującego Okna:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Najbliższy Sąsiad</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Bilinearny</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Bikubiczny</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>Gauss</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️ Super Resolution</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>Metoda Anty-Aliasingu:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation>Użyj globalnej ostrości FSR</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation>Ustaw ostrość FSR</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation>Ostrość FSR:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation>100%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Ustaw globalny kolor tła</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Ustaw kolor tła:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Kolor tła</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (Zgromadzone Shadery, tylko NVIDIA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation>SPIR-V (Eksperymentalne, Tylko Mesa)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation>Wyłączone</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation>VSync wyłączony</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation>Zalecane</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation>Włączone</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation>VSync aktywny</translation>
</message>
@@ -1757,162 +1306,6 @@ Immediate (no synchronization) just presents whatever is available and can exhib
<source>Advanced Graphics Settings</source>
<translation>Zaawansowane ustawienia grafiki</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Precyzja:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation>Rekompresja ASTC:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation>Brak (najlepsza jakość)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation>BC1 (niska jakość)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation>BC3 (średnia jakość)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation>Uruchamia pracę w tle podczas oczekiwania na komendy graficzne aby GPU nie obniżało taktowania.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation>Wymuś maksymalne zegary (Tylko Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation>Dekoduj tekstury ASTC asynchronicznie (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Włącza asynchroniczną kompilację shaderów, co może zmniejszyć zacinanie się shaderów. Ta funkcja jest eksperymentalna.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>Użyj asynchronicznego budowania shaderów (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>Włącza Szybszy Czas GPU. Ta opcja zmusza większość gier do wyświetlania w swojej najwyższej natywnej rozdzielczości.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>Użyj Szybszego Czasu GPU (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation>Włącza pamięć podręczną strumienia specyficzną dla dostawcy GPU. Ta opcja może znacznie skrócić czas ładowania modułu cieniującego w przypadkach, gdy sterownik Vulkan nie przechowuje wewnętrznie plików pamięci podręcznej strumienia.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation>Użyj pamięci podręcznej strumienia dla Vulkana</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Filtrowanie anizotropowe:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>Automatyczne</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Domyślne</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2679,7 +2072,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Konfiguruj</translation>
</message>
@@ -3107,12 +2500,12 @@ Aby odwrócić osie, najpierw przesuń joystick pionowo, a następnie poziomo.</
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation type="unfinished"/>
+ <source>Enable mouse panning</source>
+ <translation>Włącz panoramowanie myszą</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
<translation type="unfinished"/>
</message>
<message>
@@ -3122,7 +2515,6 @@ Aby odwrócić osie, najpierw przesuń joystick pionowo, a następnie poziomo.</
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
<translation type="unfinished"/>
</message>
@@ -3130,15 +2522,13 @@ Aby odwrócić osie, najpierw przesuń joystick pionowo, a następnie poziomo.</
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
<translation type="unfinished"/>
</message>
@@ -3153,25 +2543,51 @@ Aby odwrócić osie, najpierw przesuń joystick pionowo, a następnie poziomo.</
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>Domyślny</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>Emulacja myszki jest aktywna</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3204,100 +2620,95 @@ Aby odwrócić osie, najpierw przesuń joystick pionowo, a następnie poziomo.</
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Dialog</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Informacje</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Nazwa</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>Identyfikator gry</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Nazwa pliku</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Format</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Wersja</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Rozmiar</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Deweloper</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Dodatki</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Ogólne</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Dodatki</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>System</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Grafika</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Zaaw. Grafika</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Dźwięk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation>Profil wejściowy</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Właściwości</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Użyj globalnej konfiguracji (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3620,412 +3031,17 @@ UUID: %2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>System</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Ustawienia systemu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Region:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Automatyczny</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Domyślne</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Cuba</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Egipt</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>Irlandia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>GB</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Greenwich</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Hongkong</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>Islandia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>Iran</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>Izrael</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Jamajka</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Japonia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>Kwajalein</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Libia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Navajo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>NZ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>NZ-CHAT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Polska</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Portugalia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Singapur</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Turcja</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Uniwersalny</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>Zulu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>USA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Europa</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Australia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>Chiny</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Korea</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Tajwan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Strefa czasowa:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Uwaga: można to zmienić, gdy ustawienie regionu jest wybierane automatycznie</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Japoński (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation>Angielski Amerykański</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Francuski (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Niemiecki (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Włoski (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Hiszpański (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Chiński</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Koreański (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Duński (Holandia)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Portugalski (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Rosyjski (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Tajwański</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Angielski (Brytyjski)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Fancuski (Kanada)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Hiszpański (Latin American)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Chiński (Uproszczony)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Chiński tradycyjny (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>Portugalski (português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>Niestandardowy RTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Język</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>Ziarno RNG</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation>Nazwa urządzenia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Ustawienia systemu są dostępne tylko wtedy, gdy gra nie jest uruchomiona.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation>Uwaga: &quot;%1&quot; nie jest poprawnym językiem dla regionu &quot;%2&quot;</translation>
</message>
@@ -4234,64 +3250,64 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Żadny</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>Małe (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>Standardowe (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>Duże (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>Pełny Rozmiar (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>Małe (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>Standardowe (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>Duże (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Nazwa pliku</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>Typ pliku</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>Identyfikator gry</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>Nazwa Tytułu</translation>
</message>
@@ -4394,15 +3410,31 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Rozdzielczość:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>Wybierz ścieżkę zrzutów ekranu...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4703,12 +3735,12 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation>Łączenie</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation>Połącz</translation>
</message>
@@ -4716,576 +3748,613 @@ Przeciągnij punkty, aby zmienić pozycję, lub kliknij dwukrotnie komórki tabe
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Dane anonimowe są gromadzone&lt;/a&gt; aby ulepszyć yuzu. &lt;br/&gt;&lt;br/&gt;Czy chcesz udostępnić nam swoje dane o użytkowaniu?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Telemetria</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation>Wykryto uszkodzoną instalację Vulkana</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation>Inicjalizacja Vulkana nie powiodła się podczas uruchamiania.&lt;br&gt;&lt;br&gt;Kliknij&lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;tutaj aby uzyskać instrukcje dotyczące rozwiązania tego problemu&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>Ładowanie apletu internetowego...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Wyłącz Aplet internetowy</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation>Wyłączanie web appletu może doprowadzić do nieokreślonych zachowań - wyłączyć applet należy jedynie grając w Super Mario 3D All-Stars. Na pewno chcesz wyłączyć web applet?
(Można go ponownie włączyć w ustawieniach debug.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>Ilość budowanych shaderów</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation>Obecnie wybrany mnożnik rozdzielczości.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>Aktualna prędkość emulacji. Wartości większe lub niższe niż 100% wskazują, że emulacja działa szybciej lub wolniej niż Switch.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>Ile klatek na sekundę gra aktualnie wyświetla. To będzie się różnić w zależności od gry, od sceny do sceny.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Czas potrzebny do emulacji klatki na sekundę Switcha, nie licząc ograniczania klatek ani v-sync. Dla emulacji pełnej szybkości powinno to wynosić co najwyżej 16,67 ms.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>&amp;Usuń Ostatnie pliki</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation>Emulacja myszki jest aktywna</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>&amp;Kontynuuj</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;Pauza</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>OSTRZEŻENIE! Nieaktualny format gry</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>Używasz zdekonstruowanego formatu katalogu ROM dla tej gry, który jest przestarzałym formatem, który został zastąpiony przez inne, takie jak NCA, NAX, XCI lub NSP. W zdekonstruowanych katalogach ROM brakuje ikon, metadanych i obsługi aktualizacji.&lt;br&gt;&lt;br&gt; Aby znaleźć wyjaśnienie różnych formatów Switch obsługiwanych przez yuzu,&lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt; sprawdź nasze wiki&lt;/a&gt;. Ta wiadomość nie pojawi się ponownie.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>Błąd podczas wczytywania ROMu!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>Ten format ROMu nie jest wspierany.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>Wystąpił błąd podczas inicjowania rdzenia wideo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation>yuzu napotkał błąd podczas uruchamiania rdzenia wideo. Jest to zwykle spowodowane przestarzałymi sterownikami GPU, w tym zintegrowanymi. Więcej szczegółów znajdziesz w pliku log. Więcej informacji na temat dostępu do log-u można znaleźć na następującej stronie: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;Jak przesłać plik log&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>Błąd podczas wczytywania ROMu! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation>%1&lt;br&gt;Postępuj zgodnie z&lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;yuzu quickstart guide&lt;/a&gt; aby zrzucić ponownie swoje pliki.&lt;br&gt;Możesz odwołać się do wiki yuzu&lt;/a&gt;lub discord yuzu &lt;/a&gt; po pomoc.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>Wystąpił nieznany błąd. Więcej informacji można znaleźć w pliku log.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation>Zamykanie aplikacji...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>Zapis danych</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Dane modów</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>Błąd podczas otwarcia folderu %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>Folder nie istnieje!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>Błąd podczas otwierania przenośnej pamięci podręcznej Shaderów.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation>Nie udało się stworzyć ścieżki shaderów dla tego tytułu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation>Błąd podczas usuwania zawartości</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation>Błąd podczas usuwania aktualizacji</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation>Błąd podczas usuwania dodatków</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation>Czy usunąć zainstalowaną zawartość gry?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation>Czy usunąć zainstalowaną aktualizację gry?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation>Czy usunąć zainstalowane dodatki gry?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>Usuń wpis</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>Pomyślnie usunięto</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>Pomyślnie usunięto zainstalowaną grę.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>Gra nie jest zainstalowana w NAND i nie może zostać usunięta.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>Pomyślnie usunięto zainstalowaną łatkę.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>Brak zainstalowanych łatek dla tego tytułu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>Brak zainstalowanych DLC dla tego tytułu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>Pomyślnie usunięto %1 zainstalowane DLC.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation>Usunąć Transferowalne Shadery OpenGL?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation>Usunąć Transferowalne Shadery Vulkan?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation>Usunąć Wszystkie Transferowalne Shadery?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>Usunąć niestandardową konfigurację gry?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation>Usunąć pamięć podręczną?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>Usuń plik</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>Błąd podczas usuwania przenośnej pamięci podręcznej Shaderów.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>Pamięć podręczna Shaderów dla tego tytułu nie istnieje.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>Pomyślnie usunięto przenośną pamięć podręczną Shaderów.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>Nie udało się usunąć przenośnej pamięci Shaderów.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation>Błąd podczas usuwania pamięci podręcznej strumienia sterownika Vulkana</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation>Błąd podczas usuwania pamięci podręcznej strumienia sterownika.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation>Błąd podczas usuwania Transferowalnych Shaderów</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation>Pomyślnie usunięto transferowalne shadery.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation>Nie udało się usunąć ścieżki transferowalnych shaderów.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>Błąd podczas usuwania niestandardowej konfiguracji</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>Niestandardowa konfiguracja nie istnieje dla tego tytułu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>Pomyślnie usunięto niestandardową konfiguracje gry.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>Nie udało się usunąć niestandardowej konfiguracji gry.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>Wypakowanie RomFS nieudane!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>Wystąpił błąd podczas kopiowania plików RomFS lub użytkownik anulował operację.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>Pełny</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>Szkielet</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>Wybierz tryb zrzutu RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Proszę wybrać w jaki sposób chcesz, aby zrzut pliku RomFS został wykonany. &lt;br&gt;Pełna kopia ze wszystkimi plikami do nowego folderu, gdy &lt;br&gt;skielet utworzy tylko strukturę folderu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation>Nie ma wystarczająco miejsca w %1 aby wyodrębnić RomFS.
Zwolnij trochę miejsca, albo zmień ścieżkę zrzutu RomFs w Emulacja&gt; Konfiguruj&gt; System&gt; System Plików&gt; Źródło Zrzutu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>Wypakowywanie RomFS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Anuluj</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>Wypakowanie RomFS zakończone pomyślnie!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>Operacja zakończona sukcesem.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation>Utwórz skrót</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation>Utworzy to skrót do obecnego AppImage. Może nie działać dobrze po aktualizacji. Kontynuować?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation>Nie można utworzyć skrótu na pulpicie. Ścieżka &quot;%1&quot; nie istnieje.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Nie można utworzyć skrótu w menu aplikacji. Ścieżka &quot;%1&quot; nie istnieje oraz nie może być utworzona.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation>Utwórz ikonę</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Nie można utworzyć pliku ikony. Ścieżka &quot;%1&quot; nie istnieje oraz nie może być utworzona.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation>Włącz %1 z emulatorem yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation>Nie udało się utworzyć skrótu pod %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation>Pomyślnie utworzono skrót do %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>Błąd podczas otwierania %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Wybierz folder...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Właściwości</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>Właściwości tej gry nie mogły zostać załadowane.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Plik wykonywalny Switcha (%1);;Wszystkie pliki (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Załaduj plik...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Otwórz folder wypakowanego ROMu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Wybrano niewłaściwy folder</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>Folder wybrany przez ciebie nie zawiera &apos;głownego&apos; pliku.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>Instalacyjne pliki Switch&apos;a (*.nca *.nsp *.xci);;Archiwum zawartości Nintendo (*.nca);;Pakiet poddany Nintendo (*.nsp);;Obraz z kartridża NX (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>Zainstaluj pliki</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation><numerusform>1 plik został</numerusform><numerusform>%n plików zostało</numerusform><numerusform>%n plików zostało</numerusform><numerusform>%n plików zostało</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>Instalowanie pliku &quot;%1&quot;...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>Wynik instalacji</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>Aby uniknąć ewentualnych konfliktów, odradzamy użytkownikom instalowanie gier na NAND.
Proszę, używaj tej funkcji tylko do instalowania łatek i DLC.</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation><numerusform>1 nowy plik został zainstalowany
@@ -5295,324 +4364,351 @@ Proszę, używaj tej funkcji tylko do instalowania łatek i DLC.</translation>
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation><numerusform>1 plik został nadpisany</numerusform><numerusform>%n plików zostało nadpisane</numerusform><numerusform>%n plików zostało nadpisane</numerusform><numerusform>%n plików zostało nadpisane</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation><numerusform>1 pliku nie udało się zainstalować</numerusform><numerusform>%n plików nie udało się zainstalować</numerusform><numerusform>%n plików nie udało się zainstalować</numerusform><numerusform>%n plików nie udało się zainstalować</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Aplikacja systemowa</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Archiwum systemu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Aktualizacja aplikacji systemowej</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Paczka systemowa (Typ A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Paczka systemowa (Typ B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Gra</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Aktualizacja gry</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>Dodatek do gry</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Tytuł Delta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Wybierz typ instalacji NCA...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>Wybierz typ tytułu, do którego chcesz zainstalować ten NCA, jako:
(W większości przypadków domyślna &quot;gra&quot; jest w porządku.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Instalacja nieudana</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>Typ tytułu wybrany dla NCA jest nieprawidłowy.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Nie znaleziono pliku</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Nie znaleziono pliku &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation>Wymagania sprzętowe nie są spełnione</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation>Twój system nie spełnia rekomendowanych wymagań sprzętowych. Raportowanie kompatybilności zostało wyłączone.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>Brakuje konta Yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>Aby przesłać test zgodności gry, musisz połączyć swoje konto yuzu.&lt;br&gt;&lt;br/&gt; Aby połączyć swoje konto yuzu, przejdź do opcji Emulacja &amp;gt; Konfiguracja &amp;gt; Sieć.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>Błąd otwierania adresu URL</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>Nie można otworzyć adresu URL &quot;%1&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation>Nagrywanie TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>Nadpisać plik gracza 1?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>Wykryto nieprawidłową konfigurację</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>Nie można używać kontrolera handheld w trybie zadokowanym. Zostanie wybrany kontroler Pro.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>Amiibo zostało &quot;zdjęte&quot;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>Błąd</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation>Ta gra nie szuka amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Plik Amiibo (%1);;Wszyskie pliki (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Załaduj Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Błąd podczas ładowania pliku danych Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation>Wybrany plik nie jest poprawnym amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation>Wybrany plik jest już w użyciu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation>Wystąpił nieznany błąd</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Zrób zrzut ekranu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>Obrazek PNG (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>Status TAS: Działa %1%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>Status TAS: Nagrywa %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation>Status TAS: Bezczynny %1%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>Status TAS: Niepoprawny</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation>&amp;Wyłącz</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>&amp;Start</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>Przestań N&amp;agrywać</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>N&amp;agraj</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation><numerusform>Budowanie shadera</numerusform><numerusform>Budowanie: %n shaderów</numerusform><numerusform>Budowanie: %n shaderów</numerusform><numerusform>Budowanie: %n shaderów</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>Skala: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Prędkość: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Prędkość: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation>Gra: %1 FPS (Odblokowane)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Gra: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Klatka: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>BEZ AA</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation>Głośność: Wyciszony</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation>Głośność: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>Potwierdź ponowną aktywacje klucza</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5629,37 +4725,37 @@ i opcjonalnie tworzyć kopie zapasowe.
Spowoduje to usunięcie wygenerowanych automatycznie plików kluczy i ponowne uruchomienie modułu pochodnego klucza.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>Brakujące bezpieczniki</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation> - Brak BOOT0</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation> - Brak BCPKG2-1-Normal-Main</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation> - Brak PRODINFO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>Brak komponentów wyprowadzania</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation>Brakuje elementów, które mogą uniemożliwić zakończenie wyprowadzania kluczy. &lt;br&gt;Postępuj zgodnie z &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;yuzu quickstart guide&lt;/a&gt; aby zdobyć wszystkie swoje klucze i gry.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5668,49 +4764,49 @@ Zależnie od tego może potrwać do minuty
na wydajność twojego systemu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>Wyprowadzanie kluczy...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>Wybierz cel zrzutu RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>Proszę wybrać RomFS, jakie chcesz zrzucić.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Czy na pewno chcesz zamknąć yuzu?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Czy na pewno chcesz zatrzymać emulację? Wszystkie niezapisane postępy zostaną utracone.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5719,97 +4815,97 @@ Would you like to bypass this and exit anyway?</source>
Czy chcesz to ominąć i mimo to wyjść?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Żadna (wyłączony)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Bilinearny</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Bikubiczny</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>Kulisty</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Zadokowany</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Przenośnie</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation>Normalny</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation>Wysoki</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
<translation type="unfinished"/>
</message>
@@ -5817,44 +4913,44 @@ Czy chcesz to ominąć i mimo to wyjść?</translation>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGL niedostępny!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation>Współdzielone konteksty OpenGL nie są obsługiwane.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>yuzu nie zostało skompilowane z obsługą OpenGL.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>Błąd podczas inicjowania OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>Twoja karta graficzna może nie obsługiwać OpenGL lub nie masz najnowszych sterowników karty graficznej.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>Błąd podczas inicjowania OpenGL 4.6!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>Twoja karta graficzna może nie obsługiwać OpenGL 4.6 lub nie masz najnowszych sterowników karty graficznej.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>Twoja karta graficzna może nie obsługiwać co najmniej jednego wymaganego rozszerzenia OpenGL. Upewnij się, że masz najnowsze sterowniki karty graficznej&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Nieobsługiwane rozszerzenia:&lt;br&gt;%2</translation>
</message>
@@ -5862,173 +4958,178 @@ Czy chcesz to ominąć i mimo to wyjść?</translation>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>Ulubione</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>Uruchom grę</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>Uruchom grę bez niestandardowej konfiguracji</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Otwórz lokalizację zapisów</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Otwórz lokalizację modyfikacji</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation>Otwórz Transferowalną Pamięć Podręczną Pipeline</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Usuń</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>Usuń zainstalowaną łatkę</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>Usuń wszystkie zainstalowane DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>Usuń niestandardową konfigurację</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation>Usuń pamięć podręczną</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation>Usuń Pamięć Podręczną Pipeline OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation>Usuń Pamięć Podręczną Pipeline Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>Usuń całą pamięć podręczną Pipeline</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>Usuń całą zainstalowaną zawartość</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>Zrzuć RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>Zrzuć RomFS do SDMC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Kopiuj identyfikator gry do schowka</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>Nawiguj do wpisu kompatybilności gry</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation>Utwórz skrót</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation>Dodaj do pulpitu</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation>Dodaj do menu aplikacji</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Właściwości</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>Skanuj podfoldery</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>Usuń katalog gier</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ Przenieś w górę</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ Przenieś w dół</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>Otwórz lokalizacje katalogu</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Wyczyść</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Nazwa gry</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Kompatybilność</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Dodatki</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Typ pliku</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Rozmiar</translation>
</message>
@@ -6099,7 +5200,7 @@ Czy chcesz to ominąć i mimo to wyjść?</translation>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>Kliknij podwójnie aby dodać folder do listy gier</translation>
</message>
@@ -6112,12 +5213,12 @@ Czy chcesz to ominąć i mimo to wyjść?</translation>
<translation><numerusform>1 z %n rezultatów</numerusform><numerusform>%1 z %n rezultatów</numerusform><numerusform>%1 z %n rezultatów</numerusform><numerusform>%1 z %n rezultatów</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Filter:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Wpisz typ do filtra</translation>
</message>
@@ -6193,12 +5294,12 @@ Czy chcesz to ominąć i mimo to wyjść?</translation>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>Błąd</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation>Nie udało się ogłosić pokoju w publicznym lobby. Aby udostępnić pokój publicznie, musisz mieć ważne konto yuzu skonfigurowane w Emulacja -&gt; Konfiguruj... -&gt; Sieć. Jeśli nie chcesz publikować pokoju w publicznym lobby, zamiast tego wybierz opcję Niepubliczny.
@@ -6208,13 +5309,11 @@ Komunikat debugowania:</translation>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation>Wycisz/Odcisz Audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6235,111 +5334,113 @@ Komunikat debugowania:</translation>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation>Okno główne</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation>Zmniejsz głośność dźwięku</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation>Zwiększ głośność dźwięku</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Zrób zrzut ekranu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation>Zmień filtr adaptacyjny</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation>Zmień tryb dokowania</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation>Zmień dokładność GPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation>Kontynuuj/Zatrzymaj Emulację</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation>Wyłącz Pełny Ekran</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation>Wyjdź z yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Pełny ekran</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Załaduj plik...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation>Załaduj/Usuń Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation>Zrestartuj Emulację</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation>Zatrzymaj Emulację</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation>Nagrywanie TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation>Reset TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation>TAS Start/Stop</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation>Pokaż pasek filtrowania</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation>Przełącz limit liczby klatek na sekundę</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation>Włącz przesuwanie myszką</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation>Przełącz pasek stanu</translation>
</message>
@@ -6459,42 +5560,42 @@ Komunikat debugowania:</translation>
<translation>Odśwież Lobby</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation>Aby dołączyć, potrzebne jest hasło</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation>Hasło:</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Gracze</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation>Nazwa Pokoju</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation>Preferowana Gra</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation>Host</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation>Odświeżam</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation>Odśwież listę</translation>
</message>
@@ -6582,172 +5683,182 @@ Komunikat debugowania:</translation>
<translation>&amp;TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Pomoc</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>&amp;Zainstaluj pliki na NAND...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>Z&amp;aładuj Plik...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>Załaduj &amp;Folder...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>&amp;Wyjście</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>&amp;Pauza</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>&amp;Stop</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>&amp;Zainicjuj ponownie klucze...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>&amp;O yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>Tryb &amp;Pojedyńczego Okna</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>Kon&amp;figuruj...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>Wyłącz Nagłówek Widżetu Docku</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>Pokaż &amp;Pasek Filtrów</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>Pokaż &amp;Pasek Statusu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Pokaż pasek statusu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation>&amp;Przeglądaj publiczne lobby gier</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation>&amp;Utwórz Pokój</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation>&amp;Wyjdź z Pokoju</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation>&amp;Bezpośrednie połączenie z pokojem</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation>&amp;Pokaż bieżący pokój</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>P&amp;ełny Ekran</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>&amp;Restart</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation>Załaduj/Usuń &amp;Amiibo...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>&amp;Zraportuj Kompatybilność</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation>Otwórz &amp;Stronę z Modami</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation>Otwórz &amp;Poradnik Szybkiego Startu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>&amp;FAQ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation>Otwórz &amp;Folder yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>&amp;Zrób Zdjęcie</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation>&amp;Skonfiguruj TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation>Skonfiguruj O&amp;becną Grę...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>&amp;Start</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation>&amp;Zresetuj</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>N&amp;agraj</translation>
</message>
@@ -7540,27 +6651,27 @@ p, li { white-space: pre-wrap; }
<translation>Ścieżka pliku</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation>Brak danych gry</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation>Następujące dane amiibo zostaną sformatowane:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation>Następujące dane gry zostaną usunięte:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation>Ustaw nick oraz właściciela:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation>Czy chcesz odnowić to amiibo?</translation>
</message>
@@ -7601,7 +6712,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Pro kontroler</translation>
</message>
@@ -7614,7 +6725,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Para Joyconów</translation>
</message>
@@ -7627,7 +6738,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Lewy Joycon</translation>
</message>
@@ -7640,7 +6751,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Prawy Joycon</translation>
</message>
@@ -7669,7 +6780,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Handheld</translation>
</message>
@@ -7785,32 +6896,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>Kontroler GameCube</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>Poke Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>Kontroler NES/Pegasus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>Kontroler SNES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>Kontroler N64</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>Sega Mega Drive</translation>
</message>
diff --git a/dist/languages/pt_BR.ts b/dist/languages/pt_BR.ts
index 05545c04d..e6265e41b 100644
--- a/dist/languages/pt_BR.ts
+++ b/dist/languages/pt_BR.ts
@@ -163,7 +163,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="497"/>
<source>Ban Player</source>
- <translation>Banir Jogador</translation>
+ <translation>Banir jogador</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="498"/>
@@ -185,7 +185,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.</translatio
<message>
<location filename="../../src/yuzu/multiplayer/client_room.ui" line="27"/>
<source>Room Description</source>
- <translation>Descrição da Sala</translation>
+ <translation>Descrição da sala</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/client_room.ui" line="47"/>
@@ -195,7 +195,7 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.</translatio
<message>
<location filename="../../src/yuzu/multiplayer/client_room.ui" line="57"/>
<source>Leave Room</source>
- <translation>Sair da Sala</translation>
+ <translation>Sair da sala</translation>
</message>
</context>
<context>
@@ -366,78 +366,32 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.</translatio
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Áudio</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Mecanismo de saída:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>Dispositivo de Saída</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>Dispositivo de Entrada</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>Modo de saída de som</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Mono</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Estéreo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Surround</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Usar volume global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Definir volume:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Volume:</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation>Auto (%1)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Silenciar audio quando a janela ficar em segundo plano</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation>Padrão (%1)</translation>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Áudio</translation>
</message>
</context>
<context>
@@ -501,139 +455,25 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.</translatio
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Geral</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Precisão:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Automático</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Preciso</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Não seguro</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>Paranoia (desativa a maioria das otimizações)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Recomendamos definir a precisão para &quot;Automático&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Ajustes de otimização não seguros de CPU </translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Estes ajustes reduzem a precisão para aprimorar a velocidade.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Esta opção melhora o desempenho reduzindo a precisão de instruções de multiplicação-adição unificada (FMA) em CPUs sem suporte nativo a este recurso.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Não usar FMA (melhora o desempenho em CPUs sem FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Esta opção melhora o desempenho de algumas instruções de ponto flutuante usando aproximações nativas menos precisas.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>FRSQRTE e FRECPE mais rápidos</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Esta opção melhora a velocidade das funções de ponto flutuante ASIMD de 32 bits ao rodar com modos de arredondamento incorretos.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Instruções ASIMD mais rápidas (apenas 32 bits)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Esta opção melhora a velocidade ao remover a verificação de valores não numerais. Por outro lado, ela reduz a precisão de certas instruções de ponto flutuante.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Tratamento impreciso de NaN</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Esta opção melhora a velocidade, eliminando uma verificação de segurança antes de cada leitura/gravação de memória no hóspede. A desativação pode permitir que um jogo leia/escreva a memória do emulador.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>Desativar a verificação do espaço de endereços</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Esta opção melhora a velocidade ao depender apenas da semântica da instrução cmpxchg para garantir a segurança de instruções de acesso exclusivo. Observe que isto pode resultar em deadlocks e outras condições de concorrência.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>Ignorar monitor global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>Os ajustes de CPU só estão disponíveis enquanto o jogo não estiver em execução.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -852,222 +692,227 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.</translatio
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>Depurador</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>Ativar GDB stub</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Porta:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Registros de depuração</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Filtro global de registros</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>Mostrar registro no console</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Abrir local dos registros</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Filtro global de registros</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Quando ativado, o tamanho máximo do arquivo de registro aumenta de 100 MB para 1 GB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Ativar registros avançados**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Mostrar registro no console</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>Linha de argumentos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Gráficos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>Quando ativado, a API gráfica entra em um modo de depuração mais lento.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Ativar depuração de gráficos</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>Quando ativado, ativa a extração de registros de travamento do Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Quando ativado, executa shaders sem mudanças de lógica de loop</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Ativar Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Desativar verificação de segurança de loops</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>Se selecionado, extrai todos os shaders originários do cache do disco ou do jogo conforme encontrá-los.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>Quando marcado, desabilita as funções do macro HLE. Habilitar esta opção faz com que os jogos rodem mais lentamente</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>Descarregar shaders do jogo</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>Desabilitar o Macro HLE</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>Quando marcada, essa opção irá extrair todos os macro programas da GPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>Extrair macros Maxwell</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>Quando ativado, desativa o macro compilador Just In Time. Ativar isto faz os jogos rodarem mais lentamente.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Desativar macro JIT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation>Quando marcado, desabilita as funções do macro HLE. Habilitar esta opção faz com que os jogos rodem mais lentamente</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>Quando ativado, ativa a extração de registros de travamento do Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation>Desabilitar o Macro HLE</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Ativar Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
<source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation>Quando ativado, o yuzu registrará estatísticas sobre o cache de pipeline compilado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
<source>Enable Shader Feedback</source>
<translation>Ativar Feedback de Shaders</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>Quando ativado, executa shaders sem mudanças de lógica de loop</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>Desativar verificação de segurança de loops</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>Quando ativado, desativa o macro compilador Just In Time. Ativar isto faz os jogos rodarem mais lentamente.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Depuração</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Desativar macro JIT</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation>Ativar serviços de relatório detalhado**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Quando ativado, a API gráfica entra em um modo de depuração mais lento.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>Ativar acesso de registro FS</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Ativar depuração de gráficos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation>Habilite essa opção para gravar a última saída da lista de comandos de áudio para o console. Somente afetará jogos que utilizam o renderizador de áudio.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Se selecionado, extrai todos os shaders originários do cache do disco ou do jogo conforme encontrá-los.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation>Despejar comandos de áudio no console**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>Descarregar shaders do jogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>Criar um despejo resumido após uma falha</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
<source>Advanced</source>
<translation>Avançado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>Permite que o yuzu procure por um ambiente Vulkan funcional quando o programa iniciar. Desabilite essa opção se estiver causando conflitos com programas externos visualizando o yuzu.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>Executar checagem do Vulkan na inicialização</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Desativar o applet da web</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Ativar todos os tipos de controles</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Ativar auto-esboço**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Modo quiosque (Quest)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>Ativar depuração de CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>Ativar asserções de depuração</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>Ativar auto-esboço**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Depuração</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>Ativar todos os tipos de controles</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>Ativar acesso de registro FS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Desativar o applet da web</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>Criar um despejo resumido após uma falha</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation>Permite que o yuzu procure por um ambiente Vulkan funcional quando o programa iniciar. Desabilite essa opção se estiver causando conflitos com programas externos visualizando o yuzu.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>Habilite essa opção para gravar a última saída da lista de comandos de áudio para o console. Somente afetará jogos que utilizam o renderizador de áudio.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>Executar checagem do Vulkan na inicialização</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation>Despejar comandos de áudio no console**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>Ativar serviços de relatório detalhado**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**Isto será restaurado automaticamente assim que o yuzu for fechado.</translation>
</message>
@@ -1082,12 +927,12 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.</translatio
<translation>Será necessário reiniciar o yuzu para aplicar as configurações.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>Applet Web não compilado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation>Criação do mini despejo não compilada</translation>
</message>
@@ -1137,78 +982,83 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.</translatio
<translation>Configurações do yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Algumas configurações só estão disponíveis apenas quando não houver nenhum jogo em execução.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Áudio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Depuração</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Sistema de arquivos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Geral</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Gráficos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>GráficosAvançado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Teclas de atalho</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Controles</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Perfis</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Rede</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>Sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Lista de jogos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Rede</translation>
</message>
@@ -1367,57 +1217,17 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.</translatio
<translation>Geral</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Limitar percentual de velocidade</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Emulação de CPU multinúcleo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Confirmar saída quando a emulação estiver em execução</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Escolher um usuário ao iniciar um jogo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Pausar emulação quando a janela ficar em segundo plano</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Esconder cursor do mouse quando em inatividade</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Redefinir todas as configurações</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>Isto restaura todas as configurações e exclui as configurações individuais de todos os jogos. As pastas de jogos, perfis de jogos e perfis de controles não serão excluídos. Deseja prosseguir?</translation>
</message>
@@ -1440,308 +1250,43 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.</translatio
<translation>Configurações de API</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>Suporte de shaders:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Dispositivo:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Nenhum</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Configurações gráficas</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>Usar cache de pipeline em disco</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Usar emulação assíncrona da GPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>Acelerar a decodificação de textura ASTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation>Modo de Sincronização vertical:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>Emulação NVDEC:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Sem saída de vídeo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>Decodificação de vídeo pela CPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>Decodificação de vídeo pela GPU (Padrão)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Modo de tela cheia:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Janela em tela cheia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Tela cheia exclusiva</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Proporção de tela:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Padrão (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Forçar 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Forçar 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>Forçar 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Esticar para a janela</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>Resolução:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [EXPERIMENTAL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [EXPERIMENTAL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation>1.5X (1080p/1620p) [EXPERIMENTAL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation>7X (5040p/7560p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation>8X (5760p/8640p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>Filtro de adaptação de janela:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Vizinho mais próximo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Bilinear</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Bicúbico</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>Gaussiano</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️ Super Resolution</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>Método de Anti-Aliasing</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation>Usar FSR Sharpness global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation>Definir FSR Sharpness</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation>FSR Sharpness:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation>100%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Usar cor de fundo global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Configurar cor de fundo:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Cor de fundo:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (Shaders Assembly, apenas NVIDIA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation>SPIR-V (Experimental, Somente Mesa)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation>Desligado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation>Sincronização vertical desligada</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation>Recomendado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation>Ligado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation>Sincronização vertical ligada</translation>
</message>
@@ -1763,162 +1308,6 @@ Immediate (no synchronization) just presents whatever is available and can exhib
<source>Advanced Graphics Settings</source>
<translation>Configurações gráficas avançadas</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Nível de precisão:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation>Recompressão ASTC:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation>Descompactado (Melhor qualidade)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation>BC1 (Baixa qualidade)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation>BC3 (Média qualidade)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation>Ativar apresentação assíncrona (Somente Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation>Executa trabalho em segundo plano aguardando pelos comandos gráficos para evitar a GPU de reduzir seu clock.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation>Forçar clock máximo (somente Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation>Habilitar decodificação assíncrona de texturas ASTC, isso pode reduzir interrupções no tempo de carga. Essa funcionalidade é experimental.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation>Decodificação assíncrona de texturas ASTC (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Realiza a compilação de shaders de forma assíncrona, o que pode reduzir engasgos de shaders. Esta opção é experimental.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>Usar compilação assíncrona de shaders (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>Ativa um tempo de resposta rápido da GPU. Esta opção forçará a maioria dos jogos a rodar em sua resolução nativa mais alta.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>Usar tempo de resposta rápido da GPU (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation>Habilita cache de pipeline específico do fabricante. Essa opção pode melhorar o tempo de carga dos shaders significativamente nos casos onde o driver do Vulkan não armazena os arquivos cache de pipeline internamente.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation>Utilizar cache de pipeline do Vulkan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation>Ativar Compute Pipelines (Intel Vulkan only)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Filtragem anisotrópica:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>Automático</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Padrão</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2682,10 +2071,10 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3085"/>
<source>Mouse panning</source>
- <translation type="unfinished"/>
+ <translation>Mouse panorâmico</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Configurar</translation>
</message>
@@ -3109,75 +2498,99 @@ Para inverter os eixos, mova seu analógico primeiro verticalmente e depois hori
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="6"/>
<source>Configure mouse panning</source>
- <translation type="unfinished"/>
+ <translation>Configurar movimentação panorâmica do mouse</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation>Habilitar</translation>
+ <source>Enable mouse panning</source>
+ <translation>Ativar o giro do mouse</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
- <translation type="unfinished"/>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
+ <translation>Pode ser ativado e desativado com um atalho de teclado. O atalho padrão é Ctrl + F9.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
<source>Sensitivity</source>
- <translation type="unfinished"/>
+ <translation>Sensibilidade</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
- <translation type="unfinished"/>
+ <translation>Horizontal</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
- <translation type="unfinished"/>
+ <translation>Vertical</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="85"/>
<source>Deadzone counterweight</source>
- <translation type="unfinished"/>
+ <translation>Neutralização de zona morta</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="88"/>
<source>Counteracts a game&apos;s built-in deadzone</source>
- <translation type="unfinished"/>
+ <translation>Neutraliza a zona morta embutida de um jogo</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation>Zona morta</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
- <translation type="unfinished"/>
+ <translation>Degeneração do analógico</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
- <translation type="unfinished"/>
+ <translation>Força</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
- <translation type="unfinished"/>
+ <translation>Mínima</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>Padrão</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation>O mouse panorâmico funciona melhor com uma zona morta de 0% e alcance de 100%
+Os valores atuais são %1% e %2% respectivamente.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation>O mouse emulado está ativado. Isto é incompatível com o mouse panorâmico.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>Mouse emulado está habilitado</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation>Controle de mouse real e controle panorâmico do mouse são incompatíveis. Por favor desabilite a emulação do mouse em configurações avançadas de controles para permitir o controle panorâmico do mouse.</translation>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3210,100 +2623,95 @@ Para inverter os eixos, mova seu analógico primeiro verticalmente e depois hori
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Diálogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Informações</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Nome</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>ID do título</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Nome do arquivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Formato</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Versão</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Tamanho</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Desenvolvedor</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Adicionais</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Algumas configurações só estão disponíveis apenas quando não houver nenhum jogo em execução.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Geral</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Adicionais</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>Sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Gráficos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Gráf. avançados</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Áudio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation>Perfis de controle</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Propriedades</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Usar configuração global (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3474,12 +2882,12 @@ Para inverter os eixos, mova seu analógico primeiro verticalmente e depois hori
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="332"/>
<source>Delete this user? All of the user&apos;s save data will be deleted.</source>
- <translation>Excluir esse usuário? Todos os dados salvos desse usuário serão removidos.</translation>
+ <translation>Apagar esse usuário? Todos os dados salvos desse usuário serão removidos.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="344"/>
<source>Confirm Delete</source>
- <translation>Confirmar Exclusão</translation>
+ <translation>Confirmar exclusão</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="360"/>
@@ -3499,7 +2907,7 @@ UUID: %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="26"/>
<source>To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game.</source>
- <translation type="unfinished"/>
+ <translation>Para usar o Ring-Con, configure o jogador 1 como o Joy-Con direito (tanto físico como emulado), e o jogador 2 como Joy-Con esquerdo (esquerdo físico e com dupla emulação) antes de iniciar o jogo.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="52"/>
@@ -3604,7 +3012,7 @@ UUID: %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="309"/>
<source>The current mapped device is not connected</source>
- <translation type="unfinished"/>
+ <translation>O dispositivo atualmente mapeado não está conectado</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="313"/>
@@ -3626,412 +3034,17 @@ UUID: %2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>Sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Configurações de sistema</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Região:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Automático</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Padrão</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Cuba</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Egito</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>GB</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Greenwich</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Hongkong</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>Islândia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>Irã</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>Israel</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Jamaica</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Japão</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>Ilhas Marshall</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Líbia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Navajo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>NZ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>NZ-CHAT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Polônia </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Portugal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Singapura</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Turquia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Universal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>Zulu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>EUA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Europa</translation>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation>Core</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Austrália</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>China</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Coréia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Taiwan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Fuso horário:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Nota: isso pode ser substituído caso a configuração de região automática esteja ativada</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Japônes (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation>Inglês Americano</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Francês (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Alemão (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Italiano (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Espanhol (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Chinês</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Coreano (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Holandês (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Português</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Russo (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Taiwanês</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Inglês britânico (British English)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Francês canadense (Canadian French)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Espanhol latino-americano</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Chinês simplificado</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Chinês tradicional (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>Português do Brasil (Brazilian Portuguese)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>Data e hora personalizada</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Idioma</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>Semente RNG</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation>Nome do Dispositivo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation>Layout de memória estendida inseguro (8GB DRAM)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>As configurações de sistema são acessíveis apenas quando não houver nenhum jogo em execução.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation>Aviso: &quot;%1&quot; não é um idioma válido para a região &quot;%2&quot;</translation>
</message>
@@ -4240,64 +3253,64 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Nenhum</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>Pequeno (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>Padrão (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>Grande (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>Tamanho completo (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>Pequeno (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>Padrão (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>Grande (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Nome do arquivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>Tipo de arquivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>ID do título</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>Nome do título</translation>
</message>
@@ -4342,7 +3355,7 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="82"/>
<source>Show Compatibility List</source>
- <translation>Exibir Lista de Compatibilidade</translation>
+ <translation>Mostrar lista de compatibilidade</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="89"/>
@@ -4352,12 +3365,12 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="96"/>
<source>Show Size Column</source>
- <translation>Exibir Coluna Tamanho</translation>
+ <translation>Mostrar coluna de tamanho</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="103"/>
<source>Show File Types Column</source>
- <translation>Exibir Coluna Tipos de Arquivos</translation>
+ <translation>Mostrar coluna de tipos de arquivos</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="112"/>
@@ -4400,15 +3413,31 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation>TextLabel</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Resolução:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>Selecione a pasta de capturas de tela...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation>Auto (%1 x %2, %3 x %4)</translation>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4668,12 +3697,12 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="14"/>
<source>Direct Connect</source>
- <translation>Conexão Direta</translation>
+ <translation>Conexão direta</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="47"/>
<source>Server Address</source>
- <translation>Endereço do Servidor</translation>
+ <translation>Endereço do servidor</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="54"/>
@@ -4709,12 +3738,12 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation>Conectando</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation>Conectar</translation>
</message>
@@ -4722,575 +3751,612 @@ Mova os pontos para mudar a posição, ou clique duas vezes nas células da tabe
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Dados anônimos são recolhidos&lt;/a&gt; para ajudar a melhorar o yuzu. &lt;br/&gt;&lt;br/&gt;Gostaria de compartilhar os seus dados de uso conosco?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Telemetria</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation>Detectada Instalação Defeituosa do Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation>A inicialização do Vulkan falhou durante a carga do programa. &lt;br&gt;&lt;br&gt;Clique &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;aqui para instruções de como resolver o problema&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
- <translation type="unfinished"/>
+ <translation>Rodando um jogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>Carregando applet web...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Desativar o applet da web</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation>A desativação do applet da web pode causar comportamento inesperado e deve apenas ser usada com Super Mario 3D All-Stars. Você deseja mesmo desativar o applet da web?
(Ele pode ser reativado nas configurações de depuração.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>A quantidade de shaders sendo construídos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation>O atualmente multiplicador de escala de resolução selecionado.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>Velocidade atual de emulação. Valores maiores ou menores que 100% indicam que a emulação está rodando mais rápida ou lentamente que em um Switch.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>Quantos quadros por segundo o jogo está exibindo atualmente. Isto irá variar de jogo para jogo e cena para cena.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Tempo que leva para emular um quadro do Switch, sem considerar o limitador de taxa de quadros ou a sincronização vertical. Um valor menor ou igual a 16.67 ms indica que a emulação está em velocidade plena.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation>Unmute</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
- <translation>Mute</translation>
+ <translation>Mudo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation>Redefinir volume</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>&amp;Limpar arquivos recentes</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation>Mouse emulado está habilitado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation>Controle de mouse real e controle panorâmico do mouse são incompatíveis. Por favor desabilite a emulação do mouse em configurações avançadas de controles para permitir o controle panorâmico do mouse.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>&amp;Continuar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;Pausar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>Aviso - formato de jogo desatualizado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>Você está usando neste jogo o formato de ROM desconstruída e extraída em uma pasta, que é um formato desatualizado que foi substituído por outros, como NCA, NAX, XCI ou NSP. Pastas desconstruídas de ROMs não possuem ícones, metadados e suporte a atualizações.&lt;br&gt;&lt;br&gt;Para saber mais sobre os vários formatos de ROMs de Switch compatíveis com o yuzu, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;confira a nossa wiki&lt;/a&gt;. Esta mensagem não será exibida novamente.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>Erro ao carregar a ROM!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>O formato da ROM não é suportado.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>Ocorreu um erro ao inicializar o núcleo de vídeo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation>yuzu encontrou um erro enquanto rodando o núcleo de vídeo. Normalmente isto é causado por drivers de GPU desatualizados, incluindo integrados. Por favor veja o registro para mais detalhes. Para mais informações em acesso ao registro por favor veja a seguinte página: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;Como fazer envio de arquivo de registro&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>Erro ao carregar a ROM! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation>%1&lt;br&gt;Por favor, siga &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;o guia de início rápido&lt;/a&gt; para reextrair os seus arquivos.&lt;br&gt;Você pode consultar a wiki do yuzu&lt;/a&gt; ou o Discord do yuzu&lt;/a&gt; para obter ajuda.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>Ocorreu um erro desconhecido. Consulte o registro para mais detalhes.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation>Encerrando software...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>Dados de jogos salvos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Dados de mods</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>Erro ao abrir a pasta %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>A pasta não existe!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>Erro ao abrir o cache de shaders transferível</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation>Falha ao criar o diretório de cache de shaders para este título.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation>Erro ao Remover Conteúdos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation>Erro ao Remover Atualização</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation>Erro ao Remover DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation>Remover Conteúdo Instalado do Jogo?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation>Remover Atualização Instalada do Jogo?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation>Remover DLC Instalada do Jogo?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>Remover item</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>Removido com sucesso</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>O jogo base foi removido com sucesso.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>O jogo base não está instalado na NAND e não pode ser removido.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>A atualização instalada foi removida com sucesso.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>Não há nenhuma atualização instalada para este título.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>Não há nenhum DLC instalado para este título.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>%1 DLC(s) instalados foram removidos com sucesso.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation>Apagar o cache de shaders transferível do OpenGL?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation>Apagar o cache de shaders transferível do Vulkan?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation>Apagar todos os caches de shaders transferíveis?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>Remover configurações customizadas do jogo?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation>Remover Armazenamento da Cache?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>Remover arquivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>Erro ao remover cache de shaders transferível</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>Não existe um cache de shaders para este título.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>O cache de shaders transferível foi removido com sucesso.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>Falha ao remover o cache de shaders transferível.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation>Erro ao Remover Cache de Pipeline do Driver Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation>Falha ao remover o pipeline de cache do driver.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation>Erro ao remover os caches de shaders transferíveis</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation>Os caches de shaders transferíveis foram removidos com sucesso.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation>Falha ao remover o diretório do cache de shaders transferível.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>Erro ao remover as configurações customizadas do jogo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>Não há uma configuração customizada para este título.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>As configurações customizadas do jogo foram removidas com sucesso.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>Falha ao remover as configurações customizadas do jogo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>Falha ao extrair RomFS!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>Houve um erro ao copiar os arquivos RomFS ou o usuário cancelou a operação.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>Extração completa</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>Apenas estrutura</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>Selecione o modo de extração do RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Selecione a forma como você gostaria que o RomFS seja extraído.&lt;br&gt;&quot;Extração completa&quot; copiará todos os arquivos para a nova pasta, enquanto que &lt;br&gt;&quot;Apenas estrutura&quot; criará apenas a estrutura de pastas.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation>Não há espaço suficiente em %1 para extrair o RomFS. Por favor abra espaço ou selecione um diretório diferente em Emulação &gt; Configurar &gt; Sistema &gt; Sistema de arquivos &gt; Extrair raiz</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>Extraindo RomFS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Cancelar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>Extração do RomFS concluida!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>A operação foi concluída com sucesso.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation>Criar Atalho</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation>Isso irá criar um atalho para o AppImage atual. Isso pode não funcionar corretamente se você fizer uma atualização. Continuar?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation>Não foi possível criar um atalho na área de trabalho. O caminho &quot;%1&quot; não existe.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Não foi possível criar um atalho no menu de aplicativos. O caminho &quot;%1&quot; não existe e não pode ser criado.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation>Criar Ícone</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Não foi possível criar o arquivo de ícone. O caminho &quot;%1&quot; não existe e não pode ser criado.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
- <translation>Iniciar %1 com o Emulador yuzu</translation>
+ <translation>Iniciar %1 com o emulador yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation>Falha ao criar um atalho em %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
- <translation>Atalho criado com sucesso em %1</translation>
+ <translation>Atalho criado em %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>Erro ao abrir %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Selecionar pasta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Propriedades</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>As propriedades do jogo não puderam ser carregadas.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Executável do Switch (%1);;Todos os arquivos (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Carregar arquivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Abrir pasta da ROM extraída</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Pasta inválida selecionada</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>A pasta que você selecionou não contém um arquivo &apos;main&apos;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>Arquivo de Switch instalável (*.nca *.nsp *.xci);; Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>Instalar arquivos</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation><numerusform>%n arquivo restante</numerusform><numerusform>%n arquivo(s) restante(s)</numerusform><numerusform>%n arquivo(s) restante(s)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>Instalando arquivo &quot;%1&quot;...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>Resultados da instalação</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>Para evitar possíveis conflitos, desencorajamos que os usuários instalem os jogos base na NAND.
Por favor, use esse recurso apenas para instalar atualizações e DLCs.</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation><numerusform>%n arquivo(s) instalado(s)
@@ -5299,7 +4365,7 @@ Por favor, use esse recurso apenas para instalar atualizações e DLCs.</transla
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation><numerusform>%n arquivo(s) sobrescrito(s)
@@ -5308,7 +4374,7 @@ Por favor, use esse recurso apenas para instalar atualizações e DLCs.</transla
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation><numerusform>%n arquivo(s) não instalado(s)
@@ -5317,312 +4383,339 @@ Por favor, use esse recurso apenas para instalar atualizações e DLCs.</transla
</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Aplicativo do sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Arquivo do sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Atualização de aplicativo do sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Pacote de firmware (tipo A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Pacote de firmware (tipo B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Jogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Atualização de jogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>DLC de jogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Título delta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Selecione o tipo de instalação do NCA...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>Selecione o tipo de título como o qual você gostaria de instalar este NCA:
(Na maioria dos casos, o padrão &apos;Jogo&apos; serve bem.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Falha ao instalar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>O tipo de título que você selecionou para o NCA é inválido.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Arquivo não encontrado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Arquivo &quot;%1&quot; não encontrado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation>Requisitos de hardware não atendidos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation>Seu sistema não atende os requisitos de harwdare. O relatório de compatibilidade foi desabilitado.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>Conta do yuzu faltando</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>Para enviar um caso de teste de compatibilidade de jogo, você precisa entrar com a sua conta do yuzu.&lt;br&gt;&lt;br/&gt;Para isso, vá para Emulação &amp;gt; Configurar... &amp;gt; Rede.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>Erro ao abrir URL</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>Não foi possível abrir o URL &quot;%1&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation>Gravando TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>Sobrescrever arquivo do jogador 1?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>Configuração inválida detectada</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>O controle portátil não pode ser usado no modo encaixado na base. O Pro Controller será selecionado.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>O amiibo atual foi removido</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>Erro</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation>O jogo atual não está procurando amiibos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Arquivo Amiibo (%1);; Todos os arquivos (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Carregar Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Erro ao carregar dados do Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation>O arquivo selecionado não é um amiibo válido</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation>O arquivo selecionado já está em uso</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation>Ocorreu um erro desconhecido</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Capturar tela</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>Imagem PNG (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>Situação TAS: Rodando %1%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>Situação TAS: Gravando %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation>Situação TAS: Repouso %1%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>Situação TAS: Inválido</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation>&amp;Parar de rodar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>&amp;Iniciar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>Parar G&amp;ravação</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>G&amp;ravação</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation><numerusform>Compilando: %n shader(s)</numerusform><numerusform>Compilando: %n shader(s)</numerusform><numerusform>Compilando: %n shader(s)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>Escala: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Velocidade: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Velocidade: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation>Jogo: %1 FPS (Desbloqueado)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Jogo: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Quadro: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>Sem AA</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation>VOLUME: MUDO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation>VOLUME: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>Confirmar rederivação de chave</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5639,37 +4732,37 @@ e opcionalmente faça cópias de segurança.
Isto excluirá o seus arquivos de chaves geradas automaticamente, e reexecutar o módulo de derivação de chaves.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>Faltando fusíveis</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation> - Faltando BOOT0</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation> - Faltando BCPKG2-1-Normal-Main</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation> - Faltando PRODINFO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>Faltando componentes de derivação</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation>Chaves de encriptação faltando. &lt;br&gt;Por favor, siga &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;o guia de início rápido&lt;/a&gt; para extrair suas chaves, firmware e jogos. &lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5678,49 +4771,49 @@ Isto pode demorar até um minuto, dependendo
do desempenho do seu sistema.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>Derivando chaves</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation>Falha a desencriptar o arquivo do sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation>Chaves de encriptação falharam a desencriptar o firmware. &lt;br&gt;Por favor segue &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; para obter todas as tuas chaves, firmware e jogos.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>Selecionar alvo de extração do RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>Selecione qual RomFS você quer extrair.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Você deseja mesmo fechar o yuzu?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Deseja mesmo parar a emulação? Qualquer progresso não salvo será perdido.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5729,142 +4822,142 @@ Would you like to bypass this and exit anyway?</source>
Deseja ignorar isso e sair mesmo assim?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Nenhum</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
- <translation type="unfinished"/>
+ <translation>Mais próximo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Bilinear</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Bicúbico</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>Gaussiano</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Na base</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Portátil</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation>Normal</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation>Alto</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
- <translation type="unfinished"/>
+ <translation>Extremo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulcano</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
- <translation type="unfinished"/>
+ <translation>OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
- <translation type="unfinished"/>
+ <translation>Nenhum (desativado)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
- <translation type="unfinished"/>
+ <translation>GLSL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
- <translation type="unfinished"/>
+ <translation>GLASM</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
- <translation type="unfinished"/>
+ <translation>SPIRV</translation>
</message>
</context>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGL não disponível!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation>Shared contexts do OpenGL não são suportados.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>O yuzu não foi compilado com suporte para OpenGL.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>Erro ao inicializar o OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>Sua GPU pode não suportar OpenGL, ou você não possui o driver gráfico mais recente.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>Erro ao inicializar o OpenGL 4.6!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>Sua GPU pode não suportar o OpenGL 4.6, ou você não possui os drivers gráficos mais recentes.&lt;br&gt;&lt;br&gt;Renderizador GL:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>Sua GPU pode não suportar uma ou mais extensões necessárias do OpenGL. Verifique se você possui a última versão dos drivers gráficos.&lt;br&gt;&lt;br&gt;Renderizador GL:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Extensões não suportadas:&lt;br&gt;%2</translation>
</message>
@@ -5872,173 +4965,178 @@ Deseja ignorar isso e sair mesmo assim?</translation>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>Favorito</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>Iniciar jogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>Iniciar jogo sem configuração personalizada</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Abrir local dos jogos salvos</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Abrir local dos dados de mods</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation>Abrir cache de pipeline transferível</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Remover</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>Remover atualização instalada</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>Remover todos os DLCs instalados</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>Remover configuração customizada</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
- <translation>Remove a Cache do Armazenamento </translation>
+ <translation>Remover cache do armazenamento </translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation>Remover cache de pipeline do OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation>Remover cache de pipeline do Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>Remover todos os caches de pipeline</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>Remover todo o conteúdo instalado</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>Extrair RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>Extrair RomFS para SDMC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Copiar ID do título para a área de transferência</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>Abrir artigo do jogo no GameDB</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
- <translation>Criar Atalho</translation>
+ <translation>Criar atalho</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
- <translation>Adicionar à Área de Trabalho</translation>
+ <translation>Adicionar à área de trabalho</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
- <translation>Adicionar ao Menu de Aplicativos</translation>
+ <translation>Adicionar ao menu de aplicativos</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Propriedades</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>Examinar subpastas</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>Remover pasta de jogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ Mover para cima</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ Mover para baixo</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>Abrir local da pasta</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Limpar</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Nome</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Compatibilidade</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Adicionais</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Tipo de arquivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Tamanho</translation>
</message>
@@ -6109,7 +5207,7 @@ Deseja ignorar isso e sair mesmo assim?</translation>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>Clique duas vezes para adicionar uma pasta à lista de jogos</translation>
</message>
@@ -6122,12 +5220,12 @@ Deseja ignorar isso e sair mesmo assim?</translation>
<translation><numerusform>%1 de %n resultado(s)</numerusform><numerusform>%1 de %n resultado(s)</numerusform><numerusform>%1 de %n resultado(s)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Filtro:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Digite o padrão para filtrar</translation>
</message>
@@ -6137,27 +5235,27 @@ Deseja ignorar isso e sair mesmo assim?</translation>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="14"/>
<source>Create Room</source>
- <translation>Criar Sala</translation>
+ <translation>Criar sala</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="37"/>
<source>Room Name</source>
- <translation>Nome da Sala</translation>
+ <translation>Nome da sala</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="51"/>
<source>Preferred Game</source>
- <translation>Jogo Preferencial</translation>
+ <translation>Jogo preferido</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="61"/>
<source>Max Players</source>
- <translation>Máximo de Jogadores</translation>
+ <translation>Máximo de jogadores</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="91"/>
<source>Username</source>
- <translation>Nome de Usuário</translation>
+ <translation>Nome de usuário</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="101"/>
@@ -6177,7 +5275,7 @@ Deseja ignorar isso e sair mesmo assim?</translation>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="139"/>
<source>Room Description</source>
- <translation>Descrição da Sala</translation>
+ <translation>Descrição da sala</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="153"/>
@@ -6197,18 +5295,18 @@ Deseja ignorar isso e sair mesmo assim?</translation>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="197"/>
<source>Host Room</source>
- <translation>Hospedar Sala</translation>
+ <translation>Hospedar sala</translation>
</message>
</context>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>Erro</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation>Falha ao anunciar a sala ao lobby público. Para hospedar uma sala pública você deve ter configurado uma conta válida do yuzu em Emulação -&gt; Configurações -&gt; Web. Se você não quer publicar uma sala no lobby público seleciona a opção Não listado.
@@ -6218,13 +5316,11 @@ Mensagem de depuração:</translation>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation>Mutar/Desmutar Áudio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6245,111 +5341,113 @@ Mensagem de depuração:</translation>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
- <translation>Janela Principal</translation>
+ <translation>Janela principal</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
- <translation>Volume Menos</translation>
+ <translation>Aumentar volume</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
- <translation>Volume Mais</translation>
+ <translation>Abaixar volume</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
- <translation>Capturar Tela</translation>
+ <translation>Capturar tela</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
- <translation>Alterar Filtro de Adaptação</translation>
+ <translation>Alterar filtro de adaptação</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation>Alterar Modo de Ancoragem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
- <translation>Alterar Precisão da GPU</translation>
+ <translation>Alterar precisão da GPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
- <translation>Continuar/Pausar Emulação</translation>
+ <translation>Continuar/Pausar emulação</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
- <translation>Sair da Tela Cheia</translation>
+ <translation>Sair da tela inteira</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation>Sair do yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
- <translation>Tela Cheia</translation>
+ <translation>Tela inteira</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
- <translation>Carregar Arquivo</translation>
+ <translation>Carregar arquivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation>Carregar/Remover Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
- <translation>Reiniciar Emulação</translation>
+ <translation>Reiniciar emulação</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
- <translation>Parar Emulação</translation>
+ <translation>Parar emulação</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation>Gravar TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation>Reiniciar TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation>Iniciar/Parar TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation>Alternar Barra de Filtro</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation>Alternar Limite de Quadros por Segundo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation>Alternar o Giro do Mouse</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation>Alternar Barra de Status</translation>
</message>
@@ -6430,7 +5528,7 @@ Mensagem de depuração:</translation>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="14"/>
<source>Public Room Browser</source>
- <translation>Navegador de Salas Públicas</translation>
+ <translation>Navegador de salas públicas</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="32"/>
@@ -6451,62 +5549,62 @@ Mensagem de depuração:</translation>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="76"/>
<source>Games I Own</source>
- <translation>Meus Jogos</translation>
+ <translation>Meus jogos</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="83"/>
<source>Hide Empty Rooms</source>
- <translation>Esconder Salas Vazias</translation>
+ <translation>Ocultar salas vazias</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="90"/>
<source>Hide Full Rooms</source>
- <translation>Esconder Salas Cheias</translation>
+ <translation>Ocultar salas cheias</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="110"/>
<source>Refresh Lobby</source>
- <translation>Atualizar Lobby</translation>
+ <translation>Atualizar sala</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
- <translation>Senha Necessária para Entrar</translation>
+ <translation>É necessária uma senha para entrar</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation>Senha:</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Jogadores</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
- <translation>Nome da Sala</translation>
+ <translation>Nome da sala</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
- <translation>Jogo Preferencial</translation>
+ <translation>Jogo preferido</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation>Anfitrião</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation>Atualizando</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
- <translation>Atualizar Lista</translation>
+ <translation>Atualizar lista</translation>
</message>
</context>
<context>
@@ -6592,172 +5690,182 @@ Mensagem de depuração:</translation>
<translation>&amp;TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Ajuda</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>&amp;Instalar arquivos para NAND...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>&amp;Carregar arquivo...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>Carregar &amp;pasta...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>S&amp;air</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>&amp;Pausar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>&amp;Parar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>&amp;Reinicializar chaves...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>&amp;Sobre o yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>Modo de &amp;janela única</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>Con&amp;figurar...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>Exibir barra de títul&amp;os de widgets afixados</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>Exibir barra de &amp;filtro</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>Exibir barra de &amp;status</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Exibir barra de status</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation>&amp;Navegar no Lobby de Salas Públicas</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
- <translation>&amp;Criar Sala</translation>
+ <translation>&amp;Criar sala</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
- <translation>Sai&amp;r da Sala</translation>
+ <translation>Sai&amp;r da sala</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
- <translation>Conectar &amp;Diretamente Numa Sala</translation>
+ <translation>Entrar &amp;diretamente numa sala</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
- <translation>Exibir &amp;Sala Atual</translation>
+ <translation>Mostrar &amp;sala atual</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>&amp;Tela cheia</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>&amp;Reiniciar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation>Carregar/Remover &amp;Amiibo...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>&amp;Reportar compatibilidade</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation>Abrir página de &amp;mods</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation>Abrir &amp;guia de início rápido</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>&amp;Perguntas frequentes</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation>Abrir pasta do &amp;yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>&amp;Captura de tela</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation>&amp;Configurar TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation>Configurar jogo &amp;atual..</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>&amp;Iniciar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation>&amp;Restaurar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>G&amp;ravar</translation>
</message>
@@ -6780,7 +5888,7 @@ Mensagem de depuração:</translation>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="20"/>
<source>Ban List</source>
- <translation>Lista de Banimentos</translation>
+ <translation>Lista de banimentos</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="41"/>
@@ -6791,7 +5899,7 @@ Mensagem de depuração:</translation>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="51"/>
<source>Unban</source>
- <translation>Desbanir</translation>
+ <translation>Readmitir</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="40"/>
@@ -6806,7 +5914,7 @@ Mensagem de depuração:</translation>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="83"/>
<source>Forum Username</source>
- <translation>Nome de Usuário do Fórum</translation>
+ <translation>Nome de usuário no fórum</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="88"/>
@@ -6824,7 +5932,7 @@ Mensagem de depuração:</translation>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="90"/>
<source>Current connection status</source>
- <translation>Status da conexão atual</translation>
+ <translation>Estado atual da conexão</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="117"/>
@@ -6834,7 +5942,7 @@ Mensagem de depuração:</translation>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="123"/>
<source>Not Connected</source>
- <translation>Não Conectado</translation>
+ <translation>Não conectado</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="129"/>
@@ -6844,7 +5952,7 @@ Mensagem de depuração:</translation>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="136"/>
<source>New Messages Received</source>
- <translation>Novas Mensagens Recebidas</translation>
+ <translation>Novas mensagens recebidas</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="207"/>
@@ -6909,7 +6017,7 @@ Mensagem de Depuração:</translation>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="32"/>
<source>Creating a room failed. Please retry. Restarting yuzu might be necessary.</source>
- <translation>Erro ao criar a sala. Por favor tente novamente. Reiniciar o yuzu pode ser necessário.</translation>
+ <translation>Erro ao criar a sala. Tente novamente. Reiniciar o yuzu pode ser necessário.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="34"/>
@@ -6919,7 +6027,7 @@ Mensagem de Depuração:</translation>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="37"/>
<source>Version mismatch! Please update to the latest version of yuzu. If the problem persists, contact the room host and ask them to update the server.</source>
- <translation>Versão não compatível! Por favor atualize o yuzu para a última versão. Se o problema persistir entre em contato com o anfitrião da sala e peça que atualize o servidor.</translation>
+ <translation>Versão não compatível! Atualize o yuzu para a última versão. Se o problema persistir, entre em contato com o anfitrião da sala e peça que atualize o servidor.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="39"/>
@@ -6929,7 +6037,7 @@ Mensagem de Depuração:</translation>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="40"/>
<source>An unknown error occurred. If this error continues to occur, please open an issue</source>
- <translation type="unfinished"/>
+ <translation>Ocorreu um erro desconhecido. Se esse erro continuar ocorrendo, recomendamos abrir uma issue.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="43"/>
@@ -6939,40 +6047,43 @@ Mensagem de Depuração:</translation>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="45"/>
<source>You have been kicked by the room host.</source>
- <translation type="unfinished"/>
+ <translation>Você foi expulso(a) pelo anfitrião da sala.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="47"/>
<source>IP address is already in use. Please choose another.</source>
- <translation type="unfinished"/>
+ <translation>Este endereço IP já está em uso. Por favor, escolha outro.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="49"/>
<source>You do not have enough permission to perform this action.</source>
- <translation type="unfinished"/>
+ <translation>Você não tem permissão suficiente para realizar esta ação.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="50"/>
<source>The user you are trying to kick/ban could not be found.
They may have left the room.</source>
- <translation type="unfinished"/>
+ <translation>O usuário que você está tentando expulsar/banir não pôde ser encontrado.
+Essa pessoa pode já ter saído da sala.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="52"/>
<source>No valid network interface is selected.
Please go to Configure -&gt; System -&gt; Network and make a selection.</source>
- <translation type="unfinished"/>
+ <translation>Nenhuma interface de rede válida foi detectada.
+Vá para Configurar -&gt; Sistema -&gt; Rede e selecione uma.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="68"/>
<source>Game already running</source>
- <translation type="unfinished"/>
+ <translation>O jogo já está rodando</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="69"/>
<source>Joining a room when the game is already running is discouraged and can cause the room feature not to work correctly.
Proceed anyway?</source>
- <translation type="unfinished"/>
+ <translation>Entrar em uma sala enquanto o jogo já está rodando não é recomendado e pode fazer com que o recurso de sala não funcione corretamente.
+Você deseja prosseguir mesmo assim?</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="75"/>
@@ -6982,17 +6093,17 @@ Proceed anyway?</source>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="76"/>
<source>You are about to close the room. Any network connections will be closed.</source>
- <translation type="unfinished"/>
+ <translation>Você está prestes a fechar a sala. Todas conexões de rede serão encerradas.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="81"/>
<source>Disconnect</source>
- <translation type="unfinished"/>
+ <translation>Desconectar</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="82"/>
<source>You are about to leave the room. Any network connections will be closed.</source>
- <translation type="unfinished"/>
+ <translation>Você está prestes a sair da sala. Todas conexões de rede serão encerradas.</translation>
</message>
</context>
<context>
@@ -7049,17 +6160,17 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/multiplayer/lobby_p.h" line="236"/>
<source>%1 is not playing a game</source>
- <translation type="unfinished"/>
+ <translation>%1 não está jogando um jogo</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby_p.h" line="238"/>
<source>%1 is playing %2</source>
- <translation type="unfinished"/>
+ <translation>%1 está jogando %2</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="142"/>
<source>Not playing a game</source>
- <translation type="unfinished"/>
+ <translation>Não está jogando um jogo</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="244"/>
@@ -7376,12 +6487,12 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="80"/>
<source>Stick L</source>
- <translation type="unfinished"/>
+ <translation>Analógico esquerdo</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="82"/>
<source>Stick R</source>
- <translation type="unfinished"/>
+ <translation>Analógico direito</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="94"/>
@@ -7438,25 +6549,25 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="193"/>
<source>%1%2%3%4</source>
- <translation type="unfinished"/>
+ <translation>%1%2%3%4</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="207"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="231"/>
<source>%1%2%3Hat %4</source>
- <translation type="unfinished"/>
+ <translation>%1%2%3Alavanca %4</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="211"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="234"/>
<source>%1%2%3Axis %4</source>
- <translation type="unfinished"/>
+ <translation>%1%2%3Eixo %4</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="225"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="240"/>
<source>%1%2%3Button %4</source>
- <translation type="unfinished"/>
+ <translation>%1%2%3Botão %4</translation>
</message>
</context>
<context>
@@ -7464,17 +6575,17 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="14"/>
<source>Amiibo Settings</source>
- <translation type="unfinished"/>
+ <translation>Configurações do amiibo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="169"/>
<source>Amiibo Info</source>
- <translation type="unfinished"/>
+ <translation>Informação do amiibo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="177"/>
<source>Series</source>
- <translation type="unfinished"/>
+ <translation>Série </translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="197"/>
@@ -7489,52 +6600,52 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="242"/>
<source>Amiibo Data</source>
- <translation type="unfinished"/>
+ <translation>Dados de amiibo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="250"/>
<source>Custom Name</source>
- <translation type="unfinished"/>
+ <translation>Nome personalizado</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="270"/>
<source>Owner</source>
- <translation type="unfinished"/>
+ <translation>Proprietário</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="290"/>
<source>Creation Date</source>
- <translation type="unfinished"/>
+ <translation>Data de criação</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="307"/>
<source>dd/MM/yyyy</source>
- <translation type="unfinished"/>
+ <translation>dd/mm/aaaa</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="314"/>
<source>Modification Date</source>
- <translation type="unfinished"/>
+ <translation>Data de modificação</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="331"/>
<source>dd/MM/yyyy </source>
- <translation type="unfinished"/>
+ <translation>dd/mm/aaaa </translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="349"/>
<source>Game Data</source>
- <translation type="unfinished"/>
+ <translation>Dados do jogo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="355"/>
<source>Game Id</source>
- <translation type="unfinished"/>
+ <translation>ID do jogo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="384"/>
<source>Mount Amiibo</source>
- <translation type="unfinished"/>
+ <translation>Montar amiibo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="390"/>
@@ -7544,32 +6655,32 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="413"/>
<source>File Path</source>
- <translation type="unfinished"/>
+ <translation>Caminho de arquivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
- <translation type="unfinished"/>
+ <translation>Nenhum dado do jogo presente</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
- <translation type="unfinished"/>
+ <translation>Os seguintes dados de amiibo serão formatados:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
- <translation type="unfinished"/>
+ <translation>Os seguintes dados do jogo serão removidos:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
- <translation type="unfinished"/>
+ <translation>Definir apelido e proprietário:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
- <translation type="unfinished"/>
+ <translation>Deseja restaurar este amiibo?</translation>
</message>
</context>
<context>
@@ -7608,7 +6719,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Pro Controller</translation>
</message>
@@ -7621,7 +6732,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Par de Joycons</translation>
</message>
@@ -7634,7 +6745,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Joycon esquerdo</translation>
</message>
@@ -7647,7 +6758,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Joycon direito</translation>
</message>
@@ -7676,7 +6787,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Portátil</translation>
</message>
@@ -7792,32 +6903,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>Controle de GameCube</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>Poké Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>Controle do NES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>Controle do SNES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>Controle do Nintendo 64</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>Mega Drive</translation>
</message>
@@ -7877,7 +6988,7 @@ Tente novamente ou entre em contato com o desenvolvedor do software.</translatio
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="167"/>
<source>Profile Creator</source>
- <translation type="unfinished"/>
+ <translation>Criador de perfil</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="170"/>
@@ -7888,57 +6999,57 @@ Tente novamente ou entre em contato com o desenvolvedor do software.</translatio
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="173"/>
<source>Profile Icon Editor</source>
- <translation type="unfinished"/>
+ <translation>Editor de ícone de perfil</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="176"/>
<source>Profile Nickname Editor</source>
- <translation type="unfinished"/>
+ <translation>Editor do apelido de perfil</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="198"/>
<source>Who will receive the points?</source>
- <translation type="unfinished"/>
+ <translation>Quem receberá os pontos?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="201"/>
<source>Who is using Nintendo eShop?</source>
- <translation type="unfinished"/>
+ <translation>Quem está usando o Nintendo eShop?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="204"/>
<source>Who is making this purchase?</source>
- <translation type="unfinished"/>
+ <translation>Quem está fazendo essa compra?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="207"/>
<source>Who is posting?</source>
- <translation type="unfinished"/>
+ <translation>Quem está postando?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="210"/>
<source>Select a user to link to a Nintendo Account.</source>
- <translation type="unfinished"/>
+ <translation>Selecione um usuário para vincular a uma conta Nintendo.</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="213"/>
<source>Change settings for which user?</source>
- <translation type="unfinished"/>
+ <translation>Mudar configurações para qual usuário?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="216"/>
<source>Format data for which user?</source>
- <translation type="unfinished"/>
+ <translation>Formatar dados para qual usuário?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="219"/>
<source>Which user will be transferred to another console?</source>
- <translation type="unfinished"/>
+ <translation>Qual usuário será transferido para outro console?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="222"/>
<source>Send save data for which user?</source>
- <translation type="unfinished"/>
+ <translation>Enviar dados salvos para qual usuário?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="226"/>
@@ -8004,7 +7115,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="158"/>
<source>[%1] %2</source>
- <translation type="unfinished"/>
+ <translation>[%1] %2</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="184"/>
diff --git a/dist/languages/pt_PT.ts b/dist/languages/pt_PT.ts
index 704ffa0c4..dc52afcbb 100644
--- a/dist/languages/pt_PT.ts
+++ b/dist/languages/pt_PT.ts
@@ -366,78 +366,32 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.</translatio
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Audio</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Motor de Saída:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>Dispositivo de Saída</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>Dispositivo de Entrada</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>Modo de saída de som</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Mono</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Estéreo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Surround</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Usar volume global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Definir volume:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Volume:</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation>Auto (%1)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Silenciar audio quando a janela ficar em segundo plano</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation>Padrão (%1)</translation>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Audio</translation>
</message>
</context>
<context>
@@ -501,137 +455,25 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.</translatio
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Geral</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Precisão:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Automático</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Preciso</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Inseguro</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>Paranoia (desativa a maioria das otimizações)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Recomendamos definir a precisão para &quot;Automático&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Definições de Optimização do CPU Inseguras</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Estas definições reduzem precisão em troca de velocidade.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;Esta opção melhora a velocidade ao reduzir a precisão das instruções de fused-multiply-add nas CPUs sem suporte nativo de FMA.&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>FMA inseguro (Melhorar performance no CPU sem FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;Esta opção melhora a rapidez de algumas funções de pontos-flutuantes aproximados ao usar aproximações nativas menos precisas&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>FRSQRTE e FRECPE mais rápido</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Esta opção melhora a velocidade das funções de ponto flutuante ASIMD de 32 bits ao rodar com modos de arredondamento incorretos.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Instruções ASIMD mais rápidas (apenas 32 bits)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Esta opção melhora a velocidade ao remover a verificação de valores não numerais. Por outro lado, ela reduz a precisão de certas instruções de ponto flutuante.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Tratamento impreciso de NaN</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Esta opção melhora a velocidade, eliminando uma verificação de segurança antes de cada leitura/gravação de memória no hóspede. A desativação pode permitir que um jogo leia/escreva a memória do emulador.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>Desativar a verificação do espaço de endereços</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Esta opção melhora a velocidade ao depender apenas da semântica da instrução cmpxchg para garantir a segurança de instruções de acesso exclusivo. Observe que isto pode resultar em deadlocks e outras condições de concorrência.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>Ignorar monitor global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>As configurações do sistema estão disponíveis apenas quando o jogo não está em execução.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -842,222 +684,227 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.</translatio
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>Depurador</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>Activar GDB Stub</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Porta:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Entrando</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Filtro de registro global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>Mostrar Relatório na Consola</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Abrir a localização do registro</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Filtro de registro global</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Quando ativado, o tamanho máximo do registo aumenta de 100 MB para 1 GB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Ativar registros avançados**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Mostrar Relatório na Consola</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>Argumentos String</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Gráficos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>Quando ativado, a API gráfica entra em um modo de depuração mais lento.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Activar Depuração Gráfica</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>Quando ativado, ativa a extração de registros de travamento do Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Quando ativado, executa shaders sem mudanças de lógica de loop</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Ativar Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Desativar verificação de segurança de loops</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>Se selecionado, descarrega todos os shaders originários do cache do disco ou do jogo conforme encontrá-los.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>Quando marcado, desabilita as funções do macro HLE. Habilitar esta opção faz com que os jogos rodem mais lentamente</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>Descarregar shaders do jogo</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>Desabilitar o Macro HLE</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>Quando marcada, essa opção irá despejar todos os macro programas da GPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>Despejar macros Maxwell</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>Quando ativado, desativa o macro compilador Just In Time. Ativar isto faz os jogos rodarem mais lentamente.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Desactivar Macro JIT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation>Quando marcado, desabilita as funções do macro HLE. Habilitar esta opção faz com que os jogos rodem mais lentamente</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>Quando ativado, ativa a extração de registros de travamento do Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation>Desabilitar o Macro HLE</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Ativar Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
<source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation>Quando ativado, o yuzu registrará estatísticas sobre o cache de pipeline compilado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
<source>Enable Shader Feedback</source>
<translation>Ativar Feedback de Shaders</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>Quando ativado, executa shaders sem mudanças de lógica de loop</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>Desativar verificação de segurança de loops</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>Quando ativado, desativa o macro compilador Just In Time. Ativar isto faz os jogos rodarem mais lentamente.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Depuração</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Desactivar Macro JIT</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation>Ativar serviços de relatório detalhado**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Quando ativado, a API gráfica entra em um modo de depuração mais lento.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>Ativar acesso de registro FS</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Activar Depuração Gráfica</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation>Habilite essa opção para gravar a última saída da lista de comandos de áudio para o console. Somente afetará jogos que utilizam o renderizador de áudio.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Se selecionado, descarrega todos os shaders originários do cache do disco ou do jogo conforme encontrá-los.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation>Despejar comandos de áudio no console**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>Descarregar shaders do jogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>Criar um despejo resumido após uma falha</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
<source>Advanced</source>
<translation>Avançado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>Permite que o yuzu procure por um ambiente Vulkan funcional quando o programa iniciar. Desabilite essa opção se estiver causando conflitos com programas externos visualizando o yuzu.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>Executar checagem do Vulkan na inicialização</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Desativar Web Applet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Ativar todos os tipos de controles</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Ativar auto-esboço**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Modo Quiosque (Quest)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>Ativar depuração de CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>Ativar asserções de depuração</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>Ativar auto-esboço**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Depuração</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>Ativar todos os tipos de controles</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>Ativar acesso de registro FS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Desativar Web Applet</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>Criar um despejo resumido após uma falha</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation>Permite que o yuzu procure por um ambiente Vulkan funcional quando o programa iniciar. Desabilite essa opção se estiver causando conflitos com programas externos visualizando o yuzu.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>Habilite essa opção para gravar a última saída da lista de comandos de áudio para o console. Somente afetará jogos que utilizam o renderizador de áudio.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>Executar checagem do Vulkan na inicialização</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation>Despejar comandos de áudio no console**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>Ativar serviços de relatório detalhado**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**Isto será restaurado automaticamente assim que o yuzu for fechado.</translation>
</message>
@@ -1072,12 +919,12 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.</translatio
<translation>Será necessário reiniciar o yuzu para aplicar as configurações.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>Applet Web não compilado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation>Criação do mini despejo não compilada</translation>
</message>
@@ -1127,78 +974,83 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.</translatio
<translation>Configuração yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Algumas configurações só estão disponíveis apenas quando não houver nenhum jogo em execução.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Depurar</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Sistema de Ficheiros</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Geral</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Gráficos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>GráficosAvançados</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Teclas de Atalhos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Controlos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Perfis</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Rede</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>Sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Lista de Jogos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Rede</translation>
</message>
@@ -1357,57 +1209,17 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.</translatio
<translation>Geral</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Percentagem do limitador de velocidade</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Emulação de CPU Multicore</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Confirme a saída enquanto a emulação está em execução</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Solicitar para o utilizador na inicialização do jogo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Pausar o emulador quando estiver em segundo plano</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Esconder rato quando inactivo.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Restaurar todas as configurações</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>Isto restaura todas as configurações e remove as configurações específicas de cada jogo. As pastas de jogos, perfis de jogos e perfis de controlo não serão removidos. Continuar?</translation>
</message>
@@ -1430,308 +1242,43 @@ Isto banirá tanto o nome de usuário do fórum como o endereço IP.</translatio
<translation>Definições API</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>Suporte de shaders:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Dispositivo:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Nenhum</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Definições Gráficas</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>Usar cache de pipeline em disco</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Usar emulação assíncrona de GPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>Acelerar a decodificação de textura ASTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation>Modo de Sincronização vertical:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>Emulação NVDEC:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Sem saída de vídeo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>Decodificação de vídeo pela CPU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>Decodificação de vídeo pela GPU (Padrão)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Tela Cheia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Janela sem bordas</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Tela cheia exclusiva</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Proporção do Ecrã:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Padrão (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Forçar 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Forçar 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>Forçar 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Esticar à Janela</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>Resolução:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [EXPERIMENTAL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [EXPERIMENTAL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation>1.5X (1080p/1620p) [EXPERIMENTAL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation>7X (5040p/7560p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation>8X (5760p/8640p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>Filtro de adaptação de janela:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Vizinho mais próximo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Bilinear</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Bicúbico</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>Gaussiano</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️ Super Resolution</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>Método de Anti-Aliasing</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation>Usar FSR Sharpness global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation>Definir FSR Sharpness</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation>FSR Sharpness:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation>100%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Usar cor de fundo global</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Definir cor de fundo:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Cor de fundo:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (Shaders Assembly, apenas NVIDIA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation>SPIR-V (Experimental, Somente Mesa)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation>Desligado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation>Sincronização vertical desligada</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation>Recomendado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation>Ligado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation>Sincronização vertical ligada</translation>
</message>
@@ -1753,162 +1300,6 @@ Immediate (no synchronization) just presents whatever is available and can exhib
<source>Advanced Graphics Settings</source>
<translation>Definições de Gráficos Avançadas</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Nível de Precisão:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation>Recompressão ASTC:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation>Descompactado (Melhor Q</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation>BC1 (Baixa qualidade)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation>BC3 (Média qualidade)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation>Ativar apresentação assíncrona (Somente Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation>Executa trabalho em segundo plano aguardando pelos comandos gráficos para evitar a GPU de reduzir seu clock.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation>Forçar clock máximo (somente Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation>Habilitar decodificação assíncrona de texturas ASTC, isso pode reduzir interrupções no tempo de carga. Essa funcionalidade é experimental.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation>Decodificação assíncrona de texturas ASTC (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Activa a compilação de shader assíncrona, podendo reduzir o engasgue do shader. Esta função é experimental.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>Usar compilação assíncrona de shaders (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>Ativa um tempo de resposta rápido da GPU. Esta opção forçará a maioria dos jogos a rodar em sua resolução nativa mais alta.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>Usar tempo de resposta rápido da GPU (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation>Habilita cache de pipeline específico do fabricante. Essa opção pode melhorar o tempo de carga dos shaders significativamente nos casos onde o driver do Vulkan não armazena os arquivos cache de pipeline internamente.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation>Utilizar cache de pipeline do Vulkan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation>Ativar Compute Pipelines (Intel Vulkan only)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Filtro Anisotrópico:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>Automático</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Padrão</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2672,10 +2063,10 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3085"/>
<source>Mouse panning</source>
- <translation type="unfinished"/>
+ <translation>Mouse panorâmico</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Configurar</translation>
</message>
@@ -3099,75 +2490,99 @@ Para inverter os eixos, mova o seu analógico primeiro verticalmente e depois ho
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="6"/>
<source>Configure mouse panning</source>
- <translation type="unfinished"/>
+ <translation>Configurar mouse panorâmico</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation>Habilitar</translation>
+ <source>Enable mouse panning</source>
+ <translation>Ativar o giro do mouse</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
- <translation type="unfinished"/>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
+ <translation>Pode ser alternado através de um atalho de teclado. O atalho padrão é Ctrl + F9.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
<source>Sensitivity</source>
- <translation type="unfinished"/>
+ <translation>Sensibilidade</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
- <translation type="unfinished"/>
+ <translation>Horizontal</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
- <translation type="unfinished"/>
+ <translation>Vertical</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="85"/>
<source>Deadzone counterweight</source>
- <translation type="unfinished"/>
+ <translation>Contrapeso da zona morta</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="88"/>
<source>Counteracts a game&apos;s built-in deadzone</source>
- <translation type="unfinished"/>
+ <translation>Neutraliza a zona morta embutida de um jogo</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation>Zona morta</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
- <translation type="unfinished"/>
+ <translation>Degeneração do analógico</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
- <translation type="unfinished"/>
+ <translation>Força</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
- <translation type="unfinished"/>
+ <translation>Mínima</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>Padrão</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation>O mouse panorâmico funciona melhor com uma zona morta de 0% e alcance de 100%
+Os valores atuais são %1% e %2% respectivamente.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation>O mouse emulado está ativado. Isto é incompatível com o mouse panorâmico.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>Mouse emulado está habilitado</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation>Controle de mouse real e controle panorâmico do mouse são incompatíveis. Por favor desabilite a emulação do mouse em configurações avançadas de controles para permitir o controle panorâmico do mouse.</translation>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3200,100 +2615,95 @@ Para inverter os eixos, mova o seu analógico primeiro verticalmente e depois ho
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Diálogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Informação</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Nome</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>ID de Título</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Nome de Ficheiro</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Formato</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Versão</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Tamanho</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Desenvolvedor</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Add-Ons</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Algumas configurações só estão disponíveis apenas quando não houver nenhum jogo em execução.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Geral</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Add-Ons</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>Sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Gráficos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Gráficos Avç.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Audio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation>Perfis de controle</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Propriedades</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Usar configuração global (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3489,7 +2899,7 @@ UUID: %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="26"/>
<source>To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game.</source>
- <translation type="unfinished"/>
+ <translation>Para usar o Ring-Con, configure o jogador 1 como o Joy-Con direito (tanto físico como emulado), e o jogador 2 como Joy-Con esquerdo (esquerdo físico e com dupla emulação) antes de iniciar o jogo.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="52"/>
@@ -3594,7 +3004,7 @@ UUID: %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="309"/>
<source>The current mapped device is not connected</source>
- <translation type="unfinished"/>
+ <translation>O dispositivo atualmente mapeado não está conectado</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="313"/>
@@ -3616,412 +3026,17 @@ UUID: %2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>Sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Configurações de Sistema</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Região:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Automático</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Padrão</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Cuba</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Egipto</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>Irlanda</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>GB</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-Irlanda</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation>Core</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Greenwich</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Hongkong</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>Islândia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>Irão</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>Israel</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Jamaica</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Japão</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>Kwajalein</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Líbia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Navajo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>NZ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>NZ-CHAT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Polónia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Portugal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Singapura</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Turquia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Universal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>Zulu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>EUA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Europa</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Austrália</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>China</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Coreia</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Taiwan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Fuso Horário:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Nota: isto pode ser substituído quando a configuração da região é de seleção automática</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Japonês (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation>Inglês Americano</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Francês (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Alemão (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Italiano (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Espanhol (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Chinês</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Coreano (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Holandês (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Português (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Russo (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Taiwanês</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Inglês Britânico</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Francês Canadense</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Espanhol Latino-Americano</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Chinês Simplificado</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Chinês Tradicional (正 體 中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>Português do Brasil (Brazilian Portuguese)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>RTC personalizado</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Língua</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>Semente de RNG</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation>Nome do Dispositivo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation>Layout de memória estendida inseguro (8GB DRAM)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>As configurações do sistema estão disponíveis apenas quando o jogo não está em execução.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation>Aviso: &quot;%1&quot; não é um idioma válido para a região &quot;%2&quot;</translation>
</message>
@@ -4230,64 +3245,64 @@ Arrasta os pontos para mudar a posição, ou dá duplo-clique nas células da ta
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Nenhum</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>Pequeno (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>Padrão (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>Grande (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>Tamanho completo (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>Pequeno (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>Padrão (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>Grande (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Nome de Ficheiro</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>Tipo de arquivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>ID de Título</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>Nome do título</translation>
</message>
@@ -4390,15 +3405,31 @@ Arrasta os pontos para mudar a posição, ou dá duplo-clique nas células da ta
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation>TextLabel</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Resolução:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>Seleccionar Caminho de Capturas de Ecrã...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation>Auto (%1 x %2, %3 x %4)</translation>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4699,12 +3730,12 @@ Arrasta os pontos para mudar a posição, ou dá duplo-clique nas células da ta
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation>Conectando</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation>Conectar</translation>
</message>
@@ -4712,898 +3743,962 @@ Arrasta os pontos para mudar a posição, ou dá duplo-clique nas células da ta
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Dados anônimos são coletados&lt;/a&gt;para ajudar a melhorar o yuzu.&lt;br/&gt;&lt;br/&gt;Gostaria de compartilhar seus dados de uso conosco?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Telemetria</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation>Detectada Instalação Defeituosa do Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation>A inicialização do Vulkan falhou durante a carga do programa. &lt;br&gt;&lt;br&gt;Clique &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;aqui para instruções de como resolver o problema&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
- <translation type="unfinished"/>
+ <translation>Rodando um jogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>A Carregar o Web Applet ...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Desativar Web Applet</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation>A desativação do applet da web pode causar comportamento inesperado e deve apenas ser usada com Super Mario 3D All-Stars. Você deseja mesmo desativar o applet da web?
(Ele pode ser reativado nas configurações de depuração.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>Quantidade de shaders a serem construídos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation>O atualmente multiplicador de escala de resolução selecionado.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>Velocidade da emulação actual. Valores acima ou abaixo de 100% indicam que a emulação está sendo executada mais depressa ou mais devagar do que a Switch</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>Quantos quadros por segundo o jogo está exibindo de momento. Isto irá variar de jogo para jogo e de cena para cena.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Tempo gasto para emular um frame da Switch, sem contar o a limitação de quadros ou o v-sync. Para emulação de velocidade máxima, esta deve ser no máximo 16.67 ms.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation>Unmute</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation>Mute</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation>Redefinir volume</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>&amp;Limpar arquivos recentes</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation>Mouse emulado está habilitado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation>Controle de mouse real e controle panorâmico do mouse são incompatíveis. Por favor desabilite a emulação do mouse em configurações avançadas de controles para permitir o controle panorâmico do mouse.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>&amp;Continuar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;Pausa</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>Aviso de Formato de Jogo Desactualizado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>Você está usando o formato de directório ROM desconstruído para este jogo, que é um formato desactualizado que foi substituído por outros, como NCA, NAX, XCI ou NSP. Os directórios de ROM não construídos não possuem ícones, metadados e suporte de actualização.&lt;br&gt;&lt;br&gt;Para uma explicação dos vários formatos de Switch que o yuzu suporta,&lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;Verifique a nossa Wiki&lt;/a&gt;. Esta mensagem não será mostrada novamente.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>Erro ao carregar o ROM!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>O formato do ROM não é suportado.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>Ocorreu um erro ao inicializar o núcleo do vídeo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation>yuzu encontrou um erro enquanto rodando o núcleo de vídeo. Normalmente isto é causado por drivers de GPU desatualizados, incluindo integrados. Por favor veja o registro para mais detalhes. Para mais informações em acesso ao registro por favor veja a seguinte página: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;Como fazer envio de arquivo de registro&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>Erro ao carregar a ROM! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation>%1&lt;br&gt;Por favor, siga &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;a guia de início rápido do yuzu&lt;/a&gt; para fazer o redespejo dos seus arquivos.&lt;br&gt;Você pode consultar a wiki do yuzu&lt;/a&gt; ou o Discord do yuzu&lt;/a&gt; para obter ajuda.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>Ocorreu um erro desconhecido. Por favor, veja o log para mais detalhes.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation>Encerrando software...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>Save Data</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Mod Data</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>Erro ao abrir a pasta %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>A Pasta não existe!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>Erro ao abrir os Shader Cache transferíveis</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation>Falha ao criar o diretório de cache de shaders para este título.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation>Erro Removendo Conteúdos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation>Erro ao Remover Atualização</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation>Erro Removendo DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation>Remover Conteúdo Instalado do Jogo?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation>Remover Atualização Instalada do Jogo?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation>Remover DLC Instalada do Jogo?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>Remover Entrada</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>Removido com Sucesso</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>Removida a instalação do jogo base com sucesso.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>O jogo base não está instalado no NAND e não pode ser removido.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>Removida a actualização instalada com sucesso.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>Não há actualização instalada neste título.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>Não há DLC instalado neste título.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>Removido DLC instalado %1 com sucesso.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation>Apagar o cache de shaders transferível do OpenGL?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation>Apagar o cache de shaders transferível do Vulkan?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation>Apagar todos os caches de shaders transferíveis?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>Remover Configuração Personalizada do Jogo?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation>Remover Armazenamento da Cache?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>Remover Ficheiro</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>Error ao Remover Cache de Shader Transferível</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>O Shader Cache para este titulo não existe.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>Removido a Cache de Shader Transferível com Sucesso.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>Falha ao remover a cache de shader transferível.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation>Erro ao Remover Cache de Pipeline do Driver Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation>Falha ao remover o pipeline de cache do driver.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation>Erro ao remover os caches de shaders transferíveis</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation>Os caches de shaders transferíveis foram removidos com sucesso.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation>Falha ao remover o diretório do cache de shaders transferível.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>Erro ao Remover Configuração Personalizada</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>Não existe uma configuração personalizada para este titúlo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>Removida a configuração personalizada do jogo com sucesso.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>Falha ao remover a configuração personalizada do jogo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>A Extração de RomFS falhou!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>Houve um erro ao copiar os arquivos RomFS ou o usuário cancelou a operação.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>Cheio</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>Esqueleto</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>Selecione o modo de despejo do RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Por favor, selecione a forma como você gostaria que o RomFS fosse despejado&lt;br&gt;Full irá copiar todos os arquivos para o novo diretório enquanto&lt;br&gt;skeleton criará apenas a estrutura de diretórios.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation>Não há espaço suficiente em %1 para extrair o RomFS. Por favor abra espaço ou selecione um diretório diferente em Emulação &gt; Configurar &gt; Sistema &gt; Sistema de arquivos &gt; Extrair raiz</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>Extraindo o RomFS ...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Cancelar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>Extração de RomFS Bem-Sucedida!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>A operação foi completa com sucesso.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation>Criar Atalho</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation>Isso irá criar um atalho para o AppImage atual. Isso pode não funcionar corretamente se você fizer uma atualização. Continuar?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation>Não foi possível criar um atalho na área de trabalho. O caminho &quot;%1&quot; não existe.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Não foi possível criar um atalho no menu de aplicativos. O caminho &quot;%1&quot; não existe e não pode ser criado.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation>Criar Ícone</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Não foi possível criar o arquivo de ícone. O caminho &quot;%1&quot; não existe e não pode ser criado.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation>Iniciar %1 com o Emulador Yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation>Falha ao criar um atalho em %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation>Atalho criado com sucesso em %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>Erro ao abrir %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Selecione o Diretório</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Propriedades</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>As propriedades do jogo não puderam ser carregadas.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Executáveis Switch (%1);;Todos os Ficheiros (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Carregar Ficheiro</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Abrir o directório ROM extraído</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Diretório inválido selecionado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>O diretório que você selecionou não contém um arquivo &apos;Main&apos;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>Ficheiro Switch Instalável (*.nca *.nsp *.xci);;Arquivo de Conteúdo Nintendo (*.nca);;Pacote de Envio Nintendo (*.nsp);;Imagem de Cartucho NX (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>Instalar Ficheiros</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation><numerusform>%n arquivo restante</numerusform><numerusform>%n ficheiro(s) remanescente(s)</numerusform><numerusform>%n ficheiro(s) remanescente(s)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>Instalando arquivo &quot;%1&quot;...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>Instalar Resultados</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>Para evitar possíveis conflitos, desencorajamos que os utilizadores instalem os jogos base na NAND.
Por favor, use esse recurso apenas para instalar atualizações e DLC.</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Aplicação do sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Arquivo do sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Atualização do aplicativo do sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Pacote de Firmware (Tipo A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Pacote de Firmware (Tipo B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Jogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Actualização do Jogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>DLC do Jogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Título Delta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Selecione o tipo de instalação do NCA ...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>Por favor, selecione o tipo de título que você gostaria de instalar este NCA como:
(Na maioria dos casos, o padrão &apos;Jogo&apos; é suficiente).</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Falha na instalação</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>O tipo de título que você selecionou para o NCA é inválido.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Arquivo não encontrado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Arquivo &quot;%1&quot; não encontrado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation>Requisitos de hardware não atendidos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation>Seu sistema não atende os requisitos de harwdare. O relatório de compatibilidade foi desabilitado.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>Conta Yuzu Ausente</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>Para enviar um caso de teste de compatibilidade de jogos, você deve vincular sua conta yuzu.&lt;br&gt;&lt;br/&gt;Para vincular sua conta yuzu, vá para Emulação &amp;gt; Configuração &amp;gt; Rede.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>Erro ao abrir URL</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>Não foi possível abrir o URL &quot;%1&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation>Gravando TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>Sobrescrever arquivo do jogador 1?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>Configação inválida detectada</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>O comando portátil não pode ser usado no modo encaixado na base. O Pro controller será selecionado.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>O amiibo atual foi removido</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>Erro</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation>O jogo atual não está procurando amiibos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Arquivo Amiibo (%1);; Todos os Arquivos (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Carregar Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Erro ao carregar dados do Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation>O arquivo selecionado não é um amiibo válido</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation>O arquivo selecionado já está em uso</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation>Ocorreu um erro desconhecido</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Captura de Tela</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>Imagem PNG (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>Situação TAS: Rodando %1%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>Situação TAS: Gravando %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation>Situação TAS: Repouso %1%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>Situação TAS: Inválido</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation>&amp;Parar de rodar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>&amp;Começar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>Parar G&amp;ravação</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>G&amp;ravação</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>Escala: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Velocidade: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Velocidade: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation>Jogo: %1 FPS (Desbloqueado)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Jogo: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Quadro: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>Sem AA</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation>VOLUME: MUDO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation>VOLUME: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>Confirme a rederivação da chave</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5620,37 +4715,37 @@ e opcionalmente faça backups.
Isso irá excluir os seus arquivos de chave gerados automaticamente e executará novamente o módulo de derivação de chave.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>Fusíveis em Falta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation>- BOOT0 em Falta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation>- BCPKG2-1-Normal-Main em Falta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation>- PRODINFO em Falta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>Componentes de Derivação em Falta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation>Chaves de encriptação faltando. &lt;br&gt;Por favor, siga &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;o guia de início rápido&lt;/a&gt; para extrair suas chaves, firmware e jogos. &lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5659,49 +4754,49 @@ Isto pode demorar até um minuto, dependendo
do desempenho do seu sistema.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>Derivando Chaves</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation>Falha a desencriptar o arquivo do sistema</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation>Chaves de encriptação falharam a desencriptar o firmware. &lt;br&gt;Por favor segue &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; para obter todas as tuas chaves, firmware e jogos.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>Selecione o destino de despejo do RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>Por favor, selecione qual o RomFS que você gostaria de despejar.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Tem a certeza que quer fechar o yuzu?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Tem a certeza de que quer parar a emulação? Qualquer progresso não salvo será perdido.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5710,142 +4805,142 @@ Would you like to bypass this and exit anyway?</source>
Deseja ignorar isso e sair mesmo assim?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Nenhum</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
- <translation type="unfinished"/>
+ <translation>Mais próximo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Bilinear</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Bicúbico</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>Gaussiano</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Ancorado</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Portátil</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation>Normal</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation>Alto</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
- <translation type="unfinished"/>
+ <translation>Extremo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulcano</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
- <translation type="unfinished"/>
+ <translation>OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
- <translation type="unfinished"/>
+ <translation>Nenhum (desativado)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
- <translation type="unfinished"/>
+ <translation>GLSL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
- <translation type="unfinished"/>
+ <translation>GLASM</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
- <translation type="unfinished"/>
+ <translation>SPIRV</translation>
</message>
</context>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGL não está disponível!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation>Shared contexts do OpenGL não são suportados.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>yuzu não foi compilado com suporte OpenGL.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>Erro ao inicializar OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>O seu GPU pode não suportar OpenGL, ou não tem os drivers gráficos mais recentes.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>Erro ao inicializar o OpenGL 4.6!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>O teu GPU pode não suportar OpenGL 4.6, ou não tem os drivers gráficos mais recentes.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>Sua GPU pode não suportar uma ou mais extensões necessárias do OpenGL. Verifique se você possui a última versão dos drivers gráficos.&lt;br&gt;&lt;br&gt;Renderizador GL:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Extensões não suportadas:&lt;br&gt;%2</translation>
</message>
@@ -5853,173 +4948,178 @@ Deseja ignorar isso e sair mesmo assim?</translation>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>Favorito</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>Iniciar jogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>Iniciar jogo sem configuração personalizada</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Abrir Localização de Dados Salvos</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Abrir a Localização de Dados do Mod</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation>Abrir cache de pipeline transferível</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Remover</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>Remover Actualizações Instaladas</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>Remover Todos os DLC Instalados</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>Remover Configuração Personalizada</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation>Remove a Cache do Armazenamento </translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation>Remover cache de pipeline do OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation>Remover cache de pipeline do Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>Remover todos os caches de pipeline</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>Remover Todos os Conteúdos Instalados</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>Despejar RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>Extrair RomFS para SDMC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Copiar título de ID para a área de transferência</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>Navegue para a Entrada da Base de Dados de Jogos</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation>Criar Atalho</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation>Adicionar à Área de Trabalho</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation>Adicionar ao Menu de Aplicativos</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Propriedades</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>Examinar Sub-pastas</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>Remover diretório do Jogo</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ Mover para Cima</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ Mover para Baixo</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>Abrir Localização do diretório</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Limpar</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Nome</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Compatibilidade</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Add-ons</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Tipo de Arquivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Tamanho</translation>
</message>
@@ -6090,7 +5190,7 @@ Deseja ignorar isso e sair mesmo assim?</translation>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>Clique duas vezes para adicionar uma nova pasta à lista de jogos</translation>
</message>
@@ -6103,12 +5203,12 @@ Deseja ignorar isso e sair mesmo assim?</translation>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Filtro:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Digite o padrão para filtrar</translation>
</message>
@@ -6184,12 +5284,12 @@ Deseja ignorar isso e sair mesmo assim?</translation>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>Erro</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation>Falha ao anunciar a sala ao lobby público. Para hospedar uma sala pública você deve ter configurado uma conta válida do yuzu em Emulação -&gt; Configurações -&gt; Web. Se você não quer publicar uma sala no lobby público seleciona a opção Não listado.
@@ -6199,13 +5299,11 @@ Mensagem de depuração:</translation>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation>Mutar/Desmutar Áudio</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6226,111 +5324,113 @@ Mensagem de depuração:</translation>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation>Janela Principal</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation>Volume Menos</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation>Volume Mais</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Captura de Tela</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation>Alterar Filtro de Adaptação</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation>Alterar Modo de Ancoragem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation>Alterar Precisão da GPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation>Continuar/Pausar Emulação</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation>Sair da Tela Cheia</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation>Sair do yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Tela Cheia</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Carregar Ficheiro</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation>Carregar/Remover Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation>Reiniciar Emulação</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation>Parar Emulação</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation>Gravar TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation>Reiniciar TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation>Iniciar/Parar TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation>Alternar Barra de Filtro</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation>Alternar Limite de Quadros por Segundo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation>Alternar o Giro do Mouse</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation>Alternar Barra de Status</translation>
</message>
@@ -6450,42 +5550,42 @@ Mensagem de depuração:</translation>
<translation>Atualizar Lobby</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation>Senha Necessária para Entrar</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation>Senha:</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Jogadores</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation>Nome da Sala</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation>Jogo Preferencial</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation>Anfitrião</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation>Atualizando</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation>Atualizar Lista</translation>
</message>
@@ -6573,172 +5673,182 @@ Mensagem de depuração:</translation>
<translation>&amp;TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Ajuda</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>&amp;Instalar arquivos na NAND...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>C&amp;arregar arquivo...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>Carregar &amp;pasta...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>&amp;Sair</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>&amp;Pausa</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>&amp;Parar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>&amp;Reinicializar chaves...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>&amp;Sobre o yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>Modo de &amp;janela única</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>Con&amp;figurar...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>Exibir barra de títul&amp;os de widgets afixados</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>Mostrar Barra de &amp;Filtros</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>Mostrar Barra de &amp;Estado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Mostrar Barra de Estado</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation>&amp;Navegar no Lobby de Salas Públicas</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation>&amp;Criar Sala</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation>&amp;Sair da Sala</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation>Conectar &amp;Diretamente Numa Sala</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation>Exibir &amp;Sala Atual</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>T&amp;ela cheia</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>&amp;Reiniciar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation>Carregar/Remover &amp;Amiibo...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>&amp;Reportar compatibilidade</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation>Abrir Página de &amp;Mods</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation>Abrir &amp;guia de início rápido</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>&amp;Perguntas frequentes</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation>Abrir pasta &amp;yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>&amp;Captura de Tela</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation>&amp;Configurar TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation>Configurar jogo atual...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>&amp;Começar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation>&amp;Restaurar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>G&amp;ravar</translation>
</message>
@@ -6910,7 +6020,7 @@ Mensagem de Depuração:</translation>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="40"/>
<source>An unknown error occurred. If this error continues to occur, please open an issue</source>
- <translation type="unfinished"/>
+ <translation>Ocorreu um erro desconhecido. Se esse erro continuar ocorrendo, recomendamos abrir uma issue.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="43"/>
@@ -6920,40 +6030,42 @@ Mensagem de Depuração:</translation>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="45"/>
<source>You have been kicked by the room host.</source>
- <translation type="unfinished"/>
+ <translation>Você foi expulso(a) pelo anfitrião da sala.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="47"/>
<source>IP address is already in use. Please choose another.</source>
- <translation type="unfinished"/>
+ <translation>Este endereço IP já está em uso. Por favor, escolha outro.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="49"/>
<source>You do not have enough permission to perform this action.</source>
- <translation type="unfinished"/>
+ <translation>Você não tem permissão suficiente para realizar esta ação.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="50"/>
<source>The user you are trying to kick/ban could not be found.
They may have left the room.</source>
- <translation type="unfinished"/>
+ <translation>O usuário que você está tentando expulsar/banir não pôde ser encontrado.
+Essa pessoa pode já ter saído da sala.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="52"/>
<source>No valid network interface is selected.
Please go to Configure -&gt; System -&gt; Network and make a selection.</source>
- <translation type="unfinished"/>
+ <translation>Nenhuma interface de rede válida foi detectada.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="68"/>
<source>Game already running</source>
- <translation type="unfinished"/>
+ <translation>O jogo já está rodando</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="69"/>
<source>Joining a room when the game is already running is discouraged and can cause the room feature not to work correctly.
Proceed anyway?</source>
- <translation type="unfinished"/>
+ <translation>Entrar em uma sala enquanto o jogo já está rodando não é recomendado e pode fazer com que o recurso de sala não funcione corretamente.
+Você deseja prosseguir mesmo assim?</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="75"/>
@@ -6963,17 +6075,17 @@ Proceed anyway?</source>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="76"/>
<source>You are about to close the room. Any network connections will be closed.</source>
- <translation type="unfinished"/>
+ <translation>Você está prestes a fechar a sala. Todas conexões de rede serão encerradas.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="81"/>
<source>Disconnect</source>
- <translation type="unfinished"/>
+ <translation>Desconectar</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="82"/>
<source>You are about to leave the room. Any network connections will be closed.</source>
- <translation type="unfinished"/>
+ <translation>Você está prestes a sair da sala. Todas conexões de rede serão encerradas.</translation>
</message>
</context>
<context>
@@ -7030,17 +6142,17 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/multiplayer/lobby_p.h" line="236"/>
<source>%1 is not playing a game</source>
- <translation type="unfinished"/>
+ <translation>%1 não está jogando um jogo</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby_p.h" line="238"/>
<source>%1 is playing %2</source>
- <translation type="unfinished"/>
+ <translation>%1 está jogando %2</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="142"/>
<source>Not playing a game</source>
- <translation type="unfinished"/>
+ <translation>Não está jogando um jogo</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="244"/>
@@ -7357,12 +6469,12 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="80"/>
<source>Stick L</source>
- <translation type="unfinished"/>
+ <translation>Analógico esquerdo</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="82"/>
<source>Stick R</source>
- <translation type="unfinished"/>
+ <translation>Analógico direito</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="94"/>
@@ -7419,25 +6531,25 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="193"/>
<source>%1%2%3%4</source>
- <translation type="unfinished"/>
+ <translation>%1%2%3%4</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="207"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="231"/>
<source>%1%2%3Hat %4</source>
- <translation type="unfinished"/>
+ <translation>%1%2%3Alavanca %4</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="211"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="234"/>
<source>%1%2%3Axis %4</source>
- <translation type="unfinished"/>
+ <translation>%1%2%3Eixo %4</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="225"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="240"/>
<source>%1%2%3Button %4</source>
- <translation type="unfinished"/>
+ <translation>%1%2%3Botão %4</translation>
</message>
</context>
<context>
@@ -7445,17 +6557,17 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="14"/>
<source>Amiibo Settings</source>
- <translation type="unfinished"/>
+ <translation>Configurações do amiibo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="169"/>
<source>Amiibo Info</source>
- <translation type="unfinished"/>
+ <translation>Informação do amiibo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="177"/>
<source>Series</source>
- <translation type="unfinished"/>
+ <translation>Série </translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="197"/>
@@ -7470,52 +6582,52 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="242"/>
<source>Amiibo Data</source>
- <translation type="unfinished"/>
+ <translation>Dados de amiibo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="250"/>
<source>Custom Name</source>
- <translation type="unfinished"/>
+ <translation>Nome personalizado</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="270"/>
<source>Owner</source>
- <translation type="unfinished"/>
+ <translation>Proprietário</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="290"/>
<source>Creation Date</source>
- <translation type="unfinished"/>
+ <translation>Data de criação</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="307"/>
<source>dd/MM/yyyy</source>
- <translation type="unfinished"/>
+ <translation>dd/mm/aaaa</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="314"/>
<source>Modification Date</source>
- <translation type="unfinished"/>
+ <translation>Data de modificação</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="331"/>
<source>dd/MM/yyyy </source>
- <translation type="unfinished"/>
+ <translation>dd/mm/aaaa </translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="349"/>
<source>Game Data</source>
- <translation type="unfinished"/>
+ <translation>Dados do jogo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="355"/>
<source>Game Id</source>
- <translation type="unfinished"/>
+ <translation>ID do jogo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="384"/>
<source>Mount Amiibo</source>
- <translation type="unfinished"/>
+ <translation>Montar amiibo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="390"/>
@@ -7525,32 +6637,32 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="413"/>
<source>File Path</source>
- <translation type="unfinished"/>
+ <translation>Caminho de arquivo</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
- <translation type="unfinished"/>
+ <translation>Nenhum dado do jogo presente</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
- <translation type="unfinished"/>
+ <translation>Os seguintes dados de amiibo serão formatados:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
- <translation type="unfinished"/>
+ <translation>Os seguintes dados do jogo serão removidos:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
- <translation type="unfinished"/>
+ <translation>Definir apelido e proprietário:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
- <translation type="unfinished"/>
+ <translation>Deseja restaurar este amiibo?</translation>
</message>
</context>
<context>
@@ -7589,7 +6701,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Comando Pro</translation>
</message>
@@ -7602,7 +6714,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Par de Joycons</translation>
</message>
@@ -7615,7 +6727,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Joycon Esquerdo</translation>
</message>
@@ -7628,7 +6740,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Joycon Direito</translation>
</message>
@@ -7657,7 +6769,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Portátil</translation>
</message>
@@ -7773,32 +6885,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>Controlador de depuração</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>Poké Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>Controle do NES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>Controle do SNES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>Controle do Nintendo 64</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>Mega Drive</translation>
</message>
@@ -7858,7 +6970,7 @@ Tente novamente ou entre em contato com o desenvolvedor do software.</translatio
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="167"/>
<source>Profile Creator</source>
- <translation type="unfinished"/>
+ <translation>Criador de perfil</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="170"/>
@@ -7869,57 +6981,57 @@ Tente novamente ou entre em contato com o desenvolvedor do software.</translatio
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="173"/>
<source>Profile Icon Editor</source>
- <translation type="unfinished"/>
+ <translation>Editor de ícone de perfil</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="176"/>
<source>Profile Nickname Editor</source>
- <translation type="unfinished"/>
+ <translation>Editor do apelido de perfil</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="198"/>
<source>Who will receive the points?</source>
- <translation type="unfinished"/>
+ <translation>Quem receberá os pontos?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="201"/>
<source>Who is using Nintendo eShop?</source>
- <translation type="unfinished"/>
+ <translation>Quem está usando o Nintendo eShop?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="204"/>
<source>Who is making this purchase?</source>
- <translation type="unfinished"/>
+ <translation>Quem está fazendo essa compra?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="207"/>
<source>Who is posting?</source>
- <translation type="unfinished"/>
+ <translation>Quem está postando?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="210"/>
<source>Select a user to link to a Nintendo Account.</source>
- <translation type="unfinished"/>
+ <translation>Selecione um usuário para vincular a uma conta Nintendo.</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="213"/>
<source>Change settings for which user?</source>
- <translation type="unfinished"/>
+ <translation>Mudar configurações para qual usuário?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="216"/>
<source>Format data for which user?</source>
- <translation type="unfinished"/>
+ <translation>Formatar dados para qual usuário?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="219"/>
<source>Which user will be transferred to another console?</source>
- <translation type="unfinished"/>
+ <translation>Qual usuário será transferido para outro console?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="222"/>
<source>Send save data for which user?</source>
- <translation type="unfinished"/>
+ <translation>Enviar dados salvos para qual usuário?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="226"/>
@@ -7985,7 +7097,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="158"/>
<source>[%1] %2</source>
- <translation type="unfinished"/>
+ <translation>[%1] %2</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="184"/>
diff --git a/dist/languages/ru_RU.ts b/dist/languages/ru_RU.ts
index b623a5dbd..a8432bf83 100644
--- a/dist/languages/ru_RU.ts
+++ b/dist/languages/ru_RU.ts
@@ -366,78 +366,32 @@ This would ban both their forum username and their IP address.</source>
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Аудио</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Движок вывода:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>Устройство вывода:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>Устройство ввода:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>Режим вывода звука:</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Моно</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Стерео</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Объёмный звук</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Использовать общую громкость</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Установить громкость:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Громкость:</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation>Авто (%1)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Заглушить звук в фоновом режиме</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation>По умолчанию (%1)</translation>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Аудио</translation>
</message>
</context>
<context>
@@ -501,139 +455,25 @@ This would ban both their forum username and their IP address.</source>
<translation>ЦП</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Общие</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Точность:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Авто</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Точно</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Небезопасно</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>Параноик (отключает большинство оптимизаций)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Мы рекомендуем установить точность на &quot;Авто&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Небезопасные настройки оптимизации ЦП</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Эти настройки уменьшают точность ради скорости.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Эта опция повышает скорость за счет снижения точности инструкций fused-multiply-add на ЦП без встроенной поддержки FMA.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Отключить FMA (улучшает производительность на ЦП без FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Эта опция повышает скорость некоторых приближенных функций с плавающей точкой за счет использования менее точных нативных приближений&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>Ускоренные FRSQRTE и FRECPE</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Эта опция повышает скорость работы 32-битных ASIMD-функций с плавающей запятой, работая с неправильными режимами округления.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Ускоренные инструкции ASIMD (только 32 бит)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Эта опция повышает скорость, удаляя проверку NaN. Обратите внимание, что это также снижает точность некоторых инструкций с плавающей точкой.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Неточная обработка NaN</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Эта опция повышает скорость за счет исключения проверки безопасности перед каждым чтением/записью памяти в гостевом режиме. Отключение этой опции может позволить игре читать/записывать память эмулятора.
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>Отключить проверку адресного пространства</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Эта опция повышает скорость, полагаясь только на семантику cmpxchg для обеспечения безопасности инструкций исключительного доступа. Обратите внимание, что это может привести к полным зависаниям и другим условиям гонки.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>Игнорировать глобальный мониторинг</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>Настройки ЦП недоступны, пока запущена игра.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -852,222 +692,227 @@ This would ban both their forum username and their IP address.</source>
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>Отладчик</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>Включить GDB Stub</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Порт:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Журналирование</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Глобальный фильтр журналов</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>Показывать журнал в консоли</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Открыть папку для журналов</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Глобальный фильтр журналов</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Если включено, максимальный размер журнала увеличивается со 100 МБ до 1 ГБ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Включить расширенное ведение журнала**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Показывать журнал в консоли</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>Строка аргументов</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Графика</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>Если включено, графический API переходит в более медленный режим отладки</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Включить отладку графики</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>Если включено, включает дампы крашей Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Если включено, шейдеры выполняются без изменения логики цикла</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Включить Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Отключить проверку безопасности цикла</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>Если включено, будет дампить все оригинальные шейдеры ассемблера из кэша шейдеров на диске или игры как найденные</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>Если флажок установлен, он отключает функции макроса HLE. Включение этого параметра замедляет работу игр</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>Дамп игровых шейдеров</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>Выключить макрос HLE</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>Если включено, будет дампить все макропрограммы ГП</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>Дамп макросов Maxwell</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>Если включено, отключает компилятор макроса Just In Time. Включение этого параметра замедляет работу игр</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Отключить макрос JIT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation>Если флажок установлен, он отключает функции макроса HLE. Включение этого параметра замедляет работу игр</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>Если включено, включает дампы крашей Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation>Выключить макрос HLE</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Включить Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
<source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation>Если включено, yuzu будет записывать статистику о скомпилированном кэше конвейера</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
<source>Enable Shader Feedback</source>
<translation>Включить обратную связь о шейдерах</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>Если включено, шейдеры выполняются без изменения логики цикла</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>Отключить проверку безопасности цикла</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>Если включено, отключает компилятор макроса Just In Time. Включение этого параметра замедляет работу игр</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Отладка</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Отключить макрос JIT</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation>Включить службу отчётов в развернутом виде**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Если включено, графический API переходит в более медленный режим отладки</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>Включить журнал доступа к ФС</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Включить отладку графики</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation>Включите эту опцию, чтобы вывести на консоль последний сгенерированный список аудиокоманд. Влияет только на игры, использующие аудио рендерер.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Если включено, будет дампить все оригинальные шейдеры ассемблера из кэша шейдеров на диске или игры как найденные</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation>Дамп аудиокоманд в консоль**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>Дамп игровых шейдеров</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>Создавать мини-дамп после краша</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
<source>Advanced</source>
<translation>Расширенные</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>Позволяет yuzu проверять наличие рабочей среды Vulkan при запуске программы. Отключите эту опцию, если это вызывает проблемы с тем, что внешние программы видят yuzu.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>Выполнять проверку Vulkan при запуске</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Отключить веб-апплет</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Включить все типы контроллеров</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Включить автоподставку**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Режим киоска (Квест)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>Включить отладку ЦП</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>Включить отладочные утверждения</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>Включить автоподставку**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Отладка</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>Включить все типы контроллеров</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>Включить журнал доступа к ФС</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Отключить веб-апплет</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>Создавать мини-дамп после краша</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation>Позволяет yuzu проверять наличие рабочей среды Vulkan при запуске программы. Отключите эту опцию, если это вызывает проблемы с тем, что внешние программы видят yuzu.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>Включите эту опцию, чтобы вывести на консоль последний сгенерированный список аудиокоманд. Влияет только на игры, использующие аудио рендерер.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>Выполнять проверку Vulkan при запуске</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation>Дамп аудиокоманд в консоль**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>Включить службу отчётов в развернутом виде**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**Это будет автоматически сброшено после закрытия yuzu.</translation>
</message>
@@ -1082,12 +927,12 @@ This would ban both their forum username and their IP address.</source>
<translation>yuzu необходимо перезапустить, чтобы применить эту настройку.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>Веб-апплет не скомпилирован</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation>Создание мини-дампа не скомпилировано</translation>
</message>
@@ -1137,78 +982,83 @@ This would ban both their forum username and their IP address.</source>
<translation>Параметры yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Некоторые настройки доступны только тогда, когда игра не запущена.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Звук</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>ЦП</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Отладка</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Файловая система</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Общие</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Графика</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>ГрафикаРасширенные</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Горячие клавиши</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Управление</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Профили</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Сеть</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>Система</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Список игр</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Сеть</translation>
</message>
@@ -1367,57 +1217,17 @@ This would ban both their forum username and their IP address.</source>
<translation>Общие</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Ограничение процента cкорости</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Многоядерная эмуляция ЦП</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Подтверждать выход во время эмуляции</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Спрашивать пользователя при запуске игры</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Приостанавливать эмуляцию в фоновом режиме</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Спрятать мышь при неактивности</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Сбросить все настройки</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>Это сбросит все настройки и удалит все конфигурации под отдельные игры. При этом не будут удалены пути для игр, профили или профили ввода. Продолжить?</translation>
</message>
@@ -1440,311 +1250,43 @@ This would ban both their forum username and their IP address.</source>
<translation>Настройки API</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>Бэкенд шейдеров:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Устройство:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Выкл.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Настройки графики</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>Использовать кэш конвейера на диске</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Использовать асинхронную эмуляцию ГП</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>Ускорение декодирования текстур ASTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation>Режим верт. синхронизации:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation>FIFO (Верт. синхронизация) не пропускает кадры и не имеет разрывов, но ограничен частотой обновления экрана.
-FIFO Relaxed похож на FIFO, но может иметь разрывы при восстановлении после просадок.
-Mailbox может иметь меньшую задержку, чем FIFO, и не имеет разрывов, но может пропускать кадры.
-Моментальная (без синхронизации) просто показывает все кадры и может иметь разрывы.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>Эмуляция NVDEC:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Отсутствие видеовыхода</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>Декодирование видео на ЦП</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>Декодирование видео на ГП (по умолчанию)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Полноэкранный режим:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Окно без границ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Эксклюзивный полноэкранный</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Соотношение сторон:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Стандартное (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Заставить 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Заставить 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>Заставить 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Растянуть до окна</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>Разрешение:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [ЭКСПЕРИМЕНТАЛЬНО]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [ЭКСПЕРИМЕНТАЛЬНО]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation>1.5X (1080p/1620p) [ЭКСПЕРИМЕНТАЛЬНО]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation>7X (5040p/7560p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation>8X (5760p/8640p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>Фильтр адаптации окна:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Ближайший сосед</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Билинейный</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Бикубический</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>Гаусс</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️ Super Resolution</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>Метод сглаживания:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation>Использовать глобальную резкость FSR</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation>Установить резкость FSR</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation>Резкость FSR:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation>100%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Использовать общий фоновый цвет</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Установить фоновый цвет:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Фоновый цвет:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (ассемблерные шейдеры, только для NVIDIA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation>SPIR-V (Экспериментально, только для Mesa)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation>Отключена</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation>Верт. синхронизация отключена</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation>Рекомендуется</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation>Включена</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation>Верт. синхронизация включена</translation>
</message>
@@ -1766,163 +1308,6 @@ Mailbox может иметь меньшую задержку, чем FIFO, и
<source>Advanced Graphics Settings</source>
<translation>Расширенные настройки графики</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Уровень точности:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation>Рекомпрессия ASTC:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation>Без сжатия (наилучшее качество)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation>BC1 (низкое качество)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation>BC3 (среднее качество)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation>Включите асинхронное отображение (только для Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation>Выполняет работу в фоновом режиме в ожидании графических команд, не позволяя ГП снижать тактовую частоту.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation>Принудительно заставить максимальную тактовую частоту (только для Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation>Включает асинхронное декодирование текстур ASTC, что может уменьшить фризы при загрузке. Эта функция является экспериментальной.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation>Асинхронное декодирование текстур ASTC (Хак)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation>Использует реактивную очистку вместо прогнозируемой. Это позволяет более точно синхронизировать память.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation>Включить реактивную очистку</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Включает асинхронную компиляцию шейдеров, что уменьшит зависания из-за шейдеров. Функция является экспериментальной.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>Использовать асинхронное построение шейдеров (Хак)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>Включает функцию Fast GPU Time. Этот параметр заставит большинство игр работать в максимальном родном разрешении.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>Включить Fast GPU Time (Хак)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation>Включает кэш конвейера, специфичный для производителя ГП. Эта опция может значительно улучшить время загрузки шейдеров в тех случаях, когда драйвер Vulkan не хранит внутренние файлы кэша конвейера.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation>Использовать конвейерный кэш Vulkan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation>Включить вычислительные конвейеры, требуемые некоторыми играми. Этот параметр существует только для проприетарных драйверов Intel, и при его включении возможны сбои.
-Вычислительные конвейеры всегда включены для всех остальных драйверов.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation>Включить вычислительные конвейеры (только для Intel Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Анизотропная фильтрация:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>Автоматически</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Стандартная</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2686,10 +2071,10 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3085"/>
<source>Mouse panning</source>
- <translation type="unfinished"/>
+ <translation>Панорамирование мыши</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Настроить</translation>
</message>
@@ -3113,75 +2498,99 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="6"/>
<source>Configure mouse panning</source>
- <translation type="unfinished"/>
+ <translation>Настроить панорамирование мыши</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation>Включить</translation>
+ <source>Enable mouse panning</source>
+ <translation>Включить панорамирование мыши</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
- <translation type="unfinished"/>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
+ <translation>Можно переключать горячей клавишей. Горячая клавиша по умолчанию - Ctrl + F9</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
<source>Sensitivity</source>
- <translation type="unfinished"/>
+ <translation>Чувствительность</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
- <translation type="unfinished"/>
+ <translation>Горизонтальная</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
- <translation type="unfinished"/>
+ <translation>Вертикальная</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="85"/>
<source>Deadzone counterweight</source>
- <translation type="unfinished"/>
+ <translation>Противовес мертвой зоны</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="88"/>
<source>Counteracts a game&apos;s built-in deadzone</source>
- <translation type="unfinished"/>
+ <translation>Противодействие встроенным в игры мертвым зонам</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation>Мертвая зона</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
- <translation type="unfinished"/>
+ <translation>Возврат стика</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
- <translation type="unfinished"/>
+ <translation>Сила</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
- <translation type="unfinished"/>
+ <translation>Минимум</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>По умолчанию</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation>Панорамирование мышью лучше работает при мертвой зоне 0% и диапазоне 100%.
+Текущие значения: %1% и %2% соответственно.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation>Эмуляция мыши включена. Это несовместимо с панорамированием мыши.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>Эмулированная мышь включена</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation>Ввод реальной мыши и панорамирование мышью несовместимы. Пожалуйста, отключите эмулированную мышь в расширенных настройках ввода, чтобы разрешить панорамирование мышью.</translation>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3214,100 +2623,95 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Диалог</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Информация</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Название</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>ID приложения</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Название файла</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Формат</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Версия</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Размер</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Разработчик</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Дополнения</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Некоторые настройки доступны только тогда, когда игра не запущена.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Общие</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Дополнения</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>Система</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>ЦП</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Графика</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Расш. Графика</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Звук</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation>Профили управления</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Свойства</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Использовать глобальную настройку (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3503,7 +2907,7 @@ UUID: %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="26"/>
<source>To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game.</source>
- <translation type="unfinished"/>
+ <translation>Чтобы использовать контроллер Ring, настройте игрока 1 как правый Joy-Con (как физический, так и эмулированный), а игрока 2 — как левый Joy-Con (левый физический и двойной эмулированный) перед началом игры.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="52"/>
@@ -3608,7 +3012,7 @@ UUID: %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="309"/>
<source>The current mapped device is not connected</source>
- <translation type="unfinished"/>
+ <translation>Текущее устройство не подключено</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="313"/>
@@ -3630,412 +3034,17 @@ UUID: %2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>Система</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Настройки cистемы</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Регион:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Авто</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>По умолчанию</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Куба</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Египт</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>Эйре</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>GB</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-Эйре</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Гринвич</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Гонконг</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>Исландия</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>Иран</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>Израиль</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Ямайка</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Япония</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>Кваджалейн</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Ливия</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Навахо</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>NZ</translation>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation>Ядро</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>NZ-CHAT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Польша</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Португалия</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Сингапур</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Турция</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Универсальный</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>Зулусы</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>США</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Европа</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Австралия</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>Китай</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Корея</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Тайвань</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Часовой пояс:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Примечание: может быть перезаписано если регион выбирается автоматически</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Японский (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation>Американский английский</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Французский (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Немецкий (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Итальянский (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Испанский (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Китайский</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Корейский (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Голландский (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Португальский (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Русский</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Тайваньский</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Британский английский</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Канадский французский</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Латиноамериканский испанский</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Упрощённый китайский</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Традиционный китайский (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>Бразильский португальский (português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>Пользовательский RTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Язык</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>Сид RNG</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation>Название устройства</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation>Небезопасное расширение компоновки памяти (8 ГБ DRAM)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Настройки системы доступны только тогда, когда игра не запущена.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation>Внимание: язык &quot;%1&quot; не подходит для региона &quot;%2&quot;</translation>
</message>
@@ -4244,64 +3253,64 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Нет</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>Маленький (32х32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>Стандартный (64х64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>Большой (128х128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>Полноразмерный (256х256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>Маленький (24х24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>Стандартный (48х48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>Большой (72х72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Название файла</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>Тип файла</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>ID приложения</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>Название игры</translation>
</message>
@@ -4404,15 +3413,31 @@ Drag points to change position, or double-click table cells to edit values.</sou
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Разрешение:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>Выберите папку для скриншотов...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4713,12 +3738,12 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation>Подключение</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation>Подключиться</translation>
</message>
@@ -4726,575 +3751,612 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Анонимные данные собираются для того,&lt;/a&gt; чтобы помочь улучшить работу yuzu. &lt;br/&gt;&lt;br/&gt;Хотели бы вы делиться данными об использовании с нами?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Телеметрия</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation>Обнаружена поврежденная установка Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation>Не удалось выполнить инициализацию Vulkan во время загрузки.&lt;br&gt;&lt;br&gt;Нажмите &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;здесь для получения инструкций по устранению проблемы&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
- <translation type="unfinished"/>
+ <translation>Запущена игра</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>Загрузка веб-апплета...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Отключить веб-апплет</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation>Отключение веб-апплета может привести к неожиданному поведению и должно использоваться только с Super Mario 3D All-Stars. Вы уверены, что хотите отключить веб-апплет?
(Его можно снова включить в настройках отладки.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>Количество создаваемых шейдеров на данный момент</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation>Текущий выбранный множитель масштабирования разрешения.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>Текущая скорость эмуляции. Значения выше или ниже 100% указывают на то, что эмуляция идет быстрее или медленнее, чем на Switch.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>Количество кадров в секунду в данный момент. Значение будет меняться между играми и сценами.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Время, которое нужно для эмуляции 1 кадра Switch, не принимая во внимание ограничение FPS или вертикальную синхронизацию. Для эмуляции в полной скорости значение должно быть не больше 16,67 мс.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation>Включить звук</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation>Выключить звук</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation>Сбросить громкость</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>[&amp;C] Очистить недавние файлы</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation>Эмулированная мышь включена</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation>Ввод реальной мыши и панорамирование мышью несовместимы. Пожалуйста, отключите эмулированную мышь в расширенных настройках ввода, чтобы разрешить панорамирование мышью.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>[&amp;C] Продолжить</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>[&amp;P] Пауза</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>Предупреждение устаревший формат игры</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>Для этой игры вы используете разархивированный формат ROM&apos;а, который является устаревшим и был заменен другими, такими как NCA, NAX, XCI или NSP. В разархивированных каталогах ROM&apos;а отсутствуют иконки, метаданные и поддержка обновлений. &lt;br&gt;&lt;br&gt;Для получения информации о различных форматах Switch, поддерживаемых yuzu, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;просмотрите нашу вики&lt;/a&gt;. Это сообщение больше не будет отображаться.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>Ошибка при загрузке ROM&apos;а!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>Формат ROM&apos;а не поддерживается.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>Произошла ошибка при инициализации видеоядра.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation>yuzu столкнулся с ошибкой при запуске видеоядра. Обычно это вызвано устаревшими драйверами ГП, включая интегрированные. Проверьте журнал для получения более подробной информации. Дополнительную информацию о доступе к журналу смотрите на следующей странице: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;Как загрузить файл журнала&lt;/a&gt;. </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>Ошибка при загрузке ROM&apos;а! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation>%1&lt;br&gt;Пожалуйста, следуйте &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;краткому руководству пользователя yuzu&lt;/a&gt; чтобы пере-дампить ваши файлы&lt;br&gt;Вы можете обратиться к вики yuzu&lt;/a&gt; или Discord yuzu&lt;/a&gt; для помощи.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>Произошла неизвестная ошибка. Пожалуйста, проверьте журнал для подробностей.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-х битный)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-х битный)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation>Закрываем программу...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>Сохранения</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Данные модов</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>Ошибка при открытии папки %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>Папка не существует!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>Ошибка при открытии переносного кэша шейдеров</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation>Не удалось создать папку кэша шейдеров для этой игры.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation>Ошибка при удалении содержимого</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation>Ошибка при удалении обновлений</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation>Ошибка при удалении DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation>Удалить установленное содержимое игр?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation>Удалить установленные обновления игры?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation>Удалить установленные DLC игры?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>Удалить запись</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>Успешно удалено</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>Установленная игра успешно удалена.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>Игра не установлена в NAND и не может быть удалена.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>Установленное обновление успешно удалено.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>Для этой игры не было установлено обновление.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>Для этой игры не были установлены DLC.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>Установленное DLC %1 было успешно удалено</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation>Удалить переносной кэш шейдеров OpenGL?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation>Удалить переносной кэш шейдеров Vulkan?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation>Удалить весь переносной кэш шейдеров?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>Удалить пользовательскую настройку игры?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
- <translation>Убрать хранилище Cache?</translation>
+ <translation>Удалить кэш-хранилище?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>Удалить файл</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>Ошибка при удалении переносного кэша шейдеров</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>Кэш шейдеров для этой игры не существует.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>Переносной кэш шейдеров успешно удалён.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>Не удалось удалить переносной кэш шейдеров.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation>Ошибка при удалении конвейерного кэша Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation>Не удалось удалить конвейерный кэш шейдеров.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation>Ошибка при удалении переносного кэша шейдеров</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation>Переносной кэш шейдеров успешно удален.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation>Ошибка при удалении папки переносного кэша шейдеров.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>Ошибка при удалении пользовательской настройки</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>Пользовательская настройка для этой игры не существует.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>Пользовательская настройка игры успешно удалена.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>Не удалось удалить пользовательскую настройку игры.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>Не удалось извлечь RomFS!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>Произошла ошибка при копировании файлов RomFS или пользователь отменил операцию.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>Полный</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>Скелет</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>Выберите режим дампа RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Пожалуйста, выберите, как вы хотите выполнить дамп RomFS. &lt;br&gt;Полный скопирует все файлы в новую папку, в то время как &lt;br&gt;скелет создаст только структуру папок.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation>В %1 недостаточно свободного места для извлечения RomFS. Пожалуйста, освободите место или выберите другую папку для дампа в Эмуляция &gt; Настройка &gt; Система &gt; Файловая система &gt; Корень дампа</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>Извлечение RomFS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Отмена</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>Извлечение RomFS прошло успешно!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>Операция выполнена.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation>Создать ярлык</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation>Это создаст ярлык для текущего AppImage. Он может не работать после обновлений. Продолжить?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation>Не удается создать ярлык на рабочем столе. Путь &quot;%1&quot; не существует.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Невозможно создать ярлык в меню приложений. Путь &quot;%1&quot; не существует и не может быть создан.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation>Создать иконку</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Невозможно создать файл иконки. Путь &quot;%1&quot; не существует и не может быть создан.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation>Запустить %1 с помощью эмулятора yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation>Не удалось создать ярлык в %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation>Успешно создан ярлык в %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>Ошибка открытия %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Выбрать папку</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Свойства</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>Не удалось загрузить свойства игры.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Исполняемый файл Switch (%1);;Все файлы (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Загрузить файл</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Открыть папку извлечённого ROM&apos;а</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Выбрана недопустимая папка</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>Папка, которую вы выбрали, не содержит файла &apos;main&apos;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>Устанавливаемый файл Switch (*.nca, *.nsp, *.xci);;Архив контента Nintendo (*.nca);;Пакет подачи Nintendo (*.nsp);;Образ картриджа NX (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>Установить файлы</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation><numerusform>Остался %n файл</numerusform><numerusform>Осталось %n файл(ов)</numerusform><numerusform>Осталось %n файл(ов)</numerusform><numerusform>Осталось %n файл(ов)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>Установка файла &quot;%1&quot;...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>Результаты установки</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>Чтобы избежать возможных конфликтов, мы не рекомендуем пользователям устанавливать игры в NAND.
Пожалуйста, используйте эту функцию только для установки обновлений и DLC.</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation><numerusform>%n файл был недавно установлен
@@ -5304,7 +4366,7 @@ Please, only use this feature to install updates and DLC.</source>
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation><numerusform>%n файл был перезаписан
@@ -5314,7 +4376,7 @@ Please, only use this feature to install updates and DLC.</source>
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation><numerusform>%n файл не удалось установить
@@ -5324,312 +4386,339 @@ Please, only use this feature to install updates and DLC.</source>
</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Системное приложение</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Системный архив</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Обновление системного приложения</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Пакет прошивки (Тип А)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Пакет прошивки (Тип Б)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Игра</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Обновление игры</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>DLC игры</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Дельта-титул</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Выберите тип установки NCA...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>Пожалуйста, выберите тип приложения, который вы хотите установить для этого NCA:
(В большинстве случаев, подходит стандартный выбор «Игра».)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Ошибка установки</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>Тип приложения, который вы выбрали для NCA, недействителен.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Файл не найден</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Файл &quot;%1&quot; не найден</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>ОК</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation>Не удовлетворены системные требования</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation>Ваша система не соответствует рекомендуемым системным требованиям. Отчеты о совместимости были отключены.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>Отсутствует аккаунт yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>Чтобы отправить отчет о совместимости игры, необходимо привязать свою учетную запись yuzu.&lt;br&gt;&lt;br/&gt;Чтобы привязать свою учетную запись yuzu, перейдите в раздел Эмуляция &amp;gt; Параметры &amp;gt; Сеть.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>Ошибка при открытии URL</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>Не удалось открыть URL: &quot;%1&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation>Запись TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>Перезаписать файл игрока 1?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>Обнаружена недопустимая конфигурация</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>Портативный контроллер не может быть использован в режиме док-станции. Будет выбран контроллер Pro.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>Текущий amiibo был убран</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>Ошибка</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation>Текущая игра не ищет amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Файл Amiibo (%1);; Все Файлы (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Загрузить Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Ошибка загрузки данных Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation>Выбранный файл не является допустимым amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation>Выбранный файл уже используется</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation>Произошла неизвестная ошибка</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Сделать скриншот</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>Изображение PNG (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>Состояние TAS: Выполняется %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>Состояние TAS: Записывается %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation>Состояние TAS: Простой %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>Состояние TAS: Неверное</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation>[&amp;S] Остановка</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>[&amp;S] Начать</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>[&amp;E] Закончить запись</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>[&amp;E] Запись</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation><numerusform>Постройка: %n шейдер</numerusform><numerusform>Постройка: %n шейдер(ов)</numerusform><numerusform>Постройка: %n шейдер(ов)</numerusform><numerusform>Постройка: %n шейдер(ов)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>Масштаб: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Скорость: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Скорость: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation>Игра: %1 FPS (Неограниченно)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Игра: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Кадр: %1 мс</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>БЕЗ СГЛАЖИВАНИЯ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation>ГРОМКОСТЬ: ЗАГЛУШЕНА</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation>ГРОМКОСТЬ: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>Подтвердите перерасчет ключа</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5646,37 +4735,37 @@ This will delete your autogenerated key files and re-run the key derivation modu
Это удалит ваши автоматически сгенерированные файлы ключей и повторно запустит модуль расчета ключей.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>Отсутствуют предохранители</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation>- Отсутствует BOOT0</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation>- Отсутствует BCPKG2-1-Normal-Main</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation>- Отсутствует PRODINFO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>Компоненты расчета отсутствуют</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation>Ключи шифрования отсутствуют. &lt;br&gt;Пожалуйста, следуйте &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;краткому руководству пользователя yuzu&lt;/a&gt;, чтобы получить все ваши ключи, прошивку и игры.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5685,49 +4774,49 @@ on your system&apos;s performance.</source>
от производительности вашей системы.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>Получение ключей</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation>Не удалось расшифровать системный архив</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation>Ключи шифрования не смогли расшифровать прошивку. &lt;br&gt;Пожалуйста, следуйте &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;краткому руководству пользователя yuzu&lt;/a&gt; чтобы получить все ваши ключи, прошивку и игры.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>Выберите цель для дампа RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>Пожалуйста, выберите, какой RomFS вы хотите сдампить.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Вы уверены, что хотите закрыть yuzu?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Вы уверены, что хотите остановить эмуляцию? Любой несохраненный прогресс будет потерян.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5736,142 +4825,142 @@ Would you like to bypass this and exit anyway?</source>
Хотите ли вы обойти это и выйти в любом случае?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Никакой</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
<translation>Ближайший</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Билинейный</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Бикубический</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>Гаусс</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>В док-станции</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Портативный</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation>Нормальная</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation>Высокая</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation>Экстрим</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
<translation>OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation>Null</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
- <translation type="unfinished"/>
+ <translation>GLSL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
- <translation type="unfinished"/>
+ <translation>GLASM</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
- <translation type="unfinished"/>
+ <translation>SPIRV</translation>
</message>
</context>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGL не доступен!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation>Общие контексты OpenGL не поддерживаются.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>yuzu не был скомпилирован с поддержкой OpenGL.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>Ошибка при инициализации OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>Ваш ГП может не поддерживать OpenGL, или у вас установлен устаревший графический драйвер.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>Ошибка при инициализации OpenGL 4.6!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>Ваш ГП может не поддерживать OpenGL 4.6, или у вас установлен устаревший графический драйвер.&lt;br&gt;&lt;br&gt;Рендерер GL:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>Ваш ГП может не поддерживать одно или несколько требуемых расширений OpenGL. Пожалуйста, убедитесь в том, что у вас установлен последний графический драйвер.&lt;br&gt;&lt;br&gt;Рендерер GL:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Неподдерживаемые расширения:&lt;br&gt;%2</translation>
</message>
@@ -5879,173 +4968,178 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>Избранное</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>Запустить игру</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>Запустить игру без пользовательской настройки</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Открыть папку для сохранений</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Открыть папку для модов</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation>Открыть переносной кэш конвейера</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Удалить</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>Удалить установленное обновление</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>Удалить все установленные DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>Удалить пользовательскую настройку</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
- <translation>Убрать хранилище Cache</translation>
+ <translation>Удалить кэш-хранилище?</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation>Удалить кэш конвейера OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation>Удалить кэш конвейера Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>Удалить весь кэш конвейеров</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>Удалить все установленное содержимое</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>Дамп RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>Сдампить RomFS в SDMC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Скопировать ID приложения в буфер обмена</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>Перейти к странице GameDB</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation>Создать ярлык</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation>Добавить на Рабочий стол</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation>Добавить в меню приложений</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Свойства</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>Сканировать подпапки</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>Удалить папку с играми</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ Переместить вверх</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ Переместить вниз</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>Открыть расположение папки</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Очистить</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Имя</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Совместимость</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Дополнения</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Тип файла</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Размер</translation>
</message>
@@ -6116,7 +5210,7 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>Нажмите дважды, чтобы добавить новую папку в список игр</translation>
</message>
@@ -6129,12 +5223,12 @@ Would you like to bypass this and exit anyway?</source>
<translation><numerusform>%1 из %n результат(ов)</numerusform><numerusform>%1 из %n результат(ов)</numerusform><numerusform>%1 из %n результат(ов)</numerusform><numerusform>%1 из %n результат(ов)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Поиск:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Введите текст для поиска</translation>
</message>
@@ -6210,12 +5304,12 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>Ошибка</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation>Не удалось объявить комнату в публичном лобби. Чтобы хостить публичную комнату, у вас должна быть действующая учетная запись yuzu, настроенная в Эмуляция -&gt; Параметры -&gt; Сеть. Если вы не хотите объявлять комнату в публичном лобби, выберите вместо этого скрытый тип.
@@ -6225,13 +5319,11 @@ Debug Message: </source>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation>Включение/отключение звука</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6252,111 +5344,113 @@ Debug Message: </source>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation>Основное окно</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation>Уменьшить громкость звука</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation>Повысить громкость звука</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Сделать скриншот</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation>Изменить адаптирующий фильтр</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation>Изменить режим консоли</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation>Изменить точность ГП</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation>Продолжение/Пауза эмуляции</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation>Выйти из полноэкранного режима</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation>Выйти из yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Полный экран</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Загрузить файл</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation>Загрузить/удалить Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation>Перезапустить эмуляцию</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation>Остановить эмуляцию</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation>Запись TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation>Сброс TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation>Старт/Стоп TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation>Переключить панель поиска</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation>Переключить ограничение частоты кадров</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation>Переключить панорамирование мыши</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation>Переключить панель состояния</translation>
</message>
@@ -6476,42 +5570,42 @@ Debug Message: </source>
<translation>Обновить лобби</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation>Для входа необходим пароль</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation>Пароль:</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Игроки</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation>Название комнаты</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation>Предпочтительная игра</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation>Хост</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation>Обновление</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation>Обновить список</translation>
</message>
@@ -6599,172 +5693,182 @@ Debug Message: </source>
<translation>[&amp;T] TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>[&amp;H] Помощь</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>[&amp;I] Установить файлы в NAND...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>[&amp;O] Загрузить файл...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>[&amp;F] Загрузить папку...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>[&amp;X] Выход</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>[&amp;P] Пауза</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>[&amp;S] Стоп</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>[&amp;R] Переинициализировать ключи...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>[&amp;A] О yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>[&amp;W] Режим одного окна</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>[&amp;F] Параметры...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>[&amp;O] Отображать заголовки виджетов дока</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>[&amp;F] Показать панель поиска</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>[&amp;S] Показать панель статуса</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Показать панель статуса</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation>[&amp;B] Просмотреть публичные игровые лобби</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation>[&amp;C] Создать комнату</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation>[&amp;L] Покинуть комнату</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation>[&amp;D] Прямое подключение к комнате</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation>[&amp;S] Показать текущую комнату</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>[&amp;U] Полноэкранный</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>[&amp;R] Перезапустить</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation>[&amp;A] Загрузить/Удалить Amiibo...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>[&amp;R] Сообщить о совместимости</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation>[&amp;M] Открыть страницу модов</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation>[&amp;Q] Открыть руководство пользователя</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>[&amp;F] ЧАВО</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation>[&amp;Y] Открыть папку yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>[&amp;C] Сделать скриншот</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation>[&amp;C] Настройка TAS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation>[&amp;U] Настроить текущую игру...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>[&amp;S] Запустить</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation>[&amp;S] Сбросить</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>[&amp;E] Запись</translation>
</message>
@@ -7557,27 +6661,27 @@ p, li { white-space: pre-wrap; }
<translation>Путь к файлу</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation>Данные игры отсутствуют</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation>Следующие данные amiibo будут отформатированы:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation>Следующие данные игры будут удалены:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation>Установите псевдоним и владельца:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation>Хотите ли вы восстановить эту amiibo?</translation>
</message>
@@ -7618,7 +6722,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Контроллер Pro</translation>
</message>
@@ -7631,7 +6735,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Двойные Joy-Сon&apos;ы</translation>
</message>
@@ -7644,7 +6748,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Левый Joy-Сon</translation>
</message>
@@ -7657,7 +6761,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Правый Joy-Сon</translation>
</message>
@@ -7686,7 +6790,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Портативный</translation>
</message>
@@ -7802,32 +6906,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>Контроллер GameCube</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>Poke Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>Контроллер NES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>Контроллер SNES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>Контроллер N64</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>Sega Genesis</translation>
</message>
diff --git a/dist/languages/sv.ts b/dist/languages/sv.ts
index 245a1f764..886b9de52 100644
--- a/dist/languages/sv.ts
+++ b/dist/languages/sv.ts
@@ -366,78 +366,32 @@ Detta kommer bannlysa både dennes användarnamn på forum samt IP-adress.</tran
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Ljud</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Utgångsmotor:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Mono</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Stereo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Surround</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Använd global volym</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Ställ in volym:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Volym:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
<translation type="unfinished"/>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Ljud</translation>
</message>
</context>
<context>
@@ -501,130 +455,25 @@ Detta kommer bannlysa både dennes användarnamn på forum samt IP-adress.</tran
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Allmänt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Noggrannhet:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Auto</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Noggrann</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Osäker</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>Paranoid (stänger av de flesta optimeringar)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Vi rekommenderar att sätta noggrannhet till &quot;Auto&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Osäkra CPU-optimeringsinställningar</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Dessa inställningar offrar noggrannhet för hastighet</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>&lt;div&gt;Denna inställning ökar hastighet genom att minska noggrannhet på fused-multiply-add instruktioner på CPUer FMA support &lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Sära FMA (förbättra prestanda på CPU:er utan FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Denna inställning förbättrar hastigheten av vissa ungefärliga flyttalsfunktioner genom att använda mindre noggranna nativa approximationer &lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>Snabbare FRSQRTE och FRECPE</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt; Detta val förbättrar farten för 32-bitars ASIMD flyttalsfunktioner genom att köra med felaktiga avrundningslägen.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Snabbare ASIMD instruktioner (enbart 32-bitars)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>CPU-inställningar är endast tillgängliga när spel inte körs.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -829,222 +678,227 @@ avgjord kod.&lt;/div&gt;
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>Felsökare</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>Aktivera GDB Stub</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Port:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Loggning</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Globalt Loggfilter</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>Visa Logg i Terminal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Öppna Logg-Destination</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Globalt Loggfilter</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>När ibockad, ökar maxstorleken för loggen från 100 MB till 1 GB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Slå på Utökad Loggning**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Visa Logg i Terminal</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>Argumentsträng</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Grafik</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>När ibockad så går grafik API:et in i ett långsammare felsökningsläge</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Sätt på grafikdebugging</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Stäng av Macro JIT</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
+ <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
+ <source>Enable Shader Feedback</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
- <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
- <source>Enable Shader Feedback</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Stäng av Macro JIT</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>När ibockad så går grafik API:et in i ett långsammare felsökningsläge</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Sätt på grafikdebugging</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Felsökning</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
+ <source>Advanced</source>
+ <translation>Avancerat</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Avaktivera Webbappletten</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
- <source>Advanced</source>
- <translation>Avancerat</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Kiosk(Quest)-läge</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Felsökning</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Avaktivera Webbappletten</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation type="unfinished"/>
</message>
@@ -1059,12 +913,12 @@ avgjord kod.&lt;/div&gt;
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation type="unfinished"/>
</message>
@@ -1114,78 +968,83 @@ avgjord kod.&lt;/div&gt;
<translation>yuzu Konfigurering</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Ljud</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Debug</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Filsystem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Allmänt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Grafik</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>Avancerade grafikinställningar</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Snabbknappar</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Kontroller</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Profiler</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Nätverk</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>System</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Spellista</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Webb</translation>
</message>
@@ -1344,57 +1203,17 @@ avgjord kod.&lt;/div&gt;
<translation>Allmänt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Begränsa hastighetsprocent</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Flerkärnig CPU-emulering</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Godkänn avslut medans emulering pågår</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Fråga efter användare vid spelstart</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Pausa emulationen när fönstret är i bakgrunden</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Göm mus när inaktiv</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Återställ Alla Inställningar</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation type="unfinished"/>
</message>
@@ -1417,308 +1236,43 @@ avgjord kod.&lt;/div&gt;
<translation>API-inställningar</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Enhet:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Ingen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Grafikinställningar</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Använd asynkron GPU-emulering</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Bildförhållande:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Standard (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Tvinga 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Tvinga 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Tänj över fönster</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Använd global bakgrundsfärg</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Sätt backgrundsfärg:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Bakgrundsfärg:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation type="unfinished"/>
</message>
@@ -1740,162 +1294,6 @@ Immediate (no synchronization) just presents whatever is available and can exhib
<source>Advanced Graphics Settings</source>
<translation>Avancerade grafikinställningar</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Noggranhetsnivå:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Sätt på asynchronous shader-kompilering, vilket kan minska shader stutter. Denna funktion är experimentiell.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Anisotropisk filtrering:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Standard</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2662,7 +2060,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Konfigurera</translation>
</message>
@@ -3089,12 +2487,12 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation>Aktivera</translation>
+ <source>Enable mouse panning</source>
+ <translation type="unfinished"/>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
<translation type="unfinished"/>
</message>
<message>
@@ -3104,7 +2502,6 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
<translation type="unfinished"/>
</message>
@@ -3112,15 +2509,13 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
<translation type="unfinished"/>
</message>
@@ -3135,25 +2530,51 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>Standard</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>Emulerad datormus är aktiverad</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3186,100 +2607,95 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Dialog</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Info</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Namn</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>Titel-ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Filnamn</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Formatera</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Version</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Storlek</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Utvecklare</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Tillägg</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Allmänt</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Tillägg</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>System</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Grafik</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Avancerade Grafikinställningar</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Ljud</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>egenskaper</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Använd global konfiguration (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3601,412 +3017,17 @@ UUID: %2</source>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>System</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Systeminställningar</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Region:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Auto</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Standard</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Kuba</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Egypten</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>GB</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-Eire</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Greenwich</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Hongkong</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>Island</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>Iran</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>Israel</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Jamaica</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Japan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>Kwajalein</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Libyen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Navajo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>NZ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>NZ-CHAT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Polen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Portugal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Singapore</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Turkiet</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Universal</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>Zulu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>USA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Europe</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Australien</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>Kina</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Korea</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Taiwan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Tidszon:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Notera: detta kan bli överskritt medans regionsinställningarna är satta till auto-select</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Japanska (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Franska (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Tyska (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Italienska (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Spanska (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Kinesiska</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Koreanska (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Holländska (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Portugisiska (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Ryska (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Taiwanesiska</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Brittisk Engelska</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Kanadensisk Franska</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Latinamerikansk Spanska</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Förenklad Kinesiska</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Traditionell Kinesiska (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>Anpassad RTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Språk</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>RNG Seed</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Systeminställningar är endast tillgängliga när spel inte körs.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation type="unfinished"/>
</message>
@@ -4215,64 +3236,64 @@ Dra punkter för att ändra position, eller dubbelklicka tabellceller för att r
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Ingen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Filnamn</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>Titel-ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation type="unfinished"/>
</message>
@@ -4375,15 +3396,31 @@ Dra punkter för att ändra position, eller dubbelklicka tabellceller för att r
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>Välj Skärmdumpssökväg...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4684,12 +3721,12 @@ Dra punkter för att ändra position, eller dubbelklicka tabellceller för att r
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation>Ansluter</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation>Anslut</translation>
</message>
@@ -4697,896 +3734,960 @@ Dra punkter för att ändra position, eller dubbelklicka tabellceller för att r
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonym data skickas &lt;/a&gt;För att förbättra yuzu. &lt;br/&gt;&lt;br/&gt;Vill du dela med dig av din användarstatistik med oss?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Telemetri</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation>Felaktig Vulkaninstallation Upptäckt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>Laddar WebApplet...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Avaktivera Webbappletten</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>Mängden shaders som just nu byggs</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>Nuvarande emuleringshastighet. Värden över eller under 100% indikerar på att emulationen körs snabbare eller långsammare än en Switch.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>Hur många bilder per sekund som spelet just nu visar. Detta varierar från spel till spel och scen till scen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Tid det tar att emulera en Switch bild, utan att räkna med framelimiting eller v-sync. För emulering på full hastighet så ska det vara som mest 16.67 ms. </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation>Emulerad datormus är aktiverad</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;Paus</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>Varning Föråldrat Spelformat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>Du använder det dekonstruerade ROM-formatet för det här spelet. Det är ett föråldrat format som har överträffats av andra som NCA, NAX, XCI eller NSP. Dekonstruerade ROM-kataloger saknar ikoner, metadata och uppdatering.&lt;br&gt;&lt;br&gt;För en förklaring av de olika format som yuzu stöder, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;kolla in vår wiki&lt;/a&gt;. Det här meddelandet visas inte igen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>Fel vid laddning av ROM!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>ROM-formatet stöds inte.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>Ett fel inträffade vid initiering av videokärnan.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>Ett okänt fel har uppstått. Se loggen för mer information.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>Spardata</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Mod-data</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>Fel Öppnar %1 Mappen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>Mappen finns inte!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>Fel Under Öppning Av Överförbar Shadercache</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>Ta bort katalog</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>Framgångsrikt borttagen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>Tog bort det installerade basspelet framgångsrikt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>Basspelet är inte installerat i NAND och kan inte tas bort.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>Tog bort den installerade uppdateringen framgångsrikt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>Det finns ingen uppdatering installerad för denna titel.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>Det finns inga DLC installerade för denna titel.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>Tog framgångsrikt bort den %1 installerade DLCn.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>Ta Bort Anpassad Spelkonfiguration?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>Radera fil</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>Fel När Överförbar Shader Cache Raderades</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>En shader cache för denna titel existerar inte.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>Raderade den överförbara shadercachen framgångsrikt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>Misslyckades att ta bort den överförbara shadercache</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>Fel När Anpassad Konfiguration Raderades</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>En anpassad konfiguration för denna titel existerar inte.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>Tog bort den anpassade spelkonfigurationen framgångsrikt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>Misslyckades att ta bort den anpassade spelkonfigurationen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>RomFS Extraktion Misslyckades!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>Det uppstod ett fel vid kopiering av RomFS filer eller användaren avbröt operationen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>Full</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>Skelett</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>Välj RomFS Dump-Läge</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Välj hur du vill att RomFS ska dumpas. &lt;br&gt;Full kommer att kopiera alla filer i den nya katalogen medan &lt;br&gt;skelett bara skapar katalogstrukturen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>Extraherar RomFS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Avbryt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>RomFS Extraktion Lyckades!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>Operationen var lyckad.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>Fel under öppning av %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Välj Katalog</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Egenskaper</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>Spelegenskaperna kunde inte laddas.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Switch Körbar (%1);;Alla Filer (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Ladda Fil</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Öppna Extraherad ROM-Katalog</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Ogiltig Katalog Vald</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>Katalogen du har valt innehåller inte en &apos;main&apos;-fil.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>Installerbar Switch-fil (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>Installera filer</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>Installerar Fil &quot;%1&quot;...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>Installera resultat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Systemapplikation</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Systemarkiv</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Systemapplikationsuppdatering</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Firmwarepaket (Typ A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Firmwarepaket (Typ B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Spel</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Speluppdatering</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>Spel DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Delta Titel</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Välj NCA-Installationsläge...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>Välj vilken typ av titel du vill installera som:
(I de flesta fallen, standard &apos;Spel&apos; är bra.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Misslyckades med Installationen</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>Den titeltyp du valt för NCA är ogiltig.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Filen hittades inte</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Filen &quot;%1&quot; hittades inte</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation> Hårdvarukraven uppfylls ej</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>yuzu Konto hittades inte</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>För att skicka ett spelkompatibilitetstest, du måste länka ditt yuzu-konto.&lt;br&gt;&lt;br/&gt;För att länka ditt yuzu-konto, gå till Emulering &amp;gt, Konfigurering &amp;gt, Web.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>Fel när URL öppnades</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>Oförmögen att öppna URL:en &quot;%1&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation>TAS Inspelning</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>Överskriv spelare 1:s fil?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>Ogiltig konfiguration upptäckt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>Den aktuella amiibon har avlägsnats</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>Fel</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation>Det aktuella spelet letar ej efter amiibos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Amiibo Fil (%1);; Alla Filer (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Ladda Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Fel vid laddning av Amiibodata</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation>Den valda filen är inte en giltig amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation>Den valda filen är redan använd</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation>Ett okänt fel har inträffat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Skärmdump</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>PNG Bild (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>TAStillstånd: pågående %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>TAStillstånd: spelar in %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation>TAStillstånd: inaktiv %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>TAStillstånd: ogiltigt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>&amp;Start</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation type="unfinished"/>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Hastighet: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Hastighet: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Spel: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Ruta: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>Bekräfta Nyckel Rederivering</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5603,37 +4704,37 @@ och eventuellt göra säkerhetskopior.
Detta raderar dina autogenererade nyckelfiler och kör nyckelderivationsmodulen.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>Saknade säkringar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation>- Saknar BOOT0</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation>- Saknar BCPKG2-1-Normal-Main</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation>- Saknar PRODINFO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>Deriveringsdelar saknas</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5642,49 +4743,49 @@ Detta kan ta upp till en minut beroende
på systemets prestanda.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>Härleda Nycklar</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>Välj RomFS Dumpa Mål</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>Välj vilken RomFS du vill dumpa.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Är du säker på att du vill stänga yuzu?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Är du säker på att du vill stoppa emuleringen? Du kommer att förlora osparade framsteg.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5693,97 +4794,97 @@ Would you like to bypass this and exit anyway?</source>
Vill du strunta i detta och avsluta ändå?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Ingen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Dockad</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Handheld</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
<translation type="unfinished"/>
</message>
@@ -5791,44 +4892,44 @@ Vill du strunta i detta och avsluta ändå?</translation>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGL inte tillgängligt!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>yuzu har inte komilerats med OpenGL support.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>Fel under initialisering av OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation type="unfinished"/>
</message>
@@ -5836,173 +4937,178 @@ Vill du strunta i detta och avsluta ändå?</translation>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Öppna Spara Data Destination</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Öppna Mod Data Destination</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Ta Bort</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>Ta Bort Installerad Uppdatering</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>Ta Bort Alla Installerade DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>Ta Bort Anpassad Konfiguration</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>Ta Bort Allt Installerat Innehåll</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>Dumpa RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Kopiera Titel ID till Urklipp</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>Navigera till GameDB-sida</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Egenskaper</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>Skanna Underkataloger</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>Radera Spelkatalog</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ Flytta upp</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ Flytta ner</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>Öppna Sökvägsplats</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Rensa</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Namn</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Kompatibilitet</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Add-Ons</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Filtyp</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Storlek</translation>
</message>
@@ -6073,7 +5179,7 @@ Vill du strunta i detta och avsluta ändå?</translation>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>Dubbelklicka för att lägga till en ny mapp i spellistan.</translation>
</message>
@@ -6086,12 +5192,12 @@ Vill du strunta i detta och avsluta ändå?</translation>
<translation type="unfinished"><numerusform></numerusform><numerusform></numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Filter:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Ange mönster för att filtrera</translation>
</message>
@@ -6167,12 +5273,12 @@ Vill du strunta i detta och avsluta ändå?</translation>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>Fel</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation type="unfinished"/>
@@ -6181,13 +5287,11 @@ Debug Message: </source>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6208,111 +5312,113 @@ Debug Message: </source>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Skärmdump</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Fullskärm</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Ladda Fil</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation type="unfinished"/>
</message>
@@ -6431,42 +5537,42 @@ Debug Message: </source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Spelare</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation type="unfinished"/>
</message>
@@ -6554,172 +5660,182 @@ Debug Message: </source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Hjälp</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>A&amp;vsluta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>&amp;Paus</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>&amp;Sluta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
- <source>&amp;About yuzu</source>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="227"/>
+ <source>&amp;About yuzu</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Visa Statusfält</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>&amp;Start</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation type="unfinished"/>
</message>
@@ -7504,27 +6620,27 @@ p, li { white-space: pre-wrap; }
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation type="unfinished"/>
</message>
@@ -7565,7 +6681,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Prokontroller</translation>
</message>
@@ -7578,7 +6694,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Dubbla Joycons</translation>
</message>
@@ -7591,7 +6707,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Vänster Joycon</translation>
</message>
@@ -7604,7 +6720,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Höger Joycon</translation>
</message>
@@ -7633,7 +6749,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Handhållen</translation>
</message>
@@ -7749,32 +6865,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>GameCube-kontroll</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>Poke Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>NES-kontroll</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>SNES-kontroll</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>N64-kontroll</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>Sega Genesis</translation>
</message>
diff --git a/dist/languages/tr_TR.ts b/dist/languages/tr_TR.ts
index c98e78ddb..855540d30 100644
--- a/dist/languages/tr_TR.ts
+++ b/dist/languages/tr_TR.ts
@@ -366,78 +366,32 @@ Bu işlem onların hem forum kullanıcı adını hem de IP adresini banlar.</tra
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Ses</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Çıkış Motoru:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>Çıkış Cihazı:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>Giriş Cihazı:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>Ses Çıkış Modu:</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Mono</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Stereo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Surround</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Global sesi kullan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Sesi ayarla:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Ses:</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Arka plandayken sesi kapat</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation type="unfinished"/>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Ses</translation>
</message>
</context>
<context>
@@ -501,134 +455,25 @@ Bu işlem onların hem forum kullanıcı adını hem de IP adresini banlar.</tra
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Genel</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Doğruluk:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Otomatik</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Doğru</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Güvensiz</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>Paranoya (çoğu optimizasyonu kapatır)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Doğruluk ayarının &quot;Otomatik&quot; olmasını öneririz.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Güvensiz CPU Opitimizasyonu Ayarları</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Bu ayarlar daha hızlı bir deneyim için doğruluk oranını azaltır.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Bu seçenek FMA işlemlerinin doğruluğunu azaltarak FMA desteklemeyen CPU&apos;larda hızı artırır.&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>FMA&apos;yı Ayır (FMA olmayan CPU&apos;larda performansı artırır)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Bu seçenek bazı tahmini FP fonksiyonlarını daha az doğru tahminlerle hızlandırır.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>Daha hızlı FRSQRTE ve FRECPE</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
-Bu seçenek doğru olmayan yuvarlama fonksiyonları kullanarak 32 bit ASIMD FP fonksiyonlarını hızlandırır.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Daha hızlı ASIMD komutları (yalnızca 32 bit)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
-Bu seçenek NaN kontrolünü kaldırarak hızı arttırır. Aynı zamanda bazı FP komutlarının doğruluğunu azaltacağını da göz önünde bulundurun.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Uygunsuz NaN kullanımı</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
-Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldırarak hızı arttırır. Devre dışı bırakmak, oyunun emulatör belleğinde yazma/okuma yapmasına izin verir.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>Adres boşluğu kontrolünü kapatır.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Bu ayar, özel erişim talimatlarının güvenliğini sağlayarak hızı artırmak adına yalnızca semantik cmpxchg kullanır. Kullanılması çıkmaz döngülere ya da başka yarışma durumlarına sebep olabilir.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>Global monitörü görmezden gel</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>CPU ayarlarına sadece oyun çalışmıyorken erişilebilir.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -845,222 +690,227 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>Hata Ayıklayıcı</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>GDB Stub&apos;ı Etkinleştir</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Port:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Kütük Tutma</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Evrensel Kütük Filtresi</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>Konsolda Log&apos;u Göster</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Kütük Konumunu Aç</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Evrensel Kütük Filtresi</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Etkinleştirildiğinde log&apos;un boyut sınırı 100 MB&apos;tan 1 GB&apos;a çıkar</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Uzatılmış Hata Kaydını Etkinleştir.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Konsolda Log&apos;u Göster</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>Arguments String</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Grafikler</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>Etkinleştirildiğinde, grafik API&apos;ı daha yavaş bir hata ayıklama moduna girer.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Grafik Hata Ayıklama Modunu Etkinleştir</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>İşaretlendiğinde Nsight Aftermath çökme dökümlerini etkinleştirir.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>İşaretlendiğinde shaderları döngü mantık değişimleri olmaksızın uygular</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Nsight Aftermath&apos;ı Etkinleştir</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Döngü güvenliği kontrolünü devre dışı bırak</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>Kullanılırsa, asıl assembler shader dosyaları diskten shader önbelleği ya da oyun bulundukça dump&apos;lanır</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>Kullanılırsa makro HLE işlevselliği kapatılır. Bu seçeneği açmak oyunların yavaşlamasına sebep olur</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>Oyun Shader&apos;larını Dump&apos;la</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>Makro HLE&apos;yi Kapat</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>Kullanılırsa, GPU&apos;daki bütün makro uygulamalar dump&apos;lanır</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>Maxwell Makro&apos;larını Dump&apos;la</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>İşaretlendiğinde Makro JIT derleyicisini devre dışı bırakır. Bu seçeneği etkinleştirmek oyunların yavaş çalışmasına neden olur.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Macro JIT&apos;i devre dışı bırak</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation>Kullanılırsa makro HLE işlevselliği kapatılır. Bu seçeneği açmak oyunların yavaşlamasına sebep olur</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>İşaretlendiğinde Nsight Aftermath çökme dökümlerini etkinleştirir.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation>Makro HLE&apos;yi Kapat</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Nsight Aftermath&apos;ı Etkinleştir</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
<source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation>Etkinleştirildiğinde, yuzu derlenen pipeline cache istatistiklerini log&apos;a kaydeder.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
<source>Enable Shader Feedback</source>
<translation>Shader Geribildirimini Etkinleştir</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>İşaretlendiğinde shaderları döngü mantık değişimleri olmaksızın uygular</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>Döngü güvenliği kontrolünü devre dışı bırak</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>İşaretlendiğinde Makro JIT derleyicisini devre dışı bırakır. Bu seçeneği etkinleştirmek oyunların yavaş çalışmasına neden olur.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Hata ayıklama</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Macro JIT&apos;i devre dışı bırak</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation>Detaylı Raporlama Hizmetini Etkinleştir</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Etkinleştirildiğinde, grafik API&apos;ı daha yavaş bir hata ayıklama moduna girer.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>FS Erişim Kaydını Etkinleştir</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Grafik Hata Ayıklama Modunu Etkinleştir</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation>Bu seçenek açıksa son oluşturulan ses komutları konsolda gösterilir. Sadece ses işleyicisi kullanan oyunları etkiler.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Kullanılırsa, asıl assembler shader dosyaları diskten shader önbelleği ya da oyun bulundukça dump&apos;lanır</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation>Konsola Ses Komutlarını Aktar**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>Oyun Shader&apos;larını Dump&apos;la</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>Çöküş Sonrası Küçük Dump Oluştur</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
<source>Advanced</source>
<translation>Gelişmiş</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>Bu seçenek, program açılırken Vulkan ortam işlevselliğini kontrol etmesini sağlar. Diğer programlar yuzu&apos;yu görmekte sorun yaşıyorsa bu seçeneği kapatın.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>Açılırken Vulkan Taraması Yap</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Web Uygulamasını Devre Dışı Bırak</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Bütün Kontrolcü Türlerini Etkinleştir</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Auto-Stub&apos;ı Etkinleştir</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Kiosk (Quest) Modu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>CPU Hata Ayıklama Modu&apos;nu Etkinleştir</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>Hata Ayıklama Assert&apos;lerini Etkinleştir</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>Auto-Stub&apos;ı Etkinleştir</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Hata ayıklama</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>Bütün Kontrolcü Türlerini Etkinleştir</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>FS Erişim Kaydını Etkinleştir</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Web Uygulamasını Devre Dışı Bırak</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>Çöküş Sonrası Küçük Dump Oluştur</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation>Bu seçenek, program açılırken Vulkan ortam işlevselliğini kontrol etmesini sağlar. Diğer programlar yuzu&apos;yu görmekte sorun yaşıyorsa bu seçeneği kapatın.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>Bu seçenek açıksa son oluşturulan ses komutları konsolda gösterilir. Sadece ses işleyicisi kullanan oyunları etkiler.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>Açılırken Vulkan Taraması Yap</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation>Konsola Ses Komutlarını Aktar**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>Detaylı Raporlama Hizmetini Etkinleştir</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**Bu yuzu kapandığında otomatik olarak eski haline dönecektir.</translation>
</message>
@@ -1075,12 +925,12 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra
<translation>yuzu&apos;nun bu ayarı uygulayabilmesi için yeniden başlatılması gereklidir.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>Web uygulaması derlenmemiş</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation>Küçük Dump oluşumu derlenmemiş</translation>
</message>
@@ -1130,78 +980,83 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra
<translation>yuzu Yapılandırması</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Ses</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Hata Ayıklama</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Dosya sistemi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Genel</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Grafikler</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>Gelişmiş Grafik Ayarları</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Kısayollar</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Kontroller</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Profiller</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Ağ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>Sistem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Oyun Listesi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Web</translation>
</message>
@@ -1360,57 +1215,17 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra
<translation>Genel</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Hız Yüzdesini Sınırlandır</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Çok Çekirdekli CPU Emülasyonu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Emülasyon devam ederken çıkışı onaylayın</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Oyun başlatılırken kullanıcı verisi iste</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Arka plana alındığında emülasyonu duraklat</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Hareketsizlik durumunda imleci gizle</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Tüm Ayarları Sıfırla</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>Bu seçenek tüm genel ve oyuna özgü ayarları silecektir. Oyun dizinleri, profiller ve giriş profilleri silinmeyecektir. Devam etmek istiyor musunuz?</translation>
</message>
@@ -1433,308 +1248,43 @@ Bu seçenek belleğe yazma/okuma işlemlerindeki güvenlik kontrolünü kaldıra
<translation>API Ayarları</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>Shader Backend:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Cihaz:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Yok</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Grafik Ayarları</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>Disk pipeline cache&apos;ini kullan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Asenkronize GPU emülasyonu kullan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>ASTC kaplama çözümünü hızlandır</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>NVDEC emülasyonu:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Video Çıkışı Yok</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>CPU Video Decoding</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>GPU Video Decoding (Varsayılan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Tam Ekran Modu:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Kenarlıksız Tam Ekran</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Ayrılmış Tam Ekran</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>En-Boy Oranı:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Varsayılan (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>4:3&apos;e Zorla</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>21:9&apos;a Zorla</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>16:10&apos;a Zorla</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Ekrana Sığdır</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>Çözünürlük:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [DENEYSEL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [DENEYSEL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation>1.5X (1080p/1620p) [DENEYSEL]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation>7X (5040p/7560p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation>8X (5760p/8640p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>Pencereye Uyarlı Filtre:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>En Yakın Komşu Algoritması</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Bilinear</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Bicubic</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>Gausyen</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️ Süper Çözünürlük</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>Kenar Yumuşatma Yöntemi:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation>Evrensel FSR Keskinleştirici Kullan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation>FSR Keskinliğini Ayarla</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation>FSR Keskinliği:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation>100%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Global arka plan rengini kullan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Arka plan rengini ayarla:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Arkaplan Rengi:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (Assembly Shaderları, Yalnızca NVIDIA için)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation>SPIR-V (Deneysel, Yalnızca Mesa için)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation type="unfinished"/>
</message>
@@ -1756,162 +1306,6 @@ Immediate (no synchronization) just presents whatever is available and can exhib
<source>Advanced Graphics Settings</source>
<translation>Gelişmiş Grafik Ayarları:</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Kesinlik Düzeyi:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation>Grafik komutlarını beklerken GPU&apos;nun hızının düşmesini engellemek için arka planda görev yürütür</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation>En yüksek hızı zorla (Yalnızca Vulkan için)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation>Asenkronize ASTC doku çözücüyü aktive eder. Bunu etkinleştirmek takılmaları azaltabilir. Bu özellik deneyseldir.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation>ASTC dokularını asenkronize şekilde çöz (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Asenkronize shader derlemesini aktive eder. Bunu etkinleştirmek takılmaları azaltabilir. Bu özellik deneyseldir.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>Asenkronize shader derlemesini kullan (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>Hızlı GPU Saati&apos;ni etkinleştir. Bu seçenek çoğu oyunu en yüksek gerçek çözünürlükte çalıştırır. </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>Hızlı GPU Saati Kullan (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation>GPU üreticisine özel pipeline önbelleğini aktive eder. Bu özellik, Vulkan sürücüsünün pipeline önbelleğini depolamadığı zamanlarda shader yüklenme süresini önemli derecede azaltabilir.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation>Vulkan pipeline önbelleği kullan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Anisotropic Filtering:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>Otomatik</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Varsayılan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2678,7 +2072,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Yapılandır</translation>
</message>
@@ -3106,12 +2500,12 @@ Eksenleri ters çevirmek için, önce joystickinizi dikey sonra yatay olarak har
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation>Aç</translation>
+ <source>Enable mouse panning</source>
+ <translation>Mouse ile kaydırmayı etkinleştir</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
<translation type="unfinished"/>
</message>
<message>
@@ -3121,25 +2515,22 @@ Eksenleri ters çevirmek için, önce joystickinizi dikey sonra yatay olarak har
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
- <translation type="unfinished"/>
+ <translation>Yatay</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
- <translation type="unfinished"/>
+ <translation>Dikey</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="85"/>
@@ -3152,25 +2543,51 @@ Eksenleri ters çevirmek için, önce joystickinizi dikey sonra yatay olarak har
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>Varsayılan</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3203,100 +2620,95 @@ Eksenleri ters çevirmek için, önce joystickinizi dikey sonra yatay olarak har
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Diyalog</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Bilgi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>İsim</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>Oyun ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Dosya adı</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Biçim</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Versiyon</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Boyut</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Geliştirici</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Eklentiler</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Genel</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Eklentiler</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>Sistem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Grafikler</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Gelişmiş Grafikler</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Ses</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation>Kontrol Profilleri</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Özellikler</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Global yapılandırmayı kullan (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3619,412 +3031,17 @@ UUID: %2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>Sistem</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Sistem Ayarları</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Bölge:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Otomatik</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Varsayılan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Küba</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Mısır</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>İrlanda</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>GB</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-İrlanda</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>MT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Greenwich</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Hong Kong</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>İzlanda</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>İran</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>İsrail</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Jamaika</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Japonya</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>Kwajalein</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Libya</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Navaho</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>Yeni Zelanda</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>Chatham Adaları</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Polonya</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Portekiz</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Singapur</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Türkiye</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Evrensel</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>Zulu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>ABD</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Avrupa</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Avustralya </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>Çin</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Kore</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Tayvan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Saat Dilimi:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Not: bu ayar bölge ayarı otomatiğe alındığında yok sayılabilir.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Japonca (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation>Amerikan İngilizcesi</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Fransızca (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Almanca (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>İtalyanca (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>İspanyolca (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Çince</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Korece (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Flemenkçe (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Portekizce (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Rusça (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Tayvanca</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>İngiliz İngilizcesi</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Kanada Fransızcası</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Latin Amerika İspanyolcası</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Basitleştirilmiş Çince</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Geleneksel Çince (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>Brezilya Portekizcesi (português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>Özel Saat Dilimi</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Dil</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>RNG çekirdeği</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation>Cihaz İsmi</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Sistem ayarlarına sadece oyun çalışmıyorken erişilebilir.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation>Hata: &quot;%1&quot; bölgesi için &quot;%2&quot; geçerli bir dil değil</translation>
</message>
@@ -4233,64 +3250,64 @@ Noktanın konumunu değiştirmek için sürükleyin ya da sayıların üstüne
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Hiçbiri</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>Küçük (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>Standart (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>Büyük (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>Tam Boyut (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>Küçük (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>Standart (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>Büyük (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Dosya adı</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>Dosya türü</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>Oyun ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>Oyun Adı</translation>
</message>
@@ -4393,15 +3410,31 @@ Noktanın konumunu değiştirmek için sürükleyin ya da sayıların üstüne
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Çözünürlük:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>Ekran Görüntülerinin Konumunu Seçin...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4702,12 +3735,12 @@ Noktanın konumunu değiştirmek için sürükleyin ya da sayıların üstüne
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation>Bağlanılıyor</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation>Bağlan</translation>
</message>
@@ -4715,575 +3748,612 @@ Noktanın konumunu değiştirmek için sürükleyin ya da sayıların üstüne
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Yuzuyu geliştirmeye yardımcı olmak için &lt;/a&gt; anonim veri toplandı. &lt;br/&gt;&lt;br/&gt;Kullanım verinizi bizimle paylaşmak ister misiniz?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Telemetri</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation>Bozuk Vulkan Kurulumu Algılandı</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation>Açılışta Vulkan başlatılırken hata. Hata yardımını görüntülemek için &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;buraya tıklayın&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>Web Uygulaması Yükleniyor...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Web Uygulamasını Devre Dışı Bırak</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation>Web uygulamasını kapatmak bilinmeyen hatalara neden olabileceğinden dolayı sadece Super Mario 3D All-Stars için kapatılması önerilir. Web uygulamasını kapatmak istediğinize emin misiniz?
(Hata ayıklama ayarlarından tekrar açılabilir)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>Şu anda derlenen shader miktarı</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation>Geçerli seçili çözünürlük ölçekleme çarpanı.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>Geçerli emülasyon hızı. %100&apos;den yüksek veya düşük değerler emülasyonun bir Switch&apos;den daha hızlı veya daha yavaş çalıştığını gösterir.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>Oyunun şuanda saniye başına kaç kare gösterdiği. Bu oyundan oyuna ve sahneden sahneye değişiklik gösterir.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Bir Switch karesini emüle etmekte geçen zaman, karelimitleme ve v-sync hariç. Tam hız emülasyon için bu en çok 16,67 ms olmalı.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>&amp;Son Dosyaları Temizle</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>&amp;Devam Et</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;Duraklat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>Uyarı, Eski Oyun Formatı</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>Bu oyun için dekonstrükte ROM formatı kullanıyorsunuz, bu fromatın yerine NCA, NAX, XCI ve NSP formatları kullanılmaktadır. Dekonstrükte ROM formatları ikon, üst veri ve güncelleme desteği içermemektedir.&lt;br&gt;&lt;br&gt;Yuzu&apos;nun desteklediği çeşitli Switch formatları için&lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;Wiki&apos;yi ziyaret edin&lt;/a&gt;. Bu mesaj yeniden gösterilmeyecektir.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>ROM yüklenirken hata oluştu!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>Bu ROM biçimi desteklenmiyor.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>Video çekirdeğini başlatılırken bir hata oluştu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation>yuzu video çekirdeğini çalıştırırken bir hatayla karşılaştı. Bu sorun genellikle eski GPU sürücüleri sebebiyle ortaya çıkar. Daha fazla detay için lütfen log dosyasına bakın. Log dosyasını incelemeye dair daha fazla bilgi için lütfen bu sayfaya ulaşın: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;Log dosyası nasıl yüklenir&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>ROM yüklenirken hata oluştu! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation>%1&lt;br&gt;Lütfen dosyalarınızı yeniden dump etmek için&lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;yuzu hızlı başlangıç kılavuzu&apos;nu&lt;/a&gt; takip edin.&lt;br&gt; Yardım için yuzu wiki&lt;/a&gt;veya yuzu Discord&apos;una&lt;/a&gt; bakabilirsiniz.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>Bilinmeyen bir hata oluştu. Lütfen daha fazla detay için kütüğe göz atınız.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation>Yazılım kapatılıyor...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>Kayıt Verisi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Mod Verisi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>%1 klasörü açılırken hata</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>Klasör mevcut değil!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>Transfer Edilebilir Shader Cache&apos;ini Açarken Bir Hata Oluştu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation>Bu oyun için shader cache konumu oluşturulamadı.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation>İçerik Kaldırma Hatası</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation>Güncelleme Kaldırma hatası</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation>DLC Kaldırma Hatası</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation>Yüklenmiş Oyun İçeriğini Kaldırmak İstediğinize Emin Misiniz?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation>Yüklenmiş Oyun Güncellemesini Kaldırmak İstediğinize Emin Misiniz?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation>Yüklenmiş DLC&apos;yi Kaldırmak İstediğinize Emin Misiniz?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>Girdiyi Kaldır</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>Başarıyla Kaldırıldı</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>Yüklenmiş oyun başarıyla kaldırıldı.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>Asıl oyun NAND&apos;de kurulu değil ve kaldırılamaz.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>Yüklenmiş güncelleme başarıyla kaldırıldı.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>Bu oyun için yüklenmiş bir güncelleme yok.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>Bu oyun için yüklenmiş bir DLC yok.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>%1 yüklenmiş DLC başarıyla kaldırıldı.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation>OpenGL Transfer Edilebilir Shader Cache&apos;ini Kaldırmak İstediğinize Emin Misiniz?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation>Vulkan Transfer Edilebilir Shader Cache&apos;ini Kaldırmak İstediğinize Emin Misiniz?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation>Tüm Transfer Edilebilir Shader Cache&apos;leri Kaldırmak İstediğinize Emin Misiniz?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>Oyuna Özel Yapılandırmayı Kaldırmak İstediğinize Emin Misiniz?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>Dosyayı Sil</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>Transfer Edilebilir Shader Cache Kaldırılırken Bir Hata Oluştu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>Bu oyun için oluşturulmuş bir shader cache yok.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>Transfer edilebilir shader cache başarıyla kaldırıldı.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>Transfer edilebilir shader cache kaldırılamadı.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation>Vulkan Pipeline Önbelleği Kaldırılırken Hata</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation>Sürücü pipeline önbelleği kaldırılamadı.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation>Transfer Edilebilir Shader Cache&apos;ler Kaldırılırken Bir Hata Oluştu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation>Transfer edilebilir shader cacheler başarıyla kaldırıldı.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation>Transfer edilebilir shader cache konumu kaldırılamadı.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>Oyuna Özel Yapılandırma Kaldırılırken Bir Hata Oluştu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>Bu oyun için bir özel yapılandırma yok.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>Oyuna özel yapılandırma başarıyla kaldırıldı.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>Oyuna özel yapılandırma kaldırılamadı.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>RomFS Çıkartımı Başarısız!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>RomFS dosyaları kopyalanırken bir hata oluştu veya kullanıcı işlemi iptal etti.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>Full</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>Çerçeve</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>RomFS Dump Modunu Seçiniz</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Lütfen RomFS&apos;in nasıl dump edilmesini istediğinizi seçin.&lt;br&gt;&quot;Full&quot; tüm dosyaları yeni bir klasöre kopyalarken &lt;br&gt;&quot;skeleton&quot; sadece klasör yapısını oluşturur.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation>%1 konumunda RomFS çıkarmaya yetecek alan yok. Lütfen yer açın ya da Emülasyon &gt; Yapılandırma &gt; Sistem &gt; Dosya Sistemi &gt; Dump konumu kısmından farklı bir çıktı konumu belirleyin.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>RomFS çıkartılıyor...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>İptal</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>RomFS Çıkartımı Başarılı!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>İşlem başarıyla tamamlandı.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation>Kısayol Oluştur</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation>Bu seçenek, şu anki AppImage dosyasının kısayolunu oluşturacak. Uygulama güncellenirse kısayol çalışmayabilir. Devam edilsin mi?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation>Masaüstünde kısayol oluşturulamadı. &quot;%1&quot; dizini yok.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Uygulamalar menüsünde kısayol oluşturulamadı. &quot;%1&quot; dizini yok ve oluşturulamıyor.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation>Simge Oluştur</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Simge dosyası oluşturulamadı. &quot;%1&quot; dizini yok ve oluşturulamıyor.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation>yuzu Emülatörü başlatılırken %1 başlatılsın</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation>%1 dizininde kısayol oluşturulamadı</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation>%1 dizinine kısayol oluşturuldu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>%1 Açılırken Bir Hata Oluştu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Klasör Seç</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Özellikler</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>Oyun özellikleri yüklenemedi.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Switch Çalıştırılabilir Dosyası (%1);;Tüm Dosyalar (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Dosya Aç</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Çıkartılmış ROM klasörünü aç</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Geçersiz Klasör Seçildi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>Seçtiğiniz klasör bir &quot;main&quot; dosyası içermiyor.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>Yüklenilebilir Switch Dosyası (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submissions Package (*.nsp);;NX Cartridge Image (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>Dosya Kur</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation><numerusform>%n dosya kaldı</numerusform><numerusform>%n dosya kaldı</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>&quot;%1&quot; dosyası kuruluyor...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>Kurulum Sonuçları</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>Olası çakışmaları önlemek için oyunları NAND&apos;e yüklememenizi tavsiye ediyoruz.
Lütfen bu özelliği sadece güncelleme ve DLC yüklemek için kullanın.</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation><numerusform>%n dosya güncel olarak yüklendi
@@ -5291,7 +4361,7 @@ Lütfen bu özelliği sadece güncelleme ve DLC yüklemek için kullanın.</tran
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation><numerusform>%n dosyanın üstüne yazıldı
@@ -5299,7 +4369,7 @@ Lütfen bu özelliği sadece güncelleme ve DLC yüklemek için kullanın.</tran
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation><numerusform>%n dosya yüklenemedi
@@ -5307,312 +4377,339 @@ Lütfen bu özelliği sadece güncelleme ve DLC yüklemek için kullanın.</tran
</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Sistem Uygulaması</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Sistem Arşivi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Sistem Uygulama Güncellemesi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Yazılım Paketi (Tür A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Yazılım Paketi (Tür B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Oyun</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Oyun Güncellemesi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>Oyun DLC&apos;si</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Delta Başlık</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>NCA Kurulum Tipi Seçin...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>Lütfen bu NCA dosyası için belirlemek istediğiniz başlık türünü seçiniz:
(Çoğu durumda, varsayılan olan &apos;Oyun&apos; kullanılabilir.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Kurulum Başarısız Oldu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>NCA için seçtiğiniz başlık türü geçersiz</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Dosya Bulunamadı</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Dosya &quot;%1&quot; Bulunamadı</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>Tamam</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation>Donanım gereksinimleri karşılanmıyor</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation>Sisteminiz, önerilen donanım gereksinimlerini karşılamıyor. Uyumluluk raporlayıcı kapatıldı.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>Kayıp yuzu Hesabı</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>Oyun uyumluluk test çalışması göndermek için öncelikle yuzu hesabınla giriş yapmanız gerekiyor.&lt;br&gt;&lt;br/&gt;Yuzu hesabınızla giriş yapmak için, Emülasyon &amp;gt; Yapılandırma &amp;gt; Web&apos;e gidiniz.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>URL açılırken bir hata oluştu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>URL &quot;%1&quot; açılamıyor.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation>TAS kayıtta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>Oyuncu 1&apos;in dosyasının üstüne yazılsın mı?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>Geçersiz yapılandırma tespit edildi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>Handheld kontrolcü dock modunda kullanılamaz. Pro kontrolcü seçilecek.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>Amiibo kaldırıldı</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>Hata</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation>Aktif oyun amiibo beklemiyor</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Amiibo Dosyası (%1);; Tüm Dosyalar (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Amiibo Yükle</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Amiibo verisi yüklenirken hata</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation>Seçtiğiniz dosya geçerli bir amiibo değil</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation>Seçtiğiniz dosya hali hazırda kullanılıyor</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation>Bilinmeyen bir hata oluştu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Ekran Görüntüsü Al</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>PNG görüntüsü (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>TAS durumu: %1%2 çalışıyor</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>TAS durumu: %1 kaydediliyor</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation>TAS durumu: %1%2 boşta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>TAS durumu: Geçersiz</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation>&amp;Çalıştırmayı durdur</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>&amp;Başlat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>K&amp;aydetmeyi Durdur</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>K&amp;aydet</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation><numerusform>Oluşturuluyor: %n shader</numerusform><numerusform>Oluşturuluyor: %n shader</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>Ölçek: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Hız %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Hız: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation>Oyun: %1 FPS (Sınırsız)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Oyun: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Kare: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>AA YOK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation>SES: KAPALI</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation>SES: %%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>Anahtar Yeniden Türetimini Onayla</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5629,37 +4726,37 @@ ve opsiyonel olarak yedekler alın.
Bu sizin otomatik oluşturulmuş anahtar dosyalarınızı silecek ve anahtar türetme modülünü tekrar çalıştıracak.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>Anahtarlar Kayıp</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation>- BOOT0 Kayıp</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation>- BCPKG2-1-Normal-Main Kayıp</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation>- PRODINFO Kayıp</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>Türeten Bileşenleri Kayıp</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation>Şifreleme anahtarları eksik. &lt;br&gt;Lütfen takip edin&lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;yuzu hızlı başlangıç kılavuzunu&lt;/a&gt;tüm anahtarlarınızı, aygıt yazılımınızı ve oyunlarınızı almada.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5668,49 +4765,49 @@ Bu sistem performansınıza bağlı olarak
bir dakika kadar zaman alabilir.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>Anahtarlar Türetiliyor</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>RomFS Dump Hedefini Seçiniz</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>Lütfen dump etmek istediğiniz RomFS&apos;i seçiniz.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>yuzu&apos;yu kapatmak istediğinizden emin misiniz?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Emülasyonu durdurmak istediğinizden emin misiniz? Kaydedilmemiş veriler kaybolur.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5719,97 +4816,97 @@ Would you like to bypass this and exit anyway?</source>
Görmezden gelip kapatmak ister misiniz?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Yok</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Bilinear</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Bicubic</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>Gausyen</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Dock Modu Aktif</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Taşınabilir</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
- <translation type="unfinished"/>
+ <translation>OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
<translation type="unfinished"/>
</message>
@@ -5817,44 +4914,44 @@ Görmezden gelip kapatmak ister misiniz?</translation>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGL kullanıma uygun değil!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation>OpenGL paylaşılan bağlam desteklenmiyor.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>Yuzu OpenGL desteklememektedir.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>OpenGl başlatılırken bir hata oluştu!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>GPU&apos;nuz OpenGL desteklemiyor veya güncel bir grafik sürücüsüne sahip değilsiniz.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>OpenGl 4.6 başlatılırken bir hata oluştu!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>GPU&apos;nuz OpenGL 4.6&apos;yı desteklemiyor veya güncel bir grafik sürücüsüne sahip değilsiniz.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>GPU&apos;nuz gereken bir yada daha fazla OpenGL eklentisini desteklemiyor Lütfen güncel bir grafik sürücüsüne sahip olduğunuzdan emin olun.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt; Desteklenmeyen Eklentiler:&lt;br&gt;%2</translation>
</message>
@@ -5862,173 +4959,178 @@ Görmezden gelip kapatmak ister misiniz?</translation>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>Favori</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>Oyunu Başlat</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>Oyunu Özel Yapılandırma Olmadan Başlat</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Kayıt Dosyası Konumunu Aç</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Mod Dosyası Konumunu Aç</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation>Transfer Edilebilir Pipeline Cache&apos;ini Aç</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Kaldır</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>Yüklenmiş Güncellemeleri Kaldır</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>Yüklenmiş DLC&apos;leri Kaldır</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>Oyuna Özel Yapılandırmayı Kaldır</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation>OpenGL Pipeline Cache&apos;ini Kaldır</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation>Vulkan Pipeline Cache&apos;ini Kaldır</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>Bütün Pipeline Cache&apos;lerini Kaldır</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>Tüm Yüklenmiş İçeriği Kaldır</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>RomFS Dump Et</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>RomFS&apos;i SDMC&apos;ye çıkar.</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Title ID&apos;yi Panoya Kopyala</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>GameDB sayfasına yönlendir</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation>Kısayol Oluştur</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation>Masaüstüne Ekle</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation>Uygulamalar Menüsüne Ekl</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Özellikler</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>Alt Klasörleri Tara</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>Oyun Konumunu Kaldır</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲Yukarı Git</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼Aşağı Git</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>Oyun Dosyası Konumunu Aç</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Temizle</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>İsim</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Uyumluluk</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Eklentiler</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Dosya türü</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Boyut</translation>
</message>
@@ -6099,7 +5201,7 @@ Görmezden gelip kapatmak ister misiniz?</translation>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>Oyun listesine yeni bir klasör eklemek için çift tıklayın.</translation>
</message>
@@ -6112,12 +5214,12 @@ Görmezden gelip kapatmak ister misiniz?</translation>
<translation><numerusform>%n sonucun %1&apos;i</numerusform><numerusform>%n sonucun %1&apos;i</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Filtre:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Filtrelemek için bir düzen giriniz</translation>
</message>
@@ -6193,12 +5295,12 @@ Görmezden gelip kapatmak ister misiniz?</translation>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>Hata</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation>Oda herkese açık yapılamadı. Eğer odayı herkese açık yapmak istiyorsanız, geçerli bir yuzu hesabını Emülasyon -&gt; Yapılandır -&gt; Web&apos;den ayarlamalısınız. Eğer odayı herkese açık yapmak istemiyorsanız, lütfen Gizli seçeneğini seçin.</translation>
@@ -6207,13 +5309,11 @@ Debug Message: </source>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation>Sesi Sustur/Aç</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6234,111 +5334,113 @@ Debug Message: </source>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation>Ana Pencere</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation>Ses Kapa</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation>Ses Aç</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Ekran Görüntüsü Al</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation>Uyarlanan Filtreyi Değiştir</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation>Takılı Modu Kullan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation>GPU Doğruluğunu Değiştir</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation>Sürdür/Emülasyonu duraklat</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation>Tam Ekrandan Çık</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation>Yuzu&apos;dan çık</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Tam Ekran</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Dosya Aç</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation>Amiibo Yükle/Kaldır</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation>Emülasyonu Yeniden Başlat</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation>Emülasyonu Durdur</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation>TAS Kaydet</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation>TAS Sıfırla</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation>TAS Başlat/Durdur</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation>Filtre Çubuğunu Aç/Kapa</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation>FPS Limitini Aç/Kapa</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation>Mouse ile Kaydırmayı Aç/Kapa</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation>Durum Çubuğunu Aç/Kapa</translation>
</message>
@@ -6458,42 +5560,42 @@ Debug Message: </source>
<translation>Lobiyi Yenile</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation>Katılmak için Gereken Şifre</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation>Şifre:</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Oyuncular</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation>Oda Adı</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation>Tercih Edilen Oyun</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation>Ana bilgisayar</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation>Yenileniyor</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation>Listeyi Yenile</translation>
</message>
@@ -6581,172 +5683,182 @@ Debug Message: </source>
<translation>&amp;TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Yardım</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>&amp;NAND&apos;e Dosya Kur...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>&amp;Dosyayı Yükle...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>&amp;Klasörü Yükle...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>&amp;Çıkış</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>&amp;Duraklat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>Du&amp;rdur</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>&amp;Anahtarları Yeniden Kur...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>&amp;Yuzu Hakkında</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>&amp;Tek Pencere Modu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>&amp;Yapılandır...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>D&amp;ock Widget Başlıkları&apos;nı Göster</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>&amp;Filtre Çubuğu&apos;nu Göster</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>&amp;Durum Çubuğu&apos;nu Göster</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Durum Çubuğunu Göster</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation>&amp;Herkese Açık Oyun Lobilerine Göz At</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation>&amp;Oda Oluştur</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation>&amp;Odadan Ayrıl</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation>&amp;Odaya Direkt Bağlan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation>&amp;Şu Anki Odayı Göster</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>&amp;Tam Ekran</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>&amp;Yeniden Başlat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation>&amp;Amiibo Yükle/Kaldır</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>&amp;Uyumluluk Bildir</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation>&amp;Mod Sayfasını Aç</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation>&amp;Hızlı Başlangıç Kılavuzunu Aç</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>&amp;SSS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation>&amp;yuzu Klasörünü Aç</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>&amp;Ekran Görüntüsü Al</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation>&amp;TAS&apos;i Ayarla...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation>&amp;Geçerli Oyunu Yapılandır...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>B&amp;aşlat</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation>&amp;Sıfırla</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>K&amp;aydet</translation>
</message>
@@ -7539,27 +6651,27 @@ p, li { white-space: pre-wrap; }
<translation>Dosya Adresi</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation>Oyun verisi yok</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation>Şu amiibo verisi biçimlendirilecek:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation>Şu oyun verisi kaldırılacak:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation>Kullanıcı adı ve sahip ayarla:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation>Bu amiibo&apos;yu geri yüklemek istediğinize emin misiniz?</translation>
</message>
@@ -7600,7 +6712,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Pro Controller</translation>
</message>
@@ -7613,7 +6725,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>İkili Joyconlar</translation>
</message>
@@ -7626,7 +6738,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Sol Joycon</translation>
</message>
@@ -7639,7 +6751,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Sağ Joycon</translation>
</message>
@@ -7668,7 +6780,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Handheld</translation>
</message>
@@ -7784,32 +6896,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>GameCube Kontrolcüsü</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>Poke Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>NES Kontrolcüsü</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>SNES Kontrolcüsü</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>N64 Kontrolcüsü</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>Sega Genesis</translation>
</message>
diff --git a/dist/languages/uk.ts b/dist/languages/uk.ts
index 6c5762e8d..096c6039a 100644
--- a/dist/languages/uk.ts
+++ b/dist/languages/uk.ts
@@ -366,78 +366,32 @@ This would ban both their forum username and their IP address.</source>
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Аудіо</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Рушій виводу:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>Пристрій відтворення:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>Пристрій вводу:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>Режим відстворення звуку:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Моно</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Стерео</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Об&apos;ємний звук</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Використовувати загальну гучність</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Встановити гучність:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Гучність</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation>Авто (%1)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Приглушити звук у фоновому режимі</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation>За замовчуванням (%1)</translation>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Аудіо</translation>
</message>
</context>
<context>
@@ -501,139 +455,25 @@ This would ban both their forum username and their IP address.</source>
<translation>ЦП</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Загальні</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Точність:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Авто</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Точно</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Небезпечно</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>Параноїк (відключає більшість оптимізацій)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Ми рекомендуємо встановити точність на &quot;Авто&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Небезпечні налаштування оптимізації ЦП</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Ці налаштування зменшують точність заради швидкості. </translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Ця опція підвищує швидкість за рахунок зниження точності інструкцій fused-multiply-add на ЦП без вбудованої підтримки FMA.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Не використовувати FMA (покращує продуктивність на ЦП без FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Ця опція підвищує швидкість деяких наближених функцій з плаваючою точкою за рахунок використання менш точних нативних наближень&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>Прискорені FRSQRTE та FRECPE</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Ця опція підвищує швидкість роботи 32-бітних ASIMD-функцій із плаваючою комою, працюючи з неправильними режимами округлення.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Швидші інструкції ASIMD (лише 32 біт)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Ця опція підвищує швидкість, видаляючи перевірку NaN. Зверніть увагу, що це також знижує точність деяких інструкцій із плаваючою крапкою. &lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Неправильна обробка NaN</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Ця опція підвищує швидкість за рахунок виключення перевірки безпеки перед кожним читанням/записом пам&apos;яті в гостьовому режимі. Вимкнення цієї опції може дозволити грі читати/записувати пам&apos;ять емулятора.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>Вимкнути перевірку адресного простору</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Ця опція підвищує швидкість, покладаючись тільки на семантику cmpxchg для забезпечення безпеки інструкцій виняткового доступу. Зверніть увагу, що це може призвести до повних зависань та інших умов перегонів.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>Ігнорувати глобальний моніторинг</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>Налаштування ЦП недоступні, поки запущена гра.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -852,222 +692,227 @@ This would ban both their forum username and their IP address.</source>
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>Налагоджувач</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>Увімкнути GDB Stub</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Порт:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Журналювання</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Глобальний фільтр журналів</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>Показувати журнал у консолі</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Відкрити папку для журналів</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Глобальний фільтр журналів</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Якщо увімкнено, максимальний розмір журналу збільшується зі 100 МБ до 1 ГБ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>Увімкнути розширене ведення журналу**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Показувати журнал у консолі</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>Рядок аргументів</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Графіка</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>Якщо увімкнено, графічний API переходить у повільніший режим налагодження</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Увімкнути налагодження графіки</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>Якщо ввімкнено, вмикає дампи крашів Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Якщо увімкнено, шейдери виконуються без зміни логіки циклу</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>Увімкнути Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Вимкнути перевірку безпеки циклу</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>Якщо ввімкнено, буде дампити всі оригінальні шейдери асемблера з кешу шейдерів на диску або гри як знайдені</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>Якщо прапорець встановлено, він вимикає функції макроса HLE. Увімкнення цього параметра уповільнює роботу ігор</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>Дамп ігрових шейдерів</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>Вимкнути макрос HLE</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>Якщо ввімкнено, буде дампити всі макропрограми ГП</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>Дамп макросов Maxwell</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>Якщо ввімкнено, вимикає компілятор макросу Just In Time. Увімкнення цього параметра уповільнює роботу ігор</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Вимкнути макрос JIT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation>Якщо прапорець встановлено, він вимикає функції макроса HLE. Увімкнення цього параметра уповільнює роботу ігор</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>Якщо ввімкнено, вмикає дампи крашів Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation>Вимкнути макрос HLE</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Увімкнути Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
<source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation>Якщо увімкнено, yuzu записуватиме статистику про скомпільований кеш конвеєра</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
<source>Enable Shader Feedback</source>
<translation>Увімкнути зворотний зв&apos;язок про шейдери</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>Якщо увімкнено, шейдери виконуються без зміни логіки циклу</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>Вимкнути перевірку безпеки циклу</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>Якщо ввімкнено, вимикає компілятор макросу Just In Time. Увімкнення цього параметра уповільнює роботу ігор</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Налагодження</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Вимкнути макрос JIT</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation>Увімкнути службу звітів у розгорнутому вигляді**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Якщо увімкнено, графічний API переходить у повільніший режим налагодження</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>Увімкнути журнал доступу до ФС</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Увімкнути налагодження графіки</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation>Увімкніть це щоб виводити останній згенерирований список аудіо команд в консоль. Впливає лише на ігри, які використовують аудіо рендерер.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Якщо ввімкнено, буде дампити всі оригінальні шейдери асемблера з кешу шейдерів на диску або гри як знайдені</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation>Вивантажувати аудіо команди в консоль**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>Дамп ігрових шейдерів</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>Створювати міні-дамп після крашу</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
<source>Advanced</source>
<translation>Розширені</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>Дозволяє yuzu перевіряти наявність робочого середовища Vulkan під час запуску програми. Вимкніть цю опцію, якщо це викликає проблеми з тим, що зовнішні програми бачать yuzu.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>Виконувати перевірку Vulkan під час запуску</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Вимкнути веб-аплет</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Увімкнути всі типи контролерів</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Увімкнути автопідставку**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Режим кіоску (Квест)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>Увімкнути налагодження ЦП</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>Увімкнути налагоджувальні припущення</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>Увімкнути автопідставку**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Налагодження</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>Увімкнути всі типи контролерів</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>Увімкнути журнал доступу до ФС</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>Вимкнути веб-аплет</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>Створювати міні-дамп після крашу</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation>Дозволяє yuzu перевіряти наявність робочого середовища Vulkan під час запуску програми. Вимкніть цю опцію, якщо це викликає проблеми з тим, що зовнішні програми бачать yuzu.</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>Увімкніть це щоб виводити останній згенерирований список аудіо команд в консоль. Впливає лише на ігри, які використовують аудіо рендерер.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>Виконувати перевірку Vulkan під час запуску</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation>Вивантажувати аудіо команди в консоль**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>Увімкнути службу звітів у розгорнутому вигляді**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**Це буде автоматично скинуто після закриття yuzu.</translation>
</message>
@@ -1082,12 +927,12 @@ This would ban both their forum username and their IP address.</source>
<translation>yuzu необхідно перезапустити, щоб застосувати це налаштування.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>Веб-аплет не скомпільовано</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation>Створення міні-дампа не скомпільовано</translation>
</message>
@@ -1137,78 +982,83 @@ This would ban both their forum username and their IP address.</source>
<translation>Налаштування yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Деякі налаштування доступні тільки тоді, коли гру не запущено.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Аудіо</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>ЦП</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Налагодження</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Файлова система</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Загальні</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Графіка</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>ГрафікаРозширені</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Гарячі клавіші</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Керування</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Профілі</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Мережа</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>Система</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Список ігор</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Мережа</translation>
</message>
@@ -1367,57 +1217,17 @@ This would ban both their forum username and their IP address.</source>
<translation>Загальні</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Обмеження відсотка швидкості</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Багатоядерна емуляція ЦП</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Підтверджувати вихід під час емуляції</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Запитувати користувача під час запуску гри</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Призупиняти емуляцію у фоновому режимі</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Приховування миші при бездіяльності</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Скинути всі налаштування</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>Це скине всі налаштування і видалить усі конфігурації під окремі ігри. При цьому не будуть видалені шляхи до ігор, профілів або профілів вводу. Продовжити?</translation>
</message>
@@ -1440,311 +1250,43 @@ This would ban both their forum username and their IP address.</source>
<translation>Налаштування API</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>Бекенд шейдерів:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Пристрій:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Вимкнено</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Налаштування графіки</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>Використовувати кеш конвеєра на диску</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Використовувати асинхронну емуляцію ГП</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>Прискорення декодування текстур ASTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation>Режим верт. синхронізації:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation>FIFO (VSync) не пропускає кадри і не має розривів, але обмежений частотою оновлення екрана.
-FIFO Relaxed схожий на FIFO, але може мати розриви під час відновлення після просідань.
-Mailbox може мати меншу затримку, ніж FIFO, і не має розривів, але може пропускати кадри.
-Моментальний (без синхронізації) просто показує всі кадри і може мати розриви.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>Емуляція NVDEC:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Відсутність відеовиходу</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>Декодування відео на ЦП</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>Декодування відео на ГП (за замовчуванням)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Повноекранний режим:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Вікно без рамок</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Ексклюзивний повноекранний</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Співвідношення сторін:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>За замовчуванням (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Змусити 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Змусити 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>Змусити 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Розтягнути до вікна</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>Роздільна здатність:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [ЕКСПЕРИМЕНТАЛЬНЕ]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [ЕКСПЕРИМЕНТАЛЬНЕ]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation>1.5X (1080p/1620p) [ЕКСПЕРИМЕНТАЛЬНО]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation>7X (5040p/7560p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation>8X (5760p/8640p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>Фільтр адаптації вікна:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Найближчий сусід</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Білінійне</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Бікубічне</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>Гауса</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️ Super Resolution</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>Метод згладжування:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation>Використовувати глобальну різкість FSR</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation>Встановити різкість FSR</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation>Різкість FSR:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation>100%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Використовувати глобальний фоновий колір</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Встановити фоновий колір:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Фоновий колір:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (асемблерні шейдери, лише для NVIDIA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation>SPIR-V (Експериментально, лише для Mesa)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation>Вимкнено</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation>Верт. синхронізацію вимкнено</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation>Рекомендовано</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation>Увімкнено</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation>Верт. синхронізація увімкнена</translation>
</message>
@@ -1766,163 +1308,6 @@ Mailbox може мати меншу затримку, ніж FIFO, і не ма
<source>Advanced Graphics Settings</source>
<translation>Розширені налаштування графіки</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Рівень точності:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation>Рекомпресія ASTC:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation>Без стиснення (Найкраща якість)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation>ВС1 (Низька якість)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation>ВС3 (Середня якість)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation>Увімкнути асинхронну презентацію (Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation>Виконує роботу у фоновому режимі в очікуванні графічних команд, не даючи змоги ГП знижувати тактову частоту.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation>Примусово змусити максимальну тактову частоту (тільки для Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation>Включає асинхронне декодування ASTC текстур, що може зменшити зависання під час завантаження. Ця функція є експериментальною.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation>Декодувати ASTC текстури асинхронно (хак)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation>Використовує реактивне очищення замість прогнозованого. Це дає змогу точніше синхронізувати пам&apos;ять.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation>Увімкнути реактивне очищення</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Вмикає асинхронну компіляцію шейдерів, що зменшить зависання через шейдери. Функція є експериментальною.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>Використовувати асинхронну побудову шейдерів (хак)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>Вмикає функцію Fast GPU Time. Цей параметр змусить більшість ігор працювати в максимальній рідній роздільній здатності.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>Увімкнути Fast GPU Time (хак)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation>Вмикає кеш конвеєра, специфічний для виробника GPU. Ця опція може значно поліпшити час завантаження шейдерів у тих випадках, коли драйвер Vulkan не зберігає внутрішні файли кешу конвеєра.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation>Використовувати конвеєрний кеш Vulkan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation>Вмикає обчислювальні конвеєри, які обов&apos;язкові для деяких ігор. Цей параметр існує лише для власних драйверів Intel і може призвести до збоїв, якщо його ввімкнути.
-Обчислювальні конвеєри завжди увімкнені на всіх інших драйверах.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation>Увімкнути обчислювальні конвеєри (тільки для Intel Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Анізотропна фільтрація:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>Автоматично</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>За замовчуванням</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2686,10 +2071,10 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3085"/>
<source>Mouse panning</source>
- <translation type="unfinished"/>
+ <translation>Панорамування миші</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Налаштувати</translation>
</message>
@@ -3113,75 +2498,99 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="6"/>
<source>Configure mouse panning</source>
- <translation type="unfinished"/>
+ <translation>Налаштувати панорамування миші</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation>Увімкнути</translation>
+ <source>Enable mouse panning</source>
+ <translation>Увімкнути панорамування миші</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
- <translation type="unfinished"/>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
+ <translation>Можна перемикати гарячою клавішею. Гаряча клавіша за замовчуванням - Ctrl + F9</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
<source>Sensitivity</source>
- <translation type="unfinished"/>
+ <translation>Чутливість</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
- <translation type="unfinished"/>
+ <translation>Горизонтальна</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
- <translation type="unfinished"/>
+ <translation>Вертикальна</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="85"/>
<source>Deadzone counterweight</source>
- <translation type="unfinished"/>
+ <translation>Противага мертвої зони</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="88"/>
<source>Counteracts a game&apos;s built-in deadzone</source>
- <translation type="unfinished"/>
+ <translation>Протидія вбудованим в ігри мертвим зонам</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation>Мертва зона</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
- <translation type="unfinished"/>
+ <translation>Повернення стіка</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
- <translation type="unfinished"/>
+ <translation>Сила</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
- <translation type="unfinished"/>
+ <translation>Мінімум</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>За замовчуванням</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation>Панорамування мишею краще працює за мертвої зони 0% і діапазону 100%.
+Поточні значення: %1% і %2% відповідно.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation>Емуляцію миші ввімкнено. Це несумісно з панорамуванням миші.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>Емульована мишка увімкнена</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation>Введення реальної миші та панорамування мишею несумісні. Будь ласка, вимкніть емульовану мишу в розширених налаштуваннях введення, щоб дозволити панорамування мишею.</translation>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3214,100 +2623,95 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>Діалог</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Інформація</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Назва</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>Ідентифікатор гри</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Ім&apos;я файлу</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Формат</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Версія</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Розмір</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Розробник</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Доповнення</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Деякі налаштування доступні тільки тоді, коли гру не запущено.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Загальні</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Доповнення</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>Система</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>ЦП</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Графіка</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Розш. Графіка</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Аудіо</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation>Профілі вводу</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Властивості</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>Використовувати глобальне налаштування (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3503,7 +2907,7 @@ UUID: %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="26"/>
<source>To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game.</source>
- <translation type="unfinished"/>
+ <translation>Щоб використовувати контролер Ring, налаштуйте гравця 1 як правий Joy-Con (як фізичний, так і емульований), а гравця 2 - як лівий Joy-Con (лівий фізичний і подвійний емульований) перед початком гри.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="52"/>
@@ -3608,7 +3012,7 @@ UUID: %2</translation>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="309"/>
<source>The current mapped device is not connected</source>
- <translation type="unfinished"/>
+ <translation>Поточний пристрій не під&apos;єднано</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="313"/>
@@ -3630,412 +3034,17 @@ UUID: %2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>Система</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Налаштування системи</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Регіон:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Авто</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>За замовчуванням</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>Куба</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>Єгипет</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>Ейре</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>EST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>GB</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>GB-Ейре</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>Гринвіч</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>Гонконг</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>HST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>Ісландія</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>Іран</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>Ізраїль</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>Ямайка</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Японія</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>Кваджалейн</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>Лівія</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>MET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>MST</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>Навахо</translation>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation>Ядро</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>NZ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>NZ-CHAT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>Польща</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>Португалія</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>PRC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>PST8PDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>ROC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>ROK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>Сінгапур</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>Туреччина</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>Універсальний</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>W-SU</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>WET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>Зулуси</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>США</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Європа</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Австралія</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>Китай</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Корея</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Тайвань</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>Часовий пояс:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Примітка: може бути перезаписано якщо регіон вибирається автоматично</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Японська (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation>Американська англійська</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Французька (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Німецька (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Італійська (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Іспанська (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Китайська</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Корейська (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Голландська (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Португальська (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Російська (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Тайванська</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Британська англійська</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Канадська французька</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Латиноамериканська іспанська</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Спрощена китайська</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Традиційна китайська (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>Бразильська португальська (português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>Користувацький RTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Мова</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>Сід RNG</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation>Назва пристрою</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation>Небезпечне розширення компонування пам&apos;яті (8 ГБ DRAM)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Налаштування системи доступні тільки тоді, коли гру не запущено.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation>Увага: мова &quot;%1&quot; не підходить для регіону &quot;%2&quot;</translation>
</message>
@@ -4244,64 +3253,64 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Нічого</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>Маленький (32х32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>Стандартний (64х64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>Великий (128х128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>Повнорозмірний (256х256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>Маленький (24х24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>Стандартний (48х48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>Великий (72х72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Ім&apos;я файлу</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>Тип файлу</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>Ідентифікатор гри</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>Назва гри</translation>
</message>
@@ -4404,15 +3413,31 @@ Drag points to change position, or double-click table cells to edit values.</sou
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Роздільна здатність:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>Виберіть папку для знімків екрану...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation type="unfinished"/>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4713,12 +3738,12 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation>Підключення</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation>Підключитися</translation>
</message>
@@ -4726,575 +3751,612 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Анонімні дані збираються для того,&lt;/a&gt; щоб допомогти поліпшити роботу yuzu. &lt;br/&gt;&lt;br/&gt;Хотіли б ви ділитися даними про використання з нами?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Телеметрія</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation>Виявлено пошкоджену інсталяцію Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation>Не вдалося виконати ініціалізацію Vulkan під час завантаження.&lt;br&gt;&lt;br&gt;Натисніть &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;тут для отримання інструкцій щодо усунення проблеми&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
- <translation type="unfinished"/>
+ <translation>Запущено гру</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>Завантаження веб-аплета...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>Вимкнути веб-аплет</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation>Вимкнення веб-апплета може призвести до несподіваної поведінки, і його слід вимикати лише заради Super Mario 3D All-Stars. Ви впевнені, що хочете вимкнути веб-апплет?
(Його можна знову ввімкнути в налаштуваннях налагодження.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>Кількість створюваних шейдерів на цей момент</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation>Поточний обраний множник масштабування роздільної здатності.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>Поточна швидкість емуляції. Значення вище або нижче 100% вказують на те, що емуляція йде швидше або повільніше, ніж на Switch.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>Кількість кадрів на секунду в цей момент. Значення буде змінюватися між іграми та сценами.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Час, який потрібен для емуляції 1 кадру Switch, не беручи до уваги обмеження FPS або вертикальну синхронізацію. Для емуляції в повній швидкості значення має бути не більше 16,67 мс.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation>Увімкнути звук</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation>Вимкнути звук</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation>Скинути гучність</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>[&amp;C] Очистити нещодавні файли</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation>Емульована мишка увімкнена</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation>Введення реальної миші та панорамування мишею несумісні. Будь ласка, вимкніть емульовану мишу в розширених налаштуваннях введення, щоб дозволити панорамування мишею.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>[&amp;C] Продовжити</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>[&amp;P] Пауза</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>Попередження застарілий формат гри</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>Для цієї гри ви використовуєте розархівований формат ROM&apos;а, який є застарілим і був замінений іншими, такими як NCA, NAX, XCI або NSP. У розархівованих каталогах ROM&apos;а відсутні іконки, метадані та підтримка оновлень. &lt;br&gt;&lt;br&gt;Для отримання інформації про різні формати Switch, підтримувані yuzu, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;перегляньте нашу вікі&lt;/a&gt;. Це повідомлення більше не буде відображатися.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>Помилка під час завантаження ROM!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>Формат ROM&apos;а не підтримується.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>Сталася помилка під час ініціалізації відеоядра.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation>yuzu зіткнувся з помилкою під час запуску відеоядра. Зазвичай це спричинено застарілими драйверами ГП, включно з інтегрованими. Перевірте журнал для отримання більш детальної інформації. Додаткову інформацію про доступ до журналу дивіться на наступній сторінці: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;Як завантажити файл журналу&lt;/a&gt;. </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>Помилка під час завантаження ROM&apos;а! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation>%1&lt;br&gt;Будь ласка, дотримуйтесь &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;короткого керівництва користувача yuzu&lt;/a&gt; щоб пере-дампити ваші файли&lt;br&gt;Ви можете звернутися до вікі yuzu&lt;/a&gt; або Discord yuzu&lt;/a&gt; для допомоги</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>Сталася невідома помилка. Будь ласка, перевірте журнал для подробиць.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-бітний)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-бітний)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation>Закриваємо програму...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>Збереження</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Дані модів</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>Помилка під час відкриття папки %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>Папка не існує!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>Помилка під час відкриття переносного кешу шейдерів</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation>Не вдалося створити папку кешу шейдерів для цієї гри.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation>Помилка під час видалення вмісту</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation>Помилка під час видалення оновлень</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation>Помилка під час видалення DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation>Видалити встановлений вміст ігор?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation>Видалити встановлені оновлення гри?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation>Видалити встановлені DLC гри?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>Видалити запис</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>Успішно видалено</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>Встановлену гру успішно видалено.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>Гру не встановлено в NAND і не може буде видалено.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>Встановлене оновлення успішно видалено.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>Для цієї гри не було встановлено оновлення.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>Для цієї гри не було встановлено DLC.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>Встановлений DLC %1 було успішно видалено</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation>Видалити переносний кеш шейдерів OpenGL?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation>Видалити переносний кеш шейдерів Vulkan?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation>Видалити весь переносний кеш шейдерів?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>Видалити користувацьке налаштування гри?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation>Видалити кеш-сховище?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>Видалити файл</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>Помилка під час видалення переносного кешу шейдерів</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>Кеш шейдерів для цієї гри не існує.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>Переносний кеш шейдерів успішно видалено.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>Не вдалося видалити переносний кеш шейдерів.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation>Помилка під час видалення конвеєрного кешу Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation>Не вдалося видалити конвеєрний кеш шейдерів.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation>Помилка під час видалення переносного кешу шейдерів</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation>Переносний кеш шейдерів успішно видалено.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation>Помилка під час видалення папки переносного кешу шейдерів.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>Помилка під час видалення користувацького налаштування</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>Користувацьких налаштувань для цієї гри не існує.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>Користувацьке налаштування гри успішно видалено.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>Не вдалося видалити користувацьке налаштування гри.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>Не вдалося вилучити RomFS!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>Сталася помилка під час копіювання файлів RomFS або користувач скасував операцію.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>Повний</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>Скелет</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>Виберіть режим дампа RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Будь ласка, виберіть, як ви хочете виконати дамп RomFS &lt;br&gt;Повний скопіює всі файли в нову папку, тоді як &lt;br&gt;скелет створить лише структуру папок.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation>В %1 недостатньо вільного місця для вилучення RomFS. Будь ласка, звільніть місце або виберіть іншу папку для дампа в Емуляція &gt; Налаштування &gt; Система &gt; Файлова система &gt; Корінь дампа</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>Вилучення RomFS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Скасувати</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>Вилучення RomFS пройшло успішно!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>Операція завершилася успішно.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation>Створити ярлик</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation>Це створить ярлик для поточного AppImage. Він може не працювати після оновлень. Продовжити?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation>Не вдається створити ярлик на робочому столі. Шлях &quot;%1&quot; не існує.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Неможливо створити ярлик у меню додатків. Шлях &quot;%1&quot; не існує і не може бути створений.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation>Створити іконку</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>Неможливо створити файл іконки. Шлях &quot;%1&quot; не існує і не може бути створений.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation>Запустити %1 за допомогою емулятора yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation>Не вдалося створити ярлик у %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation>Успішно створено ярлик у %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>Помилка відкриття %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Обрати папку</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Властивості</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>Не вдалося завантажити властивості гри.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Виконуваний файл Switch (%1);;Усі файли (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Завантажити файл</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Відкрити папку вилученого ROM&apos;а</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Вибрано неприпустиму папку</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>Папка, яку ви вибрали, не містить файлу &apos;main&apos;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>Встановлюваний файл Switch (*.nca, *.nsp, *.xci);;Архів контенту Nintendo (*.nca);;Пакет подачі Nintendo (*.nsp);;Образ картриджа NX (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>Встановити файли</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation><numerusform>Залишився %n файл</numerusform><numerusform>Залишилося %n файл(ів)</numerusform><numerusform>Залишилося %n файл(ів)</numerusform><numerusform>Залишилося %n файл(ів)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>Встановлення файлу &quot;%1&quot;...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>Результати встановлення</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>Щоб уникнути можливих конфліктів, ми не рекомендуємо користувачам встановлювати ігри в NAND.
Будь ласка, використовуйте цю функцію тільки для встановлення оновлень і завантажуваного контенту.</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation><numerusform>%n файл було нещодавно встановлено
@@ -5304,7 +4366,7 @@ Please, only use this feature to install updates and DLC.</source>
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation><numerusform>%n файл було перезаписано
@@ -5314,7 +4376,7 @@ Please, only use this feature to install updates and DLC.</source>
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation><numerusform>%n файл не вдалося встановити
@@ -5324,312 +4386,339 @@ Please, only use this feature to install updates and DLC.</source>
</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Системний додаток</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Системний архів</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Оновлення системного додатку</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Пакет прошивки (Тип А)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Пакет прошивки (Тип Б)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Гра</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Оновлення гри</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>DLC до гри</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Дельта-титул</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Виберіть тип установки NCA...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>Будь ласка, виберіть тип додатку, який ви хочете встановити для цього NCA:
(У більшості випадків, підходить стандартний вибір &quot;Гра&quot;.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Помилка встановлення</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>Тип додатку, який ви вибрали для NCA, недійсний.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Файл не знайдено</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Файл &quot;%1&quot; не знайдено</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>ОК</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation>Не задоволені системні вимоги</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation>Ваша система не відповідає рекомендованим системним вимогам. Звіти про сумісність було вимкнено.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>Відсутній обліковий запис yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>Щоб надіслати звіт про сумісність гри, необхідно прив&apos;язати свій обліковий запис yuzu. &lt;br&gt;&lt;br/&gt;Щоб прив&apos;язати свій обліковий запис yuzu, перейдіть у розділ Емуляція &amp;gt; Параметри &amp;gt; Мережа.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>Помилка під час відкриття URL</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>Не вдалося відкрити URL: &quot;%1&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation>Запис TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>Перезаписати файл гравця 1?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>Виявлено неприпустиму конфігурацію</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>Портативний контролер не може бути використаний у режимі док-станції. Буде обрано контролер Pro.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>Поточний amiibo було прибрано</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>Помилка</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation>Поточна гра не шукає amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Файл Amiibo (%1);; Всі Файли (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Завантажити Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Помилка під час завантаження даних Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation>Обраний файл не є допустимим amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation>Обраний файл уже використовується</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation>Виникла невідома помилка</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Зробити знімок екрану</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>Зображення PNG (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>Стан TAS: Виконується %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>Стан TAS: Записується %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation>Стан TAS: Простий %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>Стан TAS: Неприпустимий</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation>[&amp;S] Зупинка</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>[&amp;S] Почати</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>[&amp;E] Закінчити запис</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>[&amp;E] Запис</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation><numerusform>Побудова: %n шейдер</numerusform><numerusform>Побудова: %n шейдер(ів)</numerusform><numerusform>Побудова: %n шейдер(ів)</numerusform><numerusform>Побудова: %n шейдер(ів)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>Масштаб: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Швидкість: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Швидкість: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation>Гра: %1 FPS (Необмежено)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Гра: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Кадр: %1 мс</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>БЕЗ ЗГЛАДЖУВАННЯ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation>ГУЧНІСТЬ: ЗАГЛУШЕНА</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation>ГУЧНІСТЬ: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>Підтвердіть перерахунок ключа</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5646,37 +4735,37 @@ This will delete your autogenerated key files and re-run the key derivation modu
Це видалить ваші автоматично згенеровані файли ключів і повторно запустить модуль розрахунку ключів.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>Відсутні запобіжники</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation>- Відсутній BOOT0</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation>- Відсутній BCPKG2-1-Normal-Main</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation> - Відсутній PRODINFO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>Компоненти розрахунку відсутні</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation>Ключі шифрування відсутні.&lt;br&gt;Будь ласка, дотримуйтесь &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;короткого керівництва користувача yuzu&lt;/a&gt;, щоб отримати всі ваші ключі, прошивку та ігри&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5685,49 +4774,49 @@ on your system&apos;s performance.</source>
від продуктивності вашої системи.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>Отримання ключів</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation>Не вдалося розшифрувати системний архів</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation>Ключі шифрування не змогли розшифрувати прошивку.&lt;br&gt;Будь ласка, дотримуйтесь &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;короткого керівництва користувача yuzu&lt;/a&gt; щоб отримати всі ваші ключі, прошивку та ігри.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>Оберіть ціль для дампа RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>Будь ласка, виберіть, який RomFS ви хочете здампити.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Ви впевнені, що хочете закрити yuzu?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Ви впевнені, що хочете зупинити емуляцію? Будь-який незбережений прогрес буде втрачено.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5736,142 +4825,142 @@ Would you like to bypass this and exit anyway?</source>
Чи хочете ви обійти це і вийти в будь-якому випадку?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Вимкнено</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
<translation>Найближчий</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Білінійне</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Бікубічне</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>Гауса</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>У док-станції</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Портативний</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation>Нормальна</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation>Висока</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation>Екстрим</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
<translation>OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation>Null</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
- <translation type="unfinished"/>
+ <translation>GLSL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
- <translation type="unfinished"/>
+ <translation>GLASM</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
- <translation type="unfinished"/>
+ <translation>SPIRV</translation>
</message>
</context>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGL недоступний!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation>Загальні контексти OpenGL не підтримуються.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>yuzu не було зібрано з підтримкою OpenGL.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>Помилка під час ініціалізації OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>Ваш ГП може не підтримувати OpenGL, або у вас встановлено застарілий графічний драйвер.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>Помилка під час ініціалізації OpenGL 4.6!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>Ваш ГП може не підтримувати OpenGL 4.6, або у вас встановлено застарілий графічний драйвер.&lt;br&gt;&lt;br&gt;Рендерер GL:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>Ваш ГП може не підтримувати одне або кілька необхідних розширень OpenGL. Будь ласка, переконайтеся в тому, що у вас встановлено останній графічний драйвер.&lt;br&gt;&lt;br&gt;Рендерер GL:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Розширення, що не підтримуються:&lt;br&gt;%2</translation>
</message>
@@ -5879,173 +4968,178 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>Улюблені</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>Запустити гру</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>Запустити гру без користувацького налаштування</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Відкрити папку для збережень</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Відкрити папку для модів</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation>Відкрити переносний кеш конвеєра</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Видалити</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>Видалити встановлене оновлення</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>Видалити усі DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>Видалити користувацьке налаштування</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation>Видалити кеш-сховище</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation>Видалити кеш конвеєра OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation>Видалити кеш конвеєра Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>Видалити весь кеш конвеєра </translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>Видалити весь встановлений вміст</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>Дамп RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>Здампити RomFS у SDMC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Скопіювати ідентифікатор додатку в буфер обміну</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>Перейти до сторінки GameDB</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation>Створити ярлик</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation>Додати на Робочий стіл</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation>Додати до меню застосунків</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Властивості</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>Сканувати підпапки</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>Видалити директорію гри</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ Перемістити вверх</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ Перемістити вниз</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>Відкрити розташування папки</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Очистити</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Назва</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Сумісність</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Доповнення</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Тип файлу</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Розмір</translation>
</message>
@@ -6116,7 +5210,7 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>Натисніть двічі, щоб додати нову папку до списку ігор</translation>
</message>
@@ -6129,12 +5223,12 @@ Would you like to bypass this and exit anyway?</source>
<translation><numerusform>%1 із %n результат(ів)</numerusform><numerusform>%1 із %n результат(ів)</numerusform><numerusform>%1 із %n результат(ів)</numerusform><numerusform>%1 із %n результат(ів)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Пошук:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Введіть текст для пошуку</translation>
</message>
@@ -6210,12 +5304,12 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>Помилка</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation>Не вдалося оголосити кімнату в публічному фойє. Щоб хостити публічну кімнату, у вас має бути діючий обліковий запис yuzu, налаштований в Емуляція -&gt; Налаштування -&gt; Мережа. Якщо ви не хочете оголошувати кімнату в публічному лобі, виберіть замість цього прихований тип.
@@ -6225,13 +5319,11 @@ Debug Message: </source>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation>Увімкнення/вимкнення звуку</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6252,111 +5344,113 @@ Debug Message: </source>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation>Основне вікно</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation>Зменшити гучність звуку</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation>Підвищити гучність звуку</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Зробити знімок екрану</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation>Змінити адаптуючий фільтр</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation>Змінити режим консолі</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation>Змінити точність ГП</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation>Продовження/Пауза емуляції</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation>Вийти з повноекранного режиму</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation>Вийти з yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Повний екран</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Завантажити файл</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation>Завантажити/видалити Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation>Перезапустити емуляцію</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation>Зупинити емуляцію</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation>Запис TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation>Скидання TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation>Старт/Стоп TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation>Переключити панель пошуку</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation>Переключити обмеження частоти кадрів</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation>Переключити панорамування миші</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation>Переключити панель стану</translation>
</message>
@@ -6476,42 +5570,42 @@ Debug Message: </source>
<translation>Оновити фойє</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation>Для входу необхідний пароль</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation>Пароль:</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Гравці</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation>Назва кімнати</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation>Переважна гра</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation>Хост</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation>Оновлення</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation>Оновити список</translation>
</message>
@@ -6599,172 +5693,182 @@ Debug Message: </source>
<translation>[&amp;T] TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>[&amp;H] Допомога</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>[&amp;I] Встановити файли в NAND...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>[&amp;O] Завантажити файл...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>[&amp;F] Завантажити папку...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>[&amp;X] Вихід</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>[&amp;P] Пауза</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>[&amp;S] Стоп</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>[&amp;R] Переініціалізувати ключі...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>[&amp;A] Про yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>[&amp;W] Режим одного вікна</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>[&amp;F] Налаштування...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>[&amp;O] Відображати заголовки віджетів дока</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>[&amp;F] Показати панель пошуку</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>[&amp;S] Показати панель статусу</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Показати панель статусу</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation>[&amp;B] Переглянути публічні ігрові фойє</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation>[&amp;C] Створити кімнату</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation>[&amp;L] Залишити кімнату</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation>[&amp;D] Пряме під&apos;єднання до кімнати</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation>[&amp;S] Показати поточну кімнату</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>[&amp;U] Повноекранний</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>[&amp;R] Перезапустити</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation>[&amp;A] Завантажити/Видалити Amiibo...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>[&amp;R] Повідомити про сумісність</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation>[&amp;M] Відкрити сторінку модів</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation>[&amp;Q] Відкрити посібник користувача</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>[&amp;F] ЧАП</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation>[&amp;Y] Відкрити папку yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>[&amp;C] Зробити знімок екрану</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation>[&amp;C] Налаштування TAS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation>[&amp;U] Налаштувати поточну гру...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>[&amp;S] Почати</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation>[&amp;S] Скинути</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>[&amp;E] Запис</translation>
</message>
@@ -7557,27 +6661,27 @@ p, li { white-space: pre-wrap; }
<translation>Шлях до файлу</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation>Дані гри відсутні</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation>Наступні дані amiibo буде відформатовано:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation>Наступні дані гри буде видалено:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation>Встановіть псевдонім і власника:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation>Чи хочете ви відновити цю amiibo?</translation>
</message>
@@ -7618,7 +6722,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Контролер Pro</translation>
</message>
@@ -7631,7 +6735,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Подвійні Joy-Con&apos;и</translation>
</message>
@@ -7644,7 +6748,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Лівий Joy-Con</translation>
</message>
@@ -7657,7 +6761,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Правий Joy-Con</translation>
</message>
@@ -7686,7 +6790,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Портативний</translation>
</message>
@@ -7802,32 +6906,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>Контролер GameCube</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>Poke Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>Контролер NES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>Контролер SNES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>Контролер N64</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>Sega Genesis</translation>
</message>
diff --git a/dist/languages/vi.ts b/dist/languages/vi.ts
index a9674f644..c4c1fb3b2 100644
--- a/dist/languages/vi.ts
+++ b/dist/languages/vi.ts
@@ -36,7 +36,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/aboutdialog.ui" line="130"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://yuzu-emu.org/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Website&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Source Code&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/graphs/contributors&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Contributors&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;License&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://yuzu-emu.org/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Trang web&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Mã nguồn&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/graphs/contributors&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Đóng góp&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/blob/master/license.txt&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Giấy phép&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;a href=&quot;https://yuzu-emu.org/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Trang web&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Mã nguồn&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/graphs/contributors&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Người đóng góp&lt;/span&gt;&lt;/a&gt; | &lt;a href=&quot;https://github.com/yuzu-emu/yuzu/blob/master/LICENSE.txt&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;Giấy phép&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/aboutdialog.ui" line="146"/>
@@ -69,7 +69,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="49"/>
<source>Configuration completed!</source>
- <translation>Đã hoàn thành quá trình thiết lập!</translation>
+ <translation>Đã hoàn thành quá trình cấu hình!</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="57"/>
@@ -82,7 +82,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.ui" line="14"/>
<source>Room Window</source>
- <translation type="unfinished"/>
+ <translation>Cửa sổ Phòng</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.ui" line="40"/>
@@ -102,7 +102,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="318"/>
<source>%1 has joined</source>
- <translation>%1 đã vô</translation>
+ <translation>%1 đã tham gia</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="321"/>
@@ -138,7 +138,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="470"/>
<source>When you block a player, you will no longer receive chat messages from them.&lt;br&gt;&lt;br&gt;Are you sure you would like to block %1?</source>
- <translation>Khi bạn chặn một người chơi, bạn sẽ không còn nhận được tin nhắn từ người chơi đó nữa. Bạn có chắc là muốn chặn %1?</translation>
+ <translation>Khi bạn chặn một người chơi, bạn sẽ không còn nhận được tin nhắn từ người chơi đó nữa.&lt;br&gt;&lt;br&gt;Bạn có chắc muốn chặn %1?</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="483"/>
@@ -172,7 +172,7 @@ p, li { white-space: pre-wrap; }
This would ban both their forum username and their IP address.</source>
<translation>Bạn có chắc là bạn muốn &lt;b&gt;kick và ban&lt;/b&gt; %1?
-Điều này sẽ ban tên trên diễn đàn của họ và IP của họ luôn</translation>
+Việc này sẽ ban tên người dùng trên diễn đàn và IP của họ luôn.</translation>
</message>
</context>
<context>
@@ -180,7 +180,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/multiplayer/client_room.ui" line="14"/>
<source>Room Window</source>
- <translation type="unfinished"/>
+ <translation>Cửa sổ Phòng</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/client_room.ui" line="27"/>
@@ -195,7 +195,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/multiplayer/client_room.ui" line="57"/>
<source>Leave Room</source>
- <translation>Rời khỏi phòng</translation>
+ <translation>Rời phòng</translation>
</message>
</context>
<context>
@@ -208,12 +208,12 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/multiplayer/client_room.cpp" line="87"/>
<source>Disconnected</source>
- <translation>Mất kết nối</translation>
+ <translation>Đã ngắt kết nối</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/client_room.cpp" line="100"/>
<source>%1 - %2 (%3/%4 members) - connected</source>
- <translation>%1 - %2 (%3/%4 members) - đã kết nối</translation>
+ <translation>%1 - %2 (%3/%4 thành viên) - đã kết nối</translation>
</message>
</context>
<context>
@@ -232,7 +232,7 @@ This would ban both their forum username and their IP address.</source>
<location filename="../../src/yuzu/compatdb.ui" line="271"/>
<location filename="../../src/yuzu/compatdb.ui" line="330"/>
<source>Report Game Compatibility</source>
- <translation>Báo cáo độ tương thích trò chơi</translation>
+ <translation>Báo cáo về độ tương thích của game</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="36"/>
@@ -242,7 +242,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="77"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game boot?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Game có chạy lên thành công hay không?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Game có khởi chạy thành công hay không?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="100"/>
@@ -252,32 +252,32 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="107"/>
<source>No The game doesn&apos;t get past the &quot;Launching...&quot; screen</source>
- <translation>Không Game không thể qua khỏi được khúc màn hình &quot;Launching...&quot;</translation>
+ <translation>Không Game không thể qua được màn hình &quot;Launching...&quot;</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="124"/>
<source>Yes The game gets past the intro/menu and into gameplay</source>
- <translation>Có Game có thể qua được khúc intro/menu và vô được game</translation>
+ <translation>Có Game có thể qua được khúc intro/menu và vô được game</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="131"/>
<source>No The game crashes or freezes while loading or using the menu</source>
- <translation>Không Game crash hoặc đơ khi đang loading hoặc sử dụng menu</translation>
+ <translation>Không Game crash hoặc đơ khi đang loading hoặc sử dụng menu</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="143"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game reach gameplay?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Game có chạy được tới vô bên trong hay không?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Game có vào được gameplay không?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="176"/>
<source>Yes The game works without crashes</source>
- <translation>Có Game chạy ổn định, không bị crash</translation>
+ <translation>Có Game chạy ổn định, không bị crash</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="183"/>
<source>No The game crashes or freezes during gameplay</source>
- <translation>Không Game crash hoặc đơ trong lúc chơi</translation>
+ <translation>Không Game crash hoặc đơ trong lúc chơi</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="195"/>
@@ -287,12 +287,12 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="228"/>
<source>Yes The game can be finished without any workarounds</source>
- <translation>Có Game có thể hoàn thành mà không cần phải làm gì thêm</translation>
+ <translation>Có Game có thể hoàn thành mà không cần phải làm gì thêm</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="235"/>
<source>No The game can&apos;t progress past a certain area</source>
- <translation>Không Game không thể qua được mốt số khúc</translation>
+ <translation>Không Game không thể qua được mốt số khúc</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="247"/>
@@ -302,12 +302,12 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="280"/>
<source>Major The game has major graphical errors</source>
- <translation>Lỗi nặng Game bị lỗi hình ảnh nặng</translation>
+ <translation>Lỗi nặng Game bị lỗi hình ảnh nặng</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="287"/>
<source>Minor The game has minor graphical errors</source>
- <translation>Lỗi nhẹ Game bị lỗi hình ảnh nhẹ</translation>
+ <translation>Lỗi nhẹ Game bị lỗi hình ảnh nhẹ</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="294"/>
@@ -322,7 +322,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="339"/>
<source>Major The game has major audio errors</source>
- <translation>Lỗi nặng Game bị lỗi âm thanh nặng</translation>
+ <translation>Lỗi nặng Game bị lỗi âm thanh nặng</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="346"/>
@@ -357,7 +357,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/compatdb.cpp" line="196"/>
<source>An error occurred while sending the Testcase</source>
- <translation>Có lỗi xảy ra khi gửi Testcase</translation>
+ <translation>Lỗi khi gửi Testcase</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.cpp" line="198"/>
@@ -366,78 +366,32 @@ This would ban both their forum username and their IP address.</source>
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Âm thanh</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Hệ thống xuất:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>Đầu ra hệ thống:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>Đầu vào thiết bị:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>Chế độ đầu ra âm thanh</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Mono</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Stereo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Xung quanh</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Sử dụng âm lượng trong cài đặt</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Âm lượng tuỳ chỉnh:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Âm lượng:</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation>Tự động (%1)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Tắt âm thanh khi chạy nền</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation>Mặc định (%1)</translation>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Âm thanh</translation>
</message>
</context>
<context>
@@ -445,22 +399,22 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_camera.ui" line="14"/>
<source>Configure Infrared Camera</source>
- <translation>Chỉnh sửa camera hồng ngoại</translation>
+ <translation>Cấu hình camera hồng ngoại</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_camera.ui" line="26"/>
<source>Select where the image of the emulated camera comes from. It may be a virtual camera or a real camera.</source>
- <translation>Chọn hình ảnh từ camera giả lập. Nó có thể là một camera giả hoặc là một camera thật</translation>
+ <translation>Chọn hình ảnh từ camera giả lập. Nó có thể là một camera ảo hoặc một camera thật</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_camera.ui" line="52"/>
<source>Camera Image Source:</source>
- <translation>Camera ảnh gốc:</translation>
+ <translation>Nguồn ảnh camera:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_camera.ui" line="71"/>
<source>Input device:</source>
- <translation>Đầu vào thiết bị:</translation>
+ <translation>Thiết bị đầu vào:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_camera.ui" line="96"/>
@@ -475,12 +429,12 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_camera.ui" line="115"/>
<source>Click to preview</source>
- <translation>Nhấn để xem</translation>
+ <translation>Nhấp để xem</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_camera.ui" line="140"/>
<source>Restore Defaults</source>
- <translation>Khôi phục về mặc định</translation>
+ <translation>Khôi phục mặc định</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_camera.cpp" line="140"/>
@@ -501,135 +455,25 @@ This would ban both their forum username and their IP address.</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Chung</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Độ chính xác</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Tự động</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Tuyệt đối</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Tương đối</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
- <translation>Chúng tôi khuyến khích sử dụng chế độ &quot;Tự động&quot;</translation>
+ <translation>Chúng tôi khuyên nên đặt độ chính xác là &quot;Tự động&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
- <translation>Cài đặt tối ưu cho CPU ở chế độ tương đối</translation>
+ <translation>Cài đặt tối ưu cho CPU ở chế độ không an toàn</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Những cài đặt sau giảm độ chính xác của giả lập để đổi lấy tốc độ.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Chức năng này tăng tốc độ giả lập bằng cách giảm độ chính xác của tập lệnh phép tính gộp cộng và nhân (FMA) trên các dòng CPU không hỗ trợ nó.&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Không dùng FMA (tăng hiệu suất cho các dòng CPU không hỗ trợ FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Chức năng này cải thiện tốc độ của một số chức năng dấu phẩy động tương đối bằng cách sử dụng tính năng làm tròn kém chính xác hơn.&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>Chạy FRSQRTE và FRECPE nhanh hơn</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Tùy chọn này cải thiện tốc độ của các hàm dấu phẩy động ASIMD 32 bit bằng cách chạy với các chế độ làm tròn không chính xác.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Các lệnh ASIMD nhanh hơn (chỉ áp dụng cho 32 bit)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;Tùy chọn này sẽ cải thiện tốc độ bằng việc gỡ bỏ Kiểm tra NaN. Hãy nhớ là tùy chọn cũng sẽ giảm độ chính xác cho các dòng lệnh floating-point.&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Xử lí NaN gặp lỗi</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>Cài đặt CPU chỉ có sẵn khi không chạy trò chơi.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -651,7 +495,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="31"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;For debugging only.&lt;/span&gt;&lt;br/&gt;If you&apos;re not sure what these do, keep all of these enabled. &lt;br/&gt;These settings, when disabled, only take effect when CPU Debugging is enabled. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Chỉ dành cho việc gỡ lỗi.&lt;/span&gt;&lt;br/&gt;Nếu bạn không biết những sự lựa chọn này làm gì, hãy bật tất cả.&lt;br/&gt;Những cài đặt này, khi tắt, chỉ hiệu quả khi bật &quot;Gỡ lỗi CPU&quot;. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600;&quot;&gt;Chỉ dành cho việc gỡ lỗi.&lt;/span&gt;&lt;br/&gt;Nếu bạn không biết những lựa chọn này làm gì, hãy bật tất cả.&lt;br/&gt;Những cài đặt này, khi tắt, chỉ hiệu quả khi bật &quot;Chế độ gỡ lỗi CPU&quot;. &lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="41"/>
@@ -661,82 +505,94 @@ This would ban both their forum username and their IP address.</source>
&lt;div style=&quot;white-space: nowrap&quot;&gt;Disabling this forces all memory accesses to go through the Memory::Read/Memory::Write functions.&lt;/div&gt;
</source>
<translation>
- &lt;div style=&quot;white-space: nowrap&quot;&gt;Sự tối ưu hóa này làm cho việc truy cập bộ nhớ của chương trình khách nhanh hơn.&lt;/div&gt;
- &lt;div style=&quot;white-space: nowrap&quot;&gt;Bật nó giúp PageTable::pointers có thể được truy cập trong mã được phát ra.&lt;/div&gt;
- &lt;div style=&quot;white-space: nowrap&quot;&gt;Tắt nó làm cho mọi truy cập vào bộ nhớ bắt buộc phải qua các function Memory::Read/Memory::Write.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Tối ưu hóa này tăng tốc truy cập bộ nhớ của chương trình khách&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Bật nó sẽ nhúng các truy cập vào PageTable::pointers vào mã được tạo ra.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Tắt nó sẽ buộc mọi truy cập vào bộ nhớ phải qua các hàm Memory::Read/Memory::Write.&lt;/div&gt;
</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="48"/>
<source>Enable inline page tables</source>
- <translation type="unfinished"/>
+ <translation>Bật bảng trang nội tuyến</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="55"/>
<source>
&lt;div&gt;This optimization avoids dispatcher lookups by allowing emitted basic blocks to jump directly to other basic blocks if the destination PC is static.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div&gt;Tối ưu hóa này tránh tra cứu trình điều phối bằng cách cho phép các khối cơ bản được phát ra nhảy trực tiếp đến các khối cơ bản khác nếu địa chỉ PC đích là tĩnh.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="60"/>
<source>Enable block linking</source>
- <translation type="unfinished"/>
+ <translation>Bật liên kết khối</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="67"/>
<source>
&lt;div&gt;This optimization avoids dispatcher lookups by keeping track potential return addresses of BL instructions. This approximates what happens with a return stack buffer on a real CPU.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div&gt;Tối ưu hóa này tránh tra cứu trình điều phối bằng cách theo dõi các địa chỉ trả về tiềm năng của các chỉ thị BL. Điều này xấp xỉ việc xảy ra với một bộ đệm ngăn xếp trả về trên CPU thật.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="72"/>
<source>Enable return stack buffer</source>
- <translation type="unfinished"/>
+ <translation>Bật phản hồi của bộ đệm ngăn xếp</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="79"/>
<source>
&lt;div&gt;Enable a two-tiered dispatch system. A faster dispatcher written in assembly has a small MRU cache of jump destinations is used first. If that fails, dispatch falls back to the slower C++ dispatcher.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div&gt;Bật hệ thống điều phối hai cấp. Một trình điều phối nhanh hơn được viết bằng assembly và có một bộ nhớ đệm MRU nhỏ của các địa chỉ nhảy được sử dụng trước. Nếu không thành công, việc điều phối sẽ chuyển sang trình điều phối chậm hơn viết bằng C++.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="84"/>
<source>Enable fast dispatcher</source>
- <translation type="unfinished"/>
+ <translation>Bật trình điều phối nhanh</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="91"/>
<source>
&lt;div&gt;Enables an IR optimization that reduces unnecessary accesses to the CPU context structure.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div&gt;Kích hoạt một tối ưu hóa IR giảm truy cập không cần thiết vào cấu trúc ngữ cảnh CPU.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="96"/>
<source>Enable context elimination</source>
- <translation type="unfinished"/>
+ <translation>Bật loại bỏ ngữ cảnh</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="103"/>
<source>
&lt;div&gt;Enables IR optimizations that involve constant propagation.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div&gt;Kích hoạt tối ưu hóa IR liên quan đến truyền tải hằng số.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="108"/>
<source>Enable constant propagation</source>
- <translation type="unfinished"/>
+ <translation>Bật lan truyền hằng số</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="115"/>
<source>
&lt;div&gt;Enables miscellaneous IR optimizations.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div&gt;Bật tối ưu hoá IR đa dạng.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="120"/>
@@ -749,12 +605,15 @@ This would ban both their forum username and their IP address.</source>
&lt;div style=&quot;white-space: nowrap&quot;&gt;When enabled, a misalignment is only triggered when an access crosses a page boundary.&lt;/div&gt;
&lt;div style=&quot;white-space: nowrap&quot;&gt;When disabled, a misalignment is triggered on all misaligned accesses.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Khi kích hoạt, sự không căn chỉnh chỉ xảy ra khi một truy cập vượt qua ranh giới trang.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Khi vô hiệu hóa, sự không căn chỉnh sẽ xảy ra cho tất cả các truy cập không căn chỉnh.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="133"/>
<source>Enable misalignment check reduction</source>
- <translation type="unfinished"/>
+ <translation>Bật giảm kiểm tra không đồng nhất</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="140"/>
@@ -764,15 +623,15 @@ This would ban both their forum username and their IP address.</source>
&lt;div style=&quot;white-space: nowrap&quot;&gt;Disabling this forces all memory accesses to use Software MMU Emulation.&lt;/div&gt;
</source>
<translation>
- &lt;div style=&quot;white-space: nowrap&quot;&gt;Cái này sẽ tăng tốc độ truy cập bộ nhớ bằng cách truy cập dưới dạng chương trình guest&lt;/div&gt;
- &lt;div style=&quot;white-space: nowrap&quot;&gt;Khi bật lên sẽ viết/đọc trực tiếp vô bộ nhớ và sử dụng Host MMU&lt;/div&gt;
- &lt;div style=&quot;white-space: nowrap&quot;&gt;Tắt cái này đi sẽ ép mọi phương thức truy cập bộ nhớ đi qua Software MMU Emulation&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Tối ưu hoá này tăng tốc độ truy cập bộ nhớ của chương trình khách&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Bật nó sẽ làm cho việc đọc/ghi bộ nhớ của máy khách được thực hiện trực tiếp vào bộ nhớ và sử dụng MMU của máy chủ.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Tắt nó sẽ buộc tất cả các truy cập bộ nhớ phải sử dụng giả lập MMU phần mềm.&lt;/div&gt;
</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="147"/>
<source>Enable Host MMU Emulation (general memory instructions)</source>
- <translation>Bật Host MMU Emulation (general memory instructions)</translation>
+ <translation>Bật giả lập MMU trên máy chủ (các chỉ thị bộ nhớ chung)</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="154"/>
@@ -781,12 +640,16 @@ This would ban both their forum username and their IP address.</source>
&lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it causes guest exclusive memory reads/writes to be done directly into memory and make use of Host's MMU.&lt;/div&gt;
&lt;div style=&quot;white-space: nowrap&quot;&gt;Disabling this forces all exclusive memory accesses to use Software MMU Emulation.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Tối ưu hóa này tăng tốc truy cập bộ nhớ độc quyền của chương trình khách.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Bật nó sẽ làm cho việc đọc/ghi bộ nhớ độc quyền của máy khách được thực hiện trực tiếp vào bộ nhớ và sử dụng MMU của máy chủ.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Tắt nó sẽ buộc tất cả các truy cập bộ nhớ độc quyền phải sử dụng giả lập MMU phần mềm.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="161"/>
<source>Enable Host MMU Emulation (exclusive memory instructions)</source>
- <translation type="unfinished"/>
+ <translation>Bật giả lập MMU trên máy chủ (các chỉ thị bộ nhớ độc quyền)</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="168"/>
@@ -794,12 +657,15 @@ This would ban both their forum username and their IP address.</source>
&lt;div style=&quot;white-space: nowrap&quot;&gt;This optimization speeds up exclusive memory accesses by the guest program.&lt;/div&gt;
&lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it reduces the overhead of fastmem failure of exclusive memory accesses.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Tối ưu hóa này tăng tốc truy cập bộ nhớ độc quyền của chương trình khách.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Bật nó giảm tải chi phí phụ khi xảy ra lỗi fastmem trong quá trình truy cập bộ nhớ độc quyền.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="174"/>
<source>Enable recompilation of exclusive memory instructions</source>
- <translation type="unfinished"/>
+ <translation>Bật biên dịch lại các chỉ thị bộ nhớ độc quyền</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="181"/>
@@ -807,260 +673,268 @@ This would ban both their forum username and their IP address.</source>
&lt;div style=&quot;white-space: nowrap&quot;&gt;This optimization speeds up memory accesses by allowing invalid memory accesses to succeed.&lt;/div&gt;
&lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it reduces the overhead of all memory accesses and has no impact on programs that don't access invalid memory.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Tối ưu hóa này tăng tốc truy cập bộ nhớ bằng cách cho phép các truy cập bộ nhớ không hợp lệ thành công.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Bật nó giảm tải các chi phí phụ liên quan đến việc truy cập bộ nhớ và không ảnh hưởng đến các chương trình không truy cập vào bộ nhớ không hợp lệ.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="187"/>
<source>Enable fallbacks for invalid memory accesses</source>
- <translation type="unfinished"/>
+ <translation>Bật dự phòng cho truy cập bộ nhớ không hợp lệ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="212"/>
<source>CPU settings are available only when game is not running.</source>
- <translation>Cài đặt CPU chỉ có sẵn khi không chạy trò chơi.</translation>
+ <translation>Cài đặt CPU chỉ khả dụng khi game không chạy.</translation>
</message>
</context>
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
- <translation type="unfinished"/>
+ <translation>Trình gỡ lỗi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
- <translation>Cho phép bật GDB sơ khai</translation>
+ <translation>Bật GDB Stub</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Cổng:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
- <translation>Báo cáo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Bộ lọc báo cáo chung</translation>
+ <translation>Ghi nhật ký</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
+ <source>Open Log Location</source>
+ <translation>Mở vị trí nhật ký</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
- <source>Open Log Location</source>
- <translation>Mở vị trí sổ ghi chép</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Bộ lọc nhật ký chung</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
- <translation>Khi tích vào, dung lượng tối đa cho file log chuyển từ 100 MB lên 1 GB</translation>
+ <translation>Khi kích hoạt, kích thước tối đa của tập tin nhật ký tăng từ 100 MB lên 1 GB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
- <translation type="unfinished"/>
+ <translation>Bật ghi nhật ký mở rộng**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Hiện nhật ký trong console</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
- <translation>Xâu lệnh</translation>
+ <translation>Chuỗi đối số</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Đồ hoạ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Khi kích hoạt, nó thực thi các shader mà không thay đổi logic vòng lặp</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Kích hoạt chế độ gỡ lỗi đồ hoạ</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Tắt kiểm tra an toàn vòng lặp</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>Khi kích hoạt, nó sẽ tắt các chức năng Macro HLE. Bật tính năng này sẽ làm cho các game chạy chậm hơn</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>Tắt Macro HLE</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
+ <source>When checked, it will dump all the macro programs of the GPU</source>
+ <translation>Khi kích hoạt, nó sẽ trích xuất tất cả chương trình macro của GPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
+ <source>Dump Maxwell Macros</source>
+ <translation>Trích xuất Maxwell Macros</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
- <source>When checked, it will dump all the macro programs of the GPU</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>Khi kích hoạt, nó cho phép ghi nhận lỗi Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
- <source>Dump Maxwell Macros</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Bật Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
+ <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
+ <translation>Khi kích hoạt, yuzu sẽ ghi lại các thống kê về bộ nhớ đệm pipeline đã được biên dịch</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Không dùng Macro JIT</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
+ <source>Enable Shader Feedback</source>
+ <translation>Bật phản hồi shader</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>Khi kích hoạt, nó sẽ tắt trình biên dịch Just In Time cho macro. Bật tính năng này sẽ làm cho các game chạy chậm hơn</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Tắt Macro JIT</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
- <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Khi kích hoạt, API đồ hoạ sẽ chuyển sang chế độ gỡ lỗi chậm hơn</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
- <source>Enable Shader Feedback</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Kích hoạt chế độ gỡ lỗi đồ hoạ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Khi kích hoạt, nó sẽ trích xuất tất cả shader của trình hợp dịch từ bộ nhớ đệm shader trên ổ cứng hoặc từ game khi tìm thấy</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>Trích xuất shader game</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Vá lỗi</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
+ <source>Advanced</source>
+ <translation>Nâng cao</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>Cho phép yuzu kiểm tra môi trường Vulkan hoạt động khi chương trình bắt đầu. Vô hiệu hóa tính năng này nếu nó gây ra vấn đề cho các chương trình bên ngoài khi nhìn thấy yuzu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>Thực hiện kiểm tra Vulkan khi khởi động</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Tắt applet web</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Cho phép tất cả các loại tay cầm</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
- <source>Advanced</source>
- <translation>Nâng Cao</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Bật Auto-Stub**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
- <translation type="unfinished"/>
+ <translation>Chế độ Kiosk (Khách)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
- <translation>Bật Vá Lỗi CPU</translation>
+ <translation>Bật chế độ gỡ lỗi CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
- <translation type="unfinished"/>
+ <translation>Bật kiểm tra lỗi gỡ lỗi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Gỡ lỗi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>Bật nhật ký truy cập FS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>Tạo Minidump sau khi crash</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>Bật tính năng này để đưa ra danh sách lệnh âm thanh mới nhất đã tạo ra đến console. Chỉ ảnh hưởng đến các game sử dụng bộ mã hóa âm thanh.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation>Trích xuất các lệnh âm thanh đến console**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>Bật dịch vụ báo cáo chi tiết**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
- <translation>**Sẽ tự động thiết lập lại khi tắt yuzu.</translation>
+ <translation>**Sẽ tự động đặt lại khi đóng yuzu.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_debug.cpp" line="35"/>
<source>Restart Required</source>
- <translation type="unfinished"/>
+ <translation>Cần khởi động lại</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_debug.cpp" line="36"/>
<source>yuzu is required to restart in order to apply this setting.</source>
- <translation type="unfinished"/>
+ <translation>yuzu cần khởi động lại để áp dụng cài đặt này.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
- <translation type="unfinished"/>
+ <translation>Applet web chưa được biên dịch</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
- <translation type="unfinished"/>
+ <translation>Chức năng tạo MiniDump không được biên dịch</translation>
</message>
</context>
<context>
@@ -1068,17 +942,17 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_debug_controller.ui" line="14"/>
<source>Configure Debug Controller</source>
- <translation>Thiết lập bộ điều khiển vá lỗi</translation>
+ <translation>Cấu hình tay cầm gỡ lỗi</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_debug_controller.ui" line="40"/>
<source>Clear</source>
- <translation>Làm trống</translation>
+ <translation>Xóa</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_debug_controller.ui" line="47"/>
<source>Defaults</source>
- <translation>Quay về mặc định</translation>
+ <translation>Mặc định</translation>
</message>
</context>
<context>
@@ -1092,7 +966,7 @@ This would ban both their forum username and their IP address.</source>
<location filename="../../src/yuzu/configuration/configure_debug_tab.ui" line="17"/>
<location filename="../../src/yuzu/configuration/configure_debug_tab.cpp" line="16"/>
<source>Debug</source>
- <translation>Vá lỗi</translation>
+ <translation>Gỡ lỗi</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_debug_tab.cpp" line="17"/>
@@ -1105,81 +979,86 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure.ui" line="20"/>
<source>yuzu Configuration</source>
- <translation>Thiết lập yuzu</translation>
+ <translation>Cấu hình yuzu</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Một số cài đặt chỉ khả dụng khi game không chạy.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Âm thanh</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Gỡ lỗi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
- <translation>Hệ thống tệp tin</translation>
+ <translation>Hệ thống tập tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Chung</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Đồ hoạ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>Đồ họa Nâng cao</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Phím tắt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
- <translation>Phím</translation>
+ <translation>Điều khiển</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Hồ sơ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Mạng</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>Hệ thống</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
- <translation>Danh sách trò chơi</translation>
+ <translation>Danh sách game</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Web</translation>
</message>
@@ -1194,7 +1073,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="17"/>
<source>Filesystem</source>
- <translation>File hệ thống</translation>
+ <translation>Hệ thống tập tin</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="25"/>
@@ -1223,7 +1102,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="84"/>
<source>Gamecard</source>
- <translation>Thẻ nhớ trò chơi</translation>
+ <translation>Đĩa game</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="90"/>
@@ -1243,27 +1122,27 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="124"/>
<source>Patch Manager</source>
- <translation type="unfinished"/>
+ <translation>Quản lý bản vá</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="152"/>
<source>Dump Decompressed NSOs</source>
- <translation>Sao chép NSO đã giải nén</translation>
+ <translation>Trích xuất NSO đã giải nén</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="159"/>
<source>Dump ExeFS</source>
- <translation>Sao chép ExeFS</translation>
+ <translation>Trích xuất ExeFS</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="168"/>
<source>Mod Load Root</source>
- <translation type="unfinished"/>
+ <translation>Thư mục chứa mod gốc</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="175"/>
<source>Dump Root</source>
- <translation type="unfinished"/>
+ <translation>Thư mục trích xuất gốc</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="201"/>
@@ -1273,7 +1152,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="209"/>
<source>Cache Game List Metadata</source>
- <translation>Lưu bộ nhớ đệm của danh sách trò chơi</translation>
+ <translation>Lưu bộ nhớ đệm metadata của danh sách game</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="216"/>
@@ -1281,37 +1160,37 @@ This would ban both their forum username and their IP address.</source>
<location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="140"/>
<source>Reset Metadata Cache</source>
- <translation>Khôi phục bộ nhớ đệm của metadata</translation>
+ <translation>Đặt lại bộ nhớ đệm metadata</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="93"/>
<source>Select Emulated NAND Directory...</source>
- <translation>Chọn Thư Mục Giả Lập NAND...</translation>
+ <translation>Chọn thư mục NAND giả lập...</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="96"/>
<source>Select Emulated SD Directory...</source>
- <translation>Chọn Thư Mục Giả Lập SD...</translation>
+ <translation>Chọn thư mục SD giả lập...</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="99"/>
<source>Select Gamecard Path...</source>
- <translation type="unfinished"/>
+ <translation>Chọn đường dẫn tới đĩa game...</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="102"/>
<source>Select Dump Directory...</source>
- <translation type="unfinished"/>
+ <translation>Chọn thư mục trích xuất...</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="105"/>
<source>Select Mod Load Directory...</source>
- <translation>Chọn Thư Mục Chứa Mod...</translation>
+ <translation>Chọn thư mục chứa mod...</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="132"/>
<source>The metadata cache is already empty.</source>
- <translation type="unfinished"/>
+ <translation>Bộ nhớ đệm metadata trống.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="136"/>
@@ -1321,7 +1200,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="141"/>
<source>The metadata cache couldn&apos;t be deleted. It might be in use or non-existent.</source>
- <translation type="unfinished"/>
+ <translation>Bộ nhớ đệm metadata không thể xoá. Nó có thể đang được sử dụng hoặc không tồn tại.</translation>
</message>
</context>
<context>
@@ -1338,59 +1217,19 @@ This would ban both their forum username and their IP address.</source>
<translation>Chung</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Giới hạn phần trăm tốc độ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Giả lập CPU đa nhân</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Xác nhận thoát trong khi đang chạy giả lập</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Hiển thị cửa sổ chọn người dùng khi bắt đầu trò chơi</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Tạm dừng giả lập khi chạy nền</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Ẩn con trỏ chuột khi không dùng</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
- <translation>Đặt lại mọi tùy chỉnh</translation>
+ <translation>Đặt lại mọi cài đặt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
- <translation>Quá trình này sẽ thiết lập lại toàn bộ tùy chỉnh và gỡ hết mọi cài đặt cho từng game riêng lẻ. Quá trình này không xóa đường dẫn tới thư mục game, hồ sơ, hay hồ sơ của thiết lập phím. Tiếp tục?</translation>
+ <translation>Quá trình này sẽ đặt lại toàn bộ tùy chỉnh và gỡ hết mọi cài đặt cho từng game riêng lẻ. Quá trình này không xoá thư mục game, hồ sơ, hay hồ sơ đầu vào. Tiếp tục?</translation>
</message>
</context>
<context>
@@ -1411,310 +1250,45 @@ This would ban both their forum username and their IP address.</source>
<translation>Cài đặt API</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Thiết bị đồ hoạ:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API đồ hoạ:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Trống</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Cài đặt đồ hoạ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Dùng giả lập GPU không đồng bộ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>Giả lập NVDEC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Không Video Đầu Ra</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Chế độ Toàn màn hình:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Cửa sổ không viền</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Toàn màn hình</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Tỉ lệ khung hình:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Mặc định (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Dùng 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Dùng 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>Dung 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Kéo dãn đến cửa sổ phần mềm</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Nearest Neighbor</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Bilinear</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Bicubic</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️ Super Resolution</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Dùng màu nền theo cài đặt</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Chọn màu nền:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Màu nền:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (Assembly Shaders, Chỉ Cho NVIDIA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
- <translation type="unfinished"/>
+ <translation>Tắt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
- <translation type="unfinished"/>
+ <translation>Tắt Vsync</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
- <translation type="unfinished"/>
+ <translation>Đề xuất</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
- <translation type="unfinished"/>
+ <translation>Bật</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
- <translation type="unfinished"/>
+ <translation>Bật Vsync</translation>
</message>
</context>
<context>
@@ -1734,169 +1308,13 @@ Immediate (no synchronization) just presents whatever is available and can exhib
<source>Advanced Graphics Settings</source>
<translation>Cài đặt đồ hoạ nâng cao</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Độ chính xác:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Kích hoạt tính năng tạo shader không đồng bộ nhằm tránh cho trò chơi bị giật khi tạo shader. Tính năng này vẫn đang thử nghiệm.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>Tăng Tốc Thời Gian GPU (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Bộ lọc góc nghiêng:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Mặc định</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.ui" line="14"/>
<source>Hotkey Settings</source>
- <translation>Cài đặt phím nóng</translation>
+ <translation>Cài đặt phím tắt</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.ui" line="17"/>
@@ -1906,17 +1324,17 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.ui" line="25"/>
<source>Double-click on a binding to change it.</source>
- <translation>Đúp chuột vào phím đã được thiết lập để thay đổi.</translation>
+ <translation>Nhấp đúp chuột vào phím đã được thiết lập để thay đổi.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.ui" line="45"/>
<source>Clear All</source>
- <translation>Bỏ Trống Hết</translation>
+ <translation>Xóa tất cả</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.ui" line="52"/>
<source>Restore Defaults</source>
- <translation>Khôi phục về mặc định</translation>
+ <translation>Khôi phục mặc định</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="100"/>
@@ -1931,7 +1349,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="100"/>
<source>Controller Hotkey</source>
- <translation type="unfinished"/>
+ <translation>Phím tắt tay cầm</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="140"/>
@@ -1949,17 +1367,17 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="176"/>
<source>[waiting]</source>
- <translation>[Chờ]</translation>
+ <translation>[chờ]</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="253"/>
<source>Invalid</source>
- <translation type="unfinished"/>
+ <translation>Không hợp lệ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="358"/>
<source>Restore Default</source>
- <translation>Khôi phục về mặc định</translation>
+ <translation>Khôi phục mặc định</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="359"/>
@@ -1969,12 +1387,12 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="380"/>
<source>Conflicting Button Sequence</source>
- <translation type="unfinished"/>
+ <translation>Tổ hợp nút bị xung đột</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="381"/>
<source>The default button sequence is already assigned to: %1</source>
- <translation type="unfinished"/>
+ <translation>Tổ hợp nút mặc định đã được gán cho: %1</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="395"/>
@@ -1987,7 +1405,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="14"/>
<source>ConfigureInput</source>
- <translation>Thiết lập đầu vào</translation>
+ <translation>Cấu hình đầu vào</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="39"/>
@@ -2046,38 +1464,38 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="138"/>
<source>Console Mode</source>
- <translation>Console Mode</translation>
+ <translation>Chế độ console</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="159"/>
<source>Docked</source>
- <translation>Chế độ cắm TV</translation>
+ <translation>Docked</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="169"/>
<source>Handheld</source>
- <translation>Cầm tay</translation>
+ <translation>Handheld</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="179"/>
<source>Vibration</source>
- <translation>Độ rung</translation>
+ <translation>Rung</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="215"/>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="261"/>
<source>Configure</source>
- <translation>Thiết lập</translation>
+ <translation>Cấu hình</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="225"/>
<source>Motion</source>
- <translation type="unfinished"/>
+ <translation>Chuyển động</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="296"/>
<source>Controllers</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="324"/>
@@ -2127,7 +1545,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="494"/>
<source>Defaults</source>
- <translation>Quay về mặc định</translation>
+ <translation>Mặc định</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="537"/>
@@ -2140,12 +1558,12 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="14"/>
<source>Configure Input</source>
- <translation>Thiết lập đầu vào</translation>
+ <translation>Cấu hình đầu vào</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="74"/>
<source>Joycon Colors</source>
- <translation>Màu tay cầm Joycon</translation>
+ <translation>Màu Joycon</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="125"/>
@@ -2162,7 +1580,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1955"/>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2241"/>
<source>L Body</source>
- <translation type="unfinished"/>
+ <translation>Thân L</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="219"/>
@@ -2186,7 +1604,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2086"/>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2372"/>
<source>R Body</source>
- <translation type="unfinished"/>
+ <translation>Thân R</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="350"/>
@@ -2198,7 +1616,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2141"/>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2427"/>
<source>R Button</source>
- <translation>Phím R</translation>
+ <translation>Nút R</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="411"/>
@@ -2238,7 +1656,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2533"/>
<source>Emulated Devices</source>
- <translation type="unfinished"/>
+ <translation>Thiết bị giả lập</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2545"/>
@@ -2263,7 +1681,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2595"/>
<source>Debug Controller</source>
- <translation>Hiệu chỉnh lỗi tay cầm</translation>
+ <translation>Tay cầm gỡ lỗi</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2602"/>
@@ -2271,17 +1689,17 @@ Compute pipelines are always enabled on all other drivers.</source>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2630"/>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2756"/>
<source>Configure</source>
- <translation>Thiết lập</translation>
+ <translation>Cấu hình</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2609"/>
<source>Ring Controller</source>
- <translation type="unfinished"/>
+ <translation>Vòng điều khiển</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2623"/>
<source>Infrared Camera</source>
- <translation type="unfinished"/>
+ <translation>Camera hồng ngoại</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2640"/>
@@ -2291,49 +1709,49 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2652"/>
<source>Emulate Analog with Keyboard Input</source>
- <translation type="unfinished"/>
+ <translation>Giả lập analog bằng cách sử dụng đầu vào từ bàn phím</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2659"/>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2701"/>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2717"/>
<source>Requires restarting yuzu</source>
- <translation>Phải khởi động lại yuzu</translation>
+ <translation>Cần khởi động lại yuzu</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2668"/>
<source>Enable XInput 8 player support (disables web applet)</source>
- <translation>Bật hỗ trợ XInput cho 8 người (tắt web applet)</translation>
+ <translation>Bật hỗ trợ XInput cho 8 người (tắt applet web)</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2681"/>
<source>Enable UDP controllers (not needed for motion)</source>
- <translation type="unfinished"/>
+ <translation>Bật điều khiển UDP (không cần thiết cho chuyển động)</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2694"/>
<source>Controller navigation</source>
- <translation type="unfinished"/>
+ <translation>Điều hướng bằng tay cầm</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2710"/>
<source>Enable direct JoyCon driver</source>
- <translation type="unfinished"/>
+ <translation>Bật driver JoyCon trực tiếp</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2726"/>
<source>Enable direct Pro Controller driver [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
+ <translation>Bật driver Pro Controller trực tiếp [THỬ NGHIỆM]</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2733"/>
<source>Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use.</source>
- <translation type="unfinished"/>
+ <translation>Cho phép sử dụng không giới hạn cùng một Amiibo trong các game mà thông thường giới hạn bạn chỉ sử dụng một lần.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2742"/>
<source>Use random Amiibo ID</source>
- <translation type="unfinished"/>
+ <translation>Dùng ID Amiibo ngẫu nhiên</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2749"/>
@@ -2356,57 +1774,57 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="28"/>
<source>Input Profiles</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ đầu vào</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="49"/>
<source>Player 1 Profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ người chơi 1</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="84"/>
<source>Player 2 Profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ người chơi 2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="119"/>
<source>Player 3 Profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ người chơi 3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="154"/>
<source>Player 4 Profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ người chơi 4</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="189"/>
<source>Player 5 Profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ người chơi 5</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="224"/>
<source>Player 6 Profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ người chơi 6</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="259"/>
<source>Player 7 Profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ người chơi 7</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="294"/>
<source>Player 8 Profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ người chơi 8</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.cpp" line="35"/>
<source>Use global input configuration</source>
- <translation type="unfinished"/>
+ <translation>Dùng cấu hình đầu vào chung</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.cpp" line="47"/>
<source>Player %1 profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ người chơi %1</translation>
</message>
</context>
<context>
@@ -2414,17 +1832,17 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="14"/>
<source>Configure Input</source>
- <translation>Thiết lập đầu vào</translation>
+ <translation>Cấu hình đầu vào</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="63"/>
<source>Connect Controller</source>
- <translation>Kết nối Tay cầm</translation>
+ <translation>Kết nối tay cầm</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="100"/>
<source>Input Device</source>
- <translation>Thiết bị Nhập</translation>
+ <translation>Thiết bị đầu vào</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="137"/>
@@ -2508,13 +1926,13 @@ Compute pipelines are always enabled on all other drivers.</source>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2884"/>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2923"/>
<source>Modifier</source>
- <translation type="unfinished"/>
+ <translation>Điều chỉnh</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="702"/>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2933"/>
<source>Range</source>
- <translation type="unfinished"/>
+ <translation>Phạm vi</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="735"/>
@@ -2526,13 +1944,13 @@ Compute pipelines are always enabled on all other drivers.</source>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="778"/>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3006"/>
<source>Deadzone: 0%</source>
- <translation type="unfinished"/>
+ <translation>Vùng chết: 0%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="802"/>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3030"/>
<source>Modifier Range: 0%</source>
- <translation type="unfinished"/>
+ <translation>Phạm vi điều chỉnh: 0%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="848"/>
@@ -2563,7 +1981,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1456"/>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1495"/>
<source>Capture</source>
- <translation type="unfinished"/>
+ <translation>Chụp</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1526"/>
@@ -2608,12 +2026,12 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2011"/>
<source>Motion 1</source>
- <translation type="unfinished"/>
+ <translation>Chuyển động 1</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2060"/>
<source>Motion 2</source>
- <translation type="unfinished"/>
+ <translation>Chuyển động 2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2151"/>
@@ -2653,12 +2071,12 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3085"/>
<source>Mouse panning</source>
- <translation type="unfinished"/>
+ <translation>Lia chuột</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
- <translation>Thiết lập</translation>
+ <translation>Cấu hình</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="384"/>
@@ -2666,7 +2084,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="567"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="662"/>
<source>Clear</source>
- <translation>Bỏ trống</translation>
+ <translation>Xóa</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="386"/>
@@ -2675,38 +2093,38 @@ Compute pipelines are always enabled on all other drivers.</source>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="590"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="664"/>
<source>[not set]</source>
- <translation>[không đặt]</translation>
+ <translation>[chưa đặt]</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="389"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="415"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="676"/>
<source>Invert button</source>
- <translation type="unfinished"/>
+ <translation>Đảo ngược nút</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="395"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="667"/>
<source>Toggle button</source>
- <translation type="unfinished"/>
+ <translation>Đổi nút</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="401"/>
<source>Turbo button</source>
- <translation type="unfinished"/>
+ <translation>Nút turbo</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="409"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="618"/>
<source>Invert axis</source>
- <translation type="unfinished"/>
+ <translation>Đảo ngược trục</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="421"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="425"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="478"/>
<source>Set threshold</source>
- <translation type="unfinished"/>
+ <translation>Thiết lập ngưỡng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="425"/>
@@ -2717,52 +2135,52 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="437"/>
<source>Toggle axis</source>
- <translation type="unfinished"/>
+ <translation>Chuyển đổi trục</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="474"/>
<source>Set gyro threshold</source>
- <translation type="unfinished"/>
+ <translation>Thiết lập ngưỡng cảm biến con quay</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="483"/>
<source>Calibrate sensor</source>
- <translation type="unfinished"/>
+ <translation>Hiệu chỉnh cảm biến</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="523"/>
<source>Map Analog Stick</source>
- <translation>Thiết lập Cần Điều Khiển</translation>
+ <translation>Ánh xạ cần analog</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="524"/>
<source>After pressing OK, first move your joystick horizontally, and then vertically.
To invert the axes, first move your joystick vertically, and then horizontally.</source>
- <translation>Sau khi bấm OK, di chuyển cần sang ngang, rồi sau đó sang dọc.
-Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần sang dọc trước, rồi sang ngang.</translation>
+ <translation>Sau khi nhấn OK, di chuyển cần điều khiển theo chiều ngang, sau đó theo chiều dọc.
+Để đảo ngược hướng, di chuyển cần điều khiển theo chiều dọc trước, sau đó theo chiều ngang.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="592"/>
<source>Center axis</source>
- <translation type="unfinished"/>
+ <translation>Canh chỉnh trục</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="700"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1065"/>
<source>Deadzone: %1%</source>
- <translation type="unfinished"/>
+ <translation>Vùng chết: %1%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="709"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1070"/>
<source>Modifier Range: %1%</source>
- <translation type="unfinished"/>
+ <translation>Phạm vi điều chỉnh: %1%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="750"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1095"/>
<source>Pro Controller</source>
- <translation>Tay cầm Pro Controller</translation>
+ <translation>Pro Controller</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1099"/>
@@ -2772,17 +2190,17 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1103"/>
<source>Left Joycon</source>
- <translation>Joycon Trái</translation>
+ <translation>Joycon trái</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1107"/>
<source>Right Joycon</source>
- <translation>Joycon Phải</translation>
+ <translation>Joycon phải</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1111"/>
<source>Handheld</source>
- <translation>Cầm tay</translation>
+ <translation>Handheld</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1115"/>
@@ -2792,32 +2210,32 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1124"/>
<source>Poke Ball Plus</source>
- <translation type="unfinished"/>
+ <translation>Poke Ball Plus</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1128"/>
<source>NES Controller</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm NES</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1132"/>
<source>SNES Controller</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm SNES</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1136"/>
<source>N64 Controller</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm N64</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1140"/>
<source>Sega Genesis</source>
- <translation type="unfinished"/>
+ <translation>Sega Genesis</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1344"/>
<source>Start / Pause</source>
- <translation>Bắt đầu / Tạm ngưng</translation>
+ <translation>Bắt đầu / Tạm dừng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1347"/>
@@ -2827,7 +2245,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1348"/>
<source>Control Stick</source>
- <translation type="unfinished"/>
+ <translation>Cần điều khiển</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1349"/>
@@ -2842,7 +2260,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1452"/>
<source>[waiting]</source>
- <translation>[Chờ]</translation>
+ <translation>[đang chờ]</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1547"/>
@@ -2858,7 +2276,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1555"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1563"/>
<source>Create Input Profile</source>
- <translation>Tạo Hồ Sơ Phím</translation>
+ <translation>Tạo hồ sơ đầu vào</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1556"/>
@@ -2868,37 +2286,37 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1564"/>
<source>Failed to create the input profile &quot;%1&quot;</source>
- <translation>Quá trình tạo hồ sơ phím &quot;%1&quot; thất bại</translation>
+ <translation>Thất bại khi tạo hồ sơ đầu vào &quot;%1&quot;</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1584"/>
<source>Delete Input Profile</source>
- <translation>Xóa Hồ Sơ Phím</translation>
+ <translation>Xoá hồ sơ đầu vào</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1585"/>
<source>Failed to delete the input profile &quot;%1&quot;</source>
- <translation>Quá trình xóa hồ sơ phím &quot;%1&quot; thất bại</translation>
+ <translation>Thất bại khi xoá hồ sơ đầu vào &quot;%1&quot;</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1607"/>
<source>Load Input Profile</source>
- <translation>Nạp Hồ Sơ Phím</translation>
+ <translation>Nạp hồ sơ đầu vào</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1608"/>
<source>Failed to load the input profile &quot;%1&quot;</source>
- <translation>Quá trình nạp hồ sơ phím &quot;%1&quot; thất bại</translation>
+ <translation>Thất bại khi nạp hồ sơ đầu vào &quot;%1&quot;</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1633"/>
<source>Save Input Profile</source>
- <translation>Lưu Hồ Sơ Phím</translation>
+ <translation>Lưu hồ sơ đầu vào</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1634"/>
<source>Failed to save the input profile &quot;%1&quot;</source>
- <translation>Quá trình lưu hồ sơ phím &quot;%1&quot; thất bại</translation>
+ <translation>Thất bại khi lưu hồ sơ dầu vào &quot;%1&quot;</translation>
</message>
</context>
<context>
@@ -2906,12 +2324,12 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_input_profile_dialog.ui" line="14"/>
<source>Create Input Profile</source>
- <translation>Tạo Hồ Sơ Phím</translation>
+ <translation>Tạo hồ sơ đầu vào</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_profile_dialog.ui" line="40"/>
<source>Clear</source>
- <translation>Bỏ trống</translation>
+ <translation>Xóa</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_profile_dialog.ui" line="47"/>
@@ -2924,49 +2342,49 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="6"/>
<source>Configure Motion / Touch</source>
- <translation>Tùy chỉnh Chuột / Cảm Ứng</translation>
+ <translation>Cấu hình Chuyển động / Cảm ứng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="15"/>
<source>Touch</source>
- <translation>Cảm Ứng</translation>
+ <translation>Cảm ứng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="23"/>
<source>UDP Calibration:</source>
- <translation type="unfinished"/>
+ <translation>Hiệu chỉnh UDP:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="30"/>
<source>(100, 50) - (1800, 850)</source>
- <translation type="unfinished"/>
+ <translation>(100, 50) - (1800, 850)</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="46"/>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="73"/>
<location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="242"/>
<source>Configure</source>
- <translation>Thiết lập</translation>
+ <translation>Cấu hình</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="57"/>
<source>Touch from button profile:</source>
- <translation type="unfinished"/>
+ <translation>Chạm từ hồ sơ nút:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="85"/>
<source>CemuhookUDP Config</source>
- <translation type="unfinished"/>
+ <translation>Thiết lập CemuhookUDP</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="91"/>
<source>You may use any Cemuhook compatible UDP input source to provide motion and touch input.</source>
- <translation type="unfinished"/>
+ <translation>Bạn có thể dùng bất cứ bản Cemuhook nào tương thích với đầu vào UDP để cung cấp đầu vào chuyển động và cảm ứng.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="134"/>
<source>Server:</source>
- <translation>Server:</translation>
+ <translation>Máy chủ:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="161"/>
@@ -2976,7 +2394,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="188"/>
<source>Learn More</source>
- <translation type="unfinished"/>
+ <translation>Tìm hiểu thêm</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="201"/>
@@ -2987,12 +2405,12 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="214"/>
<source>Add Server</source>
- <translation>Thêm Server</translation>
+ <translation>Thêm máy chủ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="247"/>
<source>Remove Server</source>
- <translation>Xóa Server</translation>
+ <translation>Loại bỏ máy chủ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="87"/>
@@ -3032,12 +2450,12 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="187"/>
<source>This UDP server already exists</source>
- <translation>Server UDP đã tồn tại</translation>
+ <translation>Máy chủ UDP này đã tồn tại</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="193"/>
<source>Unable to add more than 8 servers</source>
- <translation>Không thể vượt quá 8 server</translation>
+ <translation>Không thể thêm quá 8 máy chủ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="209"/>
@@ -3047,32 +2465,32 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="225"/>
<source>Configuring</source>
- <translation>Cài đặt</translation>
+ <translation>Cấu hình</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="256"/>
<source>Test Successful</source>
- <translation>Thử Nghiệm Thành Công</translation>
+ <translation>Thử nghiệm thành công</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="257"/>
<source>Successfully received data from the server.</source>
- <translation>Nhận được dữ liệu từ server!</translation>
+ <translation>Thành công nhận dữ liệu từ máy chủ.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="259"/>
<source>Test Failed</source>
- <translation>Thử Nghiệm Thất Bại</translation>
+ <translation>Thử nghiệm thất bại</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="260"/>
<source>Could not receive valid data from the server.&lt;br&gt;Please verify that the server is set up correctly and the address and port are correct.</source>
- <translation>Không thể nhận được dữ liệu hợp lệ từ server. &lt;br&gt;Hãy chắc chắn server được thiết lập chính xác, từ địa chỉ lẫn cổng phải được thiết lập đúng.</translation>
+ <translation>Không thể nhận được dữ liệu hợp lệ từ máy chủ.&lt;br&gt;Hãy chắc chắn máy chủ được thiết lập chính xác và địa chỉ lẫn cổng đều đúng.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="288"/>
<source>UDP Test or calibration configuration is in progress.&lt;br&gt;Please wait for them to finish.</source>
- <translation type="unfinished"/>
+ <translation>Cấu hình kiểm tra hoặc hiệu chuẩn UDP đang được tiến hành.&lt;br&gt;Vui lòng chờ cho đến khi nó hoàn thành.</translation>
</message>
</context>
<context>
@@ -3080,75 +2498,99 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="6"/>
<source>Configure mouse panning</source>
- <translation type="unfinished"/>
+ <translation>Cấu hình lia chuột</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation type="unfinished"/>
+ <source>Enable mouse panning</source>
+ <translation>Bật lia chuột</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
- <translation type="unfinished"/>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
+ <translation>Có thể chuyển đổi bằng cách sử dụng phím tắt. Phím tắt mặc định là Ctrl + F9</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
<source>Sensitivity</source>
- <translation type="unfinished"/>
+ <translation>Độ nhạy</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
- <translation type="unfinished"/>
+ <translation>Ngang</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
- <translation type="unfinished"/>
+ <translation>Dọc</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="85"/>
<source>Deadzone counterweight</source>
- <translation type="unfinished"/>
+ <translation>Đối trọng vùng chết</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="88"/>
<source>Counteracts a game&apos;s built-in deadzone</source>
- <translation type="unfinished"/>
+ <translation>Chống lại vùng chết tích hợp trong game</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation>Vùng chết</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
- <translation type="unfinished"/>
+ <translation>Độ suy giảm của cần điều khiển</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
- <translation type="unfinished"/>
+ <translation>Sức mạnh</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
- <translation type="unfinished"/>
+ <translation>Tối thiểu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>Mặc định</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation>Lia chuột hoạt động tốt hơn với vùng chết là 0% và phạm vi là 100%.
+Các giá trị hiện tại lần lượt là %1% và %2%.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation>Chuột giả lập đã được bật. Điều này không tương thích với chức năng lia chuột.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>Chuột giả lập đã được bật</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation>Đầu vào từ chuột thật và tính năng lia chuột không tương thích. Vui lòng tắt chuột giả lập trong cài đặt đầu vào nâng cao để cho phép lia chuột.</translation>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3170,111 +2612,106 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_network.ui" line="34"/>
<source>Network Interface</source>
- <translation type="unfinished"/>
+ <translation>Giao diện mạng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_network.cpp" line="15"/>
<source>None</source>
- <translation>Trống</translation>
+ <translation>Không có</translation>
</message>
</context>
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
- <translation type="unfinished"/>
+ <translation>Hộp thoại</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
- <translation>Thông Tin</translation>
+ <translation>Thông tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Tên</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
- <translation>ID của game</translation>
+ <translation>ID title</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
- <translation>Tên tệp</translation>
+ <translation>Tên tập tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Định dạng</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
- <translation>Phiên Bản</translation>
+ <translation>Phiên bản</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
- <translation>Kích cỡ</translation>
+ <translation>Kích thước</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
- <translation>Nhà Phát Hành</translation>
+ <translation>Nhà phát triển</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Bổ Sung</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Một số cài đặt chỉ khả dụng khi game không chạy.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Chung</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Add-Ons</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>Hệ thống</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Đồ hoạ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
- <translation>Đồ Họa Nâng Cao</translation>
+ <translation>Đồ hoạ nâng cao</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Âm thanh</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ đầu vào</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Thuộc tính</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation type="unfinished"/>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3286,7 +2723,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_per_game_addons.ui" line="17"/>
<source>Add-Ons</source>
- <translation>Bổ Sung</translation>
+ <translation>Add-Ons</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_per_game_addons.cpp" line="46"/>
@@ -3296,7 +2733,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_per_game_addons.cpp" line="47"/>
<source>Version</source>
- <translation>Phiên Bản</translation>
+ <translation>Phiên bản</translation>
</message>
</context>
<context>
@@ -3309,27 +2746,27 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="17"/>
<source>Profiles</source>
- <translation>Hồ Sơ</translation>
+ <translation>Hồ sơ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="25"/>
<source>Profile Manager</source>
- <translation>Quản Lý Hồ Sơ</translation>
+ <translation>Quản lý hồ sơ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="42"/>
<source>Current User</source>
- <translation>Người Dùng Hiện Tại</translation>
+ <translation>Người dùng hiện tại</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="86"/>
<source>Username</source>
- <translation>Tên</translation>
+ <translation>Tên người dùng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="116"/>
<source>Set Image</source>
- <translation>Đặt Hình Ảnh</translation>
+ <translation>Đặt hình ảnh</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="136"/>
@@ -3339,17 +2776,17 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="146"/>
<source>Rename</source>
- <translation>Đổi Tên</translation>
+ <translation>Đổi tên</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="156"/>
<source>Remove</source>
- <translation>Gỡ Bỏ</translation>
+ <translation>Loại bỏ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.ui" line="168"/>
<source>Profile management is available only when game is not running.</source>
- <translation>Chỉ có thể quản lí hồ sơ khi game không chạy.</translation>
+ <translation>Quản lí hồ sơ chỉ khả dụng khi game không chạy.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="55"/>
@@ -3362,27 +2799,27 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="73"/>
<source>Enter Username</source>
- <translation>Điền Tên</translation>
+ <translation>Nhập tên người dùng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="139"/>
<source>Users</source>
- <translation>Người Dùng</translation>
+ <translation>Người dùng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="201"/>
<source>Enter a username for the new user:</source>
- <translation>Chọn tên cho người dùng mới</translation>
+ <translation>Chọn tên người dùng cho người dùng mới:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="221"/>
<source>Enter a new username:</source>
- <translation>Chọn một tên mới:</translation>
+ <translation>Nhập tên người dùng mới:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="271"/>
<source>Select User Image</source>
- <translation>Chọn Ảnh cho Người Dùng</translation>
+ <translation>Chọn ảnh người dùng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="272"/>
@@ -3402,12 +2839,12 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="290"/>
<source>Error deleting file</source>
- <translation>Lỗi xóa ảnh</translation>
+ <translation>Lỗi khi xoá tập tin</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="291"/>
<source>Unable to delete existing file: %1.</source>
- <translation>Không thể xóa ảnh hiện tại: %1.</translation>
+ <translation>Không thể xóa tập tin hiện tại: %1.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="298"/>
@@ -3417,7 +2854,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="299"/>
<source>Unable to create directory %1 for storing user images.</source>
- <translation>Không thể tạo thư mục %1 để chứa ảnh người dùng</translation>
+ <translation>Không thể tạo thư mục %1 để chứa ảnh người dùng.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="304"/>
@@ -3445,7 +2882,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="332"/>
<source>Delete this user? All of the user&apos;s save data will be deleted.</source>
- <translation type="unfinished"/>
+ <translation>Xoá người dùng này? Tất cả dữ liệu save của người dùng này sẽ bị xoá.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="344"/>
@@ -3456,7 +2893,8 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="360"/>
<source>Name: %1
UUID: %2</source>
- <translation type="unfinished"/>
+ <translation>Tên: %1
+UUID: %2</translation>
</message>
</context>
<context>
@@ -3464,127 +2902,127 @@ UUID: %2</source>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="14"/>
<source>Configure Ring Controller</source>
- <translation type="unfinished"/>
+ <translation>Cấu hình vòng điều khiển</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="26"/>
<source>To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game.</source>
- <translation type="unfinished"/>
+ <translation>Để sử dụng Ring-Con, hãy cấu hình người chơi 1 như là Joy-Con phải (cả vật lý và giả lập), và người chơi 2 như là Joy-Con trái (vật lý trái và giả lập kép) trước khi bắt đầu game.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="52"/>
<source>Virtual Ring Sensor Parameters</source>
- <translation type="unfinished"/>
+ <translation>Tham số cảm biến vòng ảo</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="84"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="123"/>
<source>Pull</source>
- <translation type="unfinished"/>
+ <translation>Kéo</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="133"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="172"/>
<source>Push</source>
- <translation type="unfinished"/>
+ <translation>Đẩy</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="206"/>
<source>Deadzone: 0%</source>
- <translation type="unfinished"/>
+ <translation>Vùng chết: 0%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="233"/>
<source>Direct Joycon Driver</source>
- <translation type="unfinished"/>
+ <translation>Driver Joycon trực tiếp</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="293"/>
<source>Enable Ring Input</source>
- <translation type="unfinished"/>
+ <translation>Bật đầu vào từ vòng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="300"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="317"/>
<source>Enable</source>
- <translation type="unfinished"/>
+ <translation>Bật</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="307"/>
<source>Ring Sensor Value</source>
- <translation type="unfinished"/>
+ <translation>Giá trị cảm biến vòng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="314"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="282"/>
<source>Not connected</source>
- <translation type="unfinished"/>
+ <translation>Không kết nối</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="344"/>
<source>Restore Defaults</source>
- <translation>Khôi phục về mặc định</translation>
+ <translation>Khôi phục mặc định</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="168"/>
<source>Clear</source>
- <translation>Bỏ trống</translation>
+ <translation>Xóa</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="170"/>
<source>[not set]</source>
- <translation>[không đặt]</translation>
+ <translation>[chưa đặt]</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="172"/>
<source>Invert axis</source>
- <translation type="unfinished"/>
+ <translation>Đảo ngược trục</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="191"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="257"/>
<source>Deadzone: %1%</source>
- <translation type="unfinished"/>
+ <translation>Vùng chết: %1%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="279"/>
<source>Error enabling ring input</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi bật đầu vào từ vòng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="285"/>
<source>Direct Joycon driver is not enabled</source>
- <translation type="unfinished"/>
+ <translation>Driver JoyCon trực tiếp chưa được bật</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="290"/>
<source>Configuring</source>
- <translation>Cài đặt</translation>
+ <translation>Cấu hình</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="302"/>
<source>The current mapped device doesn&apos;t support the ring controller</source>
- <translation type="unfinished"/>
+ <translation>Thiết bị được ánh xạ hiện tại không hỗ trợ vòng điều khiển</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="306"/>
<source>The current mapped device doesn&apos;t have a ring attached</source>
- <translation type="unfinished"/>
+ <translation>Thiết bị được ánh xạ hiện tại không có vòng được gắn vào</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="309"/>
<source>The current mapped device is not connected</source>
- <translation type="unfinished"/>
+ <translation>Thiết bị được ánh xạ hiện tại không được kết nối</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="313"/>
<source>Unexpected driver result %1</source>
- <translation type="unfinished"/>
+ <translation>Kết quả driver không như mong đợi %1</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="336"/>
<source>[waiting]</source>
- <translation>[Chờ]</translation>
+ <translation>[chờ]</translation>
</message>
</context>
<context>
@@ -3596,414 +3034,19 @@ UUID: %2</source>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>Hệ thống</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Cài đặt hệ thống</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Vùng:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Tự động</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Mặc định</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Nhật Bản</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation>Lõi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>Hoa Kỳ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Châu Âu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Châu Úc</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>Trung Quốc</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Hàn Quốc</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Đài Loan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Lưu ý: Tuỳ chọn này có thể bị ghi đè nếu cài đặt vùng là chọn tự động.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Tiếng Nhật (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Tiếng Pháp (French)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Tiếng Đức (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Tiếng Ý (Italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Tiếng Tây Ban Nha (Spanish)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Tiếng Trung</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Tiếng Hàn (Korean)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Tiếng Hà Lan (Dutch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Tiếng Bồ Đào Nha (Portuguese)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Tiếng Nga (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Tiếng Đài Loan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Tiếng Anh Anh</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Tiếng Pháp Canada</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Tiếng Tây Ban Nha kiểu Mỹ La-tinh</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Tiếng Trung giản thể</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Tiếng Trung phồn thể (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Ngôn ngữ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>Hạt giống RNG</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Cài đặt hệ thống chỉ khả dụng khi trò chơi không chạy.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
- <translation type="unfinished"/>
+ <translation>Cảnh báo: &quot;%1&quot; không phải là ngôn ngữ hợp lệ cho khu vực &quot;%2&quot;</translation>
</message>
</context>
<context>
@@ -4011,22 +3054,22 @@ UUID: %2</source>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="11"/>
<source>TAS</source>
- <translation type="unfinished"/>
+ <translation>TAS</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="17"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Reads controller input from scripts in the same format as TAS-nx scripts.&lt;br/&gt;For a more detailed explanation, please consult the &lt;a href=&quot;https://yuzu-emu.org/help/feature/tas/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;help page&lt;/span&gt;&lt;/a&gt; on the yuzu website.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"/>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Đọc đầu vào từ tay cầm bằng các tập lệnh trong cùng định dạng như các tập lệnh TAS-nx.&lt;br/&gt;Để biết thêm chi tiết, vui lòng tham khảo &lt;a href=&quot;https://yuzu-emu.org/help/feature/tas/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;trang trợ giúp&lt;/span&gt;&lt;/a&gt; trên website của yuzu.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="27"/>
<source>To check which hotkeys control the playback/recording, please refer to the Hotkey settings (Configure -&gt; General -&gt; Hotkeys).</source>
- <translation type="unfinished"/>
+ <translation>Để kiểm tra các phím tắt nào điều khiển phát lại/ghi lại, vui lòng xem cài đặt Phím tắt (Cấu hình -&gt; Chung -&gt; Phím tắt).</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="37"/>
<source>WARNING: This is an experimental feature.&lt;br/&gt;It will not play back scripts frame perfectly with the current, imperfect syncing method.</source>
- <translation type="unfinished"/>
+ <translation>CẢNH BÁO: Đây là tính năng thử nghiệm.&lt;br/&gt;Nó sẽ không phát lại các kịch bản hoàn hảo theo từng khung hình với phương thức đồng bộ hóa hiện tại, không hoàn hảo.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="54"/>
@@ -4036,22 +3079,22 @@ UUID: %2</source>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="60"/>
<source>Enable TAS features</source>
- <translation type="unfinished"/>
+ <translation>Bật các tính năng TAS</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="67"/>
<source>Loop script</source>
- <translation type="unfinished"/>
+ <translation>Lặp lại tập lệnh</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="77"/>
<source>Pause execution during loads</source>
- <translation type="unfinished"/>
+ <translation>Tạm dừng thực thi trong quá trình tải</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="91"/>
<source>Script Directory</source>
- <translation type="unfinished"/>
+ <translation>Thư mục tập lệnh</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="97"/>
@@ -4069,12 +3112,12 @@ UUID: %2</source>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.cpp" line="19"/>
<source>TAS Configuration</source>
- <translation type="unfinished"/>
+ <translation>Cấu hình TAS</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.cpp" line="49"/>
<source>Select TAS Load Directory...</source>
- <translation type="unfinished"/>
+ <translation>Chọn thư mục nạp TAS...</translation>
</message>
</context>
<context>
@@ -4082,12 +3125,12 @@ UUID: %2</source>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="14"/>
<source>Configure Touchscreen Mappings</source>
- <translation type="unfinished"/>
+ <translation>Cấu hình ánh xạ màn hình cảm ứng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="22"/>
<source>Mapping:</source>
- <translation type="unfinished"/>
+ <translation>Ánh xạ:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="48"/>
@@ -4102,23 +3145,24 @@ UUID: %2</source>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="74"/>
<source>Rename</source>
- <translation>Đổi Tên</translation>
+ <translation>Đổi tên</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="92"/>
<source>Click the bottom area to add a point, then press a button to bind.
Drag points to change position, or double-click table cells to edit values.</source>
- <translation type="unfinished"/>
+ <translation>Nhấp vào khu vực dưới để thêm điểm, sau đó nhấn một nút để gắn.
+Kéo điểm để thay đổi vị trí, hoặc nhấp đúp chuột vào ô trong bảng để chỉnh sửa giá trị.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="116"/>
<source>Delete Point</source>
- <translation type="unfinished"/>
+ <translation>Xoá điểm</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="78"/>
<source>Button</source>
- <translation type="unfinished"/>
+ <translation>Nút</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="78"/>
@@ -4140,27 +3184,27 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="195"/>
<source>Enter the name for the new profile.</source>
- <translation type="unfinished"/>
+ <translation>Nhập tên cho hồ sơ mới.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="206"/>
<source>Delete Profile</source>
- <translation type="unfinished"/>
+ <translation>Xoá hồ sơ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="206"/>
<source>Delete profile %1?</source>
- <translation type="unfinished"/>
+ <translation>Xoá hồ sơ %1?</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="219"/>
<source>Rename Profile</source>
- <translation type="unfinished"/>
+ <translation>Đổi tên hồ sơ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="219"/>
<source>New name:</source>
- <translation type="unfinished"/>
+ <translation>Tên mới:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="231"/>
@@ -4173,7 +3217,7 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_touchscreen_advanced.ui" line="14"/>
<source>Configure Touchscreen</source>
- <translation>Thiết lập màn hình cảm ứng</translation>
+ <translation>Cấu hình màn hình cảm ứng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touchscreen_advanced.ui" line="26"/>
@@ -4203,72 +3247,72 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_touchscreen_advanced.ui" line="132"/>
<source>Restore Defaults</source>
- <translation>Khôi phục về mặc định</translation>
+ <translation>Khôi phục mặc định</translation>
</message>
</context>
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
- <translation>Trống</translation>
+ <translation>Không có</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
- <translation type="unfinished"/>
+ <translation>Nhỏ (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
- <translation type="unfinished"/>
+ <translation>Tiêu chuẩn (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
- <translation type="unfinished"/>
+ <translation>Lớn (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
- <translation type="unfinished"/>
+ <translation>Kích thước đầy đủ (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
- <translation type="unfinished"/>
+ <translation>Nhỏ (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
- <translation type="unfinished"/>
+ <translation>Tiêu chuẩn (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
- <translation type="unfinished"/>
+ <translation>Lớn (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
- <translation>Tên tệp</translation>
+ <translation>Tên tập tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
- <translation type="unfinished"/>
+ <translation>Loại tập tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
- <translation>ID của game</translation>
+ <translation>ID title</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
- <translation type="unfinished"/>
+ <translation>Tên title</translation>
</message>
</context>
<context>
@@ -4281,7 +3325,7 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="17"/>
<source>UI</source>
- <translation>UI</translation>
+ <translation>Giao diện</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="23"/>
@@ -4291,7 +3335,7 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="31"/>
<source>Note: Changing language will apply your configuration.</source>
- <translation>Lưu ý: Thay đổi ngôn ngữ sẽ áp dụng thiết lập của bạn</translation>
+ <translation>Lưu ý: Thay đổi ngôn ngữ sẽ áp dụng cấu hình của bạn.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="43"/>
@@ -4301,42 +3345,42 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="57"/>
<source>Theme:</source>
- <translation>Giao diện:</translation>
+ <translation>Chủ đề:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="74"/>
<source>Game List</source>
- <translation>Danh sách trò chơi</translation>
+ <translation>Danh sách game</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="82"/>
<source>Show Compatibility List</source>
- <translation type="unfinished"/>
+ <translation>Hiện danh sách tương thích</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="89"/>
<source>Show Add-Ons Column</source>
- <translation>Hiện thị cột Tiện ích ngoài</translation>
+ <translation>Hiện cột Add-ons</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="96"/>
<source>Show Size Column</source>
- <translation type="unfinished"/>
+ <translation>Hiện cột Kích thước</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="103"/>
<source>Show File Types Column</source>
- <translation type="unfinished"/>
+ <translation>Hiện cột Loại tập tin</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="112"/>
<source>Game Icon Size:</source>
- <translation type="unfinished"/>
+ <translation>Kích thước biểu tượng game:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="126"/>
<source>Folder Icon Size:</source>
- <translation type="unfinished"/>
+ <translation>Kích thước biểu tượng thư mục:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="140"/>
@@ -4351,17 +3395,17 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="171"/>
<source>Screenshots</source>
- <translation type="unfinished"/>
+ <translation>Ảnh chụp màn hình</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="179"/>
<source>Ask Where To Save Screenshots (Windows Only)</source>
- <translation type="unfinished"/>
+ <translation>Hỏi nơi lưu ảnh chụp màn hình (chỉ cho Windows)</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="188"/>
<source>Screenshots Path: </source>
- <translation type="unfinished"/>
+ <translation>Đường dẫn cho ảnh chụp màn hình:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="198"/>
@@ -4369,32 +3413,48 @@ Drag points to change position, or double-click table cells to edit values.</sou
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation>NhãnVănBản</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Độ phân giải:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
- <translation type="unfinished"/>
+ <translation>Chọn đường dẫn cho ảnh chụp màn hình...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation>Tự động (%1 x %2, %3 x %4)</translation>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
<message>
<location filename="../../src/yuzu/configuration/configure_vibration.ui" line="14"/>
<source>Configure Vibration</source>
- <translation type="unfinished"/>
+ <translation>Cấu hình rung</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_vibration.ui" line="23"/>
<source>Press any controller button to vibrate the controller.</source>
- <translation type="unfinished"/>
+ <translation>Nhấn bất kỳ nút nào trên tay cầm để làm rung tay cầm.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_vibration.ui" line="30"/>
<source>Vibration</source>
- <translation>Độ rung</translation>
+ <translation>Rung</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_vibration.ui" line="63"/>
@@ -4456,7 +3516,7 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_vibration.ui" line="509"/>
<source>Enable Accurate Vibration</source>
- <translation type="unfinished"/>
+ <translation>Bật rung chính xác</translation>
</message>
</context>
<context>
@@ -4474,12 +3534,12 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_web.ui" line="25"/>
<source>yuzu Web Service</source>
- <translation>Dịch vụ Web yuzu</translation>
+ <translation>Dịch vụ web yuzu</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.ui" line="31"/>
<source>By providing your username and token, you agree to allow yuzu to collect additional usage data, which may include user identifying information.</source>
- <translation>Bằng cách cung cấp tên đăng nhập và mã thông báo của bạn, bạn đã chấp thuận sẽ cho phép yuzu thu thập dữ liệu đã sử dụng, trong đó có thể có thông tin nhận dạng người dùng.</translation>
+ <translation>Bằng cách cung cấp tên đăng nhập và token của bạn, bạn đã chấp thuận sẽ cho phép yuzu thu thập dữ liệu đã sử dụng, trong đó có thể có thông tin nhận dạng người dùng.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.ui" line="49"/>
@@ -4510,7 +3570,7 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_web.ui" line="118"/>
<source>Web Service configuration can only be changed when a public room isn&apos;t being hosted.</source>
- <translation type="unfinished"/>
+ <translation>Cấu hình dịch vụ web chỉ có thể thay đổi khi không có phòng công khai đang được tổ chức.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.ui" line="128"/>
@@ -4530,7 +3590,7 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_web.ui" line="150"/>
<source>Telemetry ID:</source>
- <translation>ID Viễn trắc: </translation>
+ <translation>ID viễn trắc: </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.ui" line="166"/>
@@ -4545,7 +3605,7 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_web.ui" line="186"/>
<source>Show Current Game in your Discord Status</source>
- <translation>Hiển thị trò chơi hiện tại lên thông tin Discord của bạn</translation>
+ <translation>Hiển thị game hiện tại lên trạng thái Discord của bạn</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="68"/>
@@ -4560,47 +3620,47 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="76"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/wiki/yuzu-web-service/&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;What is my token?&lt;/span&gt;&lt;/a&gt;</source>
- <translation>&lt;a href=&apos;https://yuzu-emu.org/wiki/yuzu-web-service/&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;Mã thông báo của tôi là gì?&lt;/span&gt;&lt;/a&gt;</translation>
+ <translation>&lt;a href=&apos;https://yuzu-emu.org/wiki/yuzu-web-service/&apos;&gt;&lt;span style=&quot;text-decoration: underline; color:#039be5;&quot;&gt;Token của tôi là gì?&lt;/span&gt;&lt;/a&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="80"/>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="125"/>
<source>Telemetry ID: 0x%1</source>
- <translation>ID Viễn trắc: 0x%1</translation>
+ <translation>ID viễn trắc: 0x%1</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="91"/>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="170"/>
<source>Unspecified</source>
- <translation type="unfinished"/>
+ <translation>Không xác định</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="117"/>
<source>Token not verified</source>
- <translation type="unfinished"/>
+ <translation>Token chưa được xác minh</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="118"/>
<source>Token was not verified. The change to your token has not been saved.</source>
- <translation type="unfinished"/>
+ <translation>Token không được xác thực. Thay đổi token của bạn chưa được lưu.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="141"/>
<source>Unverified, please click Verify before saving configuration</source>
<comment>Tooltip</comment>
- <translation type="unfinished"/>
+ <translation>Chưa xác minh, vui lòng nhấp vào Xác minh trước khi lưu cấu hình</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="147"/>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="149"/>
<source>Verifying...</source>
- <translation type="unfinished"/>
+ <translation>Đang xác minh...</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="164"/>
<source>Verified</source>
<comment>Tooltip</comment>
- <translation type="unfinished"/>
+ <translation>Đã xác minh</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="169"/>
@@ -4616,7 +3676,7 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="172"/>
<source>Verification failed. Check that you have entered your token correctly, and that your internet connection is working.</source>
- <translation type="unfinished"/>
+ <translation>Xác thực không thành công. Hãy kiểm tra xem bạn đã nhập token đúng chưa và kết nối internet của bạn có hoạt động hay không.</translation>
</message>
</context>
<context>
@@ -4624,12 +3684,12 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/debugger/controller.cpp" line="20"/>
<source>Controller P1</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm P1</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/controller.cpp" line="58"/>
<source>&amp;Controller P1</source>
- <translation type="unfinished"/>
+ <translation>&amp;Tay cầm P1</translation>
</message>
</context>
<context>
@@ -4637,950 +3697,1021 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="14"/>
<source>Direct Connect</source>
- <translation type="unfinished"/>
+ <translation>Kết nối trực tiếp</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="47"/>
<source>Server Address</source>
- <translation type="unfinished"/>
+ <translation>Địa chỉ máy chủ</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="54"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Server address of the host&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"/>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Địa chỉ máy chủ của chủ phòng&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="64"/>
<source>Port</source>
- <translation type="unfinished"/>
+ <translation>Cổng</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="71"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Port number the host is listening on&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"/>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Số cổng mà máy chủ đang lắng nghe&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="97"/>
<source>Nickname</source>
- <translation type="unfinished"/>
+ <translation>Biệt danh</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="111"/>
<source>Password</source>
- <translation type="unfinished"/>
+ <translation>Mật khẩu</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="153"/>
<source>Connect</source>
- <translation type="unfinished"/>
+ <translation>Kết nối</translation>
</message>
</context>
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
- <translation type="unfinished"/>
+ <translation>Đang kết nối</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
- <translation type="unfinished"/>
+ <translation>Kết nối</translation>
</message>
</context>
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
- <translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Dữ liệu ẩn danh được thu thập&lt;/a&gt;để hỗ trợ cải thiện yuzu. &lt;br/&gt;&lt;br/&gt;Bạn có muốn chia sẽ dữ liệu sử dụng cho chúng tôi?</translation>
+ <translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Dữ liệu ẩn danh được thu thập&lt;/a&gt;để hỗ trợ cải thiện yuzu. &lt;br/&gt;&lt;br/&gt;Bạn có muốn chia sẽ dữ liệu sử dụng với chúng tôi?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Viễn trắc</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
- <translation type="unfinished"/>
+ <translation>Phát hiện cài đặt Vulkan bị hỏng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
- <translation type="unfinished"/>
+ <translation>Khởi tạo Vulkan thất bại trong quá trình khởi động.&lt;br&gt;Nhấp &lt;br&gt;&lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;vào đây để xem hướng dẫn khắc phục vấn đề&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
- <translation type="unfinished"/>
+ <translation>Đang chạy một game</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
- <translation type="unfinished"/>
+ <translation>Đang tải applet web...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
- <translation type="unfinished"/>
+ <translation>Tắt applet web</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
- <translation type="unfinished"/>
+ <translation>Tắt applet web có thể dẫn đến hành vi không xác định và chỉ nên được sử dụng với Super Mario 3D All-Stars. Bạn có chắc chắn muốn tắt applet web không?
+(Có thể được bật lại trong cài đặt Gỡ lỗi.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
- <translation type="unfinished"/>
+ <translation>Số lượng shader đang được dựng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
- <translation type="unfinished"/>
+ <translation>Bội số tỷ lệ độ phân giải được chọn hiện tại.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
- <translation>Tốc độ giả lập hiện tại. Giá trị cao hơn hoặc thấp hơn 100% chỉ ra giả lập sẽ chạy nhanh hơn hoặc chậm hơn trên máy Switch</translation>
+ <translation>Tốc độ giả lập hiện tại. Giá trị cao hơn hoặc thấp hơn 100% chỉ ra giả lập sẽ chạy nhanh hơn hoặc chậm hơn trên máy Switch.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
- <translation>Có bao nhiêu khung hình trên mỗi giây mà trò chơi đang hiển thị. Điều này sẽ thay đổi từ giữa các trò chơi và các khung cảnh khác nhau.</translation>
+ <translation>Có bao nhiêu khung hình trên mỗi giây mà game đang hiển thị. Điều này sẽ thay đổi giữa các game và các cảnh khác nhau.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Thời gian mà giả lập lấy từ khung hình Switch, sẽ không kể đến giới hạn khung hình hoặc v-sync. Đối với tốc độ tối đa mà giả lập nhận được nhiều nhất là ở độ khoảng 16.67 ms.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
- <translation type="unfinished"/>
+ <translation>Bật tiếng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
- <translation type="unfinished"/>
+ <translation>Tắt tiếng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
- <translation type="unfinished"/>
+ <translation>Đặt lại âm lượng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
- <translation type="unfinished"/>
+ <translation>&amp;Xoá tập tin gần đây</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
- <translation type="unfinished"/>
+ <translation>Chuột giả lập đã được bật</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
- <translation type="unfinished"/>
+ <translation>Đầu vào từ chuột thật và tính năng lia chuột không tương thích. Vui lòng tắt chuột giả lập trong cài đặt đầu vào nâng cao để cho phép lia chuột.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
- <translation type="unfinished"/>
+ <translation>&amp;Tiếp tục</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;Tạm dừng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
- <translation>Chú ý định dạng trò chơi đã lỗi thời</translation>
+ <translation>Cảnh báo định dạng game đã lỗi thời</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
- <translation>Bạn đang sử dụng định dạng danh mục ROM giải mã cho trò chơi này, và đó là một định dạng lỗi thời đã được thay thế bởi những thứ khác như NCA, NAX, XCI, hoặc NSP. Danh mục ROM giải mã có thể thiếu các icon, metadata, và hỗ trợ cập nhật.&lt;br&gt;&lt;br&gt;Để hiểu thêm về các định dạng khác nhau của Switch mà yuzu hỗ trợ, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;vui lòng kiểm tra trên wiki của chúng tôi&lt;/a&gt;. Thông báo này sẽ không hiển thị lại lần sau.</translation>
+ <translation>Bạn đang sử dụng định dạng thư mục ROM đã giải nén cho game này, một định dạng lỗi thời đã được thay thế bởi những thứ khác như NCA, NAX, XCI, hoặc NSP. Thư mục ROM đã giải nén có thể thiếu các biểu tượng, metadata, và hỗ trợ cập nhật.&lt;br&gt;&lt;br&gt;Để hiểu thêm về các định dạng khác nhau của Switch mà yuzu hỗ trợ, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;vui lòng kiểm tra wiki của chúng tôi&lt;/a&gt;. Thông báo này sẽ không hiển thị lại lần sau.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
- <translation>Lỗi xảy ra khi nạp ROM!</translation>
+ <translation>Lỗi khi nạp ROM!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
- <translation>Định dạng ROM này không hỗ trợ.</translation>
+ <translation>Định dạng ROM này không được hỗ trợ.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
- <translation>Đã xảy ra lỗi khi khởi tạo lõi đồ hoạ.</translation>
+ <translation>Đã xảy ra lỗi khi khởi tạo lõi video.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
- <translation type="unfinished"/>
+ <translation>yuzu đã gặp lỗi khi chạy lõi video. Điều này thường xảy ra do phiên bản driver GPU đã cũ, bao gồm cả driver tích hợp. Vui lòng xem nhật ký để biết thêm chi tiết. Để biết thêm thông tin về cách truy cập nhật ký, vui lòng xem trang sau: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;Cách tải lên tập tin nhật ký&lt;/a&gt;. </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
- <translation type="unfinished"/>
+ <translation>Lỗi khi nạp ROM! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
- <translation type="unfinished"/>
+ <translation>%1&lt;br&gt;Vui lòng tuân theo &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;hướng dẫn nhanh của yuzu&lt;/a&gt; để trích xuất lại các tập tin của bạn.&lt;br&gt;Bạn có thể tham khảo yuzu wiki&lt;/a&gt; hoặc yuzu Discord&lt;/a&gt;để được hỗ trợ. </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
- <translation>Đã xảy ra lỗi không xác định. Hãy kiểm tra phần báo cáo để biết thêm chi tiết.</translation>
+ <translation>Đã xảy ra lỗi không xác định. Hãy xem nhật ký để biết thêm chi tiết.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
- <translation type="unfinished"/>
+ <translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
- <translation type="unfinished"/>
+ <translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
- <translation type="unfinished"/>
+ <translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
- <translation type="unfinished"/>
+ <translation>Đang đóng phần mềm...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
- <translation type="unfinished"/>
+ <translation>Dữ liệu save</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
- <translation type="unfinished"/>
+ <translation>Dữ liệu mod</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
- <translation>Xảy ra lỗi khi mở %1 thư mục</translation>
+ <translation>Lỗi khi mở thư mục %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>Thư mục này không tồn tại!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi mở bộ nhớ đệm shader chuyển được</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
- <translation type="unfinished"/>
+ <translation>Thất bại khi tạo thư mục bộ nhớ đệm shader cho title này.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi loại bỏ nội dung</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi loại bỏ bản cập nhật</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi loại bỏ DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ nội dung game đã cài đặt?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ bản cập nhật game đã cài đặt?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ DLC game đã cài đặt?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
- <translation type="unfinished"/>
+ <translation>Xoá mục</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ thành công</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ thành công base game đã cài đặt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
- <translation type="unfinished"/>
+ <translation>Base game không được cài đặt trong NAND và không thể loại bỏ.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ thành công bản cập nhật đã cài đặt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
- <translation type="unfinished"/>
+ <translation>Không có bản cập nhật nào được cài đặt cho title này.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
- <translation type="unfinished"/>
+ <translation>Không có DLC nào được cài đặt cho title này.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ thành công %1 DLC đã cài đặt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
- <translation type="unfinished"/>
+ <translation>Xoá bộ nhớ đệm shader OpenGL chuyển được?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
- <translation type="unfinished"/>
+ <translation>Xoá bộ nhớ đệm shader Vulkan chuyển được?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
- <translation type="unfinished"/>
+ <translation>Xoá tất cả bộ nhớ đệm shader chuyển được?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ cấu hình game tuỳ chỉnh?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ bộ nhớ đệm?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ tập tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi loại bỏ bộ nhớ đệm shader chuyển được</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
- <translation type="unfinished"/>
+ <translation>Bộ nhớ đệm shader cho title này không tồn tại.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
- <translation type="unfinished"/>
+ <translation>Thành công loại bỏ bộ nhớ đệm shader chuyển được.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
- <translation type="unfinished"/>
+ <translation>Thất bại khi xoá bộ nhớ đệm shader chuyển được.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi xoá bộ nhớ đệm pipeline Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
- <translation type="unfinished"/>
+ <translation>Thất bại khi xoá bộ nhớ đệm pipeline của driver.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi loại bỏ bộ nhớ đệm shader chuyển được</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
- <translation type="unfinished"/>
+ <translation>Thành công loại bỏ tất cả bộ nhớ đệm shader chuyển được.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
- <translation type="unfinished"/>
+ <translation>Thất bại khi loại bỏ thư mục bộ nhớ đệm shader.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi loại bỏ cấu hình tuỳ chỉnh</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
- <translation type="unfinished"/>
+ <translation>Cấu hình tuỳ chỉnh cho title này không tồn tại.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ thành công cấu hình game tuỳ chỉnh.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
- <translation type="unfinished"/>
+ <translation>Thất bại khi xoá cấu hình game tuỳ chỉnh.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
- <translation>Khai thác RomFS không thành công!</translation>
+ <translation>Giải nén RomFS không thành công!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
- <translation>Đã xảy ra lỗi khi sao chép tệp tin RomFS hoặc người dùng đã hủy bỏ hoạt động này.</translation>
+ <translation>Đã xảy ra lỗi khi sao chép các tập tin RomFS hoặc người dùng đã hủy bỏ hoạt động này.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
- <translation type="unfinished"/>
+ <translation>Đầy đủ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
- <translation>Sườn</translation>
+ <translation>Khung</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
- <translation>Chọn chế độ kết xuất RomFS</translation>
+ <translation>Chọn chế độ trích xuất RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
- <translation>Vui lòng chọn cách mà bạn muốn RomFS kết xuất.&lt;br&gt;Chế độ Đầy Đủ sẽ sao chép toàn bộ tệp tin vào một danh mục mới trong khi &lt;br&gt;chế độ Sườn chỉ tạo kết cấu danh mục.</translation>
+ <translation>Vui lòng chọn cách mà bạn muốn RomFS được trích xuất.&lt;br&gt;Chế độ Đầy đủ sẽ sao chép toàn bộ tập tin vào một thư mục mới trong khi &lt;br&gt;chế độ Khung chỉ tạo cấu trúc thư mục.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
- <translation type="unfinished"/>
+ <translation>Không đủ bộ nhớ trống tại %1 để trích xuất RomFS. Hãy giải phóng bộ nhớ hoặc chọn một thư mục trích xuất khác tại Giả lập &gt; Cấu hình &gt; Hệ thống &gt; Hệ thống tập tin &gt; Thư mục trích xuất gốc</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
- <translation>Khai thác RomFS...</translation>
+ <translation>Giải nén RomFS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Hủy bỏ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
- <translation>Khai thác RomFS thành công!</translation>
+ <translation>Giải nén RomFS thành công!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>Các hoạt động đã hoàn tất thành công.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation>Không thể thực hiện kiểm tra tính toàn vẹn!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation>Chưa kiểm tra sự hợp lệ của nội dung tập tin.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation>Kiểm tra tính toàn vẹn thất bại!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation>Nội dung tập tin có thể bị hỏng.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation>Đang kiểm tra tính toàn vẹn...</translation>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation>Kiểm tra tính toàn vẹn thành công!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
- <translation type="unfinished"/>
+ <translation>Tạo lối tắt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
- <translation type="unfinished"/>
+ <translation>Việc này sẽ tạo một lối tắt tới AppImage hiện tại. Điều này có thể không hoạt động tốt nếu bạn cập nhật. Tiếp tục?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
- <translation type="unfinished"/>
+ <translation>Không thể tạo lối tắt trên desktop. Đường dẫn &quot;%1&quot; không tồn tại.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
- <translation type="unfinished"/>
+ <translation>Không thể tạo lối tắt trong menu ứng dụng. Đường dẫn &quot;%1&quot; không tồn tại và không thể tạo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
- <translation type="unfinished"/>
+ <translation>Tạo biểu tượng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
- <translation type="unfinished"/>
+ <translation>Không thể tạo tập tin biểu tượng. Đường dẫn &quot;%1&quot; không tồn tại và không thể tạo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
- <translation type="unfinished"/>
+ <translation>Bắt đầu %1 với giả lập yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
- <translation type="unfinished"/>
+ <translation>Thất bại khi tạo lối tắt tại %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
- <translation type="unfinished"/>
+ <translation>Thành công tạo lối tắt tại %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi mở %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
- <translation>Chọn danh mục</translation>
+ <translation>Chọn thư mục</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Thuộc tính</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
- <translation>Không thể tải thuộc tính của trò chơi.</translation>
+ <translation>Không thể tải thuộc tính của game.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
- <translation>Thực thi Switch (%1);;Tất cả tệp tin (*.*)</translation>
+ <translation>Thực thi Switch (%1);;Tất cả tập tin (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
- <translation>Nạp tệp tin</translation>
+ <translation>Nạp tập tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
- <translation>Mở danh mục ROM đã trích xuất</translation>
+ <translation>Mở thư mục ROM đã giải nén</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Danh mục đã chọn không hợp lệ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
- <translation>Danh mục mà bạn đã chọn không có chứa tệp tin &apos;main&apos;.</translation>
+ <translation>Thư mục mà bạn đã chọn không chứa tập tin &apos;main&apos;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
- <translation>Những tệp tin Switch cài được (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</translation>
+ <translation>Những tập tin Switch cài được (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
- <translation type="unfinished"/>
+ <translation>Cài đặt tập tin</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
- <translation type="unfinished"><numerusform></numerusform></translation>
+ <translation><numerusform>%n tập tin còn lại</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
- <translation>Đang cài đặt tệp tin &quot;%1&quot;...</translation>
+ <translation>Đang cài đặt tập tin &quot;%1&quot;...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
- <translation type="unfinished"/>
+ <translation>Kết quả cài đặt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
- <translation type="unfinished"/>
+ <translation>Để tránh xung đột có thể xảy ra, chúng tôi không khuyến khích người dùng cài đặt base game vào NAND.
+Vui lòng, chỉ sử dụng tính năng này để cài đặt các bản cập nhật và DLC.</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
- <translation type="unfinished"><numerusform></numerusform></translation>
+ <translation><numerusform>%n tập tin đã được cài đặt mới
+</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
- <translation type="unfinished"><numerusform></numerusform></translation>
+ <translation><numerusform>%n tập tin đã được ghi đè
+</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
- <translation type="unfinished"><numerusform></numerusform></translation>
+ <translation><numerusform>%n tập tin thất bại khi cài đặt
+</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>Ứng dụng hệ thống</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
- <translation>Hệ thống lưu trữ</translation>
+ <translation>Bản lưu trữ của hệ thống</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
- <translation>Cập nhật hệ thống ứng dụng</translation>
+ <translation>Cập nhật ứng dụng hệ thống</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
- <translation>Gói phần mềm hệ thống (Loại A)</translation>
+ <translation>Gói firmware (Loại A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
- <translation>Gói phần mềm (Loại B)</translation>
+ <translation>Gói firmware (Loại B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
- <translation>Trò chơi</translation>
+ <translation>Game</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
- <translation>Cập nhật trò chơi</translation>
+ <translation>Cập nhật game</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
- <translation>Nội dung trò chơi có thể tải xuống</translation>
+ <translation>DLC game</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
- <translation>Tiêu đề Delta</translation>
+ <translation>Title Delta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Chọn cách cài đặt NCA...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
- <translation>Vui lòng chọn loại tiêu đề mà bạn muốn cài đặt NCA này:
+ <translation>Vui lòng chọn loại title mà bạn muốn cài đặt NCA này:
(Trong hầu hết trường hợp, chọn mặc định &apos;Game&apos; là tốt nhất.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
- <translation>Cài đặt đã không thành công</translation>
+ <translation>Cài đặt thất bại</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
- <translation>Loại tiêu đề NCA mà bạn chọn nó không hợp lệ.</translation>
+ <translation>Loại title mà bạn đã chọn cho NCA không hợp lệ.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
- <translation>Không tìm thấy tệp tin</translation>
+ <translation>Không tìm thấy tập tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
- <translation>Không tìm thấy tệp tin &quot;%1&quot;</translation>
+ <translation>Không tìm thấy tập tin &quot;%1&quot;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
- <translation type="unfinished"/>
+ <translation>Yêu cầu phần cứng không được đáp ứng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
- <translation type="unfinished"/>
+ <translation>Hệ thống của bạn không đáp ứng yêu cầu phần cứng được đề xuất. Báo cáo độ tương thích đã bị vô hiệu hoá.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>Thiếu tài khoản yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
- <translation>Để gửi trường hợp thử nghiệm trò chơi tương thích, bạn phải liên kết tài khoản yuzu.&lt;br&gt;&lt;br/&gt;Để liên kết tải khoản yuzu của bạn, hãy đến Giả lập &amp;gt; Thiết lập &amp;gt; Web.</translation>
+ <translation>Để gửi trường hợp thử nghiệm game tương thích, bạn phải liên kết tài khoản yuzu.&lt;br&gt;&lt;br/&gt;Để liên kết tải khoản yuzu của bạn, hãy đến Giả lập &amp;gt; Cấu hình &amp;gt; Web.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi mở URL</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
- <translation type="unfinished"/>
+ <translation>Không thể mở URL &quot;%1&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
- <translation type="unfinished"/>
+ <translation>Ghi lại TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
- <translation type="unfinished"/>
+ <translation>Ghi đè tập tin của người chơi 1?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
- <translation type="unfinished"/>
+ <translation>Đã phát hiện cấu hình không hợp lệ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm handheld không thể được sử dụng trong chế độ docked. Pro Controller sẽ được chọn.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
- <translation type="unfinished"/>
+ <translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
- <translation type="unfinished"/>
+ <translation>Amiibo hiện tại đã được loại bỏ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
- <translation type="unfinished"/>
+ <translation>Lỗi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
- <translation type="unfinished"/>
+ <translation>Game hiện tại không tìm kiếm amiibos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
- <translation>Tệp tin Amiibo (%1);; Tất cả tệp tin (*.*)</translation>
+ <translation>Tập tin Amiibo (%1);; Tất cả tập tin (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
- <translation>Nạp dữ liệu Amiibo</translation>
+ <translation>Nạp Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
- <translation>Xảy ra lỗi khi nạp dữ liệu Amiibo</translation>
+ <translation>Lỗi khi nạp dữ liệu Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
- <translation type="unfinished"/>
+ <translation>Tập tin đã chọn không phải là amiibo hợp lệ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
- <translation type="unfinished"/>
+ <translation>Tập tin đã chọn đã được sử dụng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
+ <translation>Đã xảy ra lỗi không xác định</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation>Kiểm tra những tập tin sau thất bại:
+
+%1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Chụp ảnh màn hình</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>Hình ảnh PNG (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
- <translation type="unfinished"/>
+ <translation>Trạng thái TAS: Đang chạy %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
- <translation type="unfinished"/>
+ <translation>Trạng thái TAS: Đang ghi %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
- <translation type="unfinished"/>
+ <translation>Trạng thái TAS: Đang chờ %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
- <translation type="unfinished"/>
+ <translation>Trạng thái TAS: Không hợp lệ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
- <translation type="unfinished"/>
+ <translation>&amp;Dừng chạy</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>&amp;Bắt đầu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
- <translation type="unfinished"/>
+ <translation>Dừng G&amp;hi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
- <translation type="unfinished"/>
+ <translation>G&amp;hi</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
- <translation type="unfinished"><numerusform></numerusform></translation>
+ <translation><numerusform>Đang dựng: %n shader</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
- <translation type="unfinished"/>
+ <translation>Tỉ lệ thu phóng: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Tốc độ: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Tốc độ: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
- <translation type="unfinished"/>
+ <translation>Game: %1 FPS (Đã mở khoá)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
- <translation>Trò chơi: %1 FPS</translation>
+ <translation>Game: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Khung hình: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
- <translation type="unfinished"/>
+ <translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
- <translation type="unfinished"/>
+ <translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
- <translation type="unfinished"/>
+ <translation>NO AA</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
- <translation type="unfinished"/>
+ <translation>ÂM LƯỢNG: TẮT TIẾNG</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
- <translation type="unfinished"/>
+ <translation>ÂM LƯỢNG: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
- <translation>Xác nhận mã khóa Rederivation</translation>
+ <translation>Xác nhận chuyển hoá lại key</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5588,97 +4719,97 @@ Please make sure this is what you want
and optionally make backups.
This will delete your autogenerated key files and re-run the key derivation module.</source>
- <translation>Bạn đang muốn bắt buộc trích dẫn lại toàn bộ mã khóa của bạn.
-Nếu bạn không biết cái này là gì hay bạn đang làm gì,
-đây là hành động có khả năng phá hoại.
-Hãy chắc rằng đây là điều bạn muốn
-và phải tạo ra một bản sao lưu lại.
+ <translation>Bạn đang chuẩn bị buộc chuyển hoá lại toàn bộ keys của bạn.
+Nếu bạn không biết ý nghĩa của điều này hoặc bạn không hiểu đang làm gì,
+thì đây có thể là một hành động phá hoại.
+Xin hãy đảm bảo rằng đây là điều bạn muốn
+và tạo một bản sao lưu.
-Điều này sẽ xóa mã khóa tự động tạo trên tệp tin của bạn và chạy lại mô-đun chiết xuất mã khoá.</translation>
+Việc này sẽ xóa các tập tin key tự động sinh ra của bạn và chạy lại mô-đun chuyển hoá key.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
- <translation type="unfinished"/>
+ <translation>Thiếu fuses</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
- <translation type="unfinished"/>
+ <translation> - Thiếu BOOT0</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
- <translation type="unfinished"/>
+ <translation> - Thiếu BCPKG2-1-Normal-Main</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
- <translation type="unfinished"/>
+ <translation> - Thiếu PRODINFO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
- <translation type="unfinished"/>
+ <translation>Thiếu các thành phần chuyển hoá</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
- <translation type="unfinished"/>
+ <translation>Keys mã hoá bị thiếu. &lt;br&gt;Vui lòng tuân theo &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;hướng dẫn nhanh của yuzu&lt;/a&gt; để lấy tất cả key, firmware và game của bạn.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
- <translation>Đang lấy mã khoá...
+ <translation>Đang chuyển hoá keys...
Điều này sẽ mất tới một phút tuỳ vào
hệ thống của bạn.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
- <translation>Mã khóa xuất phát</translation>
+ <translation>Đang chuyển hoá key</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
- <translation type="unfinished"/>
+ <translation>Giải mã bản lưu trữ của hệ thống thất bại</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
- <translation type="unfinished"/>
+ <translation>Keys mã hoá thất bại khi giải mã firmware. &lt;br&gt;Vui lòng tuân theo &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;hướng dẫn nhanh của yuzu&lt;/a&gt;để lấy tất cả key, firmware và game của bạn. </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
- <translation>Chọn thư mục để sao chép RomFS</translation>
+ <translation>Chọn thư mục để trích xuất RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
- <translation>Vui lòng chọn RomFS mà bạn muốn chiết xuất.</translation>
+ <translation>Vui lòng chọn RomFS mà bạn muốn trích xuất.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Bạn có chắc chắn muốn đóng yuzu?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Bạn có chắc rằng muốn dừng giả lập? Bất kì tiến trình nào chưa được lưu sẽ bị mất.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5687,318 +4818,323 @@ Would you like to bypass this and exit anyway?</source>
Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
- <translation>Trống</translation>
+ <translation>Không có</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
- <translation type="unfinished"/>
+ <translation>Nearest</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Bilinear</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Bicubic</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
- <translation>ScaleForce</translation>
+ <translation>Gaussian</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
- <translation>Chế độ cắm TV</translation>
+ <translation>Docked</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
- <translation>Cầm tay</translation>
+ <translation>Handheld</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
- <translation>Trung bình</translation>
+ <translation>Bình thường</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
- <translation>Khỏe</translation>
+ <translation>Cao</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
- <translation type="unfinished"/>
+ <translation>Cực đại</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
- <translation type="unfinished"/>
+ <translation>OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
- <translation type="unfinished"/>
+ <translation>Null</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
- <translation type="unfinished"/>
+ <translation>GLSL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
- <translation type="unfinished"/>
+ <translation>GLASM</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
- <translation type="unfinished"/>
+ <translation>SPIRV</translation>
</message>
</context>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
- <translation>Không có sẵn OpenGL!</translation>
+ <translation>OpenGL không khả dụng!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
- <translation type="unfinished"/>
+ <translation>Các ngữ cảnh OpenGL chung không được hỗ trợ.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
- <translation type="unfinished"/>
+ <translation>yuzu không được biên dịch với hỗ trợ OpenGL.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
- <translation>Đã xảy ra lỗi khi khởi tạo OpenGL!</translation>
+ <translation>Lỗi khi khởi tạo OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
- <translation type="unfinished"/>
+ <translation>GPU của bạn có thể không hỗ trợ OpenGL, hoặc bạn không có driver đồ hoạ mới nhất.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi khởi tạo OpenGL 4.6!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
- <translation type="unfinished"/>
+ <translation>GPU của bạn có thể không hỗ trợ OpenGL 4.6, hoặc bạn không có driver đồ hoạ mới nhất.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
- <translation type="unfinished"/>
+ <translation>GPU của bạn có thể không hỗ trợ một hoặc nhiều tiện ích OpenGL cần thiết. Vui lòng đảm bảo bạn có driver đồ hoạ mới nhất.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Tiện ích không hỗ trợ:&lt;br&gt;%2</translation>
</message>
</context>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
- <translation type="unfinished"/>
+ <translation>Ưa thích</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
- <translation type="unfinished"/>
+ <translation>Bắt đầu game</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
- <translation type="unfinished"/>
+ <translation>Bắt đầu game mà không có cấu hình tuỳ chỉnh</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
- <translation>Mở vị trí dữ liệu lưu</translation>
+ <translation>Mở vị trí dữ liệu save</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
- <translation>Mở vị trí chỉnh sửa dữ liệu</translation>
+ <translation>Mở vị trí chứa dữ liệu mod</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
- <translation type="unfinished"/>
+ <translation>Mở thư mục chứa bộ nhớ đệm pipeline</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
- <translation>Gỡ Bỏ</translation>
+ <translation>Loại bỏ</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ bản cập nhật đã cài</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ tất cả DLC đã cài đặt</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ cấu hình tuỳ chỉnh</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ bộ nhớ đệm</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ bộ nhớ đệm pipeline OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ bộ nhớ đệm pipeline Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ tất cả bộ nhớ đệm shader</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ tất cả nội dung đã cài đặt</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
- <translation>Kết xuất RomFS</translation>
+ <translation>Trích xuất RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
- <translation type="unfinished"/>
+ <translation>Trích xuất RomFS tới SDMC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation>Kiểm tra tính toàn vẹn</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
- <translation>Sao chép ID tiêu đề vào bộ nhớ tạm</translation>
+ <translation>Sao chép ID title vào bộ nhớ tạm</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
- <translation>Điều hướng đến mục cơ sở dữ liệu trò chơi</translation>
+ <translation>Điều hướng đến mục GameDB</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
- <translation type="unfinished"/>
+ <translation>Tạo lối tắt</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
- <translation type="unfinished"/>
+ <translation>Thêm vào desktop</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
- <translation type="unfinished"/>
+ <translation>Thêm vào menu ứng dụng</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Thuộc tính</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
- <translation type="unfinished"/>
+ <translation>Quét các thư mục con</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ thư mục game</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
- <translation type="unfinished"/>
+ <translation>▲ Di chuyển lên</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
- <translation type="unfinished"/>
+ <translation>▼ Di chuyển xuống</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
- <translation type="unfinished"/>
+ <translation>Mở vị trí thư mục</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
- <translation>Bỏ trống</translation>
+ <translation>Xóa</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Tên</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Độ tương thích</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
- <translation>Tiện ích ngoài</translation>
+ <translation>Add-ons</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
- <translation>Loại tệp tin</translation>
+ <translation>Loại tập tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
- <translation>Kích cỡ</translation>
+ <translation>Kích thước</translation>
</message>
</context>
<context>
@@ -6006,32 +5142,32 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="149"/>
<source>Ingame</source>
- <translation type="unfinished"/>
+ <translation>Trong game</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="149"/>
<source>Game starts, but crashes or major glitches prevent it from being completed.</source>
- <translation type="unfinished"/>
+ <translation>Game khởi động, nhưng bị crash hoặc lỗi nghiêm trọng dẫn đến việc không thể hoàn thành nó.</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="151"/>
<source>Perfect</source>
- <translation>Tốt nhất</translation>
+ <translation>Hoàn hảo</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="151"/>
<source>Game can be played without issues.</source>
- <translation type="unfinished"/>
+ <translation>Game có thể chơi mà không gặp vấn đề.</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="152"/>
<source>Playable</source>
- <translation type="unfinished"/>
+ <translation>Có thể chơi</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="152"/>
<source>Game functions with minor graphical or audio glitches and is playable from start to finish.</source>
- <translation type="unfinished"/>
+ <translation>Game hoạt động với lỗi hình ảnh hoặc âm thanh nhẹ và có thể chơi từ đầu tới cuối.</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="155"/>
@@ -6041,7 +5177,7 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="155"/>
<source>Game loads, but is unable to progress past the Start Screen.</source>
- <translation type="unfinished"/>
+ <translation>Game đã tải, nhưng không thể qua được màn hình bắt đầu.</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="156"/>
@@ -6051,7 +5187,7 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="156"/>
<source>The game crashes when attempting to startup.</source>
- <translation>Trò chơi sẽ thoát đột ngột khi khởi động.</translation>
+ <translation>Game crash khi đang khởi động.</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="157"/>
@@ -6061,15 +5197,15 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="157"/>
<source>The game has not yet been tested.</source>
- <translation>Trò chơi này chưa có ai thử cả.</translation>
+ <translation>Game này chưa được thử nghiệm.</translation>
</message>
</context>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
- <translation type="unfinished"/>
+ <translation>Nhấp đúp chuột để thêm một thư mục mới vào danh sách game</translation>
</message>
</context>
<context>
@@ -6077,17 +5213,17 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
<message numerus="yes">
<location filename="../../src/yuzu/game_list.cpp" line="86"/>
<source>%1 of %n result(s)</source>
- <translation type="unfinished"><numerusform></numerusform></translation>
+ <translation><numerusform>%1 trong %n kết quả</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
- <translation>Bộ lọc:</translation>
+ <translation>Lọc:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
- <translation>Nhập khuôn để lọc</translation>
+ <translation>Nhập mẫu để lọc</translation>
</message>
</context>
<context>
@@ -6095,42 +5231,42 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="14"/>
<source>Create Room</source>
- <translation type="unfinished"/>
+ <translation>Tạo phòng</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="37"/>
<source>Room Name</source>
- <translation type="unfinished"/>
+ <translation>Tên phòng</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="51"/>
<source>Preferred Game</source>
- <translation type="unfinished"/>
+ <translation>Game ưa thích</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="61"/>
<source>Max Players</source>
- <translation type="unfinished"/>
+ <translation>Số người chơi tối đa</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="91"/>
<source>Username</source>
- <translation>Tên</translation>
+ <translation>Tên người dùng</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="101"/>
<source>(Leave blank for open game)</source>
- <translation type="unfinished"/>
+ <translation>(Để trống cho game mở)</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="118"/>
<source>Password</source>
- <translation type="unfinished"/>
+ <translation>Mật khẩu</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="125"/>
<source>Port</source>
- <translation type="unfinished"/>
+ <translation>Cổng</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="139"/>
@@ -6140,48 +5276,47 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="153"/>
<source>Load Previous Ban List</source>
- <translation type="unfinished"/>
+ <translation>Tải danh sách ban trước đó</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="184"/>
<source>Public</source>
- <translation type="unfinished"/>
+ <translation>Công khai</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="189"/>
<source>Unlisted</source>
- <translation type="unfinished"/>
+ <translation>Không công khai</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="197"/>
<source>Host Room</source>
- <translation type="unfinished"/>
+ <translation>Tạo phòng</translation>
</message>
</context>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
- <translation type="unfinished"/>
+ <translation>Lỗi</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
- <translation type="unfinished"/>
+ <translation>Công bố phòng công khai trong sảnh thất bại. Để tổ chức phòng công khai, bạn cần phải có một tài khoản yuzu hợp lệ tại Giả lập -&gt; Cấu hình -&gt; Web. Nếu không muốn công khai phòng trong sảnh, hãy chọn mục Không công khai.
+Tin nhắn gỡ lỗi:</translation>
</message>
</context>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
- <translation type="unfinished"/>
+ <translation>Tắt/Bật tiếng</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6202,113 +5337,115 @@ Debug Message: </source>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
- <translation type="unfinished"/>
+ <translation>Cửa sổ chính</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
- <translation type="unfinished"/>
+ <translation>Giảm âm lượng</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
- <translation type="unfinished"/>
+ <translation>Tăng âm lượng</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Chụp ảnh màn hình</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
- <translation type="unfinished"/>
+ <translation>Thay đổi bộ lọc điều chỉnh</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
- <translation type="unfinished"/>
+ <translation>Thay đổi chế độ docked</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
- <translation type="unfinished"/>
+ <translation>Thay đổi độ chính xác GPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
- <translation type="unfinished"/>
+ <translation>Tiếp tục/Tạm dừng giả lập</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
- <translation type="unfinished"/>
+ <translation>Thoát chế độ toàn màn hình</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
- <translation type="unfinished"/>
+ <translation>Thoát yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Toàn màn hình</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
- <translation>Nạp tệp tin</translation>
+ <translation>Nạp tập tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
- <translation type="unfinished"/>
+ <translation>Nạp/Loại bỏ Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
- <translation type="unfinished"/>
+ <translation>Khởi động lại giả lập</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
- <translation type="unfinished"/>
+ <translation>Dừng giả lập</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
- <translation type="unfinished"/>
+ <translation>Ghi lại TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
- <translation type="unfinished"/>
+ <translation>Đặt lại TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
- <translation type="unfinished"/>
+ <translation>Bắt đầu/Dừng TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
- <translation type="unfinished"/>
+ <translation>Hiện/Ẩn thanh lọc</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
- <translation type="unfinished"/>
+ <translation>Bật/Tắt giới hạn tốc độ khung hình</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
- <translation type="unfinished"/>
+ <translation>Bật/Tắt lia chuột</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
- <translation type="unfinished"/>
+ <translation>Hiện/Ẩn thanh trạng thái</translation>
</message>
</context>
<context>
@@ -6316,12 +5453,12 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/install_dialog.cpp" line="29"/>
<source>Please confirm these are the files you wish to install.</source>
- <translation>Xin hãy xác nhận đây là những tệp tin bạn muốn cài.</translation>
+ <translation>Vui lòng xác nhận đây là những tập tin bạn muốn cài.</translation>
</message>
<message>
<location filename="../../src/yuzu/install_dialog.cpp" line="32"/>
<source>Installing an Update or DLC will overwrite the previously installed one.</source>
- <translation>Cài đặt một tệp tin cập nhật hoặc DLC mới sẽ thay thế những tệp cũ đã cài trước đó.</translation>
+ <translation>Cài đặt một bản cập nhật hoặc DLC mới sẽ thay thế những bản cũ đã cài trước đó.</translation>
</message>
<message>
<location filename="../../src/yuzu/install_dialog.cpp" line="36"/>
@@ -6331,7 +5468,7 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/install_dialog.cpp" line="49"/>
<source>Install Files to NAND</source>
- <translation type="unfinished"/>
+ <translation>Cài đặt tập tin vào NAND</translation>
</message>
</context>
<context>
@@ -6340,7 +5477,8 @@ Debug Message: </source>
<location filename="../../src/yuzu/util/limitable_input_dialog.cpp" line="59"/>
<source>The text can't contain any of the following characters:
%1</source>
- <translation type="unfinished"/>
+ <translation>Văn bản không được chứa bất kỳ ký tự sau đây:
+%1</translation>
</message>
</context>
<context>
@@ -6348,17 +5486,17 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/loading_screen.ui" line="84"/>
<source>Loading Shaders 387 / 1628</source>
- <translation type="unfinished"/>
+ <translation>Đang tải shader 387 / 1628</translation>
</message>
<message>
<location filename="../../src/yuzu/loading_screen.ui" line="121"/>
<source>Loading Shaders %v out of %m</source>
- <translation type="unfinished"/>
+ <translation>Đang tải shader %v trong số %m</translation>
</message>
<message>
<location filename="../../src/yuzu/loading_screen.ui" line="135"/>
<source>Estimated Time 5m 4s</source>
- <translation type="unfinished"/>
+ <translation>Thời gian ước tính 5m 4s</translation>
</message>
<message>
<location filename="../../src/yuzu/loading_screen.cpp" line="83"/>
@@ -6368,17 +5506,17 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/loading_screen.cpp" line="84"/>
<source>Loading Shaders %1 / %2</source>
- <translation>Đang nạp shader %1 / %2</translation>
+ <translation>Đang tải shader %1 / %2</translation>
</message>
<message>
<location filename="../../src/yuzu/loading_screen.cpp" line="85"/>
<source>Launching...</source>
- <translation>Đang mở...</translation>
+ <translation>Đang khởi động...</translation>
</message>
<message>
<location filename="../../src/yuzu/loading_screen.cpp" line="170"/>
<source>Estimated Time %1</source>
- <translation>Ước tính thời gian %1</translation>
+ <translation>Thời gian ước tính %1</translation>
</message>
</context>
<context>
@@ -6386,83 +5524,83 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="14"/>
<source>Public Room Browser</source>
- <translation type="unfinished"/>
+ <translation>Duyệt phòng công khai</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="32"/>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="39"/>
<source>Nickname</source>
- <translation type="unfinished"/>
+ <translation>Biệt danh</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="59"/>
<source>Filters</source>
- <translation type="unfinished"/>
+ <translation>Lọc</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="66"/>
<source>Search</source>
- <translation>Tìm</translation>
+ <translation>Tìm kiếm</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="76"/>
<source>Games I Own</source>
- <translation type="unfinished"/>
+ <translation>Game tôi sở hữu</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="83"/>
<source>Hide Empty Rooms</source>
- <translation type="unfinished"/>
+ <translation>Ẩn phòng trống</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="90"/>
<source>Hide Full Rooms</source>
- <translation type="unfinished"/>
+ <translation>Ẩn phòng đầy</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="110"/>
<source>Refresh Lobby</source>
- <translation type="unfinished"/>
+ <translation>Làm mới sảnh</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
- <translation type="unfinished"/>
+ <translation>Yêu cầu mật khẩu để tham gia</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
- <translation type="unfinished"/>
+ <translation>Mật khẩu:</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Người chơi</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
- <translation type="unfinished"/>
+ <translation>Tên phòng</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
- <translation type="unfinished"/>
+ <translation>Game ưa thích</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
- <translation type="unfinished"/>
+ <translation>Chủ phòng</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
- <translation type="unfinished"/>
+ <translation>Đang làm mới</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
- <translation type="unfinished"/>
+ <translation>Làm mới danh sách</translation>
</message>
</context>
<context>
@@ -6475,12 +5613,12 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/main.ui" line="44"/>
<source>&amp;File</source>
- <translation>&amp;Tệp</translation>
+ <translation>&amp;Tập tin</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="48"/>
<source>&amp;Recent Files</source>
- <translation type="unfinished"/>
+ <translation>&amp;Tập tin gần đây</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="66"/>
@@ -6495,227 +5633,237 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/main.ui" line="81"/>
<source>&amp;Reset Window Size</source>
- <translation type="unfinished"/>
+ <translation>&amp;Đặt lại kích thước cửa sổ</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="86"/>
<source>&amp;Debugging</source>
- <translation type="unfinished"/>
+ <translation>&amp;Gỡ lỗi</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="91"/>
<source>Reset Window Size to &amp;720p</source>
- <translation type="unfinished"/>
+ <translation>Đặt lại kích thước cửa sổ về &amp;720p</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="94"/>
<source>Reset Window Size to 720p</source>
- <translation type="unfinished"/>
+ <translation>Đặt lại kích thước cửa sổ về 720p</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="99"/>
<source>Reset Window Size to &amp;900p</source>
- <translation type="unfinished"/>
+ <translation>Đặt lại kích thước cửa sổ về &amp;900p</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="102"/>
<source>Reset Window Size to 900p</source>
- <translation type="unfinished"/>
+ <translation>Đặt lại kích thước cửa sổ về 900p</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="107"/>
<source>Reset Window Size to &amp;1080p</source>
- <translation type="unfinished"/>
+ <translation>Đặt lại kích thước cửa sổ về &amp;1080p</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="110"/>
<source>Reset Window Size to 1080p</source>
- <translation type="unfinished"/>
+ <translation>Đặt lại kích thước cửa sổ về 1080p</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="127"/>
<source>&amp;Multiplayer</source>
- <translation type="unfinished"/>
+ <translation>&amp;Nhiều người chơi</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="138"/>
<source>&amp;Tools</source>
- <translation type="unfinished"/>
+ <translation>&amp;Công cụ</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="142"/>
<source>&amp;TAS</source>
- <translation type="unfinished"/>
+ <translation>&amp;TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Trợ giúp</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
- <translation type="unfinished"/>
+ <translation>&amp;Cài đặt tập tin vào NAND...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
- <translation type="unfinished"/>
+ <translation>N&amp;ạp tập tin...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
- <translation type="unfinished"/>
+ <translation>Nạp &amp;thư mục...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
- <translation>Th&amp;oát</translation>
+ <translation>T&amp;hoát</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>&amp;Tạm dừng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>&amp;Dừng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
- <translation type="unfinished"/>
+ <translation>&amp;Khởi tạo lại keys...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
- <source>&amp;About yuzu</source>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="227"/>
+ <source>&amp;About yuzu</source>
+ <translation>&amp;Thông tin về yuzu</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
- <translation type="unfinished"/>
+ <translation>Chế độ &amp;cửa sổ đơn</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
- <translation type="unfinished"/>
+ <translation>Cấu &amp;hình...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
- <translation type="unfinished"/>
+ <translation>Hiển thị tiêu đề công cụ D&amp;ock</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
- <translation type="unfinished"/>
+ <translation>Hiện thanh &amp;lọc</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
- <translation type="unfinished"/>
+ <translation>Hiện thanh &amp;trạng thái</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
- <translation>Hiển thị thanh trạng thái</translation>
+ <translation>Hiện thanh trạng thái</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
- <translation type="unfinished"/>
+ <translation>&amp;Duyệt phòng game công khai</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
- <translation type="unfinished"/>
+ <translation>&amp;Tạo phòng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
- <translation type="unfinished"/>
+ <translation>&amp;Rời phòng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
- <translation type="unfinished"/>
+ <translation>&amp;Kết nối trực tiếp tới phòng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
- <translation type="unfinished"/>
+ <translation>&amp;Hiện phòng hiện tại</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
- <translation type="unfinished"/>
+ <translation>T&amp;oàn màn hình</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
- <translation type="unfinished"/>
+ <translation>&amp;Khởi động lại</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
- <translation type="unfinished"/>
+ <translation>Nạp/Loại bỏ &amp;Amiibo...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
- <translation type="unfinished"/>
+ <translation>&amp;Báo cáo độ tương thích</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
- <translation type="unfinished"/>
+ <translation>Mở trang &amp;mods</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
- <translation type="unfinished"/>
+ <translation>Mở &amp;Hướng dẫn nhanh</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
- <translation type="unfinished"/>
+ <translation>&amp;FAQ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
- <translation type="unfinished"/>
+ <translation>Mở thư mục &amp;yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
+ <translation>&amp;Chụp ảnh màn hình</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
- <translation type="unfinished"/>
+ <translation>&amp;Cấu hình TAS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
- <translation type="unfinished"/>
+ <translation>Cấu hình game h&amp;iện tại...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>&amp;Bắt đầu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
- <translation type="unfinished"/>
+ <translation>&amp;Đặt lại</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
- <translation type="unfinished"/>
+ <translation>G&amp;hi lại</translation>
</message>
</context>
<context>
@@ -6723,7 +5871,7 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/debugger/profiler.cpp" line="50"/>
<source>&amp;MicroProfile</source>
- <translation type="unfinished"/>
+ <translation>&amp;MicroProfile</translation>
</message>
</context>
<context>
@@ -6731,48 +5879,48 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="6"/>
<source>Moderation</source>
- <translation type="unfinished"/>
+ <translation>Quản lý</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="20"/>
<source>Ban List</source>
- <translation type="unfinished"/>
+ <translation>Danh sác ban</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="41"/>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="73"/>
<source>Refreshing</source>
- <translation type="unfinished"/>
+ <translation>Đang làm mới</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="51"/>
<source>Unban</source>
- <translation type="unfinished"/>
+ <translation>Unban</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="40"/>
<source>Subject</source>
- <translation type="unfinished"/>
+ <translation>Đối tượng</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="41"/>
<source>Type</source>
- <translation type="unfinished"/>
+ <translation>Loại</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="83"/>
<source>Forum Username</source>
- <translation type="unfinished"/>
+ <translation>Tên người dùng trên diễn đàn</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="88"/>
<source>IP Address</source>
- <translation type="unfinished"/>
+ <translation>Địa chỉ IP</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="95"/>
<source>Refresh</source>
- <translation type="unfinished"/>
+ <translation>Làm mới</translation>
</message>
</context>
<context>
@@ -6780,17 +5928,17 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="90"/>
<source>Current connection status</source>
- <translation type="unfinished"/>
+ <translation>Tình trạng kết nối hiện tại</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="117"/>
<source>Not Connected. Click here to find a room!</source>
- <translation type="unfinished"/>
+ <translation>Không kết nối. Nhấp vào đây để tìm một phòng!</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="123"/>
<source>Not Connected</source>
- <translation type="unfinished"/>
+ <translation>Không kết nối</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="129"/>
@@ -6800,18 +5948,19 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="136"/>
<source>New Messages Received</source>
- <translation type="unfinished"/>
+ <translation>Đã nhận được tin nhắn mới</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="207"/>
<source>Error</source>
- <translation type="unfinished"/>
+ <translation>Lỗi</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="208"/>
<source>Failed to update the room information. Please check your Internet connection and try hosting the room again.
Debug Message: </source>
- <translation type="unfinished"/>
+ <translation>Không thể cập nhật thông tin phòng. Vui lòng kiểm tra kết nối Internet của bạn và thử tạo phòng lại.
+Tin nhắn gỡ lỗi: </translation>
</message>
</context>
<context>
@@ -6819,135 +5968,138 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="11"/>
<source>Username is not valid. Must be 4 to 20 alphanumeric characters.</source>
- <translation type="unfinished"/>
+ <translation>Tên người dùng không hợp lệ. Phải có từ 4 đến 20 ký tự chữ số hoặc chữ cái.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="13"/>
<source>Room name is not valid. Must be 4 to 20 alphanumeric characters.</source>
- <translation type="unfinished"/>
+ <translation>Tên phòng không hợp lệ. Phải có từ 4 đến 20 ký tự chữ số hoặc chữ cái.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="15"/>
<source>Username is already in use or not valid. Please choose another.</source>
- <translation type="unfinished"/>
+ <translation>Tên người dùng đã được sử dụng hoặc không hợp lệ. Vui lòng chọn tên khác.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="17"/>
<source>IP is not a valid IPv4 address.</source>
- <translation type="unfinished"/>
+ <translation>Địa chỉ IP không phải là địa chỉ IPv4 hợp lệ.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="19"/>
<source>Port must be a number between 0 to 65535.</source>
- <translation type="unfinished"/>
+ <translation>Cổng phải là một số từ 0 đến 65535.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="20"/>
<source>You must choose a Preferred Game to host a room. If you do not have any games in your game list yet, add a game folder by clicking on the plus icon in the game list.</source>
- <translation type="unfinished"/>
+ <translation>Bạn phải chọn một Game ưu thích để tạo một phòng. Nếu bạn chưa có bất kỳ game nào trong danh sách game của bạn, hãy thêm một thư mục game bằng cách nhấp vào biểu tượng dấu cộng trong danh sách game.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="24"/>
<source>Unable to find an internet connection. Check your internet settings.</source>
- <translation type="unfinished"/>
+ <translation>Không thể tìm thấy kết nối internet. Kiểm tra cài đặt internet của bạn.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="26"/>
<source>Unable to connect to the host. Verify that the connection settings are correct. If you still cannot connect, contact the room host and verify that the host is properly configured with the external port forwarded.</source>
- <translation type="unfinished"/>
+ <translation>Không thể kết nối tới máy chủ. Hãy kiểm tra xem các thiết lập kết nối có đúng không. Nếu vẫn không thể kết nối, hãy liên hệ với người chủ phòng và xác minh rằng máy chủ đã được cấu hình đúng cách với cổng ngoài được chuyển tiếp.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="30"/>
<source>Unable to connect to the room because it is already full.</source>
- <translation type="unfinished"/>
+ <translation>Không thể kết nối tới phòng vì nó đã đầy.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="32"/>
<source>Creating a room failed. Please retry. Restarting yuzu might be necessary.</source>
- <translation type="unfinished"/>
+ <translation>Tạo phòng thất bại. Vui lòng thử lại. Có thể cần khởi động lại yuzu.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="34"/>
<source>The host of the room has banned you. Speak with the host to unban you or try a different room.</source>
- <translation type="unfinished"/>
+ <translation>Chủ phòng đã ban bạn. Hãy nói chuyện với người chủ phòng để được unban, hoặc thử vào một phòng khác.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="37"/>
<source>Version mismatch! Please update to the latest version of yuzu. If the problem persists, contact the room host and ask them to update the server.</source>
- <translation type="unfinished"/>
+ <translation>Phiên bản không khớp! Vui lòng cập nhật lên phiên bản mới nhất của yuzu. Nếu vấn đề vẫn tiếp tục, hãy liên hệ với người quản lý phòng và yêu cầu họ cập nhật máy chủ.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="39"/>
<source>Incorrect password.</source>
- <translation type="unfinished"/>
+ <translation>Mật khẩu sai.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="40"/>
<source>An unknown error occurred. If this error continues to occur, please open an issue</source>
- <translation type="unfinished"/>
+ <translation>Đã xảy ra lỗi không xác định. Nếu lỗi này tiếp tục xảy ra, vui lòng mở một issue</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="43"/>
<source>Connection to room lost. Try to reconnect.</source>
- <translation type="unfinished"/>
+ <translation>Mất kết nối với phòng. Hãy thử kết nối lại.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="45"/>
<source>You have been kicked by the room host.</source>
- <translation type="unfinished"/>
+ <translation>Bạn đã bị kick bởi chủ phòng.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="47"/>
<source>IP address is already in use. Please choose another.</source>
- <translation type="unfinished"/>
+ <translation>Địa chỉ IP đã được sử dụng. Vui lòng chọn một địa chỉ khác.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="49"/>
<source>You do not have enough permission to perform this action.</source>
- <translation type="unfinished"/>
+ <translation>Bạn không có đủ quyền để thực hiên hành động này.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="50"/>
<source>The user you are trying to kick/ban could not be found.
They may have left the room.</source>
- <translation type="unfinished"/>
+ <translation>Không thể tìm thấy người dùng bạn đang cố gắng kick/ban.
+Họ có thể đã rời phòng.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="52"/>
<source>No valid network interface is selected.
Please go to Configure -&gt; System -&gt; Network and make a selection.</source>
- <translation type="unfinished"/>
+ <translation>Không có giao diện mạng hợp lệ được chọn.
+Vui lòng vào Cấu hình -&gt; Hệ thống -&gt; Mạng và thực hiện lựa chọn.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="68"/>
<source>Game already running</source>
- <translation type="unfinished"/>
+ <translation>Game đang chạy</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="69"/>
<source>Joining a room when the game is already running is discouraged and can cause the room feature not to work correctly.
Proceed anyway?</source>
- <translation type="unfinished"/>
+ <translation>Khuyến khích không tham gia phòng khi game đang chạy, điều này có thể làm cho tính năng phòng không hoạt động đúng cách.
+Tiếp tục?</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="75"/>
<source>Leave Room</source>
- <translation>Rời khỏi phòng</translation>
+ <translation>Rời phòng</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="76"/>
<source>You are about to close the room. Any network connections will be closed.</source>
- <translation type="unfinished"/>
+ <translation>Bạn sắp đóng phòng. Mọi kết nối mạng sẽ bị đóng.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="81"/>
<source>Disconnect</source>
- <translation type="unfinished"/>
+ <translation>Ngắt kết nối</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="82"/>
<source>You are about to leave the room. Any network connections will be closed.</source>
- <translation type="unfinished"/>
+ <translation>Bạn sắp rời khỏi phòng. Mọi kết nối mạng sẽ bị đóng.</translation>
</message>
</context>
<context>
@@ -6955,7 +6107,7 @@ Proceed anyway?</source>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="63"/>
<source>Error</source>
- <translation type="unfinished"/>
+ <translation>Lỗi</translation>
</message>
</context>
<context>
@@ -6963,7 +6115,7 @@ Proceed anyway?</source>
<message>
<location filename="../../src/yuzu/util/overlay_dialog.ui" line="14"/>
<source>Dialog</source>
- <translation type="unfinished"/>
+ <translation>Hộp thoại</translation>
</message>
<message>
<location filename="../../src/yuzu/util/overlay_dialog.ui" line="134"/>
@@ -6984,7 +6136,11 @@ Proceed anyway?</source>
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:18pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"/>
+ <translation>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:18pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
</context>
<context>
@@ -6992,7 +6148,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/configuration/configure_input_player_widget.cpp" line="1630"/>
<source>START/PAUSE</source>
- <translation type="unfinished"/>
+ <translation>BẮT ĐẦU/TẠM DỪNG</translation>
</message>
</context>
<context>
@@ -7000,42 +6156,42 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/multiplayer/lobby_p.h" line="236"/>
<source>%1 is not playing a game</source>
- <translation type="unfinished"/>
+ <translation>%1 hiện không chơi game</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby_p.h" line="238"/>
<source>%1 is playing %2</source>
- <translation type="unfinished"/>
+ <translation>%1 đang chơi %2</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="142"/>
<source>Not playing a game</source>
- <translation type="unfinished"/>
+ <translation>Hiện không chơi game</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="244"/>
<source>Installed SD Titles</source>
- <translation type="unfinished"/>
+ <translation>Các title đã cài đặt trên thẻ SD</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="252"/>
<source>Installed NAND Titles</source>
- <translation type="unfinished"/>
+ <translation>Các title đã cài đặt trên NAND</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="260"/>
<source>System Titles</source>
- <translation type="unfinished"/>
+ <translation>Titles hệ thống</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="303"/>
<source>Add New Game Directory</source>
- <translation type="unfinished"/>
+ <translation>Thêm thư mục game</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="326"/>
<source>Favorites</source>
- <translation type="unfinished"/>
+ <translation>Ưa thích</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="21"/>
@@ -7065,7 +6221,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="181"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="249"/>
<source>[not set]</source>
- <translation>[chưa đặt nút]</translation>
+ <translation>[chưa đặt]</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="47"/>
@@ -7181,96 +6337,96 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="71"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="102"/>
<source>L1</source>
- <translation type="unfinished"/>
+ <translation>L1</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="73"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="104"/>
<source>L2</source>
- <translation type="unfinished"/>
+ <translation>L2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="75"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="106"/>
<source>L3</source>
- <translation type="unfinished"/>
+ <translation>L3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="77"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="108"/>
<source>R1</source>
- <translation type="unfinished"/>
+ <translation>R1</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="79"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="110"/>
<source>R2</source>
- <translation type="unfinished"/>
+ <translation>R2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="81"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="112"/>
<source>R3</source>
- <translation type="unfinished"/>
+ <translation>R3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="83"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="114"/>
<source>Circle</source>
- <translation type="unfinished"/>
+ <translation>Tròn</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="85"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="116"/>
<source>Cross</source>
- <translation type="unfinished"/>
+ <translation>X</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="87"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="118"/>
<source>Square</source>
- <translation type="unfinished"/>
+ <translation>Vuông</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="89"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="120"/>
<source>Triangle</source>
- <translation type="unfinished"/>
+ <translation>Tam giác</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="91"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="122"/>
<source>Share</source>
- <translation type="unfinished"/>
+ <translation>Chia sẻ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="93"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="124"/>
<source>Options</source>
- <translation type="unfinished"/>
+ <translation>Tuỳ chọn</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="95"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="140"/>
<source>[undefined]</source>
- <translation type="unfinished"/>
+ <translation>[không xác định]</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="402"/>
<source>%1%2</source>
- <translation type="unfinished"/>
+ <translation>%1%2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="406"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="197"/>
<source>[invalid]</source>
- <translation type="unfinished"/>
+ <translation>[không hợp lệ]</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="416"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="440"/>
<source>%1%2Hat %3</source>
- <translation type="unfinished"/>
+ <translation>%1%2Mũ %3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="420"/>
@@ -7278,25 +6434,25 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="446"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="237"/>
<source>%1%2Axis %3</source>
- <translation type="unfinished"/>
+ <translation>%1%2Trục %3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="426"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="217"/>
<source>%1%2Axis %3,%4,%5</source>
- <translation type="unfinished"/>
+ <translation>%1%2Trục %3,%4,%5</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="430"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="221"/>
<source>%1%2Motion %3</source>
- <translation type="unfinished"/>
+ <translation>%1%2Chuyển động %3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="434"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="449"/>
<source>%1%2Button %3</source>
- <translation type="unfinished"/>
+ <translation>%1%2Nút %3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="476"/>
@@ -7327,12 +6483,12 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="80"/>
<source>Stick L</source>
- <translation type="unfinished"/>
+ <translation>Cần L</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="82"/>
<source>Stick R</source>
- <translation type="unfinished"/>
+ <translation>Cần R</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="94"/>
@@ -7353,61 +6509,61 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="100"/>
<source>Capture</source>
- <translation type="unfinished"/>
+ <translation>Chụp</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="128"/>
<source>Touch</source>
- <translation>Cảm Ứng</translation>
+ <translation>Cảm ứng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="130"/>
<source>Wheel</source>
<comment>Indicates the mouse wheel</comment>
- <translation type="unfinished"/>
+ <translation>Con lăn</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="132"/>
<source>Backward</source>
- <translation type="unfinished"/>
+ <translation>Lùi</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="134"/>
<source>Forward</source>
- <translation type="unfinished"/>
+ <translation>Tiến</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="136"/>
<source>Task</source>
- <translation type="unfinished"/>
+ <translation>Nhiệm vụ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="138"/>
<source>Extra</source>
- <translation type="unfinished"/>
+ <translation>Thêm</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="193"/>
<source>%1%2%3%4</source>
- <translation type="unfinished"/>
+ <translation>%1%2%3%4</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="207"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="231"/>
<source>%1%2%3Hat %4</source>
- <translation type="unfinished"/>
+ <translation>%1%2%3Mũ %4</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="211"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="234"/>
<source>%1%2%3Axis %4</source>
- <translation type="unfinished"/>
+ <translation>%1%2%3Trục %4</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="225"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="240"/>
<source>%1%2%3Button %4</source>
- <translation type="unfinished"/>
+ <translation>%1%2%3Nút %4</translation>
</message>
</context>
<context>
@@ -7415,22 +6571,22 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="14"/>
<source>Amiibo Settings</source>
- <translation type="unfinished"/>
+ <translation>Cài đặt Amiibo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="169"/>
<source>Amiibo Info</source>
- <translation type="unfinished"/>
+ <translation>Thông tin Amiibo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="177"/>
<source>Series</source>
- <translation type="unfinished"/>
+ <translation>Loạt</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="197"/>
<source>Type</source>
- <translation type="unfinished"/>
+ <translation>Loại</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="217"/>
@@ -7440,52 +6596,52 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="242"/>
<source>Amiibo Data</source>
- <translation type="unfinished"/>
+ <translation>Dữ liệu Amiibo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="250"/>
<source>Custom Name</source>
- <translation type="unfinished"/>
+ <translation>Tên tuỳ chỉnh</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="270"/>
<source>Owner</source>
- <translation type="unfinished"/>
+ <translation>Chủ sở hữu</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="290"/>
<source>Creation Date</source>
- <translation type="unfinished"/>
+ <translation>Ngày tạo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="307"/>
<source>dd/MM/yyyy</source>
- <translation type="unfinished"/>
+ <translation>dd/MM/yyyy</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="314"/>
<source>Modification Date</source>
- <translation type="unfinished"/>
+ <translation>Ngày thay đổi</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="331"/>
<source>dd/MM/yyyy </source>
- <translation type="unfinished"/>
+ <translation>dd/MM/yyyy </translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="349"/>
<source>Game Data</source>
- <translation type="unfinished"/>
+ <translation>Dữ liệu game</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="355"/>
<source>Game Id</source>
- <translation type="unfinished"/>
+ <translation>Id game</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="384"/>
<source>Mount Amiibo</source>
- <translation type="unfinished"/>
+ <translation>Gắn Amiibo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="390"/>
@@ -7495,32 +6651,32 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="413"/>
<source>File Path</source>
- <translation type="unfinished"/>
+ <translation>Đường dẫn tập tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
- <translation type="unfinished"/>
+ <translation>Hiện tại không có dữ liệu game</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
- <translation type="unfinished"/>
+ <translation>Dữ liệu amiibo sau sẽ được định dạng:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
- <translation type="unfinished"/>
+ <translation>Dữ liệu game sau sẽ bị xoá:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
- <translation type="unfinished"/>
+ <translation>Đặt biệt danh và chủ sỡ hữu:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
- <translation type="unfinished"/>
+ <translation>Bạn có muốn khôi phục amiibo này không?</translation>
</message>
</context>
<context>
@@ -7528,27 +6684,27 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="14"/>
<source>Controller Applet</source>
- <translation type="unfinished"/>
+ <translation>Applet tay cầm</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="129"/>
<source>Supported Controller Types:</source>
- <translation type="unfinished"/>
+ <translation>Loại tay cầm được hỗ trợ:</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="282"/>
<source>Players:</source>
- <translation type="unfinished"/>
+ <translation>Người chơi:</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="300"/>
<source>1 - 8</source>
- <translation type="unfinished"/>
+ <translation>1 - 8</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="418"/>
<source>P4</source>
- <translation type="unfinished"/>
+ <translation>P4</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="514"/>
@@ -7559,9 +6715,9 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
- <translation>Tay cầm Pro Controller</translation>
+ <translation>Pro Controller</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="519"/>
@@ -7572,7 +6728,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Joycon đôi</translation>
</message>
@@ -7585,9 +6741,9 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
- <translation>Joycon Trái</translation>
+ <translation>Joycon trái</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="529"/>
@@ -7598,9 +6754,9 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
- <translation>Joycon Phải</translation>
+ <translation>Joycon phải</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="538"/>
@@ -7612,90 +6768,90 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1881"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2078"/>
<source>Use Current Config</source>
- <translation type="unfinished"/>
+ <translation>Dùng cấu hình hiện tại</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="615"/>
<source>P2</source>
- <translation type="unfinished"/>
+ <translation>P2</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="812"/>
<source>P1</source>
- <translation type="unfinished"/>
+ <translation>P1</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
- <translation>Cầm tay</translation>
+ <translation>Handheld</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1126"/>
<source>P3</source>
- <translation type="unfinished"/>
+ <translation>P3</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1363"/>
<source>P7</source>
- <translation type="unfinished"/>
+ <translation>P7</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1560"/>
<source>P8</source>
- <translation type="unfinished"/>
+ <translation>P8</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1757"/>
<source>P5</source>
- <translation type="unfinished"/>
+ <translation>P5</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1958"/>
<source>P6</source>
- <translation type="unfinished"/>
+ <translation>P6</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2272"/>
<source>Console Mode</source>
- <translation>Console Mode</translation>
+ <translation>Chế độ console</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2293"/>
<source>Docked</source>
- <translation>Chế độ cắm TV</translation>
+ <translation>Docked</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2313"/>
<source>Vibration</source>
- <translation>Độ rung</translation>
+ <translation>Rung</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2349"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2395"/>
<source>Configure</source>
- <translation>Thiết lập</translation>
+ <translation>Cấu hình</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2359"/>
<source>Motion</source>
- <translation type="unfinished"/>
+ <translation>Chuyển động</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2405"/>
<source>Profiles</source>
- <translation>Hồ Sơ</translation>
+ <translation>Hồ sơ</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2432"/>
<source>Create</source>
- <translation type="unfinished"/>
+ <translation>Tạo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2467"/>
<source>Controllers</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2481"/>
@@ -7743,34 +6899,34 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>Tay cầm GameCube</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
- <translation type="unfinished"/>
+ <translation>Poke Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm NES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm SNES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm N64</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
- <translation type="unfinished"/>
+ <translation>Sega Genesis</translation>
</message>
</context>
<context>
@@ -7780,19 +6936,21 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_error.cpp" line="40"/>
<location filename="../../src/yuzu/applets/qt_error.cpp" line="55"/>
<source>Error Code: %1-%2 (0x%3)</source>
- <translation type="unfinished"/>
+ <translation>Mã lỗi: %1-%2 (0x%3)</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_error.cpp" line="31"/>
<source>An error has occurred.
Please try again or contact the developer of the software.</source>
- <translation type="unfinished"/>
+ <translation>Một lỗi đã xảy ra.
+Vui lòng thử lại hoặc liên hệ nhà phát triển của phần mềm.</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_error.cpp" line="44"/>
<source>An error occurred on %1 at %2.
Please try again or contact the developer of the software.</source>
- <translation type="unfinished"/>
+ <translation>Một lỗi đã xảy ra tại %1 vào %2.
+Vui lòng thử lại hoặc liên hệ nhà phát triển của phần mềm.</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_error.cpp" line="59"/>
@@ -7801,7 +6959,11 @@ Please try again or contact the developer of the software.</source>
%1
%2</source>
- <translation type="unfinished"/>
+ <translation>Một lỗi đã xảy ra.
+
+%1
+
+%2</translation>
</message>
</context>
<context>
@@ -7817,12 +6979,12 @@ Please try again or contact the developer of the software.</source>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="85"/>
<source>Users</source>
- <translation>Người Dùng</translation>
+ <translation>Người dùng</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="167"/>
<source>Profile Creator</source>
- <translation type="unfinished"/>
+ <translation>Tạo hồ sơ</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="170"/>
@@ -7833,57 +6995,57 @@ Please try again or contact the developer of the software.</source>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="173"/>
<source>Profile Icon Editor</source>
- <translation type="unfinished"/>
+ <translation>Sửa biểu tượng hồ sơ</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="176"/>
<source>Profile Nickname Editor</source>
- <translation type="unfinished"/>
+ <translation>Sửa biệt danh hồ sơ</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="198"/>
<source>Who will receive the points?</source>
- <translation type="unfinished"/>
+ <translation>Ai sẽ nhận điểm?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="201"/>
<source>Who is using Nintendo eShop?</source>
- <translation type="unfinished"/>
+ <translation>Ai đang sử dụng Nintendo eShop?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="204"/>
<source>Who is making this purchase?</source>
- <translation type="unfinished"/>
+ <translation>Ai đang thực hiện giao dịch này?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="207"/>
<source>Who is posting?</source>
- <translation type="unfinished"/>
+ <translation>Ai đang đăng bài?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="210"/>
<source>Select a user to link to a Nintendo Account.</source>
- <translation type="unfinished"/>
+ <translation>Chọn một người dùng để liên kết với tài khoản Nintendo.</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="213"/>
<source>Change settings for which user?</source>
- <translation type="unfinished"/>
+ <translation>Thay đổi cài đặt cho người dùng nào?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="216"/>
<source>Format data for which user?</source>
- <translation type="unfinished"/>
+ <translation>Định dạng dữ liệu cho người dùng nào?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="219"/>
<source>Which user will be transferred to another console?</source>
- <translation type="unfinished"/>
+ <translation>Người dùng nào sẽ được chuyển tới console khác?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="222"/>
<source>Send save data for which user?</source>
- <translation type="unfinished"/>
+ <translation>Gửi dữ liệu save cho người dùng nào?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="226"/>
@@ -7896,12 +7058,12 @@ Please try again or contact the developer of the software.</source>
<message>
<location filename="../../src/yuzu/applets/qt_software_keyboard.ui" line="14"/>
<source>Software Keyboard</source>
- <translation>Phần mềm bàn phím</translation>
+ <translation>Bàn phím mềm</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_software_keyboard.ui" line="199"/>
<source>Enter Text</source>
- <translation type="unfinished"/>
+ <translation>Nhập văn bản</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_software_keyboard.ui" line="479"/>
@@ -7910,13 +7072,17 @@ Please try again or contact the developer of the software.</source>
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:26pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"/>
+ <translation>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:26pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_software_keyboard.cpp" line="403"/>
<location filename="../../src/yuzu/applets/qt_software_keyboard.cpp" line="413"/>
<source>OK</source>
- <translation>Chấp nhận</translation>
+ <translation>OK</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_software_keyboard.cpp" line="413"/>
@@ -7929,7 +7095,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/util/sequence_dialog/sequence_dialog.cpp" line="10"/>
<source>Enter a hotkey</source>
- <translation type="unfinished"/>
+ <translation>Nhập một phím tắt</translation>
</message>
</context>
<context>
@@ -7937,7 +7103,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="120"/>
<source>Call stack</source>
- <translation>Chùm cuộc gọi</translation>
+ <translation>Ngăn xếp gọi</translation>
</message>
</context>
<context>
@@ -7945,7 +7111,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="158"/>
<source>[%1] %2</source>
- <translation type="unfinished"/>
+ <translation>[%1] %2</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="184"/>
@@ -7958,12 +7124,12 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="202"/>
<source>runnable</source>
- <translation type="unfinished"/>
+ <translation>có thể chạy</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="204"/>
<source>paused</source>
- <translation>tạm dừng</translation>
+ <translation>đã tạm dừng</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="210"/>
@@ -7983,7 +7149,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="219"/>
<source>waiting for condition variable</source>
- <translation type="unfinished"/>
+ <translation>đang chờ biến điều kiện</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="222"/>
@@ -7993,27 +7159,27 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="225"/>
<source>waiting for suspend resume</source>
- <translation type="unfinished"/>
+ <translation>đang đợi để tạm dừng và tiếp tục</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="228"/>
<source>waiting</source>
- <translation type="unfinished"/>
+ <translation>đang chờ</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="233"/>
<source>initialized</source>
- <translation type="unfinished"/>
+ <translation>đã khởi tạo</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="236"/>
<source>terminated</source>
- <translation type="unfinished"/>
+ <translation>đã chấm dứt</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="239"/>
<source>unknown</source>
- <translation type="unfinished"/>
+ <translation>không xác định</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="244"/>
@@ -8023,7 +7189,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="294"/>
<source>ideal</source>
- <translation type="unfinished"/>
+ <translation>lý tưởng</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="297"/>
@@ -8069,7 +7235,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="399"/>
<source>&amp;Wait Tree</source>
- <translation type="unfinished"/>
+ <translation>&amp;Cây Đợi</translation>
</message>
</context>
</TS> \ No newline at end of file
diff --git a/dist/languages/vi_VN.ts b/dist/languages/vi_VN.ts
index 4c5961689..fcc841ff2 100644
--- a/dist/languages/vi_VN.ts
+++ b/dist/languages/vi_VN.ts
@@ -82,7 +82,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.ui" line="14"/>
<source>Room Window</source>
- <translation type="unfinished"/>
+ <translation>Cửa sổ Phòng</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.ui" line="40"/>
@@ -180,7 +180,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/multiplayer/client_room.ui" line="14"/>
<source>Room Window</source>
- <translation type="unfinished"/>
+ <translation>Cửa sổ Phòng</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/client_room.ui" line="27"/>
@@ -366,78 +366,32 @@ This would ban both their forum username and their IP address.</source>
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>Âm thanh</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>Đầu ra hệ thống:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>Đầu ra thiết bị:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>Đầu vào thiết bị:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>Chế độ đầu ra âm thanh</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>Mono</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>Stereo</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>Surround</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>Sử dụng âm lượng trong cài đặt</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>Âm lượng tuỳ chỉnh:</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>Âm lượng:</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation>Tự động (%1)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>Tắt âm thanh khi chạy nền</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation>Mặc định (%1)</translation>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>Âm thanh</translation>
</message>
</context>
<context>
@@ -501,135 +455,25 @@ This would ban both their forum username and their IP address.</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>Chung</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>Độ chính xác</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>Tự động</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>Tuyệt đối</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>Tương đối</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>Chúng tôi khuyến khích sử dụng chế độ &quot;Tự động&quot;</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>Cài đặt tối ưu cho CPU ở chế độ tương đối</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>Những cài đặt sau giảm độ chính xác của giả lập để đổi lấy tốc độ.</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Chức năng này tăng tốc độ giả lập bằng cách giảm độ chính xác của tập lệnh phép tính gộp cộng và nhân (FMA) trên các dòng CPU không hỗ trợ nó.&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>Không dùng FMA (tăng hiệu suất cho các dòng CPU không hỗ trợ FMA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Chức năng này cải thiện tốc độ của một số chức năng dấu phẩy động tương đối bằng cách sử dụng tính năng làm tròn kém chính xác hơn.&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>Chạy FRSQRTE và FRECPE nhanh hơn</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;Tùy chọn này cải thiện tốc độ của các hàm dấu phẩy động ASIMD 32 bit bằng cách chạy với các chế độ làm tròn không chính xác.&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>Các lệnh ASIMD nhanh hơn (chỉ áp dụng cho 32 bit)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;Tùy chọn này sẽ cải thiện tốc độ bằng việc gỡ bỏ Kiểm tra NaN. Hãy nhớ là tùy chọn cũng sẽ giảm độ chính xác cho các dòng lệnh floating-point.&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>Xử lí NaN gặp lỗi</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>Cài đặt CPU chỉ có sẵn khi không chạy trò chơi.</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -669,74 +513,86 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="48"/>
<source>Enable inline page tables</source>
- <translation type="unfinished"/>
+ <translation>Bật bảng trang nội tuyến</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="55"/>
<source>
&lt;div&gt;This optimization avoids dispatcher lookups by allowing emitted basic blocks to jump directly to other basic blocks if the destination PC is static.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div&gt;Tối ưu hóa này tránh tra cứu trình điều phối bằng cách cho phép các khối cơ bản được phát ra nhảy trực tiếp đến các khối cơ bản khác nếu địa chỉ PC đích là tĩnh.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="60"/>
<source>Enable block linking</source>
- <translation type="unfinished"/>
+ <translation>Bật liên kết khối</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="67"/>
<source>
&lt;div&gt;This optimization avoids dispatcher lookups by keeping track potential return addresses of BL instructions. This approximates what happens with a return stack buffer on a real CPU.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div&gt;Tối ưu hóa này tránh tra cứu trình điều phối bằng cách theo dõi các địa chỉ trả về tiềm năng của các chỉ thị BL. Điều này xấp xỉ việc xảy ra với một bộ đệm ngăn xếp trả về trên CPU thật.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="72"/>
<source>Enable return stack buffer</source>
- <translation type="unfinished"/>
+ <translation>Bật phản hồi của bộ đệm ngăn xếp</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="79"/>
<source>
&lt;div&gt;Enable a two-tiered dispatch system. A faster dispatcher written in assembly has a small MRU cache of jump destinations is used first. If that fails, dispatch falls back to the slower C++ dispatcher.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div&gt;Bật hệ thống điều phối hai cấp. Một trình điều phối nhanh hơn được viết bằng assembly và có một bộ nhớ đệm MRU nhỏ của các địa chỉ nhảy được sử dụng trước. Nếu không thành công, việc điều phối sẽ chuyển sang trình điều phối chậm hơn viết bằng C++.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="84"/>
<source>Enable fast dispatcher</source>
- <translation type="unfinished"/>
+ <translation>Bật trình điều phối nhanh</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="91"/>
<source>
&lt;div&gt;Enables an IR optimization that reduces unnecessary accesses to the CPU context structure.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div&gt;Kích hoạt một tối ưu hóa IR giảm truy cập không cần thiết vào cấu trúc ngữ cảnh CPU.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="96"/>
<source>Enable context elimination</source>
- <translation type="unfinished"/>
+ <translation>Cho phép loại bỏ ngữ cảnh</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="103"/>
<source>
&lt;div&gt;Enables IR optimizations that involve constant propagation.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div&gt;Kích hoạt tối ưu hóa IR liên quan đến truyền tải hằng số.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="108"/>
<source>Enable constant propagation</source>
- <translation type="unfinished"/>
+ <translation>Bật lan truyền hằng số</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="115"/>
<source>
&lt;div&gt;Enables miscellaneous IR optimizations.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div&gt;Cho phép tối ưu hoá IR đa dạng.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="120"/>
@@ -749,12 +605,15 @@ This would ban both their forum username and their IP address.</source>
&lt;div style=&quot;white-space: nowrap&quot;&gt;When enabled, a misalignment is only triggered when an access crosses a page boundary.&lt;/div&gt;
&lt;div style=&quot;white-space: nowrap&quot;&gt;When disabled, a misalignment is triggered on all misaligned accesses.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Khi kích hoạt, sự không căn chỉnh chỉ xảy ra khi một truy cập vượt qua ranh giới trang.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Khi vô hiệu hóa, sự không căn chỉnh được kích hoạt cho tất cả các truy cập không căn chỉnh.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="133"/>
<source>Enable misalignment check reduction</source>
- <translation type="unfinished"/>
+ <translation>Cho phép giảm kiểm tra không đồng nhất</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="140"/>
@@ -781,12 +640,16 @@ This would ban both their forum username and their IP address.</source>
&lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it causes guest exclusive memory reads/writes to be done directly into memory and make use of Host's MMU.&lt;/div&gt;
&lt;div style=&quot;white-space: nowrap&quot;&gt;Disabling this forces all exclusive memory accesses to use Software MMU Emulation.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Tối ưu hóa này làm cho việc truy cập bộ nhớ độc quyền của chương trình khách nhanh hơn.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Kích hoạt nó sẽ làm cho việc đọc/ghi bộ nhớ độc quyền của máy khách được thực hiện trực tiếp vào bộ nhớ và sử dụng MMU của máy chủ.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Vô hiệu hóa điều này sẽ buộc tất cả các truy cập bộ nhớ độc quyền sử dụng giả lập MMU phần mềm.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="161"/>
<source>Enable Host MMU Emulation (exclusive memory instructions)</source>
- <translation type="unfinished"/>
+ <translation>Bật giả lập MMU trên máy chủ (các chỉ thị bộ nhớ độc quyền)</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="168"/>
@@ -794,12 +657,15 @@ This would ban both their forum username and their IP address.</source>
&lt;div style=&quot;white-space: nowrap&quot;&gt;This optimization speeds up exclusive memory accesses by the guest program.&lt;/div&gt;
&lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it reduces the overhead of fastmem failure of exclusive memory accesses.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Tối ưu hóa này giúp tăng tốc truy cập bộ nhớ độc quyền từ chương trình khách.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Bật nó giảm tải chi phí phụ khi xảy ra lỗi fastmem trong quá trình truy cập bộ nhớ độc quyền.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="174"/>
<source>Enable recompilation of exclusive memory instructions</source>
- <translation type="unfinished"/>
+ <translation>Bật biên dịch lại các chỉ thị bộ nhớ độc quyền</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="181"/>
@@ -807,12 +673,15 @@ This would ban both their forum username and their IP address.</source>
&lt;div style=&quot;white-space: nowrap&quot;&gt;This optimization speeds up memory accesses by allowing invalid memory accesses to succeed.&lt;/div&gt;
&lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it reduces the overhead of all memory accesses and has no impact on programs that don't access invalid memory.&lt;/div&gt;
</source>
- <translation type="unfinished"/>
+ <translation>
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Tối ưu hóa này tăng tốc truy cập bộ nhớ bằng cách cho phép các truy cập bộ nhớ không hợp lệ thành công.&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;Bật tối ưu hóa này giảm thiểu các chi phí phụ liên quan đến việc truy cập bộ nhớ và không ảnh hưởng đến các chương trình không truy cập vào bộ nhớ không hợp lệ.&lt;/div&gt;
+ </translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="187"/>
<source>Enable fallbacks for invalid memory accesses</source>
- <translation type="unfinished"/>
+ <translation>Bật dự phòng cho truy cập bộ nhớ không hợp lệ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="212"/>
@@ -823,244 +692,249 @@ This would ban both their forum username and their IP address.</source>
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
- <translation type="unfinished"/>
+ <translation>Trình gỡ lỗi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>Cho phép bật GDB sơ khai</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>Cổng:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>Sổ ghi chép</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>Bộ lọc sổ ghi chép</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>Mở vị trí sổ ghi chép</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>Bộ lọc sổ ghi chép</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>Khi tích vào, dung lượng tối đa cho file log chuyển từ 100 MB lên 1 GB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
- <translation type="unfinished"/>
+ <translation>Bật ghi nhật ký mở rộng**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>Hiện nhật ký trên trong console</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>Chuỗi đối số</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>Đồ hoạ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>Khi kích hoạt, nó thực thi shaders mà không thay đổi logic vòng lặp.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>Kích hoạt chế độ gỡ lỗi đồ hoạ</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>Tắt kiểm tra an toàn vòng lặp</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>Khi chọn, nó sẽ tắt các chức năng Macro HLE. Bật tính năng này sẽ làm cho các trò chơi chạy chậm hơn</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>Tắt Macro HLE</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
+ <source>When checked, it will dump all the macro programs of the GPU</source>
+ <translation>Khi kích hoạt, nó sẽ trích xuất tất cả chương trình macro của GPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
+ <source>Dump Maxwell Macros</source>
+ <translation>Trích xuất Maxwell Macros</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
- <source>When checked, it will dump all the macro programs of the GPU</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>Khi kích hoạt, nó cho phép ghi nhận lỗi Nsight Aftermath.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
- <source>Dump Maxwell Macros</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>Bật Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
+ <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
+ <translation>Khi chọn, yuzu sẽ ghi lại các thống kê về bộ nhớ cache pipeline đã được biên dịch</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>Không dùng Macro JIT</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
+ <source>Enable Shader Feedback</source>
+ <translation>Bật phản hồi shader</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>Khi chọn, nó sẽ tắt trình biên dịch Just In Time cho macro. Bật tính năng này sẽ làm cho các trò chơi chạy chậm hơn</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>Không dùng Macro JIT</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
- <source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>Khi được kích hoạt, API đồ hoạ sẽ chuyển sang chế độ gỡ lỗi chậm hơn.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
- <source>Enable Shader Feedback</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>Kích hoạt chế độ gỡ lỗi đồ hoạ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>Khi kích hoạt, nó sẽ trích xuất tất cả shader của trình hợp dịch từ bộ nhớ đệm shader trên ổ cứng hoặc từ game khi tìm thấy</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>Trích xuất shader game</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>Vá lỗi</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
+ <source>Advanced</source>
+ <translation>Nâng Cao</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>Cho phép yuzu kiểm tra môi trường Vulkan hoạt động khi chương trình bắt đầu. Vô hiệu hóa tính năng này nếu nó gây ra vấn đề cho các chương trình bên ngoài khi nhìn thấy yuzu.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>Thực hiện kiểm tra Vulkan khi khởi động</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>Tắt applet web</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>Kích hoạt tất cả các loại tay cầm</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
- <source>Advanced</source>
- <translation>Nâng Cao</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>Bật Auto-Stub**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
- <translation type="unfinished"/>
+ <translation>Chế độ Kiosk (Khách)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>Bật Vá Lỗi CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
- <translation type="unfinished"/>
+ <translation>Bật kiểm tra lỗi gỡ lỗi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>Vá lỗi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>Bật log truy cập FS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>Tạo Minidump sau khi xảy ra sự cố.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>Bật tính năng này để đưa ra danh sách lệnh âm thanh mới nhất đã tạo ra đến console. Chỉ ảnh hưởng đến các game sử dụng bộ mã hóa âm thanh.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation type="unfinished"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation>Trích xuất các lệnh âm thanh đến console**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>Bật dịch vụ báo cáo chi tiết**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**Sẽ tự động thiết lập lại khi tắt yuzu.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_debug.cpp" line="35"/>
<source>Restart Required</source>
- <translation type="unfinished"/>
+ <translation>Cần khởi động lại</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_debug.cpp" line="36"/>
<source>yuzu is required to restart in order to apply this setting.</source>
- <translation type="unfinished"/>
+ <translation>yuzu cần khởi động lại để áp dụng cài đặt này.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
- <translation type="unfinished"/>
+ <translation>Applet web chưa được biên dịch</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
- <translation type="unfinished"/>
+ <translation>Chức năng tạo MiniDump không được biên dịch</translation>
</message>
</context>
<context>
@@ -1108,78 +982,83 @@ This would ban both their forum username and their IP address.</source>
<translation>Thiết lập yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Một số cài đặt chỉ khả dụng khi game không chạy.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>Âm thanh</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>Gỡ lỗi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>Hệ thống tệp tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>Chung</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>Đồ hoạ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>Đồ họa Nâng cao</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>Phím tắt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>Phím</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>Hồ sơ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>Mạng</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>Hệ thống</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>Danh sách trò chơi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>Web</translation>
</message>
@@ -1243,7 +1122,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="124"/>
<source>Patch Manager</source>
- <translation type="unfinished"/>
+ <translation>Quản lý bản bá</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="152"/>
@@ -1258,12 +1137,12 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="168"/>
<source>Mod Load Root</source>
- <translation type="unfinished"/>
+ <translation>Thư mục tải mod gốc</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="175"/>
<source>Dump Root</source>
- <translation type="unfinished"/>
+ <translation>Trích xuất thư mục gốc</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.ui" line="201"/>
@@ -1296,12 +1175,12 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="99"/>
<source>Select Gamecard Path...</source>
- <translation type="unfinished"/>
+ <translation>Chọn đường dẫn tới đĩa game...</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="102"/>
<source>Select Dump Directory...</source>
- <translation type="unfinished"/>
+ <translation>Chọn thư mục trích xuất...</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="105"/>
@@ -1311,7 +1190,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="132"/>
<source>The metadata cache is already empty.</source>
- <translation type="unfinished"/>
+ <translation>Bộ nhớ đệm metadata trống.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="136"/>
@@ -1321,7 +1200,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_filesystem.cpp" line="141"/>
<source>The metadata cache couldn&apos;t be deleted. It might be in use or non-existent.</source>
- <translation type="unfinished"/>
+ <translation>Bộ nhớ đệm metadata không thể xoá. Nó có thể đang được sử dụng hoặc không tồn tại.</translation>
</message>
</context>
<context>
@@ -1338,57 +1217,17 @@ This would ban both their forum username and their IP address.</source>
<translation>Chung</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>Giới hạn phần trăm tốc độ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>Giả lập CPU đa nhân</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>Xác nhận thoát trong khi đang chạy giả lập</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>Hiển thị cửa sổ chọn người dùng khi bắt đầu trò chơi</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>Tạm dừng giả lập khi chạy nền</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>Ẩn con trỏ chuột khi không dùng</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>Đặt lại mọi tùy chỉnh</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>Quá trình này sẽ thiết lập lại toàn bộ tùy chỉnh và gỡ hết mọi cài đặt cho từng game riêng lẻ. Quá trình này không xóa đường dẫn tới thư mục game, hồ sơ, hay hồ sơ của thiết lập phím. Tiếp tục?</translation>
</message>
@@ -1411,310 +1250,45 @@ This would ban both their forum username and their IP address.</source>
<translation>Cài đặt API</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>Thiết bị đồ hoạ:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API đồ hoạ:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>Trống</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>Cài đặt đồ hoạ</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>Dùng giả lập GPU không đồng bộ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>Giả lập NVDEC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>Không Video Đầu Ra</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>Chế độ Toàn màn hình:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>Cửa sổ không viền</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>Toàn màn hình</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>Tỉ lệ khung hình:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>Mặc định (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>Dùng 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>Dùng 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>Dung 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>Kéo dãn đến cửa sổ phần mềm</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>Nearest Neighbor</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>Bilinear</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>Bicubic</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>ScaleForce</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️ Super Resolution</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>Dùng màu nền theo cài đặt</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>Chọn màu nền:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>Màu nền:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (Assembly Shaders, Chỉ Cho NVIDIA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
- <translation type="unfinished"/>
+ <translation>Tắt</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
- <translation type="unfinished"/>
+ <translation>Tắt Vsync</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
- <translation type="unfinished"/>
+ <translation>Đề xuất</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
- <translation type="unfinished"/>
+ <translation>Bật</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
- <translation type="unfinished"/>
+ <translation>Bật Vsync</translation>
</message>
</context>
<context>
@@ -1734,162 +1308,6 @@ Immediate (no synchronization) just presents whatever is available and can exhib
<source>Advanced Graphics Settings</source>
<translation>Cài đặt đồ hoạ nâng cao</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>Độ chính xác:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>Kích hoạt tính năng tạo shader không đồng bộ nhằm tránh cho trò chơi bị giật khi tạo shader. Tính năng này vẫn đang thử nghiệm.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>Tăng Tốc Thời Gian GPU (Hack)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>Bộ lọc góc nghiêng:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>Mặc định</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -1931,7 +1349,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="100"/>
<source>Controller Hotkey</source>
- <translation type="unfinished"/>
+ <translation>Phím tắt tay cầm</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="140"/>
@@ -1954,7 +1372,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="253"/>
<source>Invalid</source>
- <translation type="unfinished"/>
+ <translation>Không hợp lệ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="358"/>
@@ -1969,12 +1387,12 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="380"/>
<source>Conflicting Button Sequence</source>
- <translation type="unfinished"/>
+ <translation>Dãy nút xung đột</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="381"/>
<source>The default button sequence is already assigned to: %1</source>
- <translation type="unfinished"/>
+ <translation>Dãy nút mặc định đã được gán cho: %1</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_hotkeys.cpp" line="395"/>
@@ -2072,12 +1490,12 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="225"/>
<source>Motion</source>
- <translation type="unfinished"/>
+ <translation>Chuyển động</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="296"/>
<source>Controllers</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input.ui" line="324"/>
@@ -2162,7 +1580,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="1955"/>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2241"/>
<source>L Body</source>
- <translation type="unfinished"/>
+ <translation>Thân trái</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="219"/>
@@ -2186,7 +1604,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2086"/>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2372"/>
<source>R Body</source>
- <translation type="unfinished"/>
+ <translation>Thân phải</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="350"/>
@@ -2238,7 +1656,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2533"/>
<source>Emulated Devices</source>
- <translation type="unfinished"/>
+ <translation>Thiết bị giả lập</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2545"/>
@@ -2276,12 +1694,12 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2609"/>
<source>Ring Controller</source>
- <translation type="unfinished"/>
+ <translation>Vòng điều khiển</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2623"/>
<source>Infrared Camera</source>
- <translation type="unfinished"/>
+ <translation>Camera hồng ngoại</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2640"/>
@@ -2291,7 +1709,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2652"/>
<source>Emulate Analog with Keyboard Input</source>
- <translation type="unfinished"/>
+ <translation>Giả lập analog bằng cách sử dụng đầu vào từ bàn phím</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2659"/>
@@ -2308,32 +1726,32 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2681"/>
<source>Enable UDP controllers (not needed for motion)</source>
- <translation type="unfinished"/>
+ <translation>Bật điều khiển UDP (không cần thiết cho chuyển động)</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2694"/>
<source>Controller navigation</source>
- <translation type="unfinished"/>
+ <translation>Điều hướng bằng tay cầm</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2710"/>
<source>Enable direct JoyCon driver</source>
- <translation type="unfinished"/>
+ <translation>Bật driver JoyCon trực tiếp</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2726"/>
<source>Enable direct Pro Controller driver [EXPERIMENTAL]</source>
- <translation type="unfinished"/>
+ <translation>Bật driver Pro Controller trực tiếp [THỬ NGHIỆM]</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2733"/>
<source>Allows unlimited uses of the same Amiibo in games that would otherwise limit you to one use.</source>
- <translation type="unfinished"/>
+ <translation>Cho phép sử dụng không giới hạn cùng một Amiibo trong các game mà thông thường giới hạn bạn chỉ sử dụng một lần.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2742"/>
<source>Use random Amiibo ID</source>
- <translation type="unfinished"/>
+ <translation>Dùng ID Amiibo ngẫu nhiên</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_advanced.ui" line="2749"/>
@@ -2356,57 +1774,57 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="28"/>
<source>Input Profiles</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ đầu vào</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="49"/>
<source>Player 1 Profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ Người chơi 1</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="84"/>
<source>Player 2 Profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ Người chơi 2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="119"/>
<source>Player 3 Profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ Người chơi 3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="154"/>
<source>Player 4 Profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ Người chơi 4</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="189"/>
<source>Player 5 Profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ Người chơi 5</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="224"/>
<source>Player 6 Profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ Người chơi 6</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="259"/>
<source>Player 7 Profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ Người chơi 7</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.ui" line="294"/>
<source>Player 8 Profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ Người chơi 8</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.cpp" line="35"/>
<source>Use global input configuration</source>
- <translation type="unfinished"/>
+ <translation>Dùng cấu hình đầu vào chung</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_per_game.cpp" line="47"/>
<source>Player %1 profile</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ Người chơi %1</translation>
</message>
</context>
<context>
@@ -2508,13 +1926,13 @@ Compute pipelines are always enabled on all other drivers.</source>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2884"/>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2923"/>
<source>Modifier</source>
- <translation type="unfinished"/>
+ <translation>Ngưỡng điều chỉnh</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="702"/>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2933"/>
<source>Range</source>
- <translation type="unfinished"/>
+ <translation>Phạm vi</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="735"/>
@@ -2526,13 +1944,13 @@ Compute pipelines are always enabled on all other drivers.</source>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="778"/>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3006"/>
<source>Deadzone: 0%</source>
- <translation type="unfinished"/>
+ <translation>Vùng chết: 0%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="802"/>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3030"/>
<source>Modifier Range: 0%</source>
- <translation type="unfinished"/>
+ <translation>Phạm vi điều chỉnh: 0%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="848"/>
@@ -2563,7 +1981,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1456"/>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1495"/>
<source>Capture</source>
- <translation type="unfinished"/>
+ <translation>Chụp</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="1526"/>
@@ -2608,12 +2026,12 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2011"/>
<source>Motion 1</source>
- <translation type="unfinished"/>
+ <translation>Chuyển động 1</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2060"/>
<source>Motion 2</source>
- <translation type="unfinished"/>
+ <translation>Chuyển động 2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="2151"/>
@@ -2653,10 +2071,10 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3085"/>
<source>Mouse panning</source>
- <translation type="unfinished"/>
+ <translation>Di chuyển chuột</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>Cài đặt</translation>
</message>
@@ -2682,31 +2100,31 @@ Compute pipelines are always enabled on all other drivers.</source>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="415"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="676"/>
<source>Invert button</source>
- <translation type="unfinished"/>
+ <translation>Đảo ngược nút</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="395"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="667"/>
<source>Toggle button</source>
- <translation type="unfinished"/>
+ <translation>Đổi nút</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="401"/>
<source>Turbo button</source>
- <translation type="unfinished"/>
+ <translation>Nút Turbo</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="409"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="618"/>
<source>Invert axis</source>
- <translation type="unfinished"/>
+ <translation>Đảo ngược trục</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="421"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="425"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="478"/>
<source>Set threshold</source>
- <translation type="unfinished"/>
+ <translation>Thiết lập ngưỡng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="425"/>
@@ -2717,17 +2135,17 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="437"/>
<source>Toggle axis</source>
- <translation type="unfinished"/>
+ <translation>Chuyển đổi trục</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="474"/>
<source>Set gyro threshold</source>
- <translation type="unfinished"/>
+ <translation>Thiết lập ngưỡng cảm biến con quay</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="483"/>
<source>Calibrate sensor</source>
- <translation type="unfinished"/>
+ <translation>Hiệu chỉnh cảm biến</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="523"/>
@@ -2744,19 +2162,19 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="592"/>
<source>Center axis</source>
- <translation type="unfinished"/>
+ <translation>Canh chỉnh trục</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="700"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1065"/>
<source>Deadzone: %1%</source>
- <translation type="unfinished"/>
+ <translation>Vùng chết: %1%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="709"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1070"/>
<source>Modifier Range: %1%</source>
- <translation type="unfinished"/>
+ <translation>Phạm vi điều chỉnh: %1%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="750"/>
@@ -2792,27 +2210,27 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1124"/>
<source>Poke Ball Plus</source>
- <translation type="unfinished"/>
+ <translation>Poke Ball Plus</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1128"/>
<source>NES Controller</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm NES</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1132"/>
<source>SNES Controller</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm SNES</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1136"/>
<source>N64 Controller</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm N64</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1140"/>
<source>Sega Genesis</source>
- <translation type="unfinished"/>
+ <translation>Sega Genesis</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1344"/>
@@ -2827,7 +2245,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1348"/>
<source>Control Stick</source>
- <translation type="unfinished"/>
+ <translation>Cần điều khiển</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="1349"/>
@@ -2934,12 +2352,12 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="23"/>
<source>UDP Calibration:</source>
- <translation type="unfinished"/>
+ <translation>Hiệu chỉnh UDP:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="30"/>
<source>(100, 50) - (1800, 850)</source>
- <translation type="unfinished"/>
+ <translation>(100, 50) - (1800, 850)</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="46"/>
@@ -2951,17 +2369,17 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="57"/>
<source>Touch from button profile:</source>
- <translation type="unfinished"/>
+ <translation>Chạm từ hồ sơ nút:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="85"/>
<source>CemuhookUDP Config</source>
- <translation type="unfinished"/>
+ <translation>Thiết lập CemuhookUDP</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="91"/>
<source>You may use any Cemuhook compatible UDP input source to provide motion and touch input.</source>
- <translation type="unfinished"/>
+ <translation>Bạn có thể dùng bất cứ bản Cemuhook nào tương thích với đầu vào UDP để cung cấp đầu vào chuyển động và cảm ứng.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="134"/>
@@ -2976,7 +2394,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="188"/>
<source>Learn More</source>
- <translation type="unfinished"/>
+ <translation>Tìm hiểu thêm</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.ui" line="201"/>
@@ -3072,7 +2490,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_motion_touch.cpp" line="288"/>
<source>UDP Test or calibration configuration is in progress.&lt;br&gt;Please wait for them to finish.</source>
- <translation type="unfinished"/>
+ <translation>Cấu hình kiểm tra hoặc hiệu chuẩn UDP đang được tiến hành.&lt;br&gt;Vui lòng chờ cho đến khi nó hoàn thành.</translation>
</message>
</context>
<context>
@@ -3080,75 +2498,99 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="6"/>
<source>Configure mouse panning</source>
- <translation type="unfinished"/>
+ <translation>Thiết lập di chuyển chuột</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation type="unfinished"/>
+ <source>Enable mouse panning</source>
+ <translation>Bật di chuyển chuột</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
- <translation type="unfinished"/>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
+ <translation>Có thể chuyển đổi bằng cách sử dụng phím tắt. Phím tắt mặc định là Ctrl + F9</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
<source>Sensitivity</source>
- <translation type="unfinished"/>
+ <translation>Độ nhạy</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
- <translation type="unfinished"/>
+ <translation>Ngang</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
- <translation type="unfinished"/>
+ <translation>Dọc</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="85"/>
<source>Deadzone counterweight</source>
- <translation type="unfinished"/>
+ <translation>Đối trọng vùng chết</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="88"/>
<source>Counteracts a game&apos;s built-in deadzone</source>
- <translation type="unfinished"/>
+ <translation>Chống lại vùng chết tích hợp trong game</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation>Vùng chết</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
- <translation type="unfinished"/>
+ <translation>Sự xuống cấp của cần điều khiển</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
- <translation type="unfinished"/>
+ <translation>Sức mạnh</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
- <translation type="unfinished"/>
+ <translation>Tối thiểu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>Mặc định</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation>Di chuyển chuột hoạt động tốt hơn với vùng chết là 0% và phạm vi là 100%.
+Các giá trị hiện tại lần lượt là %1% và %2%.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation>Chuột giả lập đã được kích hoạt. Điều này không tương thích với chức năng lia chuột.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>Chuột giả lập đã được kích hoạt</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation>Đầu vào từ chuột thật và tính năng lia chuột không tương thích. Vui lòng tắt chuột giả lập trong cài đặt đầu vào nâng cao để cho phép lia chuột.</translation>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3170,7 +2612,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_network.ui" line="34"/>
<source>Network Interface</source>
- <translation type="unfinished"/>
+ <translation>Giao diện mạng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_network.cpp" line="15"/>
@@ -3181,100 +2623,95 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
- <translation type="unfinished"/>
+ <translation>Hộp thoại</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>Thông Tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>Tên</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>ID của game</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>Tên tệp</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>Định dạng</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>Phiên Bản</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>Dung Lượng</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>Nhà Phát Hành</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>Bổ Sung</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>Một số cài đặt chỉ khả dụng khi game không chạy.</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>Tổng Quan</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>Bổ Sung</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>Hệ Thống</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>Đồ Họa</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>Đồ Họa Nâng Cao</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>Âm Thanh</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
- <translation type="unfinished"/>
+ <translation>Hồ sơ đầu vào</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>Thuộc tính</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation type="unfinished"/>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3445,7 +2882,7 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="332"/>
<source>Delete this user? All of the user&apos;s save data will be deleted.</source>
- <translation type="unfinished"/>
+ <translation>Xoá người dùng này? Tất cả dữ liệu save của người dùng này sẽ bị xoá.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="344"/>
@@ -3456,7 +2893,8 @@ Nếu muốn đảo ngược hướng cần điều khiển, di chuyển cần s
<location filename="../../src/yuzu/configuration/configure_profile_manager.cpp" line="360"/>
<source>Name: %1
UUID: %2</source>
- <translation type="unfinished"/>
+ <translation>Tên: %1
+UUID: %2</translation>
</message>
</context>
<context>
@@ -3464,61 +2902,61 @@ UUID: %2</source>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="14"/>
<source>Configure Ring Controller</source>
- <translation type="unfinished"/>
+ <translation>Thiết lập vòng điều khiển</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="26"/>
<source>To use Ring-Con, configure player 1 as right Joy-Con (both physical and emulated), and player 2 as left Joy-Con (left physical and dual emulated) before starting the game.</source>
- <translation type="unfinished"/>
+ <translation>Để sử dụng Ring-Con, hãy cấu hình Người chơi 1 như là Joy-Con phải (cả vật lý và giả lập), và Người chơi 2 như là Joy-Con trái (vật lý trái và giả lập kép) trước khi bắt đầu trò chơi.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="52"/>
<source>Virtual Ring Sensor Parameters</source>
- <translation type="unfinished"/>
+ <translation>Tham số cảm biến vòng ảo</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="84"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="123"/>
<source>Pull</source>
- <translation type="unfinished"/>
+ <translation>Kéo</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="133"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="172"/>
<source>Push</source>
- <translation type="unfinished"/>
+ <translation>Đẩy</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="206"/>
<source>Deadzone: 0%</source>
- <translation type="unfinished"/>
+ <translation>Vùng chết: 0%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="233"/>
<source>Direct Joycon Driver</source>
- <translation type="unfinished"/>
+ <translation>Driver Joycon trực tiếp</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="293"/>
<source>Enable Ring Input</source>
- <translation type="unfinished"/>
+ <translation>Bật đầu vào từ vòng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="300"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="317"/>
<source>Enable</source>
- <translation type="unfinished"/>
+ <translation>Bật</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="307"/>
<source>Ring Sensor Value</source>
- <translation type="unfinished"/>
+ <translation>Giá trị cảm biến vòng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="314"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="282"/>
<source>Not connected</source>
- <translation type="unfinished"/>
+ <translation>Không kết nối</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.ui" line="344"/>
@@ -3538,23 +2976,23 @@ UUID: %2</source>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="172"/>
<source>Invert axis</source>
- <translation type="unfinished"/>
+ <translation>Đảo ngược trục</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="191"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="257"/>
<source>Deadzone: %1%</source>
- <translation type="unfinished"/>
+ <translation>Vùng chết: %1%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="279"/>
<source>Error enabling ring input</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi bật đầu vào từ vòng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="285"/>
<source>Direct Joycon driver is not enabled</source>
- <translation type="unfinished"/>
+ <translation>Driver JoyCon trực tiếp chưa được bật</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="290"/>
@@ -3564,22 +3002,22 @@ UUID: %2</source>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="302"/>
<source>The current mapped device doesn&apos;t support the ring controller</source>
- <translation type="unfinished"/>
+ <translation>Thiết bị đươc ánh xạ hiện tại không hỗ trợ vòng điều khiển</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="306"/>
<source>The current mapped device doesn&apos;t have a ring attached</source>
- <translation type="unfinished"/>
+ <translation>Thiết bị được ánh xạ hiện tại không có vòng được gắn vào</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="309"/>
<source>The current mapped device is not connected</source>
- <translation type="unfinished"/>
+ <translation>Thiết bị được ánh xạ hiện tại không được kết nối</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="313"/>
<source>Unexpected driver result %1</source>
- <translation type="unfinished"/>
+ <translation>Kết quả driver không như mong đợi %1</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="336"/>
@@ -3596,414 +3034,19 @@ UUID: %2</source>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>Hệ thống</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>Cài đặt hệ thống</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>Vùng:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>Tự động</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>Mặc định</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>CET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>Nhật Bản</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>Hoa Kỳ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>Châu Âu</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>Châu Úc</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>Trung Quốc</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>Hàn Quốc</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>Đài Loan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>Chú ý: cái này có thể ghi đè khi cài đặt quốc gia là chọn tự động</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>Tiếng Nhật (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>Tiếng Pháp (French)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>Tiếng Đức (German)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>Tiếng Ý (Italian)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>Tiếng Tây Ban Nha (Spanish)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>Tiếng Trung</translation>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation>Lõi</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>Tiếng Hàn (Korean)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>Tiếng Hà Lan (Dutch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>Tiếng Bồ Đào Nha (Portuguese)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>Tiếng Nga (Russian)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>Tiếng Đài Loan</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>Tiếng Anh UK</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>Tiếng Pháp Canada</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>Tiếng Mỹ La-tinh</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>Tiếng Trung giản thể</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>Tiếng Trung phồn thể (Traditional Chinese)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>Ngôn ngữ</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>Hạt giống RNG</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation type="unfinished"/>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>Cài đặt hệ thống chỉ khả dụng khi trò chơi không chạy.</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
- <translation type="unfinished"/>
+ <translation>Cảnh báo: &quot;%1&quot; không phải là ngôn ngữ hợp lệ cho khu vực &quot;%2&quot;</translation>
</message>
</context>
<context>
@@ -4011,22 +3054,22 @@ UUID: %2</source>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="11"/>
<source>TAS</source>
- <translation type="unfinished"/>
+ <translation>TAS</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="17"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Reads controller input from scripts in the same format as TAS-nx scripts.&lt;br/&gt;For a more detailed explanation, please consult the &lt;a href=&quot;https://yuzu-emu.org/help/feature/tas/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;help page&lt;/span&gt;&lt;/a&gt; on the yuzu website.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"/>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Reads controller input from scripts in the same format as TAS-nx scripts.&lt;br/&gt;Để biết thêm chi tiết, vui lòng tham khảo &lt;a href=&quot;https://yuzu-emu.org/help/feature/tas/&quot;&gt;&lt;span style=&quot; text-decoration: underline; color:#039be5;&quot;&gt;trang trợ giúp&lt;/span&gt;&lt;/a&gt; trên website của yuzu.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="27"/>
<source>To check which hotkeys control the playback/recording, please refer to the Hotkey settings (Configure -&gt; General -&gt; Hotkeys).</source>
- <translation type="unfinished"/>
+ <translation>Để kiểm tra các phím tắt nào điều khiển phát lại/ghi lại, vui lòng xem cài đặt Phím tắt (Cấu hình -&gt; Chung -&gt; Phím tắt).</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="37"/>
<source>WARNING: This is an experimental feature.&lt;br/&gt;It will not play back scripts frame perfectly with the current, imperfect syncing method.</source>
- <translation type="unfinished"/>
+ <translation>CẢNH BÁO: Đây là tính năng thử nghiệm.&lt;br/&gt;Nó sẽ không phát lại các kịch bản hoàn hảo theo từng khung hình với phương thức đồng bộ hóa hiện tại, không hoàn hảo.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="54"/>
@@ -4036,22 +3079,22 @@ UUID: %2</source>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="60"/>
<source>Enable TAS features</source>
- <translation type="unfinished"/>
+ <translation>Bật các tính năng TAS</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="67"/>
<source>Loop script</source>
- <translation type="unfinished"/>
+ <translation>Lặp lại tập lệnh</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="77"/>
<source>Pause execution during loads</source>
- <translation type="unfinished"/>
+ <translation>Tạm dừng thực thi trong quá trình tải</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="91"/>
<source>Script Directory</source>
- <translation type="unfinished"/>
+ <translation>Thư mục tập lệnh</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.ui" line="97"/>
@@ -4069,12 +3112,12 @@ UUID: %2</source>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.cpp" line="19"/>
<source>TAS Configuration</source>
- <translation type="unfinished"/>
+ <translation>Cấu hình TAS</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_tas.cpp" line="49"/>
<source>Select TAS Load Directory...</source>
- <translation type="unfinished"/>
+ <translation>Chọn thư mục tải TAS</translation>
</message>
</context>
<context>
@@ -4082,12 +3125,12 @@ UUID: %2</source>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="14"/>
<source>Configure Touchscreen Mappings</source>
- <translation type="unfinished"/>
+ <translation>Thiết lập ánh xạ màn hình cảm ứng</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="22"/>
<source>Mapping:</source>
- <translation type="unfinished"/>
+ <translation>Ánh xạ:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="48"/>
@@ -4108,17 +3151,18 @@ UUID: %2</source>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="92"/>
<source>Click the bottom area to add a point, then press a button to bind.
Drag points to change position, or double-click table cells to edit values.</source>
- <translation type="unfinished"/>
+ <translation>Nhấp vào khu vực dưới để thêm điểm, sau đó nhấn một nút để gắn liền.
+Kéo điểm để thay đổi vị trí, hoặc nhấp đúp chuột vào ô trong bảng để chỉnh sửa giá trị.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.ui" line="116"/>
<source>Delete Point</source>
- <translation type="unfinished"/>
+ <translation>Xoá điểm</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="78"/>
<source>Button</source>
- <translation type="unfinished"/>
+ <translation>Nút</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="78"/>
@@ -4140,27 +3184,27 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="195"/>
<source>Enter the name for the new profile.</source>
- <translation type="unfinished"/>
+ <translation>Nhập tên cho hồ sơ mới</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="206"/>
<source>Delete Profile</source>
- <translation type="unfinished"/>
+ <translation>Xoá hồ sơ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="206"/>
<source>Delete profile %1?</source>
- <translation type="unfinished"/>
+ <translation>Xoá hồ sơ %1?</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="219"/>
<source>Rename Profile</source>
- <translation type="unfinished"/>
+ <translation>Đổi tên hồ sơ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="219"/>
<source>New name:</source>
- <translation type="unfinished"/>
+ <translation>Tên mới:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="231"/>
@@ -4209,66 +3253,66 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>Trống</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
- <translation type="unfinished"/>
+ <translation>Nhỏ (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
- <translation type="unfinished"/>
+ <translation>Tiêu chuẩn (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
- <translation type="unfinished"/>
+ <translation>Lớn (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
- <translation type="unfinished"/>
+ <translation>Kích thước đầy đủ (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
- <translation type="unfinished"/>
+ <translation>Nhỏ (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
- <translation type="unfinished"/>
+ <translation>Tiêu chuẩn (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
- <translation type="unfinished"/>
+ <translation>Lớn (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>Tên tệp</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
- <translation type="unfinished"/>
+ <translation>Loại tập tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>ID của game</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
- <translation type="unfinished"/>
+ <translation>Tên title</translation>
</message>
</context>
<context>
@@ -4311,7 +3355,7 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="82"/>
<source>Show Compatibility List</source>
- <translation type="unfinished"/>
+ <translation>Hiện danh sách tương thích</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="89"/>
@@ -4321,22 +3365,22 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="96"/>
<source>Show Size Column</source>
- <translation type="unfinished"/>
+ <translation>Hiện cột Kích thước</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="103"/>
<source>Show File Types Column</source>
- <translation type="unfinished"/>
+ <translation>Hiện cột Loại tệp</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="112"/>
<source>Game Icon Size:</source>
- <translation type="unfinished"/>
+ <translation>Kích thước icon game:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="126"/>
<source>Folder Icon Size:</source>
- <translation type="unfinished"/>
+ <translation>Kích thước icon thư mục:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="140"/>
@@ -4351,17 +3395,17 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="171"/>
<source>Screenshots</source>
- <translation type="unfinished"/>
+ <translation>Ảnh chụp màn hình</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="179"/>
<source>Ask Where To Save Screenshots (Windows Only)</source>
- <translation type="unfinished"/>
+ <translation>Hỏi nơi lưu ảnh chụp màn hình (chỉ Windows)</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="188"/>
<source>Screenshots Path: </source>
- <translation type="unfinished"/>
+ <translation>Đường dẫn cho ảnh chụp màn hình:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ui.ui" line="198"/>
@@ -4369,27 +3413,43 @@ Drag points to change position, or double-click table cells to edit values.</sou
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation>NhãnVănBản</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>Độ phân giải:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
- <translation type="unfinished"/>
+ <translation>Chọn đường dẫn cho ảnh chụp màn hình...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation>Tự động (%1 x %2, %3 x %4)</translation>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
<message>
<location filename="../../src/yuzu/configuration/configure_vibration.ui" line="14"/>
<source>Configure Vibration</source>
- <translation type="unfinished"/>
+ <translation>Thiết lập rung</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_vibration.ui" line="23"/>
<source>Press any controller button to vibrate the controller.</source>
- <translation type="unfinished"/>
+ <translation>Nhấn bất kỳ nút nào trên tay cầm để làm rung tay cầm.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_vibration.ui" line="30"/>
@@ -4456,7 +3516,7 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_vibration.ui" line="509"/>
<source>Enable Accurate Vibration</source>
- <translation type="unfinished"/>
+ <translation>Bật Rung chính xác</translation>
</message>
</context>
<context>
@@ -4510,7 +3570,7 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_web.ui" line="118"/>
<source>Web Service configuration can only be changed when a public room isn&apos;t being hosted.</source>
- <translation type="unfinished"/>
+ <translation>Cấu hình dịch vụ web chỉ có thể thay đổi khi không có phòng công khai đang được tổ chức.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.ui" line="128"/>
@@ -4572,35 +3632,35 @@ Drag points to change position, or double-click table cells to edit values.</sou
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="91"/>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="170"/>
<source>Unspecified</source>
- <translation type="unfinished"/>
+ <translation>Không xác định</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="117"/>
<source>Token not verified</source>
- <translation type="unfinished"/>
+ <translation>Token chưa được xác minh</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="118"/>
<source>Token was not verified. The change to your token has not been saved.</source>
- <translation type="unfinished"/>
+ <translation>Token không được xác thực. Thay đổi token của bạn chưa được lưu.</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="141"/>
<source>Unverified, please click Verify before saving configuration</source>
<comment>Tooltip</comment>
- <translation type="unfinished"/>
+ <translation>Chưa xác minh, vui lòng nhấp vào Xác minh trước khi lưu cấu hình</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="147"/>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="149"/>
<source>Verifying...</source>
- <translation type="unfinished"/>
+ <translation>Đang xác minh...</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="164"/>
<source>Verified</source>
<comment>Tooltip</comment>
- <translation type="unfinished"/>
+ <translation>Đã xác minh</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="169"/>
@@ -4616,7 +3676,7 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/configuration/configure_web.cpp" line="172"/>
<source>Verification failed. Check that you have entered your token correctly, and that your internet connection is working.</source>
- <translation type="unfinished"/>
+ <translation>Xác thực không thành công. Hãy kiểm tra xem bạn đã nhập token đúng chưa và kết nối internet của bạn có hoạt động hay không.</translation>
</message>
</context>
<context>
@@ -4624,12 +3684,12 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/debugger/controller.cpp" line="20"/>
<source>Controller P1</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm P1</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/controller.cpp" line="58"/>
<source>&amp;Controller P1</source>
- <translation type="unfinished"/>
+ <translation>&amp;Tay cầm P1</translation>
</message>
</context>
<context>
@@ -4637,950 +3697,1021 @@ Drag points to change position, or double-click table cells to edit values.</sou
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="14"/>
<source>Direct Connect</source>
- <translation type="unfinished"/>
+ <translation>Kết nối trực tiếp</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="47"/>
<source>Server Address</source>
- <translation type="unfinished"/>
+ <translation>Địa chỉ máy chủ</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="54"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Server address of the host&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"/>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Địa chỉ máy chủ của người chủ&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="64"/>
<source>Port</source>
- <translation type="unfinished"/>
+ <translation>Cổng</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="71"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Port number the host is listening on&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"/>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Số cổng mà máy chủ đang lắng nghe&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="97"/>
<source>Nickname</source>
- <translation type="unfinished"/>
+ <translation>Biệt danh</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="111"/>
<source>Password</source>
- <translation type="unfinished"/>
+ <translation>Mật khẩu</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/direct_connect.ui" line="153"/>
<source>Connect</source>
- <translation type="unfinished"/>
+ <translation>Kết nối</translation>
</message>
</context>
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
- <translation type="unfinished"/>
+ <translation>Đang kết nối</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
- <translation type="unfinished"/>
+ <translation>Kết nối</translation>
</message>
</context>
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Dữ liệu ẩn danh được thu thập&lt;/a&gt;để hỗ trợ cải thiện yuzu. &lt;br/&gt;&lt;br/&gt;Bạn có muốn chia sẽ dữ liệu sử dụng cho chúng tôi?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>Viễn trắc</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
- <translation type="unfinished"/>
+ <translation>Phát hiện cài đặt Vulkan bị hỏng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
- <translation type="unfinished"/>
+ <translation>Khởi tạo Vulkan thất bại trong quá trình khởi động.&lt;br&gt;Nhấn &lt;br&gt;&lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;vào đây để xem hướng dẫn khắc phục vấn đề&lt;/a&gt;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
- <translation type="unfinished"/>
+ <translation>Đang chạy một game</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
- <translation type="unfinished"/>
+ <translation>Đang tải applet web...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
- <translation type="unfinished"/>
+ <translation>Tắt applet web</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
- <translation type="unfinished"/>
+ <translation>Tắt applet web có thể dẫn đến hành vi không xác định và chỉ nên được sử dụng với Super Mario 3D All-Stars. Bạn có chắc chắn muốn tắt applet web không?
+(Có thể được bật lại trong cài đặt Gỡ lỗi.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
- <translation type="unfinished"/>
+ <translation>Số lượng shader đang được dựng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
- <translation type="unfinished"/>
+ <translation>Bội số tỷ lệ độ phân giải được chọn hiện tại.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>Tốc độ giả lập hiện tại. Giá trị cao hơn hoặc thấp hơn 100% chỉ ra giả lập sẽ chạy nhanh hơn hoặc chậm hơn trên máy Switch</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>Có bao nhiêu khung hình trên mỗi giây mà trò chơi đang hiển thị. Điều này sẽ thay đổi từ trò chơi này đến trò chơi kia và khung cảnh này đến khung cảnh kia.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>Thời gian mà giả lập lấy từ khung hình Switch, sẽ không kể đến giới hạn khung hình hoặc v-sync. Đối với tốc độ tối đa mà giả lập nhận được nhiều nhất là ở độ khoảng 16.67 ms.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
- <translation type="unfinished"/>
+ <translation>Bật tiếng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
- <translation type="unfinished"/>
+ <translation>Tắt tiếng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
- <translation type="unfinished"/>
+ <translation>Đặt lại âm lượng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
- <translation type="unfinished"/>
+ <translation>&amp;Xoá tập tin gần đây</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
- <translation type="unfinished"/>
+ <translation>Chuột giả lập đã được kích hoạt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
- <translation type="unfinished"/>
+ <translation>Đầu vào chuột thật và tính năng lia chuột không tương thích. Vui lòng tắt chuột giả lập trong cài đặt đầu vào nâng cao để cho phép lia chuột.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
- <translation type="unfinished"/>
+ <translation>&amp;Tiếp tục</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;Tạm dừng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>Chú ý định dạng trò chơi đã lỗi thời</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>Bạn đang sử dụng định dạng danh mục ROM giải mã cho trò chơi này, và đó là một định dạng lỗi thời đã được thay thế bởi những thứ khác như NCA, NAX, XCI, hoặc NSP. Danh mục ROM giải mã có thể thiếu biểu tượng, metadata, và hỗ trợ cập nhật.&lt;br&gt;&lt;br&gt;Để giải thích về các định dạng khác nhau của Switch mà yuzu hỗ trợ, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;vui lòng kiểm tra trên wiki của chúng tôi&lt;/a&gt;. Thông báo này sẽ không hiển thị lại lần sau.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>Xảy ra lỗi khi đang nạp ROM!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>Định dạng ROM này không hỗ trợ.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>Đã xảy ra lỗi khi khởi tạo lõi video.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
- <translation type="unfinished"/>
+ <translation>yuzu đã gặp lỗi khi chạy lõi video. Điều này thường xảy ra do phiên bản driver GPU đã cũ, bao gồm cả driver tích hợp. Vui lòng xem nhật ký để biết thêm chi tiết. Để biết thêm thông tin về cách truy cập nhật ký, vui lòng xem trang sau: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;Cách tải lên tập tin nhật ký&lt;/a&gt;. </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
- <translation type="unfinished"/>
+ <translation>Lỗi xảy ra khi nạp ROM! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
- <translation type="unfinished"/>
+ <translation>%1&lt;br&gt;Vui lòng tuân theo &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;hướng dẫn nhanh của yuzu&lt;/a&gt; để trích xuất lại các tệp của bạn.&lt;br&gt;Bạn có thể tham khảo yuzu wiki&lt;/a&gt; hoặc yuzu Discord&lt;/a&gt;để được hỗ trợ. </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>Đã xảy ra lỗi không xác định. Vui lòng kiểm tra sổ ghi chép để biết thêm chi tiết.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
- <translation type="unfinished"/>
+ <translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
- <translation type="unfinished"/>
+ <translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
- <translation type="unfinished"/>
+ <translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
- <translation type="unfinished"/>
+ <translation>Đang đóng phần mềm...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
- <translation type="unfinished"/>
+ <translation>Dữ liệu save</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
- <translation type="unfinished"/>
+ <translation>Dữ liệu mod</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>Xảy ra lỗi khi mở %1 thư mục</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>Thư mục này không tồn tại!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi mở bộ nhớ cache shader có thể chuyển.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
- <translation type="unfinished"/>
+ <translation>Thất bại khi tạo thư mục bộ nhớ cache shader cho title này.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi loại bỏ nội dung</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi loại bỏ cập nhật</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi loại bỏ DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ nội dung game đã cài đặt?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ bản cập nhật game đã cài đặt?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ DLC game đã cài đặt?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
- <translation type="unfinished"/>
+ <translation>Xoá mục</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ thành công</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ thành công base game đã cài đặt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
- <translation type="unfinished"/>
+ <translation>Base game không được cài đặt trong NAND và không thể loại bỏ.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ thành công bản cập nhật đã cài đặt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
- <translation type="unfinished"/>
+ <translation>Không có bản cập nhật nào được cài đặt cho title này.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
- <translation type="unfinished"/>
+ <translation>Không có DLC nào được cài đặt cho title này.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ thành công %1 DLC đã cài đặt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
- <translation type="unfinished"/>
+ <translation>Xoá bộ nhớ cache shader OpenGL chuyển được?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
- <translation type="unfinished"/>
+ <translation>Xoá bộ nhớ cache shader Vulkan chuyển được?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
- <translation type="unfinished"/>
+ <translation>Xoá tất cả bộ nhớ cache shader chuyển được?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ cấu hình game tuỳ chỉnh?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
- <translation type="unfinished"/>
+ <translation>Xoá bộ nhớ cache?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
- <translation type="unfinished"/>
+ <translation>Xoá tập tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi xoá bộ nhớ cache shader chuyển được</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
- <translation type="unfinished"/>
+ <translation>Bộ nhớ cache shader cho title này không tồn tại.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
- <translation type="unfinished"/>
+ <translation>Thành công loại bỏ bộ nhớ cache shader chuyển được</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
- <translation type="unfinished"/>
+ <translation>Thất bại khi xoá bộ nhớ cache shader chuyển được.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi xoá bộ nhớ cache pipeline Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
- <translation type="unfinished"/>
+ <translation>Thất bại khi xoá bộ nhớ cache pipeline của driver.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi loại bỏ bộ nhớ cache shader chuyển được</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
- <translation type="unfinished"/>
+ <translation>Thành công loại bỏ tât cả bộ nhớ cache shader chuyển được.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
- <translation type="unfinished"/>
+ <translation>Thất bại khi loại bỏ thư mục bộ nhớ cache shader.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi loại bỏ cấu hình tuỳ chỉnh</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
- <translation type="unfinished"/>
+ <translation>Cấu hình tuỳ chỉnh cho title này không tồn tại.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ thành công cấu hình game tuỳ chỉnh.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
- <translation type="unfinished"/>
+ <translation>Thất bại khi xoá cấu hình game tuỳ chỉnh</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>Khai thác RomFS không thành công!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>Đã xảy ra lỗi khi sao chép tệp tin RomFS hoặc người dùng đã hủy bỏ hoạt động này.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
- <translation type="unfinished"/>
+ <translation>Đầy</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>Sườn</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>Chọn chế độ kết xuất RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>Vui lòng chọn RomFS mà bạn muốn kết xuất như thế nào.&lt;br&gt;Đầy đủ sẽ sao chép toàn bộ tệp tin vào một danh mục mới trong khi &lt;br&gt;bộ xương chỉ tạo kết cấu danh mục.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
- <translation type="unfinished"/>
+ <translation>Không đủ bộ nhớ trống tại %1 để trích xuất RomFS. Hãy giải phóng bộ nhớ hoặc chọn một thư mục trích xuất khác tại Giả lập &gt; Thiết lập &gt; Hệ thống &gt; Hệ thống tệp &gt; Thư mục trích xuất gốc</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>Khai thác RomFS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>Hủy bỏ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>Khai thác RomFS thành công!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>Các hoạt động đã hoàn tất thành công.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation>Không thể thực hiện kiểm tra tính toàn vẹn!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation>Chưa kiểm tra sự hợp lệ của nội dung tập tin.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation>Kiểm tra tính toàn vẹn thất bại!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation>Nội dung tập tin có thể bị hỏng.</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation>Đang kiểm tra tính toàn vẹn...</translation>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation>Kiểm tra tính toàn vẹn thành công!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
- <translation type="unfinished"/>
+ <translation>Tạo lối tắt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
- <translation type="unfinished"/>
+ <translation>Việc này sẽ tạo một lối tắt tới AppImage hiện tại. Điều này có thể không hoạt động tốt nếu bạn cập nhật. Tiếp tục?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
- <translation type="unfinished"/>
+ <translation>Không thể tạo lối tắt trên desktop. Đường dẫn &quot;%1&quot; không tồn tại.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
- <translation type="unfinished"/>
+ <translation>Không thể tạo lối tắt trong menu ứng dụng. Đường dẫn &quot;%1&quot; không tồn tại và không thể tạo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
- <translation type="unfinished"/>
+ <translation>Tạo icon</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
- <translation type="unfinished"/>
+ <translation>Không thể tạo tập tin icon. Đường dẫn &quot;%1&quot; không tồn tại và không thể tạo.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
- <translation type="unfinished"/>
+ <translation>Bắt đầu %1 với giả lập yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
- <translation type="unfinished"/>
+ <translation>Thất bại khi tạo lối tắt tại %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
- <translation type="unfinished"/>
+ <translation>Thành công tạo lối tắt tại %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi mở %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>Chọn danh mục</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>Thuộc tính</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>Thuộc tính của trò chơi không thể nạp được.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Thực thi Switch (%1);;Tất cả tệp tin (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>Nạp tệp tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>Mở danh mục ROM đã trích xuất</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>Danh mục đã chọn không hợp lệ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>Danh mục mà bạn đã chọn không có chứa tệp tin &apos;main&apos;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>Những tệp tin Switch cài được (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
- <translation type="unfinished"/>
+ <translation>Cài đặt tập tin</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
- <translation type="unfinished"><numerusform></numerusform></translation>
+ <translation><numerusform>%n tập tin còn lại</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>Đang cài đặt tệp tin &quot;%1&quot;...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
- <translation type="unfinished"/>
+ <translation>Kết quả cài đặt</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
- <translation type="unfinished"/>
+ <translation>Để tránh xung đột có thể xảy ra, chúng tôi không khuyến khích người dùng cài base games vào NAND.
+Vui lòng, chỉ sử dụng tính năng này để cài các bản cập nhật và DLC.</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
- <translation type="unfinished"><numerusform></numerusform></translation>
+ <translation><numerusform>%n đã được cài đặt mới
+</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
- <translation type="unfinished"><numerusform></numerusform></translation>
+ <translation><numerusform>%n tập tin đã được ghi đè
+</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
- <translation type="unfinished"><numerusform></numerusform></translation>
+ <translation><numerusform>%n tập tin thất bại khi cài đặt
+</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
- <translation>Hệ thống ứng dụng</translation>
+ <translation>Ứng dụng hệ thống</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>Hệ thống lưu trữ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>Cập nhật hệ thống ứng dụng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>Gói phần mềm (Loại A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>Gói phần mềm (Loại B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>Trò chơi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>Cập nhật trò chơi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>Nội dung trò chơi có thể tải xuống</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Tiêu đề Delta</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>Chọn loại NCA để cài đặt...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>Vui lòng chọn loại tiêu đề mà bạn muốn cài đặt NCA này:
(Trong hầu hết trường hợp, chọn mặc định &apos;Game&apos; là tốt nhất.)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>Cài đặt đã không thành công</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>Loại tiêu đề NCA mà bạn chọn nó không hợp lệ.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>Không tìm thấy tệp tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>Không tìm thấy &quot;%1&quot; tệp tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>OK</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
- <translation type="unfinished"/>
+ <translation>Yêu cầu phần cứng không được đáp ứng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
- <translation type="unfinished"/>
+ <translation>Hệ thống của bạn không đáp ứng yêu cầu phần cứng được đề xuất. Báo cáo tương thích đã được tắt.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>Thiếu tài khoản yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>Để gửi trường hợp thử nghiệm trò chơi tương thích, bạn phải liên kết tài khoản yuzu.&lt;br&gt;&lt;br/&gt;Để liên kết tải khoản yuzu của bạn, hãy đến Giả lập &amp;gt; Thiết lập &amp;gt; Web.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi mở URL</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
- <translation type="unfinished"/>
+ <translation>Không thể mở URL &quot;%1&quot;.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
- <translation type="unfinished"/>
+ <translation>Ghi lại TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
- <translation type="unfinished"/>
+ <translation>Ghi đè tập tin của người chơi 1?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
- <translation type="unfinished"/>
+ <translation>Đã phát hiện cấu hình không hợp lệ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm handheld không thể được sử dụng trong chế độ docked. Pro Controller sẽ được chọn.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
- <translation type="unfinished"/>
+ <translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
- <translation type="unfinished"/>
+ <translation>Amiibo hiện tại đã bị loại bỏ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
- <translation type="unfinished"/>
+ <translation>Lỗi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
- <translation type="unfinished"/>
+ <translation>Game hiện tại không tìm kiếm amiibos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Tệp tin Amiibo (%1);; Tất cả tệp tin (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>Nạp dữ liệu Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>Xảy ra lỗi khi nạp dữ liệu Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
- <translation type="unfinished"/>
+ <translation>Tập tin đã chọn không phải là amiibo hợp lệ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
- <translation type="unfinished"/>
+ <translation>Tập tin đã chọn đã được sử dụng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
+ <translation>Đã xảy ra lỗi không xác định</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation>Kiểm tra những tập tin sau thất bại:
+
+%1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation type="unfinished"/>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>Chụp ảnh màn hình</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>Hình ảnh PNG (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
- <translation type="unfinished"/>
+ <translation>Trạng thái TAS: Đang chạy %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
- <translation type="unfinished"/>
+ <translation>Trạng thái TAS: Đang ghi %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
- <translation type="unfinished"/>
+ <translation>Trạng thái TAS: Đang chờ %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
- <translation type="unfinished"/>
+ <translation>Trạng thái TAS: Không hợp lệ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
- <translation type="unfinished"/>
+ <translation>&amp;Dừng chạy</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>&amp;Bắt đầu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
- <translation type="unfinished"/>
+ <translation>Dừng G&amp;hi</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
- <translation type="unfinished"/>
+ <translation>G&amp;hi</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
- <translation type="unfinished"><numerusform></numerusform></translation>
+ <translation><numerusform>Đang dựng: %n shader(s)</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
- <translation type="unfinished"/>
+ <translation>Tỉ lệ thu phóng: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>Tốc độ: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>Tốc độ: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
- <translation type="unfinished"/>
+ <translation>Game: %1 FPS (Đã mở khoá)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>Trò chơi: %1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>Khung hình: %1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
- <translation type="unfinished"/>
+ <translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
- <translation type="unfinished"/>
+ <translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
- <translation type="unfinished"/>
+ <translation>NO AA</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
- <translation type="unfinished"/>
+ <translation>ÂM LƯỢNG: TẮT TIẾNG</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
- <translation type="unfinished"/>
+ <translation>ÂM LƯỢNG: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>Xác nhận mã khóa Rederivation</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5597,37 +4728,37 @@ và phải tạo ra một bản sao lưu lại.
Điều này sẽ xóa mã khóa tự động tạo trên tệp tin của bạn và chạy lại mô-đun mã khóa derivation.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
- <translation type="unfinished"/>
+ <translation>Thiếu fuses</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
- <translation type="unfinished"/>
+ <translation> - Thiếu BOOT0</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
- <translation type="unfinished"/>
+ <translation> - Thiếu BCPKG2-1-Normal-Main</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
- <translation type="unfinished"/>
+ <translation> - Thiếu PRODINFO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
- <translation type="unfinished"/>
+ <translation>Thiếu các thành phần chuyển hoá</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
- <translation type="unfinished"/>
+ <translation>Keys mã hoá bị thiếu. &lt;br&gt;Vui lòng tuân theo &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;hướng dẫn nhanh của yuzu&lt;/a&gt; để lấy tất cả keys, firmware và games của bạn.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5636,49 +4767,49 @@ on your system&apos;s performance.</source>
vào hiệu suất hệ thống của bạn.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>Mã khóa xuất phát</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
- <translation type="unfinished"/>
+ <translation>Giải mã bản lưu trữ của hệ thống thất bại</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
- <translation type="unfinished"/>
+ <translation>Keys mã hoá thấy bại khi giải mã firmware. &lt;br&gt;Vui lòng tuân theo &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;hướng dẫn nhanh của yuzu&lt;/a&gt;để lấy tất cả keys, firmware và games của bạn. </translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>Chọn thư mục để sao chép RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>Vui lòng chọn RomFS mà bạn muốn sao chép.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>Bạn có chắc chắn muốn đóng yuzu?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>Bạn có chắc rằng muốn dừng giả lập? Bất kì tiến trình nào chưa được lưu sẽ bị mất.</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5687,316 +4818,321 @@ Would you like to bypass this and exit anyway?</source>
Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>Trống</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
- <translation type="unfinished"/>
+ <translation>Nearest</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>Bilinear</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>Bicubic</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>ScaleForce</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>Chế độ cắm TV</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>Cầm tay</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation>Trung bình</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation>Khỏe</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
- <translation type="unfinished"/>
+ <translation>Tối đa</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
- <translation type="unfinished"/>
+ <translation>OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
- <translation type="unfinished"/>
+ <translation>Null</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
- <translation type="unfinished"/>
+ <translation>GLSL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
- <translation type="unfinished"/>
+ <translation>GLASM</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
- <translation type="unfinished"/>
+ <translation>SPIRV</translation>
</message>
</context>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>Không có sẵn OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
- <translation type="unfinished"/>
+ <translation>Các ngữ cảnh OpenGL chung không được hỗ trợ.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
- <translation type="unfinished"/>
+ <translation>yuzu không được biên dịch với hỗ trợ OpenGL.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>Đã xảy ra lỗi khi khởi tạo OpenGL!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
- <translation type="unfinished"/>
+ <translation>GPU của bạn có thể không hỗ trợ OpenGL, hoặc bạn không có driver đồ hoạ mới nhất.</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
- <translation type="unfinished"/>
+ <translation>Lỗi khi khởi tạo OpenGL 4.6!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
- <translation type="unfinished"/>
+ <translation>GPU của bạn có thể không hỗ trợ OpenGL 4.6, hoặc bạn không có driver đồ hoạ mới nhất.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
- <translation type="unfinished"/>
+ <translation>GPU của bạn có thể không hỗ trợ một hoặc nhiều tiện ích OpenGL cần thiết. Vui lòng đảm bảo bạn có driver đồ hoạ mới nhất.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Tiện ích không hỗ trợ:&lt;br&gt;%2</translation>
</message>
</context>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
- <translation type="unfinished"/>
+ <translation>Ưa thích</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
- <translation type="unfinished"/>
+ <translation>Bắt đầu game</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
- <translation type="unfinished"/>
+ <translation>Bắt đầu game mà không có cấu hình tuỳ chỉnh</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>Mở vị trí lưu dữ liệu</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>Mở vị trí chỉnh sửa dữ liệu</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
- <translation type="unfinished"/>
+ <translation>Mở thư mục chứa bộ nhớ cache pipeline</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>Gỡ Bỏ</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ bản cập nhật đã cài</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ tất cả DLC đã cài đặt</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ cấu hình tuỳ chỉnh</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
- <translation type="unfinished"/>
+ <translation>Xoá bộ nhớ cache</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ OpenGL Pipeline Cache</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ bộ nhớ cache pipeline Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ tất cả bộ nhớ cache shader</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ tất cả nội dung đã cài đặt</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>Kết xuất RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
- <translation type="unfinished"/>
+ <translation>Trích xuất RomFS tới SDMC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation>Kiểm tra tính toàn vẹn</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>Sao chép ID tiêu đề vào bộ nhớ tạm</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>Điều hướng đến mục cơ sở dữ liệu trò chơi</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
- <translation type="unfinished"/>
+ <translation>Tạo lối tắt</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
- <translation type="unfinished"/>
+ <translation>Thêm vào Desktop</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
- <translation type="unfinished"/>
+ <translation>Thêm vào menu ứng dụng</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>Thuộc tính</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
- <translation type="unfinished"/>
+ <translation>Quét các thư mục con</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
- <translation type="unfinished"/>
+ <translation>Loại bỏ thư mục game</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
- <translation type="unfinished"/>
+ <translation>▲ Di chuyển lên</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
- <translation type="unfinished"/>
+ <translation>▼ Di chuyển xuống</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
- <translation type="unfinished"/>
+ <translation>Mở vị trí thư mục</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>Bỏ trống</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>Tên</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>Tương thích</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>Tiện ích ngoài</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>Loại tệp tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>Kích cỡ</translation>
</message>
@@ -6006,12 +5142,12 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="149"/>
<source>Ingame</source>
- <translation type="unfinished"/>
+ <translation>Trong game</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="149"/>
<source>Game starts, but crashes or major glitches prevent it from being completed.</source>
- <translation type="unfinished"/>
+ <translation>Game khởi động, nhưng gặp vấn đề hoặc lỗi nghiêm trọng đến việc không thể hoàn thành trò chơi.</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="151"/>
@@ -6021,17 +5157,17 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="151"/>
<source>Game can be played without issues.</source>
- <translation type="unfinished"/>
+ <translation>Game có thể chơi mà không gặp vấn đề.</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="152"/>
<source>Playable</source>
- <translation type="unfinished"/>
+ <translation>Có thể chơi</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="152"/>
<source>Game functions with minor graphical or audio glitches and is playable from start to finish.</source>
- <translation type="unfinished"/>
+ <translation>Game hoạt động với lỗi hình ảnh hoặc âm thanh nhẹ và có thể chơi từ đầu tới cuối.</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="155"/>
@@ -6041,7 +5177,7 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="155"/>
<source>Game loads, but is unable to progress past the Start Screen.</source>
- <translation type="unfinished"/>
+ <translation>Trò chơi đã tải, nhưng không thể qua Màn hình Bắt đầu.</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="156"/>
@@ -6067,9 +5203,9 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
- <translation type="unfinished"/>
+ <translation>Nháy đúp chuột để thêm một thư mục mới vào danh sách trò chơi game</translation>
</message>
</context>
<context>
@@ -6077,15 +5213,15 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
<message numerus="yes">
<location filename="../../src/yuzu/game_list.cpp" line="86"/>
<source>%1 of %n result(s)</source>
- <translation type="unfinished"><numerusform></numerusform></translation>
+ <translation><numerusform>%1 trong %n kết quả</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>Bộ lọc:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>Nhập khuôn để lọc</translation>
</message>
@@ -6095,22 +5231,22 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="14"/>
<source>Create Room</source>
- <translation type="unfinished"/>
+ <translation>Tạo phòng</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="37"/>
<source>Room Name</source>
- <translation type="unfinished"/>
+ <translation>Tên phòng</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="51"/>
<source>Preferred Game</source>
- <translation type="unfinished"/>
+ <translation>Trò chơi ưa thích</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="61"/>
<source>Max Players</source>
- <translation type="unfinished"/>
+ <translation>Số người chơi tối đa</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="91"/>
@@ -6120,17 +5256,17 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="101"/>
<source>(Leave blank for open game)</source>
- <translation type="unfinished"/>
+ <translation>(Để trống cho game mở)</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="118"/>
<source>Password</source>
- <translation type="unfinished"/>
+ <translation>Mật khẩu</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="125"/>
<source>Port</source>
- <translation type="unfinished"/>
+ <translation>Cổng</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="139"/>
@@ -6140,48 +5276,47 @@ Bạn có muốn bỏ qua yêu cầu đó và thoát luôn không?</translation>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="153"/>
<source>Load Previous Ban List</source>
- <translation type="unfinished"/>
+ <translation>Tải danh sách ban trước đó</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="184"/>
<source>Public</source>
- <translation type="unfinished"/>
+ <translation>Công khai</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="189"/>
<source>Unlisted</source>
- <translation type="unfinished"/>
+ <translation>Không công khai</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/host_room.ui" line="197"/>
<source>Host Room</source>
- <translation type="unfinished"/>
+ <translation>Tạo phòng</translation>
</message>
</context>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
- <translation type="unfinished"/>
+ <translation>Lỗi</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
- <translation type="unfinished"/>
+ <translation>Công bố phòng công khai trong sảnh thất bại. Để tổ chức phòng công khai, bạn cần phải có một tài khoản yuzu hợp lệ tại Giả lập -&gt; Thiết lập -&gt; Web. Nếu không muốn công khai phòng trong sảnh, hãy chọn mục Không công khai.
+Tin nhắn gỡ lỗi:</translation>
</message>
</context>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
- <translation type="unfinished"/>
+ <translation>Tắt/Bật tiếng</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6202,113 +5337,115 @@ Debug Message: </source>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
- <translation type="unfinished"/>
+ <translation>Cửa sổ chính</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
- <translation type="unfinished"/>
+ <translation>Giảm âm lượng</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
- <translation type="unfinished"/>
+ <translation>Tăng âm lượng</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>Chụp ảnh màn hình</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
- <translation type="unfinished"/>
+ <translation>Thay đổi bộ lọc điều chỉnh</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
- <translation type="unfinished"/>
+ <translation>Đổi chế độ Docked</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
- <translation type="unfinished"/>
+ <translation>Thay đổi độ chính xác GPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
- <translation type="unfinished"/>
+ <translation>Tiếp tục/Tạm dừng giả lập</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
- <translation type="unfinished"/>
+ <translation>Thoát chế độ toàn màn hình</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
- <translation type="unfinished"/>
+ <translation>Thoát yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>Toàn màn hình</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>Nạp tệp tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
- <translation type="unfinished"/>
+ <translation>Tải/Loại bỏ Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
- <translation type="unfinished"/>
+ <translation>Khởi động lại giả lập</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
- <translation type="unfinished"/>
+ <translation>Dừng giả lập</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
- <translation type="unfinished"/>
+ <translation>Ghi lại TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
- <translation type="unfinished"/>
+ <translation>Đặt lại TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
- <translation type="unfinished"/>
+ <translation>Bắt đầu/Dừng TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
- <translation type="unfinished"/>
+ <translation>Hiện/Ẩn thanh lọc</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
- <translation type="unfinished"/>
+ <translation>Bật/Tắt giới hạn tốc độ khung hình</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
- <translation type="unfinished"/>
+ <translation>Bật/Tắt di chuyển chuột</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
- <translation type="unfinished"/>
+ <translation>Hiện/Ẩn thanh trạng thái</translation>
</message>
</context>
<context>
@@ -6331,7 +5468,7 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/install_dialog.cpp" line="49"/>
<source>Install Files to NAND</source>
- <translation type="unfinished"/>
+ <translation>Cài đặt tập tin vào NAND</translation>
</message>
</context>
<context>
@@ -6340,7 +5477,8 @@ Debug Message: </source>
<location filename="../../src/yuzu/util/limitable_input_dialog.cpp" line="59"/>
<source>The text can't contain any of the following characters:
%1</source>
- <translation type="unfinished"/>
+ <translation>Văn bản không được chứa bất kỳ ký tự sau đây:
+%1</translation>
</message>
</context>
<context>
@@ -6348,17 +5486,17 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/loading_screen.ui" line="84"/>
<source>Loading Shaders 387 / 1628</source>
- <translation type="unfinished"/>
+ <translation>Đang tải shaders 387 / 1628</translation>
</message>
<message>
<location filename="../../src/yuzu/loading_screen.ui" line="121"/>
<source>Loading Shaders %v out of %m</source>
- <translation type="unfinished"/>
+ <translation>Đang tải shaders %v trong số %m</translation>
</message>
<message>
<location filename="../../src/yuzu/loading_screen.ui" line="135"/>
<source>Estimated Time 5m 4s</source>
- <translation type="unfinished"/>
+ <translation>Thời gian ước tính 5m 4s</translation>
</message>
<message>
<location filename="../../src/yuzu/loading_screen.cpp" line="83"/>
@@ -6386,18 +5524,18 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="14"/>
<source>Public Room Browser</source>
- <translation type="unfinished"/>
+ <translation>Duyệt phòng công khai</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="32"/>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="39"/>
<source>Nickname</source>
- <translation type="unfinished"/>
+ <translation>Biệt danh</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="59"/>
<source>Filters</source>
- <translation type="unfinished"/>
+ <translation>Lọc</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="66"/>
@@ -6407,62 +5545,62 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="76"/>
<source>Games I Own</source>
- <translation type="unfinished"/>
+ <translation>Games tôi sở hữu</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="83"/>
<source>Hide Empty Rooms</source>
- <translation type="unfinished"/>
+ <translation>Ẩn phòng trống</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="90"/>
<source>Hide Full Rooms</source>
- <translation type="unfinished"/>
+ <translation>Ẩn phòng đầy</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby.ui" line="110"/>
<source>Refresh Lobby</source>
- <translation type="unfinished"/>
+ <translation>Làm mới sảnh</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
- <translation type="unfinished"/>
+ <translation>Yêu cầu mật khẩu để tham gia</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
- <translation type="unfinished"/>
+ <translation>Mật khẩu:</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>Người chơi</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
- <translation type="unfinished"/>
+ <translation>Tên phòng</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
- <translation type="unfinished"/>
+ <translation>Trò chơi ưa thích</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
- <translation type="unfinished"/>
+ <translation>Chủ phòng</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
- <translation type="unfinished"/>
+ <translation>Đang làm mới</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
- <translation type="unfinished"/>
+ <translation>Làm mới danh sách</translation>
</message>
</context>
<context>
@@ -6480,7 +5618,7 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/main.ui" line="48"/>
<source>&amp;Recent Files</source>
- <translation type="unfinished"/>
+ <translation>&amp;Tập tin gần đây</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="66"/>
@@ -6495,227 +5633,237 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/main.ui" line="81"/>
<source>&amp;Reset Window Size</source>
- <translation type="unfinished"/>
+ <translation>&amp;Đặt lại kích thước cửa sổ</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="86"/>
<source>&amp;Debugging</source>
- <translation type="unfinished"/>
+ <translation>&amp;Gỡ lỗi</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="91"/>
<source>Reset Window Size to &amp;720p</source>
- <translation type="unfinished"/>
+ <translation>Đặt lại kích thước cửa sổ về &amp;720p</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="94"/>
<source>Reset Window Size to 720p</source>
- <translation type="unfinished"/>
+ <translation>Đặt lại kích thước cửa sổ về 720p</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="99"/>
<source>Reset Window Size to &amp;900p</source>
- <translation type="unfinished"/>
+ <translation>Đặt lại kích thước cửa sổ về &amp;900p</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="102"/>
<source>Reset Window Size to 900p</source>
- <translation type="unfinished"/>
+ <translation>Đặt lại kích thước cửa sổ về 900p</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="107"/>
<source>Reset Window Size to &amp;1080p</source>
- <translation type="unfinished"/>
+ <translation>Đặt lại kích thước cửa sổ về &amp;1080p</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="110"/>
<source>Reset Window Size to 1080p</source>
- <translation type="unfinished"/>
+ <translation>Đặt lại kích thước cửa sổ về 1080p</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="127"/>
<source>&amp;Multiplayer</source>
- <translation type="unfinished"/>
+ <translation>&amp;Nhiều người chơi</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="138"/>
<source>&amp;Tools</source>
- <translation type="unfinished"/>
+ <translation>&amp;Công cụ</translation>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="142"/>
<source>&amp;TAS</source>
- <translation type="unfinished"/>
+ <translation>&amp;TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>&amp;Trợ giúp</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
- <translation type="unfinished"/>
+ <translation>&amp;Cài đặt tập tin vào NAND...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
- <translation type="unfinished"/>
+ <translation>N&amp;ạp tập tin...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
- <translation type="unfinished"/>
+ <translation>Nạp &amp;Thư mục</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>Th&amp;oát</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>&amp;Tạm dừng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>&amp;Dừng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
- <translation type="unfinished"/>
+ <translation>&amp;Khởi tạo lại keys...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
- <source>&amp;About yuzu</source>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
<translation type="unfinished"/>
</message>
<message>
<location filename="../../src/yuzu/main.ui" line="227"/>
+ <source>&amp;About yuzu</source>
+ <translation>&amp;Thông tin về yuzu</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
- <translation type="unfinished"/>
+ <translation>&amp;Chế độ cửa sổ đơn</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
- <translation type="unfinished"/>
+ <translation>Cấu&amp; hình</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
- <translation type="unfinished"/>
+ <translation>Hiển thị tiêu đề công cụ D&amp;ock</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
- <translation type="unfinished"/>
+ <translation>Hiện thanh &amp;lọc</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
- <translation type="unfinished"/>
+ <translation>Hiện thanh &amp;trạng thái</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>Hiển thị thanh trạng thái</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
- <translation type="unfinished"/>
+ <translation>&amp;Duyệt phòng game công khai</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
- <translation type="unfinished"/>
+ <translation>&amp;Tạo phòng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
- <translation type="unfinished"/>
+ <translation>&amp;Rời phòng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
- <translation type="unfinished"/>
+ <translation>&amp;Kết nối trực tiếp tới phòng</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
- <translation type="unfinished"/>
+ <translation>&amp;Hiện phòng hiện tại</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
- <translation type="unfinished"/>
+ <translation>T&amp;oàn màn hình</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
- <translation type="unfinished"/>
+ <translation>&amp;Khởi động lại</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
- <translation type="unfinished"/>
+ <translation>Tải/Loại bỏ &amp;Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
- <translation type="unfinished"/>
+ <translation>&amp;Báo cáo tương thích</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
- <translation type="unfinished"/>
+ <translation>Mở trang &amp;mods</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
- <translation type="unfinished"/>
+ <translation>Mở &amp;Hướng dẫn nhanh</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
- <translation type="unfinished"/>
+ <translation>&amp;FAQ</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
- <translation type="unfinished"/>
+ <translation>Mở thư mục &amp;yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
+ <translation>&amp;Chụp ảnh màn hình</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
<translation type="unfinished"/>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
- <translation type="unfinished"/>
+ <translation>&amp;Cấu hình TAS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
- <translation type="unfinished"/>
+ <translation>Cấu hình game hiện tại...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>&amp;Bắt đầu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
- <translation type="unfinished"/>
+ <translation>&amp;Đặt lại</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
- <translation type="unfinished"/>
+ <translation>G&amp;hi</translation>
</message>
</context>
<context>
@@ -6723,7 +5871,7 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/debugger/profiler.cpp" line="50"/>
<source>&amp;MicroProfile</source>
- <translation type="unfinished"/>
+ <translation>&amp;MicroProfile</translation>
</message>
</context>
<context>
@@ -6731,48 +5879,48 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="6"/>
<source>Moderation</source>
- <translation type="unfinished"/>
+ <translation>Quản lý</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="20"/>
<source>Ban List</source>
- <translation type="unfinished"/>
+ <translation>Danh sác ban</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="41"/>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="73"/>
<source>Refreshing</source>
- <translation type="unfinished"/>
+ <translation>Đang làm mới</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.ui" line="51"/>
<source>Unban</source>
- <translation type="unfinished"/>
+ <translation>Unban</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="40"/>
<source>Subject</source>
- <translation type="unfinished"/>
+ <translation>Đối tượng</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="41"/>
<source>Type</source>
- <translation type="unfinished"/>
+ <translation>Loại</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="83"/>
<source>Forum Username</source>
- <translation type="unfinished"/>
+ <translation>Tên người dùng trên diễn đàn</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="88"/>
<source>IP Address</source>
- <translation type="unfinished"/>
+ <translation>Địa chỉ IP</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/moderation_dialog.cpp" line="95"/>
<source>Refresh</source>
- <translation type="unfinished"/>
+ <translation>Làm mới</translation>
</message>
</context>
<context>
@@ -6780,17 +5928,17 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="90"/>
<source>Current connection status</source>
- <translation type="unfinished"/>
+ <translation>Tình trạng kết nối hiện tại</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="117"/>
<source>Not Connected. Click here to find a room!</source>
- <translation type="unfinished"/>
+ <translation>Không kết nối. Nhấn vào đây để tìm một phòng!</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="123"/>
<source>Not Connected</source>
- <translation type="unfinished"/>
+ <translation>Không kết nối</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="129"/>
@@ -6800,18 +5948,19 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="136"/>
<source>New Messages Received</source>
- <translation type="unfinished"/>
+ <translation>Đã nhận được tin nhắn mới</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="207"/>
<source>Error</source>
- <translation type="unfinished"/>
+ <translation>Lỗi</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/state.cpp" line="208"/>
<source>Failed to update the room information. Please check your Internet connection and try hosting the room again.
Debug Message: </source>
- <translation type="unfinished"/>
+ <translation>Không thể cập nhật thông tin phòng. Vui lòng kiểm tra kết nối Internet của bạn và thử tạo phòng lại.
+Tin nhắn gỡ lỗi: </translation>
</message>
</context>
<context>
@@ -6819,115 +5968,117 @@ Debug Message: </source>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="11"/>
<source>Username is not valid. Must be 4 to 20 alphanumeric characters.</source>
- <translation type="unfinished"/>
+ <translation>Tên người dùng không hợp lệ. Phải có từ 4 đến 20 ký tự chữ số hoặc chữ cái.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="13"/>
<source>Room name is not valid. Must be 4 to 20 alphanumeric characters.</source>
- <translation type="unfinished"/>
+ <translation>Tên phòng không hợp lệ. Phải có từ 4 đến 20 ký tự chữ số hoặc chữ cái.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="15"/>
<source>Username is already in use or not valid. Please choose another.</source>
- <translation type="unfinished"/>
+ <translation>Tên người dùng đã được sử dụng hoặc không hợp lệ. Vui lòng chọn tên khác.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="17"/>
<source>IP is not a valid IPv4 address.</source>
- <translation type="unfinished"/>
+ <translation>Địa chỉ IP không phải là địa chỉ IPv4 hợp lệ.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="19"/>
<source>Port must be a number between 0 to 65535.</source>
- <translation type="unfinished"/>
+ <translation>Cổng phải là một số từ 0 đến 65535.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="20"/>
<source>You must choose a Preferred Game to host a room. If you do not have any games in your game list yet, add a game folder by clicking on the plus icon in the game list.</source>
- <translation type="unfinished"/>
+ <translation>Bạn phải chọn một Game ưu thích để tạo một phòng. Nếu bạn chưa có bất kỳ game nào trong danh sách game của bạn, hãy thêm một thư mục game bằng cách nhấp vào biểu tượng dấu cộng trong danh sách game.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="24"/>
<source>Unable to find an internet connection. Check your internet settings.</source>
- <translation type="unfinished"/>
+ <translation>Không thể tìm thấy kết nối internet. Kiểm tra cài đặt internet của bạn.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="26"/>
<source>Unable to connect to the host. Verify that the connection settings are correct. If you still cannot connect, contact the room host and verify that the host is properly configured with the external port forwarded.</source>
- <translation type="unfinished"/>
+ <translation>Không thể kết nối tới máy chủ. Hãy kiểm tra xem các thiết lập kết nối có đúng không. Nếu vẫn không thể kết nối, hãy liên hệ với người chủ phòng và xác minh rằng máy chủ đã được cấu hình đúng cách với cổng ngoài được chuyển tiếp.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="30"/>
<source>Unable to connect to the room because it is already full.</source>
- <translation type="unfinished"/>
+ <translation>Không thể kết nối tới phòng vì nó đã đầy.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="32"/>
<source>Creating a room failed. Please retry. Restarting yuzu might be necessary.</source>
- <translation type="unfinished"/>
+ <translation>Tạo phòng thất bại. Vui lòng thử lại. Có thể cần khởi động lại yuzu.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="34"/>
<source>The host of the room has banned you. Speak with the host to unban you or try a different room.</source>
- <translation type="unfinished"/>
+ <translation>Chủ phòng đã ban bạn. Hãy nói chuyện với người chủ phòng để được unban, hoặc thử vào một phòng khác.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="37"/>
<source>Version mismatch! Please update to the latest version of yuzu. If the problem persists, contact the room host and ask them to update the server.</source>
- <translation type="unfinished"/>
+ <translation>Phiên bản không khớp! Vui lòng cập nhật lên phiên bản mới nhất của yuzu. Nếu vấn đề vẫn tiếp tục, hãy liên hệ với người quản lý phòng và yêu cầu họ cập nhật máy chủ.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="39"/>
<source>Incorrect password.</source>
- <translation type="unfinished"/>
+ <translation>Mật khẩu sai</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="40"/>
<source>An unknown error occurred. If this error continues to occur, please open an issue</source>
- <translation type="unfinished"/>
+ <translation>Đã xảy ra lỗi không xác định. Nếu lỗi này tiếp tục xảy ra, vui lòng mở một issue</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="43"/>
<source>Connection to room lost. Try to reconnect.</source>
- <translation type="unfinished"/>
+ <translation>Mất kết nối với phòng. Hãy thử kết nối lại.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="45"/>
<source>You have been kicked by the room host.</source>
- <translation type="unfinished"/>
+ <translation>Bạn đã bị kick bởi chủ phòng.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="47"/>
<source>IP address is already in use. Please choose another.</source>
- <translation type="unfinished"/>
+ <translation>Địa chỉ IP đã được sử dụng. Vui lòng chọn một địa chỉ khác.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="49"/>
<source>You do not have enough permission to perform this action.</source>
- <translation type="unfinished"/>
+ <translation>Bạn không có đủ quyền để thực hiên hành động này.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="50"/>
<source>The user you are trying to kick/ban could not be found.
They may have left the room.</source>
- <translation type="unfinished"/>
+ <translation>Không thể tìm thấy người dùng bạn đang cố gắng kick/ban.
+Họ có thể đã rời phòng.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="52"/>
<source>No valid network interface is selected.
Please go to Configure -&gt; System -&gt; Network and make a selection.</source>
- <translation type="unfinished"/>
+ <translation>Không có giao diện mạng hợp lệ được chọn. Vui lòng vào Cấu hình -&gt; Hệ thống -&gt; Mạng và thực hiện lựa chọn.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="68"/>
<source>Game already running</source>
- <translation type="unfinished"/>
+ <translation>Trò chơi đang chạy</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="69"/>
<source>Joining a room when the game is already running is discouraged and can cause the room feature not to work correctly.
Proceed anyway?</source>
- <translation type="unfinished"/>
+ <translation>Khuyến khích không tham gia phòng khi game đang chạy, điều này có thể làm cho tính năng phòng không hoạt động đúng cách.
+Tiếp tục?</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="75"/>
@@ -6937,17 +6088,17 @@ Proceed anyway?</source>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="76"/>
<source>You are about to close the room. Any network connections will be closed.</source>
- <translation type="unfinished"/>
+ <translation>Bạn sắp đóng phòng. Mọi kết nối mạng sẽ bị đóng.</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="81"/>
<source>Disconnect</source>
- <translation type="unfinished"/>
+ <translation>Ngắt kết nối</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="82"/>
<source>You are about to leave the room. Any network connections will be closed.</source>
- <translation type="unfinished"/>
+ <translation>Bạn sắp rời khỏi phòng. Mọi kết nối mạng sẽ bị đóng.</translation>
</message>
</context>
<context>
@@ -6955,7 +6106,7 @@ Proceed anyway?</source>
<message>
<location filename="../../src/yuzu/multiplayer/message.cpp" line="63"/>
<source>Error</source>
- <translation type="unfinished"/>
+ <translation>Lỗi</translation>
</message>
</context>
<context>
@@ -6963,7 +6114,7 @@ Proceed anyway?</source>
<message>
<location filename="../../src/yuzu/util/overlay_dialog.ui" line="14"/>
<source>Dialog</source>
- <translation type="unfinished"/>
+ <translation>Hộp thoại</translation>
</message>
<message>
<location filename="../../src/yuzu/util/overlay_dialog.ui" line="134"/>
@@ -6984,7 +6135,11 @@ Proceed anyway?</source>
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:18pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"/>
+ <translation>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:18pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
</context>
<context>
@@ -6992,7 +6147,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/configuration/configure_input_player_widget.cpp" line="1630"/>
<source>START/PAUSE</source>
- <translation type="unfinished"/>
+ <translation>BẮT ĐẦU/TẠM DỪNG</translation>
</message>
</context>
<context>
@@ -7000,42 +6155,42 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/multiplayer/lobby_p.h" line="236"/>
<source>%1 is not playing a game</source>
- <translation type="unfinished"/>
+ <translation>%1 hiện không chơi game</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/lobby_p.h" line="238"/>
<source>%1 is playing %2</source>
- <translation type="unfinished"/>
+ <translation>%1 đang chơi %2</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="142"/>
<source>Not playing a game</source>
- <translation type="unfinished"/>
+ <translation>Hiện không chơi game</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="244"/>
<source>Installed SD Titles</source>
- <translation type="unfinished"/>
+ <translation>Các title đã cài đặt trên thẻ SD</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="252"/>
<source>Installed NAND Titles</source>
- <translation type="unfinished"/>
+ <translation>Các title đã cài đặt trên NAND</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="260"/>
<source>System Titles</source>
- <translation type="unfinished"/>
+ <translation>Titles hệ thống</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="303"/>
<source>Add New Game Directory</source>
- <translation type="unfinished"/>
+ <translation>Thêm thư mục game</translation>
</message>
<message>
<location filename="../../src/yuzu/game_list_p.h" line="326"/>
<source>Favorites</source>
- <translation type="unfinished"/>
+ <translation>Ưa thích</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_touch_from_button.cpp" line="21"/>
@@ -7181,96 +6336,96 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="71"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="102"/>
<source>L1</source>
- <translation type="unfinished"/>
+ <translation>L1</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="73"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="104"/>
<source>L2</source>
- <translation type="unfinished"/>
+ <translation>L2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="75"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="106"/>
<source>L3</source>
- <translation type="unfinished"/>
+ <translation>L3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="77"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="108"/>
<source>R1</source>
- <translation type="unfinished"/>
+ <translation>R1</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="79"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="110"/>
<source>R2</source>
- <translation type="unfinished"/>
+ <translation>R2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="81"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="112"/>
<source>R3</source>
- <translation type="unfinished"/>
+ <translation>R3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="83"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="114"/>
<source>Circle</source>
- <translation type="unfinished"/>
+ <translation>Tròn</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="85"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="116"/>
<source>Cross</source>
- <translation type="unfinished"/>
+ <translation>X</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="87"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="118"/>
<source>Square</source>
- <translation type="unfinished"/>
+ <translation>Hình vuông</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="89"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="120"/>
<source>Triangle</source>
- <translation type="unfinished"/>
+ <translation>Hình tam giác</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="91"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="122"/>
<source>Share</source>
- <translation type="unfinished"/>
+ <translation>Chia sẻ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="93"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="124"/>
<source>Options</source>
- <translation type="unfinished"/>
+ <translation>Tuỳ chọn</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="95"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="140"/>
<source>[undefined]</source>
- <translation type="unfinished"/>
+ <translation>[không xác định]</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="402"/>
<source>%1%2</source>
- <translation type="unfinished"/>
+ <translation>%1%2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="406"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="197"/>
<source>[invalid]</source>
- <translation type="unfinished"/>
+ <translation>[không hợp lệ]</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="416"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="440"/>
<source>%1%2Hat %3</source>
- <translation type="unfinished"/>
+ <translation>%1%2Mũ %3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="420"/>
@@ -7278,25 +6433,25 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="446"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="237"/>
<source>%1%2Axis %3</source>
- <translation type="unfinished"/>
+ <translation>%1%2Trục %3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="426"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="217"/>
<source>%1%2Axis %3,%4,%5</source>
- <translation type="unfinished"/>
+ <translation>%1%2Trục %3,%4,%5</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="430"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="221"/>
<source>%1%2Motion %3</source>
- <translation type="unfinished"/>
+ <translation>%1%2Chuyển động %3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="434"/>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="449"/>
<source>%1%2Button %3</source>
- <translation type="unfinished"/>
+ <translation>%1%2Nút %3</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_ringcon.cpp" line="476"/>
@@ -7327,12 +6482,12 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="80"/>
<source>Stick L</source>
- <translation type="unfinished"/>
+ <translation>Cần L</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="82"/>
<source>Stick R</source>
- <translation type="unfinished"/>
+ <translation>Cần R</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="94"/>
@@ -7353,7 +6508,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="100"/>
<source>Capture</source>
- <translation type="unfinished"/>
+ <translation>Chụp</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="128"/>
@@ -7364,50 +6519,50 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="130"/>
<source>Wheel</source>
<comment>Indicates the mouse wheel</comment>
- <translation type="unfinished"/>
+ <translation>Con lăn</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="132"/>
<source>Backward</source>
- <translation type="unfinished"/>
+ <translation>Lùi</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="134"/>
<source>Forward</source>
- <translation type="unfinished"/>
+ <translation>Tiến</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="136"/>
<source>Task</source>
- <translation type="unfinished"/>
+ <translation>Nhiệm vụ</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="138"/>
<source>Extra</source>
- <translation type="unfinished"/>
+ <translation>Thêm</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="193"/>
<source>%1%2%3%4</source>
- <translation type="unfinished"/>
+ <translation>%1%2%3%4</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="207"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="231"/>
<source>%1%2%3Hat %4</source>
- <translation type="unfinished"/>
+ <translation>%1%2%3Mũ %4</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="211"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="234"/>
<source>%1%2%3Axis %4</source>
- <translation type="unfinished"/>
+ <translation>%1%2%3Trục %4</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="225"/>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="240"/>
<source>%1%2%3Button %4</source>
- <translation type="unfinished"/>
+ <translation>%1%2%3Nút %4</translation>
</message>
</context>
<context>
@@ -7415,22 +6570,22 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="14"/>
<source>Amiibo Settings</source>
- <translation type="unfinished"/>
+ <translation>Cài đặt Amiibo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="169"/>
<source>Amiibo Info</source>
- <translation type="unfinished"/>
+ <translation>Thông tin Amiibo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="177"/>
<source>Series</source>
- <translation type="unfinished"/>
+ <translation>Loạt</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="197"/>
<source>Type</source>
- <translation type="unfinished"/>
+ <translation>Loại</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="217"/>
@@ -7440,52 +6595,52 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="242"/>
<source>Amiibo Data</source>
- <translation type="unfinished"/>
+ <translation>Dữ liệu Amiibo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="250"/>
<source>Custom Name</source>
- <translation type="unfinished"/>
+ <translation>Tên tuỳ chỉnh</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="270"/>
<source>Owner</source>
- <translation type="unfinished"/>
+ <translation>Chủ sở hữu</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="290"/>
<source>Creation Date</source>
- <translation type="unfinished"/>
+ <translation>Ngày tạo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="307"/>
<source>dd/MM/yyyy</source>
- <translation type="unfinished"/>
+ <translation>dd/MM/yyyy</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="314"/>
<source>Modification Date</source>
- <translation type="unfinished"/>
+ <translation>Ngày thay đổi</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="331"/>
<source>dd/MM/yyyy </source>
- <translation type="unfinished"/>
+ <translation>dd/MM/yyyy </translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="349"/>
<source>Game Data</source>
- <translation type="unfinished"/>
+ <translation>Dữ liệu game</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="355"/>
<source>Game Id</source>
- <translation type="unfinished"/>
+ <translation>Id game</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="384"/>
<source>Mount Amiibo</source>
- <translation type="unfinished"/>
+ <translation>Gắn Amiibo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="390"/>
@@ -7495,32 +6650,32 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_amiibo_settings.ui" line="413"/>
<source>File Path</source>
- <translation type="unfinished"/>
+ <translation>Đường dẫn tập tin</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
- <translation type="unfinished"/>
+ <translation>Hiện tại không có dữ liệu game</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
- <translation type="unfinished"/>
+ <translation>Dữ liệu amiibo sau sẽ được định dạng:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
- <translation type="unfinished"/>
+ <translation>Dữ liệu game sau sẽ bị xoá:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
- <translation type="unfinished"/>
+ <translation>Đặt biệt danh và chủ sỡ hữu:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
- <translation type="unfinished"/>
+ <translation>Bạn có muốn khôi phục amiibo này không?</translation>
</message>
</context>
<context>
@@ -7528,27 +6683,27 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="14"/>
<source>Controller Applet</source>
- <translation type="unfinished"/>
+ <translation>Applet tay cầm</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="129"/>
<source>Supported Controller Types:</source>
- <translation type="unfinished"/>
+ <translation>Loại tay cầm được hỗ trợ:</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="282"/>
<source>Players:</source>
- <translation type="unfinished"/>
+ <translation>Người chơi:</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="300"/>
<source>1 - 8</source>
- <translation type="unfinished"/>
+ <translation>1 - 8</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="418"/>
<source>P4</source>
- <translation type="unfinished"/>
+ <translation>P4</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="514"/>
@@ -7559,7 +6714,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Tay cầm Pro Controller</translation>
</message>
@@ -7572,7 +6727,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>Joycon đôi</translation>
</message>
@@ -7585,7 +6740,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>Joycon Trái</translation>
</message>
@@ -7598,7 +6753,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>Joycon Phải</translation>
</message>
@@ -7612,49 +6767,49 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1881"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2078"/>
<source>Use Current Config</source>
- <translation type="unfinished"/>
+ <translation>Dùng cấu hình hiện tại</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="615"/>
<source>P2</source>
- <translation type="unfinished"/>
+ <translation>P2</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="812"/>
<source>P1</source>
- <translation type="unfinished"/>
+ <translation>P1</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>Cầm tay</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1126"/>
<source>P3</source>
- <translation type="unfinished"/>
+ <translation>P3</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1363"/>
<source>P7</source>
- <translation type="unfinished"/>
+ <translation>P7</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1560"/>
<source>P8</source>
- <translation type="unfinished"/>
+ <translation>P8</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1757"/>
<source>P5</source>
- <translation type="unfinished"/>
+ <translation>P5</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1958"/>
<source>P6</source>
- <translation type="unfinished"/>
+ <translation>P6</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2272"/>
@@ -7680,7 +6835,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2359"/>
<source>Motion</source>
- <translation type="unfinished"/>
+ <translation>Chuyển động</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2405"/>
@@ -7690,12 +6845,12 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2432"/>
<source>Create</source>
- <translation type="unfinished"/>
+ <translation>Tạo</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2467"/>
<source>Controllers</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2481"/>
@@ -7743,34 +6898,34 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>Tay cầm GameCube</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
- <translation type="unfinished"/>
+ <translation>Poke Ball Plus</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm NES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm SNES</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
- <translation type="unfinished"/>
+ <translation>Tay cầm N64</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
- <translation type="unfinished"/>
+ <translation>Sega Genesis</translation>
</message>
</context>
<context>
@@ -7780,19 +6935,21 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_error.cpp" line="40"/>
<location filename="../../src/yuzu/applets/qt_error.cpp" line="55"/>
<source>Error Code: %1-%2 (0x%3)</source>
- <translation type="unfinished"/>
+ <translation>Mã lỗi: %1-%2 (0x%3)</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_error.cpp" line="31"/>
<source>An error has occurred.
Please try again or contact the developer of the software.</source>
- <translation type="unfinished"/>
+ <translation>Một lỗi đã xảy ra.
+Vui lòng thử lại hoặc liên hệ nhà phát triển của phần mềm.</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_error.cpp" line="44"/>
<source>An error occurred on %1 at %2.
Please try again or contact the developer of the software.</source>
- <translation type="unfinished"/>
+ <translation>Một lỗi đã xảy ra tại %1 vào %2.
+Vui lòng thử lại hoặc liên hệ nhà phát triển của phần mềm.</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_error.cpp" line="59"/>
@@ -7801,7 +6958,11 @@ Please try again or contact the developer of the software.</source>
%1
%2</source>
- <translation type="unfinished"/>
+ <translation>Một lỗi đã xảy ra.
+
+%1
+
+%2</translation>
</message>
</context>
<context>
@@ -7822,7 +6983,7 @@ Please try again or contact the developer of the software.</source>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="167"/>
<source>Profile Creator</source>
- <translation type="unfinished"/>
+ <translation>Tạo hồ sơ</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="170"/>
@@ -7833,57 +6994,57 @@ Please try again or contact the developer of the software.</source>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="173"/>
<source>Profile Icon Editor</source>
- <translation type="unfinished"/>
+ <translation>Sửa biểu tượng hồ sơ</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="176"/>
<source>Profile Nickname Editor</source>
- <translation type="unfinished"/>
+ <translation>Sửa biệt danh hồ sơ</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="198"/>
<source>Who will receive the points?</source>
- <translation type="unfinished"/>
+ <translation>Ai sẽ nhận điểm?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="201"/>
<source>Who is using Nintendo eShop?</source>
- <translation type="unfinished"/>
+ <translation>Ai đang sử dụng Nintendo eShop?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="204"/>
<source>Who is making this purchase?</source>
- <translation type="unfinished"/>
+ <translation>Ai đang thực hiện giao dịch này?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="207"/>
<source>Who is posting?</source>
- <translation type="unfinished"/>
+ <translation>Ai đang đăng bài?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="210"/>
<source>Select a user to link to a Nintendo Account.</source>
- <translation type="unfinished"/>
+ <translation>Chọn một người dùng để liên kết với tài khoản Nintendo.</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="213"/>
<source>Change settings for which user?</source>
- <translation type="unfinished"/>
+ <translation>Thay đổi cài đặt cho người dùng nào?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="216"/>
<source>Format data for which user?</source>
- <translation type="unfinished"/>
+ <translation>Định dạng dữ liệu cho người dùng nào?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="219"/>
<source>Which user will be transferred to another console?</source>
- <translation type="unfinished"/>
+ <translation>Người dùng nào sẽ được chuyển tới console khác?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="222"/>
<source>Send save data for which user?</source>
- <translation type="unfinished"/>
+ <translation>Gửi dữ liệu save cho người dùng nào?</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_profile_select.cpp" line="226"/>
@@ -7901,7 +7062,7 @@ Please try again or contact the developer of the software.</source>
<message>
<location filename="../../src/yuzu/applets/qt_software_keyboard.ui" line="199"/>
<source>Enter Text</source>
- <translation type="unfinished"/>
+ <translation>Nhập văn bản</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_software_keyboard.ui" line="479"/>
@@ -7910,7 +7071,11 @@ Please try again or contact the developer of the software.</source>
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:26pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation type="unfinished"/>
+ <translation>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
+&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
+p, li { white-space: pre-wrap; }
+&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:&apos;MS Shell Dlg 2&apos;; font-size:26pt; font-weight:400; font-style:normal;&quot;&gt;
+&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/applets/qt_software_keyboard.cpp" line="403"/>
@@ -7929,7 +7094,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/util/sequence_dialog/sequence_dialog.cpp" line="10"/>
<source>Enter a hotkey</source>
- <translation type="unfinished"/>
+ <translation>Nhập một phím tắt</translation>
</message>
</context>
<context>
@@ -7945,7 +7110,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="158"/>
<source>[%1] %2</source>
- <translation type="unfinished"/>
+ <translation>[%1] %2</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="184"/>
@@ -7958,7 +7123,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="202"/>
<source>runnable</source>
- <translation type="unfinished"/>
+ <translation>có thể chạy</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="204"/>
@@ -7983,7 +7148,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="219"/>
<source>waiting for condition variable</source>
- <translation type="unfinished"/>
+ <translation>đang chờ biến điều kiện</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="222"/>
@@ -7993,27 +7158,27 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="225"/>
<source>waiting for suspend resume</source>
- <translation type="unfinished"/>
+ <translation>đang đợi để tạm dừng và tiếp tục</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="228"/>
<source>waiting</source>
- <translation type="unfinished"/>
+ <translation>đang chờ</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="233"/>
<source>initialized</source>
- <translation type="unfinished"/>
+ <translation>đã khởi tạo</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="236"/>
<source>terminated</source>
- <translation type="unfinished"/>
+ <translation>đã chấm dứt</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="239"/>
<source>unknown</source>
- <translation type="unfinished"/>
+ <translation>không xác định</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="244"/>
@@ -8023,7 +7188,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="294"/>
<source>ideal</source>
- <translation type="unfinished"/>
+ <translation>lý tưởng</translation>
</message>
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="297"/>
@@ -8069,7 +7234,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/debugger/wait_tree.cpp" line="399"/>
<source>&amp;Wait Tree</source>
- <translation type="unfinished"/>
+ <translation>&amp;Cây Đợi</translation>
</message>
</context>
</TS> \ No newline at end of file
diff --git a/dist/languages/zh_CN.ts b/dist/languages/zh_CN.ts
index 2c0885dfa..65baa9175 100644
--- a/dist/languages/zh_CN.ts
+++ b/dist/languages/zh_CN.ts
@@ -366,78 +366,32 @@ This would ban both their forum username and their IP address.</source>
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>声音</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>输出引擎:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>输出设备:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>输入设备:</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>声音输出模式:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>单声道</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>立体声</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>环绕声</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>使用全局音量</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>音量:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>音量:</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation>自动 (%1)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>模拟器位于后台时静音</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation>默认 (%1)</translation>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>声音</translation>
</message>
</context>
<context>
@@ -501,137 +455,25 @@ This would ban both their forum username and their IP address.</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>通用</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>精度:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>自动</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>精确</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>低精度</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>偏执模式 (禁用绝大多数优化项)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>我们建议将精度设置为“自动”。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
<translation>低精度 CPU 优化选项</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>这些设置项提高了运行速度,但精度有所降低。</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;该选项通过降低积和熔加运算的精度来提高模拟器在不支持 FMA 指令集 CPU 上的运行速度。&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>低精度 FMA (在 CPU 不支持 FMA 指令集的情况下提高性能)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;该选项通过使用精度较低的近似值来提高某些浮点函数的运算速度。&lt;/div&gt;</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>快速 FRSQRTE 和 FRECPE</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;该选项通过不正确的舍入模式来提高 32 位 ASIMD 浮点函数的运行速度。&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>加速 ASIMD 指令执行(仅限 32 位)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;该选项通过取消非数检查来提高速度。请注意,这也会降低某些浮点指令的精确度。&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>低精度非数处理</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;此选项通过不运行每次模拟内存读/写前的安全检查来提高速度。禁用此选项可能会允许游戏读/写模拟器自己的内存。&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>禁用地址空间检查</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;此选项仅通过 cmpxchg 指令来提高速度,以确保独占访问指令的安全性。请注意,这可能会导致死锁和其他问题。&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>忽略全局监视器</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>只有当游戏不在运行时,CPU 设置才可用。</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -664,7 +506,7 @@ This would ban both their forum username and their IP address.</source>
</source>
<translation>
&lt;div style=&quot;white-space: nowrap&quot;&gt;这个选项提升了来宾程序的内存访问速度。&lt;/div&gt;
-&lt;div style=&quot;white-space: nowrap&quot;&gt;启用内嵌到 PageTable::指向已发射代码的指针。&lt;/div&gt;
+&lt;div style=&quot;white-space: nowrap&quot;&gt;启用内嵌到 PageTable::pointers 指向已发射代码的指针。&lt;/div&gt;
&lt;div style=&quot;white-space: nowrap&quot;&gt;禁用此选项将强制通过 Memory::Read/Memory::Write 函数进行内存访问。&lt;/div&gt;</translation>
</message>
<message>
@@ -849,222 +691,227 @@ This would ban both their forum username and their IP address.</source>
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>调试器</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>开启 GDB 调试</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>端口:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>日志</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>全局日志过滤器</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>显示日志窗口</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>打开日志位置</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>全局日志过滤器</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>选中此项后,日志文件的最大大小从 100MB 增加到 1GB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>启用扩展的日志记录**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>显示日志窗口</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>自制游戏</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>参数字符串</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>图形</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>启用时,图形 API 将进入较慢的调试模式。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>启用图形调试</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>启用后,yuzu 将会保存 Nsight Aftermath 格式的崩溃转储文件</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>启用后,yuzu 在执行着色器时,不会修改循环结构的条件判断</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>启用 Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>禁用循环体安全检查</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>启用时,将从磁盘着色器缓存或游戏中转储所有的着色器文件。</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>启用时,将禁用宏高阶模拟。这会降低游戏运行速度。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>转储着色器文件</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>禁用宏高阶模拟</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>选中后,将转储 GPU 的所有宏程序</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>转储 Maxwell 宏</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>启用时,将禁用宏即时编译器。这会降低游戏运行速度。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>禁用宏即时编译</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation>启用时,将禁用宏高阶模拟。这会降低游戏运行速度。</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>启用后,yuzu 将会保存 Nsight Aftermath 格式的崩溃转储文件</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation>禁用宏高阶模拟</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>启用 Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
<source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation>选中时,yuzu 将记录有关已编译着色器缓存的统计信息。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
<source>Enable Shader Feedback</source>
<translation>启用着色器反馈</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>启用后,yuzu 在执行着色器时,不会修改循环结构的条件判断</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>禁用循环体安全检查</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>启用时,将禁用宏即时编译器。这会降低游戏运行速度。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>调试选项</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>禁用宏即时编译</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation>启用详细报告服务**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>启用时,图形 API 将进入较慢的调试模式。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>启用文件系统访问记录</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>启用图形调试</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation>启用此选项会将最新的音频命令列表输出到控制台。只影响使用音频渲染器的游戏。</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>启用时,将从磁盘着色器缓存或游戏中转储所有的着色器文件。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation>将音频命令转储至控制台**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>转储着色器文件</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>微型故障转储</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation>启用 Renderdoc 热键</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
<source>Advanced</source>
<translation>高级选项</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>允许 yuzu 在启动时检查 Vulkan 环境是否正常工作。如果是其他程序导致 yuzu 出现相关问题,请禁用此选项。</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>启动时进行 Vulkan 检测</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>禁用 Web 应用程序</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>启用其他类型的控制器</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>启用自动函数打桩(Auto-Stub)**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Kiosk (Quest) 模式</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>启用 CPU 模拟调试</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>启用调试</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>启用自动函数打桩(Auto-Stub)**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>调试选项</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>启用其他类型的控制器</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>启用文件系统访问记录</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>禁用 Web 应用程序</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>微型故障转储</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation>允许 yuzu 在启动时检查 Vulkan 环境是否正常工作。如果是其他程序导致 yuzu 出现相关问题,请禁用此选项。</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>启用此选项会将最新的音频命令列表输出到控制台。只影响使用音频渲染器的游戏。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>启动时进行 Vulkan 检测</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation>将音频命令转储至控制台**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>启用详细报告服务**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**该选项将在 yuzu 关闭时自动重置。</translation>
</message>
@@ -1079,12 +926,12 @@ This would ban both their forum username and their IP address.</source>
<translation>重启 yuzu 后才能应用此设置。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>Web 应用程序未编译</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation>微型转储未编译</translation>
</message>
@@ -1134,78 +981,83 @@ This would ban both their forum username and their IP address.</source>
<translation>yuzu 设置</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>只有当游戏不在运行时,某些设置项才可用。</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>声音</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>调试</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>文件系统</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>通用</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>图形</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>高级图形选项</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>热键</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>控制</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>用户配置</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>网络</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>系统</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>游戏列表</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>网络</translation>
</message>
@@ -1364,57 +1216,17 @@ This would ban both their forum username and their IP address.</source>
<translation>通用</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>运行速度限制</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>多核 CPU 仿真</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>在游戏运行时退出需要确认</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>游戏启动时提示选择用户</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>模拟器位于后台时暂停模拟</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>自动隐藏鼠标光标</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation>禁用控制器程序</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>重置所有设置项</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>将重置模拟器所有设置并删除所有游戏的单独设置。这不会删除游戏目录、个人文件及输入配置文件。是否继续?</translation>
</message>
@@ -1437,311 +1249,43 @@ This would ban both their forum username and their IP address.</source>
<translation>API 设置</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>着色器后端:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>设备:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>无</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>图形设置</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>启用磁盘着色器缓存</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>使用 GPU 异步模拟</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>加速 ASTC 格式材质解码</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation>垂直同步模式:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation>FIFO (垂直同步)不会掉帧或产生画面撕裂,但受到屏幕刷新率的限制。
-FIFO Relaxed 类似于 FIFO,但允许从低 FPS 恢复时产生撕裂。
-Mailbox 具有比 FIFO 更低的延迟,不会产生撕裂但可能会掉帧。
-Immediate (无同步)只显示可用内容,并可能产生撕裂。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>NVDEC 模拟方式:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>无视频输出</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>CPU 视频解码</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>GPU 视频解码 (默认)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>全屏模式:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>无边框窗口</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>独占全屏</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>屏幕纵横比:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>默认 (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>强制 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>强制 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>强制 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>拉伸窗口</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>画面分辨率:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [实验性]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [实验性]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation>1.5X (1080p/1620p) [实验性]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation>7X (5040p/7560p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation>8X (5760p/8640p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>窗口滤镜:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>近邻取样</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>双线性过滤</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>双三线过滤</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>高斯模糊</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>强制缩放</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️ 超级分辨率锐画技术</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>抗锯齿方式:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>快速近似抗锯齿</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>子像素形态学抗锯齿</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation>使用全局 FSR 锐化度</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation>设置 FSR 锐化度</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation>FSR 锐化度:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation>100%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>使用全局背景颜色</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>设置背景颜色:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>背景颜色:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM (汇编着色器,仅限 NVIDIA 显卡)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation>SPIR-V (实验性,仅限 Mesa)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation>关闭</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation>垂直同步关</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation>推荐</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation>开启</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation>垂直同步开</translation>
</message>
@@ -1763,163 +1307,6 @@ Immediate (无同步)只显示可用内容,并可能产生撕裂。</translati
<source>Advanced Graphics Settings</source>
<translation>高级图形选项</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>精度:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation>ASTC 纹理重压缩:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation>不压缩 (最高质量)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation>BC1 (低质量)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation>BC3 (中等质量)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation>启用异步帧提交 (仅限 Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation>在后台运行的同时等待图形命令,以防止 GPU 降低时钟速度。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation>强制最大时钟 (仅限 Vulkan 模式)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation>启用异步 ASTC 纹理解码,可能减少加载时的卡顿。实验性功能。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation>异步 ASTC 纹理解码 (不稳定)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation>使用反应性刷新取代预测性刷新,从而更精确地同步内存。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation>启用反应性刷新</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>启用异步着色器编译,这可能会减少着色器卡顿。实验性功能。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>启用异步着色器构建 (不稳定)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>启用快速 GPU 时钟。此选项将强制大多数游戏以其最高分辨率运行。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>启用快速 GPU 时钟 (不稳定)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation>启用 GPU 供应商专用的管线缓存。在 Vulkan 驱动程序内部不存储管线缓存的情况下,此选项可显著提高着色器加载速度。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation>启用 Vulkan 管线缓存</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation>启用某些游戏所需的计算管线。此选项仅适用于英特尔专有驱动程序。如果启用,可能会造成崩溃。
-在其他的驱动程序上将始终启用计算管线。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation>启用计算管线 (仅限 Intel 显卡 Vulkan 模式)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation>在视频播放期间以正常速度运行游戏,即使帧率未锁定。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation>播放视频时帧率同步</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation>改进某些游戏中透明效果的渲染。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation>屏障反馈环路</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>各向异性过滤:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>自动</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>系统默认</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2686,7 +2073,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<translation>鼠标平移</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>设置</translation>
</message>
@@ -3114,13 +2501,13 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation>启用</translation>
+ <source>Enable mouse panning</source>
+ <translation>启用鼠标平移</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
- <translation>可通过热键进行切换</translation>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
+ <translation>可通过热键来切换。默认的热键为 Ctrl + F9</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
@@ -3129,7 +2516,6 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
<translation>水平方向</translation>
</message>
@@ -3137,22 +2523,20 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
<translation>垂直方向</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="85"/>
<source>Deadzone counterweight</source>
- <translation>调整死区平衡</translation>
+ <translation>调整死区</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="88"/>
@@ -3160,25 +2544,52 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<translation>抵消游戏内置的死区</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation>死区</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
<translation>摇杆漂移</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
<translation>强烈程度</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
<translation>最小值</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>系统默认</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation>鼠标平移在死区设置为 0% 和灵敏度设置为 100% 时效果更好。
+当前值分别为 %1% 和 %2% 。</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation>已启用模拟鼠标。模拟鼠标与鼠标平移不兼容。</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>已启用模拟鼠标</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation>实体鼠标输入与鼠标平移不兼容。请在高级输入设置中禁用模拟鼠标以使用鼠标平移。</translation>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3211,100 +2622,95 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>对话框</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>信息</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>名称</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>游戏 ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>文件名</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>格式</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>版本</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>大小</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>开发商</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>附加项</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>只有当游戏不在运行时,某些设置项才可用。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>通用</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>附加项</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>系统</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>图形</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>高级图形</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>声音</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation>输入配置文件</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>属性</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>使用全局设置 (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3627,412 +3033,17 @@ UUID: %2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>系统</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>系统设置</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>地区:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>自动</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>系统默认</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>欧洲中部时间</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>古巴标准时间&amp;古巴夏令时</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>古巴</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>东欧时间</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>埃及</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>爱尔兰</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>东部标准时间</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>东部标准时间&amp;东部夏令时</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>国家标准时间</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>爱尔兰国家标准时间</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>格林威治标准时间 (GMT)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation>核心</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>格林威治</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>中国香港</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>美国夏威夷时间</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>冰岛</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>伊朗</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>以色列</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>牙买加</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>日本</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>夸贾林环礁</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>利比亚</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>中欧时间</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>山区标准时间 (北美)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>山区标准时间&amp;山区夏令时 (北美)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>纳瓦霍</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>新西兰时间</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>新西兰-查塔姆群岛</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>波兰</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>葡萄牙</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>中国标准时间</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>太平洋标准时间&amp;太平洋夏令时</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>台湾时间</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>韩国时间</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>新加坡</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>土耳其</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>世界时间</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>协调世界时</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>欧洲-莫斯科时间</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>西欧时间</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>祖鲁</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>美国</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>欧洲</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>澳大利亚</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>中国</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>韩国</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>中国台湾</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>时区:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>注意:当“地区”设置是“自动选择”时,此设置可能会被覆盖。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>日语 (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation>美式英语</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>法语 (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>德语 (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>意大利语 (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>西班牙语 (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>中文</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>韩语 (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>荷兰语 (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>葡萄牙语 (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>俄语 (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>台湾中文</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>英式英语</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>加拿大法语</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>拉美西班牙语</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>简体中文</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>繁体中文 (正體中文)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>巴西-葡萄牙语 (português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>自定义系统时间</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>语言</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>随机数生成器种子</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation>设备名称</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation>不安全的内存布局扩展 (8GB DRAM)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>只有当游戏不在运行时,系统设置才可用。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation>警告:“ %1 ”并不是“ %2 ”地区的有效语言</translation>
</message>
@@ -4241,64 +3252,64 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>无</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>小 (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>标准 (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>大 (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>最大 (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>小 (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>标准 (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>大 (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>文件名</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>文件类型</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>游戏 ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>游戏名称</translation>
</message>
@@ -4401,15 +3412,31 @@ Drag points to change position, or double-click table cells to edit values.</sou
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation>文本水印</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>分辨率:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>选择截图保存位置...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation>自动 (%1 x %2, %3 x %4)</translation>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4710,12 +3737,12 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation>连接中</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation>连接</translation>
</message>
@@ -4723,901 +3750,967 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;我们收集匿名数据&lt;/a&gt;来帮助改进 yuzu 。&lt;br/&gt;&lt;br/&gt;您愿意和我们分享您的使用数据吗?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>使用数据共享</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation>检测到 Vulkan 的安装已损坏</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation>Vulkan 初始化失败。&lt;br&gt;&lt;br&gt;点击&lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;这里&lt;/a&gt;获取此问题的相关信息。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
<translation>游戏正在运行</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>正在加载 Web 应用程序...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>禁用 Web 应用程序</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation>禁用 Web 应用程序可能会发生未知的行为,且只能在《超级马里奥 3D 全明星》中使用。您确定要禁用 Web 应用程序吗?
(您可以在调试选项中重新启用它。)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>当前正在构建的着色器数量</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation>当前选定的分辨率缩放比例。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>当前的模拟速度。高于或低于 100% 的值表示运行速度比实际的 Switch 更快或更慢。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>游戏当前运行的帧率。这将因游戏和场景的不同而有所变化。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>在不计算速度限制和垂直同步的情况下,模拟一个 Switch 帧的实际时间。若要进行全速模拟,这个数值不应超过 16.67 毫秒。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation>取消静音</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation>静音</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation>重置音量</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>清除最近文件 (&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation>已启用模拟鼠标</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation>实体鼠标输入与鼠标平移不兼容。请在高级输入设置中禁用模拟鼠标以使用鼠标平移。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>继续 (&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>暂停 (&amp;P)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>过时游戏格式警告</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>目前使用的游戏为解体的 ROM 目录格式,这是一种过时的格式,已被其他格式替代,如 NCA,NAX,XCI 或 NSP。解体的 ROM 目录缺少图标、元数据和更新支持。&lt;br&gt;&lt;br&gt;有关 yuzu 支持的各种 Switch 格式的说明,&lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;请查看我们的 wiki&lt;/a&gt;。此消息将不会再次出现。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>加载 ROM 时出错!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>该 ROM 格式不受支持。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>初始化视频核心时发生错误</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation>yuzu 在运行视频核心时发生错误。这可能是由 GPU 驱动程序过旧造成的。有关详细信息,请参阅日志文件。关于日志文件的更多信息,请参考以下页面:&lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;如何上传日志文件&lt;/a&gt;。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>加载 ROM 时出错! %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation>%1&lt;br&gt;请参考&lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;yuzu 快速导航&lt;/a&gt;以获取相关文件。&lt;br&gt;您可以参考 yuzu 的 wiki 页面&lt;/a&gt;或 Discord 社区&lt;/a&gt;以获得帮助。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>发生了未知错误。请查看日志了解详情。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation>正在关闭…</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>保存数据</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>Mod 数据</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>打开 %1 文件夹时出错</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>文件夹不存在!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>打开可转移着色器缓存时出错</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation>为该游戏创建着色器缓存目录时失败。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation>删除内容时出错</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation>删除更新时出错</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation>删除 DLC 时出错</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation>删除已安装的游戏内容?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation>删除已安装的游戏更新?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation>删除已安装的游戏 DLC 内容?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>删除项目</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>删除成功</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>成功删除已安装的游戏。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>该游戏未安装于 NAND 中,无法删除。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>成功删除已安装的游戏更新。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>这个游戏没有任何已安装的更新。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>这个游戏没有任何已安装的 DLC 。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>成功删除游戏 %1 安装的 DLC 。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation>删除 OpenGL 模式的着色器缓存?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation>删除 Vulkan 模式的着色器缓存?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation>删除所有的着色器缓存?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>移除自定义游戏设置?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation>移除缓存?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>删除文件</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>删除着色器缓存时出错</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>这个游戏的着色器缓存不存在。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>成功删除着色器缓存。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>删除着色器缓存失败。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation>删除 Vulkan 驱动程序管线缓存时出错</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation>删除驱动程序管线缓存失败。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation>删除着色器缓存时出错</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation>着色器缓存删除成功。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation>删除着色器缓存目录失败。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>移除自定义游戏设置时出错</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>这个游戏的自定义设置不存在。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>成功移除自定义游戏设置。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>移除自定义游戏设置失败。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>RomFS 提取失败!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>复制 RomFS 文件时出错,或用户取消了操作。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>完整</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>框架</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>选择 RomFS 转储模式</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>请选择 RomFS 转储的方式。&lt;br&gt;“完整” 会将所有文件复制到新目录中,而&lt;br&gt;“框架” 只会创建目录结构。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation>%1 没有足够的空间用于提取 RomFS。请保持足够的空间或于模拟—&gt;设置—&gt;系统—&gt;文件系统—&gt;转储根目录中选择一个其他目录。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>正在提取 RomFS...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>取消</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>RomFS 提取成功!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>操作成功完成。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation>无法执行完整性验证!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation>未检查文件的完整性。</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation>完整性验证失败!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation>文件可能已经损坏。</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation>正在验证完整性...</translation>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation>完整性验证成功!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation>创建快捷方式</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation>这将为当前的游戏创建快捷方式。但在其更新后,快捷方式可能无法正常工作。是否继续?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation>无法在桌面创建快捷方式。路径“ %1 ”不存在。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>无法在应用程序菜单中创建快捷方式。路径“ %1 ”不存在且无法被创建。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation>创建图标</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>无法创建图标文件。路径“ %1 ”不存在且无法被创建。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation>使用 yuzu 启动 %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation>在 %1 处创建快捷方式时失败</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation>成功地在 %1 处创建快捷方式</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>打开 %1 时出错</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>选择目录</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>属性</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>无法加载该游戏的属性信息。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Switch 可执行文件 (%1);;所有文件 (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>加载文件</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>打开提取的 ROM 目录</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>选择的目录无效</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>选择的目录不包含 “main” 文件。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>可安装 Switch 文件 (*.nca *.nsp *.xci);;任天堂内容档案 (*.nca);;任天堂应用包 (*.nsp);;NX 卡带镜像 (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>安装文件</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation><numerusform>剩余 %n 个文件</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>正在安装文件 &quot;%1&quot;...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>安装结果</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>为了避免可能存在的冲突,我们不建议将游戏本体安装到 NAND 中。
此功能仅用于安装游戏更新和 DLC 。</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation><numerusform>最近安装了 %n 个文件
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation><numerusform>%n 个文件被覆盖
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation><numerusform>%n 个文件安装失败
</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>系统应用</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>系统档案</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>系统应用更新</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>固件包 (A型)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>固件包 (B型)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>游戏</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>游戏更新</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>游戏 DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>差量程序</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>选择 NCA 安装类型...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>请选择此 NCA 的程序类型:
(在大多数情况下,选择默认的“游戏”即可。)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>安装失败</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>选择的 NCA 程序类型无效。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>找不到文件</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>文件 &quot;%1&quot; 未找到</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>确定</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation>硬件不满足要求</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation>您的系统不满足运行 yuzu 的推荐配置。兼容性报告已被禁用。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>未设置 yuzu 账户</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>要提交游戏兼容性测试用例,您必须设置您的 yuzu 帐户。&lt;br&gt;&lt;br/&gt;要设置您的 yuzu 帐户,请转到模拟 &amp;gt; 设置 &amp;gt; 网络。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>打开 URL 时出错</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>无法打开 URL : &quot;%1&quot; 。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation>TAS 录制中</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>覆盖玩家 1 的文件?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>检测到无效配置</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>掌机手柄无法在主机模式中使用。将会选择 Pro controller。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>当前的 Amiibo 已被移除。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>错误</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation>当前游戏并没有在寻找 Amiibos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Amiibo 文件 (%1);; 全部文件 (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>加载 Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>加载 Amiibo 数据时出错</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation>选择的文件并不是有效的 amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation>选择的文件已在使用中</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation>发生了未知错误</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation>以下文件完整性验证失败:
+
+%1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation>无可用固件</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation>请安装固件以使用 Mii editor。</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation>MiiEdit 小程序</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation>Mii editor 不可用。请安装固件。</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>捕获截图</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>PNG 图像 (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>TAS 状态:正在运行 %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>TAS 状态:正在录制 %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation>TAS 状态:空闲 %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>TAS 状态:无效</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation>停止运行 (&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>开始 (&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>停止录制 (&amp;E)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>录制 (&amp;E)</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation><numerusform>正在编译 %n 个着色器文件</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>缩放比例: %1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>速度: %1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>速度: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation>FPS: %1 (未锁定)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>FPS: %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>帧延迟: %1 毫秒</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>抗锯齿关</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation>音量: 静音</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation>音量: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>确认重新生成密钥</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5633,37 +4726,37 @@ This will delete your autogenerated key files and re-run the key derivation modu
这将删除您自动生成的密钥文件并重新运行密钥生成模块。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>项目丢失</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation>- 丢失 BOOT0</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation> - 丢失 BCPKG2-1-Normal-Main</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation>- 丢失 PRODINFO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>组件丢失</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation>密钥缺失。&lt;br&gt;请查看&lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;yuzu 快速导航&lt;/a&gt;以获得你的密钥、固件和游戏。&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5672,49 +4765,49 @@ on your system&apos;s performance.</source>
您的系统性能。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>生成密钥</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation>系统固件解密失败</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation>当前密钥无法解密系统固件。&lt;br&gt;请查看&lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;yuzu 快速导航&lt;/a&gt;以获得你的密钥、固件和游戏。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>选择 RomFS 转储目标</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>请选择希望转储的 RomFS。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>您确定要关闭 yuzu 吗?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>您确定要停止模拟吗?未保存的进度将会丢失。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5723,97 +4816,97 @@ Would you like to bypass this and exit anyway?</source>
您希望忽略并退出吗?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>无</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
<translation>邻近取样</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>双线性过滤</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>双三线过滤</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>高斯模糊</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>强制缩放</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>主机模式</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>掌机模式</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation>正常</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation>高</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation>Extreme</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
<translation>OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation>无</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
<translation>GLSL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
<translation>GLASM</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
<translation>SPIRV</translation>
</message>
@@ -5821,44 +4914,44 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>OpenGL 模式不可用!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation>不支持 OpenGL 共享上下文。</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>yuzu 没有使用 OpenGL 进行编译。</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>初始化 OpenGL 时出错!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>您的 GPU 可能不支持 OpenGL ,或者您没有安装最新的显卡驱动。</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>初始化 OpenGL 4.6 时出错!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>您的 GPU 可能不支持 OpenGL 4.6 ,或者您没有安装最新的显卡驱动。&lt;br&gt;&lt;br&gt;GL 渲染器:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>您的 GPU 可能不支持某些必需的 OpenGL 扩展。请确保您已经安装最新的显卡驱动。&lt;br&gt;&lt;br&gt;GL 渲染器:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;不支持的扩展:&lt;br&gt;%2</translation>
</message>
@@ -5866,173 +4959,178 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>收藏</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>开始游戏</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>使用公共设置项进行游戏</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>打开存档位置</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>打开 MOD 数据位置</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation>打开可转移着色器缓存</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>删除</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>删除已安装的游戏更新</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>删除所有已安装 DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>删除自定义设置</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation>移除缓存</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation>删除 OpenGL 着色器缓存</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation>删除 Vulkan 着色器缓存</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>删除所有着色器缓存</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>删除所有安装的项目</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>转储 RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>转储 RomFS 到 SDMC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation>完整性验证</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>复制游戏 ID 到剪贴板</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>查看兼容性报告</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation>创建快捷方式</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation>添加到桌面</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation>添加到应用程序菜单</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>属性</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>扫描子文件夹</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>移除游戏目录</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ 向上移动</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ 向下移动</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>打开目录位置</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>清除</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>名称</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>兼容性</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>附加项</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>文件类型</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>大小</translation>
</message>
@@ -6103,7 +5201,7 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>双击添加新的游戏文件夹</translation>
</message>
@@ -6116,12 +5214,12 @@ Would you like to bypass this and exit anyway?</source>
<translation><numerusform>%1 / %n 个结果</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>搜索:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>搜索游戏</translation>
</message>
@@ -6197,12 +5295,12 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>错误</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation>向公共大厅公开房间时失败。为了创建公开房间,您必须在模拟 -&gt; 设置 -&gt; 网络中配置有效的 yuzu 帐户。如果不想在公共大厅中公开房间,请选择“未列出”。
@@ -6212,13 +5310,11 @@ Debug Message: </source>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation>开启/关闭静音</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6239,111 +5335,113 @@ Debug Message: </source>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation>主窗口</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation>调低音量</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation>调高音量</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>捕获截图</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation>更改窗口滤镜</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation>更改主机运行模式</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation>更改 GPU 精度</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation>继续/暂停模拟</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation>退出全屏</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation>退出 yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>全屏</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>加载文件</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation>加载/移除 Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation>重新启动模拟</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation>停止模拟</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation>TAS 录制</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation>重置 TAS</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation>TAS 开始/停止</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation>切换搜索栏</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation>切换帧率限制</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation>切换鼠标平移</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation>切换状态栏</translation>
</message>
@@ -6463,42 +5561,42 @@ Debug Message: </source>
<translation>刷新游戏大厅</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation>需要密码</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation>密码:</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>玩家数</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation>房间名称</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation>首选游戏</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation>房主</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation>刷新中</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation>刷新列表</translation>
</message>
@@ -6586,172 +5684,182 @@ Debug Message: </source>
<translation>TAS (&amp;T)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>帮助 (&amp;H)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>安装文件到 NAND... (&amp;I)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>加载文件... (&amp;O)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>加载文件夹... (&amp;F)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>退出 (&amp;X)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>暂停 (&amp;P)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>停止 (&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>重新生成密钥... (&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation>验证已安装内容的完整性 (&amp;V)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>关于 yuzu (&amp;A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>单窗口模式 (&amp;W)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>设置... (&amp;F)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>显示停靠小部件的标题 (&amp;O)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>显示搜索栏 (&amp;F)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>显示状态栏 (&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>显示状态栏</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation>浏览公共游戏大厅 (&amp;B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation>创建房间 (&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation>离开房间 (&amp;L)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation>直接连接到房间 (&amp;D)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation>显示当前房间 (&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>全屏 (&amp;U)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>重新启动 (&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation>加载/移除 Amiibo... (&amp;A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>报告兼容性 (&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation>打开 Mod 页面 (&amp;M)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation>查看快速导航 (&amp;Q)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>FAQ (&amp;F)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation>打开 yuzu 文件夹 (&amp;Y)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>捕获截图 (&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation>打开 Mii Editor (&amp;M)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation>配置 TAS... (&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation>配置当前游戏... (&amp;U)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>开始 (&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation>重置 (&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>录制 (&amp;E)</translation>
</message>
@@ -7544,27 +6652,27 @@ p, li { white-space: pre-wrap; }
<translation>文件路径</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation>没有游戏数据</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation>将格式化以下 amiibo 数据:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation>将删除以下游戏数据:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation>设置昵称及所有者:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation>您想要恢复这个 amiibo 吗?</translation>
</message>
@@ -7605,7 +6713,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Pro Controller</translation>
</message>
@@ -7618,7 +6726,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>双 Joycons 手柄</translation>
</message>
@@ -7631,7 +6739,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>左 Joycon 手柄</translation>
</message>
@@ -7644,7 +6752,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>右 Joycon 手柄</translation>
</message>
@@ -7673,7 +6781,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>掌机模式</translation>
</message>
@@ -7789,32 +6897,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>GameCube 控制器</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>精灵球 PLUS</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>NES 控制器</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>SNES 控制器</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>N64 控制器</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>世嘉创世纪</translation>
</message>
diff --git a/dist/languages/zh_TW.ts b/dist/languages/zh_TW.ts
index 436f3bdb7..52421f6f6 100644
--- a/dist/languages/zh_TW.ts
+++ b/dist/languages/zh_TW.ts
@@ -122,7 +122,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="330"/>
<source>%1 has been unbanned</source>
- <translation>%1 已被解除禁止</translation>
+ <translation>%1 已被解除封鎖</translation>
</message>
<message>
<location filename="../../src/yuzu/multiplayer/chat_room.cpp" line="446"/>
@@ -262,7 +262,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="131"/>
<source>No The game crashes or freezes while loading or using the menu</source>
- <translation>不,加載或使用菜單時遊戲崩潰或卡死</translation>
+ <translation>不,加載或使用選單時遊戲崩潰或卡死</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="143"/>
@@ -282,62 +282,62 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="195"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game work without crashing, freezing or locking up during gameplay?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;游戏在运行时有没有崩溃、卡死或出现软锁?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;遊戲在遊玩時有沒有當機、凍結或鎖死?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="228"/>
<source>Yes The game can be finished without any workarounds</source>
- <translation>没有,可以顺利地完成整个游戏过程</translation>
+ <translation>沒有,可以順利地完成整個遊戲過程</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="235"/>
<source>No The game can&apos;t progress past a certain area</source>
- <translation>有,游戏在特定区段无法继续</translation>
+ <translation>有,遊戲在特定區域無法繼續</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="247"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Is the game completely playable from start to finish?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;游戏从头到尾都可以顺利运行吗?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;遊戲從頭到尾都可以順利運行嗎?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="280"/>
<source>Major The game has major graphical errors</source>
- <translation>严重 游戏在运行时有严重的图像错误</translation>
+ <translation>嚴重 遊戲在運行時有嚴重的圖形錯誤</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="287"/>
<source>Minor The game has minor graphical errors</source>
- <translation>轻微 游戏在运行时有轻微的图形错误</translation>
+ <translation>輕微 遊戲在運行時有輕微的圖形錯誤</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="294"/>
<source>None Everything is rendered as it looks on the Nintendo Switch</source>
- <translation>完美 媲美实机的游戏体验</translation>
+ <translation>完美 媲美實機的遊戲體驗</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="306"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game have any graphical glitches?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;游戏运行时出现了图形问题吗?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;遊戲運行時出現了圖形問題嗎?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="339"/>
<source>Major The game has major audio errors</source>
- <translation>严重 游戏运行时出现严重的音频错误</translation>
+ <translation>嚴重 遊戲運行時出現嚴重的音訊錯誤</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="346"/>
<source>Minor The game has minor audio errors</source>
- <translation>轻微 游戏运行时出现轻微的音频错误</translation>
+ <translation>輕微 遊戲運行時出現輕微的音訊錯誤</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="353"/>
<source>None Audio is played perfectly</source>
- <translation>完美 游戏运行时音频未出现任何问题</translation>
+ <translation>完美 遊戲運行時音訊未出現任何問題</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="365"/>
<source>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Does the game have any audio glitches / missing effects?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</source>
- <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;游戏是否出现音频故障/效果缺失?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
+ <translation>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;遊戲是否出現音訊問題/特效消失?&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</translation>
</message>
<message>
<location filename="../../src/yuzu/compatdb.ui" line="389"/>
@@ -366,78 +366,32 @@ This would ban both their forum username and their IP address.</source>
</message>
</context>
<context>
- <name>ConfigureAudio</name>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
- <source>Audio</source>
- <translation>音訊</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="28"/>
- <source>Output Engine:</source>
- <translation>輸出引擎:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="42"/>
- <source>Output Device:</source>
- <translation>輸出裝置:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="56"/>
- <source>Input Device:</source>
- <translation>輸入裝置:</translation>
- </message>
+ <name>ConfigurationShared</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="70"/>
- <source>Sound Output Mode:</source>
- <translation>音訊輸出模式:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="78"/>
- <source>Mono</source>
- <translation>單聲道</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="83"/>
- <source>Stereo</source>
- <translation>立體聲</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="88"/>
- <source>Surround</source>
- <translation>環繞音效</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="114"/>
- <source>Use global volume</source>
- <translation>使用全域音量</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="119"/>
- <source>Set volume:</source>
- <translation>音量:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="127"/>
- <source>Volume:</source>
- <translation>音量:</translation>
+ <location filename="../../src/yuzu/configuration/shared_widget.cpp" line="63"/>
+ <source>%</source>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="172"/>
- <source>0 %</source>
- <translation>0 %</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="319"/>
+ <source>Auto (%1)</source>
+ <comment>Auto select time zone</comment>
+ <translation>自動 (%1)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.ui" line="187"/>
- <source>Mute audio when in background</source>
- <translation>模擬器在背景執行時靜音</translation>
+ <location filename="../../src/yuzu/configuration/shared_translation.cpp" line="323"/>
+ <source>Default (%1)</source>
+ <comment>Default time zone</comment>
+ <translation>預設 (%1)</translation>
</message>
+</context>
+<context>
+ <name>ConfigureAudio</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_audio.cpp" line="115"/>
- <source>%1%</source>
- <comment>Volume percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="14"/>
+ <location filename="../../src/yuzu/configuration/configure_audio.ui" line="20"/>
+ <source>Audio</source>
+ <translation>音訊</translation>
</message>
</context>
<context>
@@ -445,17 +399,17 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_camera.ui" line="14"/>
<source>Configure Infrared Camera</source>
- <translation>配置红外摄像头</translation>
+ <translation>配置红外線攝影機</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_camera.ui" line="26"/>
<source>Select where the image of the emulated camera comes from. It may be a virtual camera or a real camera.</source>
- <translation>选择模拟摄像头的图像来源。它可以是虚拟摄像头或一个真实的摄像头。</translation>
+ <translation>選擇模擬攝影機的影像來源。它可以是虛擬攝影機或一個真實的攝影機。</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_camera.ui" line="52"/>
<source>Camera Image Source:</source>
- <translation>相機圖像來源:</translation>
+ <translation>相機影像來源:</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_camera.ui" line="71"/>
@@ -501,139 +455,25 @@ This would ban both their forum username and their IP address.</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="25"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="28"/>
<source>General</source>
<translation>一般</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="34"/>
- <source>Accuracy:</source>
- <translation>精度:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="42"/>
- <source>Auto</source>
- <translation>自動</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="47"/>
- <source>Accurate</source>
- <translation>高精度</translation>
- </message>
- <message>
<location filename="../../src/yuzu/configuration/configure_cpu.ui" line="52"/>
- <source>Unsafe</source>
- <translation>低精度</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="57"/>
- <source>Paranoid (disables most optimizations)</source>
- <translation>偏执模式 (禁用绝大多数优化项)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="68"/>
<source>We recommend setting accuracy to &quot;Auto&quot;.</source>
<translation>建議使用「自動」選項</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="65"/>
<source>Unsafe CPU Optimization Settings</source>
- <translation>低精度CPU效能改善選項</translation>
+ <translation>低精度 CPU 最佳化選項</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="91"/>
+ <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="71"/>
<source>These settings reduce accuracy for speed.</source>
<translation>這些設定會降低精度以換取效能</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="101"/>
- <source>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;此選項在不支援 FMA 的 CPU 上透過降低加、乘法混合指令的精度來提高效能。&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="106"/>
- <source>Unfuse FMA (improve performance on CPUs without FMA)</source>
- <translation>不使用 FMA 指令集(能使不支援 FMA 指令集的 CPU 提高效能)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="113"/>
- <source>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;此選項使用低精度的原生求近似值法來提高某些計算近似浮點數函式的速度。&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="118"/>
- <source>Faster FRSQRTE and FRECPE</source>
- <translation>更快的 FRSQRTE 和 FRECPE</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="125"/>
- <source>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;此選項使用不精確的四捨五入,能提高 32 位元 ASIMD 浮點數函式的速度。&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="130"/>
- <source>Faster ASIMD instructions (32 bits only)</source>
- <translation>快速 ASIMD 指令(僅限 32 位元)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="137"/>
- <source>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;此選項停用 NaN 檢查以提高效能,但同時也會降低特定浮點指令的精度。&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="142"/>
- <source>Inaccurate NaN handling</source>
- <translation>低精度 NaN 處理</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="149"/>
- <source>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </source>
- <translation>
- &lt;div&gt;此選項不執行每次模擬記憶體讀寫前的安全檢查以提高速度。停用此選項可能會允許遊戲讀寫模擬器記憶體。&lt;/div&gt;
- </translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="154"/>
- <source>Disable address space checks</source>
- <translation>停用位址空間檢查</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="161"/>
- <source>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </source>
- <translation>
-&lt;div&gt;此选项仅通过 cmpxchg 指令来提高速度,以确保独占访问指令的安全性。请注意,这可能会导致死锁和其他问题。&lt;/div&gt;
-</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="166"/>
- <source>Ignore global monitor</source>
- <translation>忽略全局监视器</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_cpu.ui" line="191"/>
- <source>CPU settings are available only when game is not running.</source>
- <translation>僅在遊戲未執行時才能調整 CPU 設定</translation>
- </message>
</context>
<context>
<name>ConfigureCpuDebug</name>
@@ -650,7 +490,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="25"/>
<source>Toggle CPU Optimizations</source>
- <translation>切換 CPU 效能改善選項</translation>
+ <translation>切換 CPU 最佳化</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="31"/>
@@ -672,7 +512,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="48"/>
<source>Enable inline page tables</source>
- <translation>Enable inline page tables</translation>
+ <translation>啟用內嵌分頁表</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="55"/>
@@ -686,7 +526,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="60"/>
<source>Enable block linking</source>
- <translation>Enable block linking</translation>
+ <translation>啟用區塊連結</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="67"/>
@@ -790,7 +630,7 @@ This would ban both their forum username and their IP address.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="147"/>
<source>Enable Host MMU Emulation (general memory instructions)</source>
- <translation>启用宿主机 MMU 仿真 (通用内存指令)</translation>
+ <translation>啟用主機 MMU 仿真 (通用記憶體指令)</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="154"/>
@@ -800,15 +640,15 @@ This would ban both their forum username and their IP address.</source>
&lt;div style=&quot;white-space: nowrap&quot;&gt;Disabling this forces all exclusive memory accesses to use Software MMU Emulation.&lt;/div&gt;
</source>
<translation>
- &lt;div style=&quot;white-space: nowrap&quot;&gt;此优化能提高正在运行的游戏对独占内存的访问速度。&lt;/div&gt;
- &lt;div style=&quot;white-space: nowrap&quot;&gt;启用此选项可使模拟独占内存的读/写直接在内存中进行,并利用主机的 MMU 机制。&lt;/div&gt;
- &lt;div style=&quot;white-space: nowrap&quot;&gt;禁用此功能将迫使所有的独占内存访问都通过软件 MMU 进行模拟。&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;此優化能提高正在運行的遊戲對專屬記憶體的存取速度。&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;啟用此選項可使模擬專屬記憶體的讀/寫直接在記憶體中進行,並利用主機的 MMU 機制。&lt;/div&gt;
+ &lt;div style=&quot;white-space: nowrap&quot;&gt;禁用此功能將迫使所有的專屬記憶體存取都透過軟體 MMU 進行模擬。&lt;/div&gt;
</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="161"/>
<source>Enable Host MMU Emulation (exclusive memory instructions)</source>
- <translation>启用主机 MMU 仿真 (独占内存指令)</translation>
+ <translation>啟用主機 MMU 仿真 (專屬記憶體指令)</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="168"/>
@@ -817,14 +657,14 @@ This would ban both their forum username and their IP address.</source>
&lt;div style=&quot;white-space: nowrap&quot;&gt;Enabling it reduces the overhead of fastmem failure of exclusive memory accesses.&lt;/div&gt;
</source>
<translation>
-&lt;div style=&quot;white-space: nowrap&quot;&gt;此优化能提高正在运行的游戏对独占内存的访问速度。&lt;/div&gt;
-&lt;div style=&quot;white-space: nowrap&quot;&gt;启用此功能将减少独占内存访问条件下 fastmem 机制失败带来的性能开销。&lt;/div&gt;
+&lt;div style=&quot;white-space: nowrap&quot;&gt;此優化能提高正在運行的遊戲對專屬記憶體的存取速度。&lt;/div&gt;
+&lt;div style=&quot;white-space: nowrap&quot;&gt;啟用此功能將減少專屬記憶體存取條件下 fastmem 機制失敗帶來的性能損耗。&lt;/div&gt;
</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="174"/>
<source>Enable recompilation of exclusive memory instructions</source>
- <translation>启用独占内存指令的重新编译</translation>
+ <translation>啟用專屬記憶體指令的重新編譯</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_cpu_debug.ui" line="181"/>
@@ -851,222 +691,227 @@ This would ban both their forum username and their IP address.</source>
<context>
<name>ConfigureDebug</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="15"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="40"/>
<source>Debugger</source>
<translation>偵錯工具</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="85"/>
<source>Enable GDB Stub</source>
<translation>开启 GDB 调试</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="43"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="119"/>
<source>Port:</source>
<translation>通訊埠:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="157"/>
<source>Logging</source>
<translation>紀錄</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="75"/>
- <source>Global Log Filter</source>
- <translation>全域紀錄篩選器</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="87"/>
- <source>Show Log in Console</source>
- <translation>在終端機中顯示紀錄</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="94"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="163"/>
<source>Open Log Location</source>
<translation>開啟紀錄位置</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="104"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="197"/>
+ <source>Global Log Filter</source>
+ <translation>全域紀錄篩選器</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="213"/>
<source>When checked, the max size of the log increases from 100 MB to 1 GB</source>
<translation>啟用後紀錄檔案大小上限從 100MB 增加到 1GB</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="107"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="216"/>
<source>Enable Extended Logging**</source>
<translation>啟用延伸紀錄**</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="117"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="223"/>
+ <source>Show Log in Console</source>
+ <translation>在終端機中顯示紀錄</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="235"/>
<source>Homebrew</source>
<translation>Homebrew</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="125"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="243"/>
<source>Arguments String</source>
<translation>參數字串</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="140"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="260"/>
<source>Graphics</source>
<translation>圖形</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="149"/>
- <source>When checked, the graphics API enters a slower debugging mode</source>
- <translation>啟用時圖形 API 會進入較慢的偵錯模式。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="152"/>
- <source>Enable Graphics Debugging</source>
- <translation>啟用圖形偵錯</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="159"/>
- <source>When checked, it enables Nsight Aftermath crash dumps</source>
- <translation>啟用時 yuzu 將會儲存 Nsight Aftermath 格式的錯誤傾印檔案。</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="266"/>
+ <source>When checked, it executes shaders without loop logic changes</source>
+ <translation>啟用時 yuzu 在執行著色器時,不會修改循環結構的條件判斷。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="162"/>
- <source>Enable Nsight Aftermath</source>
- <translation>啟用 Nsight Aftermath</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="269"/>
+ <source>Disable Loop safety checks</source>
+ <translation>停用循環安全檢查</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="172"/>
- <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
- <translation>啟用時,將從磁碟著色器快娶或遊戲中轉儲所有的著色器檔案。</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="279"/>
+ <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
+ <translation>停用macro HLE,將會降低遊戲效能。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="175"/>
- <source>Dump Game Shaders</source>
- <translation>傾印遊戲著色器</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="282"/>
+ <source>Disable Macro HLE</source>
+ <translation>停用macro HLE</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="185"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="292"/>
<source>When checked, it will dump all the macro programs of the GPU</source>
<translation>选中后,将转储 GPU 的所有宏程序</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="188"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="295"/>
<source>Dump Maxwell Macros</source>
<translation>转储 Maxwell 宏</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="198"/>
- <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
- <translation>啟用時將停用 Macro Just In Time 編譯器,會使得效能降低。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="201"/>
- <source>Disable Macro JIT</source>
- <translation>停用 Macro JIT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="211"/>
- <source>When checked, it disables the macro HLE functions. Enabling this makes games run slower</source>
- <translation>停用macro HLE,將會降低遊戲效能。</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="302"/>
+ <source>When checked, it enables Nsight Aftermath crash dumps</source>
+ <translation>啟用時 yuzu 將會儲存 Nsight Aftermath 格式的錯誤傾印檔案。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="214"/>
- <source>Disable Macro HLE</source>
- <translation>停用macro HLE</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="305"/>
+ <source>Enable Nsight Aftermath</source>
+ <translation>啟用 Nsight Aftermath</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="312"/>
<source>When checked, yuzu will log statistics about the compiled pipeline cache</source>
<translation>啟用時 yuzu 將記錄有關編譯著色器快取的統計資訊。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="224"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="315"/>
<source>Enable Shader Feedback</source>
<translation>啟用著色器回饋</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="231"/>
- <source>When checked, it executes shaders without loop logic changes</source>
- <translation>啟用時 yuzu 在執行著色器時,不會修改循環結構的條件判斷。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="234"/>
- <source>Disable Loop safety checks</source>
- <translation>停用循環安全檢查</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
+ <source>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</source>
+ <translation>啟用時將停用 Macro Just In Time 編譯器,會使得效能降低。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="244"/>
- <source>Debugging</source>
- <translation>偵錯</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="328"/>
+ <source>Disable Macro JIT</source>
+ <translation>停用 Macro JIT</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="250"/>
- <source>Enable Verbose Reporting Services**</source>
- <translation>啟用詳細報告服務</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="354"/>
+ <source>When checked, the graphics API enters a slower debugging mode</source>
+ <translation>啟用時圖形 API 會進入較慢的偵錯模式。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="257"/>
- <source>Enable FS Access Log</source>
- <translation>啟用檔案系統存取記錄</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="357"/>
+ <source>Enable Graphics Debugging</source>
+ <translation>啟用圖形偵錯</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="264"/>
- <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
- <translation>启用此选项会将最新的音频命令列表输出到控制台。只影响使用音频渲染器的游戏。</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="367"/>
+ <source>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</source>
+ <translation>啟用時,將從磁碟著色器快娶或遊戲中轉儲所有的著色器檔案。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="267"/>
- <source>Dump Audio Commands To Console**</source>
- <translation>将音频命令转储至控制台**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="370"/>
+ <source>Dump Game Shaders</source>
+ <translation>傾印遊戲著色器</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="274"/>
- <source>Create Minidump After Crash</source>
- <translation>微型故障转储</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="377"/>
+ <source>Enable Renderdoc Hotkey</source>
+ <translation>启用 Renderdoc 图形调试器热键</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="284"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="387"/>
<source>Advanced</source>
<translation>進階</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="290"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="393"/>
+ <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
+ <translation>允许 yuzu 在启动时检查 Vulkan 环境是否正常工作。如果是其他程序导致 yuzu 出现此问题,请禁用此选项。</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="396"/>
+ <source>Perform Startup Vulkan Check</source>
+ <translation>启动时进行 Vulkan 检测</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="403"/>
+ <source>Disable Web Applet</source>
+ <translation>停用 Web Applet</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="410"/>
+ <source>Enable All Controller Types</source>
+ <translation>启用其他控制器</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="417"/>
+ <source>Enable Auto-Stub**</source>
+ <translation>啟用自動偵錯**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="424"/>
<source>Kiosk (Quest) Mode</source>
<translation>Kiosk (Quest) 模式</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="297"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="431"/>
<source>Enable CPU Debugging</source>
<translation>啟用 CPU 模擬偵錯</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="304"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="438"/>
<source>Enable Debug Asserts</source>
<translation>啟用偵錯</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="311"/>
- <source>Enable Auto-Stub**</source>
- <translation>啟用自動偵錯**</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="464"/>
+ <source>Debugging</source>
+ <translation>偵錯</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="318"/>
- <source>Enable All Controller Types</source>
- <translation>启用其他控制器</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="470"/>
+ <source>Enable FS Access Log</source>
+ <translation>啟用檔案系統存取記錄</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="325"/>
- <source>Disable Web Applet</source>
- <translation>停用 Web Applet</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="477"/>
+ <source>Create Minidump After Crash</source>
+ <translation>微型故障转储</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="332"/>
- <source>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</source>
- <translation>允许 yuzu 在启动时检查 Vulkan 环境是否正常工作。如果是其他程序导致 yuzu 出现此问题,请禁用此选项。</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="484"/>
+ <source>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</source>
+ <translation>启用此选项会将最新的音频命令列表输出到控制台。只影响使用音频渲染器的游戏。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="335"/>
- <source>Perform Startup Vulkan Check</source>
- <translation>启动时进行 Vulkan 检测</translation>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="487"/>
+ <source>Dump Audio Commands To Console**</source>
+ <translation>将音频命令转储至控制台**</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="494"/>
+ <source>Enable Verbose Reporting Services**</source>
+ <translation>啟用詳細報告服務</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.ui" line="350"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.ui" line="546"/>
<source>**This will be reset automatically when yuzu closes.</source>
<translation>**當 yuzu 關閉時會自動重設。</translation>
</message>
@@ -1081,12 +926,12 @@ This would ban both their forum username and their IP address.</source>
<translation>yuzu 需要重新啟動以套用此設定。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="90"/>
<source>Web applet not compiled</source>
<translation>Web 小程式未編譯</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/configure_debug.cpp" line="97"/>
<source>MiniDump creation not compiled</source>
<translation>小型转储创建未编译</translation>
</message>
@@ -1136,78 +981,83 @@ This would ban both their forum username and their IP address.</source>
<translation>yuzu 設定</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="159"/>
+ <location filename="../../src/yuzu/configuration/configure.ui" line="67"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>只有当游戏不在运行时,某些设置项才可用。</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="168"/>
<source>Audio</source>
<translation>音訊</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="57"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="157"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="166"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="58"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
<source>Debug</source>
<translation>偵錯</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="59"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
<source>Filesystem</source>
<translation>檔案系統</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="60"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="153"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="162"/>
<source>General</source>
<translation>一般</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="61"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="158"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="167"/>
<source>Graphics</source>
<translation>圖形</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="62"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
<source>GraphicsAdvanced</source>
<translation>進階圖形</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="63"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
<source>Hotkeys</source>
<translation>快速鍵</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="64"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="160"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="169"/>
<source>Controls</source>
<translation>控制</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="71"/>
<source>Profiles</source>
<translation>設定檔</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="72"/>
<source>Network</source>
<translation>網路</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="67"/>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="73"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="164"/>
<source>System</source>
<translation>系統</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="74"/>
<source>Game List</source>
<translation>遊戲清單</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_dialog.cpp" line="75"/>
<source>Web</source>
<translation>網路服務</translation>
</message>
@@ -1366,57 +1216,17 @@ This would ban both their forum username and their IP address.</source>
<translation>一般</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="35"/>
- <source>Limit Speed Percent</source>
- <translation>執行速度限制</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="42"/>
- <source>%</source>
- <translation>%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="60"/>
- <source>Multicore CPU Emulation</source>
- <translation>多核心 CPU 模擬</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="67"/>
- <source>Confirm exit while emulation is running</source>
- <translation>退出遊戲時需要確認</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="74"/>
- <source>Prompt for user on game boot</source>
- <translation>啟動遊戲時提示選擇使用者</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="81"/>
- <source>Pause emulation when in background</source>
- <translation>模擬器在背景執行時暫停</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="88"/>
- <source>Hide mouse on inactivity</source>
- <translation>滑鼠閒置時自動隱藏</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="95"/>
- <source>Disable controller applet</source>
- <translation>禁用控制器程序</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_general.ui" line="137"/>
+ <location filename="../../src/yuzu/configuration/configure_general.ui" line="82"/>
<source>Reset All Settings</source>
<translation>重設所有設定</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="70"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_general.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_general.cpp" line="71"/>
<source>This reset all settings and remove all per-game configurations. This will not delete game directories, profiles, or input profiles. Proceed?</source>
<translation>這將重設所有遊戲的額外設定,但不會刪除遊戲資料夾、使用者設定檔、輸入設定檔,是否繼續?</translation>
</message>
@@ -1439,311 +1249,43 @@ This would ban both their forum username and their IP address.</source>
<translation>API 設定</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="64"/>
- <source>Shader Backend:</source>
- <translation>著色器後端:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="92"/>
- <source>Device:</source>
- <translation>裝置:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="120"/>
- <source>API:</source>
- <translation>API:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="144"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="535"/>
- <source>None</source>
- <translation>無</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="167"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="58"/>
<source>Graphics Settings</source>
<translation>圖形設定</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="173"/>
- <source>Use disk pipeline cache</source>
- <translation>使用硬碟管線快取</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="180"/>
- <source>Use asynchronous GPU emulation</source>
- <translation>使用非同步 CPU 模擬</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="187"/>
- <source>Accelerate ASTC texture decoding</source>
- <translation>加速 ASTC 材質解碼</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="209"/>
- <source>VSync Mode:</source>
- <translation>垂直同步模式:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="216"/>
- <source>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</source>
- <translation>FIFO (垂直同步)不会掉帧或产生画面撕裂,但受到屏幕刷新率的限制。
-FIFO Relaxed 类似于 FIFO,但允许从低 FPS 恢复时产生撕裂。
-Mailbox 具有比 FIFO 更低的延迟,不会产生撕裂但可能会掉帧。
-Immediate (无同步)只显示可用内容,并可能产生撕裂。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="247"/>
- <source>NVDEC emulation:</source>
- <translation>NVDEC 模擬方式:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="255"/>
- <source>No Video Output</source>
- <translation>無視訊輸出</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="260"/>
- <source>CPU Video Decoding</source>
- <translation>CPU 視訊解碼</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="265"/>
- <source>GPU Video Decoding (Default)</source>
- <translation>GPU 視訊解碼(預設)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="291"/>
- <source>Fullscreen Mode:</source>
- <translation>全螢幕模式:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="299"/>
- <source>Borderless Windowed</source>
- <translation>無邊框視窗</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="304"/>
- <source>Exclusive Fullscreen</source>
- <translation>全螢幕獨占</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="330"/>
- <source>Aspect Ratio:</source>
- <translation>長寬比:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="338"/>
- <source>Default (16:9)</source>
- <translation>預設 (16:9)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="343"/>
- <source>Force 4:3</source>
- <translation>強制 4:3</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="348"/>
- <source>Force 21:9</source>
- <translation>強制 21:9</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="353"/>
- <source>Force 16:10</source>
- <translation>強制 16:10</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="358"/>
- <source>Stretch to Window</source>
- <translation>延伸視窗</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="384"/>
- <source>Resolution:</source>
- <translation>解析度:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="392"/>
- <source>0.5X (360p/540p) [EXPERIMENTAL]</source>
- <translation>0.5X (360p/540p) [實驗性]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="397"/>
- <source>0.75X (540p/810p) [EXPERIMENTAL]</source>
- <translation>0.75X (540p/810p) [實驗性]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="402"/>
- <source>1X (720p/1080p)</source>
- <translation>1X (720p/1080p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="407"/>
- <source>1.5X (1080p/1620p) [EXPERIMENTAL]</source>
- <translation>1.5X (1080p/1620p) [實驗性]</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="412"/>
- <source>2X (1440p/2160p)</source>
- <translation>2X (1440p/2160p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="417"/>
- <source>3X (2160p/3240p)</source>
- <translation>3X (2160p/3240p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="422"/>
- <source>4X (2880p/4320p)</source>
- <translation>4X (2880p/4320p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="427"/>
- <source>5X (3600p/5400p)</source>
- <translation>5X (3600p/5400p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="432"/>
- <source>6X (4320p/6480p)</source>
- <translation>6X (4320p/6480p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="437"/>
- <source>7X (5040p/7560p)</source>
- <translation>7X (5040p/7560p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="442"/>
- <source>8X (5760p/8640p)</source>
- <translation>8X (5760p/8640p)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="468"/>
- <source>Window Adapting Filter:</source>
- <translation>視窗濾鏡:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="476"/>
- <source>Nearest Neighbor</source>
- <translation>最近鄰域</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="481"/>
- <source>Bilinear</source>
- <translation>雙線性</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="486"/>
- <source>Bicubic</source>
- <translation>雙三次</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="491"/>
- <source>Gaussian</source>
- <translation>高斯</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="496"/>
- <source>ScaleForce</source>
- <translation>強制縮放</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="501"/>
- <source>AMD FidelityFX™️ Super Resolution</source>
- <translation>AMD FidelityFX™️ 超級解析度技術</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="527"/>
- <source>Anti-Aliasing Method:</source>
- <translation>抗鋸齒方式:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="540"/>
- <source>FXAA</source>
- <translation>FXAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="545"/>
- <source>SMAA</source>
- <translation>SMAA</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="601"/>
- <source>Use global FSR Sharpness</source>
- <translation>啟用全域 FSR 清晰度</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="606"/>
- <source>Set FSR Sharpness</source>
- <translation>設定 FSR 清晰度</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="620"/>
- <source>FSR Sharpness:</source>
- <translation>FSR 清晰度:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="687"/>
- <source>100%</source>
- <translation>100%</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="726"/>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="736"/>
- <source>Use global background color</source>
- <translation>使用全域背景顏色</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="741"/>
- <source>Set background color:</source>
- <translation>設定背景顏色:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="749"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.ui" line="103"/>
<source>Background Color:</source>
<translation>背景顏色:</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="89"/>
- <source>GLASM (Assembly Shaders, NVIDIA Only)</source>
- <translation>GLASM(組合語言著色器,僅限 NVIDIA)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="90"/>
- <source>SPIR-V (Experimental, Mesa Only)</source>
- <translation>SPIR-V (實驗性,僅 Mesa)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="294"/>
- <source>%1%</source>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="259"/>
+ <source>%</source>
<comment>FSR sharpening percentage (e.g. 50%)</comment>
- <translation>%1%</translation>
+ <translation>%</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="302"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="372"/>
<source>Off</source>
<translation>關閉</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="303"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="373"/>
<source>VSync Off</source>
<translation>垂直同步關</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="305"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="375"/>
<source>Recommended</source>
<translation>推薦</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="308"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="378"/>
<source>On</source>
<translation>開啟</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="309"/>
+ <location filename="../../src/yuzu/configuration/configure_graphics.cpp" line="379"/>
<source>VSync On</source>
<translation>垂直同步開</translation>
</message>
@@ -1765,163 +1307,6 @@ Immediate (无同步)只显示可用内容,并可能产生撕裂。</translati
<source>Advanced Graphics Settings</source>
<translation>進階圖形設定</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="46"/>
- <source>Accuracy Level:</source>
- <translation>精度:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="90"/>
- <source>ASTC recompression:</source>
- <translation>ASTC 重新壓縮:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="98"/>
- <source>Uncompressed (Best quality)</source>
- <translation>不壓縮 (最高品質)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="103"/>
- <source>BC1 (Low quality)</source>
- <translation>BC1 (低品質)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="108"/>
- <source>BC3 (Medium quality)</source>
- <translation>BC3 (中品質)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="119"/>
- <source>Enable asynchronous presentation (Vulkan only)</source>
- <translation>启用异步帧提交 (仅限 Vulkan)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="126"/>
- <source>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</source>
- <translation>在后台运行的同时等待图形命令,以防止 GPU 降低时钟速度。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="129"/>
- <source>Force maximum clocks (Vulkan only)</source>
- <translation>强制最大时钟 (仅限 Vulkan 模式)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="136"/>
- <source>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</source>
- <translation>启用异步 ASTC 纹理解码,可能减少加载时的卡顿。实验性功能。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="139"/>
- <source>Decode ASTC textures asynchronously (Hack)</source>
- <translation>异步 ASTC 纹理解码 (不稳定)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="146"/>
- <source>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</source>
- <translation>使用反应性刷新取代预测性刷新,从而更精确地同步内存。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="149"/>
- <source>Enable Reactive Flushing</source>
- <translation>启用反应性刷新</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="156"/>
- <source>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</source>
- <translation>啟用非同步著色器編譯,可能會減少著色器不流暢的問題。實驗性功能。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="159"/>
- <source>Use asynchronous shader building (Hack)</source>
- <translation>使用非同步著色器編譯(不穩定)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="166"/>
- <source>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</source>
- <translation>啟用快速 GPU 時間。此選項將強制大多數遊戲以其最高解析度執行。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="169"/>
- <source>Use Fast GPU Time (Hack)</source>
- <translation>使用快速 GPU 時間(不穩定)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="176"/>
- <source>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</source>
- <translation>启用 GPU 专用的管线缓存。在 Vulkan 驱动程序内部不存储管线缓存的情况下,此选项可显著提高着色器加载速度。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="179"/>
- <source>Use Vulkan pipeline cache</source>
- <translation>启用 Vulkan 管线缓存</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="186"/>
- <source>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</source>
- <translation>启用某些游戏所需的计算管线。此选项仅适用于英特尔专有驱动程序。如果启用,可能会造成崩溃。
-在其他的驱动程序上将始终启用计算管线。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="190"/>
- <source>Enable Compute Pipelines (Intel Vulkan only)</source>
- <translation>启用计算管线 (仅限 Intel 显卡 Vulkan 模式)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="197"/>
- <source>Run the game at normal speed during video playback, even when the framerate is unlocked.</source>
- <translation>在视频播放期间以正常速度运行游戏,即使帧率未锁定。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="200"/>
- <source>Sync to framerate of video playback</source>
- <translation>播放视频时帧率同步</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="207"/>
- <source>Improves rendering of transparency effects in specific games.</source>
- <translation>改进某些游戏中透明效果的渲染。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="210"/>
- <source>Barrier feedback loops</source>
- <translation>屏障反馈循环</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="232"/>
- <source>Anisotropic Filtering:</source>
- <translation>各向異性過濾:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="240"/>
- <source>Automatic</source>
- <translation>自動</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="245"/>
- <source>Default</source>
- <translation>預設</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="250"/>
- <source>2x</source>
- <translation>2x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="255"/>
- <source>4x</source>
- <translation>4x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="260"/>
- <source>8x</source>
- <translation>8x</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_graphics_advanced.ui" line="265"/>
- <source>16x</source>
- <translation>16x</translation>
- </message>
</context>
<context>
<name>ConfigureHotkeys</name>
@@ -2688,7 +2073,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<translation>鼠标平移</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3124"/>
+ <location filename="../../src/yuzu/configuration/configure_input_player.ui" line="3109"/>
<source>Configure</source>
<translation>設定</translation>
</message>
@@ -2759,7 +2144,7 @@ Compute pipelines are always enabled on all other drivers.</source>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="483"/>
<source>Calibrate sensor</source>
- <translation>校准传感器</translation>
+ <translation>校正感應器</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_input_player.cpp" line="523"/>
@@ -3116,13 +2501,13 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="12"/>
- <source>Enable</source>
- <translation>啟用</translation>
+ <source>Enable mouse panning</source>
+ <translation>啟用滑鼠平移</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="15"/>
- <source>Can be toggled via a hotkey</source>
- <translation>可通过热键进行切换</translation>
+ <source>Can be toggled via a hotkey. Default hotkey is Ctrl + F9</source>
+ <translation>可通过热键来切换。默认的热键为 Ctrl + F9</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="24"/>
@@ -3131,7 +2516,6 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="30"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
<source>Horizontal</source>
<translation>水平方向</translation>
</message>
@@ -3139,15 +2523,13 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="40"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="66"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="104"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="130"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="139"/>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="165"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="191"/>
<source>%</source>
<translation>%</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="56"/>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="120"/>
<source>Vertical</source>
<translation>垂直方向</translation>
</message>
@@ -3162,25 +2544,52 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<translation>调整游戏内置的死区范围</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="149"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="94"/>
+ <source>Deadzone</source>
+ <translation>死区</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="123"/>
<source>Stick decay</source>
<translation>摇杆老化</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="129"/>
<source>Strength</source>
<translation>强烈程度</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="181"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="155"/>
<source>Minimum</source>
<translation>最小值</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="221"/>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.ui" line="195"/>
<source>Default</source>
<translation>預設</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="43"/>
+ <source>Mouse panning works better with a deadzone of 0% and a range of 100%.
+Current values are %1% and %2% respectively.</source>
+ <translation>鼠标平移在死区设置为 0% 和灵敏度设置为 100% 时效果更好。
+当前值分别为 %1% 和 %2% 。</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="50"/>
+ <source>Emulated mouse is enabled. This is incompatible with mouse panning.</source>
+ <translation>已启用模拟鼠标。模拟鼠标与鼠标平移不兼容。</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="83"/>
+ <source>Emulated mouse is enabled</source>
+ <translation>模擬滑鼠已啟用</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_mouse_panning.cpp" line="84"/>
+ <source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
+ <translation>实体鼠标输入与鼠标平移不兼容。请在高级输入设置中禁用模拟鼠标以使用鼠标平移。</translation>
+ </message>
</context>
<context>
<name>ConfigureNetwork</name>
@@ -3213,100 +2622,95 @@ To invert the axes, first move your joystick vertically, and then horizontally.<
<context>
<name>ConfigurePerGame</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="12"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="20"/>
<source>Dialog</source>
<translation>對話框</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="26"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="34"/>
<source>Info</source>
<translation>資訊</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="85"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="93"/>
<source>Name</source>
<translation>名稱</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="92"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="100"/>
<source>Title ID</source>
<translation>遊戲 ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="129"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="137"/>
<source>Filename</source>
<translation>檔案名稱</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="156"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="164"/>
<source>Format</source>
<translation>格式</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="163"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="171"/>
<source>Version</source>
<translation>版本</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="170"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="178"/>
<source>Size</source>
<translation>大小</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="177"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="185"/>
<source>Developer</source>
<translation>出版商</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="62"/>
- <source>Add-Ons</source>
- <translation>延伸模組</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.ui" line="240"/>
+ <source>Some settings are only available when a game is not running.</source>
+ <translation>只有当游戏不在运行时,某些设置项才可用。</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="63"/>
- <source>General</source>
- <translation>一般</translation>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <source>Add-Ons</source>
+ <translation>延伸模組</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="64"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
<source>System</source>
<translation>系統</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="65"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="70"/>
<source>CPU</source>
<translation>CPU</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="66"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="71"/>
<source>Graphics</source>
<translation>圖形</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
<source>Adv. Graphics</source>
<translation>進階圖形</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="68"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="73"/>
<source>Audio</source>
<translation>音訊</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="74"/>
<source>Input Profiles</source>
<translation>輸入設定檔</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="72"/>
+ <location filename="../../src/yuzu/configuration/configure_per_game.cpp" line="77"/>
<source>Properties</source>
<translation>屬性</translation>
</message>
- <message>
- <location filename="../../src/yuzu/configuration/configuration_shared.cpp" line="91"/>
- <source>Use global configuration (%1)</source>
- <translation>使用全域設定 (%1)</translation>
- </message>
</context>
<context>
<name>ConfigurePerGameAddons</name>
@@ -3629,412 +3033,17 @@ UUID: %2</translation>
</message>
<message>
<location filename="../../src/yuzu/configuration/configure_system.ui" line="17"/>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
<source>System</source>
<translation>系統</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="25"/>
- <source>System Settings</source>
- <translation>系統設定</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="33"/>
- <source>Region:</source>
- <translation>區域:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="41"/>
- <source>Auto</source>
- <translation>自動</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="46"/>
- <source>Default</source>
- <translation>預設</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="51"/>
- <source>CET</source>
- <translation>中歐</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="56"/>
- <source>CST6CDT</source>
- <translation>CST6CDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="61"/>
- <source>Cuba</source>
- <translation>古巴</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="66"/>
- <source>EET</source>
- <translation>EET</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="71"/>
- <source>Egypt</source>
- <translation>埃及</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="76"/>
- <source>Eire</source>
- <translation>愛爾蘭</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="81"/>
- <source>EST</source>
- <translation>北美東部</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="86"/>
- <source>EST5EDT</source>
- <translation>EST5EDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="91"/>
- <source>GB</source>
- <translation>英國</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="96"/>
- <source>GB-Eire</source>
- <translation>英國-愛爾蘭</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="101"/>
- <source>GMT</source>
- <translation>GMT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="106"/>
- <source>GMT+0</source>
- <translation>GMT+0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="111"/>
- <source>GMT-0</source>
- <translation>GMT-0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="116"/>
- <source>GMT0</source>
- <translation>GMT0</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="121"/>
- <source>Greenwich</source>
- <translation>格林威治</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="126"/>
- <source>Hongkong</source>
- <translation>香港</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="131"/>
- <source>HST</source>
- <translation>夏威夷</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="136"/>
- <source>Iceland</source>
- <translation>冰島</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="141"/>
- <source>Iran</source>
- <translation>伊朗</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="146"/>
- <source>Israel</source>
- <translation>以色列</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="151"/>
- <source>Jamaica</source>
- <translation>牙買加</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="156"/>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="275"/>
- <source>Japan</source>
- <translation>日本</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="161"/>
- <source>Kwajalein</source>
- <translation>瓜加林環礁</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="166"/>
- <source>Libya</source>
- <translation>利比亞</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="171"/>
- <source>MET</source>
- <translation>中歐</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="176"/>
- <source>MST</source>
- <translation>北美山區</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="181"/>
- <source>MST7MDT</source>
- <translation>MST7MDT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="186"/>
- <source>Navajo</source>
- <translation>納瓦霍</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="191"/>
- <source>NZ</source>
- <translation>紐西蘭</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="196"/>
- <source>NZ-CHAT</source>
- <translation>紐西蘭-查塔姆群島</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="201"/>
- <source>Poland</source>
- <translation>波蘭</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="206"/>
- <source>Portugal</source>
- <translation>葡萄牙</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="211"/>
- <source>PRC</source>
- <translation>中國</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="216"/>
- <source>PST8PDT</source>
- <translation>太平洋</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="221"/>
- <source>ROC</source>
- <translation>臺灣</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="226"/>
- <source>ROK</source>
- <translation>韓國</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="231"/>
- <source>Singapore</source>
- <translation>新加坡</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="236"/>
- <source>Turkey</source>
- <translation>土耳其</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="241"/>
- <source>UCT</source>
- <translation>UCT</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="246"/>
- <source>Universal</source>
- <translation>世界</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="251"/>
- <source>UTC</source>
- <translation>UTC</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="256"/>
- <source>W-SU</source>
- <translation>莫斯科</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="261"/>
- <source>WET</source>
- <translation>西歐</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="266"/>
- <source>Zulu</source>
- <translation>協調世界時</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="280"/>
- <source>USA</source>
- <translation>美國</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="285"/>
- <source>Europe</source>
- <translation>歐洲</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="290"/>
- <source>Australia</source>
- <translation>澳洲</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="295"/>
- <source>China</source>
- <translation>中國</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="300"/>
- <source>Korea</source>
- <translation>韓國</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="305"/>
- <source>Taiwan</source>
- <translation>台灣</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="313"/>
- <source>Time Zone:</source>
- <translation>時區:</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="320"/>
- <source>Note: this can be overridden when region setting is auto-select</source>
- <translation>注意:當“區域”設定是“自動選擇”時,此設定可能會被覆寫。</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="324"/>
- <source>Japanese (日本語)</source>
- <translation>日文 (日本語)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="329"/>
- <source>American English</source>
- <translation>美式英语</translation>
+ <location filename="../../src/yuzu/configuration/configure_system.ui" line="62"/>
+ <source>Core</source>
+ <translation>核心</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="334"/>
- <source>French (français)</source>
- <translation>法文 (français)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="339"/>
- <source>German (Deutsch)</source>
- <translation>德文 (Deutsch)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="344"/>
- <source>Italian (italiano)</source>
- <translation>義大利文 (italiano)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="349"/>
- <source>Spanish (español)</source>
- <translation>西班牙文 (español)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="354"/>
- <source>Chinese</source>
- <translation>中文</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="359"/>
- <source>Korean (한국어)</source>
- <translation>韓文 (한국어)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="364"/>
- <source>Dutch (Nederlands)</source>
- <translation>荷蘭文 (Nederlands)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="369"/>
- <source>Portuguese (português)</source>
- <translation>葡萄牙文 (português)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="374"/>
- <source>Russian (Русский)</source>
- <translation>俄文 (Русский)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="379"/>
- <source>Taiwanese</source>
- <translation>台灣中文</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="384"/>
- <source>British English</source>
- <translation>英式英文</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="389"/>
- <source>Canadian French</source>
- <translation>加拿大法文</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="394"/>
- <source>Latin American Spanish</source>
- <translation>拉丁美洲西班牙文</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="399"/>
- <source>Simplified Chinese</source>
- <translation>簡體中文</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="404"/>
- <source>Traditional Chinese (正體中文)</source>
- <translation>正體中文</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="409"/>
- <source>Brazilian Portuguese (português do Brasil)</source>
- <translation>巴西-葡萄牙語 (português do Brasil)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="417"/>
- <source>Custom RTC</source>
- <translation>自訂時間</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="424"/>
- <source>Language</source>
- <translation>語言</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="431"/>
- <source>RNG Seed</source>
- <translation>隨機種子</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="438"/>
- <source>Device Name</source>
- <translation>裝置名稱</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="484"/>
- <source>Unsafe extended memory layout (8GB DRAM)</source>
- <translation>不安全的内存布局扩展 (8GB DRAM)</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.ui" line="519"/>
- <source>System settings are available only when game is not running.</source>
- <translation>僅在遊戲未執行時才能修改使用者設定檔</translation>
- </message>
- <message>
- <location filename="../../src/yuzu/configuration/configure_system.cpp" line="67"/>
+ <location filename="../../src/yuzu/configuration/configure_system.cpp" line="62"/>
<source>Warning: &quot;%1&quot; is not a valid language for region &quot;%2&quot;</source>
<translation>警告:“ %1 ”并不是“ %2 ”地区的有效语言。</translation>
</message>
@@ -4243,64 +3252,64 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>ConfigureUI</name>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="20"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="28"/>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="40"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="34"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="42"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="54"/>
<source>None</source>
<translation>無</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="21"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="35"/>
<source>Small (32x32)</source>
<translation>小 (32x32)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="22"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
<source>Standard (64x64)</source>
<translation>中 (64x64)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="23"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
<source>Large (128x128)</source>
<translation>大 (128x128)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="24"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
<source>Full Size (256x256)</source>
<translation>更大 (256x256)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="29"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="43"/>
<source>Small (24x24)</source>
<translation>小 (24x24)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="30"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="44"/>
<source>Standard (48x48)</source>
<translation>中 (48x48)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="31"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="45"/>
<source>Large (72x72)</source>
<translation>大 (72x72)</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="36"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="50"/>
<source>Filename</source>
<translation>檔案名稱</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="37"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="51"/>
<source>Filetype</source>
<translation>檔案類型</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="38"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="52"/>
<source>Title ID</source>
<translation>遊戲 ID</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="39"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="53"/>
<source>Title Name</source>
<translation>遊戲名稱</translation>
</message>
@@ -4403,15 +3412,31 @@ Drag points to change position, or double-click table cells to edit values.</sou
<translation>...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="96"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="214"/>
+ <source>TextLabel</source>
+ <translation>文本标签</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.ui" line="233"/>
+ <source>Resolution:</source>
+ <translation>解析度:</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="144"/>
<source>Select Screenshots Path...</source>
<translation>選擇儲存螢幕截圖位置...</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="225"/>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="288"/>
<source>&lt;System&gt;</source>
<translation>&lt;System&gt;</translation>
</message>
+ <message>
+ <location filename="../../src/yuzu/configuration/configure_ui.cpp" line="393"/>
+ <source>Auto (%1 x %2, %3 x %4)</source>
+ <comment>Screenshot width value</comment>
+ <translation>自动 (%1 x %2, %3 x %4)</translation>
+ </message>
</context>
<context>
<name>ConfigureVibration</name>
@@ -4712,12 +3737,12 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>DirectConnectWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="120"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="121"/>
<source>Connecting</source>
<translation>连接中</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="125"/>
+ <location filename="../../src/yuzu/multiplayer/direct_connect.cpp" line="126"/>
<source>Connect</source>
<translation>连接</translation>
</message>
@@ -4725,900 +3750,966 @@ Drag points to change position, or double-click table cells to edit values.</sou
<context>
<name>GMainWindow</name>
<message>
- <location filename="../../src/yuzu/main.cpp" line="199"/>
+ <location filename="../../src/yuzu/main.cpp" line="205"/>
<source>&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;Anonymous data is collected&lt;/a&gt; to help improve yuzu. &lt;br/&gt;&lt;br/&gt;Would you like to share your usage data with us?</source>
<translation>我們&lt;a href=&apos;https://yuzu-emu.org/help/feature/telemetry/&apos;&gt;蒐集匿名的資料&lt;/a&gt;以幫助改善 yuzu。&lt;br/&gt;&lt;br/&gt;您願意和我們分享您的使用資料嗎?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="202"/>
+ <location filename="../../src/yuzu/main.cpp" line="208"/>
<source>Telemetry</source>
<translation>遙測</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="434"/>
+ <location filename="../../src/yuzu/main.cpp" line="441"/>
<source>Broken Vulkan Installation Detected</source>
<translation>检测到 Vulkan 的安装已损坏</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="435"/>
+ <location filename="../../src/yuzu/main.cpp" line="442"/>
<source>Vulkan initialization failed during boot.&lt;br&gt;&lt;br&gt;Click &lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;here for instructions to fix the issue&lt;/a&gt;.</source>
<translation>Vulkan 初始化失败。&lt;br&gt;&lt;br&gt;点击&lt;a href=&apos;https://yuzu-emu.org/wiki/faq/#yuzu-starts-with-the-error-broken-vulkan-installation-detected&apos;&gt;这里&lt;/a&gt;获取此问题的相关信息。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="455"/>
+ <location filename="../../src/yuzu/main.cpp" line="467"/>
<source>Running a game</source>
<extracomment>TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the computer from sleeping</extracomment>
<translation>游戏正在运行</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="836"/>
+ <location filename="../../src/yuzu/main.cpp" line="848"/>
<source>Loading Web Applet...</source>
<translation>載入 Web Applet...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="886"/>
- <location filename="../../src/yuzu/main.cpp" line="889"/>
+ <location filename="../../src/yuzu/main.cpp" line="898"/>
+ <location filename="../../src/yuzu/main.cpp" line="901"/>
<source>Disable Web Applet</source>
<translation>停用 Web Applet</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="890"/>
+ <location filename="../../src/yuzu/main.cpp" line="902"/>
<source>Disabling the web applet can lead to undefined behavior and should only be used with Super Mario 3D All-Stars. Are you sure you want to disable the web applet?
(This can be re-enabled in the Debug settings.)</source>
<translation>禁用 Web 应用程序可能会导致未知的行为,且只能在《超级马里奥 3D 全明星》中使用。您确定要禁用 Web 应用程序吗?
(您可以在调试选项中重新启用它。)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1006"/>
+ <location filename="../../src/yuzu/main.cpp" line="1018"/>
<source>The amount of shaders currently being built</source>
<translation>目前正在建構的著色器數量</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1008"/>
+ <location filename="../../src/yuzu/main.cpp" line="1020"/>
<source>The current selected resolution scaling multiplier.</source>
<translation>目前選擇的解析度縮放比例。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1011"/>
+ <location filename="../../src/yuzu/main.cpp" line="1023"/>
<source>Current emulation speed. Values higher or lower than 100% indicate emulation is running faster or slower than a Switch.</source>
<translation>目前的模擬速度。高於或低於 100% 表示比實際 Switch 執行速度更快或更慢。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1014"/>
+ <location filename="../../src/yuzu/main.cpp" line="1026"/>
<source>How many frames per second the game is currently displaying. This will vary from game to game and scene to scene.</source>
<translation>遊戲即時 FPS。會因遊戲和場景的不同而改變。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1018"/>
+ <location filename="../../src/yuzu/main.cpp" line="1030"/>
<source>Time taken to emulate a Switch frame, not counting framelimiting or v-sync. For full-speed emulation this should be at most 16.67 ms.</source>
<translation>在不考慮幀數限制和垂直同步的情況下模擬一個 Switch 畫格的實際時間,若要全速模擬,此數值不得超過 16.67 毫秒。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Unmute</source>
<translation>取消靜音</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1073"/>
+ <location filename="../../src/yuzu/main.cpp" line="1085"/>
<source>Mute</source>
<translation>靜音</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1078"/>
+ <location filename="../../src/yuzu/main.cpp" line="1090"/>
<source>Reset Volume</source>
<translation>重設音量</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1263"/>
+ <location filename="../../src/yuzu/main.cpp" line="1274"/>
<source>&amp;Clear Recent Files</source>
<translation>清除最近的檔案(&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1345"/>
+ <location filename="../../src/yuzu/main.cpp" line="1361"/>
<source>Emulated mouse is enabled</source>
<translation>模擬滑鼠已啟用</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1346"/>
+ <location filename="../../src/yuzu/main.cpp" line="1362"/>
<source>Real mouse input and mouse panning are incompatible. Please disable the emulated mouse in input advanced settings to allow mouse panning.</source>
<translation>实体鼠标输入与鼠标平移不兼容。请在高级输入设置中禁用模拟鼠标以使用鼠标平移。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1568"/>
+ <location filename="../../src/yuzu/main.cpp" line="1588"/>
<source>&amp;Continue</source>
<translation>繼續(&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1570"/>
+ <location filename="../../src/yuzu/main.cpp" line="1590"/>
<source>&amp;Pause</source>
<translation>&amp;暫停</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1735"/>
+ <location filename="../../src/yuzu/main.cpp" line="1762"/>
<source>Warning Outdated Game Format</source>
<translation>過時遊戲格式警告</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1736"/>
+ <location filename="../../src/yuzu/main.cpp" line="1763"/>
<source>You are using the deconstructed ROM directory format for this game, which is an outdated format that has been superseded by others such as NCA, NAX, XCI, or NSP. Deconstructed ROM directories lack icons, metadata, and update support.&lt;br&gt;&lt;br&gt;For an explanation of the various Switch formats yuzu supports, &lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;check out our wiki&lt;/a&gt;. This message will not be shown again.</source>
<translation>此遊戲為解構的 ROM 資料夾格式,這是一種過時的格式,已被其他格式取代,如 NCA、NAX、XCI、NSP。解構的 ROM 目錄缺少圖示、中繼資料和更新支援。&lt;br&gt;&lt;br&gt;有關 yuzu 支援的各種 Switch 格式說明,&lt;a href=&apos;https://yuzu-emu.org/wiki/overview-of-switch-game-formats&apos;&gt;請參閱我們的 wiki &lt;/a&gt;。此訊息將不再顯示。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1748"/>
- <location filename="../../src/yuzu/main.cpp" line="1782"/>
+ <location filename="../../src/yuzu/main.cpp" line="1775"/>
+ <location filename="../../src/yuzu/main.cpp" line="1809"/>
<source>Error while loading ROM!</source>
<translation>載入 ROM 時發生錯誤!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1749"/>
+ <location filename="../../src/yuzu/main.cpp" line="1776"/>
<source>The ROM format is not supported.</source>
<translation>此 ROM 格式不支援</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1753"/>
+ <location filename="../../src/yuzu/main.cpp" line="1780"/>
<source>An error occurred initializing the video core.</source>
<translation>初始化視訊核心時發生錯誤</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1754"/>
+ <location filename="../../src/yuzu/main.cpp" line="1781"/>
<source>yuzu has encountered an error while running the video core. This is usually caused by outdated GPU drivers, including integrated ones. Please see the log for more details. For more information on accessing the log, please see the following page: &lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;How to Upload the Log File&lt;/a&gt;. </source>
<translation>yuzu 在執行視訊核心時發生錯誤。 這可能是 GPU 驅動程序過舊造成的。 詳細資訊請查閱日誌檔案。 關於日誌檔案的更多資訊,請參考以下頁面:&lt;a href=&apos;https://yuzu-emu.org/help/reference/log-files/&apos;&gt;如何上傳日誌檔案&lt;/a&gt;。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1769"/>
+ <location filename="../../src/yuzu/main.cpp" line="1796"/>
<source>Error while loading ROM! %1</source>
<comment>%1 signifies a numeric error code.</comment>
<translation>載入 ROM 時發生錯誤!%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1772"/>
+ <location filename="../../src/yuzu/main.cpp" line="1799"/>
<source>%1&lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to redump your files.&lt;br&gt;You can refer to the yuzu wiki&lt;/a&gt; or the yuzu Discord&lt;/a&gt; for help.</source>
<comment>%1 signifies an error string.</comment>
<translation>%1&lt;br&gt;請參閱 &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;yuzu 快速指引&lt;/a&gt;以重新傾印檔案。&lt;br&gt;您可以前往 yuzu 的 wiki&lt;/a&gt; 或 Discord 社群&lt;/a&gt;以獲得幫助。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1783"/>
+ <location filename="../../src/yuzu/main.cpp" line="1810"/>
<source>An unknown error occurred. Please see the log for more details.</source>
<translation>發生未知錯誤,請檢視紀錄了解細節。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(64-bit)</source>
<translation>(64-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1926"/>
+ <location filename="../../src/yuzu/main.cpp" line="1991"/>
<source>(32-bit)</source>
<translation>(32-bit)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1927"/>
+ <location filename="../../src/yuzu/main.cpp" line="1992"/>
<source>%1 %2</source>
<comment>%1 is the title name. %2 indicates if the title is 64-bit or 32-bit</comment>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="1985"/>
+ <location filename="../../src/yuzu/main.cpp" line="2058"/>
<source>Closing software...</source>
<translation>正在關閉軟體…</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2137"/>
+ <location filename="../../src/yuzu/main.cpp" line="2210"/>
<source>Save Data</source>
<translation>儲存資料</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2193"/>
+ <location filename="../../src/yuzu/main.cpp" line="2266"/>
<source>Mod Data</source>
<translation>模組資料</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2206"/>
+ <location filename="../../src/yuzu/main.cpp" line="2279"/>
<source>Error Opening %1 Folder</source>
<translation>開啟資料夾 %1 時發生錯誤</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2207"/>
- <location filename="../../src/yuzu/main.cpp" line="2809"/>
+ <location filename="../../src/yuzu/main.cpp" line="2280"/>
+ <location filename="../../src/yuzu/main.cpp" line="2964"/>
<source>Folder does not exist!</source>
<translation>資料夾不存在</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2219"/>
+ <location filename="../../src/yuzu/main.cpp" line="2292"/>
<source>Error Opening Transferable Shader Cache</source>
<translation>開啟通用著色器快取位置時發生錯誤</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2220"/>
+ <location filename="../../src/yuzu/main.cpp" line="2293"/>
<source>Failed to create the shader cache directory for this title.</source>
<translation>無法新增此遊戲的著色器快取資料夾。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2271"/>
+ <location filename="../../src/yuzu/main.cpp" line="2366"/>
<source>Error Removing Contents</source>
<translation>移除內容時發生錯誤</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2273"/>
+ <location filename="../../src/yuzu/main.cpp" line="2368"/>
<source>Error Removing Update</source>
<translation>移除更新時發生錯誤</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2275"/>
+ <location filename="../../src/yuzu/main.cpp" line="2370"/>
<source>Error Removing DLC</source>
<translation>移除 DLC 時發生錯誤</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2284"/>
+ <location filename="../../src/yuzu/main.cpp" line="2379"/>
<source>Remove Installed Game Contents?</source>
<translation>移除已安裝的遊戲內容?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2286"/>
+ <location filename="../../src/yuzu/main.cpp" line="2381"/>
<source>Remove Installed Game Update?</source>
<translation>移除已安裝的遊戲更新?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2288"/>
+ <location filename="../../src/yuzu/main.cpp" line="2383"/>
<source>Remove Installed Game DLC?</source>
<translation>移除已安裝的遊戲 DLC?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2294"/>
+ <location filename="../../src/yuzu/main.cpp" line="2389"/>
<source>Remove Entry</source>
<translation>移除項目</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2325"/>
- <location filename="../../src/yuzu/main.cpp" line="2341"/>
- <location filename="../../src/yuzu/main.cpp" line="2372"/>
- <location filename="../../src/yuzu/main.cpp" line="2440"/>
- <location filename="../../src/yuzu/main.cpp" line="2474"/>
- <location filename="../../src/yuzu/main.cpp" line="2497"/>
+ <location filename="../../src/yuzu/main.cpp" line="2420"/>
+ <location filename="../../src/yuzu/main.cpp" line="2436"/>
+ <location filename="../../src/yuzu/main.cpp" line="2467"/>
+ <location filename="../../src/yuzu/main.cpp" line="2535"/>
+ <location filename="../../src/yuzu/main.cpp" line="2569"/>
+ <location filename="../../src/yuzu/main.cpp" line="2592"/>
<source>Successfully Removed</source>
<translation>移除成功</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2326"/>
+ <location filename="../../src/yuzu/main.cpp" line="2421"/>
<source>Successfully removed the installed base game.</source>
<translation>成功移除已安裝的遊戲。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2330"/>
+ <location filename="../../src/yuzu/main.cpp" line="2425"/>
<source>The base game is not installed in the NAND and cannot be removed.</source>
<translation>此遊戲並非安裝在內部儲存空間,因此無法移除。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2342"/>
+ <location filename="../../src/yuzu/main.cpp" line="2437"/>
<source>Successfully removed the installed update.</source>
<translation>成功移除已安裝的遊戲更新。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2345"/>
+ <location filename="../../src/yuzu/main.cpp" line="2440"/>
<source>There is no update installed for this title.</source>
<translation>此遊戲沒有已安裝的更新。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2368"/>
+ <location filename="../../src/yuzu/main.cpp" line="2463"/>
<source>There are no DLC installed for this title.</source>
<translation>此遊戲沒有已安裝的 DLC。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2373"/>
+ <location filename="../../src/yuzu/main.cpp" line="2468"/>
<source>Successfully removed %1 installed DLC.</source>
<translation>成功移除遊戲 %1 已安裝的 DLC。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2381"/>
+ <location filename="../../src/yuzu/main.cpp" line="2476"/>
<source>Delete OpenGL Transferable Shader Cache?</source>
<translation>刪除 OpenGL 模式的著色器快取?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2383"/>
+ <location filename="../../src/yuzu/main.cpp" line="2478"/>
<source>Delete Vulkan Transferable Shader Cache?</source>
<translation>刪除 Vulkan 模式的著色器快取?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2385"/>
+ <location filename="../../src/yuzu/main.cpp" line="2480"/>
<source>Delete All Transferable Shader Caches?</source>
<translation>刪除所有的著色器快取?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2387"/>
+ <location filename="../../src/yuzu/main.cpp" line="2482"/>
<source>Remove Custom Game Configuration?</source>
<translation>移除額外遊戲設定?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2389"/>
+ <location filename="../../src/yuzu/main.cpp" line="2484"/>
<source>Remove Cache Storage?</source>
<translation>移除快取儲存空間?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2395"/>
+ <location filename="../../src/yuzu/main.cpp" line="2490"/>
<source>Remove File</source>
<translation>刪除檔案</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2435"/>
- <location filename="../../src/yuzu/main.cpp" line="2443"/>
+ <location filename="../../src/yuzu/main.cpp" line="2530"/>
+ <location filename="../../src/yuzu/main.cpp" line="2538"/>
<source>Error Removing Transferable Shader Cache</source>
<translation>刪除通用著色器快取時發生錯誤</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2436"/>
- <location filename="../../src/yuzu/main.cpp" line="2470"/>
+ <location filename="../../src/yuzu/main.cpp" line="2531"/>
+ <location filename="../../src/yuzu/main.cpp" line="2565"/>
<source>A shader cache for this title does not exist.</source>
<translation>此遊戲沒有著色器快取</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2441"/>
+ <location filename="../../src/yuzu/main.cpp" line="2536"/>
<source>Successfully removed the transferable shader cache.</source>
<translation>成功刪除著色器快取。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2444"/>
+ <location filename="../../src/yuzu/main.cpp" line="2539"/>
<source>Failed to remove the transferable shader cache.</source>
<translation>刪除通用著色器快取失敗。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2459"/>
+ <location filename="../../src/yuzu/main.cpp" line="2554"/>
<source>Error Removing Vulkan Driver Pipeline Cache</source>
<translation>移除 Vulkan 驅動程式管線快取時發生錯誤</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2460"/>
+ <location filename="../../src/yuzu/main.cpp" line="2555"/>
<source>Failed to remove the driver pipeline cache.</source>
<translation>無法移除驅動程式管線快取。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2469"/>
- <location filename="../../src/yuzu/main.cpp" line="2477"/>
+ <location filename="../../src/yuzu/main.cpp" line="2564"/>
+ <location filename="../../src/yuzu/main.cpp" line="2572"/>
<source>Error Removing Transferable Shader Caches</source>
<translation>刪除通用著色器快取時發生錯誤</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2475"/>
+ <location filename="../../src/yuzu/main.cpp" line="2570"/>
<source>Successfully removed the transferable shader caches.</source>
<translation>成功刪除通用著色器快取。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2478"/>
+ <location filename="../../src/yuzu/main.cpp" line="2573"/>
<source>Failed to remove the transferable shader cache directory.</source>
<translation>無法刪除著色器快取資料夾。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2491"/>
- <location filename="../../src/yuzu/main.cpp" line="2500"/>
+ <location filename="../../src/yuzu/main.cpp" line="2586"/>
+ <location filename="../../src/yuzu/main.cpp" line="2595"/>
<source>Error Removing Custom Configuration</source>
<translation>移除額外遊戲設定時發生錯誤</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2492"/>
+ <location filename="../../src/yuzu/main.cpp" line="2587"/>
<source>A custom configuration for this title does not exist.</source>
<translation>此遊戲沒有額外設定。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2498"/>
+ <location filename="../../src/yuzu/main.cpp" line="2593"/>
<source>Successfully removed the custom game configuration.</source>
<translation>成功移除額外遊戲設定。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2501"/>
+ <location filename="../../src/yuzu/main.cpp" line="2596"/>
<source>Failed to remove the custom game configuration.</source>
<translation>移除額外遊戲設定失敗。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2523"/>
- <location filename="../../src/yuzu/main.cpp" line="2602"/>
+ <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2706"/>
<source>RomFS Extraction Failed!</source>
<translation>RomFS 抽取失敗!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2524"/>
+ <location filename="../../src/yuzu/main.cpp" line="2619"/>
<source>There was an error copying the RomFS files or the user cancelled the operation.</source>
<translation>複製 RomFS 檔案時發生錯誤或使用者取消動作。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Full</source>
<translation>全部</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2582"/>
+ <location filename="../../src/yuzu/main.cpp" line="2681"/>
<source>Skeleton</source>
<translation>部分</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2584"/>
+ <location filename="../../src/yuzu/main.cpp" line="2683"/>
<source>Select RomFS Dump Mode</source>
<translation>選擇RomFS傾印模式</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2585"/>
+ <location filename="../../src/yuzu/main.cpp" line="2684"/>
<source>Please select the how you would like the RomFS dumped.&lt;br&gt;Full will copy all of the files into the new directory while &lt;br&gt;skeleton will only create the directory structure.</source>
<translation>請選擇如何傾印 RomFS。&lt;br&gt;「全部」會複製所有檔案到新資料夾中,而&lt;br&gt;「部分」只會建立資料夾結構。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2603"/>
+ <location filename="../../src/yuzu/main.cpp" line="2707"/>
<source>There is not enough free space at %1 to extract the RomFS. Please free up space or select a different dump directory at Emulation &gt; Configure &gt; System &gt; Filesystem &gt; Dump Root</source>
<translation>%1 沒有足夠的空間用於抽取 RomFS。請確保有足夠的空間或於模擬 &gt; 設定 &gt;系統 &gt;檔案系統 &gt; 傾印根目錄中選擇其他資料夾。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
<source>Extracting RomFS...</source>
<translation>抽取 RomFS 中...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2610"/>
- <location filename="../../src/yuzu/main.cpp" line="2947"/>
+ <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="3102"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
<source>Cancel</source>
<translation>取消</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2617"/>
+ <location filename="../../src/yuzu/main.cpp" line="2724"/>
<source>RomFS Extraction Succeeded!</source>
<translation>RomFS 抽取完成!</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2618"/>
+ <location filename="../../src/yuzu/main.cpp" line="2725"/>
+ <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="4115"/>
<source>The operation completed successfully.</source>
<translation>動作已成功完成</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2662"/>
- <location filename="../../src/yuzu/main.cpp" line="2686"/>
- <location filename="../../src/yuzu/main.cpp" line="2696"/>
+ <location filename="../../src/yuzu/main.cpp" line="2736"/>
+ <source>Integrity verification couldn&apos;t be performed!</source>
+ <translation>无法执行完整性验证!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2737"/>
+ <source>File contents were not checked for validity.</source>
+ <translation>未检查文件的完整性。</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2740"/>
+ <location filename="../../src/yuzu/main.cpp" line="4111"/>
+ <source>Integrity verification failed!</source>
+ <translation>完整性验证失败!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2741"/>
+ <source>File contents may be corrupt.</source>
+ <translation>文件可能已经损坏。</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2750"/>
+ <location filename="../../src/yuzu/main.cpp" line="4023"/>
+ <source>Verifying integrity...</source>
+ <translation>正在验证完整性...</translation>
+ </message>
+ <message>
<location filename="../../src/yuzu/main.cpp" line="2778"/>
- <location filename="../../src/yuzu/main.cpp" line="2786"/>
+ <location filename="../../src/yuzu/main.cpp" line="4114"/>
+ <source>Integrity verification succeeded!</source>
+ <translation>完整性验证成功!</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2841"/>
+ <location filename="../../src/yuzu/main.cpp" line="2851"/>
+ <location filename="../../src/yuzu/main.cpp" line="2933"/>
+ <location filename="../../src/yuzu/main.cpp" line="2941"/>
<source>Create Shortcut</source>
<translation>建立捷徑</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2663"/>
+ <location filename="../../src/yuzu/main.cpp" line="2818"/>
<source>This will create a shortcut to the current AppImage. This may not work well if you update. Continue?</source>
<translation>這將會為目前的應用程式映像建立捷徑,可能在其更新後無法運作,仍要繼續嗎?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2687"/>
+ <location filename="../../src/yuzu/main.cpp" line="2842"/>
<source>Cannot create shortcut on desktop. Path &quot;%1&quot; does not exist.</source>
<translation>無法在桌面上建立捷徑,路徑「%1」不存在。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2697"/>
+ <location filename="../../src/yuzu/main.cpp" line="2852"/>
<source>Cannot create shortcut in applications menu. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>無法在應用程式選單中建立捷徑,路徑「%1」不存在且無法建立。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2714"/>
+ <location filename="../../src/yuzu/main.cpp" line="2869"/>
<source>Create Icon</source>
<translation>建立圖示</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2715"/>
+ <location filename="../../src/yuzu/main.cpp" line="2870"/>
<source>Cannot create icon file. Path &quot;%1&quot; does not exist and cannot be created.</source>
<translation>無法建立圖示檔案,路徑「%1」不存在且無法建立。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2766"/>
+ <location filename="../../src/yuzu/main.cpp" line="2921"/>
<source>Start %1 with the yuzu Emulator</source>
<translation>使用 yuzu 模擬器啟動 %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2779"/>
+ <location filename="../../src/yuzu/main.cpp" line="2934"/>
<source>Failed to create a shortcut at %1</source>
<translation>無法在 %1 建立捷徑</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2787"/>
+ <location filename="../../src/yuzu/main.cpp" line="2942"/>
<source>Successfully created a shortcut to %1</source>
<translation>已成功在 %1 建立捷徑</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2808"/>
+ <location filename="../../src/yuzu/main.cpp" line="2963"/>
<source>Error Opening %1</source>
<translation>開啟 %1 時發生錯誤</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2817"/>
+ <location filename="../../src/yuzu/main.cpp" line="2972"/>
<source>Select Directory</source>
<translation>選擇資料夾</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2846"/>
+ <location filename="../../src/yuzu/main.cpp" line="3001"/>
<source>Properties</source>
<translation>屬性</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2847"/>
+ <location filename="../../src/yuzu/main.cpp" line="3002"/>
<source>The game properties could not be loaded.</source>
<translation>無法載入遊戲屬性</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2864"/>
+ <location filename="../../src/yuzu/main.cpp" line="3019"/>
<source>Switch Executable (%1);;All Files (*.*)</source>
<comment>%1 is an identifier for the Switch executable file extensions.</comment>
<translation>Switch 執行檔 (%1);;所有檔案 (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2868"/>
+ <location filename="../../src/yuzu/main.cpp" line="3023"/>
<source>Load File</source>
<translation>開啟檔案</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2881"/>
+ <location filename="../../src/yuzu/main.cpp" line="3036"/>
<source>Open Extracted ROM Directory</source>
<translation>開啟已抽取的 ROM 資料夾</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2892"/>
+ <location filename="../../src/yuzu/main.cpp" line="3047"/>
<source>Invalid Directory Selected</source>
<translation>選擇的資料夾無效</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2893"/>
+ <location filename="../../src/yuzu/main.cpp" line="3048"/>
<source>The directory you have selected does not contain a &apos;main&apos; file.</source>
<translation>選擇的資料夾未包含「main」檔案。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2903"/>
+ <location filename="../../src/yuzu/main.cpp" line="3058"/>
<source>Installable Switch File (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX Cartridge Image (*.xci)</source>
<translation>可安装的 Switch 檔案 (*.nca *.nsp *.xci);;Nintendo Content Archive (*.nca);;Nintendo Submission Package (*.nsp);;NX 卡帶映像 (*.xci)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2908"/>
+ <location filename="../../src/yuzu/main.cpp" line="3063"/>
<source>Install Files</source>
<translation>安裝檔案</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="2954"/>
+ <location filename="../../src/yuzu/main.cpp" line="3109"/>
<source>%n file(s) remaining</source>
<translation><numerusform>剩餘 %n 個檔案</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="2956"/>
+ <location filename="../../src/yuzu/main.cpp" line="3111"/>
<source>Installing file &quot;%1&quot;...</source>
<translation>正在安裝檔案「%1」...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3002"/>
- <location filename="../../src/yuzu/main.cpp" line="3016"/>
+ <location filename="../../src/yuzu/main.cpp" line="3156"/>
+ <location filename="../../src/yuzu/main.cpp" line="3170"/>
<source>Install Results</source>
<translation>安裝結果</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3003"/>
+ <location filename="../../src/yuzu/main.cpp" line="3157"/>
<source>To avoid possible conflicts, we discourage users from installing base games to the NAND.
Please, only use this feature to install updates and DLC.</source>
<translation>為了避免潛在的衝突,不建議將遊戲本體安裝至內部儲存空間。
此功能僅用於安裝遊戲更新和 DLC。</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3009"/>
+ <location filename="../../src/yuzu/main.cpp" line="3163"/>
<source>%n file(s) were newly installed
</source>
<translation><numerusform>最近安裝了 %n 個檔案
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3012"/>
+ <location filename="../../src/yuzu/main.cpp" line="3166"/>
<source>%n file(s) were overwritten
</source>
<translation><numerusform>%n 個檔案被取代
</numerusform></translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="3014"/>
+ <location filename="../../src/yuzu/main.cpp" line="3168"/>
<source>%n file(s) failed to install
</source>
<translation><numerusform>%n 個檔案安裝失敗</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3115"/>
+ <location filename="../../src/yuzu/main.cpp" line="3267"/>
<source>System Application</source>
<translation>系統應用程式</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3116"/>
+ <location filename="../../src/yuzu/main.cpp" line="3268"/>
<source>System Archive</source>
<translation>系統檔案</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3117"/>
+ <location filename="../../src/yuzu/main.cpp" line="3269"/>
<source>System Application Update</source>
<translation>系統應用程式更新</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3118"/>
+ <location filename="../../src/yuzu/main.cpp" line="3270"/>
<source>Firmware Package (Type A)</source>
<translation>韌體包(A型)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3119"/>
+ <location filename="../../src/yuzu/main.cpp" line="3271"/>
<source>Firmware Package (Type B)</source>
<translation>韌體包(B型)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3120"/>
+ <location filename="../../src/yuzu/main.cpp" line="3272"/>
<source>Game</source>
<translation>遊戲</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3121"/>
+ <location filename="../../src/yuzu/main.cpp" line="3273"/>
<source>Game Update</source>
<translation>遊戲更新</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3122"/>
+ <location filename="../../src/yuzu/main.cpp" line="3274"/>
<source>Game DLC</source>
<translation>遊戲 DLC</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3123"/>
+ <location filename="../../src/yuzu/main.cpp" line="3275"/>
<source>Delta Title</source>
<translation>Delta Title</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3126"/>
+ <location filename="../../src/yuzu/main.cpp" line="3278"/>
<source>Select NCA Install Type...</source>
<translation>選擇 NCA 安裝類型...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3127"/>
+ <location filename="../../src/yuzu/main.cpp" line="3279"/>
<source>Please select the type of title you would like to install this NCA as:
(In most instances, the default &apos;Game&apos; is fine.)</source>
<translation>請選擇此 NCA 的安裝類型:
(在多數情況下,選擇預設的「遊戲」即可。)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3133"/>
+ <location filename="../../src/yuzu/main.cpp" line="3285"/>
<source>Failed to Install</source>
<translation>安裝失敗</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3134"/>
+ <location filename="../../src/yuzu/main.cpp" line="3286"/>
<source>The title type you selected for the NCA is invalid.</source>
<translation>選擇的 NCA 安裝類型無效。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3169"/>
+ <location filename="../../src/yuzu/main.cpp" line="3321"/>
<source>File not found</source>
<translation>找不到檔案</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3170"/>
+ <location filename="../../src/yuzu/main.cpp" line="3322"/>
<source>File &quot;%1&quot; not found</source>
<translation>找不到「%1」檔案</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3247"/>
+ <location filename="../../src/yuzu/main.cpp" line="3400"/>
<source>OK</source>
<translation>確定</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3273"/>
- <location filename="../../src/yuzu/main.cpp" line="3292"/>
+ <location filename="../../src/yuzu/main.cpp" line="3426"/>
+ <location filename="../../src/yuzu/main.cpp" line="3445"/>
<source>Hardware requirements not met</source>
<translation>硬體不符合需求</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3274"/>
- <location filename="../../src/yuzu/main.cpp" line="3293"/>
+ <location filename="../../src/yuzu/main.cpp" line="3427"/>
+ <location filename="../../src/yuzu/main.cpp" line="3446"/>
<source>Your system does not meet the recommended hardware requirements. Compatibility reporting has been disabled.</source>
<translation>您的系統不符合建議的硬體需求,相容性回報已停用。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3285"/>
+ <location filename="../../src/yuzu/main.cpp" line="3438"/>
<source>Missing yuzu Account</source>
<translation>未設定 yuzu 帳號</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3286"/>
+ <location filename="../../src/yuzu/main.cpp" line="3439"/>
<source>In order to submit a game compatibility test case, you must link your yuzu account.&lt;br&gt;&lt;br/&gt;To link your yuzu account, go to Emulation &amp;gt; Configuration &amp;gt; Web.</source>
<translation>為了上傳相容性測試結果,您必須登入 yuzu 帳號。&lt;br&gt;&lt;br/&gt;欲登入 yuzu 帳號請至模擬 &amp;gt; 設定 &amp;gt; 網路。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3301"/>
+ <location filename="../../src/yuzu/main.cpp" line="3454"/>
<source>Error opening URL</source>
<translation>開啟 URL 時發生錯誤</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3302"/>
+ <location filename="../../src/yuzu/main.cpp" line="3455"/>
<source>Unable to open the URL &quot;%1&quot;.</source>
<translation>無法開啟 URL:「%1」。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3607"/>
+ <location filename="../../src/yuzu/main.cpp" line="3760"/>
<source>TAS Recording</source>
<translation>TAS 錄製</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3608"/>
+ <location filename="../../src/yuzu/main.cpp" line="3761"/>
<source>Overwrite file of player 1?</source>
<translation>覆寫玩家 1 的檔案?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3634"/>
+ <location filename="../../src/yuzu/main.cpp" line="3787"/>
<source>Invalid config detected</source>
<translation>偵測到無效設定</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3635"/>
+ <location filename="../../src/yuzu/main.cpp" line="3788"/>
<source>Handheld controller can&apos;t be used on docked mode. Pro controller will be selected.</source>
<translation>掌機手把無法在主機模式中使用。將會選擇 Pro 手把。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>Amiibo</source>
<translation>Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3805"/>
- <location filename="../../src/yuzu/main.cpp" line="3833"/>
+ <location filename="../../src/yuzu/main.cpp" line="3962"/>
+ <location filename="../../src/yuzu/main.cpp" line="3990"/>
<source>The current amiibo has been removed</source>
<translation>目前 Amiibo 已被移除。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
<source>Error</source>
<translation>錯誤</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3810"/>
- <location filename="../../src/yuzu/main.cpp" line="3845"/>
+ <location filename="../../src/yuzu/main.cpp" line="3967"/>
+ <location filename="../../src/yuzu/main.cpp" line="4002"/>
<source>The current game is not looking for amiibos</source>
<translation>目前遊戲並未在尋找 Amiibos</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3816"/>
+ <location filename="../../src/yuzu/main.cpp" line="3973"/>
<source>Amiibo File (%1);; All Files (*.*)</source>
<translation>Amiibo 檔案 (%1);; 所有檔案 (*.*)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3817"/>
+ <location filename="../../src/yuzu/main.cpp" line="3974"/>
<source>Load Amiibo</source>
<translation>開啟 Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3829"/>
+ <location filename="../../src/yuzu/main.cpp" line="3986"/>
<source>Error loading Amiibo data</source>
<translation>載入 Amiibo 資料時發生錯誤</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3839"/>
+ <location filename="../../src/yuzu/main.cpp" line="3996"/>
<source>The selected file is not a valid amiibo</source>
<translation>選取的檔案不是有效的 Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3842"/>
+ <location filename="../../src/yuzu/main.cpp" line="3999"/>
<source>The selected file is already on use</source>
<translation>選取的檔案已在使用中</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3848"/>
+ <location filename="../../src/yuzu/main.cpp" line="4005"/>
<source>An unknown error occurred</source>
<translation>發生了未知錯誤</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3900"/>
+ <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <source>Verification failed for the following files:
+
+%1</source>
+ <translation>以下文件完整性验证失败:
+
+%1</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4141"/>
+ <source>No firmware available</source>
+ <translation>无可用固件</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4142"/>
+ <source>Please install the firmware to use the Mii editor.</source>
+ <translation>请安装固件以使用 Mii editor。</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4148"/>
+ <source>Mii Edit Applet</source>
+ <translation>MiiEdit 小程序</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4149"/>
+ <source>Mii editor is not available. Please reinstall firmware.</source>
+ <translation>Mii editor 不可用。请安装固件。</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.cpp" line="4180"/>
<source>Capture Screenshot</source>
<translation>截圖</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3901"/>
+ <location filename="../../src/yuzu/main.cpp" line="4181"/>
<source>PNG Image (*.png)</source>
<translation>PNG 圖片 (*.png)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3984"/>
+ <location filename="../../src/yuzu/main.cpp" line="4264"/>
<source>TAS state: Running %1/%2</source>
<translation>TAS 狀態:正在執行 %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3988"/>
+ <location filename="../../src/yuzu/main.cpp" line="4268"/>
<source>TAS state: Recording %1</source>
<translation>TAS 狀態:正在錄製 %1</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3990"/>
+ <location filename="../../src/yuzu/main.cpp" line="4270"/>
<source>TAS state: Idle %1/%2</source>
<translation>TAS 狀態:閒置 %1/%2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="3994"/>
+ <location filename="../../src/yuzu/main.cpp" line="4274"/>
<source>TAS State: Invalid</source>
<translation>TAS 狀態:無效</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Stop Running</source>
<translation>&amp;停止執行</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4008"/>
+ <location filename="../../src/yuzu/main.cpp" line="4288"/>
<source>&amp;Start</source>
<translation>開始(&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>Stop R&amp;ecording</source>
<translation>停止錄製</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4009"/>
+ <location filename="../../src/yuzu/main.cpp" line="4289"/>
<source>R&amp;ecord</source>
<translation>錄製 (&amp;E)</translation>
</message>
<message numerus="yes">
- <location filename="../../src/yuzu/main.cpp" line="4033"/>
+ <location filename="../../src/yuzu/main.cpp" line="4313"/>
<source>Building: %n shader(s)</source>
<translation><numerusform>正在編譯 %n 個著色器檔案</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4042"/>
+ <location filename="../../src/yuzu/main.cpp" line="4322"/>
<source>Scale: %1x</source>
<comment>%1 is the resolution scaling factor</comment>
<translation>縮放比例:%1x</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4045"/>
+ <location filename="../../src/yuzu/main.cpp" line="4325"/>
<source>Speed: %1% / %2%</source>
<translation>速度:%1% / %2%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4049"/>
+ <location filename="../../src/yuzu/main.cpp" line="4329"/>
<source>Speed: %1%</source>
<translation>速度:%1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4053"/>
+ <location filename="../../src/yuzu/main.cpp" line="4333"/>
<source>Game: %1 FPS (Unlocked)</source>
<translation>遊戲: %1 FPS(未限制)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4056"/>
+ <location filename="../../src/yuzu/main.cpp" line="4336"/>
<source>Game: %1 FPS</source>
<translation>遊戲:%1 FPS</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4058"/>
+ <location filename="../../src/yuzu/main.cpp" line="4338"/>
<source>Frame: %1 ms</source>
<translation>畫格延遲:%1 ms</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4085"/>
+ <location filename="../../src/yuzu/main.cpp" line="4365"/>
<source>%1 %2</source>
<translation>%1 %2</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4095"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="84"/>
+ <location filename="../../src/yuzu/main.cpp" line="4375"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="86"/>
<source>FSR</source>
<translation>FSR</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4103"/>
+ <location filename="../../src/yuzu/main.cpp" line="4383"/>
<source>NO AA</source>
<translation>抗鋸齒關</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4112"/>
+ <location filename="../../src/yuzu/main.cpp" line="4392"/>
<source>VOLUME: MUTE</source>
<translation>音量: 靜音</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4115"/>
+ <location filename="../../src/yuzu/main.cpp" line="4395"/>
<source>VOLUME: %1%</source>
<comment>Volume percentage (e.g. 50%)</comment>
<translation>音量: %1%</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4196"/>
+ <location filename="../../src/yuzu/main.cpp" line="4476"/>
<source>Confirm Key Rederivation</source>
<translation>確認重新產生金鑰</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4197"/>
+ <location filename="../../src/yuzu/main.cpp" line="4477"/>
<source>You are about to force rederive all of your keys.
If you do not know what this means or what you are doing,
this is a potentially destructive action.
@@ -5634,37 +4725,37 @@ This will delete your autogenerated key files and re-run the key derivation modu
這將刪除您自動產生的金鑰檔案並重新執行產生金鑰模組。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4231"/>
+ <location filename="../../src/yuzu/main.cpp" line="4511"/>
<source>Missing fuses</source>
<translation>遺失項目</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4234"/>
+ <location filename="../../src/yuzu/main.cpp" line="4514"/>
<source> - Missing BOOT0</source>
<translation>- 遺失 BOOT0</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4237"/>
+ <location filename="../../src/yuzu/main.cpp" line="4517"/>
<source> - Missing BCPKG2-1-Normal-Main</source>
<translation> - 遺失 BCPKG2-1-Normal-Main</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4240"/>
+ <location filename="../../src/yuzu/main.cpp" line="4520"/>
<source> - Missing PRODINFO</source>
<translation>- 遺失 PRODINFO</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4245"/>
+ <location filename="../../src/yuzu/main.cpp" line="4525"/>
<source>Derivation Components Missing</source>
<translation>遺失產生元件</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4246"/>
+ <location filename="../../src/yuzu/main.cpp" line="4526"/>
<source>Encryption keys are missing. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)&lt;/small&gt;</source>
<translation>缺少加密金鑰。 &lt;br&gt;請按照&lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;《Yuzu快速入門指南》來取得所有金鑰、韌體、遊戲&lt;br&gt;&lt;br&gt;&lt;small&gt;(%1)。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4255"/>
+ <location filename="../../src/yuzu/main.cpp" line="4535"/>
<source>Deriving keys...
This may take up to a minute depending
on your system&apos;s performance.</source>
@@ -5673,49 +4764,49 @@ on your system&apos;s performance.</source>
您的系統效能。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4257"/>
+ <location filename="../../src/yuzu/main.cpp" line="4537"/>
<source>Deriving Keys</source>
<translation>產生金鑰</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4274"/>
+ <location filename="../../src/yuzu/main.cpp" line="4554"/>
<source>System Archive Decryption Failed</source>
<translation>系統封存解密失敗</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4275"/>
+ <location filename="../../src/yuzu/main.cpp" line="4555"/>
<source>Encryption keys failed to decrypt firmware. &lt;br&gt;Please follow &lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;the yuzu quickstart guide&lt;/a&gt; to get all your keys, firmware and games.</source>
<translation>加密金鑰無法解密韌體。&lt;br&gt;請依循&lt;a href=&apos;https://yuzu-emu.org/help/quickstart/&apos;&gt;yuzu 快速開始指南&lt;/a&gt;以取得您的金鑰、韌體和遊戲。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4331"/>
+ <location filename="../../src/yuzu/main.cpp" line="4642"/>
<source>Select RomFS Dump Target</source>
<translation>選擇 RomFS 傾印目標</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4332"/>
+ <location filename="../../src/yuzu/main.cpp" line="4643"/>
<source>Please select which RomFS you would like to dump.</source>
<translation>請選擇希望傾印的 RomFS。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4347"/>
+ <location filename="../../src/yuzu/main.cpp" line="4661"/>
<source>Are you sure you want to close yuzu?</source>
<translation>您確定要關閉 yuzu 嗎?</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4348"/>
- <location filename="../../src/yuzu/main.cpp" line="4443"/>
- <location filename="../../src/yuzu/main.cpp" line="4456"/>
+ <location filename="../../src/yuzu/main.cpp" line="4662"/>
+ <location filename="../../src/yuzu/main.cpp" line="4757"/>
+ <location filename="../../src/yuzu/main.cpp" line="4770"/>
<source>yuzu</source>
<translation>yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4444"/>
+ <location filename="../../src/yuzu/main.cpp" line="4758"/>
<source>Are you sure you want to stop the emulation? Any unsaved progress will be lost.</source>
<translation>您確定要停止模擬嗎?未儲存的進度將會遺失。</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.cpp" line="4453"/>
+ <location filename="../../src/yuzu/main.cpp" line="4767"/>
<source>The currently running application has requested yuzu to not exit.
Would you like to bypass this and exit anyway?</source>
@@ -5724,97 +4815,97 @@ Would you like to bypass this and exit anyway?</source>
您希望忽略並退出嗎?</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="69"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
<source>None</source>
<translation>無</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="70"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="72"/>
<source>FXAA</source>
<translation>FXAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="71"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="73"/>
<source>SMAA</source>
<translation>SMAA</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="76"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
<source>Nearest</source>
<translation>最近鄰</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="78"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="80"/>
<source>Bilinear</source>
<translation>雙線性</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="79"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
<source>Bicubic</source>
<translation>雙立方</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="81"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
<source>Gaussian</source>
<translation>高斯</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="83"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="85"/>
<source>ScaleForce</source>
<translation>強制縮放</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="88"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="90"/>
<source>Docked</source>
<translation>TV</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="89"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="91"/>
<source>Handheld</source>
<translation>掌机模式</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="93"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
<source>Normal</source>
<translation>標準</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="94"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="96"/>
<source>High</source>
<translation>高</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="95"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="97"/>
<source>Extreme</source>
<translation>極高</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="99"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
<source>Vulkan</source>
<translation>Vulkan</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="100"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="102"/>
<source>OpenGL</source>
<translation>OpenGL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="101"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="103"/>
<source>Null</source>
<translation>無</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="105"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
<source>GLSL</source>
<translation>GLSL</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="106"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="108"/>
<source>GLASM</source>
<translation>GLASM</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="107"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="109"/>
<source>SPIRV</source>
<translation>SPIRV</translation>
</message>
@@ -5822,44 +4913,44 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GRenderWindow</name>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="953"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="970"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="965"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="982"/>
<source>OpenGL not available!</source>
<translation>無法使用 OpenGL 模式!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="954"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="966"/>
<source>OpenGL shared contexts are not supported.</source>
<translation>不支援 OpenGL 共用的上下文。</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="971"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="983"/>
<source>yuzu has not been compiled with OpenGL support.</source>
<translation>yuzu 未以支援 OpenGL 的方式編譯。</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="995"/>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1015"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1007"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1027"/>
<source>Error while initializing OpenGL!</source>
<translation>初始化 OpenGL 時發生錯誤!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="996"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1008"/>
<source>Your GPU may not support OpenGL, or you do not have the latest graphics driver.</source>
<translation>您的 GPU 可能不支援 OpenGL,或是未安裝最新的圖形驅動程式</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1005"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1017"/>
<source>Error while initializing OpenGL 4.6!</source>
<translation>初始化 OpenGL 4.6 時發生錯誤!</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1006"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1018"/>
<source>Your GPU may not support OpenGL 4.6, or you do not have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1</source>
<translation>您的 GPU 可能不支援 OpenGL 4.6,或是未安裝最新的圖形驅動程式&lt;br&gt;&lt;br&gt;GL 渲染器:&lt;br&gt;%1</translation>
</message>
<message>
- <location filename="../../src/yuzu/bootmanager.cpp" line="1016"/>
+ <location filename="../../src/yuzu/bootmanager.cpp" line="1028"/>
<source>Your GPU may not support one or more required OpenGL extensions. Please ensure you have the latest graphics driver.&lt;br&gt;&lt;br&gt;GL Renderer:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;Unsupported extensions:&lt;br&gt;%2</source>
<translation>您的 GPU 可能不支援某些必需的 OpenGL 功能。請確保您已安裝最新的圖形驅動程式。&lt;br&gt;&lt;br&gt;GL 渲染器:&lt;br&gt;%1&lt;br&gt;&lt;br&gt;不支援的功能:&lt;br&gt;%2</translation>
</message>
@@ -5867,173 +4958,178 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameList</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="532"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="536"/>
<source>Favorite</source>
<translation>我的最愛</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="534"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="538"/>
<source>Start Game</source>
<translation>開始遊戲</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="536"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="540"/>
<source>Start Game without Custom Configuration</source>
<translation>開始遊戲(不使用額外設定)</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="538"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="542"/>
<source>Open Save Data Location</source>
<translation>開啟存檔位置</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="539"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="543"/>
<source>Open Mod Data Location</source>
<translation>開啟模組位置</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="541"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="545"/>
<source>Open Transferable Pipeline Cache</source>
<translation>開啟通用著色器管線快取位置</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="543"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="547"/>
<source>Remove</source>
<translation>移除</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="544"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="548"/>
<source>Remove Installed Update</source>
<translation>移除已安裝的遊戲更新</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="545"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="549"/>
<source>Remove All Installed DLC</source>
<translation>移除所有安裝的遊戲更新</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="546"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="550"/>
<source>Remove Custom Configuration</source>
<translation>移除額外設定</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="547"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="551"/>
<source>Remove Cache Storage</source>
<translation>移除快取儲存空間</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="548"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="552"/>
<source>Remove OpenGL Pipeline Cache</source>
<translation>刪除 OpenGL 著色器管線快取</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="549"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="553"/>
<source>Remove Vulkan Pipeline Cache</source>
<translation>刪除 Vulkan 著色器管線快取</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="551"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="555"/>
<source>Remove All Pipeline Caches</source>
<translation>刪除所有著色器管線快取</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="552"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="556"/>
<source>Remove All Installed Contents</source>
<translation>移除所有安裝項目</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="553"/>
- <location filename="../../src/yuzu/game_list.cpp" line="554"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="558"/>
<source>Dump RomFS</source>
<translation>傾印 RomFS</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="555"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="559"/>
<source>Dump RomFS to SDMC</source>
<translation>傾印 RomFS 到 SDMC</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="556"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <source>Verify Integrity</source>
+ <translation>完整性验证</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/game_list.cpp" line="561"/>
<source>Copy Title ID to Clipboard</source>
<translation>複製遊戲 ID 到剪貼簿</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="557"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="562"/>
<source>Navigate to GameDB entry</source>
<translation>檢視遊戲相容性報告</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="559"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="564"/>
<source>Create Shortcut</source>
<translation>建立捷徑</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="560"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="565"/>
<source>Add to Desktop</source>
<translation>新增至桌面</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="562"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="567"/>
<source>Add to Applications Menu</source>
<translation>新增至應用程式選單</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="565"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="570"/>
<source>Properties</source>
<translation>屬性</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="648"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="657"/>
<source>Scan Subfolders</source>
<translation>包含子資料夾</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="649"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="658"/>
<source>Remove Game Directory</source>
<translation>移除遊戲資料夾</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="668"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="677"/>
<source>▲ Move Up</source>
<translation>▲ 向上移動</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="669"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="678"/>
<source>▼ Move Down</source>
<translation>▼ 向下移動</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="670"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="679"/>
<source>Open Directory Location</source>
<translation>開啟資料夾位置</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="715"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="724"/>
<source>Clear</source>
<translation>清除</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="779"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="788"/>
<source>Name</source>
<translation>名稱</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="780"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="789"/>
<source>Compatibility</source>
<translation>相容性</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="781"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="790"/>
<source>Add-ons</source>
<translation>延伸模組</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="782"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="791"/>
<source>File type</source>
<translation>檔案格式</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="783"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="792"/>
<source>Size</source>
<translation>大小</translation>
</message>
@@ -6104,7 +5200,7 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>GameListPlaceholder</name>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="956"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="965"/>
<source>Double-click to add a new folder to the game list</source>
<translation>連點兩下以新增資料夾至遊戲清單</translation>
</message>
@@ -6117,12 +5213,12 @@ Would you like to bypass this and exit anyway?</source>
<translation><numerusform>%1 / %n 個結果</numerusform></translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="795"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="804"/>
<source>Filter:</source>
<translation>搜尋:</translation>
</message>
<message>
- <location filename="../../src/yuzu/game_list.cpp" line="796"/>
+ <location filename="../../src/yuzu/game_list.cpp" line="805"/>
<source>Enter pattern to filter</source>
<translation>輸入文字以搜尋</translation>
</message>
@@ -6198,12 +5294,12 @@ Would you like to bypass this and exit anyway?</source>
<context>
<name>HostRoomWindow</name>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="182"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="185"/>
<source>Error</source>
<translation>錯誤</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="183"/>
+ <location filename="../../src/yuzu/multiplayer/host_room.cpp" line="186"/>
<source>Failed to announce the room to the public lobby. In order to host a room publicly, you must have a valid yuzu account configured in Emulation -&gt; Configure -&gt; Web. If you do not want to publish a room in the public lobby, then select Unlisted instead.
Debug Message: </source>
<translation>向公共大厅公开房间时失败。为了管理公开房间,您必须在模拟 -&gt; 设置 -&gt; 网络中配置有效的 yuzu 帐户。如果不想在公共大厅中公开房间,请选择“未列出”。
@@ -6213,13 +5309,11 @@ Debug Message: </source>
<context>
<name>Hotkeys</name>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<source>Audio Mute/Unmute</source>
<translation>靜音/取消靜音</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="116"/>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
@@ -6240,111 +5334,113 @@ Debug Message: </source>
<location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Main Window</source>
<translation>主要視窗</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="117"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
<source>Audio Volume Down</source>
<translation>音訊音量降低</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="118"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
<source>Audio Volume Up</source>
<translation>音訊音量提高</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="119"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
<source>Capture Screenshot</source>
<translation>截圖</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="120"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
<source>Change Adapting Filter</source>
<translation>變更自適性過濾器</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="121"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
<source>Change Docked Mode</source>
<translation>變更底座模式</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="122"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
<source>Change GPU Accuracy</source>
<translation>變更 GPU 精確度</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="123"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
<source>Continue/Pause Emulation</source>
<translation>繼續/暫停模擬</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="124"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
<source>Exit Fullscreen</source>
<translation>離開全螢幕</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="125"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
<source>Exit yuzu</source>
<translation>離開 yuzu</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="126"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
<source>Fullscreen</source>
<translation>全屏</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="127"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
<source>Load File</source>
<translation>開啟檔案</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="128"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
<source>Load/Remove Amiibo</source>
<translation>載入/移除 Amiibo</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="129"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
<source>Restart Emulation</source>
<translation>重新啟動模擬</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="130"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
<source>Stop Emulation</source>
<translation>停止模擬</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="131"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
<source>TAS Record</source>
<translation>TAS 錄製</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="132"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
<source>TAS Reset</source>
<translation>TAS 重設</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="133"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
<source>TAS Start/Stop</source>
<translation>TAS 開始/停止</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="134"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
<source>Toggle Filter Bar</source>
<translation>切換搜尋列</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="135"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
<source>Toggle Framerate Limit</source>
<translation>切換影格速率限制</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="136"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="138"/>
<source>Toggle Mouse Panning</source>
<translation>切換滑鼠移動</translation>
</message>
<message>
- <location filename="../../src/yuzu/configuration/config.cpp" line="137"/>
+ <location filename="../../src/yuzu/configuration/config.cpp" line="139"/>
<source>Toggle Status Bar</source>
<translation>切換狀態列</translation>
</message>
@@ -6463,42 +5559,42 @@ Debug Message: </source>
<translation>重新整理遊戲大廳</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password Required to Join</source>
<translation>加入需要密碼</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="113"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="114"/>
<source>Password:</source>
<translation>密碼:</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="216"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
<source>Players</source>
<translation>玩家</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="217"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
<source>Room Name</source>
<translation>房間名稱</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="218"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
<source>Preferred Game</source>
<translation>偏好遊戲</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="219"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="220"/>
<source>Host</source>
<translation>主機</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="226"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="227"/>
<source>Refreshing</source>
<translation>正在重新整理</translation>
</message>
<message>
- <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="283"/>
+ <location filename="../../src/yuzu/multiplayer/lobby.cpp" line="284"/>
<source>Refresh List</source>
<translation>重新整理清單</translation>
</message>
@@ -6586,172 +5682,182 @@ Debug Message: </source>
<translation>TAS (&amp;T)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="157"/>
+ <location filename="../../src/yuzu/main.ui" line="160"/>
<source>&amp;Help</source>
<translation>說明 (&amp;H)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="178"/>
+ <location filename="../../src/yuzu/main.ui" line="181"/>
<source>&amp;Install Files to NAND...</source>
<translation>&amp;安裝檔案至內部儲存空間</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="183"/>
+ <location filename="../../src/yuzu/main.ui" line="186"/>
<source>L&amp;oad File...</source>
<translation>開啟檔案(&amp;O)...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="188"/>
+ <location filename="../../src/yuzu/main.ui" line="191"/>
<source>Load &amp;Folder...</source>
<translation>開啟資料夾(&amp;F)...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="193"/>
+ <location filename="../../src/yuzu/main.ui" line="196"/>
<source>E&amp;xit</source>
<translation>結束(&amp;X)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="201"/>
+ <location filename="../../src/yuzu/main.ui" line="204"/>
<source>&amp;Pause</source>
<translation>暫停(&amp;P)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="209"/>
+ <location filename="../../src/yuzu/main.ui" line="212"/>
<source>&amp;Stop</source>
<translation>停止(&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="214"/>
+ <location filename="../../src/yuzu/main.ui" line="217"/>
<source>&amp;Reinitialize keys...</source>
<translation>重新初始化金鑰(&amp;R)...</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="219"/>
+ <location filename="../../src/yuzu/main.ui" line="222"/>
+ <source>&amp;Verify Installed Contents</source>
+ <translation>验证已安装内容的完整性 (&amp;V)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="227"/>
<source>&amp;About yuzu</source>
<translation>關於 yuzu(&amp;A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="227"/>
+ <location filename="../../src/yuzu/main.ui" line="235"/>
<source>Single &amp;Window Mode</source>
<translation>單一視窗模式(&amp;W)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="232"/>
+ <location filename="../../src/yuzu/main.ui" line="240"/>
<source>Con&amp;figure...</source>
<translation>設定 (&amp;F)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="243"/>
+ <location filename="../../src/yuzu/main.ui" line="251"/>
<source>Display D&amp;ock Widget Headers</source>
<translation>顯示 Dock 小工具標題 (&amp;O)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="251"/>
+ <location filename="../../src/yuzu/main.ui" line="259"/>
<source>Show &amp;Filter Bar</source>
<translation>顯示搜尋列(&amp;F)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="259"/>
+ <location filename="../../src/yuzu/main.ui" line="267"/>
<source>Show &amp;Status Bar</source>
<translation>顯示狀態列(&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="262"/>
+ <location filename="../../src/yuzu/main.ui" line="270"/>
<source>Show Status Bar</source>
<translation>顯示狀態列</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="270"/>
+ <location filename="../../src/yuzu/main.ui" line="278"/>
<source>&amp;Browse Public Game Lobby</source>
<translation>瀏覽公用遊戲大廳 (&amp;B)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="278"/>
+ <location filename="../../src/yuzu/main.ui" line="286"/>
<source>&amp;Create Room</source>
<translation>建立房間 (&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="286"/>
+ <location filename="../../src/yuzu/main.ui" line="294"/>
<source>&amp;Leave Room</source>
<translation>離開房間 (&amp;L)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="291"/>
+ <location filename="../../src/yuzu/main.ui" line="299"/>
<source>&amp;Direct Connect to Room</source>
<translation>直接連線到房間 (&amp;D)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="299"/>
+ <location filename="../../src/yuzu/main.ui" line="307"/>
<source>&amp;Show Current Room</source>
<translation>顯示目前的房間 (&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="307"/>
+ <location filename="../../src/yuzu/main.ui" line="315"/>
<source>F&amp;ullscreen</source>
<translation>全螢幕(&amp;U)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="315"/>
+ <location filename="../../src/yuzu/main.ui" line="323"/>
<source>&amp;Restart</source>
<translation>重新啟動(&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="323"/>
+ <location filename="../../src/yuzu/main.ui" line="331"/>
<source>Load/Remove &amp;Amiibo...</source>
<translation>載入/移除 Amiibo... (&amp;A)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="331"/>
+ <location filename="../../src/yuzu/main.ui" line="339"/>
<source>&amp;Report Compatibility</source>
<translation>回報相容性(&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="339"/>
+ <location filename="../../src/yuzu/main.ui" line="347"/>
<source>Open &amp;Mods Page</source>
<translation>模組資訊 (&amp;M)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="344"/>
+ <location filename="../../src/yuzu/main.ui" line="352"/>
<source>Open &amp;Quickstart Guide</source>
<translation>快速入門 (&amp;Q)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="349"/>
+ <location filename="../../src/yuzu/main.ui" line="357"/>
<source>&amp;FAQ</source>
<translation>常見問題 (&amp;F)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="354"/>
+ <location filename="../../src/yuzu/main.ui" line="362"/>
<source>Open &amp;yuzu Folder</source>
<translation>開啟 yuzu 資料夾(&amp;Y)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="362"/>
+ <location filename="../../src/yuzu/main.ui" line="370"/>
<source>&amp;Capture Screenshot</source>
<translation>截圖 (&amp;C)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="367"/>
+ <location filename="../../src/yuzu/main.ui" line="375"/>
+ <source>Open &amp;Mii Editor</source>
+ <translation>打开 Mii Editor (&amp;M)</translation>
+ </message>
+ <message>
+ <location filename="../../src/yuzu/main.ui" line="380"/>
<source>&amp;Configure TAS...</source>
<translation>設定 &amp;TAS…</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="378"/>
+ <location filename="../../src/yuzu/main.ui" line="391"/>
<source>Configure C&amp;urrent Game...</source>
<translation>目前遊戲設定...(&amp;U)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="389"/>
+ <location filename="../../src/yuzu/main.ui" line="402"/>
<source>&amp;Start</source>
<translation>開始(&amp;S)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="397"/>
+ <location filename="../../src/yuzu/main.ui" line="410"/>
<source>&amp;Reset</source>
<translation>重設 (&amp;R)</translation>
</message>
<message>
- <location filename="../../src/yuzu/main.ui" line="405"/>
+ <location filename="../../src/yuzu/main.ui" line="418"/>
<source>R&amp;ecord</source>
<translation>錄製 (&amp;E)</translation>
</message>
@@ -7544,27 +6650,27 @@ p, li { white-space: pre-wrap; }
<translation>文件路径</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="191"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="192"/>
<source>No game data present</source>
<translation>没有游戏数据</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="231"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="232"/>
<source>The following amiibo data will be formatted:</source>
<translation>将格式化以下 amiibo 数据:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="234"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="235"/>
<source>The following game data will removed:</source>
<translation>将删除以下游戏数据:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="237"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="238"/>
<source>Set nickname and owner:</source>
<translation>设置昵称及所有者:</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="240"/>
+ <location filename="../../src/yuzu/applets/qt_amiibo_settings.cpp" line="241"/>
<source>Do you wish to restore this amiibo?</source>
<translation>您想要恢复这个 amiibo 吗?</translation>
</message>
@@ -7605,7 +6711,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1656"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1857"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2054"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="414"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
<source>Pro Controller</source>
<translation>Pro 手把</translation>
</message>
@@ -7618,7 +6724,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1661"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1862"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2059"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="418"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
<source>Dual Joycons</source>
<translation>雙 Joycon 手把</translation>
</message>
@@ -7631,7 +6737,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1666"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1867"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2064"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="422"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
<source>Left Joycon</source>
<translation>左 Joycon 手把</translation>
</message>
@@ -7644,7 +6750,7 @@ p, li { white-space: pre-wrap; }
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1671"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="1872"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2069"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="426"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
<source>Right Joycon</source>
<translation>右 Joycon 手把</translation>
</message>
@@ -7673,7 +6779,7 @@ p, li { white-space: pre-wrap; }
<message>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="932"/>
<location filename="../../src/yuzu/applets/qt_controller.ui" line="2303"/>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="430"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
<source>Handheld</source>
<translation>掌機模式</translation>
</message>
@@ -7789,32 +6895,32 @@ p, li { white-space: pre-wrap; }
<translation>8</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="434"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="438"/>
<source>GameCube Controller</source>
<translation>GameCube 手把</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="443"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
<source>Poke Ball Plus</source>
<translation>精靈球 PLUS</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="447"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
<source>NES Controller</source>
<translation>NES 控制手把</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="451"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
<source>SNES Controller</source>
<translation>SNES 控制手把</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="455"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
<source>N64 Controller</source>
<translation>N64 控制手把</translation>
</message>
<message>
- <location filename="../../src/yuzu/applets/qt_controller.cpp" line="459"/>
+ <location filename="../../src/yuzu/applets/qt_controller.cpp" line="463"/>
<source>Sega Genesis</source>
<translation>Mega Drive</translation>
</message>
diff --git a/dist/qt_themes/default/style.qss b/dist/qt_themes/default/style.qss
index 6a9cc555f..921950c6c 100644
--- a/dist/qt_themes/default/style.qss
+++ b/dist/qt_themes/default/style.qss
@@ -78,6 +78,11 @@ QPushButton#buttonRefreshDevices {
max-height: 21px;
}
+QPushButton#button_reset_defaults {
+ min-width: 57px;
+ padding: 4px 8px;
+}
+
QWidget#bottomPerGameInput,
QWidget#topControllerApplet,
QWidget#bottomControllerApplet,
diff --git a/dist/qt_themes/qdarkstyle_midnight_blue/style.qss b/dist/qt_themes/qdarkstyle_midnight_blue/style.qss
index 8892c32d6..eb0889b13 100644
--- a/dist/qt_themes/qdarkstyle_midnight_blue/style.qss
+++ b/dist/qt_themes/qdarkstyle_midnight_blue/style.qss
@@ -2228,6 +2228,10 @@ QPushButton#buttonRefreshDevices {
padding: 0px 0px;
}
+QPushButton#button_reset_defaults {
+ padding: 3px 6px;
+}
+
QSpinBox#spinboxLStickRange,
QSpinBox#spinboxRStickRange,
QSpinBox#vibrationSpinPlayer1,
diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt
index 1f7cd598e..b1fd3ac62 100644
--- a/externals/CMakeLists.txt
+++ b/externals/CMakeLists.txt
@@ -42,6 +42,11 @@ endif()
# mbedtls
add_subdirectory(mbedtls)
target_include_directories(mbedtls PUBLIC ./mbedtls/include)
+if (NOT MSVC)
+ target_compile_options(mbedcrypto PRIVATE
+ -Wno-unused-but-set-variable
+ -Wno-string-concatenation)
+endif()
# MicroProfile
add_library(microprofile INTERFACE)
@@ -94,6 +99,12 @@ if (ENABLE_CUBEB AND NOT TARGET cubeb::cubeb)
set(BUILD_TOOLS OFF)
add_subdirectory(cubeb)
add_library(cubeb::cubeb ALIAS cubeb)
+ if (NOT MSVC)
+ if (TARGET speex)
+ target_compile_options(speex PRIVATE -Wno-sign-compare)
+ endif()
+ target_compile_options(cubeb PRIVATE -Wno-implicit-const-int-float-conversion)
+ endif()
endif()
# DiscordRPC
@@ -151,15 +162,24 @@ endif()
if (NOT TARGET LLVM::Demangle)
add_library(demangle demangle/ItaniumDemangle.cpp)
target_include_directories(demangle PUBLIC ./demangle)
+ if (NOT MSVC)
+ target_compile_options(demangle PRIVATE -Wno-deprecated-declarations) # std::is_pod
+ endif()
add_library(LLVM::Demangle ALIAS demangle)
endif()
-add_library(stb stb/stb_dxt.cpp)
+add_library(stb stb/stb_dxt.cpp stb/stb_image.cpp stb/stb_image_resize.cpp)
target_include_directories(stb PUBLIC ./stb)
add_library(bc_decoder bc_decoder/bc_decoder.cpp)
target_include_directories(bc_decoder PUBLIC ./bc_decoder)
+if (NOT TARGET RenderDoc::API)
+ add_library(renderdoc INTERFACE)
+ target_include_directories(renderdoc SYSTEM INTERFACE ./renderdoc)
+ add_library(RenderDoc::API ALIAS renderdoc)
+endif()
+
if (ANDROID)
if (ARCHITECTURE_arm64)
add_subdirectory(libadrenotools)
diff --git a/externals/SDL b/externals/SDL
-Subproject 116a5344ff4e8b8166eac2db540cd6578b4ba02
+Subproject 031912c4b6c5db80b443f04aa56fec3e4e64515
diff --git a/externals/ffmpeg/CMakeLists.txt b/externals/ffmpeg/CMakeLists.txt
index 0a926e399..f2886eb6c 100644
--- a/externals/ffmpeg/CMakeLists.txt
+++ b/externals/ffmpeg/CMakeLists.txt
@@ -164,7 +164,7 @@ if (NOT WIN32 AND NOT ANDROID)
--enable-decoder=h264
--enable-decoder=vp8
--enable-decoder=vp9
- --enable-filter=yadif
+ --enable-filter=yadif,scale
--cc="${FFmpeg_CC}"
--cxx="${FFmpeg_CXX}"
${FFmpeg_HWACCEL_FLAGS}
@@ -254,7 +254,7 @@ elseif(ANDROID)
set(FFmpeg_INCLUDE_DIR "${FFmpeg_INCLUDE_DIR}" PARENT_SCOPE)
elseif(WIN32)
# Use yuzu FFmpeg binaries
- set(FFmpeg_EXT_NAME "ffmpeg-5.1.3")
+ set(FFmpeg_EXT_NAME "ffmpeg-6.0")
set(FFmpeg_PATH "${CMAKE_BINARY_DIR}/externals/${FFmpeg_EXT_NAME}")
download_bundled_external("ffmpeg/" ${FFmpeg_EXT_NAME} "")
set(FFmpeg_FOUND YES)
diff --git a/externals/renderdoc/renderdoc_app.h b/externals/renderdoc/renderdoc_app.h
new file mode 100644
index 000000000..0f4a1f98b
--- /dev/null
+++ b/externals/renderdoc/renderdoc_app.h
@@ -0,0 +1,744 @@
+// SPDX-FileCopyrightText: Baldur Karlsson
+// SPDX-License-Identifier: MIT
+
+/******************************************************************************
+ * The MIT License (MIT)
+ *
+ * Copyright (c) 2019-2023 Baldur Karlsson
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ ******************************************************************************/
+
+#pragma once
+
+//////////////////////////////////////////////////////////////////////////////////////////////////
+//
+// Documentation for the API is available at https://renderdoc.org/docs/in_application_api.html
+//
+
+#if !defined(RENDERDOC_NO_STDINT)
+#include <stdint.h>
+#endif
+
+#if defined(WIN32) || defined(__WIN32__) || defined(_WIN32) || defined(_MSC_VER)
+#define RENDERDOC_CC __cdecl
+#elif defined(__linux__)
+#define RENDERDOC_CC
+#elif defined(__APPLE__)
+#define RENDERDOC_CC
+#else
+#error "Unknown platform"
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+//////////////////////////////////////////////////////////////////////////////////////////////////
+// Constants not used directly in below API
+
+// This is a GUID/magic value used for when applications pass a path where shader debug
+// information can be found to match up with a stripped shader.
+// the define can be used like so: const GUID RENDERDOC_ShaderDebugMagicValue =
+// RENDERDOC_ShaderDebugMagicValue_value
+#define RENDERDOC_ShaderDebugMagicValue_struct \
+ { \
+ 0xeab25520, 0x6670, 0x4865, 0x84, 0x29, 0x6c, 0x8, 0x51, 0x54, 0x00, 0xff \
+ }
+
+// as an alternative when you want a byte array (assuming x86 endianness):
+#define RENDERDOC_ShaderDebugMagicValue_bytearray \
+ { \
+ 0x20, 0x55, 0xb2, 0xea, 0x70, 0x66, 0x65, 0x48, 0x84, 0x29, 0x6c, 0x8, 0x51, 0x54, 0x00, 0xff \
+ }
+
+// truncated version when only a uint64_t is available (e.g. Vulkan tags):
+#define RENDERDOC_ShaderDebugMagicValue_truncated 0x48656670eab25520ULL
+
+//////////////////////////////////////////////////////////////////////////////////////////////////
+// RenderDoc capture options
+//
+
+typedef enum RENDERDOC_CaptureOption
+{
+ // Allow the application to enable vsync
+ //
+ // Default - enabled
+ //
+ // 1 - The application can enable or disable vsync at will
+ // 0 - vsync is force disabled
+ eRENDERDOC_Option_AllowVSync = 0,
+
+ // Allow the application to enable fullscreen
+ //
+ // Default - enabled
+ //
+ // 1 - The application can enable or disable fullscreen at will
+ // 0 - fullscreen is force disabled
+ eRENDERDOC_Option_AllowFullscreen = 1,
+
+ // Record API debugging events and messages
+ //
+ // Default - disabled
+ //
+ // 1 - Enable built-in API debugging features and records the results into
+ // the capture, which is matched up with events on replay
+ // 0 - no API debugging is forcibly enabled
+ eRENDERDOC_Option_APIValidation = 2,
+ eRENDERDOC_Option_DebugDeviceMode = 2, // deprecated name of this enum
+
+ // Capture CPU callstacks for API events
+ //
+ // Default - disabled
+ //
+ // 1 - Enables capturing of callstacks
+ // 0 - no callstacks are captured
+ eRENDERDOC_Option_CaptureCallstacks = 3,
+
+ // When capturing CPU callstacks, only capture them from actions.
+ // This option does nothing without the above option being enabled
+ //
+ // Default - disabled
+ //
+ // 1 - Only captures callstacks for actions.
+ // Ignored if CaptureCallstacks is disabled
+ // 0 - Callstacks, if enabled, are captured for every event.
+ eRENDERDOC_Option_CaptureCallstacksOnlyDraws = 4,
+ eRENDERDOC_Option_CaptureCallstacksOnlyActions = 4,
+
+ // Specify a delay in seconds to wait for a debugger to attach, after
+ // creating or injecting into a process, before continuing to allow it to run.
+ //
+ // 0 indicates no delay, and the process will run immediately after injection
+ //
+ // Default - 0 seconds
+ //
+ eRENDERDOC_Option_DelayForDebugger = 5,
+
+ // Verify buffer access. This includes checking the memory returned by a Map() call to
+ // detect any out-of-bounds modification, as well as initialising buffers with undefined contents
+ // to a marker value to catch use of uninitialised memory.
+ //
+ // NOTE: This option is only valid for OpenGL and D3D11. Explicit APIs such as D3D12 and Vulkan do
+ // not do the same kind of interception & checking and undefined contents are really undefined.
+ //
+ // Default - disabled
+ //
+ // 1 - Verify buffer access
+ // 0 - No verification is performed, and overwriting bounds may cause crashes or corruption in
+ // RenderDoc.
+ eRENDERDOC_Option_VerifyBufferAccess = 6,
+
+ // The old name for eRENDERDOC_Option_VerifyBufferAccess was eRENDERDOC_Option_VerifyMapWrites.
+ // This option now controls the filling of uninitialised buffers with 0xdddddddd which was
+ // previously always enabled
+ eRENDERDOC_Option_VerifyMapWrites = eRENDERDOC_Option_VerifyBufferAccess,
+
+ // Hooks any system API calls that create child processes, and injects
+ // RenderDoc into them recursively with the same options.
+ //
+ // Default - disabled
+ //
+ // 1 - Hooks into spawned child processes
+ // 0 - Child processes are not hooked by RenderDoc
+ eRENDERDOC_Option_HookIntoChildren = 7,
+
+ // By default RenderDoc only includes resources in the final capture necessary
+ // for that frame, this allows you to override that behaviour.
+ //
+ // Default - disabled
+ //
+ // 1 - all live resources at the time of capture are included in the capture
+ // and available for inspection
+ // 0 - only the resources referenced by the captured frame are included
+ eRENDERDOC_Option_RefAllResources = 8,
+
+ // **NOTE**: As of RenderDoc v1.1 this option has been deprecated. Setting or
+ // getting it will be ignored, to allow compatibility with older versions.
+ // In v1.1 the option acts as if it's always enabled.
+ //
+ // By default RenderDoc skips saving initial states for resources where the
+ // previous contents don't appear to be used, assuming that writes before
+ // reads indicate previous contents aren't used.
+ //
+ // Default - disabled
+ //
+ // 1 - initial contents at the start of each captured frame are saved, even if
+ // they are later overwritten or cleared before being used.
+ // 0 - unless a read is detected, initial contents will not be saved and will
+ // appear as black or empty data.
+ eRENDERDOC_Option_SaveAllInitials = 9,
+
+ // In APIs that allow for the recording of command lists to be replayed later,
+ // RenderDoc may choose to not capture command lists before a frame capture is
+ // triggered, to reduce overheads. This means any command lists recorded once
+ // and replayed many times will not be available and may cause a failure to
+ // capture.
+ //
+ // NOTE: This is only true for APIs where multithreading is difficult or
+ // discouraged. Newer APIs like Vulkan and D3D12 will ignore this option
+ // and always capture all command lists since the API is heavily oriented
+ // around it and the overheads have been reduced by API design.
+ //
+ // 1 - All command lists are captured from the start of the application
+ // 0 - Command lists are only captured if their recording begins during
+ // the period when a frame capture is in progress.
+ eRENDERDOC_Option_CaptureAllCmdLists = 10,
+
+ // Mute API debugging output when the API validation mode option is enabled
+ //
+ // Default - enabled
+ //
+ // 1 - Mute any API debug messages from being displayed or passed through
+ // 0 - API debugging is displayed as normal
+ eRENDERDOC_Option_DebugOutputMute = 11,
+
+ // Option to allow vendor extensions to be used even when they may be
+ // incompatible with RenderDoc and cause corrupted replays or crashes.
+ //
+ // Default - inactive
+ //
+ // No values are documented, this option should only be used when absolutely
+ // necessary as directed by a RenderDoc developer.
+ eRENDERDOC_Option_AllowUnsupportedVendorExtensions = 12,
+
+ // Define a soft memory limit which some APIs may aim to keep overhead under where
+ // possible. Anything above this limit will where possible be saved directly to disk during
+ // capture.
+ // This will cause increased disk space use (which may cause a capture to fail if disk space is
+ // exhausted) as well as slower capture times.
+ //
+ // Not all memory allocations may be deferred like this so it is not a guarantee of a memory
+ // limit.
+ //
+ // Units are in MBs, suggested values would range from 200MB to 1000MB.
+ //
+ // Default - 0 Megabytes
+ eRENDERDOC_Option_SoftMemoryLimit = 13,
+} RENDERDOC_CaptureOption;
+
+// Sets an option that controls how RenderDoc behaves on capture.
+//
+// Returns 1 if the option and value are valid
+// Returns 0 if either is invalid and the option is unchanged
+typedef int(RENDERDOC_CC *pRENDERDOC_SetCaptureOptionU32)(RENDERDOC_CaptureOption opt, uint32_t val);
+typedef int(RENDERDOC_CC *pRENDERDOC_SetCaptureOptionF32)(RENDERDOC_CaptureOption opt, float val);
+
+// Gets the current value of an option as a uint32_t
+//
+// If the option is invalid, 0xffffffff is returned
+typedef uint32_t(RENDERDOC_CC *pRENDERDOC_GetCaptureOptionU32)(RENDERDOC_CaptureOption opt);
+
+// Gets the current value of an option as a float
+//
+// If the option is invalid, -FLT_MAX is returned
+typedef float(RENDERDOC_CC *pRENDERDOC_GetCaptureOptionF32)(RENDERDOC_CaptureOption opt);
+
+typedef enum RENDERDOC_InputButton
+{
+ // '0' - '9' matches ASCII values
+ eRENDERDOC_Key_0 = 0x30,
+ eRENDERDOC_Key_1 = 0x31,
+ eRENDERDOC_Key_2 = 0x32,
+ eRENDERDOC_Key_3 = 0x33,
+ eRENDERDOC_Key_4 = 0x34,
+ eRENDERDOC_Key_5 = 0x35,
+ eRENDERDOC_Key_6 = 0x36,
+ eRENDERDOC_Key_7 = 0x37,
+ eRENDERDOC_Key_8 = 0x38,
+ eRENDERDOC_Key_9 = 0x39,
+
+ // 'A' - 'Z' matches ASCII values
+ eRENDERDOC_Key_A = 0x41,
+ eRENDERDOC_Key_B = 0x42,
+ eRENDERDOC_Key_C = 0x43,
+ eRENDERDOC_Key_D = 0x44,
+ eRENDERDOC_Key_E = 0x45,
+ eRENDERDOC_Key_F = 0x46,
+ eRENDERDOC_Key_G = 0x47,
+ eRENDERDOC_Key_H = 0x48,
+ eRENDERDOC_Key_I = 0x49,
+ eRENDERDOC_Key_J = 0x4A,
+ eRENDERDOC_Key_K = 0x4B,
+ eRENDERDOC_Key_L = 0x4C,
+ eRENDERDOC_Key_M = 0x4D,
+ eRENDERDOC_Key_N = 0x4E,
+ eRENDERDOC_Key_O = 0x4F,
+ eRENDERDOC_Key_P = 0x50,
+ eRENDERDOC_Key_Q = 0x51,
+ eRENDERDOC_Key_R = 0x52,
+ eRENDERDOC_Key_S = 0x53,
+ eRENDERDOC_Key_T = 0x54,
+ eRENDERDOC_Key_U = 0x55,
+ eRENDERDOC_Key_V = 0x56,
+ eRENDERDOC_Key_W = 0x57,
+ eRENDERDOC_Key_X = 0x58,
+ eRENDERDOC_Key_Y = 0x59,
+ eRENDERDOC_Key_Z = 0x5A,
+
+ // leave the rest of the ASCII range free
+ // in case we want to use it later
+ eRENDERDOC_Key_NonPrintable = 0x100,
+
+ eRENDERDOC_Key_Divide,
+ eRENDERDOC_Key_Multiply,
+ eRENDERDOC_Key_Subtract,
+ eRENDERDOC_Key_Plus,
+
+ eRENDERDOC_Key_F1,
+ eRENDERDOC_Key_F2,
+ eRENDERDOC_Key_F3,
+ eRENDERDOC_Key_F4,
+ eRENDERDOC_Key_F5,
+ eRENDERDOC_Key_F6,
+ eRENDERDOC_Key_F7,
+ eRENDERDOC_Key_F8,
+ eRENDERDOC_Key_F9,
+ eRENDERDOC_Key_F10,
+ eRENDERDOC_Key_F11,
+ eRENDERDOC_Key_F12,
+
+ eRENDERDOC_Key_Home,
+ eRENDERDOC_Key_End,
+ eRENDERDOC_Key_Insert,
+ eRENDERDOC_Key_Delete,
+ eRENDERDOC_Key_PageUp,
+ eRENDERDOC_Key_PageDn,
+
+ eRENDERDOC_Key_Backspace,
+ eRENDERDOC_Key_Tab,
+ eRENDERDOC_Key_PrtScrn,
+ eRENDERDOC_Key_Pause,
+
+ eRENDERDOC_Key_Max,
+} RENDERDOC_InputButton;
+
+// Sets which key or keys can be used to toggle focus between multiple windows
+//
+// If keys is NULL or num is 0, toggle keys will be disabled
+typedef void(RENDERDOC_CC *pRENDERDOC_SetFocusToggleKeys)(RENDERDOC_InputButton *keys, int num);
+
+// Sets which key or keys can be used to capture the next frame
+//
+// If keys is NULL or num is 0, captures keys will be disabled
+typedef void(RENDERDOC_CC *pRENDERDOC_SetCaptureKeys)(RENDERDOC_InputButton *keys, int num);
+
+typedef enum RENDERDOC_OverlayBits
+{
+ // This single bit controls whether the overlay is enabled or disabled globally
+ eRENDERDOC_Overlay_Enabled = 0x1,
+
+ // Show the average framerate over several seconds as well as min/max
+ eRENDERDOC_Overlay_FrameRate = 0x2,
+
+ // Show the current frame number
+ eRENDERDOC_Overlay_FrameNumber = 0x4,
+
+ // Show a list of recent captures, and how many captures have been made
+ eRENDERDOC_Overlay_CaptureList = 0x8,
+
+ // Default values for the overlay mask
+ eRENDERDOC_Overlay_Default = (eRENDERDOC_Overlay_Enabled | eRENDERDOC_Overlay_FrameRate |
+ eRENDERDOC_Overlay_FrameNumber | eRENDERDOC_Overlay_CaptureList),
+
+ // Enable all bits
+ eRENDERDOC_Overlay_All = ~0U,
+
+ // Disable all bits
+ eRENDERDOC_Overlay_None = 0,
+} RENDERDOC_OverlayBits;
+
+// returns the overlay bits that have been set
+typedef uint32_t(RENDERDOC_CC *pRENDERDOC_GetOverlayBits)();
+// sets the overlay bits with an and & or mask
+typedef void(RENDERDOC_CC *pRENDERDOC_MaskOverlayBits)(uint32_t And, uint32_t Or);
+
+// this function will attempt to remove RenderDoc's hooks in the application.
+//
+// Note: that this can only work correctly if done immediately after
+// the module is loaded, before any API work happens. RenderDoc will remove its
+// injected hooks and shut down. Behaviour is undefined if this is called
+// after any API functions have been called, and there is still no guarantee of
+// success.
+typedef void(RENDERDOC_CC *pRENDERDOC_RemoveHooks)();
+
+// DEPRECATED: compatibility for code compiled against pre-1.4.1 headers.
+typedef pRENDERDOC_RemoveHooks pRENDERDOC_Shutdown;
+
+// This function will unload RenderDoc's crash handler.
+//
+// If you use your own crash handler and don't want RenderDoc's handler to
+// intercede, you can call this function to unload it and any unhandled
+// exceptions will pass to the next handler.
+typedef void(RENDERDOC_CC *pRENDERDOC_UnloadCrashHandler)();
+
+// Sets the capture file path template
+//
+// pathtemplate is a UTF-8 string that gives a template for how captures will be named
+// and where they will be saved.
+//
+// Any extension is stripped off the path, and captures are saved in the directory
+// specified, and named with the filename and the frame number appended. If the
+// directory does not exist it will be created, including any parent directories.
+//
+// If pathtemplate is NULL, the template will remain unchanged
+//
+// Example:
+//
+// SetCaptureFilePathTemplate("my_captures/example");
+//
+// Capture #1 -> my_captures/example_frame123.rdc
+// Capture #2 -> my_captures/example_frame456.rdc
+typedef void(RENDERDOC_CC *pRENDERDOC_SetCaptureFilePathTemplate)(const char *pathtemplate);
+
+// returns the current capture path template, see SetCaptureFileTemplate above, as a UTF-8 string
+typedef const char *(RENDERDOC_CC *pRENDERDOC_GetCaptureFilePathTemplate)();
+
+// DEPRECATED: compatibility for code compiled against pre-1.1.2 headers.
+typedef pRENDERDOC_SetCaptureFilePathTemplate pRENDERDOC_SetLogFilePathTemplate;
+typedef pRENDERDOC_GetCaptureFilePathTemplate pRENDERDOC_GetLogFilePathTemplate;
+
+// returns the number of captures that have been made
+typedef uint32_t(RENDERDOC_CC *pRENDERDOC_GetNumCaptures)();
+
+// This function returns the details of a capture, by index. New captures are added
+// to the end of the list.
+//
+// filename will be filled with the absolute path to the capture file, as a UTF-8 string
+// pathlength will be written with the length in bytes of the filename string
+// timestamp will be written with the time of the capture, in seconds since the Unix epoch
+//
+// Any of the parameters can be NULL and they'll be skipped.
+//
+// The function will return 1 if the capture index is valid, or 0 if the index is invalid
+// If the index is invalid, the values will be unchanged
+//
+// Note: when captures are deleted in the UI they will remain in this list, so the
+// capture path may not exist anymore.
+typedef uint32_t(RENDERDOC_CC *pRENDERDOC_GetCapture)(uint32_t idx, char *filename,
+ uint32_t *pathlength, uint64_t *timestamp);
+
+// Sets the comments associated with a capture file. These comments are displayed in the
+// UI program when opening.
+//
+// filePath should be a path to the capture file to add comments to. If set to NULL or ""
+// the most recent capture file created made will be used instead.
+// comments should be a NULL-terminated UTF-8 string to add as comments.
+//
+// Any existing comments will be overwritten.
+typedef void(RENDERDOC_CC *pRENDERDOC_SetCaptureFileComments)(const char *filePath,
+ const char *comments);
+
+// returns 1 if the RenderDoc UI is connected to this application, 0 otherwise
+typedef uint32_t(RENDERDOC_CC *pRENDERDOC_IsTargetControlConnected)();
+
+// DEPRECATED: compatibility for code compiled against pre-1.1.1 headers.
+// This was renamed to IsTargetControlConnected in API 1.1.1, the old typedef is kept here for
+// backwards compatibility with old code, it is castable either way since it's ABI compatible
+// as the same function pointer type.
+typedef pRENDERDOC_IsTargetControlConnected pRENDERDOC_IsRemoteAccessConnected;
+
+// This function will launch the Replay UI associated with the RenderDoc library injected
+// into the running application.
+//
+// if connectTargetControl is 1, the Replay UI will be launched with a command line parameter
+// to connect to this application
+// cmdline is the rest of the command line, as a UTF-8 string. E.g. a captures to open
+// if cmdline is NULL, the command line will be empty.
+//
+// returns the PID of the replay UI if successful, 0 if not successful.
+typedef uint32_t(RENDERDOC_CC *pRENDERDOC_LaunchReplayUI)(uint32_t connectTargetControl,
+ const char *cmdline);
+
+// RenderDoc can return a higher version than requested if it's backwards compatible,
+// this function returns the actual version returned. If a parameter is NULL, it will be
+// ignored and the others will be filled out.
+typedef void(RENDERDOC_CC *pRENDERDOC_GetAPIVersion)(int *major, int *minor, int *patch);
+
+// Requests that the replay UI show itself (if hidden or not the current top window). This can be
+// used in conjunction with IsTargetControlConnected and LaunchReplayUI to intelligently handle
+// showing the UI after making a capture.
+//
+// This will return 1 if the request was successfully passed on, though it's not guaranteed that
+// the UI will be on top in all cases depending on OS rules. It will return 0 if there is no current
+// target control connection to make such a request, or if there was another error
+typedef uint32_t(RENDERDOC_CC *pRENDERDOC_ShowReplayUI)();
+
+//////////////////////////////////////////////////////////////////////////
+// Capturing functions
+//
+
+// A device pointer is a pointer to the API's root handle.
+//
+// This would be an ID3D11Device, HGLRC/GLXContext, ID3D12Device, etc
+typedef void *RENDERDOC_DevicePointer;
+
+// A window handle is the OS's native window handle
+//
+// This would be an HWND, GLXDrawable, etc
+typedef void *RENDERDOC_WindowHandle;
+
+// A helper macro for Vulkan, where the device handle cannot be used directly.
+//
+// Passing the VkInstance to this macro will return the RENDERDOC_DevicePointer to use.
+//
+// Specifically, the value needed is the dispatch table pointer, which sits as the first
+// pointer-sized object in the memory pointed to by the VkInstance. Thus we cast to a void** and
+// indirect once.
+#define RENDERDOC_DEVICEPOINTER_FROM_VKINSTANCE(inst) (*((void **)(inst)))
+
+// This sets the RenderDoc in-app overlay in the API/window pair as 'active' and it will
+// respond to keypresses. Neither parameter can be NULL
+typedef void(RENDERDOC_CC *pRENDERDOC_SetActiveWindow)(RENDERDOC_DevicePointer device,
+ RENDERDOC_WindowHandle wndHandle);
+
+// capture the next frame on whichever window and API is currently considered active
+typedef void(RENDERDOC_CC *pRENDERDOC_TriggerCapture)();
+
+// capture the next N frames on whichever window and API is currently considered active
+typedef void(RENDERDOC_CC *pRENDERDOC_TriggerMultiFrameCapture)(uint32_t numFrames);
+
+// When choosing either a device pointer or a window handle to capture, you can pass NULL.
+// Passing NULL specifies a 'wildcard' match against anything. This allows you to specify
+// any API rendering to a specific window, or a specific API instance rendering to any window,
+// or in the simplest case of one window and one API, you can just pass NULL for both.
+//
+// In either case, if there are two or more possible matching (device,window) pairs it
+// is undefined which one will be captured.
+//
+// Note: for headless rendering you can pass NULL for the window handle and either specify
+// a device pointer or leave it NULL as above.
+
+// Immediately starts capturing API calls on the specified device pointer and window handle.
+//
+// If there is no matching thing to capture (e.g. no supported API has been initialised),
+// this will do nothing.
+//
+// The results are undefined (including crashes) if two captures are started overlapping,
+// even on separate devices and/oror windows.
+typedef void(RENDERDOC_CC *pRENDERDOC_StartFrameCapture)(RENDERDOC_DevicePointer device,
+ RENDERDOC_WindowHandle wndHandle);
+
+// Returns whether or not a frame capture is currently ongoing anywhere.
+//
+// This will return 1 if a capture is ongoing, and 0 if there is no capture running
+typedef uint32_t(RENDERDOC_CC *pRENDERDOC_IsFrameCapturing)();
+
+// Ends capturing immediately.
+//
+// This will return 1 if the capture succeeded, and 0 if there was an error capturing.
+typedef uint32_t(RENDERDOC_CC *pRENDERDOC_EndFrameCapture)(RENDERDOC_DevicePointer device,
+ RENDERDOC_WindowHandle wndHandle);
+
+// Ends capturing immediately and discard any data stored without saving to disk.
+//
+// This will return 1 if the capture was discarded, and 0 if there was an error or no capture
+// was in progress
+typedef uint32_t(RENDERDOC_CC *pRENDERDOC_DiscardFrameCapture)(RENDERDOC_DevicePointer device,
+ RENDERDOC_WindowHandle wndHandle);
+
+// Only valid to be called between a call to StartFrameCapture and EndFrameCapture. Gives a custom
+// title to the capture produced which will be displayed in the UI.
+//
+// If multiple captures are ongoing, this title will be applied to the first capture to end after
+// this call. The second capture to end will have no title, unless this function is called again.
+//
+// Calling this function has no effect if no capture is currently running, and if it is called
+// multiple times only the last title will be used.
+typedef void(RENDERDOC_CC *pRENDERDOC_SetCaptureTitle)(const char *title);
+
+//////////////////////////////////////////////////////////////////////////////////////////////////
+// RenderDoc API versions
+//
+
+// RenderDoc uses semantic versioning (http://semver.org/).
+//
+// MAJOR version is incremented when incompatible API changes happen.
+// MINOR version is incremented when functionality is added in a backwards-compatible manner.
+// PATCH version is incremented when backwards-compatible bug fixes happen.
+//
+// Note that this means the API returned can be higher than the one you might have requested.
+// e.g. if you are running against a newer RenderDoc that supports 1.0.1, it will be returned
+// instead of 1.0.0. You can check this with the GetAPIVersion entry point
+typedef enum RENDERDOC_Version
+{
+ eRENDERDOC_API_Version_1_0_0 = 10000, // RENDERDOC_API_1_0_0 = 1 00 00
+ eRENDERDOC_API_Version_1_0_1 = 10001, // RENDERDOC_API_1_0_1 = 1 00 01
+ eRENDERDOC_API_Version_1_0_2 = 10002, // RENDERDOC_API_1_0_2 = 1 00 02
+ eRENDERDOC_API_Version_1_1_0 = 10100, // RENDERDOC_API_1_1_0 = 1 01 00
+ eRENDERDOC_API_Version_1_1_1 = 10101, // RENDERDOC_API_1_1_1 = 1 01 01
+ eRENDERDOC_API_Version_1_1_2 = 10102, // RENDERDOC_API_1_1_2 = 1 01 02
+ eRENDERDOC_API_Version_1_2_0 = 10200, // RENDERDOC_API_1_2_0 = 1 02 00
+ eRENDERDOC_API_Version_1_3_0 = 10300, // RENDERDOC_API_1_3_0 = 1 03 00
+ eRENDERDOC_API_Version_1_4_0 = 10400, // RENDERDOC_API_1_4_0 = 1 04 00
+ eRENDERDOC_API_Version_1_4_1 = 10401, // RENDERDOC_API_1_4_1 = 1 04 01
+ eRENDERDOC_API_Version_1_4_2 = 10402, // RENDERDOC_API_1_4_2 = 1 04 02
+ eRENDERDOC_API_Version_1_5_0 = 10500, // RENDERDOC_API_1_5_0 = 1 05 00
+ eRENDERDOC_API_Version_1_6_0 = 10600, // RENDERDOC_API_1_6_0 = 1 06 00
+} RENDERDOC_Version;
+
+// API version changelog:
+//
+// 1.0.0 - initial release
+// 1.0.1 - Bugfix: IsFrameCapturing() was returning false for captures that were triggered
+// by keypress or TriggerCapture, instead of Start/EndFrameCapture.
+// 1.0.2 - Refactor: Renamed eRENDERDOC_Option_DebugDeviceMode to eRENDERDOC_Option_APIValidation
+// 1.1.0 - Add feature: TriggerMultiFrameCapture(). Backwards compatible with 1.0.x since the new
+// function pointer is added to the end of the struct, the original layout is identical
+// 1.1.1 - Refactor: Renamed remote access to target control (to better disambiguate from remote
+// replay/remote server concept in replay UI)
+// 1.1.2 - Refactor: Renamed "log file" in function names to just capture, to clarify that these
+// are captures and not debug logging files. This is the first API version in the v1.0
+// branch.
+// 1.2.0 - Added feature: SetCaptureFileComments() to add comments to a capture file that will be
+// displayed in the UI program on load.
+// 1.3.0 - Added feature: New capture option eRENDERDOC_Option_AllowUnsupportedVendorExtensions
+// which allows users to opt-in to allowing unsupported vendor extensions to function.
+// Should be used at the user's own risk.
+// Refactor: Renamed eRENDERDOC_Option_VerifyMapWrites to
+// eRENDERDOC_Option_VerifyBufferAccess, which now also controls initialisation to
+// 0xdddddddd of uninitialised buffer contents.
+// 1.4.0 - Added feature: DiscardFrameCapture() to discard a frame capture in progress and stop
+// capturing without saving anything to disk.
+// 1.4.1 - Refactor: Renamed Shutdown to RemoveHooks to better clarify what is happening
+// 1.4.2 - Refactor: Renamed 'draws' to 'actions' in callstack capture option.
+// 1.5.0 - Added feature: ShowReplayUI() to request that the replay UI show itself if connected
+// 1.6.0 - Added feature: SetCaptureTitle() which can be used to set a title for a
+// capture made with StartFrameCapture() or EndFrameCapture()
+
+typedef struct RENDERDOC_API_1_6_0
+{
+ pRENDERDOC_GetAPIVersion GetAPIVersion;
+
+ pRENDERDOC_SetCaptureOptionU32 SetCaptureOptionU32;
+ pRENDERDOC_SetCaptureOptionF32 SetCaptureOptionF32;
+
+ pRENDERDOC_GetCaptureOptionU32 GetCaptureOptionU32;
+ pRENDERDOC_GetCaptureOptionF32 GetCaptureOptionF32;
+
+ pRENDERDOC_SetFocusToggleKeys SetFocusToggleKeys;
+ pRENDERDOC_SetCaptureKeys SetCaptureKeys;
+
+ pRENDERDOC_GetOverlayBits GetOverlayBits;
+ pRENDERDOC_MaskOverlayBits MaskOverlayBits;
+
+ // Shutdown was renamed to RemoveHooks in 1.4.1.
+ // These unions allow old code to continue compiling without changes
+ union
+ {
+ pRENDERDOC_Shutdown Shutdown;
+ pRENDERDOC_RemoveHooks RemoveHooks;
+ };
+ pRENDERDOC_UnloadCrashHandler UnloadCrashHandler;
+
+ // Get/SetLogFilePathTemplate was renamed to Get/SetCaptureFilePathTemplate in 1.1.2.
+ // These unions allow old code to continue compiling without changes
+ union
+ {
+ // deprecated name
+ pRENDERDOC_SetLogFilePathTemplate SetLogFilePathTemplate;
+ // current name
+ pRENDERDOC_SetCaptureFilePathTemplate SetCaptureFilePathTemplate;
+ };
+ union
+ {
+ // deprecated name
+ pRENDERDOC_GetLogFilePathTemplate GetLogFilePathTemplate;
+ // current name
+ pRENDERDOC_GetCaptureFilePathTemplate GetCaptureFilePathTemplate;
+ };
+
+ pRENDERDOC_GetNumCaptures GetNumCaptures;
+ pRENDERDOC_GetCapture GetCapture;
+
+ pRENDERDOC_TriggerCapture TriggerCapture;
+
+ // IsRemoteAccessConnected was renamed to IsTargetControlConnected in 1.1.1.
+ // This union allows old code to continue compiling without changes
+ union
+ {
+ // deprecated name
+ pRENDERDOC_IsRemoteAccessConnected IsRemoteAccessConnected;
+ // current name
+ pRENDERDOC_IsTargetControlConnected IsTargetControlConnected;
+ };
+ pRENDERDOC_LaunchReplayUI LaunchReplayUI;
+
+ pRENDERDOC_SetActiveWindow SetActiveWindow;
+
+ pRENDERDOC_StartFrameCapture StartFrameCapture;
+ pRENDERDOC_IsFrameCapturing IsFrameCapturing;
+ pRENDERDOC_EndFrameCapture EndFrameCapture;
+
+ // new function in 1.1.0
+ pRENDERDOC_TriggerMultiFrameCapture TriggerMultiFrameCapture;
+
+ // new function in 1.2.0
+ pRENDERDOC_SetCaptureFileComments SetCaptureFileComments;
+
+ // new function in 1.4.0
+ pRENDERDOC_DiscardFrameCapture DiscardFrameCapture;
+
+ // new function in 1.5.0
+ pRENDERDOC_ShowReplayUI ShowReplayUI;
+
+ // new function in 1.6.0
+ pRENDERDOC_SetCaptureTitle SetCaptureTitle;
+} RENDERDOC_API_1_6_0;
+
+typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_0_0;
+typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_0_1;
+typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_0_2;
+typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_1_0;
+typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_1_1;
+typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_1_2;
+typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_2_0;
+typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_3_0;
+typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_4_0;
+typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_4_1;
+typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_4_2;
+typedef RENDERDOC_API_1_6_0 RENDERDOC_API_1_5_0;
+
+//////////////////////////////////////////////////////////////////////////////////////////////////
+// RenderDoc API entry point
+//
+// This entry point can be obtained via GetProcAddress/dlsym if RenderDoc is available.
+//
+// The name is the same as the typedef - "RENDERDOC_GetAPI"
+//
+// This function is not thread safe, and should not be called on multiple threads at once.
+// Ideally, call this once as early as possible in your application's startup, before doing
+// any API work, since some configuration functionality etc has to be done also before
+// initialising any APIs.
+//
+// Parameters:
+// version is a single value from the RENDERDOC_Version above.
+//
+// outAPIPointers will be filled out with a pointer to the corresponding struct of function
+// pointers.
+//
+// Returns:
+// 1 - if the outAPIPointers has been filled with a pointer to the API struct requested
+// 0 - if the requested version is not supported or the arguments are invalid.
+//
+typedef int(RENDERDOC_CC *pRENDERDOC_GetAPI)(RENDERDOC_Version version, void **outAPIPointers);
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
diff --git a/externals/stb/stb_image.cpp b/externals/stb/stb_image.cpp
new file mode 100644
index 000000000..dbf26f7c5
--- /dev/null
+++ b/externals/stb/stb_image.cpp
@@ -0,0 +1,7529 @@
+// SPDX-FileCopyrightText: stb http://nothings.org/stb
+// SPDX-License-Identifier: MIT
+
+/* stb_image - v2.28 - public domain image loader - http://nothings.org/stb
+ no warranty implied; use at your own risk
+
+LICENSE
+
+ See end of file for license information.
+
+RECENT REVISION HISTORY:
+
+ 2.28 (2023-01-29) many error fixes, security errors, just tons of stuff
+ 2.27 (2021-07-11) document stbi_info better, 16-bit PNM support, bug fixes
+ 2.26 (2020-07-13) many minor fixes
+ 2.25 (2020-02-02) fix warnings
+ 2.24 (2020-02-02) fix warnings; thread-local failure_reason and flip_vertically
+ 2.23 (2019-08-11) fix clang static analysis warning
+ 2.22 (2019-03-04) gif fixes, fix warnings
+ 2.21 (2019-02-25) fix typo in comment
+ 2.20 (2019-02-07) support utf8 filenames in Windows; fix warnings and platform ifdefs
+ 2.19 (2018-02-11) fix warning
+ 2.18 (2018-01-30) fix warnings
+ 2.17 (2018-01-29) bugfix, 1-bit BMP, 16-bitness query, fix warnings
+ 2.16 (2017-07-23) all functions have 16-bit variants; optimizations; bugfixes
+ 2.15 (2017-03-18) fix png-1,2,4; all Imagenet JPGs; no runtime SSE detection on GCC
+ 2.14 (2017-03-03) remove deprecated STBI_JPEG_OLD; fixes for Imagenet JPGs
+ 2.13 (2016-12-04) experimental 16-bit API, only for PNG so far; fixes
+ 2.12 (2016-04-02) fix typo in 2.11 PSD fix that caused crashes
+ 2.11 (2016-04-02) 16-bit PNGS; enable SSE2 in non-gcc x64
+ RGB-format JPEG; remove white matting in PSD;
+ allocate large structures on the stack;
+ correct channel count for PNG & BMP
+ 2.10 (2016-01-22) avoid warning introduced in 2.09
+ 2.09 (2016-01-16) 16-bit TGA; comments in PNM files; STBI_REALLOC_SIZED
+
+ See end of file for full revision history.
+
+
+ ============================ Contributors =========================
+
+ Image formats Extensions, features
+ Sean Barrett (jpeg, png, bmp) Jetro Lauha (stbi_info)
+ Nicolas Schulz (hdr, psd) Martin "SpartanJ" Golini (stbi_info)
+ Jonathan Dummer (tga) James "moose2000" Brown (iPhone PNG)
+ Jean-Marc Lienher (gif) Ben "Disch" Wenger (io callbacks)
+ Tom Seddon (pic) Omar Cornut (1/2/4-bit PNG)
+ Thatcher Ulrich (psd) Nicolas Guillemot (vertical flip)
+ Ken Miller (pgm, ppm) Richard Mitton (16-bit PSD)
+ github:urraka (animated gif) Junggon Kim (PNM comments)
+ Christopher Forseth (animated gif) Daniel Gibson (16-bit TGA)
+ socks-the-fox (16-bit PNG)
+ Jeremy Sawicki (handle all ImageNet JPGs)
+ Optimizations & bugfixes Mikhail Morozov (1-bit BMP)
+ Fabian "ryg" Giesen Anael Seghezzi (is-16-bit query)
+ Arseny Kapoulkine Simon Breuss (16-bit PNM)
+ John-Mark Allen
+ Carmelo J Fdez-Aguera
+
+ Bug & warning fixes
+ Marc LeBlanc David Woo Guillaume George Martins Mozeiko
+ Christpher Lloyd Jerry Jansson Joseph Thomson Blazej Dariusz Roszkowski
+ Phil Jordan Dave Moore Roy Eltham
+ Hayaki Saito Nathan Reed Won Chun
+ Luke Graham Johan Duparc Nick Verigakis the Horde3D community
+ Thomas Ruf Ronny Chevalier github:rlyeh
+ Janez Zemva John Bartholomew Michal Cichon github:romigrou
+ Jonathan Blow Ken Hamada Tero Hanninen github:svdijk
+ Eugene Golushkov Laurent Gomila Cort Stratton github:snagar
+ Aruelien Pocheville Sergio Gonzalez Thibault Reuille github:Zelex
+ Cass Everitt Ryamond Barbiero github:grim210
+ Paul Du Bois Engin Manap Aldo Culquicondor github:sammyhw
+ Philipp Wiesemann Dale Weiler Oriol Ferrer Mesia github:phprus
+ Josh Tobin Neil Bickford Matthew Gregan github:poppolopoppo
+ Julian Raschke Gregory Mullen Christian Floisand github:darealshinji
+ Baldur Karlsson Kevin Schmidt JR Smith github:Michaelangel007
+ Brad Weinberger Matvey Cherevko github:mosra
+ Luca Sas Alexander Veselov Zack Middleton [reserved]
+ Ryan C. Gordon [reserved] [reserved]
+ DO NOT ADD YOUR NAME HERE
+
+ Jacko Dirks
+
+ To add your name to the credits, pick a random blank space in the middle and fill it.
+ 80% of merge conflicts on stb PRs are due to people adding their name at the end
+ of the credits.
+*/
+
+#include <stb_image.h>
+
+#if defined(STBI_ONLY_JPEG) || defined(STBI_ONLY_PNG) || defined(STBI_ONLY_BMP) \
+ || defined(STBI_ONLY_TGA) || defined(STBI_ONLY_GIF) || defined(STBI_ONLY_PSD) \
+ || defined(STBI_ONLY_HDR) || defined(STBI_ONLY_PIC) || defined(STBI_ONLY_PNM) \
+ || defined(STBI_ONLY_ZLIB)
+ #ifndef STBI_ONLY_JPEG
+ #define STBI_NO_JPEG
+ #endif
+ #ifndef STBI_ONLY_PNG
+ #define STBI_NO_PNG
+ #endif
+ #ifndef STBI_ONLY_BMP
+ #define STBI_NO_BMP
+ #endif
+ #ifndef STBI_ONLY_PSD
+ #define STBI_NO_PSD
+ #endif
+ #ifndef STBI_ONLY_TGA
+ #define STBI_NO_TGA
+ #endif
+ #ifndef STBI_ONLY_GIF
+ #define STBI_NO_GIF
+ #endif
+ #ifndef STBI_ONLY_HDR
+ #define STBI_NO_HDR
+ #endif
+ #ifndef STBI_ONLY_PIC
+ #define STBI_NO_PIC
+ #endif
+ #ifndef STBI_ONLY_PNM
+ #define STBI_NO_PNM
+ #endif
+#endif
+
+#if defined(STBI_NO_PNG) && !defined(STBI_SUPPORT_ZLIB) && !defined(STBI_NO_ZLIB)
+#define STBI_NO_ZLIB
+#endif
+
+
+#include <stdarg.h>
+#include <stddef.h> // ptrdiff_t on osx
+#include <stdlib.h>
+#include <string.h>
+#include <limits.h>
+
+#if !defined(STBI_NO_LINEAR) || !defined(STBI_NO_HDR)
+#include <math.h> // ldexp, pow
+#endif
+
+#ifndef STBI_NO_STDIO
+#include <stdio.h>
+#endif
+
+#ifndef STBI_ASSERT
+#include <assert.h>
+#define STBI_ASSERT(x) assert(x)
+#endif
+
+#ifdef __cplusplus
+#define STBI_EXTERN extern "C"
+#else
+#define STBI_EXTERN extern
+#endif
+
+
+#ifndef _MSC_VER
+ #ifdef __cplusplus
+ #define stbi_inline inline
+ #else
+ #define stbi_inline
+ #endif
+#else
+ #define stbi_inline __forceinline
+#endif
+
+#ifndef STBI_NO_THREAD_LOCALS
+ #if defined(__cplusplus) && __cplusplus >= 201103L
+ #define STBI_THREAD_LOCAL thread_local
+ #elif defined(__GNUC__) && __GNUC__ < 5
+ #define STBI_THREAD_LOCAL __thread
+ #elif defined(_MSC_VER)
+ #define STBI_THREAD_LOCAL __declspec(thread)
+ #elif defined (__STDC_VERSION__) && __STDC_VERSION__ >= 201112L && !defined(__STDC_NO_THREADS__)
+ #define STBI_THREAD_LOCAL _Thread_local
+ #endif
+
+ #ifndef STBI_THREAD_LOCAL
+ #if defined(__GNUC__)
+ #define STBI_THREAD_LOCAL __thread
+ #endif
+ #endif
+#endif
+
+#if defined(_MSC_VER) || defined(__SYMBIAN32__)
+typedef unsigned short stbi__uint16;
+typedef signed short stbi__int16;
+typedef unsigned int stbi__uint32;
+typedef signed int stbi__int32;
+#else
+#include <stdint.h>
+typedef uint16_t stbi__uint16;
+typedef int16_t stbi__int16;
+typedef uint32_t stbi__uint32;
+typedef int32_t stbi__int32;
+#endif
+
+// should produce compiler error if size is wrong
+typedef unsigned char validate_uint32[sizeof(stbi__uint32)==4 ? 1 : -1];
+
+#ifdef _MSC_VER
+#define STBI_NOTUSED(v) (void)(v)
+#else
+#define STBI_NOTUSED(v) (void)sizeof(v)
+#endif
+
+#ifdef _MSC_VER
+#define STBI_HAS_LROTL
+#endif
+
+#ifdef STBI_HAS_LROTL
+ #define stbi_lrot(x,y) _lrotl(x,y)
+#else
+ #define stbi_lrot(x,y) (((x) << (y)) | ((x) >> (-(y) & 31)))
+#endif
+
+#if defined(STBI_MALLOC) && defined(STBI_FREE) && (defined(STBI_REALLOC) || defined(STBI_REALLOC_SIZED))
+// ok
+#elif !defined(STBI_MALLOC) && !defined(STBI_FREE) && !defined(STBI_REALLOC) && !defined(STBI_REALLOC_SIZED)
+// ok
+#else
+#error "Must define all or none of STBI_MALLOC, STBI_FREE, and STBI_REALLOC (or STBI_REALLOC_SIZED)."
+#endif
+
+#ifndef STBI_MALLOC
+#define STBI_MALLOC(sz) malloc(sz)
+#define STBI_REALLOC(p,newsz) realloc(p,newsz)
+#define STBI_FREE(p) free(p)
+#endif
+
+#ifndef STBI_REALLOC_SIZED
+#define STBI_REALLOC_SIZED(p,oldsz,newsz) STBI_REALLOC(p,newsz)
+#endif
+
+// x86/x64 detection
+#if defined(__x86_64__) || defined(_M_X64)
+#define STBI__X64_TARGET
+#elif defined(__i386) || defined(_M_IX86)
+#define STBI__X86_TARGET
+#endif
+
+#if defined(__GNUC__) && defined(STBI__X86_TARGET) && !defined(__SSE2__) && !defined(STBI_NO_SIMD)
+// gcc doesn't support sse2 intrinsics unless you compile with -msse2,
+// which in turn means it gets to use SSE2 everywhere. This is unfortunate,
+// but previous attempts to provide the SSE2 functions with runtime
+// detection caused numerous issues. The way architecture extensions are
+// exposed in GCC/Clang is, sadly, not really suited for one-file libs.
+// New behavior: if compiled with -msse2, we use SSE2 without any
+// detection; if not, we don't use it at all.
+#define STBI_NO_SIMD
+#endif
+
+#if defined(__MINGW32__) && defined(STBI__X86_TARGET) && !defined(STBI_MINGW_ENABLE_SSE2) && !defined(STBI_NO_SIMD)
+// Note that __MINGW32__ doesn't actually mean 32-bit, so we have to avoid STBI__X64_TARGET
+//
+// 32-bit MinGW wants ESP to be 16-byte aligned, but this is not in the
+// Windows ABI and VC++ as well as Windows DLLs don't maintain that invariant.
+// As a result, enabling SSE2 on 32-bit MinGW is dangerous when not
+// simultaneously enabling "-mstackrealign".
+//
+// See https://github.com/nothings/stb/issues/81 for more information.
+//
+// So default to no SSE2 on 32-bit MinGW. If you've read this far and added
+// -mstackrealign to your build settings, feel free to #define STBI_MINGW_ENABLE_SSE2.
+#define STBI_NO_SIMD
+#endif
+
+#if !defined(STBI_NO_SIMD) && (defined(STBI__X86_TARGET) || defined(STBI__X64_TARGET))
+#define STBI_SSE2
+#include <emmintrin.h>
+
+#ifdef _MSC_VER
+
+#if _MSC_VER >= 1400 // not VC6
+#include <intrin.h> // __cpuid
+static int stbi__cpuid3(void)
+{
+ int info[4];
+ __cpuid(info,1);
+ return info[3];
+}
+#else
+static int stbi__cpuid3(void)
+{
+ int res;
+ __asm {
+ mov eax,1
+ cpuid
+ mov res,edx
+ }
+ return res;
+}
+#endif
+
+#define STBI_SIMD_ALIGN(type, name) __declspec(align(16)) type name
+
+#if !defined(STBI_NO_JPEG) && defined(STBI_SSE2)
+static int stbi__sse2_available(void)
+{
+ int info3 = stbi__cpuid3();
+ return ((info3 >> 26) & 1) != 0;
+}
+#endif
+
+#else // assume GCC-style if not VC++
+#define STBI_SIMD_ALIGN(type, name) type name __attribute__((aligned(16)))
+
+#if !defined(STBI_NO_JPEG) && defined(STBI_SSE2)
+static int stbi__sse2_available(void)
+{
+ // If we're even attempting to compile this on GCC/Clang, that means
+ // -msse2 is on, which means the compiler is allowed to use SSE2
+ // instructions at will, and so are we.
+ return 1;
+}
+#endif
+
+#endif
+#endif
+
+// ARM NEON
+#if defined(STBI_NO_SIMD) && defined(STBI_NEON)
+#undef STBI_NEON
+#endif
+
+#ifdef STBI_NEON
+#include <arm_neon.h>
+#ifdef _MSC_VER
+#define STBI_SIMD_ALIGN(type, name) __declspec(align(16)) type name
+#else
+#define STBI_SIMD_ALIGN(type, name) type name __attribute__((aligned(16)))
+#endif
+#endif
+
+#ifndef STBI_SIMD_ALIGN
+#define STBI_SIMD_ALIGN(type, name) type name
+#endif
+
+#ifndef STBI_MAX_DIMENSIONS
+#define STBI_MAX_DIMENSIONS (1 << 24)
+#endif
+
+///////////////////////////////////////////////
+//
+// stbi__context struct and start_xxx functions
+
+// stbi__context structure is our basic context used by all images, so it
+// contains all the IO context, plus some basic image information
+typedef struct
+{
+ stbi__uint32 img_x, img_y;
+ int img_n, img_out_n;
+
+ stbi_io_callbacks io;
+ void *io_user_data;
+
+ int read_from_callbacks;
+ int buflen;
+ stbi_uc buffer_start[128];
+ int callback_already_read;
+
+ stbi_uc *img_buffer, *img_buffer_end;
+ stbi_uc *img_buffer_original, *img_buffer_original_end;
+} stbi__context;
+
+
+static void stbi__refill_buffer(stbi__context *s);
+
+// initialize a memory-decode context
+static void stbi__start_mem(stbi__context *s, stbi_uc const *buffer, int len)
+{
+ s->io.read = NULL;
+ s->read_from_callbacks = 0;
+ s->callback_already_read = 0;
+ s->img_buffer = s->img_buffer_original = (stbi_uc *) buffer;
+ s->img_buffer_end = s->img_buffer_original_end = (stbi_uc *) buffer+len;
+}
+
+// initialize a callback-based context
+static void stbi__start_callbacks(stbi__context *s, stbi_io_callbacks *c, void *user)
+{
+ s->io = *c;
+ s->io_user_data = user;
+ s->buflen = sizeof(s->buffer_start);
+ s->read_from_callbacks = 1;
+ s->callback_already_read = 0;
+ s->img_buffer = s->img_buffer_original = s->buffer_start;
+ stbi__refill_buffer(s);
+ s->img_buffer_original_end = s->img_buffer_end;
+}
+
+#ifndef STBI_NO_STDIO
+
+static int stbi__stdio_read(void *user, char *data, int size)
+{
+ return (int) fread(data,1,size,(FILE*) user);
+}
+
+static void stbi__stdio_skip(void *user, int n)
+{
+ int ch;
+ fseek((FILE*) user, n, SEEK_CUR);
+ ch = fgetc((FILE*) user); /* have to read a byte to reset feof()'s flag */
+ if (ch != EOF) {
+ ungetc(ch, (FILE *) user); /* push byte back onto stream if valid. */
+ }
+}
+
+static int stbi__stdio_eof(void *user)
+{
+ return feof((FILE*) user) || ferror((FILE *) user);
+}
+
+static stbi_io_callbacks stbi__stdio_callbacks =
+{
+ stbi__stdio_read,
+ stbi__stdio_skip,
+ stbi__stdio_eof,
+};
+
+static void stbi__start_file(stbi__context *s, FILE *f)
+{
+ stbi__start_callbacks(s, &stbi__stdio_callbacks, (void *) f);
+}
+
+//static void stop_file(stbi__context *s) { }
+
+#endif // !STBI_NO_STDIO
+
+static void stbi__rewind(stbi__context *s)
+{
+ // conceptually rewind SHOULD rewind to the beginning of the stream,
+ // but we just rewind to the beginning of the initial buffer, because
+ // we only use it after doing 'test', which only ever looks at at most 92 bytes
+ s->img_buffer = s->img_buffer_original;
+ s->img_buffer_end = s->img_buffer_original_end;
+}
+
+enum
+{
+ STBI_ORDER_RGB,
+ STBI_ORDER_BGR
+};
+
+typedef struct
+{
+ int bits_per_channel;
+ int num_channels;
+ int channel_order;
+} stbi__result_info;
+
+#ifndef STBI_NO_JPEG
+static int stbi__jpeg_test(stbi__context *s);
+static void *stbi__jpeg_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri);
+static int stbi__jpeg_info(stbi__context *s, int *x, int *y, int *comp);
+#endif
+
+#ifndef STBI_NO_PNG
+static int stbi__png_test(stbi__context *s);
+static void *stbi__png_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri);
+static int stbi__png_info(stbi__context *s, int *x, int *y, int *comp);
+static int stbi__png_is16(stbi__context *s);
+#endif
+
+#ifndef STBI_NO_BMP
+static int stbi__bmp_test(stbi__context *s);
+static void *stbi__bmp_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri);
+static int stbi__bmp_info(stbi__context *s, int *x, int *y, int *comp);
+#endif
+
+#ifndef STBI_NO_TGA
+static int stbi__tga_test(stbi__context *s);
+static void *stbi__tga_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri);
+static int stbi__tga_info(stbi__context *s, int *x, int *y, int *comp);
+#endif
+
+#ifndef STBI_NO_PSD
+static int stbi__psd_test(stbi__context *s);
+static void *stbi__psd_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri, int bpc);
+static int stbi__psd_info(stbi__context *s, int *x, int *y, int *comp);
+static int stbi__psd_is16(stbi__context *s);
+#endif
+
+#ifndef STBI_NO_HDR
+static int stbi__hdr_test(stbi__context *s);
+static float *stbi__hdr_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri);
+static int stbi__hdr_info(stbi__context *s, int *x, int *y, int *comp);
+#endif
+
+#ifndef STBI_NO_PIC
+static int stbi__pic_test(stbi__context *s);
+static void *stbi__pic_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri);
+static int stbi__pic_info(stbi__context *s, int *x, int *y, int *comp);
+#endif
+
+#ifndef STBI_NO_GIF
+static int stbi__gif_test(stbi__context *s);
+static void *stbi__gif_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri);
+static void *stbi__load_gif_main(stbi__context *s, int **delays, int *x, int *y, int *z, int *comp, int req_comp);
+static int stbi__gif_info(stbi__context *s, int *x, int *y, int *comp);
+#endif
+
+#ifndef STBI_NO_PNM
+static int stbi__pnm_test(stbi__context *s);
+static void *stbi__pnm_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri);
+static int stbi__pnm_info(stbi__context *s, int *x, int *y, int *comp);
+static int stbi__pnm_is16(stbi__context *s);
+#endif
+
+static
+#ifdef STBI_THREAD_LOCAL
+STBI_THREAD_LOCAL
+#endif
+const char *stbi__g_failure_reason;
+
+STBIDEF const char *stbi_failure_reason(void)
+{
+ return stbi__g_failure_reason;
+}
+
+#ifndef STBI_NO_FAILURE_STRINGS
+static int stbi__err(const char *str)
+{
+ stbi__g_failure_reason = str;
+ return 0;
+}
+#endif
+
+static void *stbi__malloc(size_t size)
+{
+ return STBI_MALLOC(size);
+}
+
+// stb_image uses ints pervasively, including for offset calculations.
+// therefore the largest decoded image size we can support with the
+// current code, even on 64-bit targets, is INT_MAX. this is not a
+// significant limitation for the intended use case.
+//
+// we do, however, need to make sure our size calculations don't
+// overflow. hence a few helper functions for size calculations that
+// multiply integers together, making sure that they're non-negative
+// and no overflow occurs.
+
+// return 1 if the sum is valid, 0 on overflow.
+// negative terms are considered invalid.
+static int stbi__addsizes_valid(int a, int b)
+{
+ if (b < 0) return 0;
+ // now 0 <= b <= INT_MAX, hence also
+ // 0 <= INT_MAX - b <= INTMAX.
+ // And "a + b <= INT_MAX" (which might overflow) is the
+ // same as a <= INT_MAX - b (no overflow)
+ return a <= INT_MAX - b;
+}
+
+// returns 1 if the product is valid, 0 on overflow.
+// negative factors are considered invalid.
+static int stbi__mul2sizes_valid(int a, int b)
+{
+ if (a < 0 || b < 0) return 0;
+ if (b == 0) return 1; // mul-by-0 is always safe
+ // portable way to check for no overflows in a*b
+ return a <= INT_MAX/b;
+}
+
+#if !defined(STBI_NO_JPEG) || !defined(STBI_NO_PNG) || !defined(STBI_NO_TGA) || !defined(STBI_NO_HDR)
+// returns 1 if "a*b + add" has no negative terms/factors and doesn't overflow
+static int stbi__mad2sizes_valid(int a, int b, int add)
+{
+ return stbi__mul2sizes_valid(a, b) && stbi__addsizes_valid(a*b, add);
+}
+#endif
+
+// returns 1 if "a*b*c + add" has no negative terms/factors and doesn't overflow
+static int stbi__mad3sizes_valid(int a, int b, int c, int add)
+{
+ return stbi__mul2sizes_valid(a, b) && stbi__mul2sizes_valid(a*b, c) &&
+ stbi__addsizes_valid(a*b*c, add);
+}
+
+// returns 1 if "a*b*c*d + add" has no negative terms/factors and doesn't overflow
+#if !defined(STBI_NO_LINEAR) || !defined(STBI_NO_HDR) || !defined(STBI_NO_PNM)
+static int stbi__mad4sizes_valid(int a, int b, int c, int d, int add)
+{
+ return stbi__mul2sizes_valid(a, b) && stbi__mul2sizes_valid(a*b, c) &&
+ stbi__mul2sizes_valid(a*b*c, d) && stbi__addsizes_valid(a*b*c*d, add);
+}
+#endif
+
+#if !defined(STBI_NO_JPEG) || !defined(STBI_NO_PNG) || !defined(STBI_NO_TGA) || !defined(STBI_NO_HDR)
+// mallocs with size overflow checking
+static void *stbi__malloc_mad2(int a, int b, int add)
+{
+ if (!stbi__mad2sizes_valid(a, b, add)) return NULL;
+ return stbi__malloc(a*b + add);
+}
+#endif
+
+static void *stbi__malloc_mad3(int a, int b, int c, int add)
+{
+ if (!stbi__mad3sizes_valid(a, b, c, add)) return NULL;
+ return stbi__malloc(a*b*c + add);
+}
+
+#if !defined(STBI_NO_LINEAR) || !defined(STBI_NO_HDR) || !defined(STBI_NO_PNM)
+static void *stbi__malloc_mad4(int a, int b, int c, int d, int add)
+{
+ if (!stbi__mad4sizes_valid(a, b, c, d, add)) return NULL;
+ return stbi__malloc(a*b*c*d + add);
+}
+#endif
+
+// returns 1 if the sum of two signed ints is valid (between -2^31 and 2^31-1 inclusive), 0 on overflow.
+static int stbi__addints_valid(int a, int b)
+{
+ if ((a >= 0) != (b >= 0)) return 1; // a and b have different signs, so no overflow
+ if (a < 0 && b < 0) return a >= INT_MIN - b; // same as a + b >= INT_MIN; INT_MIN - b cannot overflow since b < 0.
+ return a <= INT_MAX - b;
+}
+
+// returns 1 if the product of two signed shorts is valid, 0 on overflow.
+static int stbi__mul2shorts_valid(short a, short b)
+{
+ if (b == 0 || b == -1) return 1; // multiplication by 0 is always 0; check for -1 so SHRT_MIN/b doesn't overflow
+ if ((a >= 0) == (b >= 0)) return a <= SHRT_MAX/b; // product is positive, so similar to mul2sizes_valid
+ if (b < 0) return a <= SHRT_MIN / b; // same as a * b >= SHRT_MIN
+ return a >= SHRT_MIN / b;
+}
+
+// stbi__err - error
+// stbi__errpf - error returning pointer to float
+// stbi__errpuc - error returning pointer to unsigned char
+
+#ifdef STBI_NO_FAILURE_STRINGS
+ #define stbi__err(x,y) 0
+#elif defined(STBI_FAILURE_USERMSG)
+ #define stbi__err(x,y) stbi__err(y)
+#else
+ #define stbi__err(x,y) stbi__err(x)
+#endif
+
+#define stbi__errpf(x,y) ((float *)(size_t) (stbi__err(x,y)?NULL:NULL))
+#define stbi__errpuc(x,y) ((unsigned char *)(size_t) (stbi__err(x,y)?NULL:NULL))
+
+STBIDEF void stbi_image_free(void *retval_from_stbi_load)
+{
+ STBI_FREE(retval_from_stbi_load);
+}
+
+#ifndef STBI_NO_LINEAR
+static float *stbi__ldr_to_hdr(stbi_uc *data, int x, int y, int comp);
+#endif
+
+#ifndef STBI_NO_HDR
+static stbi_uc *stbi__hdr_to_ldr(float *data, int x, int y, int comp);
+#endif
+
+static int stbi__vertically_flip_on_load_global = 0;
+
+STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip)
+{
+ stbi__vertically_flip_on_load_global = flag_true_if_should_flip;
+}
+
+#ifndef STBI_THREAD_LOCAL
+#define stbi__vertically_flip_on_load stbi__vertically_flip_on_load_global
+#else
+static STBI_THREAD_LOCAL int stbi__vertically_flip_on_load_local, stbi__vertically_flip_on_load_set;
+
+STBIDEF void stbi_set_flip_vertically_on_load_thread(int flag_true_if_should_flip)
+{
+ stbi__vertically_flip_on_load_local = flag_true_if_should_flip;
+ stbi__vertically_flip_on_load_set = 1;
+}
+
+#define stbi__vertically_flip_on_load (stbi__vertically_flip_on_load_set \
+ ? stbi__vertically_flip_on_load_local \
+ : stbi__vertically_flip_on_load_global)
+#endif // STBI_THREAD_LOCAL
+
+static void *stbi__load_main(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri, int bpc)
+{
+ memset(ri, 0, sizeof(*ri)); // make sure it's initialized if we add new fields
+ ri->bits_per_channel = 8; // default is 8 so most paths don't have to be changed
+ ri->channel_order = STBI_ORDER_RGB; // all current input & output are this, but this is here so we can add BGR order
+ ri->num_channels = 0;
+
+ // test the formats with a very explicit header first (at least a FOURCC
+ // or distinctive magic number first)
+ #ifndef STBI_NO_PNG
+ if (stbi__png_test(s)) return stbi__png_load(s,x,y,comp,req_comp, ri);
+ #endif
+ #ifndef STBI_NO_BMP
+ if (stbi__bmp_test(s)) return stbi__bmp_load(s,x,y,comp,req_comp, ri);
+ #endif
+ #ifndef STBI_NO_GIF
+ if (stbi__gif_test(s)) return stbi__gif_load(s,x,y,comp,req_comp, ri);
+ #endif
+ #ifndef STBI_NO_PSD
+ if (stbi__psd_test(s)) return stbi__psd_load(s,x,y,comp,req_comp, ri, bpc);
+ #else
+ STBI_NOTUSED(bpc);
+ #endif
+ #ifndef STBI_NO_PIC
+ if (stbi__pic_test(s)) return stbi__pic_load(s,x,y,comp,req_comp, ri);
+ #endif
+
+ // then the formats that can end up attempting to load with just 1 or 2
+ // bytes matching expectations; these are prone to false positives, so
+ // try them later
+ #ifndef STBI_NO_JPEG
+ if (stbi__jpeg_test(s)) return stbi__jpeg_load(s,x,y,comp,req_comp, ri);
+ #endif
+ #ifndef STBI_NO_PNM
+ if (stbi__pnm_test(s)) return stbi__pnm_load(s,x,y,comp,req_comp, ri);
+ #endif
+
+ #ifndef STBI_NO_HDR
+ if (stbi__hdr_test(s)) {
+ float *hdr = stbi__hdr_load(s, x,y,comp,req_comp, ri);
+ return stbi__hdr_to_ldr(hdr, *x, *y, req_comp ? req_comp : *comp);
+ }
+ #endif
+
+ #ifndef STBI_NO_TGA
+ // test tga last because it's a crappy test!
+ if (stbi__tga_test(s))
+ return stbi__tga_load(s,x,y,comp,req_comp, ri);
+ #endif
+
+ return stbi__errpuc("unknown image type", "Image not of any known type, or corrupt");
+}
+
+static stbi_uc *stbi__convert_16_to_8(stbi__uint16 *orig, int w, int h, int channels)
+{
+ int i;
+ int img_len = w * h * channels;
+ stbi_uc *reduced;
+
+ reduced = (stbi_uc *) stbi__malloc(img_len);
+ if (reduced == NULL) return stbi__errpuc("outofmem", "Out of memory");
+
+ for (i = 0; i < img_len; ++i)
+ reduced[i] = (stbi_uc)((orig[i] >> 8) & 0xFF); // top half of each byte is sufficient approx of 16->8 bit scaling
+
+ STBI_FREE(orig);
+ return reduced;
+}
+
+static stbi__uint16 *stbi__convert_8_to_16(stbi_uc *orig, int w, int h, int channels)
+{
+ int i;
+ int img_len = w * h * channels;
+ stbi__uint16 *enlarged;
+
+ enlarged = (stbi__uint16 *) stbi__malloc(img_len*2);
+ if (enlarged == NULL) return (stbi__uint16 *) stbi__errpuc("outofmem", "Out of memory");
+
+ for (i = 0; i < img_len; ++i)
+ enlarged[i] = (stbi__uint16)((orig[i] << 8) + orig[i]); // replicate to high and low byte, maps 0->0, 255->0xffff
+
+ STBI_FREE(orig);
+ return enlarged;
+}
+
+static void stbi__vertical_flip(void *image, int w, int h, int bytes_per_pixel)
+{
+ int row;
+ size_t bytes_per_row = (size_t)w * bytes_per_pixel;
+ stbi_uc temp[2048];
+ stbi_uc *bytes = (stbi_uc *)image;
+
+ for (row = 0; row < (h>>1); row++) {
+ stbi_uc *row0 = bytes + row*bytes_per_row;
+ stbi_uc *row1 = bytes + (h - row - 1)*bytes_per_row;
+ // swap row0 with row1
+ size_t bytes_left = bytes_per_row;
+ while (bytes_left) {
+ size_t bytes_copy = (bytes_left < sizeof(temp)) ? bytes_left : sizeof(temp);
+ memcpy(temp, row0, bytes_copy);
+ memcpy(row0, row1, bytes_copy);
+ memcpy(row1, temp, bytes_copy);
+ row0 += bytes_copy;
+ row1 += bytes_copy;
+ bytes_left -= bytes_copy;
+ }
+ }
+}
+
+#ifndef STBI_NO_GIF
+static void stbi__vertical_flip_slices(void *image, int w, int h, int z, int bytes_per_pixel)
+{
+ int slice;
+ int slice_size = w * h * bytes_per_pixel;
+
+ stbi_uc *bytes = (stbi_uc *)image;
+ for (slice = 0; slice < z; ++slice) {
+ stbi__vertical_flip(bytes, w, h, bytes_per_pixel);
+ bytes += slice_size;
+ }
+}
+#endif
+
+static unsigned char *stbi__load_and_postprocess_8bit(stbi__context *s, int *x, int *y, int *comp, int req_comp)
+{
+ stbi__result_info ri;
+ void *result = stbi__load_main(s, x, y, comp, req_comp, &ri, 8);
+
+ if (result == NULL)
+ return NULL;
+
+ // it is the responsibility of the loaders to make sure we get either 8 or 16 bit.
+ STBI_ASSERT(ri.bits_per_channel == 8 || ri.bits_per_channel == 16);
+
+ if (ri.bits_per_channel != 8) {
+ result = stbi__convert_16_to_8((stbi__uint16 *) result, *x, *y, req_comp == 0 ? *comp : req_comp);
+ ri.bits_per_channel = 8;
+ }
+
+ // @TODO: move stbi__convert_format to here
+
+ if (stbi__vertically_flip_on_load) {
+ int channels = req_comp ? req_comp : *comp;
+ stbi__vertical_flip(result, *x, *y, channels * sizeof(stbi_uc));
+ }
+
+ return (unsigned char *) result;
+}
+
+static stbi__uint16 *stbi__load_and_postprocess_16bit(stbi__context *s, int *x, int *y, int *comp, int req_comp)
+{
+ stbi__result_info ri;
+ void *result = stbi__load_main(s, x, y, comp, req_comp, &ri, 16);
+
+ if (result == NULL)
+ return NULL;
+
+ // it is the responsibility of the loaders to make sure we get either 8 or 16 bit.
+ STBI_ASSERT(ri.bits_per_channel == 8 || ri.bits_per_channel == 16);
+
+ if (ri.bits_per_channel != 16) {
+ result = stbi__convert_8_to_16((stbi_uc *) result, *x, *y, req_comp == 0 ? *comp : req_comp);
+ ri.bits_per_channel = 16;
+ }
+
+ // @TODO: move stbi__convert_format16 to here
+ // @TODO: special case RGB-to-Y (and RGBA-to-YA) for 8-bit-to-16-bit case to keep more precision
+
+ if (stbi__vertically_flip_on_load) {
+ int channels = req_comp ? req_comp : *comp;
+ stbi__vertical_flip(result, *x, *y, channels * sizeof(stbi__uint16));
+ }
+
+ return (stbi__uint16 *) result;
+}
+
+#if !defined(STBI_NO_HDR) && !defined(STBI_NO_LINEAR)
+static void stbi__float_postprocess(float *result, int *x, int *y, int *comp, int req_comp)
+{
+ if (stbi__vertically_flip_on_load && result != NULL) {
+ int channels = req_comp ? req_comp : *comp;
+ stbi__vertical_flip(result, *x, *y, channels * sizeof(float));
+ }
+}
+#endif
+
+#ifndef STBI_NO_STDIO
+
+#if defined(_WIN32) && defined(STBI_WINDOWS_UTF8)
+STBI_EXTERN __declspec(dllimport) int __stdcall MultiByteToWideChar(unsigned int cp, unsigned long flags, const char *str, int cbmb, wchar_t *widestr, int cchwide);
+STBI_EXTERN __declspec(dllimport) int __stdcall WideCharToMultiByte(unsigned int cp, unsigned long flags, const wchar_t *widestr, int cchwide, char *str, int cbmb, const char *defchar, int *used_default);
+#endif
+
+#if defined(_WIN32) && defined(STBI_WINDOWS_UTF8)
+STBIDEF int stbi_convert_wchar_to_utf8(char *buffer, size_t bufferlen, const wchar_t* input)
+{
+ return WideCharToMultiByte(65001 /* UTF8 */, 0, input, -1, buffer, (int) bufferlen, NULL, NULL);
+}
+#endif
+
+static FILE *stbi__fopen(char const *filename, char const *mode)
+{
+ FILE *f;
+#if defined(_WIN32) && defined(STBI_WINDOWS_UTF8)
+ wchar_t wMode[64];
+ wchar_t wFilename[1024];
+ if (0 == MultiByteToWideChar(65001 /* UTF8 */, 0, filename, -1, wFilename, sizeof(wFilename)/sizeof(*wFilename)))
+ return 0;
+
+ if (0 == MultiByteToWideChar(65001 /* UTF8 */, 0, mode, -1, wMode, sizeof(wMode)/sizeof(*wMode)))
+ return 0;
+
+#if defined(_MSC_VER) && _MSC_VER >= 1400
+ if (0 != _wfopen_s(&f, wFilename, wMode))
+ f = 0;
+#else
+ f = _wfopen(wFilename, wMode);
+#endif
+
+#elif defined(_MSC_VER) && _MSC_VER >= 1400
+ if (0 != fopen_s(&f, filename, mode))
+ f=0;
+#else
+ f = fopen(filename, mode);
+#endif
+ return f;
+}
+
+
+STBIDEF stbi_uc *stbi_load(char const *filename, int *x, int *y, int *comp, int req_comp)
+{
+ FILE *f = stbi__fopen(filename, "rb");
+ unsigned char *result;
+ if (!f) return stbi__errpuc("can't fopen", "Unable to open file");
+ result = stbi_load_from_file(f,x,y,comp,req_comp);
+ fclose(f);
+ return result;
+}
+
+STBIDEF stbi_uc *stbi_load_from_file(FILE *f, int *x, int *y, int *comp, int req_comp)
+{
+ unsigned char *result;
+ stbi__context s;
+ stbi__start_file(&s,f);
+ result = stbi__load_and_postprocess_8bit(&s,x,y,comp,req_comp);
+ if (result) {
+ // need to 'unget' all the characters in the IO buffer
+ fseek(f, - (int) (s.img_buffer_end - s.img_buffer), SEEK_CUR);
+ }
+ return result;
+}
+
+STBIDEF stbi__uint16 *stbi_load_from_file_16(FILE *f, int *x, int *y, int *comp, int req_comp)
+{
+ stbi__uint16 *result;
+ stbi__context s;
+ stbi__start_file(&s,f);
+ result = stbi__load_and_postprocess_16bit(&s,x,y,comp,req_comp);
+ if (result) {
+ // need to 'unget' all the characters in the IO buffer
+ fseek(f, - (int) (s.img_buffer_end - s.img_buffer), SEEK_CUR);
+ }
+ return result;
+}
+
+STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp)
+{
+ FILE *f = stbi__fopen(filename, "rb");
+ stbi__uint16 *result;
+ if (!f) return (stbi_us *) stbi__errpuc("can't fopen", "Unable to open file");
+ result = stbi_load_from_file_16(f,x,y,comp,req_comp);
+ fclose(f);
+ return result;
+}
+
+
+#endif //!STBI_NO_STDIO
+
+STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels)
+{
+ stbi__context s;
+ stbi__start_mem(&s,buffer,len);
+ return stbi__load_and_postprocess_16bit(&s,x,y,channels_in_file,desired_channels);
+}
+
+STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels)
+{
+ stbi__context s;
+ stbi__start_callbacks(&s, (stbi_io_callbacks *)clbk, user);
+ return stbi__load_and_postprocess_16bit(&s,x,y,channels_in_file,desired_channels);
+}
+
+STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp)
+{
+ stbi__context s;
+ stbi__start_mem(&s,buffer,len);
+ return stbi__load_and_postprocess_8bit(&s,x,y,comp,req_comp);
+}
+
+STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp)
+{
+ stbi__context s;
+ stbi__start_callbacks(&s, (stbi_io_callbacks *) clbk, user);
+ return stbi__load_and_postprocess_8bit(&s,x,y,comp,req_comp);
+}
+
+#ifndef STBI_NO_GIF
+STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp)
+{
+ unsigned char *result;
+ stbi__context s;
+ stbi__start_mem(&s,buffer,len);
+
+ result = (unsigned char*) stbi__load_gif_main(&s, delays, x, y, z, comp, req_comp);
+ if (stbi__vertically_flip_on_load) {
+ stbi__vertical_flip_slices( result, *x, *y, *z, *comp );
+ }
+
+ return result;
+}
+#endif
+
+#ifndef STBI_NO_LINEAR
+static float *stbi__loadf_main(stbi__context *s, int *x, int *y, int *comp, int req_comp)
+{
+ unsigned char *data;
+ #ifndef STBI_NO_HDR
+ if (stbi__hdr_test(s)) {
+ stbi__result_info ri;
+ float *hdr_data = stbi__hdr_load(s,x,y,comp,req_comp, &ri);
+ if (hdr_data)
+ stbi__float_postprocess(hdr_data,x,y,comp,req_comp);
+ return hdr_data;
+ }
+ #endif
+ data = stbi__load_and_postprocess_8bit(s, x, y, comp, req_comp);
+ if (data)
+ return stbi__ldr_to_hdr(data, *x, *y, req_comp ? req_comp : *comp);
+ return stbi__errpf("unknown image type", "Image not of any known type, or corrupt");
+}
+
+STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp)
+{
+ stbi__context s;
+ stbi__start_mem(&s,buffer,len);
+ return stbi__loadf_main(&s,x,y,comp,req_comp);
+}
+
+STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp)
+{
+ stbi__context s;
+ stbi__start_callbacks(&s, (stbi_io_callbacks *) clbk, user);
+ return stbi__loadf_main(&s,x,y,comp,req_comp);
+}
+
+#ifndef STBI_NO_STDIO
+STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp)
+{
+ float *result;
+ FILE *f = stbi__fopen(filename, "rb");
+ if (!f) return stbi__errpf("can't fopen", "Unable to open file");
+ result = stbi_loadf_from_file(f,x,y,comp,req_comp);
+ fclose(f);
+ return result;
+}
+
+STBIDEF float *stbi_loadf_from_file(FILE *f, int *x, int *y, int *comp, int req_comp)
+{
+ stbi__context s;
+ stbi__start_file(&s,f);
+ return stbi__loadf_main(&s,x,y,comp,req_comp);
+}
+#endif // !STBI_NO_STDIO
+
+#endif // !STBI_NO_LINEAR
+
+// these is-hdr-or-not is defined independent of whether STBI_NO_LINEAR is
+// defined, for API simplicity; if STBI_NO_LINEAR is defined, it always
+// reports false!
+
+STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len)
+{
+ #ifndef STBI_NO_HDR
+ stbi__context s;
+ stbi__start_mem(&s,buffer,len);
+ return stbi__hdr_test(&s);
+ #else
+ STBI_NOTUSED(buffer);
+ STBI_NOTUSED(len);
+ return 0;
+ #endif
+}
+
+#ifndef STBI_NO_STDIO
+STBIDEF int stbi_is_hdr (char const *filename)
+{
+ FILE *f = stbi__fopen(filename, "rb");
+ int result=0;
+ if (f) {
+ result = stbi_is_hdr_from_file(f);
+ fclose(f);
+ }
+ return result;
+}
+
+STBIDEF int stbi_is_hdr_from_file(FILE *f)
+{
+ #ifndef STBI_NO_HDR
+ long pos = ftell(f);
+ int res;
+ stbi__context s;
+ stbi__start_file(&s,f);
+ res = stbi__hdr_test(&s);
+ fseek(f, pos, SEEK_SET);
+ return res;
+ #else
+ STBI_NOTUSED(f);
+ return 0;
+ #endif
+}
+#endif // !STBI_NO_STDIO
+
+STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user)
+{
+ #ifndef STBI_NO_HDR
+ stbi__context s;
+ stbi__start_callbacks(&s, (stbi_io_callbacks *) clbk, user);
+ return stbi__hdr_test(&s);
+ #else
+ STBI_NOTUSED(clbk);
+ STBI_NOTUSED(user);
+ return 0;
+ #endif
+}
+
+#ifndef STBI_NO_LINEAR
+static float stbi__l2h_gamma=2.2f, stbi__l2h_scale=1.0f;
+
+STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; }
+STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; }
+#endif
+
+static float stbi__h2l_gamma_i=1.0f/2.2f, stbi__h2l_scale_i=1.0f;
+
+STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; }
+STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; }
+
+
+//////////////////////////////////////////////////////////////////////////////
+//
+// Common code used by all image loaders
+//
+
+enum
+{
+ STBI__SCAN_load=0,
+ STBI__SCAN_type,
+ STBI__SCAN_header
+};
+
+static void stbi__refill_buffer(stbi__context *s)
+{
+ int n = (s->io.read)(s->io_user_data,(char*)s->buffer_start,s->buflen);
+ s->callback_already_read += (int) (s->img_buffer - s->img_buffer_original);
+ if (n == 0) {
+ // at end of file, treat same as if from memory, but need to handle case
+ // where s->img_buffer isn't pointing to safe memory, e.g. 0-byte file
+ s->read_from_callbacks = 0;
+ s->img_buffer = s->buffer_start;
+ s->img_buffer_end = s->buffer_start+1;
+ *s->img_buffer = 0;
+ } else {
+ s->img_buffer = s->buffer_start;
+ s->img_buffer_end = s->buffer_start + n;
+ }
+}
+
+stbi_inline static stbi_uc stbi__get8(stbi__context *s)
+{
+ if (s->img_buffer < s->img_buffer_end)
+ return *s->img_buffer++;
+ if (s->read_from_callbacks) {
+ stbi__refill_buffer(s);
+ return *s->img_buffer++;
+ }
+ return 0;
+}
+
+#if defined(STBI_NO_JPEG) && defined(STBI_NO_HDR) && defined(STBI_NO_PIC) && defined(STBI_NO_PNM)
+// nothing
+#else
+stbi_inline static int stbi__at_eof(stbi__context *s)
+{
+ if (s->io.read) {
+ if (!(s->io.eof)(s->io_user_data)) return 0;
+ // if feof() is true, check if buffer = end
+ // special case: we've only got the special 0 character at the end
+ if (s->read_from_callbacks == 0) return 1;
+ }
+
+ return s->img_buffer >= s->img_buffer_end;
+}
+#endif
+
+#if defined(STBI_NO_JPEG) && defined(STBI_NO_PNG) && defined(STBI_NO_BMP) && defined(STBI_NO_PSD) && defined(STBI_NO_TGA) && defined(STBI_NO_GIF) && defined(STBI_NO_PIC)
+// nothing
+#else
+static void stbi__skip(stbi__context *s, int n)
+{
+ if (n == 0) return; // already there!
+ if (n < 0) {
+ s->img_buffer = s->img_buffer_end;
+ return;
+ }
+ if (s->io.read) {
+ int blen = (int) (s->img_buffer_end - s->img_buffer);
+ if (blen < n) {
+ s->img_buffer = s->img_buffer_end;
+ (s->io.skip)(s->io_user_data, n - blen);
+ return;
+ }
+ }
+ s->img_buffer += n;
+}
+#endif
+
+#if defined(STBI_NO_PNG) && defined(STBI_NO_TGA) && defined(STBI_NO_HDR) && defined(STBI_NO_PNM)
+// nothing
+#else
+static int stbi__getn(stbi__context *s, stbi_uc *buffer, int n)
+{
+ if (s->io.read) {
+ int blen = (int) (s->img_buffer_end - s->img_buffer);
+ if (blen < n) {
+ int res, count;
+
+ memcpy(buffer, s->img_buffer, blen);
+
+ count = (s->io.read)(s->io_user_data, (char*) buffer + blen, n - blen);
+ res = (count == (n-blen));
+ s->img_buffer = s->img_buffer_end;
+ return res;
+ }
+ }
+
+ if (s->img_buffer+n <= s->img_buffer_end) {
+ memcpy(buffer, s->img_buffer, n);
+ s->img_buffer += n;
+ return 1;
+ } else
+ return 0;
+}
+#endif
+
+#if defined(STBI_NO_JPEG) && defined(STBI_NO_PNG) && defined(STBI_NO_PSD) && defined(STBI_NO_PIC)
+// nothing
+#else
+static int stbi__get16be(stbi__context *s)
+{
+ int z = stbi__get8(s);
+ return (z << 8) + stbi__get8(s);
+}
+#endif
+
+#if defined(STBI_NO_PNG) && defined(STBI_NO_PSD) && defined(STBI_NO_PIC)
+// nothing
+#else
+static stbi__uint32 stbi__get32be(stbi__context *s)
+{
+ stbi__uint32 z = stbi__get16be(s);
+ return (z << 16) + stbi__get16be(s);
+}
+#endif
+
+#if defined(STBI_NO_BMP) && defined(STBI_NO_TGA) && defined(STBI_NO_GIF)
+// nothing
+#else
+static int stbi__get16le(stbi__context *s)
+{
+ int z = stbi__get8(s);
+ return z + (stbi__get8(s) << 8);
+}
+#endif
+
+#ifndef STBI_NO_BMP
+static stbi__uint32 stbi__get32le(stbi__context *s)
+{
+ stbi__uint32 z = stbi__get16le(s);
+ z += (stbi__uint32)stbi__get16le(s) << 16;
+ return z;
+}
+#endif
+
+#define STBI__BYTECAST(x) ((stbi_uc) ((x) & 255)) // truncate int to byte without warnings
+
+#if defined(STBI_NO_JPEG) && defined(STBI_NO_PNG) && defined(STBI_NO_BMP) && defined(STBI_NO_PSD) && defined(STBI_NO_TGA) && defined(STBI_NO_GIF) && defined(STBI_NO_PIC) && defined(STBI_NO_PNM)
+// nothing
+#else
+//////////////////////////////////////////////////////////////////////////////
+//
+// generic converter from built-in img_n to req_comp
+// individual types do this automatically as much as possible (e.g. jpeg
+// does all cases internally since it needs to colorspace convert anyway,
+// and it never has alpha, so very few cases ). png can automatically
+// interleave an alpha=255 channel, but falls back to this for other cases
+//
+// assume data buffer is malloced, so malloc a new one and free that one
+// only failure mode is malloc failing
+
+static stbi_uc stbi__compute_y(int r, int g, int b)
+{
+ return (stbi_uc) (((r*77) + (g*150) + (29*b)) >> 8);
+}
+#endif
+
+#if defined(STBI_NO_PNG) && defined(STBI_NO_BMP) && defined(STBI_NO_PSD) && defined(STBI_NO_TGA) && defined(STBI_NO_GIF) && defined(STBI_NO_PIC) && defined(STBI_NO_PNM)
+// nothing
+#else
+static unsigned char *stbi__convert_format(unsigned char *data, int img_n, int req_comp, unsigned int x, unsigned int y)
+{
+ int i,j;
+ unsigned char *good;
+
+ if (req_comp == img_n) return data;
+ STBI_ASSERT(req_comp >= 1 && req_comp <= 4);
+
+ good = (unsigned char *) stbi__malloc_mad3(req_comp, x, y, 0);
+ if (good == NULL) {
+ STBI_FREE(data);
+ return stbi__errpuc("outofmem", "Out of memory");
+ }
+
+ for (j=0; j < (int) y; ++j) {
+ unsigned char *src = data + j * x * img_n ;
+ unsigned char *dest = good + j * x * req_comp;
+
+ #define STBI__COMBO(a,b) ((a)*8+(b))
+ #define STBI__CASE(a,b) case STBI__COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
+ // convert source image with img_n components to one with req_comp components;
+ // avoid switch per pixel, so use switch per scanline and massive macros
+ switch (STBI__COMBO(img_n, req_comp)) {
+ STBI__CASE(1,2) { dest[0]=src[0]; dest[1]=255; } break;
+ STBI__CASE(1,3) { dest[0]=dest[1]=dest[2]=src[0]; } break;
+ STBI__CASE(1,4) { dest[0]=dest[1]=dest[2]=src[0]; dest[3]=255; } break;
+ STBI__CASE(2,1) { dest[0]=src[0]; } break;
+ STBI__CASE(2,3) { dest[0]=dest[1]=dest[2]=src[0]; } break;
+ STBI__CASE(2,4) { dest[0]=dest[1]=dest[2]=src[0]; dest[3]=src[1]; } break;
+ STBI__CASE(3,4) { dest[0]=src[0];dest[1]=src[1];dest[2]=src[2];dest[3]=255; } break;
+ STBI__CASE(3,1) { dest[0]=stbi__compute_y(src[0],src[1],src[2]); } break;
+ STBI__CASE(3,2) { dest[0]=stbi__compute_y(src[0],src[1],src[2]); dest[1] = 255; } break;
+ STBI__CASE(4,1) { dest[0]=stbi__compute_y(src[0],src[1],src[2]); } break;
+ STBI__CASE(4,2) { dest[0]=stbi__compute_y(src[0],src[1],src[2]); dest[1] = src[3]; } break;
+ STBI__CASE(4,3) { dest[0]=src[0];dest[1]=src[1];dest[2]=src[2]; } break;
+ default: STBI_ASSERT(0); STBI_FREE(data); STBI_FREE(good); return stbi__errpuc("unsupported", "Unsupported format conversion");
+ }
+ #undef STBI__CASE
+ }
+
+ STBI_FREE(data);
+ return good;
+}
+#endif
+
+#if defined(STBI_NO_PNG) && defined(STBI_NO_PSD)
+// nothing
+#else
+static stbi__uint16 stbi__compute_y_16(int r, int g, int b)
+{
+ return (stbi__uint16) (((r*77) + (g*150) + (29*b)) >> 8);
+}
+#endif
+
+#if defined(STBI_NO_PNG) && defined(STBI_NO_PSD)
+// nothing
+#else
+static stbi__uint16 *stbi__convert_format16(stbi__uint16 *data, int img_n, int req_comp, unsigned int x, unsigned int y)
+{
+ int i,j;
+ stbi__uint16 *good;
+
+ if (req_comp == img_n) return data;
+ STBI_ASSERT(req_comp >= 1 && req_comp <= 4);
+
+ good = (stbi__uint16 *) stbi__malloc(req_comp * x * y * 2);
+ if (good == NULL) {
+ STBI_FREE(data);
+ return (stbi__uint16 *) stbi__errpuc("outofmem", "Out of memory");
+ }
+
+ for (j=0; j < (int) y; ++j) {
+ stbi__uint16 *src = data + j * x * img_n ;
+ stbi__uint16 *dest = good + j * x * req_comp;
+
+ #define STBI__COMBO(a,b) ((a)*8+(b))
+ #define STBI__CASE(a,b) case STBI__COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b)
+ // convert source image with img_n components to one with req_comp components;
+ // avoid switch per pixel, so use switch per scanline and massive macros
+ switch (STBI__COMBO(img_n, req_comp)) {
+ STBI__CASE(1,2) { dest[0]=src[0]; dest[1]=0xffff; } break;
+ STBI__CASE(1,3) { dest[0]=dest[1]=dest[2]=src[0]; } break;
+ STBI__CASE(1,4) { dest[0]=dest[1]=dest[2]=src[0]; dest[3]=0xffff; } break;
+ STBI__CASE(2,1) { dest[0]=src[0]; } break;
+ STBI__CASE(2,3) { dest[0]=dest[1]=dest[2]=src[0]; } break;
+ STBI__CASE(2,4) { dest[0]=dest[1]=dest[2]=src[0]; dest[3]=src[1]; } break;
+ STBI__CASE(3,4) { dest[0]=src[0];dest[1]=src[1];dest[2]=src[2];dest[3]=0xffff; } break;
+ STBI__CASE(3,1) { dest[0]=stbi__compute_y_16(src[0],src[1],src[2]); } break;
+ STBI__CASE(3,2) { dest[0]=stbi__compute_y_16(src[0],src[1],src[2]); dest[1] = 0xffff; } break;
+ STBI__CASE(4,1) { dest[0]=stbi__compute_y_16(src[0],src[1],src[2]); } break;
+ STBI__CASE(4,2) { dest[0]=stbi__compute_y_16(src[0],src[1],src[2]); dest[1] = src[3]; } break;
+ STBI__CASE(4,3) { dest[0]=src[0];dest[1]=src[1];dest[2]=src[2]; } break;
+ default: STBI_ASSERT(0); STBI_FREE(data); STBI_FREE(good); return (stbi__uint16*) stbi__errpuc("unsupported", "Unsupported format conversion");
+ }
+ #undef STBI__CASE
+ }
+
+ STBI_FREE(data);
+ return good;
+}
+#endif
+
+#ifndef STBI_NO_LINEAR
+static float *stbi__ldr_to_hdr(stbi_uc *data, int x, int y, int comp)
+{
+ int i,k,n;
+ float *output;
+ if (!data) return NULL;
+ output = (float *) stbi__malloc_mad4(x, y, comp, sizeof(float), 0);
+ if (output == NULL) { STBI_FREE(data); return stbi__errpf("outofmem", "Out of memory"); }
+ // compute number of non-alpha components
+ if (comp & 1) n = comp; else n = comp-1;
+ for (i=0; i < x*y; ++i) {
+ for (k=0; k < n; ++k) {
+ output[i*comp + k] = (float) (pow(data[i*comp+k]/255.0f, stbi__l2h_gamma) * stbi__l2h_scale);
+ }
+ }
+ if (n < comp) {
+ for (i=0; i < x*y; ++i) {
+ output[i*comp + n] = data[i*comp + n]/255.0f;
+ }
+ }
+ STBI_FREE(data);
+ return output;
+}
+#endif
+
+#ifndef STBI_NO_HDR
+#define stbi__float2int(x) ((int) (x))
+static stbi_uc *stbi__hdr_to_ldr(float *data, int x, int y, int comp)
+{
+ int i,k,n;
+ stbi_uc *output;
+ if (!data) return NULL;
+ output = (stbi_uc *) stbi__malloc_mad3(x, y, comp, 0);
+ if (output == NULL) { STBI_FREE(data); return stbi__errpuc("outofmem", "Out of memory"); }
+ // compute number of non-alpha components
+ if (comp & 1) n = comp; else n = comp-1;
+ for (i=0; i < x*y; ++i) {
+ for (k=0; k < n; ++k) {
+ float z = (float) pow(data[i*comp+k]*stbi__h2l_scale_i, stbi__h2l_gamma_i) * 255 + 0.5f;
+ if (z < 0) z = 0;
+ if (z > 255) z = 255;
+ output[i*comp + k] = (stbi_uc) stbi__float2int(z);
+ }
+ if (k < comp) {
+ float z = data[i*comp+k] * 255 + 0.5f;
+ if (z < 0) z = 0;
+ if (z > 255) z = 255;
+ output[i*comp + k] = (stbi_uc) stbi__float2int(z);
+ }
+ }
+ STBI_FREE(data);
+ return output;
+}
+#endif
+
+//////////////////////////////////////////////////////////////////////////////
+//
+// "baseline" JPEG/JFIF decoder
+//
+// simple implementation
+// - doesn't support delayed output of y-dimension
+// - simple interface (only one output format: 8-bit interleaved RGB)
+// - doesn't try to recover corrupt jpegs
+// - doesn't allow partial loading, loading multiple at once
+// - still fast on x86 (copying globals into locals doesn't help x86)
+// - allocates lots of intermediate memory (full size of all components)
+// - non-interleaved case requires this anyway
+// - allows good upsampling (see next)
+// high-quality
+// - upsampled channels are bilinearly interpolated, even across blocks
+// - quality integer IDCT derived from IJG's 'slow'
+// performance
+// - fast huffman; reasonable integer IDCT
+// - some SIMD kernels for common paths on targets with SSE2/NEON
+// - uses a lot of intermediate memory, could cache poorly
+
+#ifndef STBI_NO_JPEG
+
+// huffman decoding acceleration
+#define FAST_BITS 9 // larger handles more cases; smaller stomps less cache
+
+typedef struct
+{
+ stbi_uc fast[1 << FAST_BITS];
+ // weirdly, repacking this into AoS is a 10% speed loss, instead of a win
+ stbi__uint16 code[256];
+ stbi_uc values[256];
+ stbi_uc size[257];
+ unsigned int maxcode[18];
+ int delta[17]; // old 'firstsymbol' - old 'firstcode'
+} stbi__huffman;
+
+typedef struct
+{
+ stbi__context *s;
+ stbi__huffman huff_dc[4];
+ stbi__huffman huff_ac[4];
+ stbi__uint16 dequant[4][64];
+ stbi__int16 fast_ac[4][1 << FAST_BITS];
+
+// sizes for components, interleaved MCUs
+ int img_h_max, img_v_max;
+ int img_mcu_x, img_mcu_y;
+ int img_mcu_w, img_mcu_h;
+
+// definition of jpeg image component
+ struct
+ {
+ int id;
+ int h,v;
+ int tq;
+ int hd,ha;
+ int dc_pred;
+
+ int x,y,w2,h2;
+ stbi_uc *data;
+ void *raw_data, *raw_coeff;
+ stbi_uc *linebuf;
+ short *coeff; // progressive only
+ int coeff_w, coeff_h; // number of 8x8 coefficient blocks
+ } img_comp[4];
+
+ stbi__uint32 code_buffer; // jpeg entropy-coded buffer
+ int code_bits; // number of valid bits
+ unsigned char marker; // marker seen while filling entropy buffer
+ int nomore; // flag if we saw a marker so must stop
+
+ int progressive;
+ int spec_start;
+ int spec_end;
+ int succ_high;
+ int succ_low;
+ int eob_run;
+ int jfif;
+ int app14_color_transform; // Adobe APP14 tag
+ int rgb;
+
+ int scan_n, order[4];
+ int restart_interval, todo;
+
+// kernels
+ void (*idct_block_kernel)(stbi_uc *out, int out_stride, short data[64]);
+ void (*YCbCr_to_RGB_kernel)(stbi_uc *out, const stbi_uc *y, const stbi_uc *pcb, const stbi_uc *pcr, int count, int step);
+ stbi_uc *(*resample_row_hv_2_kernel)(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs);
+} stbi__jpeg;
+
+static int stbi__build_huffman(stbi__huffman *h, int *count)
+{
+ int i,j,k=0;
+ unsigned int code;
+ // build size list for each symbol (from JPEG spec)
+ for (i=0; i < 16; ++i) {
+ for (j=0; j < count[i]; ++j) {
+ h->size[k++] = (stbi_uc) (i+1);
+ if(k >= 257) return stbi__err("bad size list","Corrupt JPEG");
+ }
+ }
+ h->size[k] = 0;
+
+ // compute actual symbols (from jpeg spec)
+ code = 0;
+ k = 0;
+ for(j=1; j <= 16; ++j) {
+ // compute delta to add to code to compute symbol id
+ h->delta[j] = k - code;
+ if (h->size[k] == j) {
+ while (h->size[k] == j)
+ h->code[k++] = (stbi__uint16) (code++);
+ if (code-1 >= (1u << j)) return stbi__err("bad code lengths","Corrupt JPEG");
+ }
+ // compute largest code + 1 for this size, preshifted as needed later
+ h->maxcode[j] = code << (16-j);
+ code <<= 1;
+ }
+ h->maxcode[j] = 0xffffffff;
+
+ // build non-spec acceleration table; 255 is flag for not-accelerated
+ memset(h->fast, 255, 1 << FAST_BITS);
+ for (i=0; i < k; ++i) {
+ int s = h->size[i];
+ if (s <= FAST_BITS) {
+ int c = h->code[i] << (FAST_BITS-s);
+ int m = 1 << (FAST_BITS-s);
+ for (j=0; j < m; ++j) {
+ h->fast[c+j] = (stbi_uc) i;
+ }
+ }
+ }
+ return 1;
+}
+
+// build a table that decodes both magnitude and value of small ACs in
+// one go.
+static void stbi__build_fast_ac(stbi__int16 *fast_ac, stbi__huffman *h)
+{
+ int i;
+ for (i=0; i < (1 << FAST_BITS); ++i) {
+ stbi_uc fast = h->fast[i];
+ fast_ac[i] = 0;
+ if (fast < 255) {
+ int rs = h->values[fast];
+ int run = (rs >> 4) & 15;
+ int magbits = rs & 15;
+ int len = h->size[fast];
+
+ if (magbits && len + magbits <= FAST_BITS) {
+ // magnitude code followed by receive_extend code
+ int k = ((i << len) & ((1 << FAST_BITS) - 1)) >> (FAST_BITS - magbits);
+ int m = 1 << (magbits - 1);
+ if (k < m) k += (~0U << magbits) + 1;
+ // if the result is small enough, we can fit it in fast_ac table
+ if (k >= -128 && k <= 127)
+ fast_ac[i] = (stbi__int16) ((k * 256) + (run * 16) + (len + magbits));
+ }
+ }
+ }
+}
+
+static void stbi__grow_buffer_unsafe(stbi__jpeg *j)
+{
+ do {
+ unsigned int b = j->nomore ? 0 : stbi__get8(j->s);
+ if (b == 0xff) {
+ int c = stbi__get8(j->s);
+ while (c == 0xff) c = stbi__get8(j->s); // consume fill bytes
+ if (c != 0) {
+ j->marker = (unsigned char) c;
+ j->nomore = 1;
+ return;
+ }
+ }
+ j->code_buffer |= b << (24 - j->code_bits);
+ j->code_bits += 8;
+ } while (j->code_bits <= 24);
+}
+
+// (1 << n) - 1
+static const stbi__uint32 stbi__bmask[17]={0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535};
+
+// decode a jpeg huffman value from the bitstream
+stbi_inline static int stbi__jpeg_huff_decode(stbi__jpeg *j, stbi__huffman *h)
+{
+ unsigned int temp;
+ int c,k;
+
+ if (j->code_bits < 16) stbi__grow_buffer_unsafe(j);
+
+ // look at the top FAST_BITS and determine what symbol ID it is,
+ // if the code is <= FAST_BITS
+ c = (j->code_buffer >> (32 - FAST_BITS)) & ((1 << FAST_BITS)-1);
+ k = h->fast[c];
+ if (k < 255) {
+ int s = h->size[k];
+ if (s > j->code_bits)
+ return -1;
+ j->code_buffer <<= s;
+ j->code_bits -= s;
+ return h->values[k];
+ }
+
+ // naive test is to shift the code_buffer down so k bits are
+ // valid, then test against maxcode. To speed this up, we've
+ // preshifted maxcode left so that it has (16-k) 0s at the
+ // end; in other words, regardless of the number of bits, it
+ // wants to be compared against something shifted to have 16;
+ // that way we don't need to shift inside the loop.
+ temp = j->code_buffer >> 16;
+ for (k=FAST_BITS+1 ; ; ++k)
+ if (temp < h->maxcode[k])
+ break;
+ if (k == 17) {
+ // error! code not found
+ j->code_bits -= 16;
+ return -1;
+ }
+
+ if (k > j->code_bits)
+ return -1;
+
+ // convert the huffman code to the symbol id
+ c = ((j->code_buffer >> (32 - k)) & stbi__bmask[k]) + h->delta[k];
+ if(c < 0 || c >= 256) // symbol id out of bounds!
+ return -1;
+ STBI_ASSERT((((j->code_buffer) >> (32 - h->size[c])) & stbi__bmask[h->size[c]]) == h->code[c]);
+
+ // convert the id to a symbol
+ j->code_bits -= k;
+ j->code_buffer <<= k;
+ return h->values[c];
+}
+
+// bias[n] = (-1<<n) + 1
+static const int stbi__jbias[16] = {0,-1,-3,-7,-15,-31,-63,-127,-255,-511,-1023,-2047,-4095,-8191,-16383,-32767};
+
+// combined JPEG 'receive' and JPEG 'extend', since baseline
+// always extends everything it receives.
+stbi_inline static int stbi__extend_receive(stbi__jpeg *j, int n)
+{
+ unsigned int k;
+ int sgn;
+ if (j->code_bits < n) stbi__grow_buffer_unsafe(j);
+ if (j->code_bits < n) return 0; // ran out of bits from stream, return 0s intead of continuing
+
+ sgn = j->code_buffer >> 31; // sign bit always in MSB; 0 if MSB clear (positive), 1 if MSB set (negative)
+ k = stbi_lrot(j->code_buffer, n);
+ j->code_buffer = k & ~stbi__bmask[n];
+ k &= stbi__bmask[n];
+ j->code_bits -= n;
+ return k + (stbi__jbias[n] & (sgn - 1));
+}
+
+// get some unsigned bits
+stbi_inline static int stbi__jpeg_get_bits(stbi__jpeg *j, int n)
+{
+ unsigned int k;
+ if (j->code_bits < n) stbi__grow_buffer_unsafe(j);
+ if (j->code_bits < n) return 0; // ran out of bits from stream, return 0s intead of continuing
+ k = stbi_lrot(j->code_buffer, n);
+ j->code_buffer = k & ~stbi__bmask[n];
+ k &= stbi__bmask[n];
+ j->code_bits -= n;
+ return k;
+}
+
+stbi_inline static int stbi__jpeg_get_bit(stbi__jpeg *j)
+{
+ unsigned int k;
+ if (j->code_bits < 1) stbi__grow_buffer_unsafe(j);
+ if (j->code_bits < 1) return 0; // ran out of bits from stream, return 0s intead of continuing
+ k = j->code_buffer;
+ j->code_buffer <<= 1;
+ --j->code_bits;
+ return k & 0x80000000;
+}
+
+// given a value that's at position X in the zigzag stream,
+// where does it appear in the 8x8 matrix coded as row-major?
+static const stbi_uc stbi__jpeg_dezigzag[64+15] =
+{
+ 0, 1, 8, 16, 9, 2, 3, 10,
+ 17, 24, 32, 25, 18, 11, 4, 5,
+ 12, 19, 26, 33, 40, 48, 41, 34,
+ 27, 20, 13, 6, 7, 14, 21, 28,
+ 35, 42, 49, 56, 57, 50, 43, 36,
+ 29, 22, 15, 23, 30, 37, 44, 51,
+ 58, 59, 52, 45, 38, 31, 39, 46,
+ 53, 60, 61, 54, 47, 55, 62, 63,
+ // let corrupt input sample past end
+ 63, 63, 63, 63, 63, 63, 63, 63,
+ 63, 63, 63, 63, 63, 63, 63
+};
+
+// decode one 64-entry block--
+static int stbi__jpeg_decode_block(stbi__jpeg *j, short data[64], stbi__huffman *hdc, stbi__huffman *hac, stbi__int16 *fac, int b, stbi__uint16 *dequant)
+{
+ int diff,dc,k;
+ int t;
+
+ if (j->code_bits < 16) stbi__grow_buffer_unsafe(j);
+ t = stbi__jpeg_huff_decode(j, hdc);
+ if (t < 0 || t > 15) return stbi__err("bad huffman code","Corrupt JPEG");
+
+ // 0 all the ac values now so we can do it 32-bits at a time
+ memset(data,0,64*sizeof(data[0]));
+
+ diff = t ? stbi__extend_receive(j, t) : 0;
+ if (!stbi__addints_valid(j->img_comp[b].dc_pred, diff)) return stbi__err("bad delta","Corrupt JPEG");
+ dc = j->img_comp[b].dc_pred + diff;
+ j->img_comp[b].dc_pred = dc;
+ if (!stbi__mul2shorts_valid(dc, dequant[0])) return stbi__err("can't merge dc and ac", "Corrupt JPEG");
+ data[0] = (short) (dc * dequant[0]);
+
+ // decode AC components, see JPEG spec
+ k = 1;
+ do {
+ unsigned int zig;
+ int c,r,s;
+ if (j->code_bits < 16) stbi__grow_buffer_unsafe(j);
+ c = (j->code_buffer >> (32 - FAST_BITS)) & ((1 << FAST_BITS)-1);
+ r = fac[c];
+ if (r) { // fast-AC path
+ k += (r >> 4) & 15; // run
+ s = r & 15; // combined length
+ if (s > j->code_bits) return stbi__err("bad huffman code", "Combined length longer than code bits available");
+ j->code_buffer <<= s;
+ j->code_bits -= s;
+ // decode into unzigzag'd location
+ zig = stbi__jpeg_dezigzag[k++];
+ data[zig] = (short) ((r >> 8) * dequant[zig]);
+ } else {
+ int rs = stbi__jpeg_huff_decode(j, hac);
+ if (rs < 0) return stbi__err("bad huffman code","Corrupt JPEG");
+ s = rs & 15;
+ r = rs >> 4;
+ if (s == 0) {
+ if (rs != 0xf0) break; // end block
+ k += 16;
+ } else {
+ k += r;
+ // decode into unzigzag'd location
+ zig = stbi__jpeg_dezigzag[k++];
+ data[zig] = (short) (stbi__extend_receive(j,s) * dequant[zig]);
+ }
+ }
+ } while (k < 64);
+ return 1;
+}
+
+static int stbi__jpeg_decode_block_prog_dc(stbi__jpeg *j, short data[64], stbi__huffman *hdc, int b)
+{
+ int diff,dc;
+ int t;
+ if (j->spec_end != 0) return stbi__err("can't merge dc and ac", "Corrupt JPEG");
+
+ if (j->code_bits < 16) stbi__grow_buffer_unsafe(j);
+
+ if (j->succ_high == 0) {
+ // first scan for DC coefficient, must be first
+ memset(data,0,64*sizeof(data[0])); // 0 all the ac values now
+ t = stbi__jpeg_huff_decode(j, hdc);
+ if (t < 0 || t > 15) return stbi__err("can't merge dc and ac", "Corrupt JPEG");
+ diff = t ? stbi__extend_receive(j, t) : 0;
+
+ if (!stbi__addints_valid(j->img_comp[b].dc_pred, diff)) return stbi__err("bad delta", "Corrupt JPEG");
+ dc = j->img_comp[b].dc_pred + diff;
+ j->img_comp[b].dc_pred = dc;
+ if (!stbi__mul2shorts_valid(dc, 1 << j->succ_low)) return stbi__err("can't merge dc and ac", "Corrupt JPEG");
+ data[0] = (short) (dc * (1 << j->succ_low));
+ } else {
+ // refinement scan for DC coefficient
+ if (stbi__jpeg_get_bit(j))
+ data[0] += (short) (1 << j->succ_low);
+ }
+ return 1;
+}
+
+// @OPTIMIZE: store non-zigzagged during the decode passes,
+// and only de-zigzag when dequantizing
+static int stbi__jpeg_decode_block_prog_ac(stbi__jpeg *j, short data[64], stbi__huffman *hac, stbi__int16 *fac)
+{
+ int k;
+ if (j->spec_start == 0) return stbi__err("can't merge dc and ac", "Corrupt JPEG");
+
+ if (j->succ_high == 0) {
+ int shift = j->succ_low;
+
+ if (j->eob_run) {
+ --j->eob_run;
+ return 1;
+ }
+
+ k = j->spec_start;
+ do {
+ unsigned int zig;
+ int c,r,s;
+ if (j->code_bits < 16) stbi__grow_buffer_unsafe(j);
+ c = (j->code_buffer >> (32 - FAST_BITS)) & ((1 << FAST_BITS)-1);
+ r = fac[c];
+ if (r) { // fast-AC path
+ k += (r >> 4) & 15; // run
+ s = r & 15; // combined length
+ if (s > j->code_bits) return stbi__err("bad huffman code", "Combined length longer than code bits available");
+ j->code_buffer <<= s;
+ j->code_bits -= s;
+ zig = stbi__jpeg_dezigzag[k++];
+ data[zig] = (short) ((r >> 8) * (1 << shift));
+ } else {
+ int rs = stbi__jpeg_huff_decode(j, hac);
+ if (rs < 0) return stbi__err("bad huffman code","Corrupt JPEG");
+ s = rs & 15;
+ r = rs >> 4;
+ if (s == 0) {
+ if (r < 15) {
+ j->eob_run = (1 << r);
+ if (r)
+ j->eob_run += stbi__jpeg_get_bits(j, r);
+ --j->eob_run;
+ break;
+ }
+ k += 16;
+ } else {
+ k += r;
+ zig = stbi__jpeg_dezigzag[k++];
+ data[zig] = (short) (stbi__extend_receive(j,s) * (1 << shift));
+ }
+ }
+ } while (k <= j->spec_end);
+ } else {
+ // refinement scan for these AC coefficients
+
+ short bit = (short) (1 << j->succ_low);
+
+ if (j->eob_run) {
+ --j->eob_run;
+ for (k = j->spec_start; k <= j->spec_end; ++k) {
+ short *p = &data[stbi__jpeg_dezigzag[k]];
+ if (*p != 0)
+ if (stbi__jpeg_get_bit(j))
+ if ((*p & bit)==0) {
+ if (*p > 0)
+ *p += bit;
+ else
+ *p -= bit;
+ }
+ }
+ } else {
+ k = j->spec_start;
+ do {
+ int r,s;
+ int rs = stbi__jpeg_huff_decode(j, hac); // @OPTIMIZE see if we can use the fast path here, advance-by-r is so slow, eh
+ if (rs < 0) return stbi__err("bad huffman code","Corrupt JPEG");
+ s = rs & 15;
+ r = rs >> 4;
+ if (s == 0) {
+ if (r < 15) {
+ j->eob_run = (1 << r) - 1;
+ if (r)
+ j->eob_run += stbi__jpeg_get_bits(j, r);
+ r = 64; // force end of block
+ } else {
+ // r=15 s=0 should write 16 0s, so we just do
+ // a run of 15 0s and then write s (which is 0),
+ // so we don't have to do anything special here
+ }
+ } else {
+ if (s != 1) return stbi__err("bad huffman code", "Corrupt JPEG");
+ // sign bit
+ if (stbi__jpeg_get_bit(j))
+ s = bit;
+ else
+ s = -bit;
+ }
+
+ // advance by r
+ while (k <= j->spec_end) {
+ short *p = &data[stbi__jpeg_dezigzag[k++]];
+ if (*p != 0) {
+ if (stbi__jpeg_get_bit(j))
+ if ((*p & bit)==0) {
+ if (*p > 0)
+ *p += bit;
+ else
+ *p -= bit;
+ }
+ } else {
+ if (r == 0) {
+ *p = (short) s;
+ break;
+ }
+ --r;
+ }
+ }
+ } while (k <= j->spec_end);
+ }
+ }
+ return 1;
+}
+
+// take a -128..127 value and stbi__clamp it and convert to 0..255
+stbi_inline static stbi_uc stbi__clamp(int x)
+{
+ // trick to use a single test to catch both cases
+ if ((unsigned int) x > 255) {
+ if (x < 0) return 0;
+ if (x > 255) return 255;
+ }
+ return (stbi_uc) x;
+}
+
+#define stbi__f2f(x) ((int) (((x) * 4096 + 0.5)))
+#define stbi__fsh(x) ((x) * 4096)
+
+// derived from jidctint -- DCT_ISLOW
+#define STBI__IDCT_1D(s0,s1,s2,s3,s4,s5,s6,s7) \
+ int t0,t1,t2,t3,p1,p2,p3,p4,p5,x0,x1,x2,x3; \
+ p2 = s2; \
+ p3 = s6; \
+ p1 = (p2+p3) * stbi__f2f(0.5411961f); \
+ t2 = p1 + p3*stbi__f2f(-1.847759065f); \
+ t3 = p1 + p2*stbi__f2f( 0.765366865f); \
+ p2 = s0; \
+ p3 = s4; \
+ t0 = stbi__fsh(p2+p3); \
+ t1 = stbi__fsh(p2-p3); \
+ x0 = t0+t3; \
+ x3 = t0-t3; \
+ x1 = t1+t2; \
+ x2 = t1-t2; \
+ t0 = s7; \
+ t1 = s5; \
+ t2 = s3; \
+ t3 = s1; \
+ p3 = t0+t2; \
+ p4 = t1+t3; \
+ p1 = t0+t3; \
+ p2 = t1+t2; \
+ p5 = (p3+p4)*stbi__f2f( 1.175875602f); \
+ t0 = t0*stbi__f2f( 0.298631336f); \
+ t1 = t1*stbi__f2f( 2.053119869f); \
+ t2 = t2*stbi__f2f( 3.072711026f); \
+ t3 = t3*stbi__f2f( 1.501321110f); \
+ p1 = p5 + p1*stbi__f2f(-0.899976223f); \
+ p2 = p5 + p2*stbi__f2f(-2.562915447f); \
+ p3 = p3*stbi__f2f(-1.961570560f); \
+ p4 = p4*stbi__f2f(-0.390180644f); \
+ t3 += p1+p4; \
+ t2 += p2+p3; \
+ t1 += p2+p4; \
+ t0 += p1+p3;
+
+static void stbi__idct_block(stbi_uc *out, int out_stride, short data[64])
+{
+ int i,val[64],*v=val;
+ stbi_uc *o;
+ short *d = data;
+
+ // columns
+ for (i=0; i < 8; ++i,++d, ++v) {
+ // if all zeroes, shortcut -- this avoids dequantizing 0s and IDCTing
+ if (d[ 8]==0 && d[16]==0 && d[24]==0 && d[32]==0
+ && d[40]==0 && d[48]==0 && d[56]==0) {
+ // no shortcut 0 seconds
+ // (1|2|3|4|5|6|7)==0 0 seconds
+ // all separate -0.047 seconds
+ // 1 && 2|3 && 4|5 && 6|7: -0.047 seconds
+ int dcterm = d[0]*4;
+ v[0] = v[8] = v[16] = v[24] = v[32] = v[40] = v[48] = v[56] = dcterm;
+ } else {
+ STBI__IDCT_1D(d[ 0],d[ 8],d[16],d[24],d[32],d[40],d[48],d[56])
+ // constants scaled things up by 1<<12; let's bring them back
+ // down, but keep 2 extra bits of precision
+ x0 += 512; x1 += 512; x2 += 512; x3 += 512;
+ v[ 0] = (x0+t3) >> 10;
+ v[56] = (x0-t3) >> 10;
+ v[ 8] = (x1+t2) >> 10;
+ v[48] = (x1-t2) >> 10;
+ v[16] = (x2+t1) >> 10;
+ v[40] = (x2-t1) >> 10;
+ v[24] = (x3+t0) >> 10;
+ v[32] = (x3-t0) >> 10;
+ }
+ }
+
+ for (i=0, v=val, o=out; i < 8; ++i,v+=8,o+=out_stride) {
+ // no fast case since the first 1D IDCT spread components out
+ STBI__IDCT_1D(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7])
+ // constants scaled things up by 1<<12, plus we had 1<<2 from first
+ // loop, plus horizontal and vertical each scale by sqrt(8) so together
+ // we've got an extra 1<<3, so 1<<17 total we need to remove.
+ // so we want to round that, which means adding 0.5 * 1<<17,
+ // aka 65536. Also, we'll end up with -128 to 127 that we want
+ // to encode as 0..255 by adding 128, so we'll add that before the shift
+ x0 += 65536 + (128<<17);
+ x1 += 65536 + (128<<17);
+ x2 += 65536 + (128<<17);
+ x3 += 65536 + (128<<17);
+ // tried computing the shifts into temps, or'ing the temps to see
+ // if any were out of range, but that was slower
+ o[0] = stbi__clamp((x0+t3) >> 17);
+ o[7] = stbi__clamp((x0-t3) >> 17);
+ o[1] = stbi__clamp((x1+t2) >> 17);
+ o[6] = stbi__clamp((x1-t2) >> 17);
+ o[2] = stbi__clamp((x2+t1) >> 17);
+ o[5] = stbi__clamp((x2-t1) >> 17);
+ o[3] = stbi__clamp((x3+t0) >> 17);
+ o[4] = stbi__clamp((x3-t0) >> 17);
+ }
+}
+
+#ifdef STBI_SSE2
+// sse2 integer IDCT. not the fastest possible implementation but it
+// produces bit-identical results to the generic C version so it's
+// fully "transparent".
+static void stbi__idct_simd(stbi_uc *out, int out_stride, short data[64])
+{
+ // This is constructed to match our regular (generic) integer IDCT exactly.
+ __m128i row0, row1, row2, row3, row4, row5, row6, row7;
+ __m128i tmp;
+
+ // dot product constant: even elems=x, odd elems=y
+ #define dct_const(x,y) _mm_setr_epi16((x),(y),(x),(y),(x),(y),(x),(y))
+
+ // out(0) = c0[even]*x + c0[odd]*y (c0, x, y 16-bit, out 32-bit)
+ // out(1) = c1[even]*x + c1[odd]*y
+ #define dct_rot(out0,out1, x,y,c0,c1) \
+ __m128i c0##lo = _mm_unpacklo_epi16((x),(y)); \
+ __m128i c0##hi = _mm_unpackhi_epi16((x),(y)); \
+ __m128i out0##_l = _mm_madd_epi16(c0##lo, c0); \
+ __m128i out0##_h = _mm_madd_epi16(c0##hi, c0); \
+ __m128i out1##_l = _mm_madd_epi16(c0##lo, c1); \
+ __m128i out1##_h = _mm_madd_epi16(c0##hi, c1)
+
+ // out = in << 12 (in 16-bit, out 32-bit)
+ #define dct_widen(out, in) \
+ __m128i out##_l = _mm_srai_epi32(_mm_unpacklo_epi16(_mm_setzero_si128(), (in)), 4); \
+ __m128i out##_h = _mm_srai_epi32(_mm_unpackhi_epi16(_mm_setzero_si128(), (in)), 4)
+
+ // wide add
+ #define dct_wadd(out, a, b) \
+ __m128i out##_l = _mm_add_epi32(a##_l, b##_l); \
+ __m128i out##_h = _mm_add_epi32(a##_h, b##_h)
+
+ // wide sub
+ #define dct_wsub(out, a, b) \
+ __m128i out##_l = _mm_sub_epi32(a##_l, b##_l); \
+ __m128i out##_h = _mm_sub_epi32(a##_h, b##_h)
+
+ // butterfly a/b, add bias, then shift by "s" and pack
+ #define dct_bfly32o(out0, out1, a,b,bias,s) \
+ { \
+ __m128i abiased_l = _mm_add_epi32(a##_l, bias); \
+ __m128i abiased_h = _mm_add_epi32(a##_h, bias); \
+ dct_wadd(sum, abiased, b); \
+ dct_wsub(dif, abiased, b); \
+ out0 = _mm_packs_epi32(_mm_srai_epi32(sum_l, s), _mm_srai_epi32(sum_h, s)); \
+ out1 = _mm_packs_epi32(_mm_srai_epi32(dif_l, s), _mm_srai_epi32(dif_h, s)); \
+ }
+
+ // 8-bit interleave step (for transposes)
+ #define dct_interleave8(a, b) \
+ tmp = a; \
+ a = _mm_unpacklo_epi8(a, b); \
+ b = _mm_unpackhi_epi8(tmp, b)
+
+ // 16-bit interleave step (for transposes)
+ #define dct_interleave16(a, b) \
+ tmp = a; \
+ a = _mm_unpacklo_epi16(a, b); \
+ b = _mm_unpackhi_epi16(tmp, b)
+
+ #define dct_pass(bias,shift) \
+ { \
+ /* even part */ \
+ dct_rot(t2e,t3e, row2,row6, rot0_0,rot0_1); \
+ __m128i sum04 = _mm_add_epi16(row0, row4); \
+ __m128i dif04 = _mm_sub_epi16(row0, row4); \
+ dct_widen(t0e, sum04); \
+ dct_widen(t1e, dif04); \
+ dct_wadd(x0, t0e, t3e); \
+ dct_wsub(x3, t0e, t3e); \
+ dct_wadd(x1, t1e, t2e); \
+ dct_wsub(x2, t1e, t2e); \
+ /* odd part */ \
+ dct_rot(y0o,y2o, row7,row3, rot2_0,rot2_1); \
+ dct_rot(y1o,y3o, row5,row1, rot3_0,rot3_1); \
+ __m128i sum17 = _mm_add_epi16(row1, row7); \
+ __m128i sum35 = _mm_add_epi16(row3, row5); \
+ dct_rot(y4o,y5o, sum17,sum35, rot1_0,rot1_1); \
+ dct_wadd(x4, y0o, y4o); \
+ dct_wadd(x5, y1o, y5o); \
+ dct_wadd(x6, y2o, y5o); \
+ dct_wadd(x7, y3o, y4o); \
+ dct_bfly32o(row0,row7, x0,x7,bias,shift); \
+ dct_bfly32o(row1,row6, x1,x6,bias,shift); \
+ dct_bfly32o(row2,row5, x2,x5,bias,shift); \
+ dct_bfly32o(row3,row4, x3,x4,bias,shift); \
+ }
+
+ __m128i rot0_0 = dct_const(stbi__f2f(0.5411961f), stbi__f2f(0.5411961f) + stbi__f2f(-1.847759065f));
+ __m128i rot0_1 = dct_const(stbi__f2f(0.5411961f) + stbi__f2f( 0.765366865f), stbi__f2f(0.5411961f));
+ __m128i rot1_0 = dct_const(stbi__f2f(1.175875602f) + stbi__f2f(-0.899976223f), stbi__f2f(1.175875602f));
+ __m128i rot1_1 = dct_const(stbi__f2f(1.175875602f), stbi__f2f(1.175875602f) + stbi__f2f(-2.562915447f));
+ __m128i rot2_0 = dct_const(stbi__f2f(-1.961570560f) + stbi__f2f( 0.298631336f), stbi__f2f(-1.961570560f));
+ __m128i rot2_1 = dct_const(stbi__f2f(-1.961570560f), stbi__f2f(-1.961570560f) + stbi__f2f( 3.072711026f));
+ __m128i rot3_0 = dct_const(stbi__f2f(-0.390180644f) + stbi__f2f( 2.053119869f), stbi__f2f(-0.390180644f));
+ __m128i rot3_1 = dct_const(stbi__f2f(-0.390180644f), stbi__f2f(-0.390180644f) + stbi__f2f( 1.501321110f));
+
+ // rounding biases in column/row passes, see stbi__idct_block for explanation.
+ __m128i bias_0 = _mm_set1_epi32(512);
+ __m128i bias_1 = _mm_set1_epi32(65536 + (128<<17));
+
+ // load
+ row0 = _mm_load_si128((const __m128i *) (data + 0*8));
+ row1 = _mm_load_si128((const __m128i *) (data + 1*8));
+ row2 = _mm_load_si128((const __m128i *) (data + 2*8));
+ row3 = _mm_load_si128((const __m128i *) (data + 3*8));
+ row4 = _mm_load_si128((const __m128i *) (data + 4*8));
+ row5 = _mm_load_si128((const __m128i *) (data + 5*8));
+ row6 = _mm_load_si128((const __m128i *) (data + 6*8));
+ row7 = _mm_load_si128((const __m128i *) (data + 7*8));
+
+ // column pass
+ dct_pass(bias_0, 10);
+
+ {
+ // 16bit 8x8 transpose pass 1
+ dct_interleave16(row0, row4);
+ dct_interleave16(row1, row5);
+ dct_interleave16(row2, row6);
+ dct_interleave16(row3, row7);
+
+ // transpose pass 2
+ dct_interleave16(row0, row2);
+ dct_interleave16(row1, row3);
+ dct_interleave16(row4, row6);
+ dct_interleave16(row5, row7);
+
+ // transpose pass 3
+ dct_interleave16(row0, row1);
+ dct_interleave16(row2, row3);
+ dct_interleave16(row4, row5);
+ dct_interleave16(row6, row7);
+ }
+
+ // row pass
+ dct_pass(bias_1, 17);
+
+ {
+ // pack
+ __m128i p0 = _mm_packus_epi16(row0, row1); // a0a1a2a3...a7b0b1b2b3...b7
+ __m128i p1 = _mm_packus_epi16(row2, row3);
+ __m128i p2 = _mm_packus_epi16(row4, row5);
+ __m128i p3 = _mm_packus_epi16(row6, row7);
+
+ // 8bit 8x8 transpose pass 1
+ dct_interleave8(p0, p2); // a0e0a1e1...
+ dct_interleave8(p1, p3); // c0g0c1g1...
+
+ // transpose pass 2
+ dct_interleave8(p0, p1); // a0c0e0g0...
+ dct_interleave8(p2, p3); // b0d0f0h0...
+
+ // transpose pass 3
+ dct_interleave8(p0, p2); // a0b0c0d0...
+ dct_interleave8(p1, p3); // a4b4c4d4...
+
+ // store
+ _mm_storel_epi64((__m128i *) out, p0); out += out_stride;
+ _mm_storel_epi64((__m128i *) out, _mm_shuffle_epi32(p0, 0x4e)); out += out_stride;
+ _mm_storel_epi64((__m128i *) out, p2); out += out_stride;
+ _mm_storel_epi64((__m128i *) out, _mm_shuffle_epi32(p2, 0x4e)); out += out_stride;
+ _mm_storel_epi64((__m128i *) out, p1); out += out_stride;
+ _mm_storel_epi64((__m128i *) out, _mm_shuffle_epi32(p1, 0x4e)); out += out_stride;
+ _mm_storel_epi64((__m128i *) out, p3); out += out_stride;
+ _mm_storel_epi64((__m128i *) out, _mm_shuffle_epi32(p3, 0x4e));
+ }
+
+#undef dct_const
+#undef dct_rot
+#undef dct_widen
+#undef dct_wadd
+#undef dct_wsub
+#undef dct_bfly32o
+#undef dct_interleave8
+#undef dct_interleave16
+#undef dct_pass
+}
+
+#endif // STBI_SSE2
+
+#ifdef STBI_NEON
+
+// NEON integer IDCT. should produce bit-identical
+// results to the generic C version.
+static void stbi__idct_simd(stbi_uc *out, int out_stride, short data[64])
+{
+ int16x8_t row0, row1, row2, row3, row4, row5, row6, row7;
+
+ int16x4_t rot0_0 = vdup_n_s16(stbi__f2f(0.5411961f));
+ int16x4_t rot0_1 = vdup_n_s16(stbi__f2f(-1.847759065f));
+ int16x4_t rot0_2 = vdup_n_s16(stbi__f2f( 0.765366865f));
+ int16x4_t rot1_0 = vdup_n_s16(stbi__f2f( 1.175875602f));
+ int16x4_t rot1_1 = vdup_n_s16(stbi__f2f(-0.899976223f));
+ int16x4_t rot1_2 = vdup_n_s16(stbi__f2f(-2.562915447f));
+ int16x4_t rot2_0 = vdup_n_s16(stbi__f2f(-1.961570560f));
+ int16x4_t rot2_1 = vdup_n_s16(stbi__f2f(-0.390180644f));
+ int16x4_t rot3_0 = vdup_n_s16(stbi__f2f( 0.298631336f));
+ int16x4_t rot3_1 = vdup_n_s16(stbi__f2f( 2.053119869f));
+ int16x4_t rot3_2 = vdup_n_s16(stbi__f2f( 3.072711026f));
+ int16x4_t rot3_3 = vdup_n_s16(stbi__f2f( 1.501321110f));
+
+#define dct_long_mul(out, inq, coeff) \
+ int32x4_t out##_l = vmull_s16(vget_low_s16(inq), coeff); \
+ int32x4_t out##_h = vmull_s16(vget_high_s16(inq), coeff)
+
+#define dct_long_mac(out, acc, inq, coeff) \
+ int32x4_t out##_l = vmlal_s16(acc##_l, vget_low_s16(inq), coeff); \
+ int32x4_t out##_h = vmlal_s16(acc##_h, vget_high_s16(inq), coeff)
+
+#define dct_widen(out, inq) \
+ int32x4_t out##_l = vshll_n_s16(vget_low_s16(inq), 12); \
+ int32x4_t out##_h = vshll_n_s16(vget_high_s16(inq), 12)
+
+// wide add
+#define dct_wadd(out, a, b) \
+ int32x4_t out##_l = vaddq_s32(a##_l, b##_l); \
+ int32x4_t out##_h = vaddq_s32(a##_h, b##_h)
+
+// wide sub
+#define dct_wsub(out, a, b) \
+ int32x4_t out##_l = vsubq_s32(a##_l, b##_l); \
+ int32x4_t out##_h = vsubq_s32(a##_h, b##_h)
+
+// butterfly a/b, then shift using "shiftop" by "s" and pack
+#define dct_bfly32o(out0,out1, a,b,shiftop,s) \
+ { \
+ dct_wadd(sum, a, b); \
+ dct_wsub(dif, a, b); \
+ out0 = vcombine_s16(shiftop(sum_l, s), shiftop(sum_h, s)); \
+ out1 = vcombine_s16(shiftop(dif_l, s), shiftop(dif_h, s)); \
+ }
+
+#define dct_pass(shiftop, shift) \
+ { \
+ /* even part */ \
+ int16x8_t sum26 = vaddq_s16(row2, row6); \
+ dct_long_mul(p1e, sum26, rot0_0); \
+ dct_long_mac(t2e, p1e, row6, rot0_1); \
+ dct_long_mac(t3e, p1e, row2, rot0_2); \
+ int16x8_t sum04 = vaddq_s16(row0, row4); \
+ int16x8_t dif04 = vsubq_s16(row0, row4); \
+ dct_widen(t0e, sum04); \
+ dct_widen(t1e, dif04); \
+ dct_wadd(x0, t0e, t3e); \
+ dct_wsub(x3, t0e, t3e); \
+ dct_wadd(x1, t1e, t2e); \
+ dct_wsub(x2, t1e, t2e); \
+ /* odd part */ \
+ int16x8_t sum15 = vaddq_s16(row1, row5); \
+ int16x8_t sum17 = vaddq_s16(row1, row7); \
+ int16x8_t sum35 = vaddq_s16(row3, row5); \
+ int16x8_t sum37 = vaddq_s16(row3, row7); \
+ int16x8_t sumodd = vaddq_s16(sum17, sum35); \
+ dct_long_mul(p5o, sumodd, rot1_0); \
+ dct_long_mac(p1o, p5o, sum17, rot1_1); \
+ dct_long_mac(p2o, p5o, sum35, rot1_2); \
+ dct_long_mul(p3o, sum37, rot2_0); \
+ dct_long_mul(p4o, sum15, rot2_1); \
+ dct_wadd(sump13o, p1o, p3o); \
+ dct_wadd(sump24o, p2o, p4o); \
+ dct_wadd(sump23o, p2o, p3o); \
+ dct_wadd(sump14o, p1o, p4o); \
+ dct_long_mac(x4, sump13o, row7, rot3_0); \
+ dct_long_mac(x5, sump24o, row5, rot3_1); \
+ dct_long_mac(x6, sump23o, row3, rot3_2); \
+ dct_long_mac(x7, sump14o, row1, rot3_3); \
+ dct_bfly32o(row0,row7, x0,x7,shiftop,shift); \
+ dct_bfly32o(row1,row6, x1,x6,shiftop,shift); \
+ dct_bfly32o(row2,row5, x2,x5,shiftop,shift); \
+ dct_bfly32o(row3,row4, x3,x4,shiftop,shift); \
+ }
+
+ // load
+ row0 = vld1q_s16(data + 0*8);
+ row1 = vld1q_s16(data + 1*8);
+ row2 = vld1q_s16(data + 2*8);
+ row3 = vld1q_s16(data + 3*8);
+ row4 = vld1q_s16(data + 4*8);
+ row5 = vld1q_s16(data + 5*8);
+ row6 = vld1q_s16(data + 6*8);
+ row7 = vld1q_s16(data + 7*8);
+
+ // add DC bias
+ row0 = vaddq_s16(row0, vsetq_lane_s16(1024, vdupq_n_s16(0), 0));
+
+ // column pass
+ dct_pass(vrshrn_n_s32, 10);
+
+ // 16bit 8x8 transpose
+ {
+// these three map to a single VTRN.16, VTRN.32, and VSWP, respectively.
+// whether compilers actually get this is another story, sadly.
+#define dct_trn16(x, y) { int16x8x2_t t = vtrnq_s16(x, y); x = t.val[0]; y = t.val[1]; }
+#define dct_trn32(x, y) { int32x4x2_t t = vtrnq_s32(vreinterpretq_s32_s16(x), vreinterpretq_s32_s16(y)); x = vreinterpretq_s16_s32(t.val[0]); y = vreinterpretq_s16_s32(t.val[1]); }
+#define dct_trn64(x, y) { int16x8_t x0 = x; int16x8_t y0 = y; x = vcombine_s16(vget_low_s16(x0), vget_low_s16(y0)); y = vcombine_s16(vget_high_s16(x0), vget_high_s16(y0)); }
+
+ // pass 1
+ dct_trn16(row0, row1); // a0b0a2b2a4b4a6b6
+ dct_trn16(row2, row3);
+ dct_trn16(row4, row5);
+ dct_trn16(row6, row7);
+
+ // pass 2
+ dct_trn32(row0, row2); // a0b0c0d0a4b4c4d4
+ dct_trn32(row1, row3);
+ dct_trn32(row4, row6);
+ dct_trn32(row5, row7);
+
+ // pass 3
+ dct_trn64(row0, row4); // a0b0c0d0e0f0g0h0
+ dct_trn64(row1, row5);
+ dct_trn64(row2, row6);
+ dct_trn64(row3, row7);
+
+#undef dct_trn16
+#undef dct_trn32
+#undef dct_trn64
+ }
+
+ // row pass
+ // vrshrn_n_s32 only supports shifts up to 16, we need
+ // 17. so do a non-rounding shift of 16 first then follow
+ // up with a rounding shift by 1.
+ dct_pass(vshrn_n_s32, 16);
+
+ {
+ // pack and round
+ uint8x8_t p0 = vqrshrun_n_s16(row0, 1);
+ uint8x8_t p1 = vqrshrun_n_s16(row1, 1);
+ uint8x8_t p2 = vqrshrun_n_s16(row2, 1);
+ uint8x8_t p3 = vqrshrun_n_s16(row3, 1);
+ uint8x8_t p4 = vqrshrun_n_s16(row4, 1);
+ uint8x8_t p5 = vqrshrun_n_s16(row5, 1);
+ uint8x8_t p6 = vqrshrun_n_s16(row6, 1);
+ uint8x8_t p7 = vqrshrun_n_s16(row7, 1);
+
+ // again, these can translate into one instruction, but often don't.
+#define dct_trn8_8(x, y) { uint8x8x2_t t = vtrn_u8(x, y); x = t.val[0]; y = t.val[1]; }
+#define dct_trn8_16(x, y) { uint16x4x2_t t = vtrn_u16(vreinterpret_u16_u8(x), vreinterpret_u16_u8(y)); x = vreinterpret_u8_u16(t.val[0]); y = vreinterpret_u8_u16(t.val[1]); }
+#define dct_trn8_32(x, y) { uint32x2x2_t t = vtrn_u32(vreinterpret_u32_u8(x), vreinterpret_u32_u8(y)); x = vreinterpret_u8_u32(t.val[0]); y = vreinterpret_u8_u32(t.val[1]); }
+
+ // sadly can't use interleaved stores here since we only write
+ // 8 bytes to each scan line!
+
+ // 8x8 8-bit transpose pass 1
+ dct_trn8_8(p0, p1);
+ dct_trn8_8(p2, p3);
+ dct_trn8_8(p4, p5);
+ dct_trn8_8(p6, p7);
+
+ // pass 2
+ dct_trn8_16(p0, p2);
+ dct_trn8_16(p1, p3);
+ dct_trn8_16(p4, p6);
+ dct_trn8_16(p5, p7);
+
+ // pass 3
+ dct_trn8_32(p0, p4);
+ dct_trn8_32(p1, p5);
+ dct_trn8_32(p2, p6);
+ dct_trn8_32(p3, p7);
+
+ // store
+ vst1_u8(out, p0); out += out_stride;
+ vst1_u8(out, p1); out += out_stride;
+ vst1_u8(out, p2); out += out_stride;
+ vst1_u8(out, p3); out += out_stride;
+ vst1_u8(out, p4); out += out_stride;
+ vst1_u8(out, p5); out += out_stride;
+ vst1_u8(out, p6); out += out_stride;
+ vst1_u8(out, p7);
+
+#undef dct_trn8_8
+#undef dct_trn8_16
+#undef dct_trn8_32
+ }
+
+#undef dct_long_mul
+#undef dct_long_mac
+#undef dct_widen
+#undef dct_wadd
+#undef dct_wsub
+#undef dct_bfly32o
+#undef dct_pass
+}
+
+#endif // STBI_NEON
+
+#define STBI__MARKER_none 0xff
+// if there's a pending marker from the entropy stream, return that
+// otherwise, fetch from the stream and get a marker. if there's no
+// marker, return 0xff, which is never a valid marker value
+static stbi_uc stbi__get_marker(stbi__jpeg *j)
+{
+ stbi_uc x;
+ if (j->marker != STBI__MARKER_none) { x = j->marker; j->marker = STBI__MARKER_none; return x; }
+ x = stbi__get8(j->s);
+ if (x != 0xff) return STBI__MARKER_none;
+ while (x == 0xff)
+ x = stbi__get8(j->s); // consume repeated 0xff fill bytes
+ return x;
+}
+
+// in each scan, we'll have scan_n components, and the order
+// of the components is specified by order[]
+#define STBI__RESTART(x) ((x) >= 0xd0 && (x) <= 0xd7)
+
+// after a restart interval, stbi__jpeg_reset the entropy decoder and
+// the dc prediction
+static void stbi__jpeg_reset(stbi__jpeg *j)
+{
+ j->code_bits = 0;
+ j->code_buffer = 0;
+ j->nomore = 0;
+ j->img_comp[0].dc_pred = j->img_comp[1].dc_pred = j->img_comp[2].dc_pred = j->img_comp[3].dc_pred = 0;
+ j->marker = STBI__MARKER_none;
+ j->todo = j->restart_interval ? j->restart_interval : 0x7fffffff;
+ j->eob_run = 0;
+ // no more than 1<<31 MCUs if no restart_interal? that's plenty safe,
+ // since we don't even allow 1<<30 pixels
+}
+
+static int stbi__parse_entropy_coded_data(stbi__jpeg *z)
+{
+ stbi__jpeg_reset(z);
+ if (!z->progressive) {
+ if (z->scan_n == 1) {
+ int i,j;
+ STBI_SIMD_ALIGN(short, data[64]);
+ int n = z->order[0];
+ // non-interleaved data, we just need to process one block at a time,
+ // in trivial scanline order
+ // number of blocks to do just depends on how many actual "pixels" this
+ // component has, independent of interleaved MCU blocking and such
+ int w = (z->img_comp[n].x+7) >> 3;
+ int h = (z->img_comp[n].y+7) >> 3;
+ for (j=0; j < h; ++j) {
+ for (i=0; i < w; ++i) {
+ int ha = z->img_comp[n].ha;
+ if (!stbi__jpeg_decode_block(z, data, z->huff_dc+z->img_comp[n].hd, z->huff_ac+ha, z->fast_ac[ha], n, z->dequant[z->img_comp[n].tq])) return 0;
+ z->idct_block_kernel(z->img_comp[n].data+z->img_comp[n].w2*j*8+i*8, z->img_comp[n].w2, data);
+ // every data block is an MCU, so countdown the restart interval
+ if (--z->todo <= 0) {
+ if (z->code_bits < 24) stbi__grow_buffer_unsafe(z);
+ // if it's NOT a restart, then just bail, so we get corrupt data
+ // rather than no data
+ if (!STBI__RESTART(z->marker)) return 1;
+ stbi__jpeg_reset(z);
+ }
+ }
+ }
+ return 1;
+ } else { // interleaved
+ int i,j,k,x,y;
+ STBI_SIMD_ALIGN(short, data[64]);
+ for (j=0; j < z->img_mcu_y; ++j) {
+ for (i=0; i < z->img_mcu_x; ++i) {
+ // scan an interleaved mcu... process scan_n components in order
+ for (k=0; k < z->scan_n; ++k) {
+ int n = z->order[k];
+ // scan out an mcu's worth of this component; that's just determined
+ // by the basic H and V specified for the component
+ for (y=0; y < z->img_comp[n].v; ++y) {
+ for (x=0; x < z->img_comp[n].h; ++x) {
+ int x2 = (i*z->img_comp[n].h + x)*8;
+ int y2 = (j*z->img_comp[n].v + y)*8;
+ int ha = z->img_comp[n].ha;
+ if (!stbi__jpeg_decode_block(z, data, z->huff_dc+z->img_comp[n].hd, z->huff_ac+ha, z->fast_ac[ha], n, z->dequant[z->img_comp[n].tq])) return 0;
+ z->idct_block_kernel(z->img_comp[n].data+z->img_comp[n].w2*y2+x2, z->img_comp[n].w2, data);
+ }
+ }
+ }
+ // after all interleaved components, that's an interleaved MCU,
+ // so now count down the restart interval
+ if (--z->todo <= 0) {
+ if (z->code_bits < 24) stbi__grow_buffer_unsafe(z);
+ if (!STBI__RESTART(z->marker)) return 1;
+ stbi__jpeg_reset(z);
+ }
+ }
+ }
+ return 1;
+ }
+ } else {
+ if (z->scan_n == 1) {
+ int i,j;
+ int n = z->order[0];
+ // non-interleaved data, we just need to process one block at a time,
+ // in trivial scanline order
+ // number of blocks to do just depends on how many actual "pixels" this
+ // component has, independent of interleaved MCU blocking and such
+ int w = (z->img_comp[n].x+7) >> 3;
+ int h = (z->img_comp[n].y+7) >> 3;
+ for (j=0; j < h; ++j) {
+ for (i=0; i < w; ++i) {
+ short *data = z->img_comp[n].coeff + 64 * (i + j * z->img_comp[n].coeff_w);
+ if (z->spec_start == 0) {
+ if (!stbi__jpeg_decode_block_prog_dc(z, data, &z->huff_dc[z->img_comp[n].hd], n))
+ return 0;
+ } else {
+ int ha = z->img_comp[n].ha;
+ if (!stbi__jpeg_decode_block_prog_ac(z, data, &z->huff_ac[ha], z->fast_ac[ha]))
+ return 0;
+ }
+ // every data block is an MCU, so countdown the restart interval
+ if (--z->todo <= 0) {
+ if (z->code_bits < 24) stbi__grow_buffer_unsafe(z);
+ if (!STBI__RESTART(z->marker)) return 1;
+ stbi__jpeg_reset(z);
+ }
+ }
+ }
+ return 1;
+ } else { // interleaved
+ int i,j,k,x,y;
+ for (j=0; j < z->img_mcu_y; ++j) {
+ for (i=0; i < z->img_mcu_x; ++i) {
+ // scan an interleaved mcu... process scan_n components in order
+ for (k=0; k < z->scan_n; ++k) {
+ int n = z->order[k];
+ // scan out an mcu's worth of this component; that's just determined
+ // by the basic H and V specified for the component
+ for (y=0; y < z->img_comp[n].v; ++y) {
+ for (x=0; x < z->img_comp[n].h; ++x) {
+ int x2 = (i*z->img_comp[n].h + x);
+ int y2 = (j*z->img_comp[n].v + y);
+ short *data = z->img_comp[n].coeff + 64 * (x2 + y2 * z->img_comp[n].coeff_w);
+ if (!stbi__jpeg_decode_block_prog_dc(z, data, &z->huff_dc[z->img_comp[n].hd], n))
+ return 0;
+ }
+ }
+ }
+ // after all interleaved components, that's an interleaved MCU,
+ // so now count down the restart interval
+ if (--z->todo <= 0) {
+ if (z->code_bits < 24) stbi__grow_buffer_unsafe(z);
+ if (!STBI__RESTART(z->marker)) return 1;
+ stbi__jpeg_reset(z);
+ }
+ }
+ }
+ return 1;
+ }
+ }
+}
+
+static void stbi__jpeg_dequantize(short *data, stbi__uint16 *dequant)
+{
+ int i;
+ for (i=0; i < 64; ++i)
+ data[i] *= dequant[i];
+}
+
+static void stbi__jpeg_finish(stbi__jpeg *z)
+{
+ if (z->progressive) {
+ // dequantize and idct the data
+ int i,j,n;
+ for (n=0; n < z->s->img_n; ++n) {
+ int w = (z->img_comp[n].x+7) >> 3;
+ int h = (z->img_comp[n].y+7) >> 3;
+ for (j=0; j < h; ++j) {
+ for (i=0; i < w; ++i) {
+ short *data = z->img_comp[n].coeff + 64 * (i + j * z->img_comp[n].coeff_w);
+ stbi__jpeg_dequantize(data, z->dequant[z->img_comp[n].tq]);
+ z->idct_block_kernel(z->img_comp[n].data+z->img_comp[n].w2*j*8+i*8, z->img_comp[n].w2, data);
+ }
+ }
+ }
+ }
+}
+
+static int stbi__process_marker(stbi__jpeg *z, int m)
+{
+ int L;
+ switch (m) {
+ case STBI__MARKER_none: // no marker found
+ return stbi__err("expected marker","Corrupt JPEG");
+
+ case 0xDD: // DRI - specify restart interval
+ if (stbi__get16be(z->s) != 4) return stbi__err("bad DRI len","Corrupt JPEG");
+ z->restart_interval = stbi__get16be(z->s);
+ return 1;
+
+ case 0xDB: // DQT - define quantization table
+ L = stbi__get16be(z->s)-2;
+ while (L > 0) {
+ int q = stbi__get8(z->s);
+ int p = q >> 4, sixteen = (p != 0);
+ int t = q & 15,i;
+ if (p != 0 && p != 1) return stbi__err("bad DQT type","Corrupt JPEG");
+ if (t > 3) return stbi__err("bad DQT table","Corrupt JPEG");
+
+ for (i=0; i < 64; ++i)
+ z->dequant[t][stbi__jpeg_dezigzag[i]] = (stbi__uint16)(sixteen ? stbi__get16be(z->s) : stbi__get8(z->s));
+ L -= (sixteen ? 129 : 65);
+ }
+ return L==0;
+
+ case 0xC4: // DHT - define huffman table
+ L = stbi__get16be(z->s)-2;
+ while (L > 0) {
+ stbi_uc *v;
+ int sizes[16],i,n=0;
+ int q = stbi__get8(z->s);
+ int tc = q >> 4;
+ int th = q & 15;
+ if (tc > 1 || th > 3) return stbi__err("bad DHT header","Corrupt JPEG");
+ for (i=0; i < 16; ++i) {
+ sizes[i] = stbi__get8(z->s);
+ n += sizes[i];
+ }
+ if(n > 256) return stbi__err("bad DHT header","Corrupt JPEG"); // Loop over i < n would write past end of values!
+ L -= 17;
+ if (tc == 0) {
+ if (!stbi__build_huffman(z->huff_dc+th, sizes)) return 0;
+ v = z->huff_dc[th].values;
+ } else {
+ if (!stbi__build_huffman(z->huff_ac+th, sizes)) return 0;
+ v = z->huff_ac[th].values;
+ }
+ for (i=0; i < n; ++i)
+ v[i] = stbi__get8(z->s);
+ if (tc != 0)
+ stbi__build_fast_ac(z->fast_ac[th], z->huff_ac + th);
+ L -= n;
+ }
+ return L==0;
+ }
+
+ // check for comment block or APP blocks
+ if ((m >= 0xE0 && m <= 0xEF) || m == 0xFE) {
+ L = stbi__get16be(z->s);
+ if (L < 2) {
+ if (m == 0xFE)
+ return stbi__err("bad COM len","Corrupt JPEG");
+ else
+ return stbi__err("bad APP len","Corrupt JPEG");
+ }
+ L -= 2;
+
+ if (m == 0xE0 && L >= 5) { // JFIF APP0 segment
+ static const unsigned char tag[5] = {'J','F','I','F','\0'};
+ int ok = 1;
+ int i;
+ for (i=0; i < 5; ++i)
+ if (stbi__get8(z->s) != tag[i])
+ ok = 0;
+ L -= 5;
+ if (ok)
+ z->jfif = 1;
+ } else if (m == 0xEE && L >= 12) { // Adobe APP14 segment
+ static const unsigned char tag[6] = {'A','d','o','b','e','\0'};
+ int ok = 1;
+ int i;
+ for (i=0; i < 6; ++i)
+ if (stbi__get8(z->s) != tag[i])
+ ok = 0;
+ L -= 6;
+ if (ok) {
+ stbi__get8(z->s); // version
+ stbi__get16be(z->s); // flags0
+ stbi__get16be(z->s); // flags1
+ z->app14_color_transform = stbi__get8(z->s); // color transform
+ L -= 6;
+ }
+ }
+
+ stbi__skip(z->s, L);
+ return 1;
+ }
+
+ return stbi__err("unknown marker","Corrupt JPEG");
+}
+
+// after we see SOS
+static int stbi__process_scan_header(stbi__jpeg *z)
+{
+ int i;
+ int Ls = stbi__get16be(z->s);
+ z->scan_n = stbi__get8(z->s);
+ if (z->scan_n < 1 || z->scan_n > 4 || z->scan_n > (int) z->s->img_n) return stbi__err("bad SOS component count","Corrupt JPEG");
+ if (Ls != 6+2*z->scan_n) return stbi__err("bad SOS len","Corrupt JPEG");
+ for (i=0; i < z->scan_n; ++i) {
+ int id = stbi__get8(z->s), which;
+ int q = stbi__get8(z->s);
+ for (which = 0; which < z->s->img_n; ++which)
+ if (z->img_comp[which].id == id)
+ break;
+ if (which == z->s->img_n) return 0; // no match
+ z->img_comp[which].hd = q >> 4; if (z->img_comp[which].hd > 3) return stbi__err("bad DC huff","Corrupt JPEG");
+ z->img_comp[which].ha = q & 15; if (z->img_comp[which].ha > 3) return stbi__err("bad AC huff","Corrupt JPEG");
+ z->order[i] = which;
+ }
+
+ {
+ int aa;
+ z->spec_start = stbi__get8(z->s);
+ z->spec_end = stbi__get8(z->s); // should be 63, but might be 0
+ aa = stbi__get8(z->s);
+ z->succ_high = (aa >> 4);
+ z->succ_low = (aa & 15);
+ if (z->progressive) {
+ if (z->spec_start > 63 || z->spec_end > 63 || z->spec_start > z->spec_end || z->succ_high > 13 || z->succ_low > 13)
+ return stbi__err("bad SOS", "Corrupt JPEG");
+ } else {
+ if (z->spec_start != 0) return stbi__err("bad SOS","Corrupt JPEG");
+ if (z->succ_high != 0 || z->succ_low != 0) return stbi__err("bad SOS","Corrupt JPEG");
+ z->spec_end = 63;
+ }
+ }
+
+ return 1;
+}
+
+static int stbi__free_jpeg_components(stbi__jpeg *z, int ncomp, int why)
+{
+ int i;
+ for (i=0; i < ncomp; ++i) {
+ if (z->img_comp[i].raw_data) {
+ STBI_FREE(z->img_comp[i].raw_data);
+ z->img_comp[i].raw_data = NULL;
+ z->img_comp[i].data = NULL;
+ }
+ if (z->img_comp[i].raw_coeff) {
+ STBI_FREE(z->img_comp[i].raw_coeff);
+ z->img_comp[i].raw_coeff = 0;
+ z->img_comp[i].coeff = 0;
+ }
+ if (z->img_comp[i].linebuf) {
+ STBI_FREE(z->img_comp[i].linebuf);
+ z->img_comp[i].linebuf = NULL;
+ }
+ }
+ return why;
+}
+
+static int stbi__process_frame_header(stbi__jpeg *z, int scan)
+{
+ stbi__context *s = z->s;
+ int Lf,p,i,q, h_max=1,v_max=1,c;
+ Lf = stbi__get16be(s); if (Lf < 11) return stbi__err("bad SOF len","Corrupt JPEG"); // JPEG
+ p = stbi__get8(s); if (p != 8) return stbi__err("only 8-bit","JPEG format not supported: 8-bit only"); // JPEG baseline
+ s->img_y = stbi__get16be(s); if (s->img_y == 0) return stbi__err("no header height", "JPEG format not supported: delayed height"); // Legal, but we don't handle it--but neither does IJG
+ s->img_x = stbi__get16be(s); if (s->img_x == 0) return stbi__err("0 width","Corrupt JPEG"); // JPEG requires
+ if (s->img_y > STBI_MAX_DIMENSIONS) return stbi__err("too large","Very large image (corrupt?)");
+ if (s->img_x > STBI_MAX_DIMENSIONS) return stbi__err("too large","Very large image (corrupt?)");
+ c = stbi__get8(s);
+ if (c != 3 && c != 1 && c != 4) return stbi__err("bad component count","Corrupt JPEG");
+ s->img_n = c;
+ for (i=0; i < c; ++i) {
+ z->img_comp[i].data = NULL;
+ z->img_comp[i].linebuf = NULL;
+ }
+
+ if (Lf != 8+3*s->img_n) return stbi__err("bad SOF len","Corrupt JPEG");
+
+ z->rgb = 0;
+ for (i=0; i < s->img_n; ++i) {
+ static const unsigned char rgb[3] = { 'R', 'G', 'B' };
+ z->img_comp[i].id = stbi__get8(s);
+ if (s->img_n == 3 && z->img_comp[i].id == rgb[i])
+ ++z->rgb;
+ q = stbi__get8(s);
+ z->img_comp[i].h = (q >> 4); if (!z->img_comp[i].h || z->img_comp[i].h > 4) return stbi__err("bad H","Corrupt JPEG");
+ z->img_comp[i].v = q & 15; if (!z->img_comp[i].v || z->img_comp[i].v > 4) return stbi__err("bad V","Corrupt JPEG");
+ z->img_comp[i].tq = stbi__get8(s); if (z->img_comp[i].tq > 3) return stbi__err("bad TQ","Corrupt JPEG");
+ }
+
+ if (scan != STBI__SCAN_load) return 1;
+
+ if (!stbi__mad3sizes_valid(s->img_x, s->img_y, s->img_n, 0)) return stbi__err("too large", "Image too large to decode");
+
+ for (i=0; i < s->img_n; ++i) {
+ if (z->img_comp[i].h > h_max) h_max = z->img_comp[i].h;
+ if (z->img_comp[i].v > v_max) v_max = z->img_comp[i].v;
+ }
+
+ // check that plane subsampling factors are integer ratios; our resamplers can't deal with fractional ratios
+ // and I've never seen a non-corrupted JPEG file actually use them
+ for (i=0; i < s->img_n; ++i) {
+ if (h_max % z->img_comp[i].h != 0) return stbi__err("bad H","Corrupt JPEG");
+ if (v_max % z->img_comp[i].v != 0) return stbi__err("bad V","Corrupt JPEG");
+ }
+
+ // compute interleaved mcu info
+ z->img_h_max = h_max;
+ z->img_v_max = v_max;
+ z->img_mcu_w = h_max * 8;
+ z->img_mcu_h = v_max * 8;
+ // these sizes can't be more than 17 bits
+ z->img_mcu_x = (s->img_x + z->img_mcu_w-1) / z->img_mcu_w;
+ z->img_mcu_y = (s->img_y + z->img_mcu_h-1) / z->img_mcu_h;
+
+ for (i=0; i < s->img_n; ++i) {
+ // number of effective pixels (e.g. for non-interleaved MCU)
+ z->img_comp[i].x = (s->img_x * z->img_comp[i].h + h_max-1) / h_max;
+ z->img_comp[i].y = (s->img_y * z->img_comp[i].v + v_max-1) / v_max;
+ // to simplify generation, we'll allocate enough memory to decode
+ // the bogus oversized data from using interleaved MCUs and their
+ // big blocks (e.g. a 16x16 iMCU on an image of width 33); we won't
+ // discard the extra data until colorspace conversion
+ //
+ // img_mcu_x, img_mcu_y: <=17 bits; comp[i].h and .v are <=4 (checked earlier)
+ // so these muls can't overflow with 32-bit ints (which we require)
+ z->img_comp[i].w2 = z->img_mcu_x * z->img_comp[i].h * 8;
+ z->img_comp[i].h2 = z->img_mcu_y * z->img_comp[i].v * 8;
+ z->img_comp[i].coeff = 0;
+ z->img_comp[i].raw_coeff = 0;
+ z->img_comp[i].linebuf = NULL;
+ z->img_comp[i].raw_data = stbi__malloc_mad2(z->img_comp[i].w2, z->img_comp[i].h2, 15);
+ if (z->img_comp[i].raw_data == NULL)
+ return stbi__free_jpeg_components(z, i+1, stbi__err("outofmem", "Out of memory"));
+ // align blocks for idct using mmx/sse
+ z->img_comp[i].data = (stbi_uc*) (((size_t) z->img_comp[i].raw_data + 15) & ~15);
+ if (z->progressive) {
+ // w2, h2 are multiples of 8 (see above)
+ z->img_comp[i].coeff_w = z->img_comp[i].w2 / 8;
+ z->img_comp[i].coeff_h = z->img_comp[i].h2 / 8;
+ z->img_comp[i].raw_coeff = stbi__malloc_mad3(z->img_comp[i].w2, z->img_comp[i].h2, sizeof(short), 15);
+ if (z->img_comp[i].raw_coeff == NULL)
+ return stbi__free_jpeg_components(z, i+1, stbi__err("outofmem", "Out of memory"));
+ z->img_comp[i].coeff = (short*) (((size_t) z->img_comp[i].raw_coeff + 15) & ~15);
+ }
+ }
+
+ return 1;
+}
+
+// use comparisons since in some cases we handle more than one case (e.g. SOF)
+#define stbi__DNL(x) ((x) == 0xdc)
+#define stbi__SOI(x) ((x) == 0xd8)
+#define stbi__EOI(x) ((x) == 0xd9)
+#define stbi__SOF(x) ((x) == 0xc0 || (x) == 0xc1 || (x) == 0xc2)
+#define stbi__SOS(x) ((x) == 0xda)
+
+#define stbi__SOF_progressive(x) ((x) == 0xc2)
+
+static int stbi__decode_jpeg_header(stbi__jpeg *z, int scan)
+{
+ int m;
+ z->jfif = 0;
+ z->app14_color_transform = -1; // valid values are 0,1,2
+ z->marker = STBI__MARKER_none; // initialize cached marker to empty
+ m = stbi__get_marker(z);
+ if (!stbi__SOI(m)) return stbi__err("no SOI","Corrupt JPEG");
+ if (scan == STBI__SCAN_type) return 1;
+ m = stbi__get_marker(z);
+ while (!stbi__SOF(m)) {
+ if (!stbi__process_marker(z,m)) return 0;
+ m = stbi__get_marker(z);
+ while (m == STBI__MARKER_none) {
+ // some files have extra padding after their blocks, so ok, we'll scan
+ if (stbi__at_eof(z->s)) return stbi__err("no SOF", "Corrupt JPEG");
+ m = stbi__get_marker(z);
+ }
+ }
+ z->progressive = stbi__SOF_progressive(m);
+ if (!stbi__process_frame_header(z, scan)) return 0;
+ return 1;
+}
+
+static int stbi__skip_jpeg_junk_at_end(stbi__jpeg *j)
+{
+ // some JPEGs have junk at end, skip over it but if we find what looks
+ // like a valid marker, resume there
+ while (!stbi__at_eof(j->s)) {
+ int x = stbi__get8(j->s);
+ while (x == 255) { // might be a marker
+ if (stbi__at_eof(j->s)) return STBI__MARKER_none;
+ x = stbi__get8(j->s);
+ if (x != 0x00 && x != 0xff) {
+ // not a stuffed zero or lead-in to another marker, looks
+ // like an actual marker, return it
+ return x;
+ }
+ // stuffed zero has x=0 now which ends the loop, meaning we go
+ // back to regular scan loop.
+ // repeated 0xff keeps trying to read the next byte of the marker.
+ }
+ }
+ return STBI__MARKER_none;
+}
+
+// decode image to YCbCr format
+static int stbi__decode_jpeg_image(stbi__jpeg *j)
+{
+ int m;
+ for (m = 0; m < 4; m++) {
+ j->img_comp[m].raw_data = NULL;
+ j->img_comp[m].raw_coeff = NULL;
+ }
+ j->restart_interval = 0;
+ if (!stbi__decode_jpeg_header(j, STBI__SCAN_load)) return 0;
+ m = stbi__get_marker(j);
+ while (!stbi__EOI(m)) {
+ if (stbi__SOS(m)) {
+ if (!stbi__process_scan_header(j)) return 0;
+ if (!stbi__parse_entropy_coded_data(j)) return 0;
+ if (j->marker == STBI__MARKER_none ) {
+ j->marker = stbi__skip_jpeg_junk_at_end(j);
+ // if we reach eof without hitting a marker, stbi__get_marker() below will fail and we'll eventually return 0
+ }
+ m = stbi__get_marker(j);
+ if (STBI__RESTART(m))
+ m = stbi__get_marker(j);
+ } else if (stbi__DNL(m)) {
+ int Ld = stbi__get16be(j->s);
+ stbi__uint32 NL = stbi__get16be(j->s);
+ if (Ld != 4) return stbi__err("bad DNL len", "Corrupt JPEG");
+ if (NL != j->s->img_y) return stbi__err("bad DNL height", "Corrupt JPEG");
+ m = stbi__get_marker(j);
+ } else {
+ if (!stbi__process_marker(j, m)) return 1;
+ m = stbi__get_marker(j);
+ }
+ }
+ if (j->progressive)
+ stbi__jpeg_finish(j);
+ return 1;
+}
+
+// static jfif-centered resampling (across block boundaries)
+
+typedef stbi_uc *(*resample_row_func)(stbi_uc *out, stbi_uc *in0, stbi_uc *in1,
+ int w, int hs);
+
+#define stbi__div4(x) ((stbi_uc) ((x) >> 2))
+
+static stbi_uc *resample_row_1(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs)
+{
+ STBI_NOTUSED(out);
+ STBI_NOTUSED(in_far);
+ STBI_NOTUSED(w);
+ STBI_NOTUSED(hs);
+ return in_near;
+}
+
+static stbi_uc* stbi__resample_row_v_2(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs)
+{
+ // need to generate two samples vertically for every one in input
+ int i;
+ STBI_NOTUSED(hs);
+ for (i=0; i < w; ++i)
+ out[i] = stbi__div4(3*in_near[i] + in_far[i] + 2);
+ return out;
+}
+
+static stbi_uc* stbi__resample_row_h_2(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs)
+{
+ // need to generate two samples horizontally for every one in input
+ int i;
+ stbi_uc *input = in_near;
+
+ if (w == 1) {
+ // if only one sample, can't do any interpolation
+ out[0] = out[1] = input[0];
+ return out;
+ }
+
+ out[0] = input[0];
+ out[1] = stbi__div4(input[0]*3 + input[1] + 2);
+ for (i=1; i < w-1; ++i) {
+ int n = 3*input[i]+2;
+ out[i*2+0] = stbi__div4(n+input[i-1]);
+ out[i*2+1] = stbi__div4(n+input[i+1]);
+ }
+ out[i*2+0] = stbi__div4(input[w-2]*3 + input[w-1] + 2);
+ out[i*2+1] = input[w-1];
+
+ STBI_NOTUSED(in_far);
+ STBI_NOTUSED(hs);
+
+ return out;
+}
+
+#define stbi__div16(x) ((stbi_uc) ((x) >> 4))
+
+static stbi_uc *stbi__resample_row_hv_2(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs)
+{
+ // need to generate 2x2 samples for every one in input
+ int i,t0,t1;
+ if (w == 1) {
+ out[0] = out[1] = stbi__div4(3*in_near[0] + in_far[0] + 2);
+ return out;
+ }
+
+ t1 = 3*in_near[0] + in_far[0];
+ out[0] = stbi__div4(t1+2);
+ for (i=1; i < w; ++i) {
+ t0 = t1;
+ t1 = 3*in_near[i]+in_far[i];
+ out[i*2-1] = stbi__div16(3*t0 + t1 + 8);
+ out[i*2 ] = stbi__div16(3*t1 + t0 + 8);
+ }
+ out[w*2-1] = stbi__div4(t1+2);
+
+ STBI_NOTUSED(hs);
+
+ return out;
+}
+
+#if defined(STBI_SSE2) || defined(STBI_NEON)
+static stbi_uc *stbi__resample_row_hv_2_simd(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs)
+{
+ // need to generate 2x2 samples for every one in input
+ int i=0,t0,t1;
+
+ if (w == 1) {
+ out[0] = out[1] = stbi__div4(3*in_near[0] + in_far[0] + 2);
+ return out;
+ }
+
+ t1 = 3*in_near[0] + in_far[0];
+ // process groups of 8 pixels for as long as we can.
+ // note we can't handle the last pixel in a row in this loop
+ // because we need to handle the filter boundary conditions.
+ for (; i < ((w-1) & ~7); i += 8) {
+#if defined(STBI_SSE2)
+ // load and perform the vertical filtering pass
+ // this uses 3*x + y = 4*x + (y - x)
+ __m128i zero = _mm_setzero_si128();
+ __m128i farb = _mm_loadl_epi64((__m128i *) (in_far + i));
+ __m128i nearb = _mm_loadl_epi64((__m128i *) (in_near + i));
+ __m128i farw = _mm_unpacklo_epi8(farb, zero);
+ __m128i nearw = _mm_unpacklo_epi8(nearb, zero);
+ __m128i diff = _mm_sub_epi16(farw, nearw);
+ __m128i nears = _mm_slli_epi16(nearw, 2);
+ __m128i curr = _mm_add_epi16(nears, diff); // current row
+
+ // horizontal filter works the same based on shifted vers of current
+ // row. "prev" is current row shifted right by 1 pixel; we need to
+ // insert the previous pixel value (from t1).
+ // "next" is current row shifted left by 1 pixel, with first pixel
+ // of next block of 8 pixels added in.
+ __m128i prv0 = _mm_slli_si128(curr, 2);
+ __m128i nxt0 = _mm_srli_si128(curr, 2);
+ __m128i prev = _mm_insert_epi16(prv0, t1, 0);
+ __m128i next = _mm_insert_epi16(nxt0, 3*in_near[i+8] + in_far[i+8], 7);
+
+ // horizontal filter, polyphase implementation since it's convenient:
+ // even pixels = 3*cur + prev = cur*4 + (prev - cur)
+ // odd pixels = 3*cur + next = cur*4 + (next - cur)
+ // note the shared term.
+ __m128i bias = _mm_set1_epi16(8);
+ __m128i curs = _mm_slli_epi16(curr, 2);
+ __m128i prvd = _mm_sub_epi16(prev, curr);
+ __m128i nxtd = _mm_sub_epi16(next, curr);
+ __m128i curb = _mm_add_epi16(curs, bias);
+ __m128i even = _mm_add_epi16(prvd, curb);
+ __m128i odd = _mm_add_epi16(nxtd, curb);
+
+ // interleave even and odd pixels, then undo scaling.
+ __m128i int0 = _mm_unpacklo_epi16(even, odd);
+ __m128i int1 = _mm_unpackhi_epi16(even, odd);
+ __m128i de0 = _mm_srli_epi16(int0, 4);
+ __m128i de1 = _mm_srli_epi16(int1, 4);
+
+ // pack and write output
+ __m128i outv = _mm_packus_epi16(de0, de1);
+ _mm_storeu_si128((__m128i *) (out + i*2), outv);
+#elif defined(STBI_NEON)
+ // load and perform the vertical filtering pass
+ // this uses 3*x + y = 4*x + (y - x)
+ uint8x8_t farb = vld1_u8(in_far + i);
+ uint8x8_t nearb = vld1_u8(in_near + i);
+ int16x8_t diff = vreinterpretq_s16_u16(vsubl_u8(farb, nearb));
+ int16x8_t nears = vreinterpretq_s16_u16(vshll_n_u8(nearb, 2));
+ int16x8_t curr = vaddq_s16(nears, diff); // current row
+
+ // horizontal filter works the same based on shifted vers of current
+ // row. "prev" is current row shifted right by 1 pixel; we need to
+ // insert the previous pixel value (from t1).
+ // "next" is current row shifted left by 1 pixel, with first pixel
+ // of next block of 8 pixels added in.
+ int16x8_t prv0 = vextq_s16(curr, curr, 7);
+ int16x8_t nxt0 = vextq_s16(curr, curr, 1);
+ int16x8_t prev = vsetq_lane_s16(t1, prv0, 0);
+ int16x8_t next = vsetq_lane_s16(3*in_near[i+8] + in_far[i+8], nxt0, 7);
+
+ // horizontal filter, polyphase implementation since it's convenient:
+ // even pixels = 3*cur + prev = cur*4 + (prev - cur)
+ // odd pixels = 3*cur + next = cur*4 + (next - cur)
+ // note the shared term.
+ int16x8_t curs = vshlq_n_s16(curr, 2);
+ int16x8_t prvd = vsubq_s16(prev, curr);
+ int16x8_t nxtd = vsubq_s16(next, curr);
+ int16x8_t even = vaddq_s16(curs, prvd);
+ int16x8_t odd = vaddq_s16(curs, nxtd);
+
+ // undo scaling and round, then store with even/odd phases interleaved
+ uint8x8x2_t o;
+ o.val[0] = vqrshrun_n_s16(even, 4);
+ o.val[1] = vqrshrun_n_s16(odd, 4);
+ vst2_u8(out + i*2, o);
+#endif
+
+ // "previous" value for next iter
+ t1 = 3*in_near[i+7] + in_far[i+7];
+ }
+
+ t0 = t1;
+ t1 = 3*in_near[i] + in_far[i];
+ out[i*2] = stbi__div16(3*t1 + t0 + 8);
+
+ for (++i; i < w; ++i) {
+ t0 = t1;
+ t1 = 3*in_near[i]+in_far[i];
+ out[i*2-1] = stbi__div16(3*t0 + t1 + 8);
+ out[i*2 ] = stbi__div16(3*t1 + t0 + 8);
+ }
+ out[w*2-1] = stbi__div4(t1+2);
+
+ STBI_NOTUSED(hs);
+
+ return out;
+}
+#endif
+
+static stbi_uc *stbi__resample_row_generic(stbi_uc *out, stbi_uc *in_near, stbi_uc *in_far, int w, int hs)
+{
+ // resample with nearest-neighbor
+ int i,j;
+ STBI_NOTUSED(in_far);
+ for (i=0; i < w; ++i)
+ for (j=0; j < hs; ++j)
+ out[i*hs+j] = in_near[i];
+ return out;
+}
+
+// this is a reduced-precision calculation of YCbCr-to-RGB introduced
+// to make sure the code produces the same results in both SIMD and scalar
+#define stbi__float2fixed(x) (((int) ((x) * 4096.0f + 0.5f)) << 8)
+static void stbi__YCbCr_to_RGB_row(stbi_uc *out, const stbi_uc *y, const stbi_uc *pcb, const stbi_uc *pcr, int count, int step)
+{
+ int i;
+ for (i=0; i < count; ++i) {
+ int y_fixed = (y[i] << 20) + (1<<19); // rounding
+ int r,g,b;
+ int cr = pcr[i] - 128;
+ int cb = pcb[i] - 128;
+ r = y_fixed + cr* stbi__float2fixed(1.40200f);
+ g = y_fixed + (cr*-stbi__float2fixed(0.71414f)) + ((cb*-stbi__float2fixed(0.34414f)) & 0xffff0000);
+ b = y_fixed + cb* stbi__float2fixed(1.77200f);
+ r >>= 20;
+ g >>= 20;
+ b >>= 20;
+ if ((unsigned) r > 255) { if (r < 0) r = 0; else r = 255; }
+ if ((unsigned) g > 255) { if (g < 0) g = 0; else g = 255; }
+ if ((unsigned) b > 255) { if (b < 0) b = 0; else b = 255; }
+ out[0] = (stbi_uc)r;
+ out[1] = (stbi_uc)g;
+ out[2] = (stbi_uc)b;
+ out[3] = 255;
+ out += step;
+ }
+}
+
+#if defined(STBI_SSE2) || defined(STBI_NEON)
+static void stbi__YCbCr_to_RGB_simd(stbi_uc *out, stbi_uc const *y, stbi_uc const *pcb, stbi_uc const *pcr, int count, int step)
+{
+ int i = 0;
+
+#ifdef STBI_SSE2
+ // step == 3 is pretty ugly on the final interleave, and i'm not convinced
+ // it's useful in practice (you wouldn't use it for textures, for example).
+ // so just accelerate step == 4 case.
+ if (step == 4) {
+ // this is a fairly straightforward implementation and not super-optimized.
+ __m128i signflip = _mm_set1_epi8(-0x80);
+ __m128i cr_const0 = _mm_set1_epi16( (short) ( 1.40200f*4096.0f+0.5f));
+ __m128i cr_const1 = _mm_set1_epi16( - (short) ( 0.71414f*4096.0f+0.5f));
+ __m128i cb_const0 = _mm_set1_epi16( - (short) ( 0.34414f*4096.0f+0.5f));
+ __m128i cb_const1 = _mm_set1_epi16( (short) ( 1.77200f*4096.0f+0.5f));
+ __m128i y_bias = _mm_set1_epi8((char) (unsigned char) 128);
+ __m128i xw = _mm_set1_epi16(255); // alpha channel
+
+ for (; i+7 < count; i += 8) {
+ // load
+ __m128i y_bytes = _mm_loadl_epi64((__m128i *) (y+i));
+ __m128i cr_bytes = _mm_loadl_epi64((__m128i *) (pcr+i));
+ __m128i cb_bytes = _mm_loadl_epi64((__m128i *) (pcb+i));
+ __m128i cr_biased = _mm_xor_si128(cr_bytes, signflip); // -128
+ __m128i cb_biased = _mm_xor_si128(cb_bytes, signflip); // -128
+
+ // unpack to short (and left-shift cr, cb by 8)
+ __m128i yw = _mm_unpacklo_epi8(y_bias, y_bytes);
+ __m128i crw = _mm_unpacklo_epi8(_mm_setzero_si128(), cr_biased);
+ __m128i cbw = _mm_unpacklo_epi8(_mm_setzero_si128(), cb_biased);
+
+ // color transform
+ __m128i yws = _mm_srli_epi16(yw, 4);
+ __m128i cr0 = _mm_mulhi_epi16(cr_const0, crw);
+ __m128i cb0 = _mm_mulhi_epi16(cb_const0, cbw);
+ __m128i cb1 = _mm_mulhi_epi16(cbw, cb_const1);
+ __m128i cr1 = _mm_mulhi_epi16(crw, cr_const1);
+ __m128i rws = _mm_add_epi16(cr0, yws);
+ __m128i gwt = _mm_add_epi16(cb0, yws);
+ __m128i bws = _mm_add_epi16(yws, cb1);
+ __m128i gws = _mm_add_epi16(gwt, cr1);
+
+ // descale
+ __m128i rw = _mm_srai_epi16(rws, 4);
+ __m128i bw = _mm_srai_epi16(bws, 4);
+ __m128i gw = _mm_srai_epi16(gws, 4);
+
+ // back to byte, set up for transpose
+ __m128i brb = _mm_packus_epi16(rw, bw);
+ __m128i gxb = _mm_packus_epi16(gw, xw);
+
+ // transpose to interleave channels
+ __m128i t0 = _mm_unpacklo_epi8(brb, gxb);
+ __m128i t1 = _mm_unpackhi_epi8(brb, gxb);
+ __m128i o0 = _mm_unpacklo_epi16(t0, t1);
+ __m128i o1 = _mm_unpackhi_epi16(t0, t1);
+
+ // store
+ _mm_storeu_si128((__m128i *) (out + 0), o0);
+ _mm_storeu_si128((__m128i *) (out + 16), o1);
+ out += 32;
+ }
+ }
+#endif
+
+#ifdef STBI_NEON
+ // in this version, step=3 support would be easy to add. but is there demand?
+ if (step == 4) {
+ // this is a fairly straightforward implementation and not super-optimized.
+ uint8x8_t signflip = vdup_n_u8(0x80);
+ int16x8_t cr_const0 = vdupq_n_s16( (short) ( 1.40200f*4096.0f+0.5f));
+ int16x8_t cr_const1 = vdupq_n_s16( - (short) ( 0.71414f*4096.0f+0.5f));
+ int16x8_t cb_const0 = vdupq_n_s16( - (short) ( 0.34414f*4096.0f+0.5f));
+ int16x8_t cb_const1 = vdupq_n_s16( (short) ( 1.77200f*4096.0f+0.5f));
+
+ for (; i+7 < count; i += 8) {
+ // load
+ uint8x8_t y_bytes = vld1_u8(y + i);
+ uint8x8_t cr_bytes = vld1_u8(pcr + i);
+ uint8x8_t cb_bytes = vld1_u8(pcb + i);
+ int8x8_t cr_biased = vreinterpret_s8_u8(vsub_u8(cr_bytes, signflip));
+ int8x8_t cb_biased = vreinterpret_s8_u8(vsub_u8(cb_bytes, signflip));
+
+ // expand to s16
+ int16x8_t yws = vreinterpretq_s16_u16(vshll_n_u8(y_bytes, 4));
+ int16x8_t crw = vshll_n_s8(cr_biased, 7);
+ int16x8_t cbw = vshll_n_s8(cb_biased, 7);
+
+ // color transform
+ int16x8_t cr0 = vqdmulhq_s16(crw, cr_const0);
+ int16x8_t cb0 = vqdmulhq_s16(cbw, cb_const0);
+ int16x8_t cr1 = vqdmulhq_s16(crw, cr_const1);
+ int16x8_t cb1 = vqdmulhq_s16(cbw, cb_const1);
+ int16x8_t rws = vaddq_s16(yws, cr0);
+ int16x8_t gws = vaddq_s16(vaddq_s16(yws, cb0), cr1);
+ int16x8_t bws = vaddq_s16(yws, cb1);
+
+ // undo scaling, round, convert to byte
+ uint8x8x4_t o;
+ o.val[0] = vqrshrun_n_s16(rws, 4);
+ o.val[1] = vqrshrun_n_s16(gws, 4);
+ o.val[2] = vqrshrun_n_s16(bws, 4);
+ o.val[3] = vdup_n_u8(255);
+
+ // store, interleaving r/g/b/a
+ vst4_u8(out, o);
+ out += 8*4;
+ }
+ }
+#endif
+
+ for (; i < count; ++i) {
+ int y_fixed = (y[i] << 20) + (1<<19); // rounding
+ int r,g,b;
+ int cr = pcr[i] - 128;
+ int cb = pcb[i] - 128;
+ r = y_fixed + cr* stbi__float2fixed(1.40200f);
+ g = y_fixed + cr*-stbi__float2fixed(0.71414f) + ((cb*-stbi__float2fixed(0.34414f)) & 0xffff0000);
+ b = y_fixed + cb* stbi__float2fixed(1.77200f);
+ r >>= 20;
+ g >>= 20;
+ b >>= 20;
+ if ((unsigned) r > 255) { if (r < 0) r = 0; else r = 255; }
+ if ((unsigned) g > 255) { if (g < 0) g = 0; else g = 255; }
+ if ((unsigned) b > 255) { if (b < 0) b = 0; else b = 255; }
+ out[0] = (stbi_uc)r;
+ out[1] = (stbi_uc)g;
+ out[2] = (stbi_uc)b;
+ out[3] = 255;
+ out += step;
+ }
+}
+#endif
+
+// set up the kernels
+static void stbi__setup_jpeg(stbi__jpeg *j)
+{
+ j->idct_block_kernel = stbi__idct_block;
+ j->YCbCr_to_RGB_kernel = stbi__YCbCr_to_RGB_row;
+ j->resample_row_hv_2_kernel = stbi__resample_row_hv_2;
+
+#ifdef STBI_SSE2
+ if (stbi__sse2_available()) {
+ j->idct_block_kernel = stbi__idct_simd;
+ j->YCbCr_to_RGB_kernel = stbi__YCbCr_to_RGB_simd;
+ j->resample_row_hv_2_kernel = stbi__resample_row_hv_2_simd;
+ }
+#endif
+
+#ifdef STBI_NEON
+ j->idct_block_kernel = stbi__idct_simd;
+ j->YCbCr_to_RGB_kernel = stbi__YCbCr_to_RGB_simd;
+ j->resample_row_hv_2_kernel = stbi__resample_row_hv_2_simd;
+#endif
+}
+
+// clean up the temporary component buffers
+static void stbi__cleanup_jpeg(stbi__jpeg *j)
+{
+ stbi__free_jpeg_components(j, j->s->img_n, 0);
+}
+
+typedef struct
+{
+ resample_row_func resample;
+ stbi_uc *line0,*line1;
+ int hs,vs; // expansion factor in each axis
+ int w_lores; // horizontal pixels pre-expansion
+ int ystep; // how far through vertical expansion we are
+ int ypos; // which pre-expansion row we're on
+} stbi__resample;
+
+// fast 0..255 * 0..255 => 0..255 rounded multiplication
+static stbi_uc stbi__blinn_8x8(stbi_uc x, stbi_uc y)
+{
+ unsigned int t = x*y + 128;
+ return (stbi_uc) ((t + (t >>8)) >> 8);
+}
+
+static stbi_uc *load_jpeg_image(stbi__jpeg *z, int *out_x, int *out_y, int *comp, int req_comp)
+{
+ int n, decode_n, is_rgb;
+ z->s->img_n = 0; // make stbi__cleanup_jpeg safe
+
+ // validate req_comp
+ if (req_comp < 0 || req_comp > 4) return stbi__errpuc("bad req_comp", "Internal error");
+
+ // load a jpeg image from whichever source, but leave in YCbCr format
+ if (!stbi__decode_jpeg_image(z)) { stbi__cleanup_jpeg(z); return NULL; }
+
+ // determine actual number of components to generate
+ n = req_comp ? req_comp : z->s->img_n >= 3 ? 3 : 1;
+
+ is_rgb = z->s->img_n == 3 && (z->rgb == 3 || (z->app14_color_transform == 0 && !z->jfif));
+
+ if (z->s->img_n == 3 && n < 3 && !is_rgb)
+ decode_n = 1;
+ else
+ decode_n = z->s->img_n;
+
+ // nothing to do if no components requested; check this now to avoid
+ // accessing uninitialized coutput[0] later
+ if (decode_n <= 0) { stbi__cleanup_jpeg(z); return NULL; }
+
+ // resample and color-convert
+ {
+ int k;
+ unsigned int i,j;
+ stbi_uc *output;
+ stbi_uc *coutput[4] = { NULL, NULL, NULL, NULL };
+
+ stbi__resample res_comp[4];
+
+ for (k=0; k < decode_n; ++k) {
+ stbi__resample *r = &res_comp[k];
+
+ // allocate line buffer big enough for upsampling off the edges
+ // with upsample factor of 4
+ z->img_comp[k].linebuf = (stbi_uc *) stbi__malloc(z->s->img_x + 3);
+ if (!z->img_comp[k].linebuf) { stbi__cleanup_jpeg(z); return stbi__errpuc("outofmem", "Out of memory"); }
+
+ r->hs = z->img_h_max / z->img_comp[k].h;
+ r->vs = z->img_v_max / z->img_comp[k].v;
+ r->ystep = r->vs >> 1;
+ r->w_lores = (z->s->img_x + r->hs-1) / r->hs;
+ r->ypos = 0;
+ r->line0 = r->line1 = z->img_comp[k].data;
+
+ if (r->hs == 1 && r->vs == 1) r->resample = resample_row_1;
+ else if (r->hs == 1 && r->vs == 2) r->resample = stbi__resample_row_v_2;
+ else if (r->hs == 2 && r->vs == 1) r->resample = stbi__resample_row_h_2;
+ else if (r->hs == 2 && r->vs == 2) r->resample = z->resample_row_hv_2_kernel;
+ else r->resample = stbi__resample_row_generic;
+ }
+
+ // can't error after this so, this is safe
+ output = (stbi_uc *) stbi__malloc_mad3(n, z->s->img_x, z->s->img_y, 1);
+ if (!output) { stbi__cleanup_jpeg(z); return stbi__errpuc("outofmem", "Out of memory"); }
+
+ // now go ahead and resample
+ for (j=0; j < z->s->img_y; ++j) {
+ stbi_uc *out = output + n * z->s->img_x * j;
+ for (k=0; k < decode_n; ++k) {
+ stbi__resample *r = &res_comp[k];
+ int y_bot = r->ystep >= (r->vs >> 1);
+ coutput[k] = r->resample(z->img_comp[k].linebuf,
+ y_bot ? r->line1 : r->line0,
+ y_bot ? r->line0 : r->line1,
+ r->w_lores, r->hs);
+ if (++r->ystep >= r->vs) {
+ r->ystep = 0;
+ r->line0 = r->line1;
+ if (++r->ypos < z->img_comp[k].y)
+ r->line1 += z->img_comp[k].w2;
+ }
+ }
+ if (n >= 3) {
+ stbi_uc *y = coutput[0];
+ if (z->s->img_n == 3) {
+ if (is_rgb) {
+ for (i=0; i < z->s->img_x; ++i) {
+ out[0] = y[i];
+ out[1] = coutput[1][i];
+ out[2] = coutput[2][i];
+ out[3] = 255;
+ out += n;
+ }
+ } else {
+ z->YCbCr_to_RGB_kernel(out, y, coutput[1], coutput[2], z->s->img_x, n);
+ }
+ } else if (z->s->img_n == 4) {
+ if (z->app14_color_transform == 0) { // CMYK
+ for (i=0; i < z->s->img_x; ++i) {
+ stbi_uc m = coutput[3][i];
+ out[0] = stbi__blinn_8x8(coutput[0][i], m);
+ out[1] = stbi__blinn_8x8(coutput[1][i], m);
+ out[2] = stbi__blinn_8x8(coutput[2][i], m);
+ out[3] = 255;
+ out += n;
+ }
+ } else if (z->app14_color_transform == 2) { // YCCK
+ z->YCbCr_to_RGB_kernel(out, y, coutput[1], coutput[2], z->s->img_x, n);
+ for (i=0; i < z->s->img_x; ++i) {
+ stbi_uc m = coutput[3][i];
+ out[0] = stbi__blinn_8x8(255 - out[0], m);
+ out[1] = stbi__blinn_8x8(255 - out[1], m);
+ out[2] = stbi__blinn_8x8(255 - out[2], m);
+ out += n;
+ }
+ } else { // YCbCr + alpha? Ignore the fourth channel for now
+ z->YCbCr_to_RGB_kernel(out, y, coutput[1], coutput[2], z->s->img_x, n);
+ }
+ } else
+ for (i=0; i < z->s->img_x; ++i) {
+ out[0] = out[1] = out[2] = y[i];
+ out[3] = 255; // not used if n==3
+ out += n;
+ }
+ } else {
+ if (is_rgb) {
+ if (n == 1)
+ for (i=0; i < z->s->img_x; ++i)
+ *out++ = stbi__compute_y(coutput[0][i], coutput[1][i], coutput[2][i]);
+ else {
+ for (i=0; i < z->s->img_x; ++i, out += 2) {
+ out[0] = stbi__compute_y(coutput[0][i], coutput[1][i], coutput[2][i]);
+ out[1] = 255;
+ }
+ }
+ } else if (z->s->img_n == 4 && z->app14_color_transform == 0) {
+ for (i=0; i < z->s->img_x; ++i) {
+ stbi_uc m = coutput[3][i];
+ stbi_uc r = stbi__blinn_8x8(coutput[0][i], m);
+ stbi_uc g = stbi__blinn_8x8(coutput[1][i], m);
+ stbi_uc b = stbi__blinn_8x8(coutput[2][i], m);
+ out[0] = stbi__compute_y(r, g, b);
+ out[1] = 255;
+ out += n;
+ }
+ } else if (z->s->img_n == 4 && z->app14_color_transform == 2) {
+ for (i=0; i < z->s->img_x; ++i) {
+ out[0] = stbi__blinn_8x8(255 - coutput[0][i], coutput[3][i]);
+ out[1] = 255;
+ out += n;
+ }
+ } else {
+ stbi_uc *y = coutput[0];
+ if (n == 1)
+ for (i=0; i < z->s->img_x; ++i) out[i] = y[i];
+ else
+ for (i=0; i < z->s->img_x; ++i) { *out++ = y[i]; *out++ = 255; }
+ }
+ }
+ }
+ stbi__cleanup_jpeg(z);
+ *out_x = z->s->img_x;
+ *out_y = z->s->img_y;
+ if (comp) *comp = z->s->img_n >= 3 ? 3 : 1; // report original components, not output
+ return output;
+ }
+}
+
+static void *stbi__jpeg_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri)
+{
+ unsigned char* result;
+ stbi__jpeg* j = (stbi__jpeg*) stbi__malloc(sizeof(stbi__jpeg));
+ if (!j) return stbi__errpuc("outofmem", "Out of memory");
+ memset(j, 0, sizeof(stbi__jpeg));
+ STBI_NOTUSED(ri);
+ j->s = s;
+ stbi__setup_jpeg(j);
+ result = load_jpeg_image(j, x,y,comp,req_comp);
+ STBI_FREE(j);
+ return result;
+}
+
+static int stbi__jpeg_test(stbi__context *s)
+{
+ int r;
+ stbi__jpeg* j = (stbi__jpeg*)stbi__malloc(sizeof(stbi__jpeg));
+ if (!j) return stbi__err("outofmem", "Out of memory");
+ memset(j, 0, sizeof(stbi__jpeg));
+ j->s = s;
+ stbi__setup_jpeg(j);
+ r = stbi__decode_jpeg_header(j, STBI__SCAN_type);
+ stbi__rewind(s);
+ STBI_FREE(j);
+ return r;
+}
+
+static int stbi__jpeg_info_raw(stbi__jpeg *j, int *x, int *y, int *comp)
+{
+ if (!stbi__decode_jpeg_header(j, STBI__SCAN_header)) {
+ stbi__rewind( j->s );
+ return 0;
+ }
+ if (x) *x = j->s->img_x;
+ if (y) *y = j->s->img_y;
+ if (comp) *comp = j->s->img_n >= 3 ? 3 : 1;
+ return 1;
+}
+
+static int stbi__jpeg_info(stbi__context *s, int *x, int *y, int *comp)
+{
+ int result;
+ stbi__jpeg* j = (stbi__jpeg*) (stbi__malloc(sizeof(stbi__jpeg)));
+ if (!j) return stbi__err("outofmem", "Out of memory");
+ memset(j, 0, sizeof(stbi__jpeg));
+ j->s = s;
+ result = stbi__jpeg_info_raw(j, x, y, comp);
+ STBI_FREE(j);
+ return result;
+}
+#endif
+
+// public domain zlib decode v0.2 Sean Barrett 2006-11-18
+// simple implementation
+// - all input must be provided in an upfront buffer
+// - all output is written to a single output buffer (can malloc/realloc)
+// performance
+// - fast huffman
+
+#ifndef STBI_NO_ZLIB
+
+// fast-way is faster to check than jpeg huffman, but slow way is slower
+#define STBI__ZFAST_BITS 9 // accelerate all cases in default tables
+#define STBI__ZFAST_MASK ((1 << STBI__ZFAST_BITS) - 1)
+#define STBI__ZNSYMS 288 // number of symbols in literal/length alphabet
+
+// zlib-style huffman encoding
+// (jpegs packs from left, zlib from right, so can't share code)
+typedef struct
+{
+ stbi__uint16 fast[1 << STBI__ZFAST_BITS];
+ stbi__uint16 firstcode[16];
+ int maxcode[17];
+ stbi__uint16 firstsymbol[16];
+ stbi_uc size[STBI__ZNSYMS];
+ stbi__uint16 value[STBI__ZNSYMS];
+} stbi__zhuffman;
+
+stbi_inline static int stbi__bitreverse16(int n)
+{
+ n = ((n & 0xAAAA) >> 1) | ((n & 0x5555) << 1);
+ n = ((n & 0xCCCC) >> 2) | ((n & 0x3333) << 2);
+ n = ((n & 0xF0F0) >> 4) | ((n & 0x0F0F) << 4);
+ n = ((n & 0xFF00) >> 8) | ((n & 0x00FF) << 8);
+ return n;
+}
+
+stbi_inline static int stbi__bit_reverse(int v, int bits)
+{
+ STBI_ASSERT(bits <= 16);
+ // to bit reverse n bits, reverse 16 and shift
+ // e.g. 11 bits, bit reverse and shift away 5
+ return stbi__bitreverse16(v) >> (16-bits);
+}
+
+static int stbi__zbuild_huffman(stbi__zhuffman *z, const stbi_uc *sizelist, int num)
+{
+ int i,k=0;
+ int code, next_code[16], sizes[17];
+
+ // DEFLATE spec for generating codes
+ memset(sizes, 0, sizeof(sizes));
+ memset(z->fast, 0, sizeof(z->fast));
+ for (i=0; i < num; ++i)
+ ++sizes[sizelist[i]];
+ sizes[0] = 0;
+ for (i=1; i < 16; ++i)
+ if (sizes[i] > (1 << i))
+ return stbi__err("bad sizes", "Corrupt PNG");
+ code = 0;
+ for (i=1; i < 16; ++i) {
+ next_code[i] = code;
+ z->firstcode[i] = (stbi__uint16) code;
+ z->firstsymbol[i] = (stbi__uint16) k;
+ code = (code + sizes[i]);
+ if (sizes[i])
+ if (code-1 >= (1 << i)) return stbi__err("bad codelengths","Corrupt PNG");
+ z->maxcode[i] = code << (16-i); // preshift for inner loop
+ code <<= 1;
+ k += sizes[i];
+ }
+ z->maxcode[16] = 0x10000; // sentinel
+ for (i=0; i < num; ++i) {
+ int s = sizelist[i];
+ if (s) {
+ int c = next_code[s] - z->firstcode[s] + z->firstsymbol[s];
+ stbi__uint16 fastv = (stbi__uint16) ((s << 9) | i);
+ z->size [c] = (stbi_uc ) s;
+ z->value[c] = (stbi__uint16) i;
+ if (s <= STBI__ZFAST_BITS) {
+ int j = stbi__bit_reverse(next_code[s],s);
+ while (j < (1 << STBI__ZFAST_BITS)) {
+ z->fast[j] = fastv;
+ j += (1 << s);
+ }
+ }
+ ++next_code[s];
+ }
+ }
+ return 1;
+}
+
+// zlib-from-memory implementation for PNG reading
+// because PNG allows splitting the zlib stream arbitrarily,
+// and it's annoying structurally to have PNG call ZLIB call PNG,
+// we require PNG read all the IDATs and combine them into a single
+// memory buffer
+
+typedef struct
+{
+ stbi_uc *zbuffer, *zbuffer_end;
+ int num_bits;
+ stbi__uint32 code_buffer;
+
+ char *zout;
+ char *zout_start;
+ char *zout_end;
+ int z_expandable;
+
+ stbi__zhuffman z_length, z_distance;
+} stbi__zbuf;
+
+stbi_inline static int stbi__zeof(stbi__zbuf *z)
+{
+ return (z->zbuffer >= z->zbuffer_end);
+}
+
+stbi_inline static stbi_uc stbi__zget8(stbi__zbuf *z)
+{
+ return stbi__zeof(z) ? 0 : *z->zbuffer++;
+}
+
+static void stbi__fill_bits(stbi__zbuf *z)
+{
+ do {
+ if (z->code_buffer >= (1U << z->num_bits)) {
+ z->zbuffer = z->zbuffer_end; /* treat this as EOF so we fail. */
+ return;
+ }
+ z->code_buffer |= (unsigned int) stbi__zget8(z) << z->num_bits;
+ z->num_bits += 8;
+ } while (z->num_bits <= 24);
+}
+
+stbi_inline static unsigned int stbi__zreceive(stbi__zbuf *z, int n)
+{
+ unsigned int k;
+ if (z->num_bits < n) stbi__fill_bits(z);
+ k = z->code_buffer & ((1 << n) - 1);
+ z->code_buffer >>= n;
+ z->num_bits -= n;
+ return k;
+}
+
+static int stbi__zhuffman_decode_slowpath(stbi__zbuf *a, stbi__zhuffman *z)
+{
+ int b,s,k;
+ // not resolved by fast table, so compute it the slow way
+ // use jpeg approach, which requires MSbits at top
+ k = stbi__bit_reverse(a->code_buffer, 16);
+ for (s=STBI__ZFAST_BITS+1; ; ++s)
+ if (k < z->maxcode[s])
+ break;
+ if (s >= 16) return -1; // invalid code!
+ // code size is s, so:
+ b = (k >> (16-s)) - z->firstcode[s] + z->firstsymbol[s];
+ if (b >= STBI__ZNSYMS) return -1; // some data was corrupt somewhere!
+ if (z->size[b] != s) return -1; // was originally an assert, but report failure instead.
+ a->code_buffer >>= s;
+ a->num_bits -= s;
+ return z->value[b];
+}
+
+stbi_inline static int stbi__zhuffman_decode(stbi__zbuf *a, stbi__zhuffman *z)
+{
+ int b,s;
+ if (a->num_bits < 16) {
+ if (stbi__zeof(a)) {
+ return -1; /* report error for unexpected end of data. */
+ }
+ stbi__fill_bits(a);
+ }
+ b = z->fast[a->code_buffer & STBI__ZFAST_MASK];
+ if (b) {
+ s = b >> 9;
+ a->code_buffer >>= s;
+ a->num_bits -= s;
+ return b & 511;
+ }
+ return stbi__zhuffman_decode_slowpath(a, z);
+}
+
+static int stbi__zexpand(stbi__zbuf *z, char *zout, int n) // need to make room for n bytes
+{
+ char *q;
+ unsigned int cur, limit, old_limit;
+ z->zout = zout;
+ if (!z->z_expandable) return stbi__err("output buffer limit","Corrupt PNG");
+ cur = (unsigned int) (z->zout - z->zout_start);
+ limit = old_limit = (unsigned) (z->zout_end - z->zout_start);
+ if (UINT_MAX - cur < (unsigned) n) return stbi__err("outofmem", "Out of memory");
+ while (cur + n > limit) {
+ if(limit > UINT_MAX / 2) return stbi__err("outofmem", "Out of memory");
+ limit *= 2;
+ }
+ q = (char *) STBI_REALLOC_SIZED(z->zout_start, old_limit, limit);
+ STBI_NOTUSED(old_limit);
+ if (q == NULL) return stbi__err("outofmem", "Out of memory");
+ z->zout_start = q;
+ z->zout = q + cur;
+ z->zout_end = q + limit;
+ return 1;
+}
+
+static const int stbi__zlength_base[31] = {
+ 3,4,5,6,7,8,9,10,11,13,
+ 15,17,19,23,27,31,35,43,51,59,
+ 67,83,99,115,131,163,195,227,258,0,0 };
+
+static const int stbi__zlength_extra[31]=
+{ 0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0 };
+
+static const int stbi__zdist_base[32] = { 1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,
+257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0};
+
+static const int stbi__zdist_extra[32] =
+{ 0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13};
+
+static int stbi__parse_huffman_block(stbi__zbuf *a)
+{
+ char *zout = a->zout;
+ for(;;) {
+ int z = stbi__zhuffman_decode(a, &a->z_length);
+ if (z < 256) {
+ if (z < 0) return stbi__err("bad huffman code","Corrupt PNG"); // error in huffman codes
+ if (zout >= a->zout_end) {
+ if (!stbi__zexpand(a, zout, 1)) return 0;
+ zout = a->zout;
+ }
+ *zout++ = (char) z;
+ } else {
+ stbi_uc *p;
+ int len,dist;
+ if (z == 256) {
+ a->zout = zout;
+ return 1;
+ }
+ if (z >= 286) return stbi__err("bad huffman code","Corrupt PNG"); // per DEFLATE, length codes 286 and 287 must not appear in compressed data
+ z -= 257;
+ len = stbi__zlength_base[z];
+ if (stbi__zlength_extra[z]) len += stbi__zreceive(a, stbi__zlength_extra[z]);
+ z = stbi__zhuffman_decode(a, &a->z_distance);
+ if (z < 0 || z >= 30) return stbi__err("bad huffman code","Corrupt PNG"); // per DEFLATE, distance codes 30 and 31 must not appear in compressed data
+ dist = stbi__zdist_base[z];
+ if (stbi__zdist_extra[z]) dist += stbi__zreceive(a, stbi__zdist_extra[z]);
+ if (zout - a->zout_start < dist) return stbi__err("bad dist","Corrupt PNG");
+ if (zout + len > a->zout_end) {
+ if (!stbi__zexpand(a, zout, len)) return 0;
+ zout = a->zout;
+ }
+ p = (stbi_uc *) (zout - dist);
+ if (dist == 1) { // run of one byte; common in images.
+ stbi_uc v = *p;
+ if (len) { do *zout++ = v; while (--len); }
+ } else {
+ if (len) { do *zout++ = *p++; while (--len); }
+ }
+ }
+ }
+}
+
+static int stbi__compute_huffman_codes(stbi__zbuf *a)
+{
+ static const stbi_uc length_dezigzag[19] = { 16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15 };
+ stbi__zhuffman z_codelength;
+ stbi_uc lencodes[286+32+137];//padding for maximum single op
+ stbi_uc codelength_sizes[19];
+ int i,n;
+
+ int hlit = stbi__zreceive(a,5) + 257;
+ int hdist = stbi__zreceive(a,5) + 1;
+ int hclen = stbi__zreceive(a,4) + 4;
+ int ntot = hlit + hdist;
+
+ memset(codelength_sizes, 0, sizeof(codelength_sizes));
+ for (i=0; i < hclen; ++i) {
+ int s = stbi__zreceive(a,3);
+ codelength_sizes[length_dezigzag[i]] = (stbi_uc) s;
+ }
+ if (!stbi__zbuild_huffman(&z_codelength, codelength_sizes, 19)) return 0;
+
+ n = 0;
+ while (n < ntot) {
+ int c = stbi__zhuffman_decode(a, &z_codelength);
+ if (c < 0 || c >= 19) return stbi__err("bad codelengths", "Corrupt PNG");
+ if (c < 16)
+ lencodes[n++] = (stbi_uc) c;
+ else {
+ stbi_uc fill = 0;
+ if (c == 16) {
+ c = stbi__zreceive(a,2)+3;
+ if (n == 0) return stbi__err("bad codelengths", "Corrupt PNG");
+ fill = lencodes[n-1];
+ } else if (c == 17) {
+ c = stbi__zreceive(a,3)+3;
+ } else if (c == 18) {
+ c = stbi__zreceive(a,7)+11;
+ } else {
+ return stbi__err("bad codelengths", "Corrupt PNG");
+ }
+ if (ntot - n < c) return stbi__err("bad codelengths", "Corrupt PNG");
+ memset(lencodes+n, fill, c);
+ n += c;
+ }
+ }
+ if (n != ntot) return stbi__err("bad codelengths","Corrupt PNG");
+ if (!stbi__zbuild_huffman(&a->z_length, lencodes, hlit)) return 0;
+ if (!stbi__zbuild_huffman(&a->z_distance, lencodes+hlit, hdist)) return 0;
+ return 1;
+}
+
+static int stbi__parse_uncompressed_block(stbi__zbuf *a)
+{
+ stbi_uc header[4];
+ int len,nlen,k;
+ if (a->num_bits & 7)
+ stbi__zreceive(a, a->num_bits & 7); // discard
+ // drain the bit-packed data into header
+ k = 0;
+ while (a->num_bits > 0) {
+ header[k++] = (stbi_uc) (a->code_buffer & 255); // suppress MSVC run-time check
+ a->code_buffer >>= 8;
+ a->num_bits -= 8;
+ }
+ if (a->num_bits < 0) return stbi__err("zlib corrupt","Corrupt PNG");
+ // now fill header the normal way
+ while (k < 4)
+ header[k++] = stbi__zget8(a);
+ len = header[1] * 256 + header[0];
+ nlen = header[3] * 256 + header[2];
+ if (nlen != (len ^ 0xffff)) return stbi__err("zlib corrupt","Corrupt PNG");
+ if (a->zbuffer + len > a->zbuffer_end) return stbi__err("read past buffer","Corrupt PNG");
+ if (a->zout + len > a->zout_end)
+ if (!stbi__zexpand(a, a->zout, len)) return 0;
+ memcpy(a->zout, a->zbuffer, len);
+ a->zbuffer += len;
+ a->zout += len;
+ return 1;
+}
+
+static int stbi__parse_zlib_header(stbi__zbuf *a)
+{
+ int cmf = stbi__zget8(a);
+ int cm = cmf & 15;
+ /* int cinfo = cmf >> 4; */
+ int flg = stbi__zget8(a);
+ if (stbi__zeof(a)) return stbi__err("bad zlib header","Corrupt PNG"); // zlib spec
+ if ((cmf*256+flg) % 31 != 0) return stbi__err("bad zlib header","Corrupt PNG"); // zlib spec
+ if (flg & 32) return stbi__err("no preset dict","Corrupt PNG"); // preset dictionary not allowed in png
+ if (cm != 8) return stbi__err("bad compression","Corrupt PNG"); // DEFLATE required for png
+ // window = 1 << (8 + cinfo)... but who cares, we fully buffer output
+ return 1;
+}
+
+static const stbi_uc stbi__zdefault_length[STBI__ZNSYMS] =
+{
+ 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
+ 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
+ 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
+ 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,
+ 8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
+ 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
+ 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
+ 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9, 9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,
+ 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7, 7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8
+};
+static const stbi_uc stbi__zdefault_distance[32] =
+{
+ 5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5
+};
+/*
+Init algorithm:
+{
+ int i; // use <= to match clearly with spec
+ for (i=0; i <= 143; ++i) stbi__zdefault_length[i] = 8;
+ for ( ; i <= 255; ++i) stbi__zdefault_length[i] = 9;
+ for ( ; i <= 279; ++i) stbi__zdefault_length[i] = 7;
+ for ( ; i <= 287; ++i) stbi__zdefault_length[i] = 8;
+
+ for (i=0; i <= 31; ++i) stbi__zdefault_distance[i] = 5;
+}
+*/
+
+static int stbi__parse_zlib(stbi__zbuf *a, int parse_header)
+{
+ int final, type;
+ if (parse_header)
+ if (!stbi__parse_zlib_header(a)) return 0;
+ a->num_bits = 0;
+ a->code_buffer = 0;
+ do {
+ final = stbi__zreceive(a,1);
+ type = stbi__zreceive(a,2);
+ if (type == 0) {
+ if (!stbi__parse_uncompressed_block(a)) return 0;
+ } else if (type == 3) {
+ return 0;
+ } else {
+ if (type == 1) {
+ // use fixed code lengths
+ if (!stbi__zbuild_huffman(&a->z_length , stbi__zdefault_length , STBI__ZNSYMS)) return 0;
+ if (!stbi__zbuild_huffman(&a->z_distance, stbi__zdefault_distance, 32)) return 0;
+ } else {
+ if (!stbi__compute_huffman_codes(a)) return 0;
+ }
+ if (!stbi__parse_huffman_block(a)) return 0;
+ }
+ } while (!final);
+ return 1;
+}
+
+static int stbi__do_zlib(stbi__zbuf *a, char *obuf, int olen, int exp, int parse_header)
+{
+ a->zout_start = obuf;
+ a->zout = obuf;
+ a->zout_end = obuf + olen;
+ a->z_expandable = exp;
+
+ return stbi__parse_zlib(a, parse_header);
+}
+
+STBIDEF char *stbi_zlib_decode_malloc_guesssize(const char *buffer, int len, int initial_size, int *outlen)
+{
+ stbi__zbuf a;
+ char *p = (char *) stbi__malloc(initial_size);
+ if (p == NULL) return NULL;
+ a.zbuffer = (stbi_uc *) buffer;
+ a.zbuffer_end = (stbi_uc *) buffer + len;
+ if (stbi__do_zlib(&a, p, initial_size, 1, 1)) {
+ if (outlen) *outlen = (int) (a.zout - a.zout_start);
+ return a.zout_start;
+ } else {
+ STBI_FREE(a.zout_start);
+ return NULL;
+ }
+}
+
+STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen)
+{
+ return stbi_zlib_decode_malloc_guesssize(buffer, len, 16384, outlen);
+}
+
+STBIDEF char *stbi_zlib_decode_malloc_guesssize_headerflag(const char *buffer, int len, int initial_size, int *outlen, int parse_header)
+{
+ stbi__zbuf a;
+ char *p = (char *) stbi__malloc(initial_size);
+ if (p == NULL) return NULL;
+ a.zbuffer = (stbi_uc *) buffer;
+ a.zbuffer_end = (stbi_uc *) buffer + len;
+ if (stbi__do_zlib(&a, p, initial_size, 1, parse_header)) {
+ if (outlen) *outlen = (int) (a.zout - a.zout_start);
+ return a.zout_start;
+ } else {
+ STBI_FREE(a.zout_start);
+ return NULL;
+ }
+}
+
+STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen)
+{
+ stbi__zbuf a;
+ a.zbuffer = (stbi_uc *) ibuffer;
+ a.zbuffer_end = (stbi_uc *) ibuffer + ilen;
+ if (stbi__do_zlib(&a, obuffer, olen, 0, 1))
+ return (int) (a.zout - a.zout_start);
+ else
+ return -1;
+}
+
+STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen)
+{
+ stbi__zbuf a;
+ char *p = (char *) stbi__malloc(16384);
+ if (p == NULL) return NULL;
+ a.zbuffer = (stbi_uc *) buffer;
+ a.zbuffer_end = (stbi_uc *) buffer+len;
+ if (stbi__do_zlib(&a, p, 16384, 1, 0)) {
+ if (outlen) *outlen = (int) (a.zout - a.zout_start);
+ return a.zout_start;
+ } else {
+ STBI_FREE(a.zout_start);
+ return NULL;
+ }
+}
+
+STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen)
+{
+ stbi__zbuf a;
+ a.zbuffer = (stbi_uc *) ibuffer;
+ a.zbuffer_end = (stbi_uc *) ibuffer + ilen;
+ if (stbi__do_zlib(&a, obuffer, olen, 0, 0))
+ return (int) (a.zout - a.zout_start);
+ else
+ return -1;
+}
+#endif
+
+// public domain "baseline" PNG decoder v0.10 Sean Barrett 2006-11-18
+// simple implementation
+// - only 8-bit samples
+// - no CRC checking
+// - allocates lots of intermediate memory
+// - avoids problem of streaming data between subsystems
+// - avoids explicit window management
+// performance
+// - uses stb_zlib, a PD zlib implementation with fast huffman decoding
+
+#ifndef STBI_NO_PNG
+typedef struct
+{
+ stbi__uint32 length;
+ stbi__uint32 type;
+} stbi__pngchunk;
+
+static stbi__pngchunk stbi__get_chunk_header(stbi__context *s)
+{
+ stbi__pngchunk c;
+ c.length = stbi__get32be(s);
+ c.type = stbi__get32be(s);
+ return c;
+}
+
+static int stbi__check_png_header(stbi__context *s)
+{
+ static const stbi_uc png_sig[8] = { 137,80,78,71,13,10,26,10 };
+ int i;
+ for (i=0; i < 8; ++i)
+ if (stbi__get8(s) != png_sig[i]) return stbi__err("bad png sig","Not a PNG");
+ return 1;
+}
+
+typedef struct
+{
+ stbi__context *s;
+ stbi_uc *idata, *expanded, *out;
+ int depth;
+} stbi__png;
+
+
+enum {
+ STBI__F_none=0,
+ STBI__F_sub=1,
+ STBI__F_up=2,
+ STBI__F_avg=3,
+ STBI__F_paeth=4,
+ // synthetic filters used for first scanline to avoid needing a dummy row of 0s
+ STBI__F_avg_first,
+ STBI__F_paeth_first
+};
+
+static stbi_uc first_row_filter[5] =
+{
+ STBI__F_none,
+ STBI__F_sub,
+ STBI__F_none,
+ STBI__F_avg_first,
+ STBI__F_paeth_first
+};
+
+static int stbi__paeth(int a, int b, int c)
+{
+ int p = a + b - c;
+ int pa = abs(p-a);
+ int pb = abs(p-b);
+ int pc = abs(p-c);
+ if (pa <= pb && pa <= pc) return a;
+ if (pb <= pc) return b;
+ return c;
+}
+
+static const stbi_uc stbi__depth_scale_table[9] = { 0, 0xff, 0x55, 0, 0x11, 0,0,0, 0x01 };
+
+// create the png data from post-deflated data
+static int stbi__create_png_image_raw(stbi__png *a, stbi_uc *raw, stbi__uint32 raw_len, int out_n, stbi__uint32 x, stbi__uint32 y, int depth, int color)
+{
+ int bytes = (depth == 16? 2 : 1);
+ stbi__context *s = a->s;
+ stbi__uint32 i,j,stride = x*out_n*bytes;
+ stbi__uint32 img_len, img_width_bytes;
+ int k;
+ int img_n = s->img_n; // copy it into a local for later
+
+ int output_bytes = out_n*bytes;
+ int filter_bytes = img_n*bytes;
+ int width = x;
+
+ STBI_ASSERT(out_n == s->img_n || out_n == s->img_n+1);
+ a->out = (stbi_uc *) stbi__malloc_mad3(x, y, output_bytes, 0); // extra bytes to write off the end into
+ if (!a->out) return stbi__err("outofmem", "Out of memory");
+
+ if (!stbi__mad3sizes_valid(img_n, x, depth, 7)) return stbi__err("too large", "Corrupt PNG");
+ img_width_bytes = (((img_n * x * depth) + 7) >> 3);
+ img_len = (img_width_bytes + 1) * y;
+
+ // we used to check for exact match between raw_len and img_len on non-interlaced PNGs,
+ // but issue #276 reported a PNG in the wild that had extra data at the end (all zeros),
+ // so just check for raw_len < img_len always.
+ if (raw_len < img_len) return stbi__err("not enough pixels","Corrupt PNG");
+
+ for (j=0; j < y; ++j) {
+ stbi_uc *cur = a->out + stride*j;
+ stbi_uc *prior;
+ int filter = *raw++;
+
+ if (filter > 4)
+ return stbi__err("invalid filter","Corrupt PNG");
+
+ if (depth < 8) {
+ if (img_width_bytes > x) return stbi__err("invalid width","Corrupt PNG");
+ cur += x*out_n - img_width_bytes; // store output to the rightmost img_len bytes, so we can decode in place
+ filter_bytes = 1;
+ width = img_width_bytes;
+ }
+ prior = cur - stride; // bugfix: need to compute this after 'cur +=' computation above
+
+ // if first row, use special filter that doesn't sample previous row
+ if (j == 0) filter = first_row_filter[filter];
+
+ // handle first byte explicitly
+ for (k=0; k < filter_bytes; ++k) {
+ switch (filter) {
+ case STBI__F_none : cur[k] = raw[k]; break;
+ case STBI__F_sub : cur[k] = raw[k]; break;
+ case STBI__F_up : cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break;
+ case STBI__F_avg : cur[k] = STBI__BYTECAST(raw[k] + (prior[k]>>1)); break;
+ case STBI__F_paeth : cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(0,prior[k],0)); break;
+ case STBI__F_avg_first : cur[k] = raw[k]; break;
+ case STBI__F_paeth_first: cur[k] = raw[k]; break;
+ }
+ }
+
+ if (depth == 8) {
+ if (img_n != out_n)
+ cur[img_n] = 255; // first pixel
+ raw += img_n;
+ cur += out_n;
+ prior += out_n;
+ } else if (depth == 16) {
+ if (img_n != out_n) {
+ cur[filter_bytes] = 255; // first pixel top byte
+ cur[filter_bytes+1] = 255; // first pixel bottom byte
+ }
+ raw += filter_bytes;
+ cur += output_bytes;
+ prior += output_bytes;
+ } else {
+ raw += 1;
+ cur += 1;
+ prior += 1;
+ }
+
+ // this is a little gross, so that we don't switch per-pixel or per-component
+ if (depth < 8 || img_n == out_n) {
+ int nk = (width - 1)*filter_bytes;
+ #define STBI__CASE(f) \
+ case f: \
+ for (k=0; k < nk; ++k)
+ switch (filter) {
+ // "none" filter turns into a memcpy here; make that explicit.
+ case STBI__F_none: memcpy(cur, raw, nk); break;
+ STBI__CASE(STBI__F_sub) { cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); } break;
+ STBI__CASE(STBI__F_up) { cur[k] = STBI__BYTECAST(raw[k] + prior[k]); } break;
+ STBI__CASE(STBI__F_avg) { cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); } break;
+ STBI__CASE(STBI__F_paeth) { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); } break;
+ STBI__CASE(STBI__F_avg_first) { cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); } break;
+ STBI__CASE(STBI__F_paeth_first) { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); } break;
+ }
+ #undef STBI__CASE
+ raw += nk;
+ } else {
+ STBI_ASSERT(img_n+1 == out_n);
+ #define STBI__CASE(f) \
+ case f: \
+ for (i=x-1; i >= 1; --i, cur[filter_bytes]=255,raw+=filter_bytes,cur+=output_bytes,prior+=output_bytes) \
+ for (k=0; k < filter_bytes; ++k)
+ switch (filter) {
+ STBI__CASE(STBI__F_none) { cur[k] = raw[k]; } break;
+ STBI__CASE(STBI__F_sub) { cur[k] = STBI__BYTECAST(raw[k] + cur[k- output_bytes]); } break;
+ STBI__CASE(STBI__F_up) { cur[k] = STBI__BYTECAST(raw[k] + prior[k]); } break;
+ STBI__CASE(STBI__F_avg) { cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k- output_bytes])>>1)); } break;
+ STBI__CASE(STBI__F_paeth) { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k- output_bytes],prior[k],prior[k- output_bytes])); } break;
+ STBI__CASE(STBI__F_avg_first) { cur[k] = STBI__BYTECAST(raw[k] + (cur[k- output_bytes] >> 1)); } break;
+ STBI__CASE(STBI__F_paeth_first) { cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k- output_bytes],0,0)); } break;
+ }
+ #undef STBI__CASE
+
+ // the loop above sets the high byte of the pixels' alpha, but for
+ // 16 bit png files we also need the low byte set. we'll do that here.
+ if (depth == 16) {
+ cur = a->out + stride*j; // start at the beginning of the row again
+ for (i=0; i < x; ++i,cur+=output_bytes) {
+ cur[filter_bytes+1] = 255;
+ }
+ }
+ }
+ }
+
+ // we make a separate pass to expand bits to pixels; for performance,
+ // this could run two scanlines behind the above code, so it won't
+ // intefere with filtering but will still be in the cache.
+ if (depth < 8) {
+ for (j=0; j < y; ++j) {
+ stbi_uc *cur = a->out + stride*j;
+ stbi_uc *in = a->out + stride*j + x*out_n - img_width_bytes;
+ // unpack 1/2/4-bit into a 8-bit buffer. allows us to keep the common 8-bit path optimal at minimal cost for 1/2/4-bit
+ // png guarante byte alignment, if width is not multiple of 8/4/2 we'll decode dummy trailing data that will be skipped in the later loop
+ stbi_uc scale = (color == 0) ? stbi__depth_scale_table[depth] : 1; // scale grayscale values to 0..255 range
+
+ // note that the final byte might overshoot and write more data than desired.
+ // we can allocate enough data that this never writes out of memory, but it
+ // could also overwrite the next scanline. can it overwrite non-empty data
+ // on the next scanline? yes, consider 1-pixel-wide scanlines with 1-bit-per-pixel.
+ // so we need to explicitly clamp the final ones
+
+ if (depth == 4) {
+ for (k=x*img_n; k >= 2; k-=2, ++in) {
+ *cur++ = scale * ((*in >> 4) );
+ *cur++ = scale * ((*in ) & 0x0f);
+ }
+ if (k > 0) *cur++ = scale * ((*in >> 4) );
+ } else if (depth == 2) {
+ for (k=x*img_n; k >= 4; k-=4, ++in) {
+ *cur++ = scale * ((*in >> 6) );
+ *cur++ = scale * ((*in >> 4) & 0x03);
+ *cur++ = scale * ((*in >> 2) & 0x03);
+ *cur++ = scale * ((*in ) & 0x03);
+ }
+ if (k > 0) *cur++ = scale * ((*in >> 6) );
+ if (k > 1) *cur++ = scale * ((*in >> 4) & 0x03);
+ if (k > 2) *cur++ = scale * ((*in >> 2) & 0x03);
+ } else if (depth == 1) {
+ for (k=x*img_n; k >= 8; k-=8, ++in) {
+ *cur++ = scale * ((*in >> 7) );
+ *cur++ = scale * ((*in >> 6) & 0x01);
+ *cur++ = scale * ((*in >> 5) & 0x01);
+ *cur++ = scale * ((*in >> 4) & 0x01);
+ *cur++ = scale * ((*in >> 3) & 0x01);
+ *cur++ = scale * ((*in >> 2) & 0x01);
+ *cur++ = scale * ((*in >> 1) & 0x01);
+ *cur++ = scale * ((*in ) & 0x01);
+ }
+ if (k > 0) *cur++ = scale * ((*in >> 7) );
+ if (k > 1) *cur++ = scale * ((*in >> 6) & 0x01);
+ if (k > 2) *cur++ = scale * ((*in >> 5) & 0x01);
+ if (k > 3) *cur++ = scale * ((*in >> 4) & 0x01);
+ if (k > 4) *cur++ = scale * ((*in >> 3) & 0x01);
+ if (k > 5) *cur++ = scale * ((*in >> 2) & 0x01);
+ if (k > 6) *cur++ = scale * ((*in >> 1) & 0x01);
+ }
+ if (img_n != out_n) {
+ int q;
+ // insert alpha = 255
+ cur = a->out + stride*j;
+ if (img_n == 1) {
+ for (q=x-1; q >= 0; --q) {
+ cur[q*2+1] = 255;
+ cur[q*2+0] = cur[q];
+ }
+ } else {
+ STBI_ASSERT(img_n == 3);
+ for (q=x-1; q >= 0; --q) {
+ cur[q*4+3] = 255;
+ cur[q*4+2] = cur[q*3+2];
+ cur[q*4+1] = cur[q*3+1];
+ cur[q*4+0] = cur[q*3+0];
+ }
+ }
+ }
+ }
+ } else if (depth == 16) {
+ // force the image data from big-endian to platform-native.
+ // this is done in a separate pass due to the decoding relying
+ // on the data being untouched, but could probably be done
+ // per-line during decode if care is taken.
+ stbi_uc *cur = a->out;
+ stbi__uint16 *cur16 = (stbi__uint16*)cur;
+
+ for(i=0; i < x*y*out_n; ++i,cur16++,cur+=2) {
+ *cur16 = (cur[0] << 8) | cur[1];
+ }
+ }
+
+ return 1;
+}
+
+static int stbi__create_png_image(stbi__png *a, stbi_uc *image_data, stbi__uint32 image_data_len, int out_n, int depth, int color, int interlaced)
+{
+ int bytes = (depth == 16 ? 2 : 1);
+ int out_bytes = out_n * bytes;
+ stbi_uc *final;
+ int p;
+ if (!interlaced)
+ return stbi__create_png_image_raw(a, image_data, image_data_len, out_n, a->s->img_x, a->s->img_y, depth, color);
+
+ // de-interlacing
+ final = (stbi_uc *) stbi__malloc_mad3(a->s->img_x, a->s->img_y, out_bytes, 0);
+ if (!final) return stbi__err("outofmem", "Out of memory");
+ for (p=0; p < 7; ++p) {
+ int xorig[] = { 0,4,0,2,0,1,0 };
+ int yorig[] = { 0,0,4,0,2,0,1 };
+ int xspc[] = { 8,8,4,4,2,2,1 };
+ int yspc[] = { 8,8,8,4,4,2,2 };
+ int i,j,x,y;
+ // pass1_x[4] = 0, pass1_x[5] = 1, pass1_x[12] = 1
+ x = (a->s->img_x - xorig[p] + xspc[p]-1) / xspc[p];
+ y = (a->s->img_y - yorig[p] + yspc[p]-1) / yspc[p];
+ if (x && y) {
+ stbi__uint32 img_len = ((((a->s->img_n * x * depth) + 7) >> 3) + 1) * y;
+ if (!stbi__create_png_image_raw(a, image_data, image_data_len, out_n, x, y, depth, color)) {
+ STBI_FREE(final);
+ return 0;
+ }
+ for (j=0; j < y; ++j) {
+ for (i=0; i < x; ++i) {
+ int out_y = j*yspc[p]+yorig[p];
+ int out_x = i*xspc[p]+xorig[p];
+ memcpy(final + out_y*a->s->img_x*out_bytes + out_x*out_bytes,
+ a->out + (j*x+i)*out_bytes, out_bytes);
+ }
+ }
+ STBI_FREE(a->out);
+ image_data += img_len;
+ image_data_len -= img_len;
+ }
+ }
+ a->out = final;
+
+ return 1;
+}
+
+static int stbi__compute_transparency(stbi__png *z, stbi_uc tc[3], int out_n)
+{
+ stbi__context *s = z->s;
+ stbi__uint32 i, pixel_count = s->img_x * s->img_y;
+ stbi_uc *p = z->out;
+
+ // compute color-based transparency, assuming we've
+ // already got 255 as the alpha value in the output
+ STBI_ASSERT(out_n == 2 || out_n == 4);
+
+ if (out_n == 2) {
+ for (i=0; i < pixel_count; ++i) {
+ p[1] = (p[0] == tc[0] ? 0 : 255);
+ p += 2;
+ }
+ } else {
+ for (i=0; i < pixel_count; ++i) {
+ if (p[0] == tc[0] && p[1] == tc[1] && p[2] == tc[2])
+ p[3] = 0;
+ p += 4;
+ }
+ }
+ return 1;
+}
+
+static int stbi__compute_transparency16(stbi__png *z, stbi__uint16 tc[3], int out_n)
+{
+ stbi__context *s = z->s;
+ stbi__uint32 i, pixel_count = s->img_x * s->img_y;
+ stbi__uint16 *p = (stbi__uint16*) z->out;
+
+ // compute color-based transparency, assuming we've
+ // already got 65535 as the alpha value in the output
+ STBI_ASSERT(out_n == 2 || out_n == 4);
+
+ if (out_n == 2) {
+ for (i = 0; i < pixel_count; ++i) {
+ p[1] = (p[0] == tc[0] ? 0 : 65535);
+ p += 2;
+ }
+ } else {
+ for (i = 0; i < pixel_count; ++i) {
+ if (p[0] == tc[0] && p[1] == tc[1] && p[2] == tc[2])
+ p[3] = 0;
+ p += 4;
+ }
+ }
+ return 1;
+}
+
+static int stbi__expand_png_palette(stbi__png *a, stbi_uc *palette, int len, int pal_img_n)
+{
+ stbi__uint32 i, pixel_count = a->s->img_x * a->s->img_y;
+ stbi_uc *p, *temp_out, *orig = a->out;
+
+ p = (stbi_uc *) stbi__malloc_mad2(pixel_count, pal_img_n, 0);
+ if (p == NULL) return stbi__err("outofmem", "Out of memory");
+
+ // between here and free(out) below, exitting would leak
+ temp_out = p;
+
+ if (pal_img_n == 3) {
+ for (i=0; i < pixel_count; ++i) {
+ int n = orig[i]*4;
+ p[0] = palette[n ];
+ p[1] = palette[n+1];
+ p[2] = palette[n+2];
+ p += 3;
+ }
+ } else {
+ for (i=0; i < pixel_count; ++i) {
+ int n = orig[i]*4;
+ p[0] = palette[n ];
+ p[1] = palette[n+1];
+ p[2] = palette[n+2];
+ p[3] = palette[n+3];
+ p += 4;
+ }
+ }
+ STBI_FREE(a->out);
+ a->out = temp_out;
+
+ STBI_NOTUSED(len);
+
+ return 1;
+}
+
+static int stbi__unpremultiply_on_load_global = 0;
+static int stbi__de_iphone_flag_global = 0;
+
+STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply)
+{
+ stbi__unpremultiply_on_load_global = flag_true_if_should_unpremultiply;
+}
+
+STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert)
+{
+ stbi__de_iphone_flag_global = flag_true_if_should_convert;
+}
+
+#ifndef STBI_THREAD_LOCAL
+#define stbi__unpremultiply_on_load stbi__unpremultiply_on_load_global
+#define stbi__de_iphone_flag stbi__de_iphone_flag_global
+#else
+static STBI_THREAD_LOCAL int stbi__unpremultiply_on_load_local, stbi__unpremultiply_on_load_set;
+static STBI_THREAD_LOCAL int stbi__de_iphone_flag_local, stbi__de_iphone_flag_set;
+
+STBIDEF void stbi_set_unpremultiply_on_load_thread(int flag_true_if_should_unpremultiply)
+{
+ stbi__unpremultiply_on_load_local = flag_true_if_should_unpremultiply;
+ stbi__unpremultiply_on_load_set = 1;
+}
+
+STBIDEF void stbi_convert_iphone_png_to_rgb_thread(int flag_true_if_should_convert)
+{
+ stbi__de_iphone_flag_local = flag_true_if_should_convert;
+ stbi__de_iphone_flag_set = 1;
+}
+
+#define stbi__unpremultiply_on_load (stbi__unpremultiply_on_load_set \
+ ? stbi__unpremultiply_on_load_local \
+ : stbi__unpremultiply_on_load_global)
+#define stbi__de_iphone_flag (stbi__de_iphone_flag_set \
+ ? stbi__de_iphone_flag_local \
+ : stbi__de_iphone_flag_global)
+#endif // STBI_THREAD_LOCAL
+
+static void stbi__de_iphone(stbi__png *z)
+{
+ stbi__context *s = z->s;
+ stbi__uint32 i, pixel_count = s->img_x * s->img_y;
+ stbi_uc *p = z->out;
+
+ if (s->img_out_n == 3) { // convert bgr to rgb
+ for (i=0; i < pixel_count; ++i) {
+ stbi_uc t = p[0];
+ p[0] = p[2];
+ p[2] = t;
+ p += 3;
+ }
+ } else {
+ STBI_ASSERT(s->img_out_n == 4);
+ if (stbi__unpremultiply_on_load) {
+ // convert bgr to rgb and unpremultiply
+ for (i=0; i < pixel_count; ++i) {
+ stbi_uc a = p[3];
+ stbi_uc t = p[0];
+ if (a) {
+ stbi_uc half = a / 2;
+ p[0] = (p[2] * 255 + half) / a;
+ p[1] = (p[1] * 255 + half) / a;
+ p[2] = ( t * 255 + half) / a;
+ } else {
+ p[0] = p[2];
+ p[2] = t;
+ }
+ p += 4;
+ }
+ } else {
+ // convert bgr to rgb
+ for (i=0; i < pixel_count; ++i) {
+ stbi_uc t = p[0];
+ p[0] = p[2];
+ p[2] = t;
+ p += 4;
+ }
+ }
+ }
+}
+
+#define STBI__PNG_TYPE(a,b,c,d) (((unsigned) (a) << 24) + ((unsigned) (b) << 16) + ((unsigned) (c) << 8) + (unsigned) (d))
+
+static int stbi__parse_png_file(stbi__png *z, int scan, int req_comp)
+{
+ stbi_uc palette[1024], pal_img_n=0;
+ stbi_uc has_trans=0, tc[3]={0};
+ stbi__uint16 tc16[3];
+ stbi__uint32 ioff=0, idata_limit=0, i, pal_len=0;
+ int first=1,k,interlace=0, color=0, is_iphone=0;
+ stbi__context *s = z->s;
+
+ z->expanded = NULL;
+ z->idata = NULL;
+ z->out = NULL;
+
+ if (!stbi__check_png_header(s)) return 0;
+
+ if (scan == STBI__SCAN_type) return 1;
+
+ for (;;) {
+ stbi__pngchunk c = stbi__get_chunk_header(s);
+ switch (c.type) {
+ case STBI__PNG_TYPE('C','g','B','I'):
+ is_iphone = 1;
+ stbi__skip(s, c.length);
+ break;
+ case STBI__PNG_TYPE('I','H','D','R'): {
+ int comp,filter;
+ if (!first) return stbi__err("multiple IHDR","Corrupt PNG");
+ first = 0;
+ if (c.length != 13) return stbi__err("bad IHDR len","Corrupt PNG");
+ s->img_x = stbi__get32be(s);
+ s->img_y = stbi__get32be(s);
+ if (s->img_y > STBI_MAX_DIMENSIONS) return stbi__err("too large","Very large image (corrupt?)");
+ if (s->img_x > STBI_MAX_DIMENSIONS) return stbi__err("too large","Very large image (corrupt?)");
+ z->depth = stbi__get8(s); if (z->depth != 1 && z->depth != 2 && z->depth != 4 && z->depth != 8 && z->depth != 16) return stbi__err("1/2/4/8/16-bit only","PNG not supported: 1/2/4/8/16-bit only");
+ color = stbi__get8(s); if (color > 6) return stbi__err("bad ctype","Corrupt PNG");
+ if (color == 3 && z->depth == 16) return stbi__err("bad ctype","Corrupt PNG");
+ if (color == 3) pal_img_n = 3; else if (color & 1) return stbi__err("bad ctype","Corrupt PNG");
+ comp = stbi__get8(s); if (comp) return stbi__err("bad comp method","Corrupt PNG");
+ filter= stbi__get8(s); if (filter) return stbi__err("bad filter method","Corrupt PNG");
+ interlace = stbi__get8(s); if (interlace>1) return stbi__err("bad interlace method","Corrupt PNG");
+ if (!s->img_x || !s->img_y) return stbi__err("0-pixel image","Corrupt PNG");
+ if (!pal_img_n) {
+ s->img_n = (color & 2 ? 3 : 1) + (color & 4 ? 1 : 0);
+ if ((1 << 30) / s->img_x / s->img_n < s->img_y) return stbi__err("too large", "Image too large to decode");
+ } else {
+ // if paletted, then pal_n is our final components, and
+ // img_n is # components to decompress/filter.
+ s->img_n = 1;
+ if ((1 << 30) / s->img_x / 4 < s->img_y) return stbi__err("too large","Corrupt PNG");
+ }
+ // even with SCAN_header, have to scan to see if we have a tRNS
+ break;
+ }
+
+ case STBI__PNG_TYPE('P','L','T','E'): {
+ if (first) return stbi__err("first not IHDR", "Corrupt PNG");
+ if (c.length > 256*3) return stbi__err("invalid PLTE","Corrupt PNG");
+ pal_len = c.length / 3;
+ if (pal_len * 3 != c.length) return stbi__err("invalid PLTE","Corrupt PNG");
+ for (i=0; i < pal_len; ++i) {
+ palette[i*4+0] = stbi__get8(s);
+ palette[i*4+1] = stbi__get8(s);
+ palette[i*4+2] = stbi__get8(s);
+ palette[i*4+3] = 255;
+ }
+ break;
+ }
+
+ case STBI__PNG_TYPE('t','R','N','S'): {
+ if (first) return stbi__err("first not IHDR", "Corrupt PNG");
+ if (z->idata) return stbi__err("tRNS after IDAT","Corrupt PNG");
+ if (pal_img_n) {
+ if (scan == STBI__SCAN_header) { s->img_n = 4; return 1; }
+ if (pal_len == 0) return stbi__err("tRNS before PLTE","Corrupt PNG");
+ if (c.length > pal_len) return stbi__err("bad tRNS len","Corrupt PNG");
+ pal_img_n = 4;
+ for (i=0; i < c.length; ++i)
+ palette[i*4+3] = stbi__get8(s);
+ } else {
+ if (!(s->img_n & 1)) return stbi__err("tRNS with alpha","Corrupt PNG");
+ if (c.length != (stbi__uint32) s->img_n*2) return stbi__err("bad tRNS len","Corrupt PNG");
+ has_trans = 1;
+ // non-paletted with tRNS = constant alpha. if header-scanning, we can stop now.
+ if (scan == STBI__SCAN_header) { ++s->img_n; return 1; }
+ if (z->depth == 16) {
+ for (k = 0; k < s->img_n; ++k) tc16[k] = (stbi__uint16)stbi__get16be(s); // copy the values as-is
+ } else {
+ for (k = 0; k < s->img_n; ++k) tc[k] = (stbi_uc)(stbi__get16be(s) & 255) * stbi__depth_scale_table[z->depth]; // non 8-bit images will be larger
+ }
+ }
+ break;
+ }
+
+ case STBI__PNG_TYPE('I','D','A','T'): {
+ if (first) return stbi__err("first not IHDR", "Corrupt PNG");
+ if (pal_img_n && !pal_len) return stbi__err("no PLTE","Corrupt PNG");
+ if (scan == STBI__SCAN_header) {
+ // header scan definitely stops at first IDAT
+ if (pal_img_n)
+ s->img_n = pal_img_n;
+ return 1;
+ }
+ if (c.length > (1u << 30)) return stbi__err("IDAT size limit", "IDAT section larger than 2^30 bytes");
+ if ((int)(ioff + c.length) < (int)ioff) return 0;
+ if (ioff + c.length > idata_limit) {
+ stbi__uint32 idata_limit_old = idata_limit;
+ stbi_uc *p;
+ if (idata_limit == 0) idata_limit = c.length > 4096 ? c.length : 4096;
+ while (ioff + c.length > idata_limit)
+ idata_limit *= 2;
+ STBI_NOTUSED(idata_limit_old);
+ p = (stbi_uc *) STBI_REALLOC_SIZED(z->idata, idata_limit_old, idata_limit); if (p == NULL) return stbi__err("outofmem", "Out of memory");
+ z->idata = p;
+ }
+ if (!stbi__getn(s, z->idata+ioff,c.length)) return stbi__err("outofdata","Corrupt PNG");
+ ioff += c.length;
+ break;
+ }
+
+ case STBI__PNG_TYPE('I','E','N','D'): {
+ stbi__uint32 raw_len, bpl;
+ if (first) return stbi__err("first not IHDR", "Corrupt PNG");
+ if (scan != STBI__SCAN_load) return 1;
+ if (z->idata == NULL) return stbi__err("no IDAT","Corrupt PNG");
+ // initial guess for decoded data size to avoid unnecessary reallocs
+ bpl = (s->img_x * z->depth + 7) / 8; // bytes per line, per component
+ raw_len = bpl * s->img_y * s->img_n /* pixels */ + s->img_y /* filter mode per row */;
+ z->expanded = (stbi_uc *) stbi_zlib_decode_malloc_guesssize_headerflag((char *) z->idata, ioff, raw_len, (int *) &raw_len, !is_iphone);
+ if (z->expanded == NULL) return 0; // zlib should set error
+ STBI_FREE(z->idata); z->idata = NULL;
+ if ((req_comp == s->img_n+1 && req_comp != 3 && !pal_img_n) || has_trans)
+ s->img_out_n = s->img_n+1;
+ else
+ s->img_out_n = s->img_n;
+ if (!stbi__create_png_image(z, z->expanded, raw_len, s->img_out_n, z->depth, color, interlace)) return 0;
+ if (has_trans) {
+ if (z->depth == 16) {
+ if (!stbi__compute_transparency16(z, tc16, s->img_out_n)) return 0;
+ } else {
+ if (!stbi__compute_transparency(z, tc, s->img_out_n)) return 0;
+ }
+ }
+ if (is_iphone && stbi__de_iphone_flag && s->img_out_n > 2)
+ stbi__de_iphone(z);
+ if (pal_img_n) {
+ // pal_img_n == 3 or 4
+ s->img_n = pal_img_n; // record the actual colors we had
+ s->img_out_n = pal_img_n;
+ if (req_comp >= 3) s->img_out_n = req_comp;
+ if (!stbi__expand_png_palette(z, palette, pal_len, s->img_out_n))
+ return 0;
+ } else if (has_trans) {
+ // non-paletted image with tRNS -> source image has (constant) alpha
+ ++s->img_n;
+ }
+ STBI_FREE(z->expanded); z->expanded = NULL;
+ // end of PNG chunk, read and skip CRC
+ stbi__get32be(s);
+ return 1;
+ }
+
+ default:
+ // if critical, fail
+ if (first) return stbi__err("first not IHDR", "Corrupt PNG");
+ if ((c.type & (1 << 29)) == 0) {
+ #ifndef STBI_NO_FAILURE_STRINGS
+ // not threadsafe
+ static char invalid_chunk[] = "XXXX PNG chunk not known";
+ invalid_chunk[0] = STBI__BYTECAST(c.type >> 24);
+ invalid_chunk[1] = STBI__BYTECAST(c.type >> 16);
+ invalid_chunk[2] = STBI__BYTECAST(c.type >> 8);
+ invalid_chunk[3] = STBI__BYTECAST(c.type >> 0);
+ #endif
+ return stbi__err(invalid_chunk, "PNG not supported: unknown PNG chunk type");
+ }
+ stbi__skip(s, c.length);
+ break;
+ }
+ // end of PNG chunk, read and skip CRC
+ stbi__get32be(s);
+ }
+}
+
+static void *stbi__do_png(stbi__png *p, int *x, int *y, int *n, int req_comp, stbi__result_info *ri)
+{
+ void *result=NULL;
+ if (req_comp < 0 || req_comp > 4) return stbi__errpuc("bad req_comp", "Internal error");
+ if (stbi__parse_png_file(p, STBI__SCAN_load, req_comp)) {
+ if (p->depth <= 8)
+ ri->bits_per_channel = 8;
+ else if (p->depth == 16)
+ ri->bits_per_channel = 16;
+ else
+ return stbi__errpuc("bad bits_per_channel", "PNG not supported: unsupported color depth");
+ result = p->out;
+ p->out = NULL;
+ if (req_comp && req_comp != p->s->img_out_n) {
+ if (ri->bits_per_channel == 8)
+ result = stbi__convert_format((unsigned char *) result, p->s->img_out_n, req_comp, p->s->img_x, p->s->img_y);
+ else
+ result = stbi__convert_format16((stbi__uint16 *) result, p->s->img_out_n, req_comp, p->s->img_x, p->s->img_y);
+ p->s->img_out_n = req_comp;
+ if (result == NULL) return result;
+ }
+ *x = p->s->img_x;
+ *y = p->s->img_y;
+ if (n) *n = p->s->img_n;
+ }
+ STBI_FREE(p->out); p->out = NULL;
+ STBI_FREE(p->expanded); p->expanded = NULL;
+ STBI_FREE(p->idata); p->idata = NULL;
+
+ return result;
+}
+
+static void *stbi__png_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri)
+{
+ stbi__png p;
+ p.s = s;
+ return stbi__do_png(&p, x,y,comp,req_comp, ri);
+}
+
+static int stbi__png_test(stbi__context *s)
+{
+ int r;
+ r = stbi__check_png_header(s);
+ stbi__rewind(s);
+ return r;
+}
+
+static int stbi__png_info_raw(stbi__png *p, int *x, int *y, int *comp)
+{
+ if (!stbi__parse_png_file(p, STBI__SCAN_header, 0)) {
+ stbi__rewind( p->s );
+ return 0;
+ }
+ if (x) *x = p->s->img_x;
+ if (y) *y = p->s->img_y;
+ if (comp) *comp = p->s->img_n;
+ return 1;
+}
+
+static int stbi__png_info(stbi__context *s, int *x, int *y, int *comp)
+{
+ stbi__png p;
+ p.s = s;
+ return stbi__png_info_raw(&p, x, y, comp);
+}
+
+static int stbi__png_is16(stbi__context *s)
+{
+ stbi__png p;
+ p.s = s;
+ if (!stbi__png_info_raw(&p, NULL, NULL, NULL))
+ return 0;
+ if (p.depth != 16) {
+ stbi__rewind(p.s);
+ return 0;
+ }
+ return 1;
+}
+#endif
+
+// Microsoft/Windows BMP image
+
+#ifndef STBI_NO_BMP
+static int stbi__bmp_test_raw(stbi__context *s)
+{
+ int r;
+ int sz;
+ if (stbi__get8(s) != 'B') return 0;
+ if (stbi__get8(s) != 'M') return 0;
+ stbi__get32le(s); // discard filesize
+ stbi__get16le(s); // discard reserved
+ stbi__get16le(s); // discard reserved
+ stbi__get32le(s); // discard data offset
+ sz = stbi__get32le(s);
+ r = (sz == 12 || sz == 40 || sz == 56 || sz == 108 || sz == 124);
+ return r;
+}
+
+static int stbi__bmp_test(stbi__context *s)
+{
+ int r = stbi__bmp_test_raw(s);
+ stbi__rewind(s);
+ return r;
+}
+
+
+// returns 0..31 for the highest set bit
+static int stbi__high_bit(unsigned int z)
+{
+ int n=0;
+ if (z == 0) return -1;
+ if (z >= 0x10000) { n += 16; z >>= 16; }
+ if (z >= 0x00100) { n += 8; z >>= 8; }
+ if (z >= 0x00010) { n += 4; z >>= 4; }
+ if (z >= 0x00004) { n += 2; z >>= 2; }
+ if (z >= 0x00002) { n += 1;/* >>= 1;*/ }
+ return n;
+}
+
+static int stbi__bitcount(unsigned int a)
+{
+ a = (a & 0x55555555) + ((a >> 1) & 0x55555555); // max 2
+ a = (a & 0x33333333) + ((a >> 2) & 0x33333333); // max 4
+ a = (a + (a >> 4)) & 0x0f0f0f0f; // max 8 per 4, now 8 bits
+ a = (a + (a >> 8)); // max 16 per 8 bits
+ a = (a + (a >> 16)); // max 32 per 8 bits
+ return a & 0xff;
+}
+
+// extract an arbitrarily-aligned N-bit value (N=bits)
+// from v, and then make it 8-bits long and fractionally
+// extend it to full full range.
+static int stbi__shiftsigned(unsigned int v, int shift, int bits)
+{
+ static unsigned int mul_table[9] = {
+ 0,
+ 0xff/*0b11111111*/, 0x55/*0b01010101*/, 0x49/*0b01001001*/, 0x11/*0b00010001*/,
+ 0x21/*0b00100001*/, 0x41/*0b01000001*/, 0x81/*0b10000001*/, 0x01/*0b00000001*/,
+ };
+ static unsigned int shift_table[9] = {
+ 0, 0,0,1,0,2,4,6,0,
+ };
+ if (shift < 0)
+ v <<= -shift;
+ else
+ v >>= shift;
+ STBI_ASSERT(v < 256);
+ v >>= (8-bits);
+ STBI_ASSERT(bits >= 0 && bits <= 8);
+ return (int) ((unsigned) v * mul_table[bits]) >> shift_table[bits];
+}
+
+typedef struct
+{
+ int bpp, offset, hsz;
+ unsigned int mr,mg,mb,ma, all_a;
+ int extra_read;
+} stbi__bmp_data;
+
+static int stbi__bmp_set_mask_defaults(stbi__bmp_data *info, int compress)
+{
+ // BI_BITFIELDS specifies masks explicitly, don't override
+ if (compress == 3)
+ return 1;
+
+ if (compress == 0) {
+ if (info->bpp == 16) {
+ info->mr = 31u << 10;
+ info->mg = 31u << 5;
+ info->mb = 31u << 0;
+ } else if (info->bpp == 32) {
+ info->mr = 0xffu << 16;
+ info->mg = 0xffu << 8;
+ info->mb = 0xffu << 0;
+ info->ma = 0xffu << 24;
+ info->all_a = 0; // if all_a is 0 at end, then we loaded alpha channel but it was all 0
+ } else {
+ // otherwise, use defaults, which is all-0
+ info->mr = info->mg = info->mb = info->ma = 0;
+ }
+ return 1;
+ }
+ return 0; // error
+}
+
+static void *stbi__bmp_parse_header(stbi__context *s, stbi__bmp_data *info)
+{
+ int hsz;
+ if (stbi__get8(s) != 'B' || stbi__get8(s) != 'M') return stbi__errpuc("not BMP", "Corrupt BMP");
+ stbi__get32le(s); // discard filesize
+ stbi__get16le(s); // discard reserved
+ stbi__get16le(s); // discard reserved
+ info->offset = stbi__get32le(s);
+ info->hsz = hsz = stbi__get32le(s);
+ info->mr = info->mg = info->mb = info->ma = 0;
+ info->extra_read = 14;
+
+ if (info->offset < 0) return stbi__errpuc("bad BMP", "bad BMP");
+
+ if (hsz != 12 && hsz != 40 && hsz != 56 && hsz != 108 && hsz != 124) return stbi__errpuc("unknown BMP", "BMP type not supported: unknown");
+ if (hsz == 12) {
+ s->img_x = stbi__get16le(s);
+ s->img_y = stbi__get16le(s);
+ } else {
+ s->img_x = stbi__get32le(s);
+ s->img_y = stbi__get32le(s);
+ }
+ if (stbi__get16le(s) != 1) return stbi__errpuc("bad BMP", "bad BMP");
+ info->bpp = stbi__get16le(s);
+ if (hsz != 12) {
+ int compress = stbi__get32le(s);
+ if (compress == 1 || compress == 2) return stbi__errpuc("BMP RLE", "BMP type not supported: RLE");
+ if (compress >= 4) return stbi__errpuc("BMP JPEG/PNG", "BMP type not supported: unsupported compression"); // this includes PNG/JPEG modes
+ if (compress == 3 && info->bpp != 16 && info->bpp != 32) return stbi__errpuc("bad BMP", "bad BMP"); // bitfields requires 16 or 32 bits/pixel
+ stbi__get32le(s); // discard sizeof
+ stbi__get32le(s); // discard hres
+ stbi__get32le(s); // discard vres
+ stbi__get32le(s); // discard colorsused
+ stbi__get32le(s); // discard max important
+ if (hsz == 40 || hsz == 56) {
+ if (hsz == 56) {
+ stbi__get32le(s);
+ stbi__get32le(s);
+ stbi__get32le(s);
+ stbi__get32le(s);
+ }
+ if (info->bpp == 16 || info->bpp == 32) {
+ if (compress == 0) {
+ stbi__bmp_set_mask_defaults(info, compress);
+ } else if (compress == 3) {
+ info->mr = stbi__get32le(s);
+ info->mg = stbi__get32le(s);
+ info->mb = stbi__get32le(s);
+ info->extra_read += 12;
+ // not documented, but generated by photoshop and handled by mspaint
+ if (info->mr == info->mg && info->mg == info->mb) {
+ // ?!?!?
+ return stbi__errpuc("bad BMP", "bad BMP");
+ }
+ } else
+ return stbi__errpuc("bad BMP", "bad BMP");
+ }
+ } else {
+ // V4/V5 header
+ int i;
+ if (hsz != 108 && hsz != 124)
+ return stbi__errpuc("bad BMP", "bad BMP");
+ info->mr = stbi__get32le(s);
+ info->mg = stbi__get32le(s);
+ info->mb = stbi__get32le(s);
+ info->ma = stbi__get32le(s);
+ if (compress != 3) // override mr/mg/mb unless in BI_BITFIELDS mode, as per docs
+ stbi__bmp_set_mask_defaults(info, compress);
+ stbi__get32le(s); // discard color space
+ for (i=0; i < 12; ++i)
+ stbi__get32le(s); // discard color space parameters
+ if (hsz == 124) {
+ stbi__get32le(s); // discard rendering intent
+ stbi__get32le(s); // discard offset of profile data
+ stbi__get32le(s); // discard size of profile data
+ stbi__get32le(s); // discard reserved
+ }
+ }
+ }
+ return (void *) 1;
+}
+
+
+static void *stbi__bmp_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri)
+{
+ stbi_uc *out;
+ unsigned int mr=0,mg=0,mb=0,ma=0, all_a;
+ stbi_uc pal[256][4];
+ int psize=0,i,j,width;
+ int flip_vertically, pad, target;
+ stbi__bmp_data info;
+ STBI_NOTUSED(ri);
+
+ info.all_a = 255;
+ if (stbi__bmp_parse_header(s, &info) == NULL)
+ return NULL; // error code already set
+
+ flip_vertically = ((int) s->img_y) > 0;
+ s->img_y = abs((int) s->img_y);
+
+ if (s->img_y > STBI_MAX_DIMENSIONS) return stbi__errpuc("too large","Very large image (corrupt?)");
+ if (s->img_x > STBI_MAX_DIMENSIONS) return stbi__errpuc("too large","Very large image (corrupt?)");
+
+ mr = info.mr;
+ mg = info.mg;
+ mb = info.mb;
+ ma = info.ma;
+ all_a = info.all_a;
+
+ if (info.hsz == 12) {
+ if (info.bpp < 24)
+ psize = (info.offset - info.extra_read - 24) / 3;
+ } else {
+ if (info.bpp < 16)
+ psize = (info.offset - info.extra_read - info.hsz) >> 2;
+ }
+ if (psize == 0) {
+ // accept some number of extra bytes after the header, but if the offset points either to before
+ // the header ends or implies a large amount of extra data, reject the file as malformed
+ int bytes_read_so_far = s->callback_already_read + (int)(s->img_buffer - s->img_buffer_original);
+ int header_limit = 1024; // max we actually read is below 256 bytes currently.
+ int extra_data_limit = 256*4; // what ordinarily goes here is a palette; 256 entries*4 bytes is its max size.
+ if (bytes_read_so_far <= 0 || bytes_read_so_far > header_limit) {
+ return stbi__errpuc("bad header", "Corrupt BMP");
+ }
+ // we established that bytes_read_so_far is positive and sensible.
+ // the first half of this test rejects offsets that are either too small positives, or
+ // negative, and guarantees that info.offset >= bytes_read_so_far > 0. this in turn
+ // ensures the number computed in the second half of the test can't overflow.
+ if (info.offset < bytes_read_so_far || info.offset - bytes_read_so_far > extra_data_limit) {
+ return stbi__errpuc("bad offset", "Corrupt BMP");
+ } else {
+ stbi__skip(s, info.offset - bytes_read_so_far);
+ }
+ }
+
+ if (info.bpp == 24 && ma == 0xff000000)
+ s->img_n = 3;
+ else
+ s->img_n = ma ? 4 : 3;
+ if (req_comp && req_comp >= 3) // we can directly decode 3 or 4
+ target = req_comp;
+ else
+ target = s->img_n; // if they want monochrome, we'll post-convert
+
+ // sanity-check size
+ if (!stbi__mad3sizes_valid(target, s->img_x, s->img_y, 0))
+ return stbi__errpuc("too large", "Corrupt BMP");
+
+ out = (stbi_uc *) stbi__malloc_mad3(target, s->img_x, s->img_y, 0);
+ if (!out) return stbi__errpuc("outofmem", "Out of memory");
+ if (info.bpp < 16) {
+ int z=0;
+ if (psize == 0 || psize > 256) { STBI_FREE(out); return stbi__errpuc("invalid", "Corrupt BMP"); }
+ for (i=0; i < psize; ++i) {
+ pal[i][2] = stbi__get8(s);
+ pal[i][1] = stbi__get8(s);
+ pal[i][0] = stbi__get8(s);
+ if (info.hsz != 12) stbi__get8(s);
+ pal[i][3] = 255;
+ }
+ stbi__skip(s, info.offset - info.extra_read - info.hsz - psize * (info.hsz == 12 ? 3 : 4));
+ if (info.bpp == 1) width = (s->img_x + 7) >> 3;
+ else if (info.bpp == 4) width = (s->img_x + 1) >> 1;
+ else if (info.bpp == 8) width = s->img_x;
+ else { STBI_FREE(out); return stbi__errpuc("bad bpp", "Corrupt BMP"); }
+ pad = (-width)&3;
+ if (info.bpp == 1) {
+ for (j=0; j < (int) s->img_y; ++j) {
+ int bit_offset = 7, v = stbi__get8(s);
+ for (i=0; i < (int) s->img_x; ++i) {
+ int color = (v>>bit_offset)&0x1;
+ out[z++] = pal[color][0];
+ out[z++] = pal[color][1];
+ out[z++] = pal[color][2];
+ if (target == 4) out[z++] = 255;
+ if (i+1 == (int) s->img_x) break;
+ if((--bit_offset) < 0) {
+ bit_offset = 7;
+ v = stbi__get8(s);
+ }
+ }
+ stbi__skip(s, pad);
+ }
+ } else {
+ for (j=0; j < (int) s->img_y; ++j) {
+ for (i=0; i < (int) s->img_x; i += 2) {
+ int v=stbi__get8(s),v2=0;
+ if (info.bpp == 4) {
+ v2 = v & 15;
+ v >>= 4;
+ }
+ out[z++] = pal[v][0];
+ out[z++] = pal[v][1];
+ out[z++] = pal[v][2];
+ if (target == 4) out[z++] = 255;
+ if (i+1 == (int) s->img_x) break;
+ v = (info.bpp == 8) ? stbi__get8(s) : v2;
+ out[z++] = pal[v][0];
+ out[z++] = pal[v][1];
+ out[z++] = pal[v][2];
+ if (target == 4) out[z++] = 255;
+ }
+ stbi__skip(s, pad);
+ }
+ }
+ } else {
+ int rshift=0,gshift=0,bshift=0,ashift=0,rcount=0,gcount=0,bcount=0,acount=0;
+ int z = 0;
+ int easy=0;
+ stbi__skip(s, info.offset - info.extra_read - info.hsz);
+ if (info.bpp == 24) width = 3 * s->img_x;
+ else if (info.bpp == 16) width = 2*s->img_x;
+ else /* bpp = 32 and pad = 0 */ width=0;
+ pad = (-width) & 3;
+ if (info.bpp == 24) {
+ easy = 1;
+ } else if (info.bpp == 32) {
+ if (mb == 0xff && mg == 0xff00 && mr == 0x00ff0000 && ma == 0xff000000)
+ easy = 2;
+ }
+ if (!easy) {
+ if (!mr || !mg || !mb) { STBI_FREE(out); return stbi__errpuc("bad masks", "Corrupt BMP"); }
+ // right shift amt to put high bit in position #7
+ rshift = stbi__high_bit(mr)-7; rcount = stbi__bitcount(mr);
+ gshift = stbi__high_bit(mg)-7; gcount = stbi__bitcount(mg);
+ bshift = stbi__high_bit(mb)-7; bcount = stbi__bitcount(mb);
+ ashift = stbi__high_bit(ma)-7; acount = stbi__bitcount(ma);
+ if (rcount > 8 || gcount > 8 || bcount > 8 || acount > 8) { STBI_FREE(out); return stbi__errpuc("bad masks", "Corrupt BMP"); }
+ }
+ for (j=0; j < (int) s->img_y; ++j) {
+ if (easy) {
+ for (i=0; i < (int) s->img_x; ++i) {
+ unsigned char a;
+ out[z+2] = stbi__get8(s);
+ out[z+1] = stbi__get8(s);
+ out[z+0] = stbi__get8(s);
+ z += 3;
+ a = (easy == 2 ? stbi__get8(s) : 255);
+ all_a |= a;
+ if (target == 4) out[z++] = a;
+ }
+ } else {
+ int bpp = info.bpp;
+ for (i=0; i < (int) s->img_x; ++i) {
+ stbi__uint32 v = (bpp == 16 ? (stbi__uint32) stbi__get16le(s) : stbi__get32le(s));
+ unsigned int a;
+ out[z++] = STBI__BYTECAST(stbi__shiftsigned(v & mr, rshift, rcount));
+ out[z++] = STBI__BYTECAST(stbi__shiftsigned(v & mg, gshift, gcount));
+ out[z++] = STBI__BYTECAST(stbi__shiftsigned(v & mb, bshift, bcount));
+ a = (ma ? stbi__shiftsigned(v & ma, ashift, acount) : 255);
+ all_a |= a;
+ if (target == 4) out[z++] = STBI__BYTECAST(a);
+ }
+ }
+ stbi__skip(s, pad);
+ }
+ }
+
+ // if alpha channel is all 0s, replace with all 255s
+ if (target == 4 && all_a == 0)
+ for (i=4*s->img_x*s->img_y-1; i >= 0; i -= 4)
+ out[i] = 255;
+
+ if (flip_vertically) {
+ stbi_uc t;
+ for (j=0; j < (int) s->img_y>>1; ++j) {
+ stbi_uc *p1 = out + j *s->img_x*target;
+ stbi_uc *p2 = out + (s->img_y-1-j)*s->img_x*target;
+ for (i=0; i < (int) s->img_x*target; ++i) {
+ t = p1[i]; p1[i] = p2[i]; p2[i] = t;
+ }
+ }
+ }
+
+ if (req_comp && req_comp != target) {
+ out = stbi__convert_format(out, target, req_comp, s->img_x, s->img_y);
+ if (out == NULL) return out; // stbi__convert_format frees input on failure
+ }
+
+ *x = s->img_x;
+ *y = s->img_y;
+ if (comp) *comp = s->img_n;
+ return out;
+}
+#endif
+
+// Targa Truevision - TGA
+// by Jonathan Dummer
+#ifndef STBI_NO_TGA
+// returns STBI_rgb or whatever, 0 on error
+static int stbi__tga_get_comp(int bits_per_pixel, int is_grey, int* is_rgb16)
+{
+ // only RGB or RGBA (incl. 16bit) or grey allowed
+ if (is_rgb16) *is_rgb16 = 0;
+ switch(bits_per_pixel) {
+ case 8: return STBI_grey;
+ case 16: if(is_grey) return STBI_grey_alpha;
+ // fallthrough
+ case 15: if(is_rgb16) *is_rgb16 = 1;
+ return STBI_rgb;
+ case 24: // fallthrough
+ case 32: return bits_per_pixel/8;
+ default: return 0;
+ }
+}
+
+static int stbi__tga_info(stbi__context *s, int *x, int *y, int *comp)
+{
+ int tga_w, tga_h, tga_comp, tga_image_type, tga_bits_per_pixel, tga_colormap_bpp;
+ int sz, tga_colormap_type;
+ stbi__get8(s); // discard Offset
+ tga_colormap_type = stbi__get8(s); // colormap type
+ if( tga_colormap_type > 1 ) {
+ stbi__rewind(s);
+ return 0; // only RGB or indexed allowed
+ }
+ tga_image_type = stbi__get8(s); // image type
+ if ( tga_colormap_type == 1 ) { // colormapped (paletted) image
+ if (tga_image_type != 1 && tga_image_type != 9) {
+ stbi__rewind(s);
+ return 0;
+ }
+ stbi__skip(s,4); // skip index of first colormap entry and number of entries
+ sz = stbi__get8(s); // check bits per palette color entry
+ if ( (sz != 8) && (sz != 15) && (sz != 16) && (sz != 24) && (sz != 32) ) {
+ stbi__rewind(s);
+ return 0;
+ }
+ stbi__skip(s,4); // skip image x and y origin
+ tga_colormap_bpp = sz;
+ } else { // "normal" image w/o colormap - only RGB or grey allowed, +/- RLE
+ if ( (tga_image_type != 2) && (tga_image_type != 3) && (tga_image_type != 10) && (tga_image_type != 11) ) {
+ stbi__rewind(s);
+ return 0; // only RGB or grey allowed, +/- RLE
+ }
+ stbi__skip(s,9); // skip colormap specification and image x/y origin
+ tga_colormap_bpp = 0;
+ }
+ tga_w = stbi__get16le(s);
+ if( tga_w < 1 ) {
+ stbi__rewind(s);
+ return 0; // test width
+ }
+ tga_h = stbi__get16le(s);
+ if( tga_h < 1 ) {
+ stbi__rewind(s);
+ return 0; // test height
+ }
+ tga_bits_per_pixel = stbi__get8(s); // bits per pixel
+ stbi__get8(s); // ignore alpha bits
+ if (tga_colormap_bpp != 0) {
+ if((tga_bits_per_pixel != 8) && (tga_bits_per_pixel != 16)) {
+ // when using a colormap, tga_bits_per_pixel is the size of the indexes
+ // I don't think anything but 8 or 16bit indexes makes sense
+ stbi__rewind(s);
+ return 0;
+ }
+ tga_comp = stbi__tga_get_comp(tga_colormap_bpp, 0, NULL);
+ } else {
+ tga_comp = stbi__tga_get_comp(tga_bits_per_pixel, (tga_image_type == 3) || (tga_image_type == 11), NULL);
+ }
+ if(!tga_comp) {
+ stbi__rewind(s);
+ return 0;
+ }
+ if (x) *x = tga_w;
+ if (y) *y = tga_h;
+ if (comp) *comp = tga_comp;
+ return 1; // seems to have passed everything
+}
+
+static int stbi__tga_test(stbi__context *s)
+{
+ int res = 0;
+ int sz, tga_color_type;
+ stbi__get8(s); // discard Offset
+ tga_color_type = stbi__get8(s); // color type
+ if ( tga_color_type > 1 ) goto errorEnd; // only RGB or indexed allowed
+ sz = stbi__get8(s); // image type
+ if ( tga_color_type == 1 ) { // colormapped (paletted) image
+ if (sz != 1 && sz != 9) goto errorEnd; // colortype 1 demands image type 1 or 9
+ stbi__skip(s,4); // skip index of first colormap entry and number of entries
+ sz = stbi__get8(s); // check bits per palette color entry
+ if ( (sz != 8) && (sz != 15) && (sz != 16) && (sz != 24) && (sz != 32) ) goto errorEnd;
+ stbi__skip(s,4); // skip image x and y origin
+ } else { // "normal" image w/o colormap
+ if ( (sz != 2) && (sz != 3) && (sz != 10) && (sz != 11) ) goto errorEnd; // only RGB or grey allowed, +/- RLE
+ stbi__skip(s,9); // skip colormap specification and image x/y origin
+ }
+ if ( stbi__get16le(s) < 1 ) goto errorEnd; // test width
+ if ( stbi__get16le(s) < 1 ) goto errorEnd; // test height
+ sz = stbi__get8(s); // bits per pixel
+ if ( (tga_color_type == 1) && (sz != 8) && (sz != 16) ) goto errorEnd; // for colormapped images, bpp is size of an index
+ if ( (sz != 8) && (sz != 15) && (sz != 16) && (sz != 24) && (sz != 32) ) goto errorEnd;
+
+ res = 1; // if we got this far, everything's good and we can return 1 instead of 0
+
+errorEnd:
+ stbi__rewind(s);
+ return res;
+}
+
+// read 16bit value and convert to 24bit RGB
+static void stbi__tga_read_rgb16(stbi__context *s, stbi_uc* out)
+{
+ stbi__uint16 px = (stbi__uint16)stbi__get16le(s);
+ stbi__uint16 fiveBitMask = 31;
+ // we have 3 channels with 5bits each
+ int r = (px >> 10) & fiveBitMask;
+ int g = (px >> 5) & fiveBitMask;
+ int b = px & fiveBitMask;
+ // Note that this saves the data in RGB(A) order, so it doesn't need to be swapped later
+ out[0] = (stbi_uc)((r * 255)/31);
+ out[1] = (stbi_uc)((g * 255)/31);
+ out[2] = (stbi_uc)((b * 255)/31);
+
+ // some people claim that the most significant bit might be used for alpha
+ // (possibly if an alpha-bit is set in the "image descriptor byte")
+ // but that only made 16bit test images completely translucent..
+ // so let's treat all 15 and 16bit TGAs as RGB with no alpha.
+}
+
+static void *stbi__tga_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri)
+{
+ // read in the TGA header stuff
+ int tga_offset = stbi__get8(s);
+ int tga_indexed = stbi__get8(s);
+ int tga_image_type = stbi__get8(s);
+ int tga_is_RLE = 0;
+ int tga_palette_start = stbi__get16le(s);
+ int tga_palette_len = stbi__get16le(s);
+ int tga_palette_bits = stbi__get8(s);
+ int tga_x_origin = stbi__get16le(s);
+ int tga_y_origin = stbi__get16le(s);
+ int tga_width = stbi__get16le(s);
+ int tga_height = stbi__get16le(s);
+ int tga_bits_per_pixel = stbi__get8(s);
+ int tga_comp, tga_rgb16=0;
+ int tga_inverted = stbi__get8(s);
+ // int tga_alpha_bits = tga_inverted & 15; // the 4 lowest bits - unused (useless?)
+ // image data
+ unsigned char *tga_data;
+ unsigned char *tga_palette = NULL;
+ int i, j;
+ unsigned char raw_data[4] = {0};
+ int RLE_count = 0;
+ int RLE_repeating = 0;
+ int read_next_pixel = 1;
+ STBI_NOTUSED(ri);
+ STBI_NOTUSED(tga_x_origin); // @TODO
+ STBI_NOTUSED(tga_y_origin); // @TODO
+
+ if (tga_height > STBI_MAX_DIMENSIONS) return stbi__errpuc("too large","Very large image (corrupt?)");
+ if (tga_width > STBI_MAX_DIMENSIONS) return stbi__errpuc("too large","Very large image (corrupt?)");
+
+ // do a tiny bit of precessing
+ if ( tga_image_type >= 8 )
+ {
+ tga_image_type -= 8;
+ tga_is_RLE = 1;
+ }
+ tga_inverted = 1 - ((tga_inverted >> 5) & 1);
+
+ // If I'm paletted, then I'll use the number of bits from the palette
+ if ( tga_indexed ) tga_comp = stbi__tga_get_comp(tga_palette_bits, 0, &tga_rgb16);
+ else tga_comp = stbi__tga_get_comp(tga_bits_per_pixel, (tga_image_type == 3), &tga_rgb16);
+
+ if(!tga_comp) // shouldn't really happen, stbi__tga_test() should have ensured basic consistency
+ return stbi__errpuc("bad format", "Can't find out TGA pixelformat");
+
+ // tga info
+ *x = tga_width;
+ *y = tga_height;
+ if (comp) *comp = tga_comp;
+
+ if (!stbi__mad3sizes_valid(tga_width, tga_height, tga_comp, 0))
+ return stbi__errpuc("too large", "Corrupt TGA");
+
+ tga_data = (unsigned char*)stbi__malloc_mad3(tga_width, tga_height, tga_comp, 0);
+ if (!tga_data) return stbi__errpuc("outofmem", "Out of memory");
+
+ // skip to the data's starting position (offset usually = 0)
+ stbi__skip(s, tga_offset );
+
+ if ( !tga_indexed && !tga_is_RLE && !tga_rgb16 ) {
+ for (i=0; i < tga_height; ++i) {
+ int row = tga_inverted ? tga_height -i - 1 : i;
+ stbi_uc *tga_row = tga_data + row*tga_width*tga_comp;
+ stbi__getn(s, tga_row, tga_width * tga_comp);
+ }
+ } else {
+ // do I need to load a palette?
+ if ( tga_indexed)
+ {
+ if (tga_palette_len == 0) { /* you have to have at least one entry! */
+ STBI_FREE(tga_data);
+ return stbi__errpuc("bad palette", "Corrupt TGA");
+ }
+
+ // any data to skip? (offset usually = 0)
+ stbi__skip(s, tga_palette_start );
+ // load the palette
+ tga_palette = (unsigned char*)stbi__malloc_mad2(tga_palette_len, tga_comp, 0);
+ if (!tga_palette) {
+ STBI_FREE(tga_data);
+ return stbi__errpuc("outofmem", "Out of memory");
+ }
+ if (tga_rgb16) {
+ stbi_uc *pal_entry = tga_palette;
+ STBI_ASSERT(tga_comp == STBI_rgb);
+ for (i=0; i < tga_palette_len; ++i) {
+ stbi__tga_read_rgb16(s, pal_entry);
+ pal_entry += tga_comp;
+ }
+ } else if (!stbi__getn(s, tga_palette, tga_palette_len * tga_comp)) {
+ STBI_FREE(tga_data);
+ STBI_FREE(tga_palette);
+ return stbi__errpuc("bad palette", "Corrupt TGA");
+ }
+ }
+ // load the data
+ for (i=0; i < tga_width * tga_height; ++i)
+ {
+ // if I'm in RLE mode, do I need to get a RLE stbi__pngchunk?
+ if ( tga_is_RLE )
+ {
+ if ( RLE_count == 0 )
+ {
+ // yep, get the next byte as a RLE command
+ int RLE_cmd = stbi__get8(s);
+ RLE_count = 1 + (RLE_cmd & 127);
+ RLE_repeating = RLE_cmd >> 7;
+ read_next_pixel = 1;
+ } else if ( !RLE_repeating )
+ {
+ read_next_pixel = 1;
+ }
+ } else
+ {
+ read_next_pixel = 1;
+ }
+ // OK, if I need to read a pixel, do it now
+ if ( read_next_pixel )
+ {
+ // load however much data we did have
+ if ( tga_indexed )
+ {
+ // read in index, then perform the lookup
+ int pal_idx = (tga_bits_per_pixel == 8) ? stbi__get8(s) : stbi__get16le(s);
+ if ( pal_idx >= tga_palette_len ) {
+ // invalid index
+ pal_idx = 0;
+ }
+ pal_idx *= tga_comp;
+ for (j = 0; j < tga_comp; ++j) {
+ raw_data[j] = tga_palette[pal_idx+j];
+ }
+ } else if(tga_rgb16) {
+ STBI_ASSERT(tga_comp == STBI_rgb);
+ stbi__tga_read_rgb16(s, raw_data);
+ } else {
+ // read in the data raw
+ for (j = 0; j < tga_comp; ++j) {
+ raw_data[j] = stbi__get8(s);
+ }
+ }
+ // clear the reading flag for the next pixel
+ read_next_pixel = 0;
+ } // end of reading a pixel
+
+ // copy data
+ for (j = 0; j < tga_comp; ++j)
+ tga_data[i*tga_comp+j] = raw_data[j];
+
+ // in case we're in RLE mode, keep counting down
+ --RLE_count;
+ }
+ // do I need to invert the image?
+ if ( tga_inverted )
+ {
+ for (j = 0; j*2 < tga_height; ++j)
+ {
+ int index1 = j * tga_width * tga_comp;
+ int index2 = (tga_height - 1 - j) * tga_width * tga_comp;
+ for (i = tga_width * tga_comp; i > 0; --i)
+ {
+ unsigned char temp = tga_data[index1];
+ tga_data[index1] = tga_data[index2];
+ tga_data[index2] = temp;
+ ++index1;
+ ++index2;
+ }
+ }
+ }
+ // clear my palette, if I had one
+ if ( tga_palette != NULL )
+ {
+ STBI_FREE( tga_palette );
+ }
+ }
+
+ // swap RGB - if the source data was RGB16, it already is in the right order
+ if (tga_comp >= 3 && !tga_rgb16)
+ {
+ unsigned char* tga_pixel = tga_data;
+ for (i=0; i < tga_width * tga_height; ++i)
+ {
+ unsigned char temp = tga_pixel[0];
+ tga_pixel[0] = tga_pixel[2];
+ tga_pixel[2] = temp;
+ tga_pixel += tga_comp;
+ }
+ }
+
+ // convert to target component count
+ if (req_comp && req_comp != tga_comp)
+ tga_data = stbi__convert_format(tga_data, tga_comp, req_comp, tga_width, tga_height);
+
+ // the things I do to get rid of an error message, and yet keep
+ // Microsoft's C compilers happy... [8^(
+ tga_palette_start = tga_palette_len = tga_palette_bits =
+ tga_x_origin = tga_y_origin = 0;
+ STBI_NOTUSED(tga_palette_start);
+ // OK, done
+ return tga_data;
+}
+#endif
+
+// *************************************************************************************************
+// Photoshop PSD loader -- PD by Thatcher Ulrich, integration by Nicolas Schulz, tweaked by STB
+
+#ifndef STBI_NO_PSD
+static int stbi__psd_test(stbi__context *s)
+{
+ int r = (stbi__get32be(s) == 0x38425053);
+ stbi__rewind(s);
+ return r;
+}
+
+static int stbi__psd_decode_rle(stbi__context *s, stbi_uc *p, int pixelCount)
+{
+ int count, nleft, len;
+
+ count = 0;
+ while ((nleft = pixelCount - count) > 0) {
+ len = stbi__get8(s);
+ if (len == 128) {
+ // No-op.
+ } else if (len < 128) {
+ // Copy next len+1 bytes literally.
+ len++;
+ if (len > nleft) return 0; // corrupt data
+ count += len;
+ while (len) {
+ *p = stbi__get8(s);
+ p += 4;
+ len--;
+ }
+ } else if (len > 128) {
+ stbi_uc val;
+ // Next -len+1 bytes in the dest are replicated from next source byte.
+ // (Interpret len as a negative 8-bit int.)
+ len = 257 - len;
+ if (len > nleft) return 0; // corrupt data
+ val = stbi__get8(s);
+ count += len;
+ while (len) {
+ *p = val;
+ p += 4;
+ len--;
+ }
+ }
+ }
+
+ return 1;
+}
+
+static void *stbi__psd_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri, int bpc)
+{
+ int pixelCount;
+ int channelCount, compression;
+ int channel, i;
+ int bitdepth;
+ int w,h;
+ stbi_uc *out;
+ STBI_NOTUSED(ri);
+
+ // Check identifier
+ if (stbi__get32be(s) != 0x38425053) // "8BPS"
+ return stbi__errpuc("not PSD", "Corrupt PSD image");
+
+ // Check file type version.
+ if (stbi__get16be(s) != 1)
+ return stbi__errpuc("wrong version", "Unsupported version of PSD image");
+
+ // Skip 6 reserved bytes.
+ stbi__skip(s, 6 );
+
+ // Read the number of channels (R, G, B, A, etc).
+ channelCount = stbi__get16be(s);
+ if (channelCount < 0 || channelCount > 16)
+ return stbi__errpuc("wrong channel count", "Unsupported number of channels in PSD image");
+
+ // Read the rows and columns of the image.
+ h = stbi__get32be(s);
+ w = stbi__get32be(s);
+
+ if (h > STBI_MAX_DIMENSIONS) return stbi__errpuc("too large","Very large image (corrupt?)");
+ if (w > STBI_MAX_DIMENSIONS) return stbi__errpuc("too large","Very large image (corrupt?)");
+
+ // Make sure the depth is 8 bits.
+ bitdepth = stbi__get16be(s);
+ if (bitdepth != 8 && bitdepth != 16)
+ return stbi__errpuc("unsupported bit depth", "PSD bit depth is not 8 or 16 bit");
+
+ // Make sure the color mode is RGB.
+ // Valid options are:
+ // 0: Bitmap
+ // 1: Grayscale
+ // 2: Indexed color
+ // 3: RGB color
+ // 4: CMYK color
+ // 7: Multichannel
+ // 8: Duotone
+ // 9: Lab color
+ if (stbi__get16be(s) != 3)
+ return stbi__errpuc("wrong color format", "PSD is not in RGB color format");
+
+ // Skip the Mode Data. (It's the palette for indexed color; other info for other modes.)
+ stbi__skip(s,stbi__get32be(s) );
+
+ // Skip the image resources. (resolution, pen tool paths, etc)
+ stbi__skip(s, stbi__get32be(s) );
+
+ // Skip the reserved data.
+ stbi__skip(s, stbi__get32be(s) );
+
+ // Find out if the data is compressed.
+ // Known values:
+ // 0: no compression
+ // 1: RLE compressed
+ compression = stbi__get16be(s);
+ if (compression > 1)
+ return stbi__errpuc("bad compression", "PSD has an unknown compression format");
+
+ // Check size
+ if (!stbi__mad3sizes_valid(4, w, h, 0))
+ return stbi__errpuc("too large", "Corrupt PSD");
+
+ // Create the destination image.
+
+ if (!compression && bitdepth == 16 && bpc == 16) {
+ out = (stbi_uc *) stbi__malloc_mad3(8, w, h, 0);
+ ri->bits_per_channel = 16;
+ } else
+ out = (stbi_uc *) stbi__malloc(4 * w*h);
+
+ if (!out) return stbi__errpuc("outofmem", "Out of memory");
+ pixelCount = w*h;
+
+ // Initialize the data to zero.
+ //memset( out, 0, pixelCount * 4 );
+
+ // Finally, the image data.
+ if (compression) {
+ // RLE as used by .PSD and .TIFF
+ // Loop until you get the number of unpacked bytes you are expecting:
+ // Read the next source byte into n.
+ // If n is between 0 and 127 inclusive, copy the next n+1 bytes literally.
+ // Else if n is between -127 and -1 inclusive, copy the next byte -n+1 times.
+ // Else if n is 128, noop.
+ // Endloop
+
+ // The RLE-compressed data is preceded by a 2-byte data count for each row in the data,
+ // which we're going to just skip.
+ stbi__skip(s, h * channelCount * 2 );
+
+ // Read the RLE data by channel.
+ for (channel = 0; channel < 4; channel++) {
+ stbi_uc *p;
+
+ p = out+channel;
+ if (channel >= channelCount) {
+ // Fill this channel with default data.
+ for (i = 0; i < pixelCount; i++, p += 4)
+ *p = (channel == 3 ? 255 : 0);
+ } else {
+ // Read the RLE data.
+ if (!stbi__psd_decode_rle(s, p, pixelCount)) {
+ STBI_FREE(out);
+ return stbi__errpuc("corrupt", "bad RLE data");
+ }
+ }
+ }
+
+ } else {
+ // We're at the raw image data. It's each channel in order (Red, Green, Blue, Alpha, ...)
+ // where each channel consists of an 8-bit (or 16-bit) value for each pixel in the image.
+
+ // Read the data by channel.
+ for (channel = 0; channel < 4; channel++) {
+ if (channel >= channelCount) {
+ // Fill this channel with default data.
+ if (bitdepth == 16 && bpc == 16) {
+ stbi__uint16 *q = ((stbi__uint16 *) out) + channel;
+ stbi__uint16 val = channel == 3 ? 65535 : 0;
+ for (i = 0; i < pixelCount; i++, q += 4)
+ *q = val;
+ } else {
+ stbi_uc *p = out+channel;
+ stbi_uc val = channel == 3 ? 255 : 0;
+ for (i = 0; i < pixelCount; i++, p += 4)
+ *p = val;
+ }
+ } else {
+ if (ri->bits_per_channel == 16) { // output bpc
+ stbi__uint16 *q = ((stbi__uint16 *) out) + channel;
+ for (i = 0; i < pixelCount; i++, q += 4)
+ *q = (stbi__uint16) stbi__get16be(s);
+ } else {
+ stbi_uc *p = out+channel;
+ if (bitdepth == 16) { // input bpc
+ for (i = 0; i < pixelCount; i++, p += 4)
+ *p = (stbi_uc) (stbi__get16be(s) >> 8);
+ } else {
+ for (i = 0; i < pixelCount; i++, p += 4)
+ *p = stbi__get8(s);
+ }
+ }
+ }
+ }
+ }
+
+ // remove weird white matte from PSD
+ if (channelCount >= 4) {
+ if (ri->bits_per_channel == 16) {
+ for (i=0; i < w*h; ++i) {
+ stbi__uint16 *pixel = (stbi__uint16 *) out + 4*i;
+ if (pixel[3] != 0 && pixel[3] != 65535) {
+ float a = pixel[3] / 65535.0f;
+ float ra = 1.0f / a;
+ float inv_a = 65535.0f * (1 - ra);
+ pixel[0] = (stbi__uint16) (pixel[0]*ra + inv_a);
+ pixel[1] = (stbi__uint16) (pixel[1]*ra + inv_a);
+ pixel[2] = (stbi__uint16) (pixel[2]*ra + inv_a);
+ }
+ }
+ } else {
+ for (i=0; i < w*h; ++i) {
+ unsigned char *pixel = out + 4*i;
+ if (pixel[3] != 0 && pixel[3] != 255) {
+ float a = pixel[3] / 255.0f;
+ float ra = 1.0f / a;
+ float inv_a = 255.0f * (1 - ra);
+ pixel[0] = (unsigned char) (pixel[0]*ra + inv_a);
+ pixel[1] = (unsigned char) (pixel[1]*ra + inv_a);
+ pixel[2] = (unsigned char) (pixel[2]*ra + inv_a);
+ }
+ }
+ }
+ }
+
+ // convert to desired output format
+ if (req_comp && req_comp != 4) {
+ if (ri->bits_per_channel == 16)
+ out = (stbi_uc *) stbi__convert_format16((stbi__uint16 *) out, 4, req_comp, w, h);
+ else
+ out = stbi__convert_format(out, 4, req_comp, w, h);
+ if (out == NULL) return out; // stbi__convert_format frees input on failure
+ }
+
+ if (comp) *comp = 4;
+ *y = h;
+ *x = w;
+
+ return out;
+}
+#endif
+
+// *************************************************************************************************
+// Softimage PIC loader
+// by Tom Seddon
+//
+// See http://softimage.wiki.softimage.com/index.php/INFO:_PIC_file_format
+// See http://ozviz.wasp.uwa.edu.au/~pbourke/dataformats/softimagepic/
+
+#ifndef STBI_NO_PIC
+static int stbi__pic_is4(stbi__context *s,const char *str)
+{
+ int i;
+ for (i=0; i<4; ++i)
+ if (stbi__get8(s) != (stbi_uc)str[i])
+ return 0;
+
+ return 1;
+}
+
+static int stbi__pic_test_core(stbi__context *s)
+{
+ int i;
+
+ if (!stbi__pic_is4(s,"\x53\x80\xF6\x34"))
+ return 0;
+
+ for(i=0;i<84;++i)
+ stbi__get8(s);
+
+ if (!stbi__pic_is4(s,"PICT"))
+ return 0;
+
+ return 1;
+}
+
+typedef struct
+{
+ stbi_uc size,type,channel;
+} stbi__pic_packet;
+
+static stbi_uc *stbi__readval(stbi__context *s, int channel, stbi_uc *dest)
+{
+ int mask=0x80, i;
+
+ for (i=0; i<4; ++i, mask>>=1) {
+ if (channel & mask) {
+ if (stbi__at_eof(s)) return stbi__errpuc("bad file","PIC file too short");
+ dest[i]=stbi__get8(s);
+ }
+ }
+
+ return dest;
+}
+
+static void stbi__copyval(int channel,stbi_uc *dest,const stbi_uc *src)
+{
+ int mask=0x80,i;
+
+ for (i=0;i<4; ++i, mask>>=1)
+ if (channel&mask)
+ dest[i]=src[i];
+}
+
+static stbi_uc *stbi__pic_load_core(stbi__context *s,int width,int height,int *comp, stbi_uc *result)
+{
+ int act_comp=0,num_packets=0,y,chained;
+ stbi__pic_packet packets[10];
+
+ // this will (should...) cater for even some bizarre stuff like having data
+ // for the same channel in multiple packets.
+ do {
+ stbi__pic_packet *packet;
+
+ if (num_packets==sizeof(packets)/sizeof(packets[0]))
+ return stbi__errpuc("bad format","too many packets");
+
+ packet = &packets[num_packets++];
+
+ chained = stbi__get8(s);
+ packet->size = stbi__get8(s);
+ packet->type = stbi__get8(s);
+ packet->channel = stbi__get8(s);
+
+ act_comp |= packet->channel;
+
+ if (stbi__at_eof(s)) return stbi__errpuc("bad file","file too short (reading packets)");
+ if (packet->size != 8) return stbi__errpuc("bad format","packet isn't 8bpp");
+ } while (chained);
+
+ *comp = (act_comp & 0x10 ? 4 : 3); // has alpha channel?
+
+ for(y=0; y<height; ++y) {
+ int packet_idx;
+
+ for(packet_idx=0; packet_idx < num_packets; ++packet_idx) {
+ stbi__pic_packet *packet = &packets[packet_idx];
+ stbi_uc *dest = result+y*width*4;
+
+ switch (packet->type) {
+ default:
+ return stbi__errpuc("bad format","packet has bad compression type");
+
+ case 0: {//uncompressed
+ int x;
+
+ for(x=0;x<width;++x, dest+=4)
+ if (!stbi__readval(s,packet->channel,dest))
+ return 0;
+ break;
+ }
+
+ case 1://Pure RLE
+ {
+ int left=width, i;
+
+ while (left>0) {
+ stbi_uc count,value[4];
+
+ count=stbi__get8(s);
+ if (stbi__at_eof(s)) return stbi__errpuc("bad file","file too short (pure read count)");
+
+ if (count > left)
+ count = (stbi_uc) left;
+
+ if (!stbi__readval(s,packet->channel,value)) return 0;
+
+ for(i=0; i<count; ++i,dest+=4)
+ stbi__copyval(packet->channel,dest,value);
+ left -= count;
+ }
+ }
+ break;
+
+ case 2: {//Mixed RLE
+ int left=width;
+ while (left>0) {
+ int count = stbi__get8(s), i;
+ if (stbi__at_eof(s)) return stbi__errpuc("bad file","file too short (mixed read count)");
+
+ if (count >= 128) { // Repeated
+ stbi_uc value[4];
+
+ if (count==128)
+ count = stbi__get16be(s);
+ else
+ count -= 127;
+ if (count > left)
+ return stbi__errpuc("bad file","scanline overrun");
+
+ if (!stbi__readval(s,packet->channel,value))
+ return 0;
+
+ for(i=0;i<count;++i, dest += 4)
+ stbi__copyval(packet->channel,dest,value);
+ } else { // Raw
+ ++count;
+ if (count>left) return stbi__errpuc("bad file","scanline overrun");
+
+ for(i=0;i<count;++i, dest+=4)
+ if (!stbi__readval(s,packet->channel,dest))
+ return 0;
+ }
+ left-=count;
+ }
+ break;
+ }
+ }
+ }
+ }
+
+ return result;
+}
+
+static void *stbi__pic_load(stbi__context *s,int *px,int *py,int *comp,int req_comp, stbi__result_info *ri)
+{
+ stbi_uc *result;
+ int i, x,y, internal_comp;
+ STBI_NOTUSED(ri);
+
+ if (!comp) comp = &internal_comp;
+
+ for (i=0; i<92; ++i)
+ stbi__get8(s);
+
+ x = stbi__get16be(s);
+ y = stbi__get16be(s);
+
+ if (y > STBI_MAX_DIMENSIONS) return stbi__errpuc("too large","Very large image (corrupt?)");
+ if (x > STBI_MAX_DIMENSIONS) return stbi__errpuc("too large","Very large image (corrupt?)");
+
+ if (stbi__at_eof(s)) return stbi__errpuc("bad file","file too short (pic header)");
+ if (!stbi__mad3sizes_valid(x, y, 4, 0)) return stbi__errpuc("too large", "PIC image too large to decode");
+
+ stbi__get32be(s); //skip `ratio'
+ stbi__get16be(s); //skip `fields'
+ stbi__get16be(s); //skip `pad'
+
+ // intermediate buffer is RGBA
+ result = (stbi_uc *) stbi__malloc_mad3(x, y, 4, 0);
+ if (!result) return stbi__errpuc("outofmem", "Out of memory");
+ memset(result, 0xff, x*y*4);
+
+ if (!stbi__pic_load_core(s,x,y,comp, result)) {
+ STBI_FREE(result);
+ result=0;
+ }
+ *px = x;
+ *py = y;
+ if (req_comp == 0) req_comp = *comp;
+ result=stbi__convert_format(result,4,req_comp,x,y);
+
+ return result;
+}
+
+static int stbi__pic_test(stbi__context *s)
+{
+ int r = stbi__pic_test_core(s);
+ stbi__rewind(s);
+ return r;
+}
+#endif
+
+// *************************************************************************************************
+// GIF loader -- public domain by Jean-Marc Lienher -- simplified/shrunk by stb
+
+#ifndef STBI_NO_GIF
+typedef struct
+{
+ stbi__int16 prefix;
+ stbi_uc first;
+ stbi_uc suffix;
+} stbi__gif_lzw;
+
+typedef struct
+{
+ int w,h;
+ stbi_uc *out; // output buffer (always 4 components)
+ stbi_uc *background; // The current "background" as far as a gif is concerned
+ stbi_uc *history;
+ int flags, bgindex, ratio, transparent, eflags;
+ stbi_uc pal[256][4];
+ stbi_uc lpal[256][4];
+ stbi__gif_lzw codes[8192];
+ stbi_uc *color_table;
+ int parse, step;
+ int lflags;
+ int start_x, start_y;
+ int max_x, max_y;
+ int cur_x, cur_y;
+ int line_size;
+ int delay;
+} stbi__gif;
+
+static int stbi__gif_test_raw(stbi__context *s)
+{
+ int sz;
+ if (stbi__get8(s) != 'G' || stbi__get8(s) != 'I' || stbi__get8(s) != 'F' || stbi__get8(s) != '8') return 0;
+ sz = stbi__get8(s);
+ if (sz != '9' && sz != '7') return 0;
+ if (stbi__get8(s) != 'a') return 0;
+ return 1;
+}
+
+static int stbi__gif_test(stbi__context *s)
+{
+ int r = stbi__gif_test_raw(s);
+ stbi__rewind(s);
+ return r;
+}
+
+static void stbi__gif_parse_colortable(stbi__context *s, stbi_uc pal[256][4], int num_entries, int transp)
+{
+ int i;
+ for (i=0; i < num_entries; ++i) {
+ pal[i][2] = stbi__get8(s);
+ pal[i][1] = stbi__get8(s);
+ pal[i][0] = stbi__get8(s);
+ pal[i][3] = transp == i ? 0 : 255;
+ }
+}
+
+static int stbi__gif_header(stbi__context *s, stbi__gif *g, int *comp, int is_info)
+{
+ stbi_uc version;
+ if (stbi__get8(s) != 'G' || stbi__get8(s) != 'I' || stbi__get8(s) != 'F' || stbi__get8(s) != '8')
+ return stbi__err("not GIF", "Corrupt GIF");
+
+ version = stbi__get8(s);
+ if (version != '7' && version != '9') return stbi__err("not GIF", "Corrupt GIF");
+ if (stbi__get8(s) != 'a') return stbi__err("not GIF", "Corrupt GIF");
+
+ stbi__g_failure_reason = "";
+ g->w = stbi__get16le(s);
+ g->h = stbi__get16le(s);
+ g->flags = stbi__get8(s);
+ g->bgindex = stbi__get8(s);
+ g->ratio = stbi__get8(s);
+ g->transparent = -1;
+
+ if (g->w > STBI_MAX_DIMENSIONS) return stbi__err("too large","Very large image (corrupt?)");
+ if (g->h > STBI_MAX_DIMENSIONS) return stbi__err("too large","Very large image (corrupt?)");
+
+ if (comp != 0) *comp = 4; // can't actually tell whether it's 3 or 4 until we parse the comments
+
+ if (is_info) return 1;
+
+ if (g->flags & 0x80)
+ stbi__gif_parse_colortable(s,g->pal, 2 << (g->flags & 7), -1);
+
+ return 1;
+}
+
+static int stbi__gif_info_raw(stbi__context *s, int *x, int *y, int *comp)
+{
+ stbi__gif* g = (stbi__gif*) stbi__malloc(sizeof(stbi__gif));
+ if (!g) return stbi__err("outofmem", "Out of memory");
+ if (!stbi__gif_header(s, g, comp, 1)) {
+ STBI_FREE(g);
+ stbi__rewind( s );
+ return 0;
+ }
+ if (x) *x = g->w;
+ if (y) *y = g->h;
+ STBI_FREE(g);
+ return 1;
+}
+
+static void stbi__out_gif_code(stbi__gif *g, stbi__uint16 code)
+{
+ stbi_uc *p, *c;
+ int idx;
+
+ // recurse to decode the prefixes, since the linked-list is backwards,
+ // and working backwards through an interleaved image would be nasty
+ if (g->codes[code].prefix >= 0)
+ stbi__out_gif_code(g, g->codes[code].prefix);
+
+ if (g->cur_y >= g->max_y) return;
+
+ idx = g->cur_x + g->cur_y;
+ p = &g->out[idx];
+ g->history[idx / 4] = 1;
+
+ c = &g->color_table[g->codes[code].suffix * 4];
+ if (c[3] > 128) { // don't render transparent pixels;
+ p[0] = c[2];
+ p[1] = c[1];
+ p[2] = c[0];
+ p[3] = c[3];
+ }
+ g->cur_x += 4;
+
+ if (g->cur_x >= g->max_x) {
+ g->cur_x = g->start_x;
+ g->cur_y += g->step;
+
+ while (g->cur_y >= g->max_y && g->parse > 0) {
+ g->step = (1 << g->parse) * g->line_size;
+ g->cur_y = g->start_y + (g->step >> 1);
+ --g->parse;
+ }
+ }
+}
+
+static stbi_uc *stbi__process_gif_raster(stbi__context *s, stbi__gif *g)
+{
+ stbi_uc lzw_cs;
+ stbi__int32 len, init_code;
+ stbi__uint32 first;
+ stbi__int32 codesize, codemask, avail, oldcode, bits, valid_bits, clear;
+ stbi__gif_lzw *p;
+
+ lzw_cs = stbi__get8(s);
+ if (lzw_cs > 12) return NULL;
+ clear = 1 << lzw_cs;
+ first = 1;
+ codesize = lzw_cs + 1;
+ codemask = (1 << codesize) - 1;
+ bits = 0;
+ valid_bits = 0;
+ for (init_code = 0; init_code < clear; init_code++) {
+ g->codes[init_code].prefix = -1;
+ g->codes[init_code].first = (stbi_uc) init_code;
+ g->codes[init_code].suffix = (stbi_uc) init_code;
+ }
+
+ // support no starting clear code
+ avail = clear+2;
+ oldcode = -1;
+
+ len = 0;
+ for(;;) {
+ if (valid_bits < codesize) {
+ if (len == 0) {
+ len = stbi__get8(s); // start new block
+ if (len == 0)
+ return g->out;
+ }
+ --len;
+ bits |= (stbi__int32) stbi__get8(s) << valid_bits;
+ valid_bits += 8;
+ } else {
+ stbi__int32 code = bits & codemask;
+ bits >>= codesize;
+ valid_bits -= codesize;
+ // @OPTIMIZE: is there some way we can accelerate the non-clear path?
+ if (code == clear) { // clear code
+ codesize = lzw_cs + 1;
+ codemask = (1 << codesize) - 1;
+ avail = clear + 2;
+ oldcode = -1;
+ first = 0;
+ } else if (code == clear + 1) { // end of stream code
+ stbi__skip(s, len);
+ while ((len = stbi__get8(s)) > 0)
+ stbi__skip(s,len);
+ return g->out;
+ } else if (code <= avail) {
+ if (first) {
+ return stbi__errpuc("no clear code", "Corrupt GIF");
+ }
+
+ if (oldcode >= 0) {
+ p = &g->codes[avail++];
+ if (avail > 8192) {
+ return stbi__errpuc("too many codes", "Corrupt GIF");
+ }
+
+ p->prefix = (stbi__int16) oldcode;
+ p->first = g->codes[oldcode].first;
+ p->suffix = (code == avail) ? p->first : g->codes[code].first;
+ } else if (code == avail)
+ return stbi__errpuc("illegal code in raster", "Corrupt GIF");
+
+ stbi__out_gif_code(g, (stbi__uint16) code);
+
+ if ((avail & codemask) == 0 && avail <= 0x0FFF) {
+ codesize++;
+ codemask = (1 << codesize) - 1;
+ }
+
+ oldcode = code;
+ } else {
+ return stbi__errpuc("illegal code in raster", "Corrupt GIF");
+ }
+ }
+ }
+}
+
+// this function is designed to support animated gifs, although stb_image doesn't support it
+// two back is the image from two frames ago, used for a very specific disposal format
+static stbi_uc *stbi__gif_load_next(stbi__context *s, stbi__gif *g, int *comp, int req_comp, stbi_uc *two_back)
+{
+ int dispose;
+ int first_frame;
+ int pi;
+ int pcount;
+ STBI_NOTUSED(req_comp);
+
+ // on first frame, any non-written pixels get the background colour (non-transparent)
+ first_frame = 0;
+ if (g->out == 0) {
+ if (!stbi__gif_header(s, g, comp,0)) return 0; // stbi__g_failure_reason set by stbi__gif_header
+ if (!stbi__mad3sizes_valid(4, g->w, g->h, 0))
+ return stbi__errpuc("too large", "GIF image is too large");
+ pcount = g->w * g->h;
+ g->out = (stbi_uc *) stbi__malloc(4 * pcount);
+ g->background = (stbi_uc *) stbi__malloc(4 * pcount);
+ g->history = (stbi_uc *) stbi__malloc(pcount);
+ if (!g->out || !g->background || !g->history)
+ return stbi__errpuc("outofmem", "Out of memory");
+
+ // image is treated as "transparent" at the start - ie, nothing overwrites the current background;
+ // background colour is only used for pixels that are not rendered first frame, after that "background"
+ // color refers to the color that was there the previous frame.
+ memset(g->out, 0x00, 4 * pcount);
+ memset(g->background, 0x00, 4 * pcount); // state of the background (starts transparent)
+ memset(g->history, 0x00, pcount); // pixels that were affected previous frame
+ first_frame = 1;
+ } else {
+ // second frame - how do we dispose of the previous one?
+ dispose = (g->eflags & 0x1C) >> 2;
+ pcount = g->w * g->h;
+
+ if ((dispose == 3) && (two_back == 0)) {
+ dispose = 2; // if I don't have an image to revert back to, default to the old background
+ }
+
+ if (dispose == 3) { // use previous graphic
+ for (pi = 0; pi < pcount; ++pi) {
+ if (g->history[pi]) {
+ memcpy( &g->out[pi * 4], &two_back[pi * 4], 4 );
+ }
+ }
+ } else if (dispose == 2) {
+ // restore what was changed last frame to background before that frame;
+ for (pi = 0; pi < pcount; ++pi) {
+ if (g->history[pi]) {
+ memcpy( &g->out[pi * 4], &g->background[pi * 4], 4 );
+ }
+ }
+ } else {
+ // This is a non-disposal case eithe way, so just
+ // leave the pixels as is, and they will become the new background
+ // 1: do not dispose
+ // 0: not specified.
+ }
+
+ // background is what out is after the undoing of the previou frame;
+ memcpy( g->background, g->out, 4 * g->w * g->h );
+ }
+
+ // clear my history;
+ memset( g->history, 0x00, g->w * g->h ); // pixels that were affected previous frame
+
+ for (;;) {
+ int tag = stbi__get8(s);
+ switch (tag) {
+ case 0x2C: /* Image Descriptor */
+ {
+ stbi__int32 x, y, w, h;
+ stbi_uc *o;
+
+ x = stbi__get16le(s);
+ y = stbi__get16le(s);
+ w = stbi__get16le(s);
+ h = stbi__get16le(s);
+ if (((x + w) > (g->w)) || ((y + h) > (g->h)))
+ return stbi__errpuc("bad Image Descriptor", "Corrupt GIF");
+
+ g->line_size = g->w * 4;
+ g->start_x = x * 4;
+ g->start_y = y * g->line_size;
+ g->max_x = g->start_x + w * 4;
+ g->max_y = g->start_y + h * g->line_size;
+ g->cur_x = g->start_x;
+ g->cur_y = g->start_y;
+
+ // if the width of the specified rectangle is 0, that means
+ // we may not see *any* pixels or the image is malformed;
+ // to make sure this is caught, move the current y down to
+ // max_y (which is what out_gif_code checks).
+ if (w == 0)
+ g->cur_y = g->max_y;
+
+ g->lflags = stbi__get8(s);
+
+ if (g->lflags & 0x40) {
+ g->step = 8 * g->line_size; // first interlaced spacing
+ g->parse = 3;
+ } else {
+ g->step = g->line_size;
+ g->parse = 0;
+ }
+
+ if (g->lflags & 0x80) {
+ stbi__gif_parse_colortable(s,g->lpal, 2 << (g->lflags & 7), g->eflags & 0x01 ? g->transparent : -1);
+ g->color_table = (stbi_uc *) g->lpal;
+ } else if (g->flags & 0x80) {
+ g->color_table = (stbi_uc *) g->pal;
+ } else
+ return stbi__errpuc("missing color table", "Corrupt GIF");
+
+ o = stbi__process_gif_raster(s, g);
+ if (!o) return NULL;
+
+ // if this was the first frame,
+ pcount = g->w * g->h;
+ if (first_frame && (g->bgindex > 0)) {
+ // if first frame, any pixel not drawn to gets the background color
+ for (pi = 0; pi < pcount; ++pi) {
+ if (g->history[pi] == 0) {
+ g->pal[g->bgindex][3] = 255; // just in case it was made transparent, undo that; It will be reset next frame if need be;
+ memcpy( &g->out[pi * 4], &g->pal[g->bgindex], 4 );
+ }
+ }
+ }
+
+ return o;
+ }
+
+ case 0x21: // Comment Extension.
+ {
+ int len;
+ int ext = stbi__get8(s);
+ if (ext == 0xF9) { // Graphic Control Extension.
+ len = stbi__get8(s);
+ if (len == 4) {
+ g->eflags = stbi__get8(s);
+ g->delay = 10 * stbi__get16le(s); // delay - 1/100th of a second, saving as 1/1000ths.
+
+ // unset old transparent
+ if (g->transparent >= 0) {
+ g->pal[g->transparent][3] = 255;
+ }
+ if (g->eflags & 0x01) {
+ g->transparent = stbi__get8(s);
+ if (g->transparent >= 0) {
+ g->pal[g->transparent][3] = 0;
+ }
+ } else {
+ // don't need transparent
+ stbi__skip(s, 1);
+ g->transparent = -1;
+ }
+ } else {
+ stbi__skip(s, len);
+ break;
+ }
+ }
+ while ((len = stbi__get8(s)) != 0) {
+ stbi__skip(s, len);
+ }
+ break;
+ }
+
+ case 0x3B: // gif stream termination code
+ return (stbi_uc *) s; // using '1' causes warning on some compilers
+
+ default:
+ return stbi__errpuc("unknown code", "Corrupt GIF");
+ }
+ }
+}
+
+static void *stbi__load_gif_main_outofmem(stbi__gif *g, stbi_uc *out, int **delays)
+{
+ STBI_FREE(g->out);
+ STBI_FREE(g->history);
+ STBI_FREE(g->background);
+
+ if (out) STBI_FREE(out);
+ if (delays && *delays) STBI_FREE(*delays);
+ return stbi__errpuc("outofmem", "Out of memory");
+}
+
+static void *stbi__load_gif_main(stbi__context *s, int **delays, int *x, int *y, int *z, int *comp, int req_comp)
+{
+ if (stbi__gif_test(s)) {
+ int layers = 0;
+ stbi_uc *u = 0;
+ stbi_uc *out = 0;
+ stbi_uc *two_back = 0;
+ stbi__gif g;
+ int stride;
+ int out_size = 0;
+ int delays_size = 0;
+
+ STBI_NOTUSED(out_size);
+ STBI_NOTUSED(delays_size);
+
+ memset(&g, 0, sizeof(g));
+ if (delays) {
+ *delays = 0;
+ }
+
+ do {
+ u = stbi__gif_load_next(s, &g, comp, req_comp, two_back);
+ if (u == (stbi_uc *) s) u = 0; // end of animated gif marker
+
+ if (u) {
+ *x = g.w;
+ *y = g.h;
+ ++layers;
+ stride = g.w * g.h * 4;
+
+ if (out) {
+ void *tmp = (stbi_uc*) STBI_REALLOC_SIZED( out, out_size, layers * stride );
+ if (!tmp)
+ return stbi__load_gif_main_outofmem(&g, out, delays);
+ else {
+ out = (stbi_uc*) tmp;
+ out_size = layers * stride;
+ }
+
+ if (delays) {
+ int *new_delays = (int*) STBI_REALLOC_SIZED( *delays, delays_size, sizeof(int) * layers );
+ if (!new_delays)
+ return stbi__load_gif_main_outofmem(&g, out, delays);
+ *delays = new_delays;
+ delays_size = layers * sizeof(int);
+ }
+ } else {
+ out = (stbi_uc*)stbi__malloc( layers * stride );
+ if (!out)
+ return stbi__load_gif_main_outofmem(&g, out, delays);
+ out_size = layers * stride;
+ if (delays) {
+ *delays = (int*) stbi__malloc( layers * sizeof(int) );
+ if (!*delays)
+ return stbi__load_gif_main_outofmem(&g, out, delays);
+ delays_size = layers * sizeof(int);
+ }
+ }
+ memcpy( out + ((layers - 1) * stride), u, stride );
+ if (layers >= 2) {
+ two_back = out - 2 * stride;
+ }
+
+ if (delays) {
+ (*delays)[layers - 1U] = g.delay;
+ }
+ }
+ } while (u != 0);
+
+ // free temp buffer;
+ STBI_FREE(g.out);
+ STBI_FREE(g.history);
+ STBI_FREE(g.background);
+
+ // do the final conversion after loading everything;
+ if (req_comp && req_comp != 4)
+ out = stbi__convert_format(out, 4, req_comp, layers * g.w, g.h);
+
+ *z = layers;
+ return out;
+ } else {
+ return stbi__errpuc("not GIF", "Image was not as a gif type.");
+ }
+}
+
+static void *stbi__gif_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri)
+{
+ stbi_uc *u = 0;
+ stbi__gif g;
+ memset(&g, 0, sizeof(g));
+ STBI_NOTUSED(ri);
+
+ u = stbi__gif_load_next(s, &g, comp, req_comp, 0);
+ if (u == (stbi_uc *) s) u = 0; // end of animated gif marker
+ if (u) {
+ *x = g.w;
+ *y = g.h;
+
+ // moved conversion to after successful load so that the same
+ // can be done for multiple frames.
+ if (req_comp && req_comp != 4)
+ u = stbi__convert_format(u, 4, req_comp, g.w, g.h);
+ } else if (g.out) {
+ // if there was an error and we allocated an image buffer, free it!
+ STBI_FREE(g.out);
+ }
+
+ // free buffers needed for multiple frame loading;
+ STBI_FREE(g.history);
+ STBI_FREE(g.background);
+
+ return u;
+}
+
+static int stbi__gif_info(stbi__context *s, int *x, int *y, int *comp)
+{
+ return stbi__gif_info_raw(s,x,y,comp);
+}
+#endif
+
+// *************************************************************************************************
+// Radiance RGBE HDR loader
+// originally by Nicolas Schulz
+#ifndef STBI_NO_HDR
+static int stbi__hdr_test_core(stbi__context *s, const char *signature)
+{
+ int i;
+ for (i=0; signature[i]; ++i)
+ if (stbi__get8(s) != signature[i])
+ return 0;
+ stbi__rewind(s);
+ return 1;
+}
+
+static int stbi__hdr_test(stbi__context* s)
+{
+ int r = stbi__hdr_test_core(s, "#?RADIANCE\n");
+ stbi__rewind(s);
+ if(!r) {
+ r = stbi__hdr_test_core(s, "#?RGBE\n");
+ stbi__rewind(s);
+ }
+ return r;
+}
+
+#define STBI__HDR_BUFLEN 1024
+static char *stbi__hdr_gettoken(stbi__context *z, char *buffer)
+{
+ int len=0;
+ char c = '\0';
+
+ c = (char) stbi__get8(z);
+
+ while (!stbi__at_eof(z) && c != '\n') {
+ buffer[len++] = c;
+ if (len == STBI__HDR_BUFLEN-1) {
+ // flush to end of line
+ while (!stbi__at_eof(z) && stbi__get8(z) != '\n')
+ ;
+ break;
+ }
+ c = (char) stbi__get8(z);
+ }
+
+ buffer[len] = 0;
+ return buffer;
+}
+
+static void stbi__hdr_convert(float *output, stbi_uc *input, int req_comp)
+{
+ if ( input[3] != 0 ) {
+ float f1;
+ // Exponent
+ f1 = (float) ldexp(1.0f, input[3] - (int)(128 + 8));
+ if (req_comp <= 2)
+ output[0] = (input[0] + input[1] + input[2]) * f1 / 3;
+ else {
+ output[0] = input[0] * f1;
+ output[1] = input[1] * f1;
+ output[2] = input[2] * f1;
+ }
+ if (req_comp == 2) output[1] = 1;
+ if (req_comp == 4) output[3] = 1;
+ } else {
+ switch (req_comp) {
+ case 4: output[3] = 1; /* fallthrough */
+ case 3: output[0] = output[1] = output[2] = 0;
+ break;
+ case 2: output[1] = 1; /* fallthrough */
+ case 1: output[0] = 0;
+ break;
+ }
+ }
+}
+
+static float *stbi__hdr_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri)
+{
+ char buffer[STBI__HDR_BUFLEN];
+ char *token;
+ int valid = 0;
+ int width, height;
+ stbi_uc *scanline;
+ float *hdr_data;
+ int len;
+ unsigned char count, value;
+ int i, j, k, c1,c2, z;
+ const char *headerToken;
+ STBI_NOTUSED(ri);
+
+ // Check identifier
+ headerToken = stbi__hdr_gettoken(s,buffer);
+ if (strcmp(headerToken, "#?RADIANCE") != 0 && strcmp(headerToken, "#?RGBE") != 0)
+ return stbi__errpf("not HDR", "Corrupt HDR image");
+
+ // Parse header
+ for(;;) {
+ token = stbi__hdr_gettoken(s,buffer);
+ if (token[0] == 0) break;
+ if (strcmp(token, "FORMAT=32-bit_rle_rgbe") == 0) valid = 1;
+ }
+
+ if (!valid) return stbi__errpf("unsupported format", "Unsupported HDR format");
+
+ // Parse width and height
+ // can't use sscanf() if we're not using stdio!
+ token = stbi__hdr_gettoken(s,buffer);
+ if (strncmp(token, "-Y ", 3)) return stbi__errpf("unsupported data layout", "Unsupported HDR format");
+ token += 3;
+ height = (int) strtol(token, &token, 10);
+ while (*token == ' ') ++token;
+ if (strncmp(token, "+X ", 3)) return stbi__errpf("unsupported data layout", "Unsupported HDR format");
+ token += 3;
+ width = (int) strtol(token, NULL, 10);
+
+ if (height > STBI_MAX_DIMENSIONS) return stbi__errpf("too large","Very large image (corrupt?)");
+ if (width > STBI_MAX_DIMENSIONS) return stbi__errpf("too large","Very large image (corrupt?)");
+
+ *x = width;
+ *y = height;
+
+ if (comp) *comp = 3;
+ if (req_comp == 0) req_comp = 3;
+
+ if (!stbi__mad4sizes_valid(width, height, req_comp, sizeof(float), 0))
+ return stbi__errpf("too large", "HDR image is too large");
+
+ // Read data
+ hdr_data = (float *) stbi__malloc_mad4(width, height, req_comp, sizeof(float), 0);
+ if (!hdr_data)
+ return stbi__errpf("outofmem", "Out of memory");
+
+ // Load image data
+ // image data is stored as some number of sca
+ if ( width < 8 || width >= 32768) {
+ // Read flat data
+ for (j=0; j < height; ++j) {
+ for (i=0; i < width; ++i) {
+ stbi_uc rgbe[4];
+ main_decode_loop:
+ stbi__getn(s, rgbe, 4);
+ stbi__hdr_convert(hdr_data + j * width * req_comp + i * req_comp, rgbe, req_comp);
+ }
+ }
+ } else {
+ // Read RLE-encoded data
+ scanline = NULL;
+
+ for (j = 0; j < height; ++j) {
+ c1 = stbi__get8(s);
+ c2 = stbi__get8(s);
+ len = stbi__get8(s);
+ if (c1 != 2 || c2 != 2 || (len & 0x80)) {
+ // not run-length encoded, so we have to actually use THIS data as a decoded
+ // pixel (note this can't be a valid pixel--one of RGB must be >= 128)
+ stbi_uc rgbe[4];
+ rgbe[0] = (stbi_uc) c1;
+ rgbe[1] = (stbi_uc) c2;
+ rgbe[2] = (stbi_uc) len;
+ rgbe[3] = (stbi_uc) stbi__get8(s);
+ stbi__hdr_convert(hdr_data, rgbe, req_comp);
+ i = 1;
+ j = 0;
+ STBI_FREE(scanline);
+ goto main_decode_loop; // yes, this makes no sense
+ }
+ len <<= 8;
+ len |= stbi__get8(s);
+ if (len != width) { STBI_FREE(hdr_data); STBI_FREE(scanline); return stbi__errpf("invalid decoded scanline length", "corrupt HDR"); }
+ if (scanline == NULL) {
+ scanline = (stbi_uc *) stbi__malloc_mad2(width, 4, 0);
+ if (!scanline) {
+ STBI_FREE(hdr_data);
+ return stbi__errpf("outofmem", "Out of memory");
+ }
+ }
+
+ for (k = 0; k < 4; ++k) {
+ int nleft;
+ i = 0;
+ while ((nleft = width - i) > 0) {
+ count = stbi__get8(s);
+ if (count > 128) {
+ // Run
+ value = stbi__get8(s);
+ count -= 128;
+ if ((count == 0) || (count > nleft)) { STBI_FREE(hdr_data); STBI_FREE(scanline); return stbi__errpf("corrupt", "bad RLE data in HDR"); }
+ for (z = 0; z < count; ++z)
+ scanline[i++ * 4 + k] = value;
+ } else {
+ // Dump
+ if ((count == 0) || (count > nleft)) { STBI_FREE(hdr_data); STBI_FREE(scanline); return stbi__errpf("corrupt", "bad RLE data in HDR"); }
+ for (z = 0; z < count; ++z)
+ scanline[i++ * 4 + k] = stbi__get8(s);
+ }
+ }
+ }
+ for (i=0; i < width; ++i)
+ stbi__hdr_convert(hdr_data+(j*width + i)*req_comp, scanline + i*4, req_comp);
+ }
+ if (scanline)
+ STBI_FREE(scanline);
+ }
+
+ return hdr_data;
+}
+
+static int stbi__hdr_info(stbi__context *s, int *x, int *y, int *comp)
+{
+ char buffer[STBI__HDR_BUFLEN];
+ char *token;
+ int valid = 0;
+ int dummy;
+
+ if (!x) x = &dummy;
+ if (!y) y = &dummy;
+ if (!comp) comp = &dummy;
+
+ if (stbi__hdr_test(s) == 0) {
+ stbi__rewind( s );
+ return 0;
+ }
+
+ for(;;) {
+ token = stbi__hdr_gettoken(s,buffer);
+ if (token[0] == 0) break;
+ if (strcmp(token, "FORMAT=32-bit_rle_rgbe") == 0) valid = 1;
+ }
+
+ if (!valid) {
+ stbi__rewind( s );
+ return 0;
+ }
+ token = stbi__hdr_gettoken(s,buffer);
+ if (strncmp(token, "-Y ", 3)) {
+ stbi__rewind( s );
+ return 0;
+ }
+ token += 3;
+ *y = (int) strtol(token, &token, 10);
+ while (*token == ' ') ++token;
+ if (strncmp(token, "+X ", 3)) {
+ stbi__rewind( s );
+ return 0;
+ }
+ token += 3;
+ *x = (int) strtol(token, NULL, 10);
+ *comp = 3;
+ return 1;
+}
+#endif // STBI_NO_HDR
+
+#ifndef STBI_NO_BMP
+static int stbi__bmp_info(stbi__context *s, int *x, int *y, int *comp)
+{
+ void *p;
+ stbi__bmp_data info;
+
+ info.all_a = 255;
+ p = stbi__bmp_parse_header(s, &info);
+ if (p == NULL) {
+ stbi__rewind( s );
+ return 0;
+ }
+ if (x) *x = s->img_x;
+ if (y) *y = s->img_y;
+ if (comp) {
+ if (info.bpp == 24 && info.ma == 0xff000000)
+ *comp = 3;
+ else
+ *comp = info.ma ? 4 : 3;
+ }
+ return 1;
+}
+#endif
+
+#ifndef STBI_NO_PSD
+static int stbi__psd_info(stbi__context *s, int *x, int *y, int *comp)
+{
+ int channelCount, dummy, depth;
+ if (!x) x = &dummy;
+ if (!y) y = &dummy;
+ if (!comp) comp = &dummy;
+ if (stbi__get32be(s) != 0x38425053) {
+ stbi__rewind( s );
+ return 0;
+ }
+ if (stbi__get16be(s) != 1) {
+ stbi__rewind( s );
+ return 0;
+ }
+ stbi__skip(s, 6);
+ channelCount = stbi__get16be(s);
+ if (channelCount < 0 || channelCount > 16) {
+ stbi__rewind( s );
+ return 0;
+ }
+ *y = stbi__get32be(s);
+ *x = stbi__get32be(s);
+ depth = stbi__get16be(s);
+ if (depth != 8 && depth != 16) {
+ stbi__rewind( s );
+ return 0;
+ }
+ if (stbi__get16be(s) != 3) {
+ stbi__rewind( s );
+ return 0;
+ }
+ *comp = 4;
+ return 1;
+}
+
+static int stbi__psd_is16(stbi__context *s)
+{
+ int channelCount, depth;
+ if (stbi__get32be(s) != 0x38425053) {
+ stbi__rewind( s );
+ return 0;
+ }
+ if (stbi__get16be(s) != 1) {
+ stbi__rewind( s );
+ return 0;
+ }
+ stbi__skip(s, 6);
+ channelCount = stbi__get16be(s);
+ if (channelCount < 0 || channelCount > 16) {
+ stbi__rewind( s );
+ return 0;
+ }
+ STBI_NOTUSED(stbi__get32be(s));
+ STBI_NOTUSED(stbi__get32be(s));
+ depth = stbi__get16be(s);
+ if (depth != 16) {
+ stbi__rewind( s );
+ return 0;
+ }
+ return 1;
+}
+#endif
+
+#ifndef STBI_NO_PIC
+static int stbi__pic_info(stbi__context *s, int *x, int *y, int *comp)
+{
+ int act_comp=0,num_packets=0,chained,dummy;
+ stbi__pic_packet packets[10];
+
+ if (!x) x = &dummy;
+ if (!y) y = &dummy;
+ if (!comp) comp = &dummy;
+
+ if (!stbi__pic_is4(s,"\x53\x80\xF6\x34")) {
+ stbi__rewind(s);
+ return 0;
+ }
+
+ stbi__skip(s, 88);
+
+ *x = stbi__get16be(s);
+ *y = stbi__get16be(s);
+ if (stbi__at_eof(s)) {
+ stbi__rewind( s);
+ return 0;
+ }
+ if ( (*x) != 0 && (1 << 28) / (*x) < (*y)) {
+ stbi__rewind( s );
+ return 0;
+ }
+
+ stbi__skip(s, 8);
+
+ do {
+ stbi__pic_packet *packet;
+
+ if (num_packets==sizeof(packets)/sizeof(packets[0]))
+ return 0;
+
+ packet = &packets[num_packets++];
+ chained = stbi__get8(s);
+ packet->size = stbi__get8(s);
+ packet->type = stbi__get8(s);
+ packet->channel = stbi__get8(s);
+ act_comp |= packet->channel;
+
+ if (stbi__at_eof(s)) {
+ stbi__rewind( s );
+ return 0;
+ }
+ if (packet->size != 8) {
+ stbi__rewind( s );
+ return 0;
+ }
+ } while (chained);
+
+ *comp = (act_comp & 0x10 ? 4 : 3);
+
+ return 1;
+}
+#endif
+
+// *************************************************************************************************
+// Portable Gray Map and Portable Pixel Map loader
+// by Ken Miller
+//
+// PGM: http://netpbm.sourceforge.net/doc/pgm.html
+// PPM: http://netpbm.sourceforge.net/doc/ppm.html
+//
+// Known limitations:
+// Does not support comments in the header section
+// Does not support ASCII image data (formats P2 and P3)
+
+#ifndef STBI_NO_PNM
+
+static int stbi__pnm_test(stbi__context *s)
+{
+ char p, t;
+ p = (char) stbi__get8(s);
+ t = (char) stbi__get8(s);
+ if (p != 'P' || (t != '5' && t != '6')) {
+ stbi__rewind( s );
+ return 0;
+ }
+ return 1;
+}
+
+static void *stbi__pnm_load(stbi__context *s, int *x, int *y, int *comp, int req_comp, stbi__result_info *ri)
+{
+ stbi_uc *out;
+ STBI_NOTUSED(ri);
+
+ ri->bits_per_channel = stbi__pnm_info(s, (int *)&s->img_x, (int *)&s->img_y, (int *)&s->img_n);
+ if (ri->bits_per_channel == 0)
+ return 0;
+
+ if (s->img_y > STBI_MAX_DIMENSIONS) return stbi__errpuc("too large","Very large image (corrupt?)");
+ if (s->img_x > STBI_MAX_DIMENSIONS) return stbi__errpuc("too large","Very large image (corrupt?)");
+
+ *x = s->img_x;
+ *y = s->img_y;
+ if (comp) *comp = s->img_n;
+
+ if (!stbi__mad4sizes_valid(s->img_n, s->img_x, s->img_y, ri->bits_per_channel / 8, 0))
+ return stbi__errpuc("too large", "PNM too large");
+
+ out = (stbi_uc *) stbi__malloc_mad4(s->img_n, s->img_x, s->img_y, ri->bits_per_channel / 8, 0);
+ if (!out) return stbi__errpuc("outofmem", "Out of memory");
+ if (!stbi__getn(s, out, s->img_n * s->img_x * s->img_y * (ri->bits_per_channel / 8))) {
+ STBI_FREE(out);
+ return stbi__errpuc("bad PNM", "PNM file truncated");
+ }
+
+ if (req_comp && req_comp != s->img_n) {
+ if (ri->bits_per_channel == 16) {
+ out = (stbi_uc *) stbi__convert_format16((stbi__uint16 *) out, s->img_n, req_comp, s->img_x, s->img_y);
+ } else {
+ out = stbi__convert_format(out, s->img_n, req_comp, s->img_x, s->img_y);
+ }
+ if (out == NULL) return out; // stbi__convert_format frees input on failure
+ }
+ return out;
+}
+
+static int stbi__pnm_isspace(char c)
+{
+ return c == ' ' || c == '\t' || c == '\n' || c == '\v' || c == '\f' || c == '\r';
+}
+
+static void stbi__pnm_skip_whitespace(stbi__context *s, char *c)
+{
+ for (;;) {
+ while (!stbi__at_eof(s) && stbi__pnm_isspace(*c))
+ *c = (char) stbi__get8(s);
+
+ if (stbi__at_eof(s) || *c != '#')
+ break;
+
+ while (!stbi__at_eof(s) && *c != '\n' && *c != '\r' )
+ *c = (char) stbi__get8(s);
+ }
+}
+
+static int stbi__pnm_isdigit(char c)
+{
+ return c >= '0' && c <= '9';
+}
+
+static int stbi__pnm_getinteger(stbi__context *s, char *c)
+{
+ int value = 0;
+
+ while (!stbi__at_eof(s) && stbi__pnm_isdigit(*c)) {
+ value = value*10 + (*c - '0');
+ *c = (char) stbi__get8(s);
+ if((value > 214748364) || (value == 214748364 && *c > '7'))
+ return stbi__err("integer parse overflow", "Parsing an integer in the PPM header overflowed a 32-bit int");
+ }
+
+ return value;
+}
+
+static int stbi__pnm_info(stbi__context *s, int *x, int *y, int *comp)
+{
+ int maxv, dummy;
+ char c, p, t;
+
+ if (!x) x = &dummy;
+ if (!y) y = &dummy;
+ if (!comp) comp = &dummy;
+
+ stbi__rewind(s);
+
+ // Get identifier
+ p = (char) stbi__get8(s);
+ t = (char) stbi__get8(s);
+ if (p != 'P' || (t != '5' && t != '6')) {
+ stbi__rewind(s);
+ return 0;
+ }
+
+ *comp = (t == '6') ? 3 : 1; // '5' is 1-component .pgm; '6' is 3-component .ppm
+
+ c = (char) stbi__get8(s);
+ stbi__pnm_skip_whitespace(s, &c);
+
+ *x = stbi__pnm_getinteger(s, &c); // read width
+ if(*x == 0)
+ return stbi__err("invalid width", "PPM image header had zero or overflowing width");
+ stbi__pnm_skip_whitespace(s, &c);
+
+ *y = stbi__pnm_getinteger(s, &c); // read height
+ if (*y == 0)
+ return stbi__err("invalid width", "PPM image header had zero or overflowing width");
+ stbi__pnm_skip_whitespace(s, &c);
+
+ maxv = stbi__pnm_getinteger(s, &c); // read max value
+ if (maxv > 65535)
+ return stbi__err("max value > 65535", "PPM image supports only 8-bit and 16-bit images");
+ else if (maxv > 255)
+ return 16;
+ else
+ return 8;
+}
+
+static int stbi__pnm_is16(stbi__context *s)
+{
+ if (stbi__pnm_info(s, NULL, NULL, NULL) == 16)
+ return 1;
+ return 0;
+}
+#endif
+
+static int stbi__info_main(stbi__context *s, int *x, int *y, int *comp)
+{
+ #ifndef STBI_NO_JPEG
+ if (stbi__jpeg_info(s, x, y, comp)) return 1;
+ #endif
+
+ #ifndef STBI_NO_PNG
+ if (stbi__png_info(s, x, y, comp)) return 1;
+ #endif
+
+ #ifndef STBI_NO_GIF
+ if (stbi__gif_info(s, x, y, comp)) return 1;
+ #endif
+
+ #ifndef STBI_NO_BMP
+ if (stbi__bmp_info(s, x, y, comp)) return 1;
+ #endif
+
+ #ifndef STBI_NO_PSD
+ if (stbi__psd_info(s, x, y, comp)) return 1;
+ #endif
+
+ #ifndef STBI_NO_PIC
+ if (stbi__pic_info(s, x, y, comp)) return 1;
+ #endif
+
+ #ifndef STBI_NO_PNM
+ if (stbi__pnm_info(s, x, y, comp)) return 1;
+ #endif
+
+ #ifndef STBI_NO_HDR
+ if (stbi__hdr_info(s, x, y, comp)) return 1;
+ #endif
+
+ // test tga last because it's a crappy test!
+ #ifndef STBI_NO_TGA
+ if (stbi__tga_info(s, x, y, comp))
+ return 1;
+ #endif
+ return stbi__err("unknown image type", "Image not of any known type, or corrupt");
+}
+
+static int stbi__is_16_main(stbi__context *s)
+{
+ #ifndef STBI_NO_PNG
+ if (stbi__png_is16(s)) return 1;
+ #endif
+
+ #ifndef STBI_NO_PSD
+ if (stbi__psd_is16(s)) return 1;
+ #endif
+
+ #ifndef STBI_NO_PNM
+ if (stbi__pnm_is16(s)) return 1;
+ #endif
+ return 0;
+}
+
+#ifndef STBI_NO_STDIO
+STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp)
+{
+ FILE *f = stbi__fopen(filename, "rb");
+ int result;
+ if (!f) return stbi__err("can't fopen", "Unable to open file");
+ result = stbi_info_from_file(f, x, y, comp);
+ fclose(f);
+ return result;
+}
+
+STBIDEF int stbi_info_from_file(FILE *f, int *x, int *y, int *comp)
+{
+ int r;
+ stbi__context s;
+ long pos = ftell(f);
+ stbi__start_file(&s, f);
+ r = stbi__info_main(&s,x,y,comp);
+ fseek(f,pos,SEEK_SET);
+ return r;
+}
+
+STBIDEF int stbi_is_16_bit(char const *filename)
+{
+ FILE *f = stbi__fopen(filename, "rb");
+ int result;
+ if (!f) return stbi__err("can't fopen", "Unable to open file");
+ result = stbi_is_16_bit_from_file(f);
+ fclose(f);
+ return result;
+}
+
+STBIDEF int stbi_is_16_bit_from_file(FILE *f)
+{
+ int r;
+ stbi__context s;
+ long pos = ftell(f);
+ stbi__start_file(&s, f);
+ r = stbi__is_16_main(&s);
+ fseek(f,pos,SEEK_SET);
+ return r;
+}
+#endif // !STBI_NO_STDIO
+
+STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp)
+{
+ stbi__context s;
+ stbi__start_mem(&s,buffer,len);
+ return stbi__info_main(&s,x,y,comp);
+}
+
+STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp)
+{
+ stbi__context s;
+ stbi__start_callbacks(&s, (stbi_io_callbacks *) c, user);
+ return stbi__info_main(&s,x,y,comp);
+}
+
+STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len)
+{
+ stbi__context s;
+ stbi__start_mem(&s,buffer,len);
+ return stbi__is_16_main(&s);
+}
+
+STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user)
+{
+ stbi__context s;
+ stbi__start_callbacks(&s, (stbi_io_callbacks *) c, user);
+ return stbi__is_16_main(&s);
+}
+
+/*
+ revision history:
+ 2.20 (2019-02-07) support utf8 filenames in Windows; fix warnings and platform ifdefs
+ 2.19 (2018-02-11) fix warning
+ 2.18 (2018-01-30) fix warnings
+ 2.17 (2018-01-29) change sbti__shiftsigned to avoid clang -O2 bug
+ 1-bit BMP
+ *_is_16_bit api
+ avoid warnings
+ 2.16 (2017-07-23) all functions have 16-bit variants;
+ STBI_NO_STDIO works again;
+ compilation fixes;
+ fix rounding in unpremultiply;
+ optimize vertical flip;
+ disable raw_len validation;
+ documentation fixes
+ 2.15 (2017-03-18) fix png-1,2,4 bug; now all Imagenet JPGs decode;
+ warning fixes; disable run-time SSE detection on gcc;
+ uniform handling of optional "return" values;
+ thread-safe initialization of zlib tables
+ 2.14 (2017-03-03) remove deprecated STBI_JPEG_OLD; fixes for Imagenet JPGs
+ 2.13 (2016-11-29) add 16-bit API, only supported for PNG right now
+ 2.12 (2016-04-02) fix typo in 2.11 PSD fix that caused crashes
+ 2.11 (2016-04-02) allocate large structures on the stack
+ remove white matting for transparent PSD
+ fix reported channel count for PNG & BMP
+ re-enable SSE2 in non-gcc 64-bit
+ support RGB-formatted JPEG
+ read 16-bit PNGs (only as 8-bit)
+ 2.10 (2016-01-22) avoid warning introduced in 2.09 by STBI_REALLOC_SIZED
+ 2.09 (2016-01-16) allow comments in PNM files
+ 16-bit-per-pixel TGA (not bit-per-component)
+ info() for TGA could break due to .hdr handling
+ info() for BMP to shares code instead of sloppy parse
+ can use STBI_REALLOC_SIZED if allocator doesn't support realloc
+ code cleanup
+ 2.08 (2015-09-13) fix to 2.07 cleanup, reading RGB PSD as RGBA
+ 2.07 (2015-09-13) fix compiler warnings
+ partial animated GIF support
+ limited 16-bpc PSD support
+ #ifdef unused functions
+ bug with < 92 byte PIC,PNM,HDR,TGA
+ 2.06 (2015-04-19) fix bug where PSD returns wrong '*comp' value
+ 2.05 (2015-04-19) fix bug in progressive JPEG handling, fix warning
+ 2.04 (2015-04-15) try to re-enable SIMD on MinGW 64-bit
+ 2.03 (2015-04-12) extra corruption checking (mmozeiko)
+ stbi_set_flip_vertically_on_load (nguillemot)
+ fix NEON support; fix mingw support
+ 2.02 (2015-01-19) fix incorrect assert, fix warning
+ 2.01 (2015-01-17) fix various warnings; suppress SIMD on gcc 32-bit without -msse2
+ 2.00b (2014-12-25) fix STBI_MALLOC in progressive JPEG
+ 2.00 (2014-12-25) optimize JPG, including x86 SSE2 & NEON SIMD (ryg)
+ progressive JPEG (stb)
+ PGM/PPM support (Ken Miller)
+ STBI_MALLOC,STBI_REALLOC,STBI_FREE
+ GIF bugfix -- seemingly never worked
+ STBI_NO_*, STBI_ONLY_*
+ 1.48 (2014-12-14) fix incorrectly-named assert()
+ 1.47 (2014-12-14) 1/2/4-bit PNG support, both direct and paletted (Omar Cornut & stb)
+ optimize PNG (ryg)
+ fix bug in interlaced PNG with user-specified channel count (stb)
+ 1.46 (2014-08-26)
+ fix broken tRNS chunk (colorkey-style transparency) in non-paletted PNG
+ 1.45 (2014-08-16)
+ fix MSVC-ARM internal compiler error by wrapping malloc
+ 1.44 (2014-08-07)
+ various warning fixes from Ronny Chevalier
+ 1.43 (2014-07-15)
+ fix MSVC-only compiler problem in code changed in 1.42
+ 1.42 (2014-07-09)
+ don't define _CRT_SECURE_NO_WARNINGS (affects user code)
+ fixes to stbi__cleanup_jpeg path
+ added STBI_ASSERT to avoid requiring assert.h
+ 1.41 (2014-06-25)
+ fix search&replace from 1.36 that messed up comments/error messages
+ 1.40 (2014-06-22)
+ fix gcc struct-initialization warning
+ 1.39 (2014-06-15)
+ fix to TGA optimization when req_comp != number of components in TGA;
+ fix to GIF loading because BMP wasn't rewinding (whoops, no GIFs in my test suite)
+ add support for BMP version 5 (more ignored fields)
+ 1.38 (2014-06-06)
+ suppress MSVC warnings on integer casts truncating values
+ fix accidental rename of 'skip' field of I/O
+ 1.37 (2014-06-04)
+ remove duplicate typedef
+ 1.36 (2014-06-03)
+ convert to header file single-file library
+ if de-iphone isn't set, load iphone images color-swapped instead of returning NULL
+ 1.35 (2014-05-27)
+ various warnings
+ fix broken STBI_SIMD path
+ fix bug where stbi_load_from_file no longer left file pointer in correct place
+ fix broken non-easy path for 32-bit BMP (possibly never used)
+ TGA optimization by Arseny Kapoulkine
+ 1.34 (unknown)
+ use STBI_NOTUSED in stbi__resample_row_generic(), fix one more leak in tga failure case
+ 1.33 (2011-07-14)
+ make stbi_is_hdr work in STBI_NO_HDR (as specified), minor compiler-friendly improvements
+ 1.32 (2011-07-13)
+ support for "info" function for all supported filetypes (SpartanJ)
+ 1.31 (2011-06-20)
+ a few more leak fixes, bug in PNG handling (SpartanJ)
+ 1.30 (2011-06-11)
+ added ability to load files via callbacks to accomidate custom input streams (Ben Wenger)
+ removed deprecated format-specific test/load functions
+ removed support for installable file formats (stbi_loader) -- would have been broken for IO callbacks anyway
+ error cases in bmp and tga give messages and don't leak (Raymond Barbiero, grisha)
+ fix inefficiency in decoding 32-bit BMP (David Woo)
+ 1.29 (2010-08-16)
+ various warning fixes from Aurelien Pocheville
+ 1.28 (2010-08-01)
+ fix bug in GIF palette transparency (SpartanJ)
+ 1.27 (2010-08-01)
+ cast-to-stbi_uc to fix warnings
+ 1.26 (2010-07-24)
+ fix bug in file buffering for PNG reported by SpartanJ
+ 1.25 (2010-07-17)
+ refix trans_data warning (Won Chun)
+ 1.24 (2010-07-12)
+ perf improvements reading from files on platforms with lock-heavy fgetc()
+ minor perf improvements for jpeg
+ deprecated type-specific functions so we'll get feedback if they're needed
+ attempt to fix trans_data warning (Won Chun)
+ 1.23 fixed bug in iPhone support
+ 1.22 (2010-07-10)
+ removed image *writing* support
+ stbi_info support from Jetro Lauha
+ GIF support from Jean-Marc Lienher
+ iPhone PNG-extensions from James Brown
+ warning-fixes from Nicolas Schulz and Janez Zemva (i.stbi__err. Janez (U+017D)emva)
+ 1.21 fix use of 'stbi_uc' in header (reported by jon blow)
+ 1.20 added support for Softimage PIC, by Tom Seddon
+ 1.19 bug in interlaced PNG corruption check (found by ryg)
+ 1.18 (2008-08-02)
+ fix a threading bug (local mutable static)
+ 1.17 support interlaced PNG
+ 1.16 major bugfix - stbi__convert_format converted one too many pixels
+ 1.15 initialize some fields for thread safety
+ 1.14 fix threadsafe conversion bug
+ header-file-only version (#define STBI_HEADER_FILE_ONLY before including)
+ 1.13 threadsafe
+ 1.12 const qualifiers in the API
+ 1.11 Support installable IDCT, colorspace conversion routines
+ 1.10 Fixes for 64-bit (don't use "unsigned long")
+ optimized upsampling by Fabian "ryg" Giesen
+ 1.09 Fix format-conversion for PSD code (bad global variables!)
+ 1.08 Thatcher Ulrich's PSD code integrated by Nicolas Schulz
+ 1.07 attempt to fix C++ warning/errors again
+ 1.06 attempt to fix C++ warning/errors again
+ 1.05 fix TGA loading to return correct *comp and use good luminance calc
+ 1.04 default float alpha is 1, not 255; use 'void *' for stbi_image_free
+ 1.03 bugfixes to STBI_NO_STDIO, STBI_NO_HDR
+ 1.02 support for (subset of) HDR files, float interface for preferred access to them
+ 1.01 fix bug: possible bug in handling right-side up bmps... not sure
+ fix bug: the stbi__bmp_load() and stbi__tga_load() functions didn't work at all
+ 1.00 interface to zlib that skips zlib header
+ 0.99 correct handling of alpha in palette
+ 0.98 TGA loader by lonesock; dynamically add loaders (untested)
+ 0.97 jpeg errors on too large a file; also catch another malloc failure
+ 0.96 fix detection of invalid v value - particleman@mollyrocket forum
+ 0.95 during header scan, seek to markers in case of padding
+ 0.94 STBI_NO_STDIO to disable stdio usage; rename all #defines the same
+ 0.93 handle jpegtran output; verbose errors
+ 0.92 read 4,8,16,24,32-bit BMP files of several formats
+ 0.91 output 24-bit Windows 3.0 BMP files
+ 0.90 fix a few more warnings; bump version number to approach 1.0
+ 0.61 bugfixes due to Marc LeBlanc, Christopher Lloyd
+ 0.60 fix compiling as c++
+ 0.59 fix warnings: merge Dave Moore's -Wall fixes
+ 0.58 fix bug: zlib uncompressed mode len/nlen was wrong endian
+ 0.57 fix bug: jpg last huffman symbol before marker was >9 bits but less than 16 available
+ 0.56 fix bug: zlib uncompressed mode len vs. nlen
+ 0.55 fix bug: restart_interval not initialized to 0
+ 0.54 allow NULL for 'int *comp'
+ 0.53 fix bug in png 3->4; speedup png decoding
+ 0.52 png handles req_comp=3,4 directly; minor cleanup; jpeg comments
+ 0.51 obey req_comp requests, 1-component jpegs return as 1-component,
+ on 'test' only check type, not whether we support this variant
+ 0.50 (2006-11-19)
+ first released version
+*/
+
+
+/*
+------------------------------------------------------------------------------
+This software is available under 2 licenses -- choose whichever you prefer.
+------------------------------------------------------------------------------
+ALTERNATIVE A - MIT License
+Copyright (c) 2017 Sean Barrett
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+------------------------------------------------------------------------------
+ALTERNATIVE B - Public Domain (www.unlicense.org)
+This is free and unencumbered software released into the public domain.
+Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
+software, either in source code form or as a compiled binary, for any purpose,
+commercial or non-commercial, and by any means.
+In jurisdictions that recognize copyright laws, the author or authors of this
+software dedicate any and all copyright interest in the software to the public
+domain. We make this dedication for the benefit of the public at large and to
+the detriment of our heirs and successors. We intend this dedication to be an
+overt act of relinquishment in perpetuity of all present and future rights to
+this software under copyright law.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+------------------------------------------------------------------------------
+*/
diff --git a/externals/stb/stb_image.h b/externals/stb/stb_image.h
new file mode 100644
index 000000000..f0dfad1c6
--- /dev/null
+++ b/externals/stb/stb_image.h
@@ -0,0 +1,772 @@
+// SPDX-FileCopyrightText: stb http://nothings.org/stb
+// SPDX-License-Identifier: MIT
+
+/* stb_image - v2.28 - public domain image loader - http://nothings.org/stb
+ no warranty implied; use at your own risk
+
+ Do this:
+ #define STB_IMAGE_IMPLEMENTATION
+ before you include this file in *one* C or C++ file to create the implementation.
+
+ // i.e. it should look like this:
+ #include ...
+ #include ...
+ #include ...
+ #define STB_IMAGE_IMPLEMENTATION
+ #include "stb_image.h"
+
+ You can #define STBI_ASSERT(x) before the #include to avoid using assert.h.
+ And #define STBI_MALLOC, STBI_REALLOC, and STBI_FREE to avoid using malloc,realloc,free
+
+
+ QUICK NOTES:
+ Primarily of interest to game developers and other people who can
+ avoid problematic images and only need the trivial interface
+
+ JPEG baseline & progressive (12 bpc/arithmetic not supported, same as stock IJG lib)
+ PNG 1/2/4/8/16-bit-per-channel
+
+ TGA (not sure what subset, if a subset)
+ BMP non-1bpp, non-RLE
+ PSD (composited view only, no extra channels, 8/16 bit-per-channel)
+
+ GIF (*comp always reports as 4-channel)
+ HDR (radiance rgbE format)
+ PIC (Softimage PIC)
+ PNM (PPM and PGM binary only)
+
+ Animated GIF still needs a proper API, but here's one way to do it:
+ http://gist.github.com/urraka/685d9a6340b26b830d49
+
+ - decode from memory or through FILE (define STBI_NO_STDIO to remove code)
+ - decode from arbitrary I/O callbacks
+ - SIMD acceleration on x86/x64 (SSE2) and ARM (NEON)
+
+ Full documentation under "DOCUMENTATION" below.
+
+
+LICENSE
+
+ See end of file for license information.
+
+RECENT REVISION HISTORY:
+
+ 2.28 (2023-01-29) many error fixes, security errors, just tons of stuff
+ 2.27 (2021-07-11) document stbi_info better, 16-bit PNM support, bug fixes
+ 2.26 (2020-07-13) many minor fixes
+ 2.25 (2020-02-02) fix warnings
+ 2.24 (2020-02-02) fix warnings; thread-local failure_reason and flip_vertically
+ 2.23 (2019-08-11) fix clang static analysis warning
+ 2.22 (2019-03-04) gif fixes, fix warnings
+ 2.21 (2019-02-25) fix typo in comment
+ 2.20 (2019-02-07) support utf8 filenames in Windows; fix warnings and platform ifdefs
+ 2.19 (2018-02-11) fix warning
+ 2.18 (2018-01-30) fix warnings
+ 2.17 (2018-01-29) bugfix, 1-bit BMP, 16-bitness query, fix warnings
+ 2.16 (2017-07-23) all functions have 16-bit variants; optimizations; bugfixes
+ 2.15 (2017-03-18) fix png-1,2,4; all Imagenet JPGs; no runtime SSE detection on GCC
+ 2.14 (2017-03-03) remove deprecated STBI_JPEG_OLD; fixes for Imagenet JPGs
+ 2.13 (2016-12-04) experimental 16-bit API, only for PNG so far; fixes
+ 2.12 (2016-04-02) fix typo in 2.11 PSD fix that caused crashes
+ 2.11 (2016-04-02) 16-bit PNGS; enable SSE2 in non-gcc x64
+ RGB-format JPEG; remove white matting in PSD;
+ allocate large structures on the stack;
+ correct channel count for PNG & BMP
+ 2.10 (2016-01-22) avoid warning introduced in 2.09
+ 2.09 (2016-01-16) 16-bit TGA; comments in PNM files; STBI_REALLOC_SIZED
+
+ See end of file for full revision history.
+
+
+ ============================ Contributors =========================
+
+ Image formats Extensions, features
+ Sean Barrett (jpeg, png, bmp) Jetro Lauha (stbi_info)
+ Nicolas Schulz (hdr, psd) Martin "SpartanJ" Golini (stbi_info)
+ Jonathan Dummer (tga) James "moose2000" Brown (iPhone PNG)
+ Jean-Marc Lienher (gif) Ben "Disch" Wenger (io callbacks)
+ Tom Seddon (pic) Omar Cornut (1/2/4-bit PNG)
+ Thatcher Ulrich (psd) Nicolas Guillemot (vertical flip)
+ Ken Miller (pgm, ppm) Richard Mitton (16-bit PSD)
+ github:urraka (animated gif) Junggon Kim (PNM comments)
+ Christopher Forseth (animated gif) Daniel Gibson (16-bit TGA)
+ socks-the-fox (16-bit PNG)
+ Jeremy Sawicki (handle all ImageNet JPGs)
+ Optimizations & bugfixes Mikhail Morozov (1-bit BMP)
+ Fabian "ryg" Giesen Anael Seghezzi (is-16-bit query)
+ Arseny Kapoulkine Simon Breuss (16-bit PNM)
+ John-Mark Allen
+ Carmelo J Fdez-Aguera
+
+ Bug & warning fixes
+ Marc LeBlanc David Woo Guillaume George Martins Mozeiko
+ Christpher Lloyd Jerry Jansson Joseph Thomson Blazej Dariusz Roszkowski
+ Phil Jordan Dave Moore Roy Eltham
+ Hayaki Saito Nathan Reed Won Chun
+ Luke Graham Johan Duparc Nick Verigakis the Horde3D community
+ Thomas Ruf Ronny Chevalier github:rlyeh
+ Janez Zemva John Bartholomew Michal Cichon github:romigrou
+ Jonathan Blow Ken Hamada Tero Hanninen github:svdijk
+ Eugene Golushkov Laurent Gomila Cort Stratton github:snagar
+ Aruelien Pocheville Sergio Gonzalez Thibault Reuille github:Zelex
+ Cass Everitt Ryamond Barbiero github:grim210
+ Paul Du Bois Engin Manap Aldo Culquicondor github:sammyhw
+ Philipp Wiesemann Dale Weiler Oriol Ferrer Mesia github:phprus
+ Josh Tobin Neil Bickford Matthew Gregan github:poppolopoppo
+ Julian Raschke Gregory Mullen Christian Floisand github:darealshinji
+ Baldur Karlsson Kevin Schmidt JR Smith github:Michaelangel007
+ Brad Weinberger Matvey Cherevko github:mosra
+ Luca Sas Alexander Veselov Zack Middleton [reserved]
+ Ryan C. Gordon [reserved] [reserved]
+ DO NOT ADD YOUR NAME HERE
+
+ Jacko Dirks
+
+ To add your name to the credits, pick a random blank space in the middle and fill it.
+ 80% of merge conflicts on stb PRs are due to people adding their name at the end
+ of the credits.
+*/
+
+#ifndef STBI_INCLUDE_STB_IMAGE_H
+#define STBI_INCLUDE_STB_IMAGE_H
+
+// DOCUMENTATION
+//
+// Limitations:
+// - no 12-bit-per-channel JPEG
+// - no JPEGs with arithmetic coding
+// - GIF always returns *comp=4
+//
+// Basic usage (see HDR discussion below for HDR usage):
+// int x,y,n;
+// unsigned char *data = stbi_load(filename, &x, &y, &n, 0);
+// // ... process data if not NULL ...
+// // ... x = width, y = height, n = # 8-bit components per pixel ...
+// // ... replace '0' with '1'..'4' to force that many components per pixel
+// // ... but 'n' will always be the number that it would have been if you said 0
+// stbi_image_free(data);
+//
+// Standard parameters:
+// int *x -- outputs image width in pixels
+// int *y -- outputs image height in pixels
+// int *channels_in_file -- outputs # of image components in image file
+// int desired_channels -- if non-zero, # of image components requested in result
+//
+// The return value from an image loader is an 'unsigned char *' which points
+// to the pixel data, or NULL on an allocation failure or if the image is
+// corrupt or invalid. The pixel data consists of *y scanlines of *x pixels,
+// with each pixel consisting of N interleaved 8-bit components; the first
+// pixel pointed to is top-left-most in the image. There is no padding between
+// image scanlines or between pixels, regardless of format. The number of
+// components N is 'desired_channels' if desired_channels is non-zero, or
+// *channels_in_file otherwise. If desired_channels is non-zero,
+// *channels_in_file has the number of components that _would_ have been
+// output otherwise. E.g. if you set desired_channels to 4, you will always
+// get RGBA output, but you can check *channels_in_file to see if it's trivially
+// opaque because e.g. there were only 3 channels in the source image.
+//
+// An output image with N components has the following components interleaved
+// in this order in each pixel:
+//
+// N=#comp components
+// 1 grey
+// 2 grey, alpha
+// 3 red, green, blue
+// 4 red, green, blue, alpha
+//
+// If image loading fails for any reason, the return value will be NULL,
+// and *x, *y, *channels_in_file will be unchanged. The function
+// stbi_failure_reason() can be queried for an extremely brief, end-user
+// unfriendly explanation of why the load failed. Define STBI_NO_FAILURE_STRINGS
+// to avoid compiling these strings at all, and STBI_FAILURE_USERMSG to get slightly
+// more user-friendly ones.
+//
+// Paletted PNG, BMP, GIF, and PIC images are automatically depalettized.
+//
+// To query the width, height and component count of an image without having to
+// decode the full file, you can use the stbi_info family of functions:
+//
+// int x,y,n,ok;
+// ok = stbi_info(filename, &x, &y, &n);
+// // returns ok=1 and sets x, y, n if image is a supported format,
+// // 0 otherwise.
+//
+// Note that stb_image pervasively uses ints in its public API for sizes,
+// including sizes of memory buffers. This is now part of the API and thus
+// hard to change without causing breakage. As a result, the various image
+// loaders all have certain limits on image size; these differ somewhat
+// by format but generally boil down to either just under 2GB or just under
+// 1GB. When the decoded image would be larger than this, stb_image decoding
+// will fail.
+//
+// Additionally, stb_image will reject image files that have any of their
+// dimensions set to a larger value than the configurable STBI_MAX_DIMENSIONS,
+// which defaults to 2**24 = 16777216 pixels. Due to the above memory limit,
+// the only way to have an image with such dimensions load correctly
+// is for it to have a rather extreme aspect ratio. Either way, the
+// assumption here is that such larger images are likely to be malformed
+// or malicious. If you do need to load an image with individual dimensions
+// larger than that, and it still fits in the overall size limit, you can
+// #define STBI_MAX_DIMENSIONS on your own to be something larger.
+//
+// ===========================================================================
+//
+// UNICODE:
+//
+// If compiling for Windows and you wish to use Unicode filenames, compile
+// with
+// #define STBI_WINDOWS_UTF8
+// and pass utf8-encoded filenames. Call stbi_convert_wchar_to_utf8 to convert
+// Windows wchar_t filenames to utf8.
+//
+// ===========================================================================
+//
+// Philosophy
+//
+// stb libraries are designed with the following priorities:
+//
+// 1. easy to use
+// 2. easy to maintain
+// 3. good performance
+//
+// Sometimes I let "good performance" creep up in priority over "easy to maintain",
+// and for best performance I may provide less-easy-to-use APIs that give higher
+// performance, in addition to the easy-to-use ones. Nevertheless, it's important
+// to keep in mind that from the standpoint of you, a client of this library,
+// all you care about is #1 and #3, and stb libraries DO NOT emphasize #3 above all.
+//
+// Some secondary priorities arise directly from the first two, some of which
+// provide more explicit reasons why performance can't be emphasized.
+//
+// - Portable ("ease of use")
+// - Small source code footprint ("easy to maintain")
+// - No dependencies ("ease of use")
+//
+// ===========================================================================
+//
+// I/O callbacks
+//
+// I/O callbacks allow you to read from arbitrary sources, like packaged
+// files or some other source. Data read from callbacks are processed
+// through a small internal buffer (currently 128 bytes) to try to reduce
+// overhead.
+//
+// The three functions you must define are "read" (reads some bytes of data),
+// "skip" (skips some bytes of data), "eof" (reports if the stream is at the end).
+//
+// ===========================================================================
+//
+// SIMD support
+//
+// The JPEG decoder will try to automatically use SIMD kernels on x86 when
+// supported by the compiler. For ARM Neon support, you must explicitly
+// request it.
+//
+// (The old do-it-yourself SIMD API is no longer supported in the current
+// code.)
+//
+// On x86, SSE2 will automatically be used when available based on a run-time
+// test; if not, the generic C versions are used as a fall-back. On ARM targets,
+// the typical path is to have separate builds for NEON and non-NEON devices
+// (at least this is true for iOS and Android). Therefore, the NEON support is
+// toggled by a build flag: define STBI_NEON to get NEON loops.
+//
+// If for some reason you do not want to use any of SIMD code, or if
+// you have issues compiling it, you can disable it entirely by
+// defining STBI_NO_SIMD.
+//
+// ===========================================================================
+//
+// HDR image support (disable by defining STBI_NO_HDR)
+//
+// stb_image supports loading HDR images in general, and currently the Radiance
+// .HDR file format specifically. You can still load any file through the existing
+// interface; if you attempt to load an HDR file, it will be automatically remapped
+// to LDR, assuming gamma 2.2 and an arbitrary scale factor defaulting to 1;
+// both of these constants can be reconfigured through this interface:
+//
+// stbi_hdr_to_ldr_gamma(2.2f);
+// stbi_hdr_to_ldr_scale(1.0f);
+//
+// (note, do not use _inverse_ constants; stbi_image will invert them
+// appropriately).
+//
+// Additionally, there is a new, parallel interface for loading files as
+// (linear) floats to preserve the full dynamic range:
+//
+// float *data = stbi_loadf(filename, &x, &y, &n, 0);
+//
+// If you load LDR images through this interface, those images will
+// be promoted to floating point values, run through the inverse of
+// constants corresponding to the above:
+//
+// stbi_ldr_to_hdr_scale(1.0f);
+// stbi_ldr_to_hdr_gamma(2.2f);
+//
+// Finally, given a filename (or an open file or memory block--see header
+// file for details) containing image data, you can query for the "most
+// appropriate" interface to use (that is, whether the image is HDR or
+// not), using:
+//
+// stbi_is_hdr(char *filename);
+//
+// ===========================================================================
+//
+// iPhone PNG support:
+//
+// We optionally support converting iPhone-formatted PNGs (which store
+// premultiplied BGRA) back to RGB, even though they're internally encoded
+// differently. To enable this conversion, call
+// stbi_convert_iphone_png_to_rgb(1).
+//
+// Call stbi_set_unpremultiply_on_load(1) as well to force a divide per
+// pixel to remove any premultiplied alpha *only* if the image file explicitly
+// says there's premultiplied data (currently only happens in iPhone images,
+// and only if iPhone convert-to-rgb processing is on).
+//
+// ===========================================================================
+//
+// ADDITIONAL CONFIGURATION
+//
+// - You can suppress implementation of any of the decoders to reduce
+// your code footprint by #defining one or more of the following
+// symbols before creating the implementation.
+//
+// STBI_NO_JPEG
+// STBI_NO_PNG
+// STBI_NO_BMP
+// STBI_NO_PSD
+// STBI_NO_TGA
+// STBI_NO_GIF
+// STBI_NO_HDR
+// STBI_NO_PIC
+// STBI_NO_PNM (.ppm and .pgm)
+//
+// - You can request *only* certain decoders and suppress all other ones
+// (this will be more forward-compatible, as addition of new decoders
+// doesn't require you to disable them explicitly):
+//
+// STBI_ONLY_JPEG
+// STBI_ONLY_PNG
+// STBI_ONLY_BMP
+// STBI_ONLY_PSD
+// STBI_ONLY_TGA
+// STBI_ONLY_GIF
+// STBI_ONLY_HDR
+// STBI_ONLY_PIC
+// STBI_ONLY_PNM (.ppm and .pgm)
+//
+// - If you use STBI_NO_PNG (or _ONLY_ without PNG), and you still
+// want the zlib decoder to be available, #define STBI_SUPPORT_ZLIB
+//
+// - If you define STBI_MAX_DIMENSIONS, stb_image will reject images greater
+// than that size (in either width or height) without further processing.
+// This is to let programs in the wild set an upper bound to prevent
+// denial-of-service attacks on untrusted data, as one could generate a
+// valid image of gigantic dimensions and force stb_image to allocate a
+// huge block of memory and spend disproportionate time decoding it. By
+// default this is set to (1 << 24), which is 16777216, but that's still
+// very big.
+
+#ifndef STBI_NO_STDIO
+#include <stdio.h>
+#endif // STBI_NO_STDIO
+
+#define STBI_VERSION 1
+
+enum
+{
+ STBI_default = 0, // only used for desired_channels
+
+ STBI_grey = 1,
+ STBI_grey_alpha = 2,
+ STBI_rgb = 3,
+ STBI_rgb_alpha = 4
+};
+
+#include <stdlib.h>
+typedef unsigned char stbi_uc;
+typedef unsigned short stbi_us;
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifndef STBIDEF
+#ifdef STB_IMAGE_STATIC
+#define STBIDEF static
+#else
+#define STBIDEF extern
+#endif
+#endif
+
+//////////////////////////////////////////////////////////////////////////////
+//
+// PRIMARY API - works on images of any type
+//
+
+//
+// load image by filename, open file, or memory buffer
+//
+
+typedef struct
+{
+ int (*read) (void *user,char *data,int size); // fill 'data' with 'size' bytes. return number of bytes actually read
+ void (*skip) (void *user,int n); // skip the next 'n' bytes, or 'unget' the last -n bytes if negative
+ int (*eof) (void *user); // returns nonzero if we are at end of file/data
+} stbi_io_callbacks;
+
+////////////////////////////////////
+//
+// 8-bits-per-channel interface
+//
+
+STBIDEF stbi_uc *stbi_load_from_memory (stbi_uc const *buffer, int len , int *x, int *y, int *channels_in_file, int desired_channels);
+STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk , void *user, int *x, int *y, int *channels_in_file, int desired_channels);
+
+#ifndef STBI_NO_STDIO
+STBIDEF stbi_uc *stbi_load (char const *filename, int *x, int *y, int *channels_in_file, int desired_channels);
+STBIDEF stbi_uc *stbi_load_from_file (FILE *f, int *x, int *y, int *channels_in_file, int desired_channels);
+// for stbi_load_from_file, file pointer is left pointing immediately after image
+#endif
+
+#ifndef STBI_NO_GIF
+STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp);
+#endif
+
+#ifdef STBI_WINDOWS_UTF8
+STBIDEF int stbi_convert_wchar_to_utf8(char *buffer, size_t bufferlen, const wchar_t* input);
+#endif
+
+////////////////////////////////////
+//
+// 16-bits-per-channel interface
+//
+
+STBIDEF stbi_us *stbi_load_16_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels);
+STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels);
+
+#ifndef STBI_NO_STDIO
+STBIDEF stbi_us *stbi_load_16 (char const *filename, int *x, int *y, int *channels_in_file, int desired_channels);
+STBIDEF stbi_us *stbi_load_from_file_16(FILE *f, int *x, int *y, int *channels_in_file, int desired_channels);
+#endif
+
+////////////////////////////////////
+//
+// float-per-channel interface
+//
+#ifndef STBI_NO_LINEAR
+ STBIDEF float *stbi_loadf_from_memory (stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels);
+ STBIDEF float *stbi_loadf_from_callbacks (stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels);
+
+ #ifndef STBI_NO_STDIO
+ STBIDEF float *stbi_loadf (char const *filename, int *x, int *y, int *channels_in_file, int desired_channels);
+ STBIDEF float *stbi_loadf_from_file (FILE *f, int *x, int *y, int *channels_in_file, int desired_channels);
+ #endif
+#endif
+
+#ifndef STBI_NO_HDR
+ STBIDEF void stbi_hdr_to_ldr_gamma(float gamma);
+ STBIDEF void stbi_hdr_to_ldr_scale(float scale);
+#endif // STBI_NO_HDR
+
+#ifndef STBI_NO_LINEAR
+ STBIDEF void stbi_ldr_to_hdr_gamma(float gamma);
+ STBIDEF void stbi_ldr_to_hdr_scale(float scale);
+#endif // STBI_NO_LINEAR
+
+// stbi_is_hdr is always defined, but always returns false if STBI_NO_HDR
+STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user);
+STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len);
+#ifndef STBI_NO_STDIO
+STBIDEF int stbi_is_hdr (char const *filename);
+STBIDEF int stbi_is_hdr_from_file(FILE *f);
+#endif // STBI_NO_STDIO
+
+
+// get a VERY brief reason for failure
+// on most compilers (and ALL modern mainstream compilers) this is threadsafe
+STBIDEF const char *stbi_failure_reason (void);
+
+// free the loaded image -- this is just free()
+STBIDEF void stbi_image_free (void *retval_from_stbi_load);
+
+// get image dimensions & components without fully decoding
+STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp);
+STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp);
+STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len);
+STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *clbk, void *user);
+
+#ifndef STBI_NO_STDIO
+STBIDEF int stbi_info (char const *filename, int *x, int *y, int *comp);
+STBIDEF int stbi_info_from_file (FILE *f, int *x, int *y, int *comp);
+STBIDEF int stbi_is_16_bit (char const *filename);
+STBIDEF int stbi_is_16_bit_from_file(FILE *f);
+#endif
+
+
+
+// for image formats that explicitly notate that they have premultiplied alpha,
+// we just return the colors as stored in the file. set this flag to force
+// unpremultiplication. results are undefined if the unpremultiply overflow.
+STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply);
+
+// indicate whether we should process iphone images back to canonical format,
+// or just pass them through "as-is"
+STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert);
+
+// flip the image vertically, so the first pixel in the output array is the bottom left
+STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip);
+
+// as above, but only applies to images loaded on the thread that calls the function
+// this function is only available if your compiler supports thread-local variables;
+// calling it will fail to link if your compiler doesn't
+STBIDEF void stbi_set_unpremultiply_on_load_thread(int flag_true_if_should_unpremultiply);
+STBIDEF void stbi_convert_iphone_png_to_rgb_thread(int flag_true_if_should_convert);
+STBIDEF void stbi_set_flip_vertically_on_load_thread(int flag_true_if_should_flip);
+
+// ZLIB client - used by PNG, available for other purposes
+
+STBIDEF char *stbi_zlib_decode_malloc_guesssize(const char *buffer, int len, int initial_size, int *outlen);
+STBIDEF char *stbi_zlib_decode_malloc_guesssize_headerflag(const char *buffer, int len, int initial_size, int *outlen, int parse_header);
+STBIDEF char *stbi_zlib_decode_malloc(const char *buffer, int len, int *outlen);
+STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, const char *ibuffer, int ilen);
+
+STBIDEF char *stbi_zlib_decode_noheader_malloc(const char *buffer, int len, int *outlen);
+STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen);
+
+
+#ifdef __cplusplus
+}
+#endif
+
+//
+//
+//// end header file /////////////////////////////////////////////////////
+#endif // STBI_INCLUDE_STB_IMAGE_H
+
+/*
+ revision history:
+ 2.20 (2019-02-07) support utf8 filenames in Windows; fix warnings and platform ifdefs
+ 2.19 (2018-02-11) fix warning
+ 2.18 (2018-01-30) fix warnings
+ 2.17 (2018-01-29) change sbti__shiftsigned to avoid clang -O2 bug
+ 1-bit BMP
+ *_is_16_bit api
+ avoid warnings
+ 2.16 (2017-07-23) all functions have 16-bit variants;
+ STBI_NO_STDIO works again;
+ compilation fixes;
+ fix rounding in unpremultiply;
+ optimize vertical flip;
+ disable raw_len validation;
+ documentation fixes
+ 2.15 (2017-03-18) fix png-1,2,4 bug; now all Imagenet JPGs decode;
+ warning fixes; disable run-time SSE detection on gcc;
+ uniform handling of optional "return" values;
+ thread-safe initialization of zlib tables
+ 2.14 (2017-03-03) remove deprecated STBI_JPEG_OLD; fixes for Imagenet JPGs
+ 2.13 (2016-11-29) add 16-bit API, only supported for PNG right now
+ 2.12 (2016-04-02) fix typo in 2.11 PSD fix that caused crashes
+ 2.11 (2016-04-02) allocate large structures on the stack
+ remove white matting for transparent PSD
+ fix reported channel count for PNG & BMP
+ re-enable SSE2 in non-gcc 64-bit
+ support RGB-formatted JPEG
+ read 16-bit PNGs (only as 8-bit)
+ 2.10 (2016-01-22) avoid warning introduced in 2.09 by STBI_REALLOC_SIZED
+ 2.09 (2016-01-16) allow comments in PNM files
+ 16-bit-per-pixel TGA (not bit-per-component)
+ info() for TGA could break due to .hdr handling
+ info() for BMP to shares code instead of sloppy parse
+ can use STBI_REALLOC_SIZED if allocator doesn't support realloc
+ code cleanup
+ 2.08 (2015-09-13) fix to 2.07 cleanup, reading RGB PSD as RGBA
+ 2.07 (2015-09-13) fix compiler warnings
+ partial animated GIF support
+ limited 16-bpc PSD support
+ #ifdef unused functions
+ bug with < 92 byte PIC,PNM,HDR,TGA
+ 2.06 (2015-04-19) fix bug where PSD returns wrong '*comp' value
+ 2.05 (2015-04-19) fix bug in progressive JPEG handling, fix warning
+ 2.04 (2015-04-15) try to re-enable SIMD on MinGW 64-bit
+ 2.03 (2015-04-12) extra corruption checking (mmozeiko)
+ stbi_set_flip_vertically_on_load (nguillemot)
+ fix NEON support; fix mingw support
+ 2.02 (2015-01-19) fix incorrect assert, fix warning
+ 2.01 (2015-01-17) fix various warnings; suppress SIMD on gcc 32-bit without -msse2
+ 2.00b (2014-12-25) fix STBI_MALLOC in progressive JPEG
+ 2.00 (2014-12-25) optimize JPG, including x86 SSE2 & NEON SIMD (ryg)
+ progressive JPEG (stb)
+ PGM/PPM support (Ken Miller)
+ STBI_MALLOC,STBI_REALLOC,STBI_FREE
+ GIF bugfix -- seemingly never worked
+ STBI_NO_*, STBI_ONLY_*
+ 1.48 (2014-12-14) fix incorrectly-named assert()
+ 1.47 (2014-12-14) 1/2/4-bit PNG support, both direct and paletted (Omar Cornut & stb)
+ optimize PNG (ryg)
+ fix bug in interlaced PNG with user-specified channel count (stb)
+ 1.46 (2014-08-26)
+ fix broken tRNS chunk (colorkey-style transparency) in non-paletted PNG
+ 1.45 (2014-08-16)
+ fix MSVC-ARM internal compiler error by wrapping malloc
+ 1.44 (2014-08-07)
+ various warning fixes from Ronny Chevalier
+ 1.43 (2014-07-15)
+ fix MSVC-only compiler problem in code changed in 1.42
+ 1.42 (2014-07-09)
+ don't define _CRT_SECURE_NO_WARNINGS (affects user code)
+ fixes to stbi__cleanup_jpeg path
+ added STBI_ASSERT to avoid requiring assert.h
+ 1.41 (2014-06-25)
+ fix search&replace from 1.36 that messed up comments/error messages
+ 1.40 (2014-06-22)
+ fix gcc struct-initialization warning
+ 1.39 (2014-06-15)
+ fix to TGA optimization when req_comp != number of components in TGA;
+ fix to GIF loading because BMP wasn't rewinding (whoops, no GIFs in my test suite)
+ add support for BMP version 5 (more ignored fields)
+ 1.38 (2014-06-06)
+ suppress MSVC warnings on integer casts truncating values
+ fix accidental rename of 'skip' field of I/O
+ 1.37 (2014-06-04)
+ remove duplicate typedef
+ 1.36 (2014-06-03)
+ convert to header file single-file library
+ if de-iphone isn't set, load iphone images color-swapped instead of returning NULL
+ 1.35 (2014-05-27)
+ various warnings
+ fix broken STBI_SIMD path
+ fix bug where stbi_load_from_file no longer left file pointer in correct place
+ fix broken non-easy path for 32-bit BMP (possibly never used)
+ TGA optimization by Arseny Kapoulkine
+ 1.34 (unknown)
+ use STBI_NOTUSED in stbi__resample_row_generic(), fix one more leak in tga failure case
+ 1.33 (2011-07-14)
+ make stbi_is_hdr work in STBI_NO_HDR (as specified), minor compiler-friendly improvements
+ 1.32 (2011-07-13)
+ support for "info" function for all supported filetypes (SpartanJ)
+ 1.31 (2011-06-20)
+ a few more leak fixes, bug in PNG handling (SpartanJ)
+ 1.30 (2011-06-11)
+ added ability to load files via callbacks to accomidate custom input streams (Ben Wenger)
+ removed deprecated format-specific test/load functions
+ removed support for installable file formats (stbi_loader) -- would have been broken for IO callbacks anyway
+ error cases in bmp and tga give messages and don't leak (Raymond Barbiero, grisha)
+ fix inefficiency in decoding 32-bit BMP (David Woo)
+ 1.29 (2010-08-16)
+ various warning fixes from Aurelien Pocheville
+ 1.28 (2010-08-01)
+ fix bug in GIF palette transparency (SpartanJ)
+ 1.27 (2010-08-01)
+ cast-to-stbi_uc to fix warnings
+ 1.26 (2010-07-24)
+ fix bug in file buffering for PNG reported by SpartanJ
+ 1.25 (2010-07-17)
+ refix trans_data warning (Won Chun)
+ 1.24 (2010-07-12)
+ perf improvements reading from files on platforms with lock-heavy fgetc()
+ minor perf improvements for jpeg
+ deprecated type-specific functions so we'll get feedback if they're needed
+ attempt to fix trans_data warning (Won Chun)
+ 1.23 fixed bug in iPhone support
+ 1.22 (2010-07-10)
+ removed image *writing* support
+ stbi_info support from Jetro Lauha
+ GIF support from Jean-Marc Lienher
+ iPhone PNG-extensions from James Brown
+ warning-fixes from Nicolas Schulz and Janez Zemva (i.stbi__err. Janez (U+017D)emva)
+ 1.21 fix use of 'stbi_uc' in header (reported by jon blow)
+ 1.20 added support for Softimage PIC, by Tom Seddon
+ 1.19 bug in interlaced PNG corruption check (found by ryg)
+ 1.18 (2008-08-02)
+ fix a threading bug (local mutable static)
+ 1.17 support interlaced PNG
+ 1.16 major bugfix - stbi__convert_format converted one too many pixels
+ 1.15 initialize some fields for thread safety
+ 1.14 fix threadsafe conversion bug
+ header-file-only version (#define STBI_HEADER_FILE_ONLY before including)
+ 1.13 threadsafe
+ 1.12 const qualifiers in the API
+ 1.11 Support installable IDCT, colorspace conversion routines
+ 1.10 Fixes for 64-bit (don't use "unsigned long")
+ optimized upsampling by Fabian "ryg" Giesen
+ 1.09 Fix format-conversion for PSD code (bad global variables!)
+ 1.08 Thatcher Ulrich's PSD code integrated by Nicolas Schulz
+ 1.07 attempt to fix C++ warning/errors again
+ 1.06 attempt to fix C++ warning/errors again
+ 1.05 fix TGA loading to return correct *comp and use good luminance calc
+ 1.04 default float alpha is 1, not 255; use 'void *' for stbi_image_free
+ 1.03 bugfixes to STBI_NO_STDIO, STBI_NO_HDR
+ 1.02 support for (subset of) HDR files, float interface for preferred access to them
+ 1.01 fix bug: possible bug in handling right-side up bmps... not sure
+ fix bug: the stbi__bmp_load() and stbi__tga_load() functions didn't work at all
+ 1.00 interface to zlib that skips zlib header
+ 0.99 correct handling of alpha in palette
+ 0.98 TGA loader by lonesock; dynamically add loaders (untested)
+ 0.97 jpeg errors on too large a file; also catch another malloc failure
+ 0.96 fix detection of invalid v value - particleman@mollyrocket forum
+ 0.95 during header scan, seek to markers in case of padding
+ 0.94 STBI_NO_STDIO to disable stdio usage; rename all #defines the same
+ 0.93 handle jpegtran output; verbose errors
+ 0.92 read 4,8,16,24,32-bit BMP files of several formats
+ 0.91 output 24-bit Windows 3.0 BMP files
+ 0.90 fix a few more warnings; bump version number to approach 1.0
+ 0.61 bugfixes due to Marc LeBlanc, Christopher Lloyd
+ 0.60 fix compiling as c++
+ 0.59 fix warnings: merge Dave Moore's -Wall fixes
+ 0.58 fix bug: zlib uncompressed mode len/nlen was wrong endian
+ 0.57 fix bug: jpg last huffman symbol before marker was >9 bits but less than 16 available
+ 0.56 fix bug: zlib uncompressed mode len vs. nlen
+ 0.55 fix bug: restart_interval not initialized to 0
+ 0.54 allow NULL for 'int *comp'
+ 0.53 fix bug in png 3->4; speedup png decoding
+ 0.52 png handles req_comp=3,4 directly; minor cleanup; jpeg comments
+ 0.51 obey req_comp requests, 1-component jpegs return as 1-component,
+ on 'test' only check type, not whether we support this variant
+ 0.50 (2006-11-19)
+ first released version
+*/
+
+
+/*
+------------------------------------------------------------------------------
+This software is available under 2 licenses -- choose whichever you prefer.
+------------------------------------------------------------------------------
+ALTERNATIVE A - MIT License
+Copyright (c) 2017 Sean Barrett
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+------------------------------------------------------------------------------
+ALTERNATIVE B - Public Domain (www.unlicense.org)
+This is free and unencumbered software released into the public domain.
+Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
+software, either in source code form or as a compiled binary, for any purpose,
+commercial or non-commercial, and by any means.
+In jurisdictions that recognize copyright laws, the author or authors of this
+software dedicate any and all copyright interest in the software to the public
+domain. We make this dedication for the benefit of the public at large and to
+the detriment of our heirs and successors. We intend this dedication to be an
+overt act of relinquishment in perpetuity of all present and future rights to
+this software under copyright law.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+------------------------------------------------------------------------------
+*/
diff --git a/externals/stb/stb_image_resize.cpp b/externals/stb/stb_image_resize.cpp
new file mode 100644
index 000000000..6f023629e
--- /dev/null
+++ b/externals/stb/stb_image_resize.cpp
@@ -0,0 +1,2282 @@
+// SPDX-FileCopyrightText: Jorge L Rodriguez
+// SPDX-License-Identifier: MIT
+
+/* stb_image_resize - v0.97 - public domain image resizing
+ by Jorge L Rodriguez (@VinoBS) - 2014
+ http://github.com/nothings/stb
+
+ CONTRIBUTORS
+ Jorge L Rodriguez: Implementation
+ Sean Barrett: API design, optimizations
+ Aras Pranckevicius: bugfix
+ Nathan Reed: warning fixes
+
+ REVISIONS
+ 0.97 (2020-02-02) fixed warning
+ 0.96 (2019-03-04) fixed warnings
+ 0.95 (2017-07-23) fixed warnings
+ 0.94 (2017-03-18) fixed warnings
+ 0.93 (2017-03-03) fixed bug with certain combinations of heights
+ 0.92 (2017-01-02) fix integer overflow on large (>2GB) images
+ 0.91 (2016-04-02) fix warnings; fix handling of subpixel regions
+ 0.90 (2014-09-17) first released version
+
+ LICENSE
+ See end of file for license information.
+
+ TODO
+ Don't decode all of the image data when only processing a partial tile
+ Don't use full-width decode buffers when only processing a partial tile
+ When processing wide images, break processing into tiles so data fits in L1 cache
+ Installable filters?
+ Resize that respects alpha test coverage
+ (Reference code: FloatImage::alphaTestCoverage and FloatImage::scaleAlphaToCoverage:
+ https://code.google.com/p/nvidia-texture-tools/source/browse/trunk/src/nvimage/FloatImage.cpp )
+*/
+
+#include <stb_image_resize.h>
+
+#ifndef STBIR_ASSERT
+#include <assert.h>
+#define STBIR_ASSERT(x) assert(x)
+#endif
+
+// For memset
+#include <string.h>
+
+#include <math.h>
+
+#ifndef STBIR_MALLOC
+#include <stdlib.h>
+// use comma operator to evaluate c, to avoid "unused parameter" warnings
+#define STBIR_MALLOC(size,c) ((void)(c), malloc(size))
+#define STBIR_FREE(ptr,c) ((void)(c), free(ptr))
+#endif
+
+#ifndef _MSC_VER
+#ifdef __cplusplus
+#define stbir__inline inline
+#else
+#define stbir__inline
+#endif
+#else
+#define stbir__inline __forceinline
+#endif
+
+
+// should produce compiler error if size is wrong
+typedef unsigned char stbir__validate_uint32[sizeof(stbir_uint32) == 4 ? 1 : -1];
+
+#ifdef _MSC_VER
+#define STBIR__NOTUSED(v) (void)(v)
+#else
+#define STBIR__NOTUSED(v) (void)sizeof(v)
+#endif
+
+#define STBIR__ARRAY_SIZE(a) (sizeof((a))/sizeof((a)[0]))
+
+#ifndef STBIR_DEFAULT_FILTER_UPSAMPLE
+#define STBIR_DEFAULT_FILTER_UPSAMPLE STBIR_FILTER_CATMULLROM
+#endif
+
+#ifndef STBIR_DEFAULT_FILTER_DOWNSAMPLE
+#define STBIR_DEFAULT_FILTER_DOWNSAMPLE STBIR_FILTER_MITCHELL
+#endif
+
+#ifndef STBIR_PROGRESS_REPORT
+#define STBIR_PROGRESS_REPORT(float_0_to_1)
+#endif
+
+#ifndef STBIR_MAX_CHANNELS
+#define STBIR_MAX_CHANNELS 64
+#endif
+
+#if STBIR_MAX_CHANNELS > 65536
+#error "Too many channels; STBIR_MAX_CHANNELS must be no more than 65536."
+// because we store the indices in 16-bit variables
+#endif
+
+// This value is added to alpha just before premultiplication to avoid
+// zeroing out color values. It is equivalent to 2^-80. If you don't want
+// that behavior (it may interfere if you have floating point images with
+// very small alpha values) then you can define STBIR_NO_ALPHA_EPSILON to
+// disable it.
+#ifndef STBIR_ALPHA_EPSILON
+#define STBIR_ALPHA_EPSILON ((float)1 / (1 << 20) / (1 << 20) / (1 << 20) / (1 << 20))
+#endif
+
+
+
+#ifdef _MSC_VER
+#define STBIR__UNUSED_PARAM(v) (void)(v)
+#else
+#define STBIR__UNUSED_PARAM(v) (void)sizeof(v)
+#endif
+
+// must match stbir_datatype
+static unsigned char stbir__type_size[] = {
+ 1, // STBIR_TYPE_UINT8
+ 2, // STBIR_TYPE_UINT16
+ 4, // STBIR_TYPE_UINT32
+ 4, // STBIR_TYPE_FLOAT
+};
+
+// Kernel function centered at 0
+typedef float (stbir__kernel_fn)(float x, float scale);
+typedef float (stbir__support_fn)(float scale);
+
+typedef struct
+{
+ stbir__kernel_fn* kernel;
+ stbir__support_fn* support;
+} stbir__filter_info;
+
+// When upsampling, the contributors are which source pixels contribute.
+// When downsampling, the contributors are which destination pixels are contributed to.
+typedef struct
+{
+ int n0; // First contributing pixel
+ int n1; // Last contributing pixel
+} stbir__contributors;
+
+typedef struct
+{
+ const void* input_data;
+ int input_w;
+ int input_h;
+ int input_stride_bytes;
+
+ void* output_data;
+ int output_w;
+ int output_h;
+ int output_stride_bytes;
+
+ float s0, t0, s1, t1;
+
+ float horizontal_shift; // Units: output pixels
+ float vertical_shift; // Units: output pixels
+ float horizontal_scale;
+ float vertical_scale;
+
+ int channels;
+ int alpha_channel;
+ stbir_uint32 flags;
+ stbir_datatype type;
+ stbir_filter horizontal_filter;
+ stbir_filter vertical_filter;
+ stbir_edge edge_horizontal;
+ stbir_edge edge_vertical;
+ stbir_colorspace colorspace;
+
+ stbir__contributors* horizontal_contributors;
+ float* horizontal_coefficients;
+
+ stbir__contributors* vertical_contributors;
+ float* vertical_coefficients;
+
+ int decode_buffer_pixels;
+ float* decode_buffer;
+
+ float* horizontal_buffer;
+
+ // cache these because ceil/floor are inexplicably showing up in profile
+ int horizontal_coefficient_width;
+ int vertical_coefficient_width;
+ int horizontal_filter_pixel_width;
+ int vertical_filter_pixel_width;
+ int horizontal_filter_pixel_margin;
+ int vertical_filter_pixel_margin;
+ int horizontal_num_contributors;
+ int vertical_num_contributors;
+
+ int ring_buffer_length_bytes; // The length of an individual entry in the ring buffer. The total number of ring buffers is stbir__get_filter_pixel_width(filter)
+ int ring_buffer_num_entries; // Total number of entries in the ring buffer.
+ int ring_buffer_first_scanline;
+ int ring_buffer_last_scanline;
+ int ring_buffer_begin_index; // first_scanline is at this index in the ring buffer
+ float* ring_buffer;
+
+ float* encode_buffer; // A temporary buffer to store floats so we don't lose precision while we do multiply-adds.
+
+ int horizontal_contributors_size;
+ int horizontal_coefficients_size;
+ int vertical_contributors_size;
+ int vertical_coefficients_size;
+ int decode_buffer_size;
+ int horizontal_buffer_size;
+ int ring_buffer_size;
+ int encode_buffer_size;
+} stbir__info;
+
+
+static const float stbir__max_uint8_as_float = 255.0f;
+static const float stbir__max_uint16_as_float = 65535.0f;
+static const double stbir__max_uint32_as_float = 4294967295.0;
+
+
+static stbir__inline int stbir__min(int a, int b)
+{
+ return a < b ? a : b;
+}
+
+static stbir__inline float stbir__saturate(float x)
+{
+ if (x < 0)
+ return 0;
+
+ if (x > 1)
+ return 1;
+
+ return x;
+}
+
+#ifdef STBIR_SATURATE_INT
+static stbir__inline stbir_uint8 stbir__saturate8(int x)
+{
+ if ((unsigned int) x <= 255)
+ return x;
+
+ if (x < 0)
+ return 0;
+
+ return 255;
+}
+
+static stbir__inline stbir_uint16 stbir__saturate16(int x)
+{
+ if ((unsigned int) x <= 65535)
+ return x;
+
+ if (x < 0)
+ return 0;
+
+ return 65535;
+}
+#endif
+
+static float stbir__srgb_uchar_to_linear_float[256] = {
+ 0.000000f, 0.000304f, 0.000607f, 0.000911f, 0.001214f, 0.001518f, 0.001821f, 0.002125f, 0.002428f, 0.002732f, 0.003035f,
+ 0.003347f, 0.003677f, 0.004025f, 0.004391f, 0.004777f, 0.005182f, 0.005605f, 0.006049f, 0.006512f, 0.006995f, 0.007499f,
+ 0.008023f, 0.008568f, 0.009134f, 0.009721f, 0.010330f, 0.010960f, 0.011612f, 0.012286f, 0.012983f, 0.013702f, 0.014444f,
+ 0.015209f, 0.015996f, 0.016807f, 0.017642f, 0.018500f, 0.019382f, 0.020289f, 0.021219f, 0.022174f, 0.023153f, 0.024158f,
+ 0.025187f, 0.026241f, 0.027321f, 0.028426f, 0.029557f, 0.030713f, 0.031896f, 0.033105f, 0.034340f, 0.035601f, 0.036889f,
+ 0.038204f, 0.039546f, 0.040915f, 0.042311f, 0.043735f, 0.045186f, 0.046665f, 0.048172f, 0.049707f, 0.051269f, 0.052861f,
+ 0.054480f, 0.056128f, 0.057805f, 0.059511f, 0.061246f, 0.063010f, 0.064803f, 0.066626f, 0.068478f, 0.070360f, 0.072272f,
+ 0.074214f, 0.076185f, 0.078187f, 0.080220f, 0.082283f, 0.084376f, 0.086500f, 0.088656f, 0.090842f, 0.093059f, 0.095307f,
+ 0.097587f, 0.099899f, 0.102242f, 0.104616f, 0.107023f, 0.109462f, 0.111932f, 0.114435f, 0.116971f, 0.119538f, 0.122139f,
+ 0.124772f, 0.127438f, 0.130136f, 0.132868f, 0.135633f, 0.138432f, 0.141263f, 0.144128f, 0.147027f, 0.149960f, 0.152926f,
+ 0.155926f, 0.158961f, 0.162029f, 0.165132f, 0.168269f, 0.171441f, 0.174647f, 0.177888f, 0.181164f, 0.184475f, 0.187821f,
+ 0.191202f, 0.194618f, 0.198069f, 0.201556f, 0.205079f, 0.208637f, 0.212231f, 0.215861f, 0.219526f, 0.223228f, 0.226966f,
+ 0.230740f, 0.234551f, 0.238398f, 0.242281f, 0.246201f, 0.250158f, 0.254152f, 0.258183f, 0.262251f, 0.266356f, 0.270498f,
+ 0.274677f, 0.278894f, 0.283149f, 0.287441f, 0.291771f, 0.296138f, 0.300544f, 0.304987f, 0.309469f, 0.313989f, 0.318547f,
+ 0.323143f, 0.327778f, 0.332452f, 0.337164f, 0.341914f, 0.346704f, 0.351533f, 0.356400f, 0.361307f, 0.366253f, 0.371238f,
+ 0.376262f, 0.381326f, 0.386430f, 0.391573f, 0.396755f, 0.401978f, 0.407240f, 0.412543f, 0.417885f, 0.423268f, 0.428691f,
+ 0.434154f, 0.439657f, 0.445201f, 0.450786f, 0.456411f, 0.462077f, 0.467784f, 0.473532f, 0.479320f, 0.485150f, 0.491021f,
+ 0.496933f, 0.502887f, 0.508881f, 0.514918f, 0.520996f, 0.527115f, 0.533276f, 0.539480f, 0.545725f, 0.552011f, 0.558340f,
+ 0.564712f, 0.571125f, 0.577581f, 0.584078f, 0.590619f, 0.597202f, 0.603827f, 0.610496f, 0.617207f, 0.623960f, 0.630757f,
+ 0.637597f, 0.644480f, 0.651406f, 0.658375f, 0.665387f, 0.672443f, 0.679543f, 0.686685f, 0.693872f, 0.701102f, 0.708376f,
+ 0.715694f, 0.723055f, 0.730461f, 0.737911f, 0.745404f, 0.752942f, 0.760525f, 0.768151f, 0.775822f, 0.783538f, 0.791298f,
+ 0.799103f, 0.806952f, 0.814847f, 0.822786f, 0.830770f, 0.838799f, 0.846873f, 0.854993f, 0.863157f, 0.871367f, 0.879622f,
+ 0.887923f, 0.896269f, 0.904661f, 0.913099f, 0.921582f, 0.930111f, 0.938686f, 0.947307f, 0.955974f, 0.964686f, 0.973445f,
+ 0.982251f, 0.991102f, 1.0f
+};
+
+static float stbir__srgb_to_linear(float f)
+{
+ if (f <= 0.04045f)
+ return f / 12.92f;
+ else
+ return (float)pow((f + 0.055f) / 1.055f, 2.4f);
+}
+
+static float stbir__linear_to_srgb(float f)
+{
+ if (f <= 0.0031308f)
+ return f * 12.92f;
+ else
+ return 1.055f * (float)pow(f, 1 / 2.4f) - 0.055f;
+}
+
+#ifndef STBIR_NON_IEEE_FLOAT
+// From https://gist.github.com/rygorous/2203834
+
+typedef union
+{
+ stbir_uint32 u;
+ float f;
+} stbir__FP32;
+
+static const stbir_uint32 fp32_to_srgb8_tab4[104] = {
+ 0x0073000d, 0x007a000d, 0x0080000d, 0x0087000d, 0x008d000d, 0x0094000d, 0x009a000d, 0x00a1000d,
+ 0x00a7001a, 0x00b4001a, 0x00c1001a, 0x00ce001a, 0x00da001a, 0x00e7001a, 0x00f4001a, 0x0101001a,
+ 0x010e0033, 0x01280033, 0x01410033, 0x015b0033, 0x01750033, 0x018f0033, 0x01a80033, 0x01c20033,
+ 0x01dc0067, 0x020f0067, 0x02430067, 0x02760067, 0x02aa0067, 0x02dd0067, 0x03110067, 0x03440067,
+ 0x037800ce, 0x03df00ce, 0x044600ce, 0x04ad00ce, 0x051400ce, 0x057b00c5, 0x05dd00bc, 0x063b00b5,
+ 0x06970158, 0x07420142, 0x07e30130, 0x087b0120, 0x090b0112, 0x09940106, 0x0a1700fc, 0x0a9500f2,
+ 0x0b0f01cb, 0x0bf401ae, 0x0ccb0195, 0x0d950180, 0x0e56016e, 0x0f0d015e, 0x0fbc0150, 0x10630143,
+ 0x11070264, 0x1238023e, 0x1357021d, 0x14660201, 0x156601e9, 0x165a01d3, 0x174401c0, 0x182401af,
+ 0x18fe0331, 0x1a9602fe, 0x1c1502d2, 0x1d7e02ad, 0x1ed4028d, 0x201a0270, 0x21520256, 0x227d0240,
+ 0x239f0443, 0x25c003fe, 0x27bf03c4, 0x29a10392, 0x2b6a0367, 0x2d1d0341, 0x2ebe031f, 0x304d0300,
+ 0x31d105b0, 0x34a80555, 0x37520507, 0x39d504c5, 0x3c37048b, 0x3e7c0458, 0x40a8042a, 0x42bd0401,
+ 0x44c20798, 0x488e071e, 0x4c1c06b6, 0x4f76065d, 0x52a50610, 0x55ac05cc, 0x5892058f, 0x5b590559,
+ 0x5e0c0a23, 0x631c0980, 0x67db08f6, 0x6c55087f, 0x70940818, 0x74a007bd, 0x787d076c, 0x7c330723,
+};
+
+static stbir_uint8 stbir__linear_to_srgb_uchar(float in)
+{
+ static const stbir__FP32 almostone = { 0x3f7fffff }; // 1-eps
+ static const stbir__FP32 minval = { (127-13) << 23 };
+ stbir_uint32 tab,bias,scale,t;
+ stbir__FP32 f;
+
+ // Clamp to [2^(-13), 1-eps]; these two values map to 0 and 1, respectively.
+ // The tests are carefully written so that NaNs map to 0, same as in the reference
+ // implementation.
+ if (!(in > minval.f)) // written this way to catch NaNs
+ in = minval.f;
+ if (in > almostone.f)
+ in = almostone.f;
+
+ // Do the table lookup and unpack bias, scale
+ f.f = in;
+ tab = fp32_to_srgb8_tab4[(f.u - minval.u) >> 20];
+ bias = (tab >> 16) << 9;
+ scale = tab & 0xffff;
+
+ // Grab next-highest mantissa bits and perform linear interpolation
+ t = (f.u >> 12) & 0xff;
+ return (unsigned char) ((bias + scale*t) >> 16);
+}
+
+#else
+// sRGB transition values, scaled by 1<<28
+static int stbir__srgb_offset_to_linear_scaled[256] =
+{
+ 0, 40738, 122216, 203693, 285170, 366648, 448125, 529603,
+ 611080, 692557, 774035, 855852, 942009, 1033024, 1128971, 1229926,
+ 1335959, 1447142, 1563542, 1685229, 1812268, 1944725, 2082664, 2226148,
+ 2375238, 2529996, 2690481, 2856753, 3028870, 3206888, 3390865, 3580856,
+ 3776916, 3979100, 4187460, 4402049, 4622919, 4850123, 5083710, 5323731,
+ 5570236, 5823273, 6082892, 6349140, 6622065, 6901714, 7188133, 7481369,
+ 7781466, 8088471, 8402427, 8723380, 9051372, 9386448, 9728650, 10078021,
+ 10434603, 10798439, 11169569, 11548036, 11933879, 12327139, 12727857, 13136073,
+ 13551826, 13975156, 14406100, 14844697, 15290987, 15745007, 16206795, 16676389,
+ 17153826, 17639142, 18132374, 18633560, 19142734, 19659934, 20185196, 20718552,
+ 21260042, 21809696, 22367554, 22933648, 23508010, 24090680, 24681686, 25281066,
+ 25888850, 26505076, 27129772, 27762974, 28404716, 29055026, 29713942, 30381490,
+ 31057708, 31742624, 32436272, 33138682, 33849884, 34569912, 35298800, 36036568,
+ 36783260, 37538896, 38303512, 39077136, 39859796, 40651528, 41452360, 42262316,
+ 43081432, 43909732, 44747252, 45594016, 46450052, 47315392, 48190064, 49074096,
+ 49967516, 50870356, 51782636, 52704392, 53635648, 54576432, 55526772, 56486700,
+ 57456236, 58435408, 59424248, 60422780, 61431036, 62449032, 63476804, 64514376,
+ 65561776, 66619028, 67686160, 68763192, 69850160, 70947088, 72053992, 73170912,
+ 74297864, 75434880, 76581976, 77739184, 78906536, 80084040, 81271736, 82469648,
+ 83677792, 84896192, 86124888, 87363888, 88613232, 89872928, 91143016, 92423512,
+ 93714432, 95015816, 96327688, 97650056, 98982952, 100326408, 101680440, 103045072,
+ 104420320, 105806224, 107202800, 108610064, 110028048, 111456776, 112896264, 114346544,
+ 115807632, 117279552, 118762328, 120255976, 121760536, 123276016, 124802440, 126339832,
+ 127888216, 129447616, 131018048, 132599544, 134192112, 135795792, 137410592, 139036528,
+ 140673648, 142321952, 143981456, 145652208, 147334208, 149027488, 150732064, 152447968,
+ 154175200, 155913792, 157663776, 159425168, 161197984, 162982240, 164777968, 166585184,
+ 168403904, 170234160, 172075968, 173929344, 175794320, 177670896, 179559120, 181458992,
+ 183370528, 185293776, 187228736, 189175424, 191133888, 193104112, 195086128, 197079968,
+ 199085648, 201103184, 203132592, 205173888, 207227120, 209292272, 211369392, 213458480,
+ 215559568, 217672656, 219797792, 221934976, 224084240, 226245600, 228419056, 230604656,
+ 232802400, 235012320, 237234432, 239468736, 241715280, 243974080, 246245120, 248528464,
+ 250824112, 253132064, 255452368, 257785040, 260130080, 262487520, 264857376, 267239664,
+};
+
+static stbir_uint8 stbir__linear_to_srgb_uchar(float f)
+{
+ int x = (int) (f * (1 << 28)); // has headroom so you don't need to clamp
+ int v = 0;
+ int i;
+
+ // Refine the guess with a short binary search.
+ i = v + 128; if (x >= stbir__srgb_offset_to_linear_scaled[i]) v = i;
+ i = v + 64; if (x >= stbir__srgb_offset_to_linear_scaled[i]) v = i;
+ i = v + 32; if (x >= stbir__srgb_offset_to_linear_scaled[i]) v = i;
+ i = v + 16; if (x >= stbir__srgb_offset_to_linear_scaled[i]) v = i;
+ i = v + 8; if (x >= stbir__srgb_offset_to_linear_scaled[i]) v = i;
+ i = v + 4; if (x >= stbir__srgb_offset_to_linear_scaled[i]) v = i;
+ i = v + 2; if (x >= stbir__srgb_offset_to_linear_scaled[i]) v = i;
+ i = v + 1; if (x >= stbir__srgb_offset_to_linear_scaled[i]) v = i;
+
+ return (stbir_uint8) v;
+}
+#endif
+
+static float stbir__filter_trapezoid(float x, float scale)
+{
+ float halfscale = scale / 2;
+ float t = 0.5f + halfscale;
+ STBIR_ASSERT(scale <= 1);
+
+ x = (float)fabs(x);
+
+ if (x >= t)
+ return 0;
+ else
+ {
+ float r = 0.5f - halfscale;
+ if (x <= r)
+ return 1;
+ else
+ return (t - x) / scale;
+ }
+}
+
+static float stbir__support_trapezoid(float scale)
+{
+ STBIR_ASSERT(scale <= 1);
+ return 0.5f + scale / 2;
+}
+
+static float stbir__filter_triangle(float x, float s)
+{
+ STBIR__UNUSED_PARAM(s);
+
+ x = (float)fabs(x);
+
+ if (x <= 1.0f)
+ return 1 - x;
+ else
+ return 0;
+}
+
+static float stbir__filter_cubic(float x, float s)
+{
+ STBIR__UNUSED_PARAM(s);
+
+ x = (float)fabs(x);
+
+ if (x < 1.0f)
+ return (4 + x*x*(3*x - 6))/6;
+ else if (x < 2.0f)
+ return (8 + x*(-12 + x*(6 - x)))/6;
+
+ return (0.0f);
+}
+
+static float stbir__filter_catmullrom(float x, float s)
+{
+ STBIR__UNUSED_PARAM(s);
+
+ x = (float)fabs(x);
+
+ if (x < 1.0f)
+ return 1 - x*x*(2.5f - 1.5f*x);
+ else if (x < 2.0f)
+ return 2 - x*(4 + x*(0.5f*x - 2.5f));
+
+ return (0.0f);
+}
+
+static float stbir__filter_mitchell(float x, float s)
+{
+ STBIR__UNUSED_PARAM(s);
+
+ x = (float)fabs(x);
+
+ if (x < 1.0f)
+ return (16 + x*x*(21 * x - 36))/18;
+ else if (x < 2.0f)
+ return (32 + x*(-60 + x*(36 - 7*x)))/18;
+
+ return (0.0f);
+}
+
+static float stbir__support_zero(float s)
+{
+ STBIR__UNUSED_PARAM(s);
+ return 0;
+}
+
+static float stbir__support_one(float s)
+{
+ STBIR__UNUSED_PARAM(s);
+ return 1;
+}
+
+static float stbir__support_two(float s)
+{
+ STBIR__UNUSED_PARAM(s);
+ return 2;
+}
+
+static stbir__filter_info stbir__filter_info_table[] = {
+ { NULL, stbir__support_zero },
+ { stbir__filter_trapezoid, stbir__support_trapezoid },
+ { stbir__filter_triangle, stbir__support_one },
+ { stbir__filter_cubic, stbir__support_two },
+ { stbir__filter_catmullrom, stbir__support_two },
+ { stbir__filter_mitchell, stbir__support_two },
+};
+
+stbir__inline static int stbir__use_upsampling(float ratio)
+{
+ return ratio > 1;
+}
+
+stbir__inline static int stbir__use_width_upsampling(stbir__info* stbir_info)
+{
+ return stbir__use_upsampling(stbir_info->horizontal_scale);
+}
+
+stbir__inline static int stbir__use_height_upsampling(stbir__info* stbir_info)
+{
+ return stbir__use_upsampling(stbir_info->vertical_scale);
+}
+
+// This is the maximum number of input samples that can affect an output sample
+// with the given filter
+static int stbir__get_filter_pixel_width(stbir_filter filter, float scale)
+{
+ STBIR_ASSERT(filter != 0);
+ STBIR_ASSERT(filter < STBIR__ARRAY_SIZE(stbir__filter_info_table));
+
+ if (stbir__use_upsampling(scale))
+ return (int)ceil(stbir__filter_info_table[filter].support(1/scale) * 2);
+ else
+ return (int)ceil(stbir__filter_info_table[filter].support(scale) * 2 / scale);
+}
+
+// This is how much to expand buffers to account for filters seeking outside
+// the image boundaries.
+static int stbir__get_filter_pixel_margin(stbir_filter filter, float scale)
+{
+ return stbir__get_filter_pixel_width(filter, scale) / 2;
+}
+
+static int stbir__get_coefficient_width(stbir_filter filter, float scale)
+{
+ if (stbir__use_upsampling(scale))
+ return (int)ceil(stbir__filter_info_table[filter].support(1 / scale) * 2);
+ else
+ return (int)ceil(stbir__filter_info_table[filter].support(scale) * 2);
+}
+
+static int stbir__get_contributors(float scale, stbir_filter filter, int input_size, int output_size)
+{
+ if (stbir__use_upsampling(scale))
+ return output_size;
+ else
+ return (input_size + stbir__get_filter_pixel_margin(filter, scale) * 2);
+}
+
+static int stbir__get_total_horizontal_coefficients(stbir__info* info)
+{
+ return info->horizontal_num_contributors
+ * stbir__get_coefficient_width (info->horizontal_filter, info->horizontal_scale);
+}
+
+static int stbir__get_total_vertical_coefficients(stbir__info* info)
+{
+ return info->vertical_num_contributors
+ * stbir__get_coefficient_width (info->vertical_filter, info->vertical_scale);
+}
+
+static stbir__contributors* stbir__get_contributor(stbir__contributors* contributors, int n)
+{
+ return &contributors[n];
+}
+
+// For perf reasons this code is duplicated in stbir__resample_horizontal_upsample/downsample,
+// if you change it here change it there too.
+static float* stbir__get_coefficient(float* coefficients, stbir_filter filter, float scale, int n, int c)
+{
+ int width = stbir__get_coefficient_width(filter, scale);
+ return &coefficients[width*n + c];
+}
+
+static int stbir__edge_wrap_slow(stbir_edge edge, int n, int max)
+{
+ switch (edge)
+ {
+ case STBIR_EDGE_ZERO:
+ return 0; // we'll decode the wrong pixel here, and then overwrite with 0s later
+
+ case STBIR_EDGE_CLAMP:
+ if (n < 0)
+ return 0;
+
+ if (n >= max)
+ return max - 1;
+
+ return n; // NOTREACHED
+
+ case STBIR_EDGE_REFLECT:
+ {
+ if (n < 0)
+ {
+ if (n < max)
+ return -n;
+ else
+ return max - 1;
+ }
+
+ if (n >= max)
+ {
+ int max2 = max * 2;
+ if (n >= max2)
+ return 0;
+ else
+ return max2 - n - 1;
+ }
+
+ return n; // NOTREACHED
+ }
+
+ case STBIR_EDGE_WRAP:
+ if (n >= 0)
+ return (n % max);
+ else
+ {
+ int m = (-n) % max;
+
+ if (m != 0)
+ m = max - m;
+
+ return (m);
+ }
+ // NOTREACHED
+
+ default:
+ STBIR_ASSERT(!"Unimplemented edge type");
+ return 0;
+ }
+}
+
+stbir__inline static int stbir__edge_wrap(stbir_edge edge, int n, int max)
+{
+ // avoid per-pixel switch
+ if (n >= 0 && n < max)
+ return n;
+ return stbir__edge_wrap_slow(edge, n, max);
+}
+
+// What input pixels contribute to this output pixel?
+static void stbir__calculate_sample_range_upsample(int n, float out_filter_radius, float scale_ratio, float out_shift, int* in_first_pixel, int* in_last_pixel, float* in_center_of_out)
+{
+ float out_pixel_center = (float)n + 0.5f;
+ float out_pixel_influence_lowerbound = out_pixel_center - out_filter_radius;
+ float out_pixel_influence_upperbound = out_pixel_center + out_filter_radius;
+
+ float in_pixel_influence_lowerbound = (out_pixel_influence_lowerbound + out_shift) / scale_ratio;
+ float in_pixel_influence_upperbound = (out_pixel_influence_upperbound + out_shift) / scale_ratio;
+
+ *in_center_of_out = (out_pixel_center + out_shift) / scale_ratio;
+ *in_first_pixel = (int)(floor(in_pixel_influence_lowerbound + 0.5));
+ *in_last_pixel = (int)(floor(in_pixel_influence_upperbound - 0.5));
+}
+
+// What output pixels does this input pixel contribute to?
+static void stbir__calculate_sample_range_downsample(int n, float in_pixels_radius, float scale_ratio, float out_shift, int* out_first_pixel, int* out_last_pixel, float* out_center_of_in)
+{
+ float in_pixel_center = (float)n + 0.5f;
+ float in_pixel_influence_lowerbound = in_pixel_center - in_pixels_radius;
+ float in_pixel_influence_upperbound = in_pixel_center + in_pixels_radius;
+
+ float out_pixel_influence_lowerbound = in_pixel_influence_lowerbound * scale_ratio - out_shift;
+ float out_pixel_influence_upperbound = in_pixel_influence_upperbound * scale_ratio - out_shift;
+
+ *out_center_of_in = in_pixel_center * scale_ratio - out_shift;
+ *out_first_pixel = (int)(floor(out_pixel_influence_lowerbound + 0.5));
+ *out_last_pixel = (int)(floor(out_pixel_influence_upperbound - 0.5));
+}
+
+static void stbir__calculate_coefficients_upsample(stbir_filter filter, float scale, int in_first_pixel, int in_last_pixel, float in_center_of_out, stbir__contributors* contributor, float* coefficient_group)
+{
+ int i;
+ float total_filter = 0;
+ float filter_scale;
+
+ STBIR_ASSERT(in_last_pixel - in_first_pixel <= (int)ceil(stbir__filter_info_table[filter].support(1/scale) * 2)); // Taken directly from stbir__get_coefficient_width() which we can't call because we don't know if we're horizontal or vertical.
+
+ contributor->n0 = in_first_pixel;
+ contributor->n1 = in_last_pixel;
+
+ STBIR_ASSERT(contributor->n1 >= contributor->n0);
+
+ for (i = 0; i <= in_last_pixel - in_first_pixel; i++)
+ {
+ float in_pixel_center = (float)(i + in_first_pixel) + 0.5f;
+ coefficient_group[i] = stbir__filter_info_table[filter].kernel(in_center_of_out - in_pixel_center, 1 / scale);
+
+ // If the coefficient is zero, skip it. (Don't do the <0 check here, we want the influence of those outside pixels.)
+ if (i == 0 && !coefficient_group[i])
+ {
+ contributor->n0 = ++in_first_pixel;
+ i--;
+ continue;
+ }
+
+ total_filter += coefficient_group[i];
+ }
+
+ // NOTE(fg): Not actually true in general, nor is there any reason to expect it should be.
+ // It would be true in exact math but is at best approximately true in floating-point math,
+ // and it would not make sense to try and put actual bounds on this here because it depends
+ // on the image aspect ratio which can get pretty extreme.
+ //STBIR_ASSERT(stbir__filter_info_table[filter].kernel((float)(in_last_pixel + 1) + 0.5f - in_center_of_out, 1/scale) == 0);
+
+ STBIR_ASSERT(total_filter > 0.9);
+ STBIR_ASSERT(total_filter < 1.1f); // Make sure it's not way off.
+
+ // Make sure the sum of all coefficients is 1.
+ filter_scale = 1 / total_filter;
+
+ for (i = 0; i <= in_last_pixel - in_first_pixel; i++)
+ coefficient_group[i] *= filter_scale;
+
+ for (i = in_last_pixel - in_first_pixel; i >= 0; i--)
+ {
+ if (coefficient_group[i])
+ break;
+
+ // This line has no weight. We can skip it.
+ contributor->n1 = contributor->n0 + i - 1;
+ }
+}
+
+static void stbir__calculate_coefficients_downsample(stbir_filter filter, float scale_ratio, int out_first_pixel, int out_last_pixel, float out_center_of_in, stbir__contributors* contributor, float* coefficient_group)
+{
+ int i;
+
+ STBIR_ASSERT(out_last_pixel - out_first_pixel <= (int)ceil(stbir__filter_info_table[filter].support(scale_ratio) * 2)); // Taken directly from stbir__get_coefficient_width() which we can't call because we don't know if we're horizontal or vertical.
+
+ contributor->n0 = out_first_pixel;
+ contributor->n1 = out_last_pixel;
+
+ STBIR_ASSERT(contributor->n1 >= contributor->n0);
+
+ for (i = 0; i <= out_last_pixel - out_first_pixel; i++)
+ {
+ float out_pixel_center = (float)(i + out_first_pixel) + 0.5f;
+ float x = out_pixel_center - out_center_of_in;
+ coefficient_group[i] = stbir__filter_info_table[filter].kernel(x, scale_ratio) * scale_ratio;
+ }
+
+ // NOTE(fg): Not actually true in general, nor is there any reason to expect it should be.
+ // It would be true in exact math but is at best approximately true in floating-point math,
+ // and it would not make sense to try and put actual bounds on this here because it depends
+ // on the image aspect ratio which can get pretty extreme.
+ //STBIR_ASSERT(stbir__filter_info_table[filter].kernel((float)(out_last_pixel + 1) + 0.5f - out_center_of_in, scale_ratio) == 0);
+
+ for (i = out_last_pixel - out_first_pixel; i >= 0; i--)
+ {
+ if (coefficient_group[i])
+ break;
+
+ // This line has no weight. We can skip it.
+ contributor->n1 = contributor->n0 + i - 1;
+ }
+}
+
+static void stbir__normalize_downsample_coefficients(stbir__contributors* contributors, float* coefficients, stbir_filter filter, float scale_ratio, int input_size, int output_size)
+{
+ int num_contributors = stbir__get_contributors(scale_ratio, filter, input_size, output_size);
+ int num_coefficients = stbir__get_coefficient_width(filter, scale_ratio);
+ int i, j;
+ int skip;
+
+ for (i = 0; i < output_size; i++)
+ {
+ float scale;
+ float total = 0;
+
+ for (j = 0; j < num_contributors; j++)
+ {
+ if (i >= contributors[j].n0 && i <= contributors[j].n1)
+ {
+ float coefficient = *stbir__get_coefficient(coefficients, filter, scale_ratio, j, i - contributors[j].n0);
+ total += coefficient;
+ }
+ else if (i < contributors[j].n0)
+ break;
+ }
+
+ STBIR_ASSERT(total > 0.9f);
+ STBIR_ASSERT(total < 1.1f);
+
+ scale = 1 / total;
+
+ for (j = 0; j < num_contributors; j++)
+ {
+ if (i >= contributors[j].n0 && i <= contributors[j].n1)
+ *stbir__get_coefficient(coefficients, filter, scale_ratio, j, i - contributors[j].n0) *= scale;
+ else if (i < contributors[j].n0)
+ break;
+ }
+ }
+
+ // Optimize: Skip zero coefficients and contributions outside of image bounds.
+ // Do this after normalizing because normalization depends on the n0/n1 values.
+ for (j = 0; j < num_contributors; j++)
+ {
+ int range, max, width;
+
+ skip = 0;
+ while (*stbir__get_coefficient(coefficients, filter, scale_ratio, j, skip) == 0)
+ skip++;
+
+ contributors[j].n0 += skip;
+
+ while (contributors[j].n0 < 0)
+ {
+ contributors[j].n0++;
+ skip++;
+ }
+
+ range = contributors[j].n1 - contributors[j].n0 + 1;
+ max = stbir__min(num_coefficients, range);
+
+ width = stbir__get_coefficient_width(filter, scale_ratio);
+ for (i = 0; i < max; i++)
+ {
+ if (i + skip >= width)
+ break;
+
+ *stbir__get_coefficient(coefficients, filter, scale_ratio, j, i) = *stbir__get_coefficient(coefficients, filter, scale_ratio, j, i + skip);
+ }
+
+ continue;
+ }
+
+ // Using min to avoid writing into invalid pixels.
+ for (i = 0; i < num_contributors; i++)
+ contributors[i].n1 = stbir__min(contributors[i].n1, output_size - 1);
+}
+
+// Each scan line uses the same kernel values so we should calculate the kernel
+// values once and then we can use them for every scan line.
+static void stbir__calculate_filters(stbir__contributors* contributors, float* coefficients, stbir_filter filter, float scale_ratio, float shift, int input_size, int output_size)
+{
+ int n;
+ int total_contributors = stbir__get_contributors(scale_ratio, filter, input_size, output_size);
+
+ if (stbir__use_upsampling(scale_ratio))
+ {
+ float out_pixels_radius = stbir__filter_info_table[filter].support(1 / scale_ratio) * scale_ratio;
+
+ // Looping through out pixels
+ for (n = 0; n < total_contributors; n++)
+ {
+ float in_center_of_out; // Center of the current out pixel in the in pixel space
+ int in_first_pixel, in_last_pixel;
+
+ stbir__calculate_sample_range_upsample(n, out_pixels_radius, scale_ratio, shift, &in_first_pixel, &in_last_pixel, &in_center_of_out);
+
+ stbir__calculate_coefficients_upsample(filter, scale_ratio, in_first_pixel, in_last_pixel, in_center_of_out, stbir__get_contributor(contributors, n), stbir__get_coefficient(coefficients, filter, scale_ratio, n, 0));
+ }
+ }
+ else
+ {
+ float in_pixels_radius = stbir__filter_info_table[filter].support(scale_ratio) / scale_ratio;
+
+ // Looping through in pixels
+ for (n = 0; n < total_contributors; n++)
+ {
+ float out_center_of_in; // Center of the current out pixel in the in pixel space
+ int out_first_pixel, out_last_pixel;
+ int n_adjusted = n - stbir__get_filter_pixel_margin(filter, scale_ratio);
+
+ stbir__calculate_sample_range_downsample(n_adjusted, in_pixels_radius, scale_ratio, shift, &out_first_pixel, &out_last_pixel, &out_center_of_in);
+
+ stbir__calculate_coefficients_downsample(filter, scale_ratio, out_first_pixel, out_last_pixel, out_center_of_in, stbir__get_contributor(contributors, n), stbir__get_coefficient(coefficients, filter, scale_ratio, n, 0));
+ }
+
+ stbir__normalize_downsample_coefficients(contributors, coefficients, filter, scale_ratio, input_size, output_size);
+ }
+}
+
+static float* stbir__get_decode_buffer(stbir__info* stbir_info)
+{
+ // The 0 index of the decode buffer starts after the margin. This makes
+ // it okay to use negative indexes on the decode buffer.
+ return &stbir_info->decode_buffer[stbir_info->horizontal_filter_pixel_margin * stbir_info->channels];
+}
+
+#define STBIR__DECODE(type, colorspace) ((int)(type) * (STBIR_MAX_COLORSPACES) + (int)(colorspace))
+
+static void stbir__decode_scanline(stbir__info* stbir_info, int n)
+{
+ int c;
+ int channels = stbir_info->channels;
+ int alpha_channel = stbir_info->alpha_channel;
+ int type = stbir_info->type;
+ int colorspace = stbir_info->colorspace;
+ int input_w = stbir_info->input_w;
+ size_t input_stride_bytes = stbir_info->input_stride_bytes;
+ float* decode_buffer = stbir__get_decode_buffer(stbir_info);
+ stbir_edge edge_horizontal = stbir_info->edge_horizontal;
+ stbir_edge edge_vertical = stbir_info->edge_vertical;
+ size_t in_buffer_row_offset = stbir__edge_wrap(edge_vertical, n, stbir_info->input_h) * input_stride_bytes;
+ const void* input_data = (char *) stbir_info->input_data + in_buffer_row_offset;
+ int max_x = input_w + stbir_info->horizontal_filter_pixel_margin;
+ int decode = STBIR__DECODE(type, colorspace);
+
+ int x = -stbir_info->horizontal_filter_pixel_margin;
+
+ // special handling for STBIR_EDGE_ZERO because it needs to return an item that doesn't appear in the input,
+ // and we want to avoid paying overhead on every pixel if not STBIR_EDGE_ZERO
+ if (edge_vertical == STBIR_EDGE_ZERO && (n < 0 || n >= stbir_info->input_h))
+ {
+ for (; x < max_x; x++)
+ for (c = 0; c < channels; c++)
+ decode_buffer[x*channels + c] = 0;
+ return;
+ }
+
+ switch (decode)
+ {
+ case STBIR__DECODE(STBIR_TYPE_UINT8, STBIR_COLORSPACE_LINEAR):
+ for (; x < max_x; x++)
+ {
+ int decode_pixel_index = x * channels;
+ int input_pixel_index = stbir__edge_wrap(edge_horizontal, x, input_w) * channels;
+ for (c = 0; c < channels; c++)
+ decode_buffer[decode_pixel_index + c] = ((float)((const unsigned char*)input_data)[input_pixel_index + c]) / stbir__max_uint8_as_float;
+ }
+ break;
+
+ case STBIR__DECODE(STBIR_TYPE_UINT8, STBIR_COLORSPACE_SRGB):
+ for (; x < max_x; x++)
+ {
+ int decode_pixel_index = x * channels;
+ int input_pixel_index = stbir__edge_wrap(edge_horizontal, x, input_w) * channels;
+ for (c = 0; c < channels; c++)
+ decode_buffer[decode_pixel_index + c] = stbir__srgb_uchar_to_linear_float[((const unsigned char*)input_data)[input_pixel_index + c]];
+
+ if (!(stbir_info->flags&STBIR_FLAG_ALPHA_USES_COLORSPACE))
+ decode_buffer[decode_pixel_index + alpha_channel] = ((float)((const unsigned char*)input_data)[input_pixel_index + alpha_channel]) / stbir__max_uint8_as_float;
+ }
+ break;
+
+ case STBIR__DECODE(STBIR_TYPE_UINT16, STBIR_COLORSPACE_LINEAR):
+ for (; x < max_x; x++)
+ {
+ int decode_pixel_index = x * channels;
+ int input_pixel_index = stbir__edge_wrap(edge_horizontal, x, input_w) * channels;
+ for (c = 0; c < channels; c++)
+ decode_buffer[decode_pixel_index + c] = ((float)((const unsigned short*)input_data)[input_pixel_index + c]) / stbir__max_uint16_as_float;
+ }
+ break;
+
+ case STBIR__DECODE(STBIR_TYPE_UINT16, STBIR_COLORSPACE_SRGB):
+ for (; x < max_x; x++)
+ {
+ int decode_pixel_index = x * channels;
+ int input_pixel_index = stbir__edge_wrap(edge_horizontal, x, input_w) * channels;
+ for (c = 0; c < channels; c++)
+ decode_buffer[decode_pixel_index + c] = stbir__srgb_to_linear(((float)((const unsigned short*)input_data)[input_pixel_index + c]) / stbir__max_uint16_as_float);
+
+ if (!(stbir_info->flags&STBIR_FLAG_ALPHA_USES_COLORSPACE))
+ decode_buffer[decode_pixel_index + alpha_channel] = ((float)((const unsigned short*)input_data)[input_pixel_index + alpha_channel]) / stbir__max_uint16_as_float;
+ }
+ break;
+
+ case STBIR__DECODE(STBIR_TYPE_UINT32, STBIR_COLORSPACE_LINEAR):
+ for (; x < max_x; x++)
+ {
+ int decode_pixel_index = x * channels;
+ int input_pixel_index = stbir__edge_wrap(edge_horizontal, x, input_w) * channels;
+ for (c = 0; c < channels; c++)
+ decode_buffer[decode_pixel_index + c] = (float)(((double)((const unsigned int*)input_data)[input_pixel_index + c]) / stbir__max_uint32_as_float);
+ }
+ break;
+
+ case STBIR__DECODE(STBIR_TYPE_UINT32, STBIR_COLORSPACE_SRGB):
+ for (; x < max_x; x++)
+ {
+ int decode_pixel_index = x * channels;
+ int input_pixel_index = stbir__edge_wrap(edge_horizontal, x, input_w) * channels;
+ for (c = 0; c < channels; c++)
+ decode_buffer[decode_pixel_index + c] = stbir__srgb_to_linear((float)(((double)((const unsigned int*)input_data)[input_pixel_index + c]) / stbir__max_uint32_as_float));
+
+ if (!(stbir_info->flags&STBIR_FLAG_ALPHA_USES_COLORSPACE))
+ decode_buffer[decode_pixel_index + alpha_channel] = (float)(((double)((const unsigned int*)input_data)[input_pixel_index + alpha_channel]) / stbir__max_uint32_as_float);
+ }
+ break;
+
+ case STBIR__DECODE(STBIR_TYPE_FLOAT, STBIR_COLORSPACE_LINEAR):
+ for (; x < max_x; x++)
+ {
+ int decode_pixel_index = x * channels;
+ int input_pixel_index = stbir__edge_wrap(edge_horizontal, x, input_w) * channels;
+ for (c = 0; c < channels; c++)
+ decode_buffer[decode_pixel_index + c] = ((const float*)input_data)[input_pixel_index + c];
+ }
+ break;
+
+ case STBIR__DECODE(STBIR_TYPE_FLOAT, STBIR_COLORSPACE_SRGB):
+ for (; x < max_x; x++)
+ {
+ int decode_pixel_index = x * channels;
+ int input_pixel_index = stbir__edge_wrap(edge_horizontal, x, input_w) * channels;
+ for (c = 0; c < channels; c++)
+ decode_buffer[decode_pixel_index + c] = stbir__srgb_to_linear(((const float*)input_data)[input_pixel_index + c]);
+
+ if (!(stbir_info->flags&STBIR_FLAG_ALPHA_USES_COLORSPACE))
+ decode_buffer[decode_pixel_index + alpha_channel] = ((const float*)input_data)[input_pixel_index + alpha_channel];
+ }
+
+ break;
+
+ default:
+ STBIR_ASSERT(!"Unknown type/colorspace/channels combination.");
+ break;
+ }
+
+ if (!(stbir_info->flags & STBIR_FLAG_ALPHA_PREMULTIPLIED))
+ {
+ for (x = -stbir_info->horizontal_filter_pixel_margin; x < max_x; x++)
+ {
+ int decode_pixel_index = x * channels;
+
+ // If the alpha value is 0 it will clobber the color values. Make sure it's not.
+ float alpha = decode_buffer[decode_pixel_index + alpha_channel];
+#ifndef STBIR_NO_ALPHA_EPSILON
+ if (stbir_info->type != STBIR_TYPE_FLOAT) {
+ alpha += STBIR_ALPHA_EPSILON;
+ decode_buffer[decode_pixel_index + alpha_channel] = alpha;
+ }
+#endif
+ for (c = 0; c < channels; c++)
+ {
+ if (c == alpha_channel)
+ continue;
+
+ decode_buffer[decode_pixel_index + c] *= alpha;
+ }
+ }
+ }
+
+ if (edge_horizontal == STBIR_EDGE_ZERO)
+ {
+ for (x = -stbir_info->horizontal_filter_pixel_margin; x < 0; x++)
+ {
+ for (c = 0; c < channels; c++)
+ decode_buffer[x*channels + c] = 0;
+ }
+ for (x = input_w; x < max_x; x++)
+ {
+ for (c = 0; c < channels; c++)
+ decode_buffer[x*channels + c] = 0;
+ }
+ }
+}
+
+static float* stbir__get_ring_buffer_entry(float* ring_buffer, int index, int ring_buffer_length)
+{
+ return &ring_buffer[index * ring_buffer_length];
+}
+
+static float* stbir__add_empty_ring_buffer_entry(stbir__info* stbir_info, int n)
+{
+ int ring_buffer_index;
+ float* ring_buffer;
+
+ stbir_info->ring_buffer_last_scanline = n;
+
+ if (stbir_info->ring_buffer_begin_index < 0)
+ {
+ ring_buffer_index = stbir_info->ring_buffer_begin_index = 0;
+ stbir_info->ring_buffer_first_scanline = n;
+ }
+ else
+ {
+ ring_buffer_index = (stbir_info->ring_buffer_begin_index + (stbir_info->ring_buffer_last_scanline - stbir_info->ring_buffer_first_scanline)) % stbir_info->ring_buffer_num_entries;
+ STBIR_ASSERT(ring_buffer_index != stbir_info->ring_buffer_begin_index);
+ }
+
+ ring_buffer = stbir__get_ring_buffer_entry(stbir_info->ring_buffer, ring_buffer_index, stbir_info->ring_buffer_length_bytes / sizeof(float));
+ memset(ring_buffer, 0, stbir_info->ring_buffer_length_bytes);
+
+ return ring_buffer;
+}
+
+
+static void stbir__resample_horizontal_upsample(stbir__info* stbir_info, float* output_buffer)
+{
+ int x, k;
+ int output_w = stbir_info->output_w;
+ int channels = stbir_info->channels;
+ float* decode_buffer = stbir__get_decode_buffer(stbir_info);
+ stbir__contributors* horizontal_contributors = stbir_info->horizontal_contributors;
+ float* horizontal_coefficients = stbir_info->horizontal_coefficients;
+ int coefficient_width = stbir_info->horizontal_coefficient_width;
+
+ for (x = 0; x < output_w; x++)
+ {
+ int n0 = horizontal_contributors[x].n0;
+ int n1 = horizontal_contributors[x].n1;
+
+ int out_pixel_index = x * channels;
+ int coefficient_group = coefficient_width * x;
+ int coefficient_counter = 0;
+
+ STBIR_ASSERT(n1 >= n0);
+ STBIR_ASSERT(n0 >= -stbir_info->horizontal_filter_pixel_margin);
+ STBIR_ASSERT(n1 >= -stbir_info->horizontal_filter_pixel_margin);
+ STBIR_ASSERT(n0 < stbir_info->input_w + stbir_info->horizontal_filter_pixel_margin);
+ STBIR_ASSERT(n1 < stbir_info->input_w + stbir_info->horizontal_filter_pixel_margin);
+
+ switch (channels) {
+ case 1:
+ for (k = n0; k <= n1; k++)
+ {
+ int in_pixel_index = k * 1;
+ float coefficient = horizontal_coefficients[coefficient_group + coefficient_counter++];
+ STBIR_ASSERT(coefficient != 0);
+ output_buffer[out_pixel_index + 0] += decode_buffer[in_pixel_index + 0] * coefficient;
+ }
+ break;
+ case 2:
+ for (k = n0; k <= n1; k++)
+ {
+ int in_pixel_index = k * 2;
+ float coefficient = horizontal_coefficients[coefficient_group + coefficient_counter++];
+ STBIR_ASSERT(coefficient != 0);
+ output_buffer[out_pixel_index + 0] += decode_buffer[in_pixel_index + 0] * coefficient;
+ output_buffer[out_pixel_index + 1] += decode_buffer[in_pixel_index + 1] * coefficient;
+ }
+ break;
+ case 3:
+ for (k = n0; k <= n1; k++)
+ {
+ int in_pixel_index = k * 3;
+ float coefficient = horizontal_coefficients[coefficient_group + coefficient_counter++];
+ STBIR_ASSERT(coefficient != 0);
+ output_buffer[out_pixel_index + 0] += decode_buffer[in_pixel_index + 0] * coefficient;
+ output_buffer[out_pixel_index + 1] += decode_buffer[in_pixel_index + 1] * coefficient;
+ output_buffer[out_pixel_index + 2] += decode_buffer[in_pixel_index + 2] * coefficient;
+ }
+ break;
+ case 4:
+ for (k = n0; k <= n1; k++)
+ {
+ int in_pixel_index = k * 4;
+ float coefficient = horizontal_coefficients[coefficient_group + coefficient_counter++];
+ STBIR_ASSERT(coefficient != 0);
+ output_buffer[out_pixel_index + 0] += decode_buffer[in_pixel_index + 0] * coefficient;
+ output_buffer[out_pixel_index + 1] += decode_buffer[in_pixel_index + 1] * coefficient;
+ output_buffer[out_pixel_index + 2] += decode_buffer[in_pixel_index + 2] * coefficient;
+ output_buffer[out_pixel_index + 3] += decode_buffer[in_pixel_index + 3] * coefficient;
+ }
+ break;
+ default:
+ for (k = n0; k <= n1; k++)
+ {
+ int in_pixel_index = k * channels;
+ float coefficient = horizontal_coefficients[coefficient_group + coefficient_counter++];
+ int c;
+ STBIR_ASSERT(coefficient != 0);
+ for (c = 0; c < channels; c++)
+ output_buffer[out_pixel_index + c] += decode_buffer[in_pixel_index + c] * coefficient;
+ }
+ break;
+ }
+ }
+}
+
+static void stbir__resample_horizontal_downsample(stbir__info* stbir_info, float* output_buffer)
+{
+ int x, k;
+ int input_w = stbir_info->input_w;
+ int channels = stbir_info->channels;
+ float* decode_buffer = stbir__get_decode_buffer(stbir_info);
+ stbir__contributors* horizontal_contributors = stbir_info->horizontal_contributors;
+ float* horizontal_coefficients = stbir_info->horizontal_coefficients;
+ int coefficient_width = stbir_info->horizontal_coefficient_width;
+ int filter_pixel_margin = stbir_info->horizontal_filter_pixel_margin;
+ int max_x = input_w + filter_pixel_margin * 2;
+
+ STBIR_ASSERT(!stbir__use_width_upsampling(stbir_info));
+
+ switch (channels) {
+ case 1:
+ for (x = 0; x < max_x; x++)
+ {
+ int n0 = horizontal_contributors[x].n0;
+ int n1 = horizontal_contributors[x].n1;
+
+ int in_x = x - filter_pixel_margin;
+ int in_pixel_index = in_x * 1;
+ int max_n = n1;
+ int coefficient_group = coefficient_width * x;
+
+ for (k = n0; k <= max_n; k++)
+ {
+ int out_pixel_index = k * 1;
+ float coefficient = horizontal_coefficients[coefficient_group + k - n0];
+ output_buffer[out_pixel_index + 0] += decode_buffer[in_pixel_index + 0] * coefficient;
+ }
+ }
+ break;
+
+ case 2:
+ for (x = 0; x < max_x; x++)
+ {
+ int n0 = horizontal_contributors[x].n0;
+ int n1 = horizontal_contributors[x].n1;
+
+ int in_x = x - filter_pixel_margin;
+ int in_pixel_index = in_x * 2;
+ int max_n = n1;
+ int coefficient_group = coefficient_width * x;
+
+ for (k = n0; k <= max_n; k++)
+ {
+ int out_pixel_index = k * 2;
+ float coefficient = horizontal_coefficients[coefficient_group + k - n0];
+ output_buffer[out_pixel_index + 0] += decode_buffer[in_pixel_index + 0] * coefficient;
+ output_buffer[out_pixel_index + 1] += decode_buffer[in_pixel_index + 1] * coefficient;
+ }
+ }
+ break;
+
+ case 3:
+ for (x = 0; x < max_x; x++)
+ {
+ int n0 = horizontal_contributors[x].n0;
+ int n1 = horizontal_contributors[x].n1;
+
+ int in_x = x - filter_pixel_margin;
+ int in_pixel_index = in_x * 3;
+ int max_n = n1;
+ int coefficient_group = coefficient_width * x;
+
+ for (k = n0; k <= max_n; k++)
+ {
+ int out_pixel_index = k * 3;
+ float coefficient = horizontal_coefficients[coefficient_group + k - n0];
+ output_buffer[out_pixel_index + 0] += decode_buffer[in_pixel_index + 0] * coefficient;
+ output_buffer[out_pixel_index + 1] += decode_buffer[in_pixel_index + 1] * coefficient;
+ output_buffer[out_pixel_index + 2] += decode_buffer[in_pixel_index + 2] * coefficient;
+ }
+ }
+ break;
+
+ case 4:
+ for (x = 0; x < max_x; x++)
+ {
+ int n0 = horizontal_contributors[x].n0;
+ int n1 = horizontal_contributors[x].n1;
+
+ int in_x = x - filter_pixel_margin;
+ int in_pixel_index = in_x * 4;
+ int max_n = n1;
+ int coefficient_group = coefficient_width * x;
+
+ for (k = n0; k <= max_n; k++)
+ {
+ int out_pixel_index = k * 4;
+ float coefficient = horizontal_coefficients[coefficient_group + k - n0];
+ output_buffer[out_pixel_index + 0] += decode_buffer[in_pixel_index + 0] * coefficient;
+ output_buffer[out_pixel_index + 1] += decode_buffer[in_pixel_index + 1] * coefficient;
+ output_buffer[out_pixel_index + 2] += decode_buffer[in_pixel_index + 2] * coefficient;
+ output_buffer[out_pixel_index + 3] += decode_buffer[in_pixel_index + 3] * coefficient;
+ }
+ }
+ break;
+
+ default:
+ for (x = 0; x < max_x; x++)
+ {
+ int n0 = horizontal_contributors[x].n0;
+ int n1 = horizontal_contributors[x].n1;
+
+ int in_x = x - filter_pixel_margin;
+ int in_pixel_index = in_x * channels;
+ int max_n = n1;
+ int coefficient_group = coefficient_width * x;
+
+ for (k = n0; k <= max_n; k++)
+ {
+ int c;
+ int out_pixel_index = k * channels;
+ float coefficient = horizontal_coefficients[coefficient_group + k - n0];
+ for (c = 0; c < channels; c++)
+ output_buffer[out_pixel_index + c] += decode_buffer[in_pixel_index + c] * coefficient;
+ }
+ }
+ break;
+ }
+}
+
+static void stbir__decode_and_resample_upsample(stbir__info* stbir_info, int n)
+{
+ // Decode the nth scanline from the source image into the decode buffer.
+ stbir__decode_scanline(stbir_info, n);
+
+ // Now resample it into the ring buffer.
+ if (stbir__use_width_upsampling(stbir_info))
+ stbir__resample_horizontal_upsample(stbir_info, stbir__add_empty_ring_buffer_entry(stbir_info, n));
+ else
+ stbir__resample_horizontal_downsample(stbir_info, stbir__add_empty_ring_buffer_entry(stbir_info, n));
+
+ // Now it's sitting in the ring buffer ready to be used as source for the vertical sampling.
+}
+
+static void stbir__decode_and_resample_downsample(stbir__info* stbir_info, int n)
+{
+ // Decode the nth scanline from the source image into the decode buffer.
+ stbir__decode_scanline(stbir_info, n);
+
+ memset(stbir_info->horizontal_buffer, 0, stbir_info->output_w * stbir_info->channels * sizeof(float));
+
+ // Now resample it into the horizontal buffer.
+ if (stbir__use_width_upsampling(stbir_info))
+ stbir__resample_horizontal_upsample(stbir_info, stbir_info->horizontal_buffer);
+ else
+ stbir__resample_horizontal_downsample(stbir_info, stbir_info->horizontal_buffer);
+
+ // Now it's sitting in the horizontal buffer ready to be distributed into the ring buffers.
+}
+
+// Get the specified scan line from the ring buffer.
+static float* stbir__get_ring_buffer_scanline(int get_scanline, float* ring_buffer, int begin_index, int first_scanline, int ring_buffer_num_entries, int ring_buffer_length)
+{
+ int ring_buffer_index = (begin_index + (get_scanline - first_scanline)) % ring_buffer_num_entries;
+ return stbir__get_ring_buffer_entry(ring_buffer, ring_buffer_index, ring_buffer_length);
+}
+
+
+static void stbir__encode_scanline(stbir__info* stbir_info, int num_pixels, void *output_buffer, float *encode_buffer, int channels, int alpha_channel, int decode)
+{
+ int x;
+ int n;
+ int num_nonalpha;
+ stbir_uint16 nonalpha[STBIR_MAX_CHANNELS];
+
+ if (!(stbir_info->flags&STBIR_FLAG_ALPHA_PREMULTIPLIED))
+ {
+ for (x=0; x < num_pixels; ++x)
+ {
+ int pixel_index = x*channels;
+
+ float alpha = encode_buffer[pixel_index + alpha_channel];
+ float reciprocal_alpha = alpha ? 1.0f / alpha : 0;
+
+ // unrolling this produced a 1% slowdown upscaling a large RGBA linear-space image on my machine - stb
+ for (n = 0; n < channels; n++)
+ if (n != alpha_channel)
+ encode_buffer[pixel_index + n] *= reciprocal_alpha;
+
+ // We added in a small epsilon to prevent the color channel from being deleted with zero alpha.
+ // Because we only add it for integer types, it will automatically be discarded on integer
+ // conversion, so we don't need to subtract it back out (which would be problematic for
+ // numeric precision reasons).
+ }
+ }
+
+ // build a table of all channels that need colorspace correction, so
+ // we don't perform colorspace correction on channels that don't need it.
+ for (x = 0, num_nonalpha = 0; x < channels; ++x)
+ {
+ if (x != alpha_channel || (stbir_info->flags & STBIR_FLAG_ALPHA_USES_COLORSPACE))
+ {
+ nonalpha[num_nonalpha++] = (stbir_uint16)x;
+ }
+ }
+
+ #define STBIR__ROUND_INT(f) ((int) ((f)+0.5))
+ #define STBIR__ROUND_UINT(f) ((stbir_uint32) ((f)+0.5))
+
+ #ifdef STBIR__SATURATE_INT
+ #define STBIR__ENCODE_LINEAR8(f) stbir__saturate8 (STBIR__ROUND_INT((f) * stbir__max_uint8_as_float ))
+ #define STBIR__ENCODE_LINEAR16(f) stbir__saturate16(STBIR__ROUND_INT((f) * stbir__max_uint16_as_float))
+ #else
+ #define STBIR__ENCODE_LINEAR8(f) (unsigned char ) STBIR__ROUND_INT(stbir__saturate(f) * stbir__max_uint8_as_float )
+ #define STBIR__ENCODE_LINEAR16(f) (unsigned short) STBIR__ROUND_INT(stbir__saturate(f) * stbir__max_uint16_as_float)
+ #endif
+
+ switch (decode)
+ {
+ case STBIR__DECODE(STBIR_TYPE_UINT8, STBIR_COLORSPACE_LINEAR):
+ for (x=0; x < num_pixels; ++x)
+ {
+ int pixel_index = x*channels;
+
+ for (n = 0; n < channels; n++)
+ {
+ int index = pixel_index + n;
+ ((unsigned char*)output_buffer)[index] = STBIR__ENCODE_LINEAR8(encode_buffer[index]);
+ }
+ }
+ break;
+
+ case STBIR__DECODE(STBIR_TYPE_UINT8, STBIR_COLORSPACE_SRGB):
+ for (x=0; x < num_pixels; ++x)
+ {
+ int pixel_index = x*channels;
+
+ for (n = 0; n < num_nonalpha; n++)
+ {
+ int index = pixel_index + nonalpha[n];
+ ((unsigned char*)output_buffer)[index] = stbir__linear_to_srgb_uchar(encode_buffer[index]);
+ }
+
+ if (!(stbir_info->flags & STBIR_FLAG_ALPHA_USES_COLORSPACE))
+ ((unsigned char *)output_buffer)[pixel_index + alpha_channel] = STBIR__ENCODE_LINEAR8(encode_buffer[pixel_index+alpha_channel]);
+ }
+ break;
+
+ case STBIR__DECODE(STBIR_TYPE_UINT16, STBIR_COLORSPACE_LINEAR):
+ for (x=0; x < num_pixels; ++x)
+ {
+ int pixel_index = x*channels;
+
+ for (n = 0; n < channels; n++)
+ {
+ int index = pixel_index + n;
+ ((unsigned short*)output_buffer)[index] = STBIR__ENCODE_LINEAR16(encode_buffer[index]);
+ }
+ }
+ break;
+
+ case STBIR__DECODE(STBIR_TYPE_UINT16, STBIR_COLORSPACE_SRGB):
+ for (x=0; x < num_pixels; ++x)
+ {
+ int pixel_index = x*channels;
+
+ for (n = 0; n < num_nonalpha; n++)
+ {
+ int index = pixel_index + nonalpha[n];
+ ((unsigned short*)output_buffer)[index] = (unsigned short)STBIR__ROUND_INT(stbir__linear_to_srgb(stbir__saturate(encode_buffer[index])) * stbir__max_uint16_as_float);
+ }
+
+ if (!(stbir_info->flags&STBIR_FLAG_ALPHA_USES_COLORSPACE))
+ ((unsigned short*)output_buffer)[pixel_index + alpha_channel] = STBIR__ENCODE_LINEAR16(encode_buffer[pixel_index + alpha_channel]);
+ }
+
+ break;
+
+ case STBIR__DECODE(STBIR_TYPE_UINT32, STBIR_COLORSPACE_LINEAR):
+ for (x=0; x < num_pixels; ++x)
+ {
+ int pixel_index = x*channels;
+
+ for (n = 0; n < channels; n++)
+ {
+ int index = pixel_index + n;
+ ((unsigned int*)output_buffer)[index] = (unsigned int)STBIR__ROUND_UINT(((double)stbir__saturate(encode_buffer[index])) * stbir__max_uint32_as_float);
+ }
+ }
+ break;
+
+ case STBIR__DECODE(STBIR_TYPE_UINT32, STBIR_COLORSPACE_SRGB):
+ for (x=0; x < num_pixels; ++x)
+ {
+ int pixel_index = x*channels;
+
+ for (n = 0; n < num_nonalpha; n++)
+ {
+ int index = pixel_index + nonalpha[n];
+ ((unsigned int*)output_buffer)[index] = (unsigned int)STBIR__ROUND_UINT(((double)stbir__linear_to_srgb(stbir__saturate(encode_buffer[index]))) * stbir__max_uint32_as_float);
+ }
+
+ if (!(stbir_info->flags&STBIR_FLAG_ALPHA_USES_COLORSPACE))
+ ((unsigned int*)output_buffer)[pixel_index + alpha_channel] = (unsigned int)STBIR__ROUND_INT(((double)stbir__saturate(encode_buffer[pixel_index + alpha_channel])) * stbir__max_uint32_as_float);
+ }
+ break;
+
+ case STBIR__DECODE(STBIR_TYPE_FLOAT, STBIR_COLORSPACE_LINEAR):
+ for (x=0; x < num_pixels; ++x)
+ {
+ int pixel_index = x*channels;
+
+ for (n = 0; n < channels; n++)
+ {
+ int index = pixel_index + n;
+ ((float*)output_buffer)[index] = encode_buffer[index];
+ }
+ }
+ break;
+
+ case STBIR__DECODE(STBIR_TYPE_FLOAT, STBIR_COLORSPACE_SRGB):
+ for (x=0; x < num_pixels; ++x)
+ {
+ int pixel_index = x*channels;
+
+ for (n = 0; n < num_nonalpha; n++)
+ {
+ int index = pixel_index + nonalpha[n];
+ ((float*)output_buffer)[index] = stbir__linear_to_srgb(encode_buffer[index]);
+ }
+
+ if (!(stbir_info->flags&STBIR_FLAG_ALPHA_USES_COLORSPACE))
+ ((float*)output_buffer)[pixel_index + alpha_channel] = encode_buffer[pixel_index + alpha_channel];
+ }
+ break;
+
+ default:
+ STBIR_ASSERT(!"Unknown type/colorspace/channels combination.");
+ break;
+ }
+}
+
+static void stbir__resample_vertical_upsample(stbir__info* stbir_info, int n)
+{
+ int x, k;
+ int output_w = stbir_info->output_w;
+ stbir__contributors* vertical_contributors = stbir_info->vertical_contributors;
+ float* vertical_coefficients = stbir_info->vertical_coefficients;
+ int channels = stbir_info->channels;
+ int alpha_channel = stbir_info->alpha_channel;
+ int type = stbir_info->type;
+ int colorspace = stbir_info->colorspace;
+ int ring_buffer_entries = stbir_info->ring_buffer_num_entries;
+ void* output_data = stbir_info->output_data;
+ float* encode_buffer = stbir_info->encode_buffer;
+ int decode = STBIR__DECODE(type, colorspace);
+ int coefficient_width = stbir_info->vertical_coefficient_width;
+ int coefficient_counter;
+ int contributor = n;
+
+ float* ring_buffer = stbir_info->ring_buffer;
+ int ring_buffer_begin_index = stbir_info->ring_buffer_begin_index;
+ int ring_buffer_first_scanline = stbir_info->ring_buffer_first_scanline;
+ int ring_buffer_length = stbir_info->ring_buffer_length_bytes/sizeof(float);
+
+ int n0,n1, output_row_start;
+ int coefficient_group = coefficient_width * contributor;
+
+ n0 = vertical_contributors[contributor].n0;
+ n1 = vertical_contributors[contributor].n1;
+
+ output_row_start = n * stbir_info->output_stride_bytes;
+
+ STBIR_ASSERT(stbir__use_height_upsampling(stbir_info));
+
+ memset(encode_buffer, 0, output_w * sizeof(float) * channels);
+
+ // I tried reblocking this for better cache usage of encode_buffer
+ // (using x_outer, k, x_inner), but it lost speed. -- stb
+
+ coefficient_counter = 0;
+ switch (channels) {
+ case 1:
+ for (k = n0; k <= n1; k++)
+ {
+ int coefficient_index = coefficient_counter++;
+ float* ring_buffer_entry = stbir__get_ring_buffer_scanline(k, ring_buffer, ring_buffer_begin_index, ring_buffer_first_scanline, ring_buffer_entries, ring_buffer_length);
+ float coefficient = vertical_coefficients[coefficient_group + coefficient_index];
+ for (x = 0; x < output_w; ++x)
+ {
+ int in_pixel_index = x * 1;
+ encode_buffer[in_pixel_index + 0] += ring_buffer_entry[in_pixel_index + 0] * coefficient;
+ }
+ }
+ break;
+ case 2:
+ for (k = n0; k <= n1; k++)
+ {
+ int coefficient_index = coefficient_counter++;
+ float* ring_buffer_entry = stbir__get_ring_buffer_scanline(k, ring_buffer, ring_buffer_begin_index, ring_buffer_first_scanline, ring_buffer_entries, ring_buffer_length);
+ float coefficient = vertical_coefficients[coefficient_group + coefficient_index];
+ for (x = 0; x < output_w; ++x)
+ {
+ int in_pixel_index = x * 2;
+ encode_buffer[in_pixel_index + 0] += ring_buffer_entry[in_pixel_index + 0] * coefficient;
+ encode_buffer[in_pixel_index + 1] += ring_buffer_entry[in_pixel_index + 1] * coefficient;
+ }
+ }
+ break;
+ case 3:
+ for (k = n0; k <= n1; k++)
+ {
+ int coefficient_index = coefficient_counter++;
+ float* ring_buffer_entry = stbir__get_ring_buffer_scanline(k, ring_buffer, ring_buffer_begin_index, ring_buffer_first_scanline, ring_buffer_entries, ring_buffer_length);
+ float coefficient = vertical_coefficients[coefficient_group + coefficient_index];
+ for (x = 0; x < output_w; ++x)
+ {
+ int in_pixel_index = x * 3;
+ encode_buffer[in_pixel_index + 0] += ring_buffer_entry[in_pixel_index + 0] * coefficient;
+ encode_buffer[in_pixel_index + 1] += ring_buffer_entry[in_pixel_index + 1] * coefficient;
+ encode_buffer[in_pixel_index + 2] += ring_buffer_entry[in_pixel_index + 2] * coefficient;
+ }
+ }
+ break;
+ case 4:
+ for (k = n0; k <= n1; k++)
+ {
+ int coefficient_index = coefficient_counter++;
+ float* ring_buffer_entry = stbir__get_ring_buffer_scanline(k, ring_buffer, ring_buffer_begin_index, ring_buffer_first_scanline, ring_buffer_entries, ring_buffer_length);
+ float coefficient = vertical_coefficients[coefficient_group + coefficient_index];
+ for (x = 0; x < output_w; ++x)
+ {
+ int in_pixel_index = x * 4;
+ encode_buffer[in_pixel_index + 0] += ring_buffer_entry[in_pixel_index + 0] * coefficient;
+ encode_buffer[in_pixel_index + 1] += ring_buffer_entry[in_pixel_index + 1] * coefficient;
+ encode_buffer[in_pixel_index + 2] += ring_buffer_entry[in_pixel_index + 2] * coefficient;
+ encode_buffer[in_pixel_index + 3] += ring_buffer_entry[in_pixel_index + 3] * coefficient;
+ }
+ }
+ break;
+ default:
+ for (k = n0; k <= n1; k++)
+ {
+ int coefficient_index = coefficient_counter++;
+ float* ring_buffer_entry = stbir__get_ring_buffer_scanline(k, ring_buffer, ring_buffer_begin_index, ring_buffer_first_scanline, ring_buffer_entries, ring_buffer_length);
+ float coefficient = vertical_coefficients[coefficient_group + coefficient_index];
+ for (x = 0; x < output_w; ++x)
+ {
+ int in_pixel_index = x * channels;
+ int c;
+ for (c = 0; c < channels; c++)
+ encode_buffer[in_pixel_index + c] += ring_buffer_entry[in_pixel_index + c] * coefficient;
+ }
+ }
+ break;
+ }
+ stbir__encode_scanline(stbir_info, output_w, (char *) output_data + output_row_start, encode_buffer, channels, alpha_channel, decode);
+}
+
+static void stbir__resample_vertical_downsample(stbir__info* stbir_info, int n)
+{
+ int x, k;
+ int output_w = stbir_info->output_w;
+ stbir__contributors* vertical_contributors = stbir_info->vertical_contributors;
+ float* vertical_coefficients = stbir_info->vertical_coefficients;
+ int channels = stbir_info->channels;
+ int ring_buffer_entries = stbir_info->ring_buffer_num_entries;
+ float* horizontal_buffer = stbir_info->horizontal_buffer;
+ int coefficient_width = stbir_info->vertical_coefficient_width;
+ int contributor = n + stbir_info->vertical_filter_pixel_margin;
+
+ float* ring_buffer = stbir_info->ring_buffer;
+ int ring_buffer_begin_index = stbir_info->ring_buffer_begin_index;
+ int ring_buffer_first_scanline = stbir_info->ring_buffer_first_scanline;
+ int ring_buffer_length = stbir_info->ring_buffer_length_bytes/sizeof(float);
+ int n0,n1;
+
+ n0 = vertical_contributors[contributor].n0;
+ n1 = vertical_contributors[contributor].n1;
+
+ STBIR_ASSERT(!stbir__use_height_upsampling(stbir_info));
+
+ for (k = n0; k <= n1; k++)
+ {
+ int coefficient_index = k - n0;
+ int coefficient_group = coefficient_width * contributor;
+ float coefficient = vertical_coefficients[coefficient_group + coefficient_index];
+
+ float* ring_buffer_entry = stbir__get_ring_buffer_scanline(k, ring_buffer, ring_buffer_begin_index, ring_buffer_first_scanline, ring_buffer_entries, ring_buffer_length);
+
+ switch (channels) {
+ case 1:
+ for (x = 0; x < output_w; x++)
+ {
+ int in_pixel_index = x * 1;
+ ring_buffer_entry[in_pixel_index + 0] += horizontal_buffer[in_pixel_index + 0] * coefficient;
+ }
+ break;
+ case 2:
+ for (x = 0; x < output_w; x++)
+ {
+ int in_pixel_index = x * 2;
+ ring_buffer_entry[in_pixel_index + 0] += horizontal_buffer[in_pixel_index + 0] * coefficient;
+ ring_buffer_entry[in_pixel_index + 1] += horizontal_buffer[in_pixel_index + 1] * coefficient;
+ }
+ break;
+ case 3:
+ for (x = 0; x < output_w; x++)
+ {
+ int in_pixel_index = x * 3;
+ ring_buffer_entry[in_pixel_index + 0] += horizontal_buffer[in_pixel_index + 0] * coefficient;
+ ring_buffer_entry[in_pixel_index + 1] += horizontal_buffer[in_pixel_index + 1] * coefficient;
+ ring_buffer_entry[in_pixel_index + 2] += horizontal_buffer[in_pixel_index + 2] * coefficient;
+ }
+ break;
+ case 4:
+ for (x = 0; x < output_w; x++)
+ {
+ int in_pixel_index = x * 4;
+ ring_buffer_entry[in_pixel_index + 0] += horizontal_buffer[in_pixel_index + 0] * coefficient;
+ ring_buffer_entry[in_pixel_index + 1] += horizontal_buffer[in_pixel_index + 1] * coefficient;
+ ring_buffer_entry[in_pixel_index + 2] += horizontal_buffer[in_pixel_index + 2] * coefficient;
+ ring_buffer_entry[in_pixel_index + 3] += horizontal_buffer[in_pixel_index + 3] * coefficient;
+ }
+ break;
+ default:
+ for (x = 0; x < output_w; x++)
+ {
+ int in_pixel_index = x * channels;
+
+ int c;
+ for (c = 0; c < channels; c++)
+ ring_buffer_entry[in_pixel_index + c] += horizontal_buffer[in_pixel_index + c] * coefficient;
+ }
+ break;
+ }
+ }
+}
+
+static void stbir__buffer_loop_upsample(stbir__info* stbir_info)
+{
+ int y;
+ float scale_ratio = stbir_info->vertical_scale;
+ float out_scanlines_radius = stbir__filter_info_table[stbir_info->vertical_filter].support(1/scale_ratio) * scale_ratio;
+
+ STBIR_ASSERT(stbir__use_height_upsampling(stbir_info));
+
+ for (y = 0; y < stbir_info->output_h; y++)
+ {
+ float in_center_of_out = 0; // Center of the current out scanline in the in scanline space
+ int in_first_scanline = 0, in_last_scanline = 0;
+
+ stbir__calculate_sample_range_upsample(y, out_scanlines_radius, scale_ratio, stbir_info->vertical_shift, &in_first_scanline, &in_last_scanline, &in_center_of_out);
+
+ STBIR_ASSERT(in_last_scanline - in_first_scanline + 1 <= stbir_info->ring_buffer_num_entries);
+
+ if (stbir_info->ring_buffer_begin_index >= 0)
+ {
+ // Get rid of whatever we don't need anymore.
+ while (in_first_scanline > stbir_info->ring_buffer_first_scanline)
+ {
+ if (stbir_info->ring_buffer_first_scanline == stbir_info->ring_buffer_last_scanline)
+ {
+ // We just popped the last scanline off the ring buffer.
+ // Reset it to the empty state.
+ stbir_info->ring_buffer_begin_index = -1;
+ stbir_info->ring_buffer_first_scanline = 0;
+ stbir_info->ring_buffer_last_scanline = 0;
+ break;
+ }
+ else
+ {
+ stbir_info->ring_buffer_first_scanline++;
+ stbir_info->ring_buffer_begin_index = (stbir_info->ring_buffer_begin_index + 1) % stbir_info->ring_buffer_num_entries;
+ }
+ }
+ }
+
+ // Load in new ones.
+ if (stbir_info->ring_buffer_begin_index < 0)
+ stbir__decode_and_resample_upsample(stbir_info, in_first_scanline);
+
+ while (in_last_scanline > stbir_info->ring_buffer_last_scanline)
+ stbir__decode_and_resample_upsample(stbir_info, stbir_info->ring_buffer_last_scanline + 1);
+
+ // Now all buffers should be ready to write a row of vertical sampling.
+ stbir__resample_vertical_upsample(stbir_info, y);
+
+ STBIR_PROGRESS_REPORT((float)y / stbir_info->output_h);
+ }
+}
+
+static void stbir__empty_ring_buffer(stbir__info* stbir_info, int first_necessary_scanline)
+{
+ int output_stride_bytes = stbir_info->output_stride_bytes;
+ int channels = stbir_info->channels;
+ int alpha_channel = stbir_info->alpha_channel;
+ int type = stbir_info->type;
+ int colorspace = stbir_info->colorspace;
+ int output_w = stbir_info->output_w;
+ void* output_data = stbir_info->output_data;
+ int decode = STBIR__DECODE(type, colorspace);
+
+ float* ring_buffer = stbir_info->ring_buffer;
+ int ring_buffer_length = stbir_info->ring_buffer_length_bytes/sizeof(float);
+
+ if (stbir_info->ring_buffer_begin_index >= 0)
+ {
+ // Get rid of whatever we don't need anymore.
+ while (first_necessary_scanline > stbir_info->ring_buffer_first_scanline)
+ {
+ if (stbir_info->ring_buffer_first_scanline >= 0 && stbir_info->ring_buffer_first_scanline < stbir_info->output_h)
+ {
+ int output_row_start = stbir_info->ring_buffer_first_scanline * output_stride_bytes;
+ float* ring_buffer_entry = stbir__get_ring_buffer_entry(ring_buffer, stbir_info->ring_buffer_begin_index, ring_buffer_length);
+ stbir__encode_scanline(stbir_info, output_w, (char *) output_data + output_row_start, ring_buffer_entry, channels, alpha_channel, decode);
+ STBIR_PROGRESS_REPORT((float)stbir_info->ring_buffer_first_scanline / stbir_info->output_h);
+ }
+
+ if (stbir_info->ring_buffer_first_scanline == stbir_info->ring_buffer_last_scanline)
+ {
+ // We just popped the last scanline off the ring buffer.
+ // Reset it to the empty state.
+ stbir_info->ring_buffer_begin_index = -1;
+ stbir_info->ring_buffer_first_scanline = 0;
+ stbir_info->ring_buffer_last_scanline = 0;
+ break;
+ }
+ else
+ {
+ stbir_info->ring_buffer_first_scanline++;
+ stbir_info->ring_buffer_begin_index = (stbir_info->ring_buffer_begin_index + 1) % stbir_info->ring_buffer_num_entries;
+ }
+ }
+ }
+}
+
+static void stbir__buffer_loop_downsample(stbir__info* stbir_info)
+{
+ int y;
+ float scale_ratio = stbir_info->vertical_scale;
+ int output_h = stbir_info->output_h;
+ float in_pixels_radius = stbir__filter_info_table[stbir_info->vertical_filter].support(scale_ratio) / scale_ratio;
+ int pixel_margin = stbir_info->vertical_filter_pixel_margin;
+ int max_y = stbir_info->input_h + pixel_margin;
+
+ STBIR_ASSERT(!stbir__use_height_upsampling(stbir_info));
+
+ for (y = -pixel_margin; y < max_y; y++)
+ {
+ float out_center_of_in; // Center of the current out scanline in the in scanline space
+ int out_first_scanline, out_last_scanline;
+
+ stbir__calculate_sample_range_downsample(y, in_pixels_radius, scale_ratio, stbir_info->vertical_shift, &out_first_scanline, &out_last_scanline, &out_center_of_in);
+
+ STBIR_ASSERT(out_last_scanline - out_first_scanline + 1 <= stbir_info->ring_buffer_num_entries);
+
+ if (out_last_scanline < 0 || out_first_scanline >= output_h)
+ continue;
+
+ stbir__empty_ring_buffer(stbir_info, out_first_scanline);
+
+ stbir__decode_and_resample_downsample(stbir_info, y);
+
+ // Load in new ones.
+ if (stbir_info->ring_buffer_begin_index < 0)
+ stbir__add_empty_ring_buffer_entry(stbir_info, out_first_scanline);
+
+ while (out_last_scanline > stbir_info->ring_buffer_last_scanline)
+ stbir__add_empty_ring_buffer_entry(stbir_info, stbir_info->ring_buffer_last_scanline + 1);
+
+ // Now the horizontal buffer is ready to write to all ring buffer rows.
+ stbir__resample_vertical_downsample(stbir_info, y);
+ }
+
+ stbir__empty_ring_buffer(stbir_info, stbir_info->output_h);
+}
+
+static void stbir__setup(stbir__info *info, int input_w, int input_h, int output_w, int output_h, int channels)
+{
+ info->input_w = input_w;
+ info->input_h = input_h;
+ info->output_w = output_w;
+ info->output_h = output_h;
+ info->channels = channels;
+}
+
+static void stbir__calculate_transform(stbir__info *info, float s0, float t0, float s1, float t1, float *transform)
+{
+ info->s0 = s0;
+ info->t0 = t0;
+ info->s1 = s1;
+ info->t1 = t1;
+
+ if (transform)
+ {
+ info->horizontal_scale = transform[0];
+ info->vertical_scale = transform[1];
+ info->horizontal_shift = transform[2];
+ info->vertical_shift = transform[3];
+ }
+ else
+ {
+ info->horizontal_scale = ((float)info->output_w / info->input_w) / (s1 - s0);
+ info->vertical_scale = ((float)info->output_h / info->input_h) / (t1 - t0);
+
+ info->horizontal_shift = s0 * info->output_w / (s1 - s0);
+ info->vertical_shift = t0 * info->output_h / (t1 - t0);
+ }
+}
+
+static void stbir__choose_filter(stbir__info *info, stbir_filter h_filter, stbir_filter v_filter)
+{
+ if (h_filter == 0)
+ h_filter = stbir__use_upsampling(info->horizontal_scale) ? STBIR_DEFAULT_FILTER_UPSAMPLE : STBIR_DEFAULT_FILTER_DOWNSAMPLE;
+ if (v_filter == 0)
+ v_filter = stbir__use_upsampling(info->vertical_scale) ? STBIR_DEFAULT_FILTER_UPSAMPLE : STBIR_DEFAULT_FILTER_DOWNSAMPLE;
+ info->horizontal_filter = h_filter;
+ info->vertical_filter = v_filter;
+}
+
+static stbir_uint32 stbir__calculate_memory(stbir__info *info)
+{
+ int pixel_margin = stbir__get_filter_pixel_margin(info->horizontal_filter, info->horizontal_scale);
+ int filter_height = stbir__get_filter_pixel_width(info->vertical_filter, info->vertical_scale);
+
+ info->horizontal_num_contributors = stbir__get_contributors(info->horizontal_scale, info->horizontal_filter, info->input_w, info->output_w);
+ info->vertical_num_contributors = stbir__get_contributors(info->vertical_scale , info->vertical_filter , info->input_h, info->output_h);
+
+ // One extra entry because floating point precision problems sometimes cause an extra to be necessary.
+ info->ring_buffer_num_entries = filter_height + 1;
+
+ info->horizontal_contributors_size = info->horizontal_num_contributors * sizeof(stbir__contributors);
+ info->horizontal_coefficients_size = stbir__get_total_horizontal_coefficients(info) * sizeof(float);
+ info->vertical_contributors_size = info->vertical_num_contributors * sizeof(stbir__contributors);
+ info->vertical_coefficients_size = stbir__get_total_vertical_coefficients(info) * sizeof(float);
+ info->decode_buffer_size = (info->input_w + pixel_margin * 2) * info->channels * sizeof(float);
+ info->horizontal_buffer_size = info->output_w * info->channels * sizeof(float);
+ info->ring_buffer_size = info->output_w * info->channels * info->ring_buffer_num_entries * sizeof(float);
+ info->encode_buffer_size = info->output_w * info->channels * sizeof(float);
+
+ STBIR_ASSERT(info->horizontal_filter != 0);
+ STBIR_ASSERT(info->horizontal_filter < STBIR__ARRAY_SIZE(stbir__filter_info_table)); // this now happens too late
+ STBIR_ASSERT(info->vertical_filter != 0);
+ STBIR_ASSERT(info->vertical_filter < STBIR__ARRAY_SIZE(stbir__filter_info_table)); // this now happens too late
+
+ if (stbir__use_height_upsampling(info))
+ // The horizontal buffer is for when we're downsampling the height and we
+ // can't output the result of sampling the decode buffer directly into the
+ // ring buffers.
+ info->horizontal_buffer_size = 0;
+ else
+ // The encode buffer is to retain precision in the height upsampling method
+ // and isn't used when height downsampling.
+ info->encode_buffer_size = 0;
+
+ return info->horizontal_contributors_size + info->horizontal_coefficients_size
+ + info->vertical_contributors_size + info->vertical_coefficients_size
+ + info->decode_buffer_size + info->horizontal_buffer_size
+ + info->ring_buffer_size + info->encode_buffer_size;
+}
+
+static int stbir__resize_allocated(stbir__info *info,
+ const void* input_data, int input_stride_in_bytes,
+ void* output_data, int output_stride_in_bytes,
+ int alpha_channel, stbir_uint32 flags, stbir_datatype type,
+ stbir_edge edge_horizontal, stbir_edge edge_vertical, stbir_colorspace colorspace,
+ void* tempmem, size_t tempmem_size_in_bytes)
+{
+ size_t memory_required = stbir__calculate_memory(info);
+
+ int width_stride_input = input_stride_in_bytes ? input_stride_in_bytes : info->channels * info->input_w * stbir__type_size[type];
+ int width_stride_output = output_stride_in_bytes ? output_stride_in_bytes : info->channels * info->output_w * stbir__type_size[type];
+
+#ifdef STBIR_DEBUG_OVERWRITE_TEST
+#define OVERWRITE_ARRAY_SIZE 8
+ unsigned char overwrite_output_before_pre[OVERWRITE_ARRAY_SIZE];
+ unsigned char overwrite_tempmem_before_pre[OVERWRITE_ARRAY_SIZE];
+ unsigned char overwrite_output_after_pre[OVERWRITE_ARRAY_SIZE];
+ unsigned char overwrite_tempmem_after_pre[OVERWRITE_ARRAY_SIZE];
+
+ size_t begin_forbidden = width_stride_output * (info->output_h - 1) + info->output_w * info->channels * stbir__type_size[type];
+ memcpy(overwrite_output_before_pre, &((unsigned char*)output_data)[-OVERWRITE_ARRAY_SIZE], OVERWRITE_ARRAY_SIZE);
+ memcpy(overwrite_output_after_pre, &((unsigned char*)output_data)[begin_forbidden], OVERWRITE_ARRAY_SIZE);
+ memcpy(overwrite_tempmem_before_pre, &((unsigned char*)tempmem)[-OVERWRITE_ARRAY_SIZE], OVERWRITE_ARRAY_SIZE);
+ memcpy(overwrite_tempmem_after_pre, &((unsigned char*)tempmem)[tempmem_size_in_bytes], OVERWRITE_ARRAY_SIZE);
+#endif
+
+ STBIR_ASSERT(info->channels >= 0);
+ STBIR_ASSERT(info->channels <= STBIR_MAX_CHANNELS);
+
+ if (info->channels < 0 || info->channels > STBIR_MAX_CHANNELS)
+ return 0;
+
+ STBIR_ASSERT(info->horizontal_filter < STBIR__ARRAY_SIZE(stbir__filter_info_table));
+ STBIR_ASSERT(info->vertical_filter < STBIR__ARRAY_SIZE(stbir__filter_info_table));
+
+ if (info->horizontal_filter >= STBIR__ARRAY_SIZE(stbir__filter_info_table))
+ return 0;
+ if (info->vertical_filter >= STBIR__ARRAY_SIZE(stbir__filter_info_table))
+ return 0;
+
+ if (alpha_channel < 0)
+ flags |= STBIR_FLAG_ALPHA_USES_COLORSPACE | STBIR_FLAG_ALPHA_PREMULTIPLIED;
+
+ if (!(flags&STBIR_FLAG_ALPHA_USES_COLORSPACE) || !(flags&STBIR_FLAG_ALPHA_PREMULTIPLIED)) {
+ STBIR_ASSERT(alpha_channel >= 0 && alpha_channel < info->channels);
+ }
+
+ if (alpha_channel >= info->channels)
+ return 0;
+
+ STBIR_ASSERT(tempmem);
+
+ if (!tempmem)
+ return 0;
+
+ STBIR_ASSERT(tempmem_size_in_bytes >= memory_required);
+
+ if (tempmem_size_in_bytes < memory_required)
+ return 0;
+
+ memset(tempmem, 0, tempmem_size_in_bytes);
+
+ info->input_data = input_data;
+ info->input_stride_bytes = width_stride_input;
+
+ info->output_data = output_data;
+ info->output_stride_bytes = width_stride_output;
+
+ info->alpha_channel = alpha_channel;
+ info->flags = flags;
+ info->type = type;
+ info->edge_horizontal = edge_horizontal;
+ info->edge_vertical = edge_vertical;
+ info->colorspace = colorspace;
+
+ info->horizontal_coefficient_width = stbir__get_coefficient_width (info->horizontal_filter, info->horizontal_scale);
+ info->vertical_coefficient_width = stbir__get_coefficient_width (info->vertical_filter , info->vertical_scale );
+ info->horizontal_filter_pixel_width = stbir__get_filter_pixel_width (info->horizontal_filter, info->horizontal_scale);
+ info->vertical_filter_pixel_width = stbir__get_filter_pixel_width (info->vertical_filter , info->vertical_scale );
+ info->horizontal_filter_pixel_margin = stbir__get_filter_pixel_margin(info->horizontal_filter, info->horizontal_scale);
+ info->vertical_filter_pixel_margin = stbir__get_filter_pixel_margin(info->vertical_filter , info->vertical_scale );
+
+ info->ring_buffer_length_bytes = info->output_w * info->channels * sizeof(float);
+ info->decode_buffer_pixels = info->input_w + info->horizontal_filter_pixel_margin * 2;
+
+#define STBIR__NEXT_MEMPTR(current, newtype) (newtype*)(((unsigned char*)current) + current##_size)
+
+ info->horizontal_contributors = (stbir__contributors *) tempmem;
+ info->horizontal_coefficients = STBIR__NEXT_MEMPTR(info->horizontal_contributors, float);
+ info->vertical_contributors = STBIR__NEXT_MEMPTR(info->horizontal_coefficients, stbir__contributors);
+ info->vertical_coefficients = STBIR__NEXT_MEMPTR(info->vertical_contributors, float);
+ info->decode_buffer = STBIR__NEXT_MEMPTR(info->vertical_coefficients, float);
+
+ if (stbir__use_height_upsampling(info))
+ {
+ info->horizontal_buffer = NULL;
+ info->ring_buffer = STBIR__NEXT_MEMPTR(info->decode_buffer, float);
+ info->encode_buffer = STBIR__NEXT_MEMPTR(info->ring_buffer, float);
+
+ STBIR_ASSERT((size_t)STBIR__NEXT_MEMPTR(info->encode_buffer, unsigned char) == (size_t)tempmem + tempmem_size_in_bytes);
+ }
+ else
+ {
+ info->horizontal_buffer = STBIR__NEXT_MEMPTR(info->decode_buffer, float);
+ info->ring_buffer = STBIR__NEXT_MEMPTR(info->horizontal_buffer, float);
+ info->encode_buffer = NULL;
+
+ STBIR_ASSERT((size_t)STBIR__NEXT_MEMPTR(info->ring_buffer, unsigned char) == (size_t)tempmem + tempmem_size_in_bytes);
+ }
+
+#undef STBIR__NEXT_MEMPTR
+
+ // This signals that the ring buffer is empty
+ info->ring_buffer_begin_index = -1;
+
+ stbir__calculate_filters(info->horizontal_contributors, info->horizontal_coefficients, info->horizontal_filter, info->horizontal_scale, info->horizontal_shift, info->input_w, info->output_w);
+ stbir__calculate_filters(info->vertical_contributors, info->vertical_coefficients, info->vertical_filter, info->vertical_scale, info->vertical_shift, info->input_h, info->output_h);
+
+ STBIR_PROGRESS_REPORT(0);
+
+ if (stbir__use_height_upsampling(info))
+ stbir__buffer_loop_upsample(info);
+ else
+ stbir__buffer_loop_downsample(info);
+
+ STBIR_PROGRESS_REPORT(1);
+
+#ifdef STBIR_DEBUG_OVERWRITE_TEST
+ STBIR_ASSERT(memcmp(overwrite_output_before_pre, &((unsigned char*)output_data)[-OVERWRITE_ARRAY_SIZE], OVERWRITE_ARRAY_SIZE) == 0);
+ STBIR_ASSERT(memcmp(overwrite_output_after_pre, &((unsigned char*)output_data)[begin_forbidden], OVERWRITE_ARRAY_SIZE) == 0);
+ STBIR_ASSERT(memcmp(overwrite_tempmem_before_pre, &((unsigned char*)tempmem)[-OVERWRITE_ARRAY_SIZE], OVERWRITE_ARRAY_SIZE) == 0);
+ STBIR_ASSERT(memcmp(overwrite_tempmem_after_pre, &((unsigned char*)tempmem)[tempmem_size_in_bytes], OVERWRITE_ARRAY_SIZE) == 0);
+#endif
+
+ return 1;
+}
+
+
+static int stbir__resize_arbitrary(
+ void *alloc_context,
+ const void* input_data, int input_w, int input_h, int input_stride_in_bytes,
+ void* output_data, int output_w, int output_h, int output_stride_in_bytes,
+ float s0, float t0, float s1, float t1, float *transform,
+ int channels, int alpha_channel, stbir_uint32 flags, stbir_datatype type,
+ stbir_filter h_filter, stbir_filter v_filter,
+ stbir_edge edge_horizontal, stbir_edge edge_vertical, stbir_colorspace colorspace)
+{
+ stbir__info info;
+ int result;
+ size_t memory_required;
+ void* extra_memory;
+
+ stbir__setup(&info, input_w, input_h, output_w, output_h, channels);
+ stbir__calculate_transform(&info, s0,t0,s1,t1,transform);
+ stbir__choose_filter(&info, h_filter, v_filter);
+ memory_required = stbir__calculate_memory(&info);
+ extra_memory = STBIR_MALLOC(memory_required, alloc_context);
+
+ if (!extra_memory)
+ return 0;
+
+ result = stbir__resize_allocated(&info, input_data, input_stride_in_bytes,
+ output_data, output_stride_in_bytes,
+ alpha_channel, flags, type,
+ edge_horizontal, edge_vertical,
+ colorspace, extra_memory, memory_required);
+
+ STBIR_FREE(extra_memory, alloc_context);
+
+ return result;
+}
+
+STBIRDEF int stbir_resize_uint8( const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
+ int num_channels)
+{
+ return stbir__resize_arbitrary(NULL, input_pixels, input_w, input_h, input_stride_in_bytes,
+ output_pixels, output_w, output_h, output_stride_in_bytes,
+ 0,0,1,1,NULL,num_channels,-1,0, STBIR_TYPE_UINT8, STBIR_FILTER_DEFAULT, STBIR_FILTER_DEFAULT,
+ STBIR_EDGE_CLAMP, STBIR_EDGE_CLAMP, STBIR_COLORSPACE_LINEAR);
+}
+
+STBIRDEF int stbir_resize_float( const float *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ float *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
+ int num_channels)
+{
+ return stbir__resize_arbitrary(NULL, input_pixels, input_w, input_h, input_stride_in_bytes,
+ output_pixels, output_w, output_h, output_stride_in_bytes,
+ 0,0,1,1,NULL,num_channels,-1,0, STBIR_TYPE_FLOAT, STBIR_FILTER_DEFAULT, STBIR_FILTER_DEFAULT,
+ STBIR_EDGE_CLAMP, STBIR_EDGE_CLAMP, STBIR_COLORSPACE_LINEAR);
+}
+
+STBIRDEF int stbir_resize_uint8_srgb(const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
+ int num_channels, int alpha_channel, int flags)
+{
+ return stbir__resize_arbitrary(NULL, input_pixels, input_w, input_h, input_stride_in_bytes,
+ output_pixels, output_w, output_h, output_stride_in_bytes,
+ 0,0,1,1,NULL,num_channels,alpha_channel,flags, STBIR_TYPE_UINT8, STBIR_FILTER_DEFAULT, STBIR_FILTER_DEFAULT,
+ STBIR_EDGE_CLAMP, STBIR_EDGE_CLAMP, STBIR_COLORSPACE_SRGB);
+}
+
+STBIRDEF int stbir_resize_uint8_srgb_edgemode(const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
+ int num_channels, int alpha_channel, int flags,
+ stbir_edge edge_wrap_mode)
+{
+ return stbir__resize_arbitrary(NULL, input_pixels, input_w, input_h, input_stride_in_bytes,
+ output_pixels, output_w, output_h, output_stride_in_bytes,
+ 0,0,1,1,NULL,num_channels,alpha_channel,flags, STBIR_TYPE_UINT8, STBIR_FILTER_DEFAULT, STBIR_FILTER_DEFAULT,
+ edge_wrap_mode, edge_wrap_mode, STBIR_COLORSPACE_SRGB);
+}
+
+STBIRDEF int stbir_resize_uint8_generic( const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
+ int num_channels, int alpha_channel, int flags,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ void *alloc_context)
+{
+ return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
+ output_pixels, output_w, output_h, output_stride_in_bytes,
+ 0,0,1,1,NULL,num_channels,alpha_channel,flags, STBIR_TYPE_UINT8, filter, filter,
+ edge_wrap_mode, edge_wrap_mode, space);
+}
+
+STBIRDEF int stbir_resize_uint16_generic(const stbir_uint16 *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ stbir_uint16 *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
+ int num_channels, int alpha_channel, int flags,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ void *alloc_context)
+{
+ return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
+ output_pixels, output_w, output_h, output_stride_in_bytes,
+ 0,0,1,1,NULL,num_channels,alpha_channel,flags, STBIR_TYPE_UINT16, filter, filter,
+ edge_wrap_mode, edge_wrap_mode, space);
+}
+
+
+STBIRDEF int stbir_resize_float_generic( const float *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ float *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
+ int num_channels, int alpha_channel, int flags,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ void *alloc_context)
+{
+ return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
+ output_pixels, output_w, output_h, output_stride_in_bytes,
+ 0,0,1,1,NULL,num_channels,alpha_channel,flags, STBIR_TYPE_FLOAT, filter, filter,
+ edge_wrap_mode, edge_wrap_mode, space);
+}
+
+
+STBIRDEF int stbir_resize( const void *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
+ stbir_datatype datatype,
+ int num_channels, int alpha_channel, int flags,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_filter filter_horizontal, stbir_filter filter_vertical,
+ stbir_colorspace space, void *alloc_context)
+{
+ return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
+ output_pixels, output_w, output_h, output_stride_in_bytes,
+ 0,0,1,1,NULL,num_channels,alpha_channel,flags, datatype, filter_horizontal, filter_vertical,
+ edge_mode_horizontal, edge_mode_vertical, space);
+}
+
+
+STBIRDEF int stbir_resize_subpixel(const void *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
+ stbir_datatype datatype,
+ int num_channels, int alpha_channel, int flags,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_filter filter_horizontal, stbir_filter filter_vertical,
+ stbir_colorspace space, void *alloc_context,
+ float x_scale, float y_scale,
+ float x_offset, float y_offset)
+{
+ float transform[4];
+ transform[0] = x_scale;
+ transform[1] = y_scale;
+ transform[2] = x_offset;
+ transform[3] = y_offset;
+ return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
+ output_pixels, output_w, output_h, output_stride_in_bytes,
+ 0,0,1,1,transform,num_channels,alpha_channel,flags, datatype, filter_horizontal, filter_vertical,
+ edge_mode_horizontal, edge_mode_vertical, space);
+}
+
+STBIRDEF int stbir_resize_region( const void *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
+ stbir_datatype datatype,
+ int num_channels, int alpha_channel, int flags,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_filter filter_horizontal, stbir_filter filter_vertical,
+ stbir_colorspace space, void *alloc_context,
+ float s0, float t0, float s1, float t1)
+{
+ return stbir__resize_arbitrary(alloc_context, input_pixels, input_w, input_h, input_stride_in_bytes,
+ output_pixels, output_w, output_h, output_stride_in_bytes,
+ s0,t0,s1,t1,NULL,num_channels,alpha_channel,flags, datatype, filter_horizontal, filter_vertical,
+ edge_mode_horizontal, edge_mode_vertical, space);
+}
+
+/*
+------------------------------------------------------------------------------
+This software is available under 2 licenses -- choose whichever you prefer.
+------------------------------------------------------------------------------
+ALTERNATIVE A - MIT License
+Copyright (c) 2017 Sean Barrett
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+------------------------------------------------------------------------------
+ALTERNATIVE B - Public Domain (www.unlicense.org)
+This is free and unencumbered software released into the public domain.
+Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
+software, either in source code form or as a compiled binary, for any purpose,
+commercial or non-commercial, and by any means.
+In jurisdictions that recognize copyright laws, the author or authors of this
+software dedicate any and all copyright interest in the software to the public
+domain. We make this dedication for the benefit of the public at large and to
+the detriment of our heirs and successors. We intend this dedication to be an
+overt act of relinquishment in perpetuity of all present and future rights to
+this software under copyright law.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+------------------------------------------------------------------------------
+*/
diff --git a/externals/stb/stb_image_resize.h b/externals/stb/stb_image_resize.h
new file mode 100644
index 000000000..3107e0670
--- /dev/null
+++ b/externals/stb/stb_image_resize.h
@@ -0,0 +1,426 @@
+// SPDX-FileCopyrightText: Jorge L Rodriguez
+// SPDX-License-Identifier: MIT
+
+/* stb_image_resize - v0.97 - public domain image resizing
+ by Jorge L Rodriguez (@VinoBS) - 2014
+ http://github.com/nothings/stb
+
+ Written with emphasis on usability, portability, and efficiency. (No
+ SIMD or threads, so it be easily outperformed by libs that use those.)
+ Only scaling and translation is supported, no rotations or shears.
+ Easy API downsamples w/Mitchell filter, upsamples w/cubic interpolation.
+
+ COMPILING & LINKING
+ In one C/C++ file that #includes this file, do this:
+ #define STB_IMAGE_RESIZE_IMPLEMENTATION
+ before the #include. That will create the implementation in that file.
+
+ QUICKSTART
+ stbir_resize_uint8( input_pixels , in_w , in_h , 0,
+ output_pixels, out_w, out_h, 0, num_channels)
+ stbir_resize_float(...)
+ stbir_resize_uint8_srgb( input_pixels , in_w , in_h , 0,
+ output_pixels, out_w, out_h, 0,
+ num_channels , alpha_chan , 0)
+ stbir_resize_uint8_srgb_edgemode(
+ input_pixels , in_w , in_h , 0,
+ output_pixels, out_w, out_h, 0,
+ num_channels , alpha_chan , 0, STBIR_EDGE_CLAMP)
+ // WRAP/REFLECT/ZERO
+
+ FULL API
+ See the "header file" section of the source for API documentation.
+
+ ADDITIONAL DOCUMENTATION
+
+ SRGB & FLOATING POINT REPRESENTATION
+ The sRGB functions presume IEEE floating point. If you do not have
+ IEEE floating point, define STBIR_NON_IEEE_FLOAT. This will use
+ a slower implementation.
+
+ MEMORY ALLOCATION
+ The resize functions here perform a single memory allocation using
+ malloc. To control the memory allocation, before the #include that
+ triggers the implementation, do:
+
+ #define STBIR_MALLOC(size,context) ...
+ #define STBIR_FREE(ptr,context) ...
+
+ Each resize function makes exactly one call to malloc/free, so to use
+ temp memory, store the temp memory in the context and return that.
+
+ ASSERT
+ Define STBIR_ASSERT(boolval) to override assert() and not use assert.h
+
+ OPTIMIZATION
+ Define STBIR_SATURATE_INT to compute clamp values in-range using
+ integer operations instead of float operations. This may be faster
+ on some platforms.
+
+ DEFAULT FILTERS
+ For functions which don't provide explicit control over what filters
+ to use, you can change the compile-time defaults with
+
+ #define STBIR_DEFAULT_FILTER_UPSAMPLE STBIR_FILTER_something
+ #define STBIR_DEFAULT_FILTER_DOWNSAMPLE STBIR_FILTER_something
+
+ See stbir_filter in the header-file section for the list of filters.
+
+ NEW FILTERS
+ A number of 1D filter kernels are used. For a list of
+ supported filters see the stbir_filter enum. To add a new filter,
+ write a filter function and add it to stbir__filter_info_table.
+
+ PROGRESS
+ For interactive use with slow resize operations, you can install
+ a progress-report callback:
+
+ #define STBIR_PROGRESS_REPORT(val) some_func(val)
+
+ The parameter val is a float which goes from 0 to 1 as progress is made.
+
+ For example:
+
+ static void my_progress_report(float progress);
+ #define STBIR_PROGRESS_REPORT(val) my_progress_report(val)
+
+ #define STB_IMAGE_RESIZE_IMPLEMENTATION
+ #include "stb_image_resize.h"
+
+ static void my_progress_report(float progress)
+ {
+ printf("Progress: %f%%\n", progress*100);
+ }
+
+ MAX CHANNELS
+ If your image has more than 64 channels, define STBIR_MAX_CHANNELS
+ to the max you'll have.
+
+ ALPHA CHANNEL
+ Most of the resizing functions provide the ability to control how
+ the alpha channel of an image is processed. The important things
+ to know about this:
+
+ 1. The best mathematically-behaved version of alpha to use is
+ called "premultiplied alpha", in which the other color channels
+ have had the alpha value multiplied in. If you use premultiplied
+ alpha, linear filtering (such as image resampling done by this
+ library, or performed in texture units on GPUs) does the "right
+ thing". While premultiplied alpha is standard in the movie CGI
+ industry, it is still uncommon in the videogame/real-time world.
+
+ If you linearly filter non-premultiplied alpha, strange effects
+ occur. (For example, the 50/50 average of 99% transparent bright green
+ and 1% transparent black produces 50% transparent dark green when
+ non-premultiplied, whereas premultiplied it produces 50%
+ transparent near-black. The former introduces green energy
+ that doesn't exist in the source image.)
+
+ 2. Artists should not edit premultiplied-alpha images; artists
+ want non-premultiplied alpha images. Thus, art tools generally output
+ non-premultiplied alpha images.
+
+ 3. You will get best results in most cases by converting images
+ to premultiplied alpha before processing them mathematically.
+
+ 4. If you pass the flag STBIR_FLAG_ALPHA_PREMULTIPLIED, the
+ resizer does not do anything special for the alpha channel;
+ it is resampled identically to other channels. This produces
+ the correct results for premultiplied-alpha images, but produces
+ less-than-ideal results for non-premultiplied-alpha images.
+
+ 5. If you do not pass the flag STBIR_FLAG_ALPHA_PREMULTIPLIED,
+ then the resizer weights the contribution of input pixels
+ based on their alpha values, or, equivalently, it multiplies
+ the alpha value into the color channels, resamples, then divides
+ by the resultant alpha value. Input pixels which have alpha=0 do
+ not contribute at all to output pixels unless _all_ of the input
+ pixels affecting that output pixel have alpha=0, in which case
+ the result for that pixel is the same as it would be without
+ STBIR_FLAG_ALPHA_PREMULTIPLIED. However, this is only true for
+ input images in integer formats. For input images in float format,
+ input pixels with alpha=0 have no effect, and output pixels
+ which have alpha=0 will be 0 in all channels. (For float images,
+ you can manually achieve the same result by adding a tiny epsilon
+ value to the alpha channel of every image, and then subtracting
+ or clamping it at the end.)
+
+ 6. You can suppress the behavior described in #5 and make
+ all-0-alpha pixels have 0 in all channels by #defining
+ STBIR_NO_ALPHA_EPSILON.
+
+ 7. You can separately control whether the alpha channel is
+ interpreted as linear or affected by the colorspace. By default
+ it is linear; you almost never want to apply the colorspace.
+ (For example, graphics hardware does not apply sRGB conversion
+ to the alpha channel.)
+
+ CONTRIBUTORS
+ Jorge L Rodriguez: Implementation
+ Sean Barrett: API design, optimizations
+ Aras Pranckevicius: bugfix
+ Nathan Reed: warning fixes
+
+ REVISIONS
+ 0.97 (2020-02-02) fixed warning
+ 0.96 (2019-03-04) fixed warnings
+ 0.95 (2017-07-23) fixed warnings
+ 0.94 (2017-03-18) fixed warnings
+ 0.93 (2017-03-03) fixed bug with certain combinations of heights
+ 0.92 (2017-01-02) fix integer overflow on large (>2GB) images
+ 0.91 (2016-04-02) fix warnings; fix handling of subpixel regions
+ 0.90 (2014-09-17) first released version
+
+ LICENSE
+ See end of file for license information.
+
+ TODO
+ Don't decode all of the image data when only processing a partial tile
+ Don't use full-width decode buffers when only processing a partial tile
+ When processing wide images, break processing into tiles so data fits in L1 cache
+ Installable filters?
+ Resize that respects alpha test coverage
+ (Reference code: FloatImage::alphaTestCoverage and FloatImage::scaleAlphaToCoverage:
+ https://code.google.com/p/nvidia-texture-tools/source/browse/trunk/src/nvimage/FloatImage.cpp )
+*/
+
+#ifndef STBIR_INCLUDE_STB_IMAGE_RESIZE_H
+#define STBIR_INCLUDE_STB_IMAGE_RESIZE_H
+
+#ifdef _MSC_VER
+typedef unsigned char stbir_uint8;
+typedef unsigned short stbir_uint16;
+typedef unsigned int stbir_uint32;
+#else
+#include <stdint.h>
+typedef uint8_t stbir_uint8;
+typedef uint16_t stbir_uint16;
+typedef uint32_t stbir_uint32;
+#endif
+
+#ifndef STBIRDEF
+#ifdef STB_IMAGE_RESIZE_STATIC
+#define STBIRDEF static
+#else
+#ifdef __cplusplus
+#define STBIRDEF extern "C"
+#else
+#define STBIRDEF extern
+#endif
+#endif
+#endif
+
+//////////////////////////////////////////////////////////////////////////////
+//
+// Easy-to-use API:
+//
+// * "input pixels" points to an array of image data with 'num_channels' channels (e.g. RGB=3, RGBA=4)
+// * input_w is input image width (x-axis), input_h is input image height (y-axis)
+// * stride is the offset between successive rows of image data in memory, in bytes. you can
+// specify 0 to mean packed continuously in memory
+// * alpha channel is treated identically to other channels.
+// * colorspace is linear or sRGB as specified by function name
+// * returned result is 1 for success or 0 in case of an error.
+// #define STBIR_ASSERT() to trigger an assert on parameter validation errors.
+// * Memory required grows approximately linearly with input and output size, but with
+// discontinuities at input_w == output_w and input_h == output_h.
+// * These functions use a "default" resampling filter defined at compile time. To change the filter,
+// you can change the compile-time defaults by #defining STBIR_DEFAULT_FILTER_UPSAMPLE
+// and STBIR_DEFAULT_FILTER_DOWNSAMPLE, or you can use the medium-complexity API.
+
+STBIRDEF int stbir_resize_uint8( const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
+ int num_channels);
+
+STBIRDEF int stbir_resize_float( const float *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ float *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
+ int num_channels);
+
+
+// The following functions interpret image data as gamma-corrected sRGB.
+// Specify STBIR_ALPHA_CHANNEL_NONE if you have no alpha channel,
+// or otherwise provide the index of the alpha channel. Flags value
+// of 0 will probably do the right thing if you're not sure what
+// the flags mean.
+
+#define STBIR_ALPHA_CHANNEL_NONE -1
+
+// Set this flag if your texture has premultiplied alpha. Otherwise, stbir will
+// use alpha-weighted resampling (effectively premultiplying, resampling,
+// then unpremultiplying).
+#define STBIR_FLAG_ALPHA_PREMULTIPLIED (1 << 0)
+// The specified alpha channel should be handled as gamma-corrected value even
+// when doing sRGB operations.
+#define STBIR_FLAG_ALPHA_USES_COLORSPACE (1 << 1)
+
+STBIRDEF int stbir_resize_uint8_srgb(const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
+ int num_channels, int alpha_channel, int flags);
+
+
+typedef enum
+{
+ STBIR_EDGE_CLAMP = 1,
+ STBIR_EDGE_REFLECT = 2,
+ STBIR_EDGE_WRAP = 3,
+ STBIR_EDGE_ZERO = 4,
+} stbir_edge;
+
+// This function adds the ability to specify how requests to sample off the edge of the image are handled.
+STBIRDEF int stbir_resize_uint8_srgb_edgemode(const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
+ int num_channels, int alpha_channel, int flags,
+ stbir_edge edge_wrap_mode);
+
+//////////////////////////////////////////////////////////////////////////////
+//
+// Medium-complexity API
+//
+// This extends the easy-to-use API as follows:
+//
+// * Alpha-channel can be processed separately
+// * If alpha_channel is not STBIR_ALPHA_CHANNEL_NONE
+// * Alpha channel will not be gamma corrected (unless flags&STBIR_FLAG_GAMMA_CORRECT)
+// * Filters will be weighted by alpha channel (unless flags&STBIR_FLAG_ALPHA_PREMULTIPLIED)
+// * Filter can be selected explicitly
+// * uint16 image type
+// * sRGB colorspace available for all types
+// * context parameter for passing to STBIR_MALLOC
+
+typedef enum
+{
+ STBIR_FILTER_DEFAULT = 0, // use same filter type that easy-to-use API chooses
+ STBIR_FILTER_BOX = 1, // A trapezoid w/1-pixel wide ramps, same result as box for integer scale ratios
+ STBIR_FILTER_TRIANGLE = 2, // On upsampling, produces same results as bilinear texture filtering
+ STBIR_FILTER_CUBICBSPLINE = 3, // The cubic b-spline (aka Mitchell-Netrevalli with B=1,C=0), gaussian-esque
+ STBIR_FILTER_CATMULLROM = 4, // An interpolating cubic spline
+ STBIR_FILTER_MITCHELL = 5, // Mitchell-Netrevalli filter with B=1/3, C=1/3
+} stbir_filter;
+
+typedef enum
+{
+ STBIR_COLORSPACE_LINEAR,
+ STBIR_COLORSPACE_SRGB,
+
+ STBIR_MAX_COLORSPACES,
+} stbir_colorspace;
+
+// The following functions are all identical except for the type of the image data
+
+STBIRDEF int stbir_resize_uint8_generic( const unsigned char *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ unsigned char *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
+ int num_channels, int alpha_channel, int flags,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ void *alloc_context);
+
+STBIRDEF int stbir_resize_uint16_generic(const stbir_uint16 *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ stbir_uint16 *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
+ int num_channels, int alpha_channel, int flags,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ void *alloc_context);
+
+STBIRDEF int stbir_resize_float_generic( const float *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ float *output_pixels , int output_w, int output_h, int output_stride_in_bytes,
+ int num_channels, int alpha_channel, int flags,
+ stbir_edge edge_wrap_mode, stbir_filter filter, stbir_colorspace space,
+ void *alloc_context);
+
+
+
+//////////////////////////////////////////////////////////////////////////////
+//
+// Full-complexity API
+//
+// This extends the medium API as follows:
+//
+// * uint32 image type
+// * not typesafe
+// * separate filter types for each axis
+// * separate edge modes for each axis
+// * can specify scale explicitly for subpixel correctness
+// * can specify image source tile using texture coordinates
+
+typedef enum
+{
+ STBIR_TYPE_UINT8 ,
+ STBIR_TYPE_UINT16,
+ STBIR_TYPE_UINT32,
+ STBIR_TYPE_FLOAT ,
+
+ STBIR_MAX_TYPES
+} stbir_datatype;
+
+STBIRDEF int stbir_resize( const void *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
+ stbir_datatype datatype,
+ int num_channels, int alpha_channel, int flags,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_filter filter_horizontal, stbir_filter filter_vertical,
+ stbir_colorspace space, void *alloc_context);
+
+STBIRDEF int stbir_resize_subpixel(const void *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
+ stbir_datatype datatype,
+ int num_channels, int alpha_channel, int flags,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_filter filter_horizontal, stbir_filter filter_vertical,
+ stbir_colorspace space, void *alloc_context,
+ float x_scale, float y_scale,
+ float x_offset, float y_offset);
+
+STBIRDEF int stbir_resize_region( const void *input_pixels , int input_w , int input_h , int input_stride_in_bytes,
+ void *output_pixels, int output_w, int output_h, int output_stride_in_bytes,
+ stbir_datatype datatype,
+ int num_channels, int alpha_channel, int flags,
+ stbir_edge edge_mode_horizontal, stbir_edge edge_mode_vertical,
+ stbir_filter filter_horizontal, stbir_filter filter_vertical,
+ stbir_colorspace space, void *alloc_context,
+ float s0, float t0, float s1, float t1);
+// (s0, t0) & (s1, t1) are the top-left and bottom right corner (uv addressing style: [0, 1]x[0, 1]) of a region of the input image to use.
+
+//
+//
+//// end header file /////////////////////////////////////////////////////
+#endif // STBIR_INCLUDE_STB_IMAGE_RESIZE_H
+
+/*
+------------------------------------------------------------------------------
+This software is available under 2 licenses -- choose whichever you prefer.
+------------------------------------------------------------------------------
+ALTERNATIVE A - MIT License
+Copyright (c) 2017 Sean Barrett
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+------------------------------------------------------------------------------
+ALTERNATIVE B - Public Domain (www.unlicense.org)
+This is free and unencumbered software released into the public domain.
+Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
+software, either in source code form or as a compiled binary, for any purpose,
+commercial or non-commercial, and by any means.
+In jurisdictions that recognize copyright laws, the author or authors of this
+software dedicate any and all copyright interest in the software to the public
+domain. We make this dedication for the benefit of the public at large and to
+the detriment of our heirs and successors. We intend this dedication to be an
+overt act of relinquishment in perpetuity of all present and future rights to
+this software under copyright law.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+------------------------------------------------------------------------------
+*/
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 0696201df..d7f68618c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -24,7 +24,7 @@ if (MSVC)
# Ensure that projects build with Unicode support.
add_definitions(-DUNICODE -D_UNICODE)
- # /W3 - Level 3 warnings
+ # /W4 - Level 4 warnings
# /MP - Multi-threaded compilation
# /Zi - Output debugging information
# /Zm - Specifies the precompiled header memory allocation limit
@@ -35,6 +35,7 @@ if (MSVC)
# /volatile:iso - Use strict standards-compliant volatile semantics.
# /Zc:externConstexpr - Allow extern constexpr variables to have external linkage, like the standard mandates
# /Zc:inline - Let codegen omit inline functions in object files
+ # /Zc:preprocessor - Enable standards-conforming preprocessor
# /Zc:throwingNew - Let codegen assume `operator new` (without std::nothrow) will never return null
# /GT - Supports fiber safety for data allocated using static thread-local storage
add_compile_options(
@@ -48,6 +49,7 @@ if (MSVC)
/volatile:iso
/Zc:externConstexpr
/Zc:inline
+ /Zc:preprocessor
/Zc:throwingNew
/GT
@@ -59,7 +61,7 @@ if (MSVC)
/external:W0 # Sets the default warning level to 0 for external headers, effectively turning off warnings for external headers
# Warnings
- /W3
+ /W4
/WX
/we4062 # Enumerator 'identifier' in a switch of enum 'enumeration' is not handled
@@ -82,12 +84,17 @@ if (MSVC)
/wd4100 # 'identifier': unreferenced formal parameter
/wd4324 # 'struct_name': structure was padded due to __declspec(align())
+ /wd4201 # nonstandard extension used : nameless struct/union
+ /wd4702 # unreachable code (when used with LTO)
)
if (USE_CCACHE OR YUZU_USE_PRECOMPILED_HEADERS)
# when caching, we need to use /Z7 to downgrade debug info to use an older but more cacheable format
# Precompiled headers are deleted if not using /Z7. See https://github.com/nanoant/CMakePCHCompiler/issues/21
add_compile_options(/Z7)
+ # Avoid D9025 warning
+ string(REPLACE "/Zi" "" CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}")
+ string(REPLACE "/Zi" "" CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
else()
add_compile_options(/Zi)
endif()
@@ -103,6 +110,8 @@ if (MSVC)
set(CMAKE_EXE_LINKER_FLAGS_RELEASE "/DEBUG /MANIFEST:NO /INCREMENTAL:NO /OPT:REF,ICF" CACHE STRING "" FORCE)
else()
add_compile_options(
+ -fwrapv
+
-Werror=all
-Werror=extra
-Werror=missing-declarations
@@ -112,19 +121,21 @@ else()
-Wno-attributes
-Wno-invalid-offsetof
-Wno-unused-parameter
-
- $<$<CXX_COMPILER_ID:Clang>:-Wno-braced-scalar-init>
- $<$<CXX_COMPILER_ID:Clang>:-Wno-unused-private-field>
- $<$<CXX_COMPILER_ID:Clang>:-Werror=shadow-uncaptured-local>
- $<$<CXX_COMPILER_ID:Clang>:-Werror=implicit-fallthrough>
- $<$<CXX_COMPILER_ID:Clang>:-Werror=type-limits>
- $<$<CXX_COMPILER_ID:AppleClang>:-Wno-braced-scalar-init>
- $<$<CXX_COMPILER_ID:AppleClang>:-Wno-unused-private-field>
)
+ if (CMAKE_CXX_COMPILER_ID MATCHES Clang) # Clang or AppleClang
+ add_compile_options(
+ -Wno-braced-scalar-init
+ -Wno-unused-private-field
+ -Wno-nullability-completeness
+ -Werror=shadow-uncaptured-local
+ -Werror=implicit-fallthrough
+ -Werror=type-limits
+ )
+ endif()
+
if (ARCHITECTURE_x86_64)
add_compile_options("-mcx16")
- add_compile_options("-fwrapv")
endif()
if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang)
@@ -132,7 +143,7 @@ else()
endif()
# GCC bugs
- if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "12" AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
+ if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL "11" AND CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
# These diagnostics would be great if they worked, but are just completely broken
# and produce bogus errors on external libraries like fmt.
add_compile_options(
diff --git a/src/android/.gitignore b/src/android/.gitignore
index 121cc8484..ff7121acd 100644
--- a/src/android/.gitignore
+++ b/src/android/.gitignore
@@ -63,3 +63,6 @@ fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
fastlane/readme.md
+
+# Autogenerated library for vulkan validation layers
+libVkLayer_khronos_validation.so
diff --git a/src/android/app/build.gradle.kts b/src/android/app/build.gradle.kts
index 9a47e2bd8..84a3308b7 100644
--- a/src/android/app/build.gradle.kts
+++ b/src/android/app/build.gradle.kts
@@ -77,13 +77,30 @@ android {
buildConfigField("String", "BRANCH", "\"${getBranch()}\"")
}
+ val keystoreFile = System.getenv("ANDROID_KEYSTORE_FILE")
+ if (keystoreFile != null) {
+ signingConfigs {
+ create("release") {
+ storeFile = file(keystoreFile)
+ storePassword = System.getenv("ANDROID_KEYSTORE_PASS")
+ keyAlias = System.getenv("ANDROID_KEY_ALIAS")
+ keyPassword = System.getenv("ANDROID_KEYSTORE_PASS")
+ }
+ }
+ }
+
// Define build types, which are orthogonal to product flavors.
buildTypes {
// Signed by release key, allowing for upload to Play Store.
release {
+ signingConfig = if (keystoreFile != null) {
+ signingConfigs.getByName("release")
+ } else {
+ signingConfigs.getByName("debug")
+ }
+
resValue("string", "app_name_suffixed", "yuzu")
- signingConfig = signingConfigs.getByName("debug")
isMinifyEnabled = true
isDebuggable = false
proguardFiles(
@@ -95,6 +112,7 @@ android {
// builds a release build that doesn't need signing
// Attaches 'debug' suffix to version and package name, allowing installation alongside the release build.
register("relWithDebInfo") {
+ isDefault = true
resValue("string", "app_name_suffixed", "yuzu Debug Release")
signingConfig = signingConfigs.getByName("debug")
isMinifyEnabled = true
@@ -122,6 +140,7 @@ android {
flavorDimensions.add("version")
productFlavors {
create("mainline") {
+ isDefault = true
dimension = "version"
buildConfigField("Boolean", "PREMIUM", "false")
}
@@ -160,6 +179,11 @@ android {
}
}
+tasks.create<Delete>("ktlintReset") {
+ delete(File(buildDir.path + File.separator + "intermediates/ktLint"))
+}
+
+tasks.getByPath("loadKtlintReporters").dependsOn("ktlintReset")
tasks.getByPath("preBuild").dependsOn("ktlintCheck")
ktlint {
@@ -190,7 +214,7 @@ dependencies {
implementation("androidx.lifecycle:lifecycle-viewmodel-ktx:2.6.1")
implementation("io.coil-kt:coil:2.2.2")
implementation("androidx.core:core-splashscreen:1.0.1")
- implementation("androidx.window:window:1.1.0")
+ implementation("androidx.window:window:1.2.0-beta03")
implementation("org.ini4j:ini4j:0.5.4")
implementation("androidx.constraintlayout:constraintlayout:2.1.4")
implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.1.0")
diff --git a/src/android/app/src/main/AndroidManifest.xml b/src/android/app/src/main/AndroidManifest.xml
index 6184f3eb6..832c08e15 100644
--- a/src/android/app/src/main/AndroidManifest.xml
+++ b/src/android/app/src/main/AndroidManifest.xml
@@ -25,6 +25,7 @@ SPDX-License-Identifier: GPL-3.0-or-later
android:hasFragileUserData="false"
android:supportsRtl="true"
android:isGame="true"
+ android:appCategory="game"
android:localeConfig="@xml/locales_config"
android:banner="@drawable/tv_banner"
android:extractNativeLibs="true"
@@ -55,7 +56,6 @@ SPDX-License-Identifier: GPL-3.0-or-later
android:name="org.yuzu.yuzu_emu.activities.EmulationActivity"
android:theme="@style/Theme.Yuzu.Main"
android:launchMode="singleTop"
- android:screenOrientation="userLandscape"
android:supportsPictureInPicture="true"
android:configChanges="orientation|screenSize|smallestScreenSize|screenLayout|uiMode"
android:exported="true">
@@ -66,6 +66,14 @@ SPDX-License-Identifier: GPL-3.0-or-later
<data android:mimeType="application/octet-stream" />
</intent-filter>
+ <intent-filter>
+ <action android:name="android.intent.action.VIEW" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <data
+ android:mimeType="application/octet-stream"
+ android:scheme="content"/>
+ </intent-filter>
+
<meta-data
android:name="android.nfc.action.TECH_DISCOVERED"
android:resource="@xml/nfc_tech_filter" />
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/NativeLibrary.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/NativeLibrary.kt
index 9c32e044c..6e39e542b 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/NativeLibrary.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/NativeLibrary.kt
@@ -22,9 +22,7 @@ import org.yuzu.yuzu_emu.utils.FileUtil.exists
import org.yuzu.yuzu_emu.utils.FileUtil.getFileSize
import org.yuzu.yuzu_emu.utils.FileUtil.isDirectory
import org.yuzu.yuzu_emu.utils.FileUtil.openContentUri
-import org.yuzu.yuzu_emu.utils.Log.error
-import org.yuzu.yuzu_emu.utils.Log.verbose
-import org.yuzu.yuzu_emu.utils.Log.warning
+import org.yuzu.yuzu_emu.utils.Log
import org.yuzu.yuzu_emu.utils.SerializableHelper.serializable
/**
@@ -219,10 +217,6 @@ object NativeLibrary {
external fun reloadSettings()
- external fun getUserSetting(gameID: String?, Section: String?, Key: String?): String?
-
- external fun setUserSetting(gameID: String?, Section: String?, Key: String?, Value: String?)
-
external fun initGameIni(gameID: String?)
/**
@@ -253,7 +247,12 @@ object NativeLibrary {
external fun setAppDirectory(directory: String)
- external fun installFileToNand(filename: String): Int
+ /**
+ * Installs a nsp or xci file to nand
+ * @param filename String representation of file uri
+ * @param extension Lowercase string representation of file extension without "."
+ */
+ external fun installFileToNand(filename: String, extension: String): Int
external fun initializeGpuDriver(
hookLibDir: String?,
@@ -314,21 +313,6 @@ object NativeLibrary {
external fun isPaused(): Boolean
/**
- * Mutes emulation sound
- */
- external fun muteAudio(): Boolean
-
- /**
- * Unmutes emulation sound
- */
- external fun unmuteAudio(): Boolean
-
- /**
- * Returns true if emulation audio is muted.
- */
- external fun isMuted(): Boolean
-
- /**
* Returns the performance stats for the current game
*/
external fun getPerfStats(): DoubleArray
@@ -413,14 +397,17 @@ object NativeLibrary {
details.ifEmpty { emulationActivity.getString(R.string.system_archive_general) }
)
}
+
CoreError.ErrorSavestate -> {
title = emulationActivity.getString(R.string.save_load_error)
message = details
}
+
CoreError.ErrorUnknown -> {
title = emulationActivity.getString(R.string.fatal_error)
message = emulationActivity.getString(R.string.fatal_error_message)
}
+
else -> {
return true
}
@@ -454,6 +441,7 @@ object NativeLibrary {
captionId = R.string.loader_error_video_core
descriptionId = R.string.loader_error_video_core_description
}
+
else -> {
captionId = R.string.loader_error_encrypted
descriptionId = R.string.loader_error_encrypted_roms_description
@@ -465,7 +453,7 @@ object NativeLibrary {
val emulationActivity = sEmulationActivity.get()
if (emulationActivity == null) {
- warning("[NativeLibrary] EmulationActivity is null, can't exit.")
+ Log.warning("[NativeLibrary] EmulationActivity is null, can't exit.")
return
}
@@ -490,15 +478,27 @@ object NativeLibrary {
}
fun setEmulationActivity(emulationActivity: EmulationActivity?) {
- verbose("[NativeLibrary] Registering EmulationActivity.")
+ Log.verbose("[NativeLibrary] Registering EmulationActivity.")
sEmulationActivity = WeakReference(emulationActivity)
}
fun clearEmulationActivity() {
- verbose("[NativeLibrary] Unregistering EmulationActivity.")
+ Log.verbose("[NativeLibrary] Unregistering EmulationActivity.")
sEmulationActivity.clear()
}
+ @Keep
+ @JvmStatic
+ fun onEmulationStarted() {
+ sEmulationActivity.get()!!.onEmulationStarted()
+ }
+
+ @Keep
+ @JvmStatic
+ fun onEmulationStopped(status: Int) {
+ sEmulationActivity.get()!!.onEmulationStopped(status)
+ }
+
/**
* Logs the Yuzu version, Android version and, CPU.
*/
@@ -517,6 +517,11 @@ object NativeLibrary {
external fun submitInlineKeyboardInput(key_code: Int)
/**
+ * Creates a generic user directory if it doesn't exist already
+ */
+ external fun initializeEmptyUserDirectory()
+
+ /**
* Button type for use in onTouchEvent
*/
object ButtonType {
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/YuzuApplication.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/YuzuApplication.kt
index 04ab6a220..9561748cb 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/YuzuApplication.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/YuzuApplication.kt
@@ -46,7 +46,7 @@ class YuzuApplication : Application() {
super.onCreate()
application = this
documentsTree = DocumentsTree()
- DirectoryInitialization.start(applicationContext)
+ DirectoryInitialization.start()
GpuDriverHelper.initializeDriverParameters(applicationContext)
NativeLibrary.logDeviceInfo()
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt
index 7461fb093..e96a2059b 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt
@@ -3,6 +3,7 @@
package org.yuzu.yuzu_emu.activities
+import android.annotation.SuppressLint
import android.app.Activity
import android.app.PendingIntent
import android.app.PictureInPictureParams
@@ -42,7 +43,7 @@ import org.yuzu.yuzu_emu.databinding.ActivityEmulationBinding
import org.yuzu.yuzu_emu.features.settings.model.BooleanSetting
import org.yuzu.yuzu_emu.features.settings.model.IntSetting
import org.yuzu.yuzu_emu.features.settings.model.Settings
-import org.yuzu.yuzu_emu.features.settings.model.SettingsViewModel
+import org.yuzu.yuzu_emu.model.EmulationViewModel
import org.yuzu.yuzu_emu.model.Game
import org.yuzu.yuzu_emu.utils.ControllerMappingHelper
import org.yuzu.yuzu_emu.utils.ForegroundService
@@ -72,18 +73,17 @@ class EmulationActivity : AppCompatActivity(), SensorEventListener {
private val actionMute = "ACTION_EMULATOR_MUTE"
private val actionUnmute = "ACTION_EMULATOR_UNMUTE"
- private val settingsViewModel: SettingsViewModel by viewModels()
+ private val emulationViewModel: EmulationViewModel by viewModels()
override fun onDestroy() {
stopForegroundService(this)
+ emulationViewModel.clear()
super.onDestroy()
}
override fun onCreate(savedInstanceState: Bundle?) {
ThemeHelper.setTheme(this)
- settingsViewModel.settings.loadSettings()
-
super.onCreate(savedInstanceState)
binding = ActivityEmulationBinding.inflate(layoutInflater)
@@ -91,9 +91,7 @@ class EmulationActivity : AppCompatActivity(), SensorEventListener {
val navHostFragment =
supportFragmentManager.findFragmentById(R.id.fragment_container) as NavHostFragment
- val navController = navHostFragment.navController
- navController
- .setGraph(R.navigation.emulation_navigation, intent.extras)
+ navHostFragment.navController.setGraph(R.navigation.emulation_navigation, intent.extras)
isActivityRecreated = savedInstanceState != null
@@ -335,7 +333,7 @@ class EmulationActivity : AppCompatActivity(), SensorEventListener {
pictureInPictureActions.add(pauseRemoteAction)
}
- if (NativeLibrary.isMuted()) {
+ if (BooleanSetting.AUDIO_MUTED.boolean) {
val unmuteIcon = Icon.createWithResource(
this@EmulationActivity,
R.drawable.ic_pip_unmute
@@ -392,14 +390,15 @@ class EmulationActivity : AppCompatActivity(), SensorEventListener {
if (!NativeLibrary.isPaused()) NativeLibrary.pauseEmulation()
}
if (intent.action == actionUnmute) {
- if (NativeLibrary.isMuted()) NativeLibrary.unmuteAudio()
+ if (BooleanSetting.AUDIO_MUTED.boolean) BooleanSetting.AUDIO_MUTED.setBoolean(false)
} else if (intent.action == actionMute) {
- if (!NativeLibrary.isMuted()) NativeLibrary.muteAudio()
+ if (!BooleanSetting.AUDIO_MUTED.boolean) BooleanSetting.AUDIO_MUTED.setBoolean(true)
}
buildPictureInPictureParams()
}
}
+ @SuppressLint("UnspecifiedRegisterReceiverFlag")
override fun onPictureInPictureModeChanged(
isInPictureInPictureMode: Boolean,
newConfig: Configuration
@@ -412,7 +411,11 @@ class EmulationActivity : AppCompatActivity(), SensorEventListener {
addAction(actionMute)
addAction(actionUnmute)
}.also {
- registerReceiver(pictureInPictureReceiver, it)
+ if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
+ registerReceiver(pictureInPictureReceiver, it, RECEIVER_EXPORTED)
+ } else {
+ registerReceiver(pictureInPictureReceiver, it)
+ }
}
} else {
try {
@@ -420,7 +423,17 @@ class EmulationActivity : AppCompatActivity(), SensorEventListener {
} catch (ignored: Exception) {
}
// Always resume audio, since there is no UI button
- if (NativeLibrary.isMuted()) NativeLibrary.unmuteAudio()
+ if (BooleanSetting.AUDIO_MUTED.boolean) BooleanSetting.AUDIO_MUTED.setBoolean(false)
+ }
+ }
+
+ fun onEmulationStarted() {
+ emulationViewModel.setEmulationStarted(true)
+ }
+
+ fun onEmulationStopped(status: Int) {
+ if (status == 0) {
+ finish()
}
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/GameAdapter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/GameAdapter.kt
index e91277d35..f9f88a1d2 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/GameAdapter.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/GameAdapter.kt
@@ -3,8 +3,9 @@
package org.yuzu.yuzu_emu.adapters
+import android.content.Intent
import android.graphics.Bitmap
-import android.graphics.BitmapFactory
+import android.graphics.drawable.LayerDrawable
import android.net.Uri
import android.text.TextUtils
import android.view.LayoutInflater
@@ -13,25 +14,29 @@ import android.view.ViewGroup
import android.widget.ImageView
import android.widget.Toast
import androidx.appcompat.app.AppCompatActivity
+import androidx.core.content.pm.ShortcutInfoCompat
+import androidx.core.content.pm.ShortcutManagerCompat
+import androidx.core.content.res.ResourcesCompat
+import androidx.core.graphics.drawable.IconCompat
+import androidx.core.graphics.drawable.toBitmap
+import androidx.core.graphics.drawable.toDrawable
import androidx.documentfile.provider.DocumentFile
import androidx.lifecycle.ViewModelProvider
-import androidx.lifecycle.lifecycleScope
import androidx.navigation.findNavController
import androidx.preference.PreferenceManager
import androidx.recyclerview.widget.AsyncDifferConfig
import androidx.recyclerview.widget.DiffUtil
import androidx.recyclerview.widget.ListAdapter
import androidx.recyclerview.widget.RecyclerView
-import coil.load
-import kotlinx.coroutines.launch
import org.yuzu.yuzu_emu.HomeNavigationDirections
-import org.yuzu.yuzu_emu.NativeLibrary
import org.yuzu.yuzu_emu.R
import org.yuzu.yuzu_emu.YuzuApplication
+import org.yuzu.yuzu_emu.activities.EmulationActivity
import org.yuzu.yuzu_emu.adapters.GameAdapter.GameViewHolder
import org.yuzu.yuzu_emu.databinding.CardGameBinding
import org.yuzu.yuzu_emu.model.Game
import org.yuzu.yuzu_emu.model.GamesViewModel
+import org.yuzu.yuzu_emu.utils.GameIconUtils
class GameAdapter(private val activity: AppCompatActivity) :
ListAdapter<Game, GameViewHolder>(AsyncDifferConfig.Builder(DiffCallback()).build()),
@@ -82,6 +87,34 @@ class GameAdapter(private val activity: AppCompatActivity) :
)
.apply()
+ val openIntent = Intent(YuzuApplication.appContext, EmulationActivity::class.java).apply {
+ action = Intent.ACTION_VIEW
+ data = Uri.parse(holder.game.path)
+ }
+
+ val layerDrawable = ResourcesCompat.getDrawable(
+ YuzuApplication.appContext.resources,
+ R.drawable.shortcut,
+ null
+ ) as LayerDrawable
+ layerDrawable.setDrawableByLayerId(
+ R.id.shortcut_foreground,
+ GameIconUtils.getGameIcon(holder.game).toDrawable(YuzuApplication.appContext.resources)
+ )
+ val inset = YuzuApplication.appContext.resources
+ .getDimensionPixelSize(R.dimen.icon_inset)
+ layerDrawable.setLayerInset(1, inset, inset, inset, inset)
+ val shortcut = ShortcutInfoCompat.Builder(YuzuApplication.appContext, holder.game.path)
+ .setShortLabel(holder.game.title)
+ .setIcon(
+ IconCompat.createWithAdaptiveBitmap(
+ layerDrawable.toBitmap(config = Bitmap.Config.ARGB_8888)
+ )
+ )
+ .setIntent(openIntent)
+ .build()
+ ShortcutManagerCompat.pushDynamicShortcut(YuzuApplication.appContext, shortcut)
+
val action = HomeNavigationDirections.actionGlobalEmulationActivity(holder.game)
view.findNavController().navigate(action)
}
@@ -98,12 +131,7 @@ class GameAdapter(private val activity: AppCompatActivity) :
this.game = game
binding.imageGameScreen.scaleType = ImageView.ScaleType.CENTER_CROP
- activity.lifecycleScope.launch {
- val bitmap = decodeGameIcon(game.path)
- binding.imageGameScreen.load(bitmap) {
- error(R.drawable.default_icon)
- }
- }
+ GameIconUtils.loadGameIcon(game, binding.imageGameScreen)
binding.textGameTitle.text = game.title.replace("[\\t\\n\\r]+".toRegex(), " ")
@@ -126,14 +154,4 @@ class GameAdapter(private val activity: AppCompatActivity) :
return oldItem == newItem
}
}
-
- private fun decodeGameIcon(uri: String): Bitmap? {
- val data = NativeLibrary.getIcon(uri)
- return BitmapFactory.decodeByteArray(
- data,
- 0,
- data.size,
- BitmapFactory.Options()
- )
- }
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/HomeSettingAdapter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/HomeSettingAdapter.kt
index aadc445f9..58ce343f4 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/HomeSettingAdapter.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/HomeSettingAdapter.kt
@@ -3,19 +3,29 @@
package org.yuzu.yuzu_emu.adapters
+import android.text.TextUtils
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.core.content.ContextCompat
import androidx.core.content.res.ResourcesCompat
+import androidx.lifecycle.Lifecycle
+import androidx.lifecycle.LifecycleOwner
+import androidx.lifecycle.lifecycleScope
+import androidx.lifecycle.repeatOnLifecycle
import androidx.recyclerview.widget.RecyclerView
+import kotlinx.coroutines.launch
import org.yuzu.yuzu_emu.R
import org.yuzu.yuzu_emu.databinding.CardHomeOptionBinding
import org.yuzu.yuzu_emu.fragments.MessageDialogFragment
import org.yuzu.yuzu_emu.model.HomeSetting
-class HomeSettingAdapter(private val activity: AppCompatActivity, var options: List<HomeSetting>) :
+class HomeSettingAdapter(
+ private val activity: AppCompatActivity,
+ private val viewLifecycle: LifecycleOwner,
+ var options: List<HomeSetting>
+) :
RecyclerView.Adapter<HomeSettingAdapter.HomeOptionViewHolder>(),
View.OnClickListener {
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): HomeOptionViewHolder {
@@ -39,8 +49,9 @@ class HomeSettingAdapter(private val activity: AppCompatActivity, var options: L
holder.option.onClick.invoke()
} else {
MessageDialogFragment.newInstance(
- holder.option.disabledTitleId,
- holder.option.disabledMessageId
+ activity,
+ titleId = holder.option.disabledTitleId,
+ descriptionId = holder.option.disabledMessageId
).show(activity.supportFragmentManager, MessageDialogFragment.TAG)
}
}
@@ -79,6 +90,26 @@ class HomeSettingAdapter(private val activity: AppCompatActivity, var options: L
binding.optionDescription.alpha = 0.5f
binding.optionIcon.alpha = 0.5f
}
+
+ viewLifecycle.lifecycleScope.launch {
+ viewLifecycle.repeatOnLifecycle(Lifecycle.State.CREATED) {
+ option.details.collect { updateOptionDetails(it) }
+ }
+ }
+ binding.optionDetail.postDelayed(
+ {
+ binding.optionDetail.ellipsize = TextUtils.TruncateAt.MARQUEE
+ binding.optionDetail.isSelected = true
+ },
+ 3000
+ )
+ }
+
+ private fun updateOptionDetails(detailString: String) {
+ if (detailString.isNotEmpty()) {
+ binding.optionDetail.text = detailString
+ binding.optionDetail.visibility = View.VISIBLE
+ }
}
}
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/InstallableAdapter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/InstallableAdapter.kt
new file mode 100644
index 000000000..e960fbaab
--- /dev/null
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/InstallableAdapter.kt
@@ -0,0 +1,49 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+package org.yuzu.yuzu_emu.adapters
+
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+import androidx.recyclerview.widget.RecyclerView
+import org.yuzu.yuzu_emu.databinding.CardInstallableBinding
+import org.yuzu.yuzu_emu.model.Installable
+
+class InstallableAdapter(private val installables: List<Installable>) :
+ RecyclerView.Adapter<InstallableAdapter.InstallableViewHolder>() {
+ override fun onCreateViewHolder(
+ parent: ViewGroup,
+ viewType: Int
+ ): InstallableAdapter.InstallableViewHolder {
+ val binding =
+ CardInstallableBinding.inflate(LayoutInflater.from(parent.context), parent, false)
+ return InstallableViewHolder(binding)
+ }
+
+ override fun getItemCount(): Int = installables.size
+
+ override fun onBindViewHolder(holder: InstallableAdapter.InstallableViewHolder, position: Int) =
+ holder.bind(installables[position])
+
+ inner class InstallableViewHolder(val binding: CardInstallableBinding) :
+ RecyclerView.ViewHolder(binding.root) {
+ lateinit var installable: Installable
+
+ fun bind(installable: Installable) {
+ this.installable = installable
+
+ binding.title.setText(installable.titleId)
+ binding.description.setText(installable.descriptionId)
+
+ if (installable.install != null) {
+ binding.buttonInstall.visibility = View.VISIBLE
+ binding.buttonInstall.setOnClickListener { installable.install.invoke() }
+ }
+ if (installable.export != null) {
+ binding.buttonExport.visibility = View.VISIBLE
+ binding.buttonExport.setOnClickListener { installable.export.invoke() }
+ }
+ }
+ }
+}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/LicenseAdapter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/LicenseAdapter.kt
index 7006651d0..bc6ff1364 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/LicenseAdapter.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/LicenseAdapter.kt
@@ -49,6 +49,7 @@ class LicenseAdapter(private val activity: AppCompatActivity, var licenses: List
val context = YuzuApplication.appContext
binding.textSettingName.text = context.getString(license.titleId)
binding.textSettingDescription.text = context.getString(license.descriptionId)
+ binding.textSettingValue.visibility = View.GONE
}
}
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/SetupAdapter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/SetupAdapter.kt
index 481ddd5a5..6b46d359e 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/SetupAdapter.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/adapters/SetupAdapter.kt
@@ -5,13 +5,19 @@ package org.yuzu.yuzu_emu.adapters
import android.text.Html
import android.view.LayoutInflater
+import android.view.View
import android.view.ViewGroup
import androidx.appcompat.app.AppCompatActivity
import androidx.core.content.res.ResourcesCompat
+import androidx.lifecycle.ViewModelProvider
import androidx.recyclerview.widget.RecyclerView
import com.google.android.material.button.MaterialButton
import org.yuzu.yuzu_emu.databinding.PageSetupBinding
+import org.yuzu.yuzu_emu.model.HomeViewModel
+import org.yuzu.yuzu_emu.model.SetupCallback
import org.yuzu.yuzu_emu.model.SetupPage
+import org.yuzu.yuzu_emu.model.StepState
+import org.yuzu.yuzu_emu.utils.ViewUtils
class SetupAdapter(val activity: AppCompatActivity, val pages: List<SetupPage>) :
RecyclerView.Adapter<SetupAdapter.SetupPageViewHolder>() {
@@ -26,7 +32,7 @@ class SetupAdapter(val activity: AppCompatActivity, val pages: List<SetupPage>)
holder.bind(pages[position])
inner class SetupPageViewHolder(val binding: PageSetupBinding) :
- RecyclerView.ViewHolder(binding.root) {
+ RecyclerView.ViewHolder(binding.root), SetupCallback {
lateinit var page: SetupPage
init {
@@ -35,6 +41,12 @@ class SetupAdapter(val activity: AppCompatActivity, val pages: List<SetupPage>)
fun bind(page: SetupPage) {
this.page = page
+
+ if (page.stepCompleted.invoke() == StepState.COMPLETE) {
+ binding.buttonAction.visibility = View.INVISIBLE
+ binding.textConfirmation.visibility = View.VISIBLE
+ }
+
binding.icon.setImageDrawable(
ResourcesCompat.getDrawable(
activity.resources,
@@ -62,9 +74,15 @@ class SetupAdapter(val activity: AppCompatActivity, val pages: List<SetupPage>)
MaterialButton.ICON_GRAVITY_END
}
setOnClickListener {
- page.buttonAction.invoke()
+ page.buttonAction.invoke(this@SetupPageViewHolder)
}
}
}
+
+ override fun onStepCompleted() {
+ ViewUtils.hideView(binding.buttonAction, 200)
+ ViewUtils.showView(binding.textConfirmation, 200)
+ ViewModelProvider(activity)[HomeViewModel::class.java].setShouldPageForward(true)
+ }
}
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/DiskShaderCacheProgress.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/DiskShaderCacheProgress.kt
index a18efef19..6f4b5b13f 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/DiskShaderCacheProgress.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/DiskShaderCacheProgress.kt
@@ -4,43 +4,43 @@
package org.yuzu.yuzu_emu.disk_shader_cache
import androidx.annotation.Keep
+import androidx.lifecycle.ViewModelProvider
import org.yuzu.yuzu_emu.NativeLibrary
import org.yuzu.yuzu_emu.R
-import org.yuzu.yuzu_emu.disk_shader_cache.ui.ShaderProgressDialogFragment
+import org.yuzu.yuzu_emu.activities.EmulationActivity
+import org.yuzu.yuzu_emu.model.EmulationViewModel
+import org.yuzu.yuzu_emu.utils.Log
@Keep
object DiskShaderCacheProgress {
- val finishLock = Object()
- private lateinit var fragment: ShaderProgressDialogFragment
+ private lateinit var emulationViewModel: EmulationViewModel
- private fun prepareDialog() {
- val emulationActivity = NativeLibrary.sEmulationActivity.get()!!
- emulationActivity.runOnUiThread {
- fragment = ShaderProgressDialogFragment.newInstance(
- emulationActivity.getString(R.string.loading),
- emulationActivity.getString(R.string.preparing_shaders)
- )
- fragment.show(
- emulationActivity.supportFragmentManager,
- ShaderProgressDialogFragment.TAG
- )
- }
- synchronized(finishLock) { finishLock.wait() }
+ private fun prepareViewModel() {
+ emulationViewModel =
+ ViewModelProvider(
+ NativeLibrary.sEmulationActivity.get() as EmulationActivity
+ )[EmulationViewModel::class.java]
}
@JvmStatic
fun loadProgress(stage: Int, progress: Int, max: Int) {
val emulationActivity = NativeLibrary.sEmulationActivity.get()
- ?: error("[DiskShaderCacheProgress] EmulationActivity not present")
-
- when (LoadCallbackStage.values()[stage]) {
- LoadCallbackStage.Prepare -> prepareDialog()
- LoadCallbackStage.Build -> fragment.onUpdateProgress(
- emulationActivity.getString(R.string.building_shaders),
- progress,
- max
- )
- LoadCallbackStage.Complete -> fragment.dismiss()
+ if (emulationActivity == null) {
+ Log.error("[DiskShaderCacheProgress] EmulationActivity not present")
+ return
+ }
+
+ emulationActivity.runOnUiThread {
+ when (LoadCallbackStage.values()[stage]) {
+ LoadCallbackStage.Prepare -> prepareViewModel()
+ LoadCallbackStage.Build -> emulationViewModel.updateProgress(
+ emulationActivity.getString(R.string.building_shaders),
+ progress,
+ max
+ )
+
+ LoadCallbackStage.Complete -> {}
+ }
}
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/ShaderProgressViewModel.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/ShaderProgressViewModel.kt
deleted file mode 100644
index bf6f0366d..000000000
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/ShaderProgressViewModel.kt
+++ /dev/null
@@ -1,31 +0,0 @@
-// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-package org.yuzu.yuzu_emu.disk_shader_cache
-
-import androidx.lifecycle.LiveData
-import androidx.lifecycle.MutableLiveData
-import androidx.lifecycle.ViewModel
-
-class ShaderProgressViewModel : ViewModel() {
- private val _progress = MutableLiveData(0)
- val progress: LiveData<Int> get() = _progress
-
- private val _max = MutableLiveData(0)
- val max: LiveData<Int> get() = _max
-
- private val _message = MutableLiveData("")
- val message: LiveData<String> get() = _message
-
- fun setProgress(progress: Int) {
- _progress.postValue(progress)
- }
-
- fun setMax(max: Int) {
- _max.postValue(max)
- }
-
- fun setMessage(msg: String) {
- _message.postValue(msg)
- }
-}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/ui/ShaderProgressDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/ui/ShaderProgressDialogFragment.kt
deleted file mode 100644
index 8a8e0a6e8..000000000
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/disk_shader_cache/ui/ShaderProgressDialogFragment.kt
+++ /dev/null
@@ -1,103 +0,0 @@
-// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-package org.yuzu.yuzu_emu.disk_shader_cache.ui
-
-import android.app.Dialog
-import android.os.Bundle
-import android.view.LayoutInflater
-import android.view.View
-import android.view.ViewGroup
-import androidx.appcompat.app.AlertDialog
-import androidx.fragment.app.DialogFragment
-import androidx.lifecycle.ViewModelProvider
-import com.google.android.material.dialog.MaterialAlertDialogBuilder
-import org.yuzu.yuzu_emu.databinding.DialogProgressBarBinding
-import org.yuzu.yuzu_emu.disk_shader_cache.DiskShaderCacheProgress
-import org.yuzu.yuzu_emu.disk_shader_cache.ShaderProgressViewModel
-
-class ShaderProgressDialogFragment : DialogFragment() {
- private var _binding: DialogProgressBarBinding? = null
- private val binding get() = _binding!!
-
- private lateinit var alertDialog: AlertDialog
-
- private lateinit var shaderProgressViewModel: ShaderProgressViewModel
-
- override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
- _binding = DialogProgressBarBinding.inflate(layoutInflater)
- shaderProgressViewModel =
- ViewModelProvider(requireActivity())[ShaderProgressViewModel::class.java]
-
- val title = requireArguments().getString(TITLE)
- val message = requireArguments().getString(MESSAGE)
-
- isCancelable = false
- alertDialog = MaterialAlertDialogBuilder(requireActivity())
- .setView(binding.root)
- .setTitle(title)
- .setMessage(message)
- .create()
- return alertDialog
- }
-
- override fun onCreateView(
- inflater: LayoutInflater,
- container: ViewGroup?,
- savedInstanceState: Bundle?
- ): View {
- return binding.root
- }
-
- override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
- super.onViewCreated(view, savedInstanceState)
- shaderProgressViewModel.progress.observe(viewLifecycleOwner) { progress ->
- binding.progressBar.progress = progress
- setUpdateText()
- }
- shaderProgressViewModel.max.observe(viewLifecycleOwner) { max ->
- binding.progressBar.max = max
- setUpdateText()
- }
- shaderProgressViewModel.message.observe(viewLifecycleOwner) { msg ->
- alertDialog.setMessage(msg)
- }
- synchronized(DiskShaderCacheProgress.finishLock) {
- DiskShaderCacheProgress.finishLock.notifyAll()
- }
- }
-
- override fun onDestroyView() {
- super.onDestroyView()
- _binding = null
- }
-
- fun onUpdateProgress(msg: String, progress: Int, max: Int) {
- shaderProgressViewModel.setProgress(progress)
- shaderProgressViewModel.setMax(max)
- shaderProgressViewModel.setMessage(msg)
- }
-
- private fun setUpdateText() {
- binding.progressText.text = String.format(
- "%d/%d",
- shaderProgressViewModel.progress.value,
- shaderProgressViewModel.max.value
- )
- }
-
- companion object {
- const val TAG = "ProgressDialogFragment"
- const val TITLE = "title"
- const val MESSAGE = "message"
-
- fun newInstance(title: String, message: String): ShaderProgressDialogFragment {
- val frag = ShaderProgressDialogFragment()
- val args = Bundle()
- args.putString(TITLE, title)
- args.putString(MESSAGE, message)
- frag.arguments = args
- return frag
- }
- }
-}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractBooleanSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractBooleanSetting.kt
index a6e9833ee..aeda8d222 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractBooleanSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractBooleanSetting.kt
@@ -4,5 +4,7 @@
package org.yuzu.yuzu_emu.features.settings.model
interface AbstractBooleanSetting : AbstractSetting {
- var boolean: Boolean
+ val boolean: Boolean
+
+ fun setBoolean(value: Boolean)
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/SettingsViewModel.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractByteSetting.kt
index bd9233d62..606519ad8 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/SettingsViewModel.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractByteSetting.kt
@@ -3,8 +3,8 @@
package org.yuzu.yuzu_emu.features.settings.model
-import androidx.lifecycle.ViewModel
+interface AbstractByteSetting : AbstractSetting {
+ val byte: Byte
-class SettingsViewModel : ViewModel() {
- val settings = Settings()
+ fun setByte(value: Byte)
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractFloatSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractFloatSetting.kt
index 6fe4bc263..974925eed 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractFloatSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractFloatSetting.kt
@@ -4,5 +4,7 @@
package org.yuzu.yuzu_emu.features.settings.model
interface AbstractFloatSetting : AbstractSetting {
- var float: Float
+ val float: Float
+
+ fun setFloat(value: Float)
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractIntSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractIntSetting.kt
index 892b7dcfe..89b285b10 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractIntSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractIntSetting.kt
@@ -4,5 +4,7 @@
package org.yuzu.yuzu_emu.features.settings.model
interface AbstractIntSetting : AbstractSetting {
- var int: Int
+ val int: Int
+
+ fun setInt(value: Int)
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractLongSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractLongSetting.kt
new file mode 100644
index 000000000..4873942db
--- /dev/null
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractLongSetting.kt
@@ -0,0 +1,10 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+package org.yuzu.yuzu_emu.features.settings.model
+
+interface AbstractLongSetting : AbstractSetting {
+ val long: Long
+
+ fun setLong(value: Long)
+}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractSetting.kt
index 258580209..8b6d29fe5 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractSetting.kt
@@ -3,10 +3,22 @@
package org.yuzu.yuzu_emu.features.settings.model
+import org.yuzu.yuzu_emu.utils.NativeConfig
+
interface AbstractSetting {
- val key: String?
- val section: String?
- val isRuntimeEditable: Boolean
- val valueAsString: String
+ val key: String
+ val category: Settings.Category
val defaultValue: Any
+ val androidDefault: Any?
+ get() = null
+ val valueAsString: String
+ get() = ""
+
+ val isRuntimeModifiable: Boolean
+ get() = NativeConfig.getIsRuntimeModifiable(key)
+
+ val pairedSettingKey: String
+ get() = NativeConfig.getPairedSettingKey(key)
+
+ fun reset()
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractShortSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractShortSetting.kt
new file mode 100644
index 000000000..91407ccbb
--- /dev/null
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractShortSetting.kt
@@ -0,0 +1,10 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+package org.yuzu.yuzu_emu.features.settings.model
+
+interface AbstractShortSetting : AbstractSetting {
+ val short: Short
+
+ fun setShort(value: Short)
+}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractStringSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractStringSetting.kt
index 0d02c5997..c8935cc48 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractStringSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/AbstractStringSetting.kt
@@ -4,5 +4,7 @@
package org.yuzu.yuzu_emu.features.settings.model
interface AbstractStringSetting : AbstractSetting {
- var string: String
+ val string: String
+
+ fun setString(value: String)
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/BooleanSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/BooleanSetting.kt
index d41933766..8476ce867 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/BooleanSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/BooleanSetting.kt
@@ -3,41 +3,38 @@
package org.yuzu.yuzu_emu.features.settings.model
+import org.yuzu.yuzu_emu.utils.NativeConfig
+
enum class BooleanSetting(
override val key: String,
- override val section: String,
- override val defaultValue: Boolean
+ override val category: Settings.Category,
+ override val androidDefault: Boolean? = null
) : AbstractBooleanSetting {
- CPU_DEBUG_MODE("cpu_debug_mode", Settings.SECTION_CPU, false),
- FASTMEM("cpuopt_fastmem", Settings.SECTION_CPU, true),
- FASTMEM_EXCLUSIVES("cpuopt_fastmem_exclusives", Settings.SECTION_CPU, true),
- PICTURE_IN_PICTURE("picture_in_picture", Settings.SECTION_GENERAL, true),
- USE_CUSTOM_RTC("custom_rtc_enabled", Settings.SECTION_SYSTEM, false);
-
- override var boolean: Boolean = defaultValue
+ AUDIO_MUTED("audio_muted", Settings.Category.Audio),
+ CPU_DEBUG_MODE("cpu_debug_mode", Settings.Category.Cpu),
+ FASTMEM("cpuopt_fastmem", Settings.Category.Cpu),
+ FASTMEM_EXCLUSIVES("cpuopt_fastmem_exclusives", Settings.Category.Cpu),
+ RENDERER_USE_SPEED_LIMIT("use_speed_limit", Settings.Category.Core),
+ USE_DOCKED_MODE("use_docked_mode", Settings.Category.System, false),
+ RENDERER_USE_DISK_SHADER_CACHE("use_disk_shader_cache", Settings.Category.Renderer),
+ RENDERER_FORCE_MAX_CLOCK("force_max_clock", Settings.Category.Renderer),
+ RENDERER_ASYNCHRONOUS_SHADERS("use_asynchronous_shaders", Settings.Category.Renderer),
+ RENDERER_REACTIVE_FLUSHING("use_reactive_flushing", Settings.Category.Renderer, false),
+ RENDERER_DEBUG("debug", Settings.Category.Renderer),
+ PICTURE_IN_PICTURE("picture_in_picture", Settings.Category.Android),
+ USE_CUSTOM_RTC("custom_rtc_enabled", Settings.Category.System);
+
+ override val boolean: Boolean
+ get() = NativeConfig.getBoolean(key, false)
+
+ override fun setBoolean(value: Boolean) = NativeConfig.setBoolean(key, value)
+
+ override val defaultValue: Boolean by lazy {
+ androidDefault ?: NativeConfig.getBoolean(key, true)
+ }
override val valueAsString: String
- get() = boolean.toString()
-
- override val isRuntimeEditable: Boolean
- get() {
- for (setting in NOT_RUNTIME_EDITABLE) {
- if (setting == this) {
- return false
- }
- }
- return true
- }
-
- companion object {
- private val NOT_RUNTIME_EDITABLE = listOf(
- PICTURE_IN_PICTURE,
- USE_CUSTOM_RTC
- )
-
- fun from(key: String): BooleanSetting? =
- BooleanSetting.values().firstOrNull { it.key == key }
-
- fun clear() = BooleanSetting.values().forEach { it.boolean = it.defaultValue }
- }
+ get() = if (boolean) "1" else "0"
+
+ override fun reset() = NativeConfig.setBoolean(key, defaultValue)
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/ByteSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/ByteSetting.kt
new file mode 100644
index 000000000..6ec0a765e
--- /dev/null
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/ByteSetting.kt
@@ -0,0 +1,25 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+package org.yuzu.yuzu_emu.features.settings.model
+
+import org.yuzu.yuzu_emu.utils.NativeConfig
+
+enum class ByteSetting(
+ override val key: String,
+ override val category: Settings.Category
+) : AbstractByteSetting {
+ AUDIO_VOLUME("volume", Settings.Category.Audio);
+
+ override val byte: Byte
+ get() = NativeConfig.getByte(key, false)
+
+ override fun setByte(value: Byte) = NativeConfig.setByte(key, value)
+
+ override val defaultValue: Byte by lazy { NativeConfig.getByte(key, true) }
+
+ override val valueAsString: String
+ get() = byte.toString()
+
+ override fun reset() = NativeConfig.setByte(key, defaultValue)
+}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/FloatSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/FloatSetting.kt
index e5545a916..0181d06f2 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/FloatSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/FloatSetting.kt
@@ -3,34 +3,24 @@
package org.yuzu.yuzu_emu.features.settings.model
+import org.yuzu.yuzu_emu.utils.NativeConfig
+
enum class FloatSetting(
override val key: String,
- override val section: String,
- override val defaultValue: Float
+ override val category: Settings.Category
) : AbstractFloatSetting {
// No float settings currently exist
- EMPTY_SETTING("", "", 0f);
-
- override var float: Float = defaultValue
+ EMPTY_SETTING("", Settings.Category.UiGeneral);
- override val valueAsString: String
- get() = float.toString()
+ override val float: Float
+ get() = NativeConfig.getFloat(key, false)
- override val isRuntimeEditable: Boolean
- get() {
- for (setting in NOT_RUNTIME_EDITABLE) {
- if (setting == this) {
- return false
- }
- }
- return true
- }
+ override fun setFloat(value: Float) = NativeConfig.setFloat(key, value)
- companion object {
- private val NOT_RUNTIME_EDITABLE = emptyList<FloatSetting>()
+ override val defaultValue: Float by lazy { NativeConfig.getFloat(key, true) }
- fun from(key: String): FloatSetting? = FloatSetting.values().firstOrNull { it.key == key }
+ override val valueAsString: String
+ get() = float.toString()
- fun clear() = FloatSetting.values().forEach { it.float = it.defaultValue }
- }
+ override fun reset() = NativeConfig.setFloat(key, defaultValue)
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt
index 4427a7d9d..151362124 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/IntSetting.kt
@@ -3,139 +3,37 @@
package org.yuzu.yuzu_emu.features.settings.model
+import org.yuzu.yuzu_emu.utils.NativeConfig
+
enum class IntSetting(
override val key: String,
- override val section: String,
- override val defaultValue: Int
+ override val category: Settings.Category,
+ override val androidDefault: Int? = null
) : AbstractIntSetting {
- RENDERER_USE_SPEED_LIMIT(
- "use_speed_limit",
- Settings.SECTION_RENDERER,
- 1
- ),
- USE_DOCKED_MODE(
- "use_docked_mode",
- Settings.SECTION_SYSTEM,
- 0
- ),
- RENDERER_USE_DISK_SHADER_CACHE(
- "use_disk_shader_cache",
- Settings.SECTION_RENDERER,
- 1
- ),
- RENDERER_FORCE_MAX_CLOCK(
- "force_max_clock",
- Settings.SECTION_RENDERER,
- 0
- ),
- RENDERER_ASYNCHRONOUS_SHADERS(
- "use_asynchronous_shaders",
- Settings.SECTION_RENDERER,
- 0
- ),
- RENDERER_REACTIVE_FLUSHING(
- "use_reactive_flushing",
- Settings.SECTION_RENDERER,
- 0
- ),
- RENDERER_DEBUG(
- "debug",
- Settings.SECTION_RENDERER,
- 0
- ),
- RENDERER_SPEED_LIMIT(
- "speed_limit",
- Settings.SECTION_RENDERER,
- 100
- ),
- CPU_ACCURACY(
- "cpu_accuracy",
- Settings.SECTION_CPU,
- 0
- ),
- REGION_INDEX(
- "region_index",
- Settings.SECTION_SYSTEM,
- -1
- ),
- LANGUAGE_INDEX(
- "language_index",
- Settings.SECTION_SYSTEM,
- 1
- ),
- RENDERER_BACKEND(
- "backend",
- Settings.SECTION_RENDERER,
- 1
- ),
- RENDERER_ACCURACY(
- "gpu_accuracy",
- Settings.SECTION_RENDERER,
- 0
- ),
- RENDERER_RESOLUTION(
- "resolution_setup",
- Settings.SECTION_RENDERER,
- 2
- ),
- RENDERER_VSYNC(
- "use_vsync",
- Settings.SECTION_RENDERER,
- 0
- ),
- RENDERER_SCALING_FILTER(
- "scaling_filter",
- Settings.SECTION_RENDERER,
- 1
- ),
- RENDERER_ANTI_ALIASING(
- "anti_aliasing",
- Settings.SECTION_RENDERER,
- 0
- ),
- RENDERER_SCREEN_LAYOUT(
- "screen_layout",
- Settings.SECTION_RENDERER,
- Settings.LayoutOption_MobileLandscape
- ),
- RENDERER_ASPECT_RATIO(
- "aspect_ratio",
- Settings.SECTION_RENDERER,
- 0
- ),
- AUDIO_VOLUME(
- "volume",
- Settings.SECTION_AUDIO,
- 100
- );
-
- override var int: Int = defaultValue
+ CPU_ACCURACY("cpu_accuracy", Settings.Category.Cpu),
+ REGION_INDEX("region_index", Settings.Category.System),
+ LANGUAGE_INDEX("language_index", Settings.Category.System),
+ RENDERER_BACKEND("backend", Settings.Category.Renderer),
+ RENDERER_ACCURACY("gpu_accuracy", Settings.Category.Renderer, 0),
+ RENDERER_RESOLUTION("resolution_setup", Settings.Category.Renderer),
+ RENDERER_VSYNC("use_vsync", Settings.Category.Renderer),
+ RENDERER_SCALING_FILTER("scaling_filter", Settings.Category.Renderer),
+ RENDERER_ANTI_ALIASING("anti_aliasing", Settings.Category.Renderer),
+ RENDERER_SCREEN_LAYOUT("screen_layout", Settings.Category.Android),
+ RENDERER_ASPECT_RATIO("aspect_ratio", Settings.Category.Renderer),
+ AUDIO_OUTPUT_ENGINE("output_engine", Settings.Category.Audio);
+
+ override val int: Int
+ get() = NativeConfig.getInt(key, false)
+
+ override fun setInt(value: Int) = NativeConfig.setInt(key, value)
+
+ override val defaultValue: Int by lazy {
+ androidDefault ?: NativeConfig.getInt(key, true)
+ }
override val valueAsString: String
get() = int.toString()
- override val isRuntimeEditable: Boolean
- get() {
- for (setting in NOT_RUNTIME_EDITABLE) {
- if (setting == this) {
- return false
- }
- }
- return true
- }
-
- companion object {
- private val NOT_RUNTIME_EDITABLE = listOf(
- RENDERER_USE_DISK_SHADER_CACHE,
- RENDERER_ASYNCHRONOUS_SHADERS,
- RENDERER_DEBUG,
- RENDERER_BACKEND,
- RENDERER_RESOLUTION,
- RENDERER_VSYNC
- )
-
- fun from(key: String): IntSetting? = IntSetting.values().firstOrNull { it.key == key }
-
- fun clear() = IntSetting.values().forEach { it.int = it.defaultValue }
- }
+ override fun reset() = NativeConfig.setInt(key, defaultValue)
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/LongSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/LongSetting.kt
new file mode 100644
index 000000000..c526fc4cf
--- /dev/null
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/LongSetting.kt
@@ -0,0 +1,25 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+package org.yuzu.yuzu_emu.features.settings.model
+
+import org.yuzu.yuzu_emu.utils.NativeConfig
+
+enum class LongSetting(
+ override val key: String,
+ override val category: Settings.Category
+) : AbstractLongSetting {
+ CUSTOM_RTC("custom_rtc", Settings.Category.System);
+
+ override val long: Long
+ get() = NativeConfig.getLong(key, false)
+
+ override fun setLong(value: Long) = NativeConfig.setLong(key, value)
+
+ override val defaultValue: Long by lazy { NativeConfig.getLong(key, true) }
+
+ override val valueAsString: String
+ get() = long.toString()
+
+ override fun reset() = NativeConfig.setLong(key, defaultValue)
+}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/SettingSection.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/SettingSection.kt
deleted file mode 100644
index 474f598a9..000000000
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/SettingSection.kt
+++ /dev/null
@@ -1,37 +0,0 @@
-// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-package org.yuzu.yuzu_emu.features.settings.model
-
-/**
- * A semantically-related group of Settings objects. These Settings are
- * internally stored as a HashMap.
- */
-class SettingSection(val name: String) {
- val settings = HashMap<String, AbstractSetting>()
-
- /**
- * Convenience method; inserts a value directly into the backing HashMap.
- *
- * @param setting The Setting to be inserted.
- */
- fun putSetting(setting: AbstractSetting) {
- settings[setting.key!!] = setting
- }
-
- /**
- * Convenience method; gets a value directly from the backing HashMap.
- *
- * @param key Used to retrieve the Setting.
- * @return A Setting object (you should probably cast this before using)
- */
- fun getSetting(key: String): AbstractSetting? {
- return settings[key]
- }
-
- fun mergeSection(settingSection: SettingSection) {
- for (setting in settingSection.settings.values) {
- putSetting(setting)
- }
- }
-}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/Settings.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/Settings.kt
index a6251bafd..08e2a973d 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/Settings.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/Settings.kt
@@ -4,195 +4,162 @@
package org.yuzu.yuzu_emu.features.settings.model
import android.text.TextUtils
-import java.util.*
+import android.widget.Toast
import org.yuzu.yuzu_emu.R
import org.yuzu.yuzu_emu.YuzuApplication
-import org.yuzu.yuzu_emu.features.settings.ui.SettingsActivityView
import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile
-class Settings {
- private var gameId: String? = null
+object Settings {
+ private val context get() = YuzuApplication.appContext
- var isLoaded = false
-
- /**
- * A HashMap<String></String>, SettingSection> that constructs a new SettingSection instead of returning null
- * when getting a key not already in the map
- */
- class SettingsSectionMap : HashMap<String, SettingSection?>() {
- override operator fun get(key: String): SettingSection? {
- if (!super.containsKey(key)) {
- val section = SettingSection(key)
- super.put(key, section)
- return section
- }
- return super.get(key)
- }
- }
-
- var sections: HashMap<String, SettingSection?> = SettingsSectionMap()
-
- fun getSection(sectionName: String): SettingSection? {
- return sections[sectionName]
- }
-
- val isEmpty: Boolean
- get() = sections.isEmpty()
-
- fun loadSettings(view: SettingsActivityView? = null) {
- sections = SettingsSectionMap()
- loadYuzuSettings(view)
- if (!TextUtils.isEmpty(gameId)) {
- loadCustomGameSettings(gameId!!, view)
- }
- isLoaded = true
- }
-
- private fun loadYuzuSettings(view: SettingsActivityView?) {
- for ((fileName) in configFileSectionsMap) {
- sections.putAll(SettingsFile.readFile(fileName, view))
- }
- }
-
- private fun loadCustomGameSettings(gameId: String, view: SettingsActivityView?) {
- // Custom game settings
- mergeSections(SettingsFile.readCustomGameSettings(gameId, view))
- }
-
- private fun mergeSections(updatedSections: HashMap<String, SettingSection?>) {
- for ((key, updatedSection) in updatedSections) {
- if (sections.containsKey(key)) {
- val originalSection = sections[key]
- originalSection!!.mergeSection(updatedSection!!)
- } else {
- sections[key] = updatedSection
- }
- }
- }
-
- fun loadSettings(gameId: String, view: SettingsActivityView) {
- this.gameId = gameId
- loadSettings(view)
- }
-
- fun saveSettings(view: SettingsActivityView) {
+ fun saveSettings(gameId: String = "") {
if (TextUtils.isEmpty(gameId)) {
- view.showToastMessage(
- YuzuApplication.appContext.getString(R.string.ini_saved),
- false
- )
-
- for ((fileName, sectionNames) in configFileSectionsMap) {
- val iniSections = TreeMap<String, SettingSection>()
- for (section in sectionNames) {
- iniSections[section] = sections[section]!!
- }
-
- SettingsFile.saveFile(fileName, iniSections, view)
- }
+ Toast.makeText(
+ context,
+ context.getString(R.string.ini_saved),
+ Toast.LENGTH_SHORT
+ ).show()
+ SettingsFile.saveFile(SettingsFile.FILE_NAME_CONFIG)
} else {
- // Custom game settings
- view.showToastMessage(
- YuzuApplication.appContext.getString(R.string.gameid_saved, gameId),
- false
- )
-
- SettingsFile.saveCustomGameSettings(gameId, sections)
+ // TODO: Save custom game settings
+ Toast.makeText(
+ context,
+ context.getString(R.string.gameid_saved, gameId),
+ Toast.LENGTH_SHORT
+ ).show()
}
}
- companion object {
- const val SECTION_GENERAL = "General"
- const val SECTION_SYSTEM = "System"
- const val SECTION_RENDERER = "Renderer"
- const val SECTION_AUDIO = "Audio"
- const val SECTION_CPU = "Cpu"
- const val SECTION_THEME = "Theme"
- const val SECTION_DEBUG = "Debug"
-
- const val PREF_MEMORY_WARNING_SHOWN = "MemoryWarningShown"
-
- const val PREF_OVERLAY_VERSION = "OverlayVersion"
- const val PREF_LANDSCAPE_OVERLAY_VERSION = "LandscapeOverlayVersion"
- const val PREF_PORTRAIT_OVERLAY_VERSION = "PortraitOverlayVersion"
- const val PREF_FOLDABLE_OVERLAY_VERSION = "FoldableOverlayVersion"
- val overlayLayoutPrefs = listOf(
- PREF_LANDSCAPE_OVERLAY_VERSION,
- PREF_PORTRAIT_OVERLAY_VERSION,
- PREF_FOLDABLE_OVERLAY_VERSION
- )
-
- const val PREF_CONTROL_SCALE = "controlScale"
- const val PREF_CONTROL_OPACITY = "controlOpacity"
- const val PREF_TOUCH_ENABLED = "isTouchEnabled"
- const val PREF_BUTTON_A = "buttonToggle0"
- const val PREF_BUTTON_B = "buttonToggle1"
- const val PREF_BUTTON_X = "buttonToggle2"
- const val PREF_BUTTON_Y = "buttonToggle3"
- const val PREF_BUTTON_L = "buttonToggle4"
- const val PREF_BUTTON_R = "buttonToggle5"
- const val PREF_BUTTON_ZL = "buttonToggle6"
- const val PREF_BUTTON_ZR = "buttonToggle7"
- const val PREF_BUTTON_PLUS = "buttonToggle8"
- const val PREF_BUTTON_MINUS = "buttonToggle9"
- const val PREF_BUTTON_DPAD = "buttonToggle10"
- const val PREF_STICK_L = "buttonToggle11"
- const val PREF_STICK_R = "buttonToggle12"
- const val PREF_BUTTON_STICK_L = "buttonToggle13"
- const val PREF_BUTTON_STICK_R = "buttonToggle14"
- const val PREF_BUTTON_HOME = "buttonToggle15"
- const val PREF_BUTTON_SCREENSHOT = "buttonToggle16"
-
- const val PREF_MENU_SETTINGS_JOYSTICK_REL_CENTER = "EmulationMenuSettings_JoystickRelCenter"
- const val PREF_MENU_SETTINGS_DPAD_SLIDE = "EmulationMenuSettings_DpadSlideEnable"
- const val PREF_MENU_SETTINGS_HAPTICS = "EmulationMenuSettings_Haptics"
- const val PREF_MENU_SETTINGS_SHOW_FPS = "EmulationMenuSettings_ShowFps"
- const val PREF_MENU_SETTINGS_SHOW_OVERLAY = "EmulationMenuSettings_ShowOverlay"
-
- const val PREF_FIRST_APP_LAUNCH = "FirstApplicationLaunch"
- const val PREF_THEME = "Theme"
- const val PREF_THEME_MODE = "ThemeMode"
- const val PREF_BLACK_BACKGROUNDS = "BlackBackgrounds"
-
- private val configFileSectionsMap: MutableMap<String, List<String>> = HashMap()
-
- val overlayPreferences = listOf(
- PREF_OVERLAY_VERSION,
- PREF_CONTROL_SCALE,
- PREF_CONTROL_OPACITY,
- PREF_TOUCH_ENABLED,
- PREF_BUTTON_A,
- PREF_BUTTON_B,
- PREF_BUTTON_X,
- PREF_BUTTON_Y,
- PREF_BUTTON_L,
- PREF_BUTTON_R,
- PREF_BUTTON_ZL,
- PREF_BUTTON_ZR,
- PREF_BUTTON_PLUS,
- PREF_BUTTON_MINUS,
- PREF_BUTTON_DPAD,
- PREF_STICK_L,
- PREF_STICK_R,
- PREF_BUTTON_HOME,
- PREF_BUTTON_SCREENSHOT,
- PREF_BUTTON_STICK_L,
- PREF_BUTTON_STICK_R
- )
-
- const val LayoutOption_Unspecified = 0
- const val LayoutOption_MobilePortrait = 4
- const val LayoutOption_MobileLandscape = 5
+ enum class Category {
+ Android,
+ Audio,
+ Core,
+ Cpu,
+ CpuDebug,
+ CpuUnsafe,
+ Renderer,
+ RendererAdvanced,
+ RendererDebug,
+ System,
+ SystemAudio,
+ DataStorage,
+ Debugging,
+ DebuggingGraphics,
+ Miscellaneous,
+ Network,
+ WebService,
+ AddOns,
+ Controls,
+ Ui,
+ UiGeneral,
+ UiLayout,
+ UiGameList,
+ Screenshots,
+ Shortcuts,
+ Multiplayer,
+ Services,
+ Paths,
+ MaxEnum
+ }
- init {
- configFileSectionsMap[SettingsFile.FILE_NAME_CONFIG] =
- listOf(
- SECTION_GENERAL,
- SECTION_SYSTEM,
- SECTION_RENDERER,
- SECTION_AUDIO,
- SECTION_CPU
- )
- }
+ val settingsList = listOf<AbstractSetting>(
+ *BooleanSetting.values(),
+ *ByteSetting.values(),
+ *ShortSetting.values(),
+ *IntSetting.values(),
+ *FloatSetting.values(),
+ *LongSetting.values(),
+ *StringSetting.values()
+ )
+
+ const val SECTION_GENERAL = "General"
+ const val SECTION_SYSTEM = "System"
+ const val SECTION_RENDERER = "Renderer"
+ const val SECTION_AUDIO = "Audio"
+ const val SECTION_CPU = "Cpu"
+ const val SECTION_THEME = "Theme"
+ const val SECTION_DEBUG = "Debug"
+
+ enum class MenuTag(val titleId: Int) {
+ SECTION_ROOT(R.string.advanced_settings),
+ SECTION_GENERAL(R.string.preferences_general),
+ SECTION_SYSTEM(R.string.preferences_system),
+ SECTION_RENDERER(R.string.preferences_graphics),
+ SECTION_AUDIO(R.string.preferences_audio),
+ SECTION_CPU(R.string.cpu),
+ SECTION_THEME(R.string.preferences_theme),
+ SECTION_DEBUG(R.string.preferences_debug);
}
+
+ const val PREF_MEMORY_WARNING_SHOWN = "MemoryWarningShown"
+
+ const val PREF_OVERLAY_VERSION = "OverlayVersion"
+ const val PREF_LANDSCAPE_OVERLAY_VERSION = "LandscapeOverlayVersion"
+ const val PREF_PORTRAIT_OVERLAY_VERSION = "PortraitOverlayVersion"
+ const val PREF_FOLDABLE_OVERLAY_VERSION = "FoldableOverlayVersion"
+ val overlayLayoutPrefs = listOf(
+ PREF_LANDSCAPE_OVERLAY_VERSION,
+ PREF_PORTRAIT_OVERLAY_VERSION,
+ PREF_FOLDABLE_OVERLAY_VERSION
+ )
+
+ const val PREF_CONTROL_SCALE = "controlScale"
+ const val PREF_CONTROL_OPACITY = "controlOpacity"
+ const val PREF_TOUCH_ENABLED = "isTouchEnabled"
+ const val PREF_BUTTON_A = "buttonToggle0"
+ const val PREF_BUTTON_B = "buttonToggle1"
+ const val PREF_BUTTON_X = "buttonToggle2"
+ const val PREF_BUTTON_Y = "buttonToggle3"
+ const val PREF_BUTTON_L = "buttonToggle4"
+ const val PREF_BUTTON_R = "buttonToggle5"
+ const val PREF_BUTTON_ZL = "buttonToggle6"
+ const val PREF_BUTTON_ZR = "buttonToggle7"
+ const val PREF_BUTTON_PLUS = "buttonToggle8"
+ const val PREF_BUTTON_MINUS = "buttonToggle9"
+ const val PREF_BUTTON_DPAD = "buttonToggle10"
+ const val PREF_STICK_L = "buttonToggle11"
+ const val PREF_STICK_R = "buttonToggle12"
+ const val PREF_BUTTON_STICK_L = "buttonToggle13"
+ const val PREF_BUTTON_STICK_R = "buttonToggle14"
+ const val PREF_BUTTON_HOME = "buttonToggle15"
+ const val PREF_BUTTON_SCREENSHOT = "buttonToggle16"
+
+ const val PREF_MENU_SETTINGS_JOYSTICK_REL_CENTER = "EmulationMenuSettings_JoystickRelCenter"
+ const val PREF_MENU_SETTINGS_DPAD_SLIDE = "EmulationMenuSettings_DpadSlideEnable"
+ const val PREF_MENU_SETTINGS_HAPTICS = "EmulationMenuSettings_Haptics"
+ const val PREF_MENU_SETTINGS_SHOW_FPS = "EmulationMenuSettings_ShowFps"
+ const val PREF_MENU_SETTINGS_SHOW_OVERLAY = "EmulationMenuSettings_ShowOverlay"
+
+ const val PREF_FIRST_APP_LAUNCH = "FirstApplicationLaunch"
+ const val PREF_THEME = "Theme"
+ const val PREF_THEME_MODE = "ThemeMode"
+ const val PREF_BLACK_BACKGROUNDS = "BlackBackgrounds"
+
+ val overlayPreferences = listOf(
+ PREF_OVERLAY_VERSION,
+ PREF_CONTROL_SCALE,
+ PREF_CONTROL_OPACITY,
+ PREF_TOUCH_ENABLED,
+ PREF_BUTTON_A,
+ PREF_BUTTON_B,
+ PREF_BUTTON_X,
+ PREF_BUTTON_Y,
+ PREF_BUTTON_L,
+ PREF_BUTTON_R,
+ PREF_BUTTON_ZL,
+ PREF_BUTTON_ZR,
+ PREF_BUTTON_PLUS,
+ PREF_BUTTON_MINUS,
+ PREF_BUTTON_DPAD,
+ PREF_STICK_L,
+ PREF_STICK_R,
+ PREF_BUTTON_HOME,
+ PREF_BUTTON_SCREENSHOT,
+ PREF_BUTTON_STICK_L,
+ PREF_BUTTON_STICK_R
+ )
+
+ const val LayoutOption_Unspecified = 0
+ const val LayoutOption_MobilePortrait = 4
+ const val LayoutOption_MobileLandscape = 5
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/ShortSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/ShortSetting.kt
new file mode 100644
index 000000000..c9a0c664c
--- /dev/null
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/ShortSetting.kt
@@ -0,0 +1,25 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+package org.yuzu.yuzu_emu.features.settings.model
+
+import org.yuzu.yuzu_emu.utils.NativeConfig
+
+enum class ShortSetting(
+ override val key: String,
+ override val category: Settings.Category
+) : AbstractShortSetting {
+ RENDERER_SPEED_LIMIT("speed_limit", Settings.Category.Core);
+
+ override val short: Short
+ get() = NativeConfig.getShort(key, false)
+
+ override fun setShort(value: Short) = NativeConfig.setShort(key, value)
+
+ override val defaultValue: Short by lazy { NativeConfig.getShort(key, true) }
+
+ override val valueAsString: String
+ get() = short.toString()
+
+ override fun reset() = NativeConfig.setShort(key, defaultValue)
+}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/StringSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/StringSetting.kt
index 6621289fd..9bb3e66d4 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/StringSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/StringSetting.kt
@@ -3,36 +3,24 @@
package org.yuzu.yuzu_emu.features.settings.model
+import org.yuzu.yuzu_emu.utils.NativeConfig
+
enum class StringSetting(
override val key: String,
- override val section: String,
- override val defaultValue: String
+ override val category: Settings.Category
) : AbstractStringSetting {
- AUDIO_OUTPUT_ENGINE("output_engine", Settings.SECTION_AUDIO, "auto"),
- CUSTOM_RTC("custom_rtc", Settings.SECTION_SYSTEM, "0");
+ // No string settings currently exist
+ EMPTY_SETTING("", Settings.Category.UiGeneral);
+
+ override val string: String
+ get() = NativeConfig.getString(key, false)
+
+ override fun setString(value: String) = NativeConfig.setString(key, value)
- override var string: String = defaultValue
+ override val defaultValue: String by lazy { NativeConfig.getString(key, true) }
override val valueAsString: String
get() = string
- override val isRuntimeEditable: Boolean
- get() {
- for (setting in NOT_RUNTIME_EDITABLE) {
- if (setting == this) {
- return false
- }
- }
- return true
- }
-
- companion object {
- private val NOT_RUNTIME_EDITABLE = listOf(
- CUSTOM_RTC
- )
-
- fun from(key: String): StringSetting? = StringSetting.values().firstOrNull { it.key == key }
-
- fun clear() = StringSetting.values().forEach { it.string = it.defaultValue }
- }
+ override fun reset() = NativeConfig.setString(key, defaultValue)
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/DateTimeSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/DateTimeSetting.kt
index bc0bf7788..8bc164197 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/DateTimeSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/DateTimeSetting.kt
@@ -3,29 +3,16 @@
package org.yuzu.yuzu_emu.features.settings.model.view
-import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting
-import org.yuzu.yuzu_emu.features.settings.model.AbstractStringSetting
+import org.yuzu.yuzu_emu.features.settings.model.AbstractLongSetting
class DateTimeSetting(
- setting: AbstractSetting?,
+ private val longSetting: AbstractLongSetting,
titleId: Int,
- descriptionId: Int,
- val key: String? = null,
- private val defaultValue: String? = null
-) : SettingsItem(setting, titleId, descriptionId) {
+ descriptionId: Int
+) : SettingsItem(longSetting, titleId, descriptionId) {
override val type = TYPE_DATETIME_SETTING
- val value: String
- get() = if (setting != null) {
- val setting = setting as AbstractStringSetting
- setting.string
- } else {
- defaultValue!!
- }
-
- fun setSelectedValue(datetime: String): AbstractStringSetting {
- val stringSetting = setting as AbstractStringSetting
- stringSetting.string = datetime
- return stringSetting
- }
+ var value: Long
+ get() = longSetting.long
+ set(value) = (setting as AbstractLongSetting).setLong(value)
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/HeaderSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/HeaderSetting.kt
index a67001311..d31ce1c31 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/HeaderSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/HeaderSetting.kt
@@ -5,6 +5,6 @@ package org.yuzu.yuzu_emu.features.settings.model.view
class HeaderSetting(
titleId: Int
-) : SettingsItem(null, titleId, 0) {
+) : SettingsItem(emptySetting, titleId, 0) {
override val type = TYPE_HEADER
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/RunnableSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/RunnableSetting.kt
index caaab50d8..522cc49df 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/RunnableSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/RunnableSetting.kt
@@ -8,6 +8,6 @@ class RunnableSetting(
descriptionId: Int,
val isRuntimeRunnable: Boolean,
val runnable: () -> Unit
-) : SettingsItem(null, titleId, descriptionId) {
+) : SettingsItem(emptySetting, titleId, descriptionId) {
override val type = TYPE_RUNNABLE
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SettingsItem.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SettingsItem.kt
index 07520849e..b3b3fc209 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SettingsItem.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SettingsItem.kt
@@ -4,7 +4,15 @@
package org.yuzu.yuzu_emu.features.settings.model.view
import org.yuzu.yuzu_emu.NativeLibrary
+import org.yuzu.yuzu_emu.R
+import org.yuzu.yuzu_emu.features.settings.model.AbstractBooleanSetting
import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting
+import org.yuzu.yuzu_emu.features.settings.model.BooleanSetting
+import org.yuzu.yuzu_emu.features.settings.model.ByteSetting
+import org.yuzu.yuzu_emu.features.settings.model.IntSetting
+import org.yuzu.yuzu_emu.features.settings.model.LongSetting
+import org.yuzu.yuzu_emu.features.settings.model.Settings
+import org.yuzu.yuzu_emu.features.settings.model.ShortSetting
/**
* ViewModel abstraction for an Item in the RecyclerView powering SettingsFragments.
@@ -14,7 +22,7 @@ import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting
* file.)
*/
abstract class SettingsItem(
- var setting: AbstractSetting?,
+ val setting: AbstractSetting,
val nameId: Int,
val descriptionId: Int
) {
@@ -23,7 +31,7 @@ abstract class SettingsItem(
val isEditable: Boolean
get() {
if (!NativeLibrary.isRunning()) return true
- return setting?.isRuntimeEditable ?: false
+ return setting.isRuntimeModifiable
}
companion object {
@@ -35,5 +43,240 @@ abstract class SettingsItem(
const val TYPE_STRING_SINGLE_CHOICE = 5
const val TYPE_DATETIME_SETTING = 6
const val TYPE_RUNNABLE = 7
+
+ const val FASTMEM_COMBINED = "fastmem_combined"
+
+ val emptySetting = object : AbstractSetting {
+ override val key: String = ""
+ override val category: Settings.Category = Settings.Category.Ui
+ override val defaultValue: Any = false
+ override fun reset() {}
+ }
+
+ // Extension for putting SettingsItems into a hashmap without repeating yourself
+ fun HashMap<String, SettingsItem>.put(item: SettingsItem) {
+ put(item.setting.key, item)
+ }
+
+ // List of all general
+ val settingsItems = HashMap<String, SettingsItem>().apply {
+ put(
+ SwitchSetting(
+ BooleanSetting.RENDERER_USE_SPEED_LIMIT,
+ R.string.frame_limit_enable,
+ R.string.frame_limit_enable_description
+ )
+ )
+ put(
+ SliderSetting(
+ ShortSetting.RENDERER_SPEED_LIMIT,
+ R.string.frame_limit_slider,
+ R.string.frame_limit_slider_description,
+ 1,
+ 200,
+ "%"
+ )
+ )
+ put(
+ SingleChoiceSetting(
+ IntSetting.CPU_ACCURACY,
+ R.string.cpu_accuracy,
+ 0,
+ R.array.cpuAccuracyNames,
+ R.array.cpuAccuracyValues
+ )
+ )
+ put(
+ SwitchSetting(
+ BooleanSetting.PICTURE_IN_PICTURE,
+ R.string.picture_in_picture,
+ R.string.picture_in_picture_description
+ )
+ )
+ put(
+ SwitchSetting(
+ BooleanSetting.USE_DOCKED_MODE,
+ R.string.use_docked_mode,
+ R.string.use_docked_mode_description
+ )
+ )
+ put(
+ SingleChoiceSetting(
+ IntSetting.REGION_INDEX,
+ R.string.emulated_region,
+ 0,
+ R.array.regionNames,
+ R.array.regionValues
+ )
+ )
+ put(
+ SingleChoiceSetting(
+ IntSetting.LANGUAGE_INDEX,
+ R.string.emulated_language,
+ 0,
+ R.array.languageNames,
+ R.array.languageValues
+ )
+ )
+ put(
+ SwitchSetting(
+ BooleanSetting.USE_CUSTOM_RTC,
+ R.string.use_custom_rtc,
+ R.string.use_custom_rtc_description
+ )
+ )
+ put(DateTimeSetting(LongSetting.CUSTOM_RTC, R.string.set_custom_rtc, 0))
+ put(
+ SingleChoiceSetting(
+ IntSetting.RENDERER_ACCURACY,
+ R.string.renderer_accuracy,
+ 0,
+ R.array.rendererAccuracyNames,
+ R.array.rendererAccuracyValues
+ )
+ )
+ put(
+ SingleChoiceSetting(
+ IntSetting.RENDERER_RESOLUTION,
+ R.string.renderer_resolution,
+ 0,
+ R.array.rendererResolutionNames,
+ R.array.rendererResolutionValues
+ )
+ )
+ put(
+ SingleChoiceSetting(
+ IntSetting.RENDERER_VSYNC,
+ R.string.renderer_vsync,
+ 0,
+ R.array.rendererVSyncNames,
+ R.array.rendererVSyncValues
+ )
+ )
+ put(
+ SingleChoiceSetting(
+ IntSetting.RENDERER_SCALING_FILTER,
+ R.string.renderer_scaling_filter,
+ 0,
+ R.array.rendererScalingFilterNames,
+ R.array.rendererScalingFilterValues
+ )
+ )
+ put(
+ SingleChoiceSetting(
+ IntSetting.RENDERER_ANTI_ALIASING,
+ R.string.renderer_anti_aliasing,
+ 0,
+ R.array.rendererAntiAliasingNames,
+ R.array.rendererAntiAliasingValues
+ )
+ )
+ put(
+ SingleChoiceSetting(
+ IntSetting.RENDERER_SCREEN_LAYOUT,
+ R.string.renderer_screen_layout,
+ 0,
+ R.array.rendererScreenLayoutNames,
+ R.array.rendererScreenLayoutValues
+ )
+ )
+ put(
+ SingleChoiceSetting(
+ IntSetting.RENDERER_ASPECT_RATIO,
+ R.string.renderer_aspect_ratio,
+ 0,
+ R.array.rendererAspectRatioNames,
+ R.array.rendererAspectRatioValues
+ )
+ )
+ put(
+ SwitchSetting(
+ BooleanSetting.RENDERER_USE_DISK_SHADER_CACHE,
+ R.string.use_disk_shader_cache,
+ R.string.use_disk_shader_cache_description
+ )
+ )
+ put(
+ SwitchSetting(
+ BooleanSetting.RENDERER_FORCE_MAX_CLOCK,
+ R.string.renderer_force_max_clock,
+ R.string.renderer_force_max_clock_description
+ )
+ )
+ put(
+ SwitchSetting(
+ BooleanSetting.RENDERER_ASYNCHRONOUS_SHADERS,
+ R.string.renderer_asynchronous_shaders,
+ R.string.renderer_asynchronous_shaders_description
+ )
+ )
+ put(
+ SwitchSetting(
+ BooleanSetting.RENDERER_REACTIVE_FLUSHING,
+ R.string.renderer_reactive_flushing,
+ R.string.renderer_reactive_flushing_description
+ )
+ )
+ put(
+ SingleChoiceSetting(
+ IntSetting.AUDIO_OUTPUT_ENGINE,
+ R.string.audio_output_engine,
+ 0,
+ R.array.outputEngineEntries,
+ R.array.outputEngineValues
+ )
+ )
+ put(
+ SliderSetting(
+ ByteSetting.AUDIO_VOLUME,
+ R.string.audio_volume,
+ R.string.audio_volume_description,
+ 0,
+ 100,
+ "%"
+ )
+ )
+ put(
+ SingleChoiceSetting(
+ IntSetting.RENDERER_BACKEND,
+ R.string.renderer_api,
+ 0,
+ R.array.rendererApiNames,
+ R.array.rendererApiValues
+ )
+ )
+ put(
+ SwitchSetting(
+ BooleanSetting.RENDERER_DEBUG,
+ R.string.renderer_debug,
+ R.string.renderer_debug_description
+ )
+ )
+ put(
+ SwitchSetting(
+ BooleanSetting.CPU_DEBUG_MODE,
+ R.string.cpu_debug_mode,
+ R.string.cpu_debug_mode_description
+ )
+ )
+
+ val fastmem = object : AbstractBooleanSetting {
+ override val boolean: Boolean
+ get() =
+ BooleanSetting.FASTMEM.boolean && BooleanSetting.FASTMEM_EXCLUSIVES.boolean
+
+ override fun setBoolean(value: Boolean) {
+ BooleanSetting.FASTMEM.setBoolean(value)
+ BooleanSetting.FASTMEM_EXCLUSIVES.setBoolean(value)
+ }
+
+ override val key: String = FASTMEM_COMBINED
+ override val category = Settings.Category.Cpu
+ override val isRuntimeModifiable: Boolean = false
+ override val defaultValue: Boolean = true
+ override fun reset() = setBoolean(defaultValue)
+ }
+ put(SwitchSetting(fastmem, R.string.fastmem, 0))
+ }
}
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SingleChoiceSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SingleChoiceSetting.kt
index 7306ec458..705527a73 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SingleChoiceSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SingleChoiceSetting.kt
@@ -4,36 +4,27 @@
package org.yuzu.yuzu_emu.features.settings.model.view
import org.yuzu.yuzu_emu.features.settings.model.AbstractIntSetting
+import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting
class SingleChoiceSetting(
- setting: AbstractIntSetting?,
+ setting: AbstractSetting,
titleId: Int,
descriptionId: Int,
val choicesId: Int,
- val valuesId: Int,
- val key: String? = null,
- val defaultValue: Int? = null
+ val valuesId: Int
) : SettingsItem(setting, titleId, descriptionId) {
override val type = TYPE_SINGLE_CHOICE
- val selectedValue: Int
- get() = if (setting != null) {
- val setting = setting as AbstractIntSetting
- setting.int
- } else {
- defaultValue!!
+ var selectedValue: Int
+ get() {
+ return when (setting) {
+ is AbstractIntSetting -> setting.int
+ else -> -1
+ }
+ }
+ set(value) {
+ when (setting) {
+ is AbstractIntSetting -> setting.setInt(value)
+ }
}
-
- /**
- * Write a value to the backing int. If that int was previously null,
- * initializes a new one and returns it, so it can be added to the Hashmap.
- *
- * @param selection New value of the int.
- * @return the existing setting with the new value applied.
- */
- fun setSelectedValue(selection: Int): AbstractIntSetting {
- val intSetting = setting as AbstractIntSetting
- intSetting.int = selection
- return intSetting
- }
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SliderSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SliderSetting.kt
index 92d0167ae..c3b5df02c 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SliderSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SliderSetting.kt
@@ -3,60 +3,39 @@
package org.yuzu.yuzu_emu.features.settings.model.view
-import kotlin.math.roundToInt
+import org.yuzu.yuzu_emu.features.settings.model.AbstractByteSetting
import org.yuzu.yuzu_emu.features.settings.model.AbstractFloatSetting
import org.yuzu.yuzu_emu.features.settings.model.AbstractIntSetting
import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting
-import org.yuzu.yuzu_emu.utils.Log
+import org.yuzu.yuzu_emu.features.settings.model.AbstractShortSetting
+import kotlin.math.roundToInt
class SliderSetting(
- setting: AbstractSetting?,
+ setting: AbstractSetting,
titleId: Int,
descriptionId: Int,
val min: Int,
val max: Int,
- val units: String,
- val key: String? = null,
- val defaultValue: Int? = null
+ val units: String
) : SettingsItem(setting, titleId, descriptionId) {
override val type = TYPE_SLIDER
- val selectedValue: Int
+ var selectedValue: Int
get() {
- val setting = setting ?: return defaultValue!!
return when (setting) {
+ is AbstractByteSetting -> setting.byte.toInt()
+ is AbstractShortSetting -> setting.short.toInt()
is AbstractIntSetting -> setting.int
is AbstractFloatSetting -> setting.float.roundToInt()
- else -> {
- Log.error("[SliderSetting] Error casting setting type.")
- -1
- }
+ else -> -1
+ }
+ }
+ set(value) {
+ when (setting) {
+ is AbstractByteSetting -> setting.setByte(value.toByte())
+ is AbstractShortSetting -> setting.setShort(value.toShort())
+ is AbstractIntSetting -> setting.setInt(value)
+ is AbstractFloatSetting -> setting.setFloat(value.toFloat())
}
}
-
- /**
- * Write a value to the backing int. If that int was previously null,
- * initializes a new one and returns it, so it can be added to the Hashmap.
- *
- * @param selection New value of the int.
- * @return the existing setting with the new value applied.
- */
- fun setSelectedValue(selection: Int): AbstractIntSetting {
- val intSetting = setting as AbstractIntSetting
- intSetting.int = selection
- return intSetting
- }
-
- /**
- * Write a value to the backing float. If that float was previously null,
- * initializes a new one and returns it, so it can be added to the Hashmap.
- *
- * @param selection New value of the float.
- * @return the existing setting with the new value applied.
- */
- fun setSelectedValue(selection: Float): AbstractFloatSetting {
- val floatSetting = setting as AbstractFloatSetting
- floatSetting.float = selection
- return floatSetting
- }
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/StringSingleChoiceSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/StringSingleChoiceSetting.kt
index 3b6731dcd..871dab4f3 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/StringSingleChoiceSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/StringSingleChoiceSetting.kt
@@ -3,57 +3,31 @@
package org.yuzu.yuzu_emu.features.settings.model.view
-import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting
import org.yuzu.yuzu_emu.features.settings.model.AbstractStringSetting
class StringSingleChoiceSetting(
- setting: AbstractSetting?,
+ private val stringSetting: AbstractStringSetting,
titleId: Int,
descriptionId: Int,
val choices: Array<String>,
- val values: Array<String>?,
- val key: String? = null,
- private val defaultValue: String? = null
-) : SettingsItem(setting, titleId, descriptionId) {
+ val values: Array<String>
+) : SettingsItem(stringSetting, titleId, descriptionId) {
override val type = TYPE_STRING_SINGLE_CHOICE
- fun getValueAt(index: Int): String? {
- if (values == null) return null
- return if (index >= 0 && index < values.size) {
- values[index]
- } else {
- ""
- }
- }
+ fun getValueAt(index: Int): String =
+ if (index >= 0 && index < values.size) values[index] else ""
+
+ var selectedValue: String
+ get() = stringSetting.string
+ set(value) = stringSetting.setString(value)
- val selectedValue: String
- get() = if (setting != null) {
- val setting = setting as AbstractStringSetting
- setting.string
- } else {
- defaultValue!!
- }
val selectValueIndex: Int
get() {
- val selectedValue = selectedValue
- for (i in values!!.indices) {
+ for (i in values.indices) {
if (values[i] == selectedValue) {
return i
}
}
return -1
}
-
- /**
- * Write a value to the backing int. If that int was previously null,
- * initializes a new one and returns it, so it can be added to the Hashmap.
- *
- * @param selection New value of the int.
- * @return the existing setting with the new value applied.
- */
- fun setSelectedValue(selection: String): AbstractStringSetting {
- val stringSetting = setting as AbstractStringSetting
- stringSetting.string = selection
- return stringSetting
- }
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SubmenuSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SubmenuSetting.kt
index 8a9d13a92..b343e527e 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SubmenuSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SubmenuSetting.kt
@@ -3,10 +3,12 @@
package org.yuzu.yuzu_emu.features.settings.model.view
+import org.yuzu.yuzu_emu.features.settings.model.Settings
+
class SubmenuSetting(
titleId: Int,
descriptionId: Int,
- val menuKey: String
-) : SettingsItem(null, titleId, descriptionId) {
+ val menuKey: Settings.MenuTag
+) : SettingsItem(emptySetting, titleId, descriptionId) {
override val type = TYPE_SUBMENU
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SwitchSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SwitchSetting.kt
index 90b198718..416967e64 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SwitchSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/model/view/SwitchSetting.kt
@@ -10,53 +10,22 @@ import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting
class SwitchSetting(
setting: AbstractSetting,
titleId: Int,
- descriptionId: Int,
- val key: String? = null,
- val defaultValue: Any? = null
+ descriptionId: Int
) : SettingsItem(setting, titleId, descriptionId) {
override val type = TYPE_SWITCH
- val isChecked: Boolean
+ var checked: Boolean
get() {
- if (setting == null) {
- return defaultValue as Boolean
+ return when (setting) {
+ is AbstractIntSetting -> setting.int == 1
+ is AbstractBooleanSetting -> setting.boolean
+ else -> false
}
-
- // Try integer setting
- try {
- val setting = setting as AbstractIntSetting
- return setting.int == 1
- } catch (_: ClassCastException) {
- }
-
- // Try boolean setting
- try {
- val setting = setting as AbstractBooleanSetting
- return setting.boolean
- } catch (_: ClassCastException) {
- }
- return defaultValue as Boolean
}
-
- /**
- * Write a value to the backing boolean. If that boolean was previously null,
- * initializes a new one and returns it, so it can be added to the Hashmap.
- *
- * @param checked Pretty self explanatory.
- * @return the existing setting with the new value applied.
- */
- fun setChecked(checked: Boolean): AbstractSetting {
- // Try integer setting
- try {
- val setting = setting as AbstractIntSetting
- setting.int = if (checked) 1 else 0
- return setting
- } catch (_: ClassCastException) {
+ set(value) {
+ when (setting) {
+ is AbstractIntSetting -> setting.setInt(if (value) 1 else 0)
+ is AbstractBooleanSetting -> setting.setBoolean(value)
+ }
}
-
- // Try boolean setting
- val setting = setting as AbstractBooleanSetting
- setting.boolean = checked
- return setting
- }
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt
index a5af5a7ae..c73edd50e 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivity.kt
@@ -3,42 +3,40 @@
package org.yuzu.yuzu_emu.features.settings.ui
-import android.content.Context
-import android.content.Intent
import android.os.Bundle
-import android.view.Menu
import android.view.View
import android.view.ViewGroup.MarginLayoutParams
import android.widget.Toast
import androidx.activity.OnBackPressedCallback
-import androidx.activity.result.ActivityResultLauncher
import androidx.activity.viewModels
import androidx.appcompat.app.AppCompatActivity
import androidx.core.view.ViewCompat
import androidx.core.view.WindowCompat
import androidx.core.view.WindowInsetsCompat
-import androidx.core.view.updatePadding
+import androidx.lifecycle.Lifecycle
+import androidx.lifecycle.lifecycleScope
+import androidx.lifecycle.repeatOnLifecycle
+import androidx.navigation.fragment.NavHostFragment
+import androidx.navigation.navArgs
import com.google.android.material.color.MaterialColors
+import kotlinx.coroutines.flow.collectLatest
+import kotlinx.coroutines.launch
+import org.yuzu.yuzu_emu.NativeLibrary
import java.io.IOException
import org.yuzu.yuzu_emu.R
import org.yuzu.yuzu_emu.databinding.ActivitySettingsBinding
-import org.yuzu.yuzu_emu.features.settings.model.BooleanSetting
-import org.yuzu.yuzu_emu.features.settings.model.FloatSetting
-import org.yuzu.yuzu_emu.features.settings.model.IntSetting
import org.yuzu.yuzu_emu.features.settings.model.Settings
-import org.yuzu.yuzu_emu.features.settings.model.SettingsViewModel
-import org.yuzu.yuzu_emu.features.settings.model.StringSetting
import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile
+import org.yuzu.yuzu_emu.fragments.ResetSettingsDialogFragment
+import org.yuzu.yuzu_emu.model.SettingsViewModel
import org.yuzu.yuzu_emu.utils.*
-class SettingsActivity : AppCompatActivity(), SettingsActivityView {
- private val presenter = SettingsActivityPresenter(this)
-
+class SettingsActivity : AppCompatActivity() {
private lateinit var binding: ActivitySettingsBinding
- private val settingsViewModel: SettingsViewModel by viewModels()
+ private val args by navArgs<SettingsActivityArgs>()
- override val settings: Settings get() = settingsViewModel.settings
+ private val settingsViewModel: SettingsViewModel by viewModels()
override fun onCreate(savedInstanceState: Bundle?) {
ThemeHelper.setTheme(this)
@@ -48,16 +46,17 @@ class SettingsActivity : AppCompatActivity(), SettingsActivityView {
binding = ActivitySettingsBinding.inflate(layoutInflater)
setContentView(binding.root)
- WindowCompat.setDecorFitsSystemWindows(window, false)
+ settingsViewModel.game = args.game
- val launcher = intent
- val gameID = launcher.getStringExtra(ARG_GAME_ID)
- val menuTag = launcher.getStringExtra(ARG_MENU_TAG)
- presenter.onCreate(savedInstanceState, menuTag!!, gameID!!)
+ val navHostFragment =
+ supportFragmentManager.findFragmentById(R.id.fragment_container) as NavHostFragment
+ navHostFragment.navController.setGraph(R.navigation.settings_navigation, intent.extras)
- // Show "Back" button in the action bar for navigation
- setSupportActionBar(binding.toolbarSettings)
- supportActionBar!!.setDisplayHomeAsUpEnabled(true)
+ WindowCompat.setDecorFitsSystemWindows(window, false)
+
+ if (savedInstanceState != null) {
+ settingsViewModel.shouldSave = savedInstanceState.getBoolean(KEY_SHOULD_SAVE)
+ }
if (InsetsHelper.getSystemGestureType(applicationContext) !=
InsetsHelper.GESTURE_NAVIGATION
@@ -73,6 +72,42 @@ class SettingsActivity : AppCompatActivity(), SettingsActivityView {
)
}
+ lifecycleScope.apply {
+ launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ settingsViewModel.shouldRecreate.collectLatest {
+ if (it) {
+ settingsViewModel.setShouldRecreate(false)
+ recreate()
+ }
+ }
+ }
+ }
+ launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ settingsViewModel.shouldNavigateBack.collectLatest {
+ if (it) {
+ settingsViewModel.setShouldNavigateBack(false)
+ navigateBack()
+ }
+ }
+ }
+ }
+ launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ settingsViewModel.shouldShowResetSettingsDialog.collectLatest {
+ if (it) {
+ settingsViewModel.setShouldShowResetSettingsDialog(false)
+ ResetSettingsDialogFragment().show(
+ supportFragmentManager,
+ ResetSettingsDialogFragment.TAG
+ )
+ }
+ }
+ }
+ }
+ }
+
onBackPressedDispatcher.addCallback(
this,
object : OnBackPressedCallback(true) {
@@ -83,34 +118,28 @@ class SettingsActivity : AppCompatActivity(), SettingsActivityView {
setInsets()
}
- override fun onSupportNavigateUp(): Boolean {
- navigateBack()
- return true
- }
-
- private fun navigateBack() {
- if (supportFragmentManager.backStackEntryCount > 0) {
- supportFragmentManager.popBackStack()
+ fun navigateBack() {
+ val navHostFragment =
+ supportFragmentManager.findFragmentById(R.id.fragment_container) as NavHostFragment
+ if (navHostFragment.childFragmentManager.backStackEntryCount > 0) {
+ navHostFragment.navController.popBackStack()
} else {
finish()
}
}
- override fun onCreateOptionsMenu(menu: Menu): Boolean {
- val inflater = menuInflater
- inflater.inflate(R.menu.menu_settings, menu)
- return true
- }
-
override fun onSaveInstanceState(outState: Bundle) {
// Critical: If super method is not called, rotations will be busted.
super.onSaveInstanceState(outState)
- presenter.saveState(outState)
+ outState.putBoolean(KEY_SHOULD_SAVE, settingsViewModel.shouldSave)
}
override fun onStart() {
super.onStart()
- presenter.onStart()
+ // TODO: Load custom settings contextually
+ if (!DirectoryInitialization.areDirectoriesReady) {
+ DirectoryInitialization.start()
+ }
}
/**
@@ -120,143 +149,53 @@ class SettingsActivity : AppCompatActivity(), SettingsActivityView {
*/
override fun onStop() {
super.onStop()
- presenter.onStop(isFinishing)
- }
-
- override fun showSettingsFragment(menuTag: String, addToStack: Boolean, gameId: String) {
- if (!addToStack && settingsFragment != null) {
- return
+ if (isFinishing && settingsViewModel.shouldSave) {
+ Log.debug("[SettingsActivity] Settings activity stopping. Saving settings to INI...")
+ Settings.saveSettings()
}
-
- val transaction = supportFragmentManager.beginTransaction()
- if (addToStack) {
- if (areSystemAnimationsEnabled()) {
- transaction.setCustomAnimations(
- R.anim.anim_settings_fragment_in,
- R.anim.anim_settings_fragment_out,
- 0,
- R.anim.anim_pop_settings_fragment_out
- )
- }
- transaction.addToBackStack(null)
- }
- transaction.replace(
- R.id.frame_content,
- SettingsFragment.newInstance(menuTag, gameId),
- FRAGMENT_TAG
- )
- transaction.commit()
- }
-
- private fun areSystemAnimationsEnabled(): Boolean {
- val duration = android.provider.Settings.Global.getFloat(
- contentResolver,
- android.provider.Settings.Global.ANIMATOR_DURATION_SCALE,
- 1f
- )
- val transition = android.provider.Settings.Global.getFloat(
- contentResolver,
- android.provider.Settings.Global.TRANSITION_ANIMATION_SCALE,
- 1f
- )
- return duration != 0f && transition != 0f
}
- override fun onSettingsFileLoaded() {
- val fragment: SettingsFragmentView? = settingsFragment
- fragment?.loadSettingsList()
- }
-
- override fun onSettingsFileNotFound() {
- val fragment: SettingsFragmentView? = settingsFragment
- fragment?.loadSettingsList()
- }
-
- override fun showToastMessage(message: String, is_long: Boolean) {
- Toast.makeText(
- this,
- message,
- if (is_long) Toast.LENGTH_LONG else Toast.LENGTH_SHORT
- ).show()
- }
-
- override fun onSettingChanged() {
- presenter.onSettingChanged()
+ override fun onDestroy() {
+ settingsViewModel.clear()
+ super.onDestroy()
}
fun onSettingsReset() {
// Prevents saving to a non-existent settings file
- presenter.onSettingsReset()
-
- // Reset the static memory representation of each setting
- BooleanSetting.clear()
- FloatSetting.clear()
- IntSetting.clear()
- StringSetting.clear()
+ settingsViewModel.shouldSave = false
// Delete settings file because the user may have changed values that do not exist in the UI
val settingsFile = SettingsFile.getSettingsFile(SettingsFile.FILE_NAME_CONFIG)
if (!settingsFile.delete()) {
throw IOException("Failed to delete $settingsFile")
}
+ NativeLibrary.reloadSettings()
- showToastMessage(getString(R.string.settings_reset), true)
+ Toast.makeText(
+ applicationContext,
+ getString(R.string.settings_reset),
+ Toast.LENGTH_LONG
+ ).show()
finish()
}
- fun setToolbarTitle(title: String) {
- binding.toolbarSettingsLayout.title = title
- }
-
- private val settingsFragment: SettingsFragment?
- get() = supportFragmentManager.findFragmentByTag(FRAGMENT_TAG) as SettingsFragment?
-
private fun setInsets() {
ViewCompat.setOnApplyWindowInsetsListener(
- binding.frameContent
- ) { view: View, windowInsets: WindowInsetsCompat ->
+ binding.navigationBarShade
+ ) { _: View, windowInsets: WindowInsetsCompat ->
val barInsets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars())
- val cutoutInsets = windowInsets.getInsets(WindowInsetsCompat.Type.displayCutout())
- view.updatePadding(
- left = barInsets.left + cutoutInsets.left,
- right = barInsets.right + cutoutInsets.right
- )
- val mlpAppBar = binding.appbarSettings.layoutParams as MarginLayoutParams
- mlpAppBar.leftMargin = barInsets.left + cutoutInsets.left
- mlpAppBar.rightMargin = barInsets.right + cutoutInsets.right
- binding.appbarSettings.layoutParams = mlpAppBar
-
- val mlpShade = binding.navigationBarShade.layoutParams as MarginLayoutParams
- mlpShade.height = barInsets.bottom
- binding.navigationBarShade.layoutParams = mlpShade
+ // The only situation where we care to have a nav bar shade is when it's at the bottom
+ // of the screen where scrolling list elements can go behind it.
+ val mlpNavShade = binding.navigationBarShade.layoutParams as MarginLayoutParams
+ mlpNavShade.height = barInsets.bottom
+ binding.navigationBarShade.layoutParams = mlpNavShade
windowInsets
}
}
companion object {
- private const val ARG_MENU_TAG = "menu_tag"
- private const val ARG_GAME_ID = "game_id"
- private const val FRAGMENT_TAG = "settings"
-
- fun launch(context: Context, menuTag: String?, gameId: String?) {
- val settings = Intent(context, SettingsActivity::class.java)
- settings.putExtra(ARG_MENU_TAG, menuTag)
- settings.putExtra(ARG_GAME_ID, gameId)
- context.startActivity(settings)
- }
-
- fun launch(
- context: Context,
- launcher: ActivityResultLauncher<Intent>,
- menuTag: String?,
- gameId: String?
- ) {
- val settings = Intent(context, SettingsActivity::class.java)
- settings.putExtra(ARG_MENU_TAG, menuTag)
- settings.putExtra(ARG_GAME_ID, gameId)
- launcher.launch(settings)
- }
+ private const val KEY_SHOULD_SAVE = "should_save"
}
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivityPresenter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivityPresenter.kt
deleted file mode 100644
index 93e677b21..000000000
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivityPresenter.kt
+++ /dev/null
@@ -1,90 +0,0 @@
-// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-package org.yuzu.yuzu_emu.features.settings.ui
-
-import android.content.Context
-import android.os.Bundle
-import android.text.TextUtils
-import java.io.File
-import org.yuzu.yuzu_emu.NativeLibrary
-import org.yuzu.yuzu_emu.features.settings.model.Settings
-import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile
-import org.yuzu.yuzu_emu.utils.DirectoryInitialization
-import org.yuzu.yuzu_emu.utils.Log
-
-class SettingsActivityPresenter(private val activityView: SettingsActivityView) {
- val settings: Settings get() = activityView.settings
-
- private var shouldSave = false
- private lateinit var menuTag: String
- private lateinit var gameId: String
-
- fun onCreate(savedInstanceState: Bundle?, menuTag: String, gameId: String) {
- this.menuTag = menuTag
- this.gameId = gameId
- if (savedInstanceState != null) {
- shouldSave = savedInstanceState.getBoolean(KEY_SHOULD_SAVE)
- }
- }
-
- fun onStart() {
- prepareDirectoriesIfNeeded()
- }
-
- private fun loadSettingsUI() {
- if (!settings.isLoaded) {
- if (!TextUtils.isEmpty(gameId)) {
- settings.loadSettings(gameId, activityView)
- } else {
- settings.loadSettings(activityView)
- }
- }
- activityView.showSettingsFragment(menuTag, false, gameId)
- activityView.onSettingsFileLoaded()
- }
-
- private fun prepareDirectoriesIfNeeded() {
- val configFile =
- File(
- "${DirectoryInitialization.userDirectory}/config/" +
- "${SettingsFile.FILE_NAME_CONFIG}.ini"
- )
- if (!configFile.exists()) {
- Log.error(
- "${DirectoryInitialization.userDirectory}/config/" +
- "${SettingsFile.FILE_NAME_CONFIG}.ini"
- )
- Log.error("yuzu config file could not be found!")
- }
-
- if (!DirectoryInitialization.areDirectoriesReady) {
- DirectoryInitialization.start(activityView as Context)
- }
- loadSettingsUI()
- }
-
- fun onStop(finishing: Boolean) {
- if (finishing && shouldSave) {
- Log.debug("[SettingsActivity] Settings activity stopping. Saving settings to INI...")
- settings.saveSettings(activityView)
- }
- NativeLibrary.reloadSettings()
- }
-
- fun onSettingChanged() {
- shouldSave = true
- }
-
- fun onSettingsReset() {
- shouldSave = false
- }
-
- fun saveState(outState: Bundle) {
- outState.putBoolean(KEY_SHOULD_SAVE, shouldSave)
- }
-
- companion object {
- private const val KEY_SHOULD_SAVE = "should_save"
- }
-}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivityView.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivityView.kt
deleted file mode 100644
index c186fc388..000000000
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsActivityView.kt
+++ /dev/null
@@ -1,57 +0,0 @@
-// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-package org.yuzu.yuzu_emu.features.settings.ui
-
-import org.yuzu.yuzu_emu.features.settings.model.Settings
-
-/**
- * Abstraction for the Activity that manages SettingsFragments.
- */
-interface SettingsActivityView {
- /**
- * Show a new SettingsFragment.
- *
- * @param menuTag Identifier for the settings group that should be displayed.
- * @param addToStack Whether or not this fragment should replace a previous one.
- */
- fun showSettingsFragment(menuTag: String, addToStack: Boolean, gameId: String)
-
- /**
- * Called by a contained Fragment to get access to the Setting HashMap
- * loaded from disk, so that each Fragment doesn't need to perform its own
- * read operation.
- *
- * @return A HashMap of Settings.
- */
- val settings: Settings
-
- /**
- * Called when a load operation completes.
- */
- fun onSettingsFileLoaded()
-
- /**
- * Called when a load operation fails.
- */
- fun onSettingsFileNotFound()
-
- /**
- * Display a popup text message on screen.
- *
- * @param message The contents of the onscreen message.
- * @param is_long Whether this should be a long Toast or short one.
- */
- fun showToastMessage(message: String, is_long: Boolean)
-
- /**
- * End the activity.
- */
- fun finish()
-
- /**
- * Called by a containing Fragment to tell the Activity that a setting was changed;
- * unless this has been called, the Activity will not save to disk.
- */
- fun onSettingChanged()
-}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsAdapter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsAdapter.kt
index ce0b92c90..a7a029fc1 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsAdapter.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsAdapter.kt
@@ -4,51 +4,54 @@
package org.yuzu.yuzu_emu.features.settings.ui
import android.content.Context
-import android.content.DialogInterface
import android.icu.util.Calendar
import android.icu.util.TimeZone
import android.text.format.DateFormat
import android.view.LayoutInflater
import android.view.ViewGroup
-import android.widget.TextView
-import androidx.appcompat.app.AlertDialog
-import androidx.appcompat.app.AppCompatActivity
-import androidx.recyclerview.widget.RecyclerView
+import androidx.fragment.app.Fragment
+import androidx.lifecycle.Lifecycle
+import androidx.lifecycle.ViewModelProvider
+import androidx.lifecycle.lifecycleScope
+import androidx.lifecycle.repeatOnLifecycle
+import androidx.navigation.findNavController
+import androidx.recyclerview.widget.AsyncDifferConfig
+import androidx.recyclerview.widget.DiffUtil
+import androidx.recyclerview.widget.ListAdapter
import com.google.android.material.datepicker.MaterialDatePicker
-import com.google.android.material.dialog.MaterialAlertDialogBuilder
-import com.google.android.material.slider.Slider
import com.google.android.material.timepicker.MaterialTimePicker
import com.google.android.material.timepicker.TimeFormat
+import kotlinx.coroutines.launch
import org.yuzu.yuzu_emu.R
-import org.yuzu.yuzu_emu.databinding.DialogSliderBinding
+import org.yuzu.yuzu_emu.SettingsNavigationDirections
import org.yuzu.yuzu_emu.databinding.ListItemSettingBinding
import org.yuzu.yuzu_emu.databinding.ListItemSettingSwitchBinding
import org.yuzu.yuzu_emu.databinding.ListItemSettingsHeaderBinding
-import org.yuzu.yuzu_emu.features.settings.model.AbstractBooleanSetting
-import org.yuzu.yuzu_emu.features.settings.model.AbstractFloatSetting
-import org.yuzu.yuzu_emu.features.settings.model.AbstractIntSetting
-import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting
-import org.yuzu.yuzu_emu.features.settings.model.AbstractStringSetting
-import org.yuzu.yuzu_emu.features.settings.model.FloatSetting
import org.yuzu.yuzu_emu.features.settings.model.view.*
import org.yuzu.yuzu_emu.features.settings.ui.viewholder.*
+import org.yuzu.yuzu_emu.fragments.SettingsDialogFragment
+import org.yuzu.yuzu_emu.model.SettingsViewModel
class SettingsAdapter(
- private val fragmentView: SettingsFragmentView,
+ private val fragment: Fragment,
private val context: Context
-) : RecyclerView.Adapter<SettingViewHolder?>(), DialogInterface.OnClickListener {
- private var settings: ArrayList<SettingsItem>? = null
- private var clickedItem: SettingsItem? = null
- private var clickedPosition: Int
- private var dialog: AlertDialog? = null
- private var sliderProgress = 0
- private var textSliderValue: TextView? = null
-
- private var defaultCancelListener =
- DialogInterface.OnClickListener { _: DialogInterface?, _: Int -> closeDialog() }
+) : ListAdapter<SettingsItem, SettingViewHolder>(
+ AsyncDifferConfig.Builder(DiffCallback()).build()
+) {
+ private val settingsViewModel: SettingsViewModel
+ get() = ViewModelProvider(fragment.requireActivity())[SettingsViewModel::class.java]
init {
- clickedPosition = -1
+ fragment.viewLifecycleOwner.lifecycleScope.launch {
+ fragment.repeatOnLifecycle(Lifecycle.State.STARTED) {
+ settingsViewModel.adapterItemChanged.collect {
+ if (it != -1) {
+ notifyItemChanged(it)
+ settingsViewModel.setAdapterItemChanged(-1)
+ }
+ }
+ }
+ }
}
override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): SettingViewHolder {
@@ -90,67 +93,41 @@ class SettingsAdapter(
}
override fun onBindViewHolder(holder: SettingViewHolder, position: Int) {
- holder.bind(getItem(position))
+ holder.bind(currentList[position])
}
- private fun getItem(position: Int): SettingsItem {
- return settings!![position]
- }
-
- override fun getItemCount(): Int {
- return if (settings != null) {
- settings!!.size
- } else {
- 0
- }
- }
+ override fun getItemCount(): Int = currentList.size
override fun getItemViewType(position: Int): Int {
- return getItem(position).type
- }
-
- fun setSettingsList(settings: ArrayList<SettingsItem>?) {
- this.settings = settings
- notifyDataSetChanged()
- }
-
- fun onBooleanClick(item: SwitchSetting, position: Int, checked: Boolean) {
- val setting = item.setChecked(checked)
- fragmentView.putSetting(setting)
- fragmentView.onSettingChanged()
+ return currentList[position].type
}
- private fun onSingleChoiceClick(item: SingleChoiceSetting) {
- clickedItem = item
- val value = getSelectionForSingleChoiceValue(item)
- dialog = MaterialAlertDialogBuilder(context)
- .setTitle(item.nameId)
- .setSingleChoiceItems(item.choicesId, value, this)
- .show()
+ fun onBooleanClick(item: SwitchSetting, checked: Boolean) {
+ item.checked = checked
+ settingsViewModel.setShouldReloadSettingsList(true)
+ settingsViewModel.shouldSave = true
}
fun onSingleChoiceClick(item: SingleChoiceSetting, position: Int) {
- clickedPosition = position
- onSingleChoiceClick(item)
- }
-
- private fun onStringSingleChoiceClick(item: StringSingleChoiceSetting) {
- clickedItem = item
- dialog = MaterialAlertDialogBuilder(context)
- .setTitle(item.nameId)
- .setSingleChoiceItems(item.choices, item.selectValueIndex, this)
- .show()
+ SettingsDialogFragment.newInstance(
+ settingsViewModel,
+ item,
+ SettingsItem.TYPE_SINGLE_CHOICE,
+ position
+ ).show(fragment.childFragmentManager, SettingsDialogFragment.TAG)
}
fun onStringSingleChoiceClick(item: StringSingleChoiceSetting, position: Int) {
- clickedPosition = position
- onStringSingleChoiceClick(item)
+ SettingsDialogFragment.newInstance(
+ settingsViewModel,
+ item,
+ SettingsItem.TYPE_STRING_SINGLE_CHOICE,
+ position
+ ).show(fragment.childFragmentManager, SettingsDialogFragment.TAG)
}
fun onDateTimeClick(item: DateTimeSetting, position: Int) {
- clickedItem = item
- clickedPosition = position
- val storedTime = java.lang.Long.decode(item.value) * 1000
+ val storedTime = item.value * 1000
// Helper to extract hour and minute from epoch time
val calendar: Calendar = Calendar.getInstance()
@@ -158,7 +135,7 @@ class SettingsAdapter(
calendar.timeZone = TimeZone.getTimeZone("UTC")
var timeFormat: Int = TimeFormat.CLOCK_12H
- if (DateFormat.is24HourFormat(fragmentView.activityView as AppCompatActivity)) {
+ if (DateFormat.is24HourFormat(context)) {
timeFormat = TimeFormat.CLOCK_24H
}
@@ -175,7 +152,7 @@ class SettingsAdapter(
datePicker.addOnPositiveButtonClickListener {
timePicker.show(
- (fragmentView.activityView as AppCompatActivity).supportFragmentManager,
+ fragment.childFragmentManager,
"TimePicker"
)
}
@@ -183,157 +160,50 @@ class SettingsAdapter(
var epochTime: Long = datePicker.selection!! / 1000
epochTime += timePicker.hour.toLong() * 60 * 60
epochTime += timePicker.minute.toLong() * 60
- val rtcString = epochTime.toString()
- if (item.value != rtcString) {
- fragmentView.onSettingChanged()
+ if (item.value != epochTime) {
+ settingsViewModel.shouldSave = true
+ notifyItemChanged(position)
+ item.value = epochTime
}
- notifyItemChanged(clickedPosition)
- val setting = item.setSelectedValue(rtcString)
- fragmentView.putSetting(setting)
- clickedItem = null
}
datePicker.show(
- (fragmentView.activityView as AppCompatActivity).supportFragmentManager,
+ fragment.childFragmentManager,
"DatePicker"
)
}
fun onSliderClick(item: SliderSetting, position: Int) {
- clickedItem = item
- clickedPosition = position
- sliderProgress = item.selectedValue
-
- val inflater = LayoutInflater.from(context)
- val sliderBinding = DialogSliderBinding.inflate(inflater)
-
- textSliderValue = sliderBinding.textValue
- textSliderValue!!.text = sliderProgress.toString()
- sliderBinding.textUnits.text = item.units
-
- sliderBinding.slider.apply {
- valueFrom = item.min.toFloat()
- valueTo = item.max.toFloat()
- value = sliderProgress.toFloat()
- addOnChangeListener { _: Slider, value: Float, _: Boolean ->
- sliderProgress = value.toInt()
- textSliderValue!!.text = sliderProgress.toString()
- }
- }
-
- dialog = MaterialAlertDialogBuilder(context)
- .setTitle(item.nameId)
- .setView(sliderBinding.root)
- .setPositiveButton(android.R.string.ok, this)
- .setNegativeButton(android.R.string.cancel, defaultCancelListener)
- .setNeutralButton(R.string.slider_default) { dialog: DialogInterface, which: Int ->
- sliderBinding.slider.value = item.defaultValue!!.toFloat()
- onClick(dialog, which)
- }
- .show()
+ SettingsDialogFragment.newInstance(
+ settingsViewModel,
+ item,
+ SettingsItem.TYPE_SLIDER,
+ position
+ ).show(fragment.childFragmentManager, SettingsDialogFragment.TAG)
}
fun onSubmenuClick(item: SubmenuSetting) {
- fragmentView.loadSubMenu(item.menuKey)
+ val action = SettingsNavigationDirections.actionGlobalSettingsFragment(item.menuKey, null)
+ fragment.view?.findNavController()?.navigate(action)
}
- override fun onClick(dialog: DialogInterface, which: Int) {
- when (clickedItem) {
- is SingleChoiceSetting -> {
- val scSetting = clickedItem as SingleChoiceSetting
- val value = getValueForSingleChoiceSelection(scSetting, which)
- if (scSetting.selectedValue != value) {
- fragmentView.onSettingChanged()
- }
-
- // Get the backing Setting, which may be null (if for example it was missing from the file)
- val setting = scSetting.setSelectedValue(value)
- fragmentView.putSetting(setting)
- closeDialog()
- }
-
- is StringSingleChoiceSetting -> {
- val scSetting = clickedItem as StringSingleChoiceSetting
- val value = scSetting.getValueAt(which)
- if (scSetting.selectedValue != value) fragmentView.onSettingChanged()
- val setting = scSetting.setSelectedValue(value!!)
- fragmentView.putSetting(setting)
- closeDialog()
- }
-
- is SliderSetting -> {
- val sliderSetting = clickedItem as SliderSetting
- if (sliderSetting.selectedValue != sliderProgress) {
- fragmentView.onSettingChanged()
- }
- if (sliderSetting.setting is FloatSetting) {
- val value = sliderProgress.toFloat()
- val setting = sliderSetting.setSelectedValue(value)
- fragmentView.putSetting(setting)
- } else {
- val setting = sliderSetting.setSelectedValue(sliderProgress)
- fragmentView.putSetting(setting)
- }
- closeDialog()
- }
- }
- clickedItem = null
- sliderProgress = -1
- }
-
- fun onLongClick(setting: AbstractSetting, position: Int): Boolean {
- MaterialAlertDialogBuilder(context)
- .setMessage(R.string.reset_setting_confirmation)
- .setPositiveButton(android.R.string.ok) { dialog: DialogInterface, which: Int ->
- when (setting) {
- is AbstractBooleanSetting -> setting.boolean = setting.defaultValue as Boolean
- is AbstractFloatSetting -> setting.float = setting.defaultValue as Float
- is AbstractIntSetting -> setting.int = setting.defaultValue as Int
- is AbstractStringSetting -> setting.string = setting.defaultValue as String
- }
- notifyItemChanged(position)
- fragmentView.onSettingChanged()
- }
- .setNegativeButton(android.R.string.cancel, null)
- .show()
+ fun onLongClick(item: SettingsItem, position: Int): Boolean {
+ SettingsDialogFragment.newInstance(
+ settingsViewModel,
+ item,
+ SettingsDialogFragment.TYPE_RESET_SETTING,
+ position
+ ).show(fragment.childFragmentManager, SettingsDialogFragment.TAG)
return true
}
- fun closeDialog() {
- if (dialog != null) {
- if (clickedPosition != -1) {
- notifyItemChanged(clickedPosition)
- clickedPosition = -1
- }
- dialog!!.dismiss()
- dialog = null
+ private class DiffCallback : DiffUtil.ItemCallback<SettingsItem>() {
+ override fun areItemsTheSame(oldItem: SettingsItem, newItem: SettingsItem): Boolean {
+ return oldItem.setting.key == newItem.setting.key
}
- }
- private fun getValueForSingleChoiceSelection(item: SingleChoiceSetting, which: Int): Int {
- val valuesId = item.valuesId
- return if (valuesId > 0) {
- val valuesArray = context.resources.getIntArray(valuesId)
- valuesArray[which]
- } else {
- which
- }
- }
-
- private fun getSelectionForSingleChoiceValue(item: SingleChoiceSetting): Int {
- val value = item.selectedValue
- val valuesId = item.valuesId
- if (valuesId > 0) {
- val valuesArray = context.resources.getIntArray(valuesId)
- for (index in valuesArray.indices) {
- val current = valuesArray[index]
- if (current == value) {
- return index
- }
- }
- } else {
- return value
+ override fun areContentsTheSame(oldItem: SettingsItem, newItem: SettingsItem): Boolean {
+ return oldItem.setting.key == newItem.setting.key
}
- return -1
}
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragment.kt
index 70a74c4dd..70d8ec14b 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragment.kt
@@ -3,40 +3,49 @@
package org.yuzu.yuzu_emu.features.settings.ui
-import android.content.Context
+import android.annotation.SuppressLint
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
+import android.view.ViewGroup.MarginLayoutParams
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import androidx.core.view.updatePadding
import androidx.fragment.app.Fragment
+import androidx.fragment.app.activityViewModels
+import androidx.lifecycle.Lifecycle
+import androidx.lifecycle.lifecycleScope
+import androidx.lifecycle.repeatOnLifecycle
+import androidx.navigation.findNavController
+import androidx.navigation.fragment.navArgs
import androidx.recyclerview.widget.LinearLayoutManager
import com.google.android.material.divider.MaterialDividerItemDecoration
+import com.google.android.material.transition.MaterialSharedAxis
+import kotlinx.coroutines.flow.collectLatest
+import kotlinx.coroutines.launch
+import org.yuzu.yuzu_emu.R
import org.yuzu.yuzu_emu.databinding.FragmentSettingsBinding
-import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting
-import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem
+import org.yuzu.yuzu_emu.features.settings.model.Settings
+import org.yuzu.yuzu_emu.model.SettingsViewModel
-class SettingsFragment : Fragment(), SettingsFragmentView {
- override var activityView: SettingsActivityView? = null
-
- private val fragmentPresenter = SettingsFragmentPresenter(this)
+class SettingsFragment : Fragment() {
+ private lateinit var presenter: SettingsFragmentPresenter
private var settingsAdapter: SettingsAdapter? = null
private var _binding: FragmentSettingsBinding? = null
private val binding get() = _binding!!
- override fun onAttach(context: Context) {
- super.onAttach(context)
- activityView = requireActivity() as SettingsActivityView
- }
+ private val args by navArgs<SettingsFragmentArgs>()
+
+ private val settingsViewModel: SettingsViewModel by activityViewModels()
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
- val menuTag = requireArguments().getString(ARGUMENT_MENU_TAG)
- val gameId = requireArguments().getString(ARGUMENT_GAME_ID)
- fragmentPresenter.onCreate(menuTag!!, gameId!!)
+ enterTransition = MaterialSharedAxis(MaterialSharedAxis.X, true)
+ returnTransition = MaterialSharedAxis(MaterialSharedAxis.X, false)
+ reenterTransition = MaterialSharedAxis(MaterialSharedAxis.X, false)
+ exitTransition = MaterialSharedAxis(MaterialSharedAxis.X, true)
}
override fun onCreateView(
@@ -48,8 +57,17 @@ class SettingsFragment : Fragment(), SettingsFragmentView {
return binding.root
}
+ // This is using the correct scope, lint is just acting up
+ @SuppressLint("UnsafeRepeatOnLifecycleDetector")
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
- settingsAdapter = SettingsAdapter(this, requireActivity())
+ settingsAdapter = SettingsAdapter(this, requireContext())
+ presenter = SettingsFragmentPresenter(
+ settingsViewModel,
+ settingsAdapter!!,
+ args.menuTag
+ )
+
+ binding.toolbarSettingsLayout.title = getString(args.menuTag.titleId)
val dividerDecoration = MaterialDividerItemDecoration(
requireContext(),
LinearLayoutManager.VERTICAL
@@ -57,71 +75,89 @@ class SettingsFragment : Fragment(), SettingsFragmentView {
dividerDecoration.isLastItemDecorated = false
binding.listSettings.apply {
adapter = settingsAdapter
- layoutManager = LinearLayoutManager(activity)
+ layoutManager = LinearLayoutManager(requireContext())
addItemDecoration(dividerDecoration)
}
- fragmentPresenter.onViewCreated()
- setInsets()
- }
-
- override fun onDetach() {
- super.onDetach()
- activityView = null
- if (settingsAdapter != null) {
- settingsAdapter!!.closeDialog()
+ binding.toolbarSettings.setNavigationOnClickListener {
+ settingsViewModel.setShouldNavigateBack(true)
}
- }
-
- override fun showSettingsList(settingsList: ArrayList<SettingsItem>) {
- settingsAdapter!!.setSettingsList(settingsList)
- }
- override fun loadSettingsList() {
- fragmentPresenter.loadSettingsList()
- }
+ viewLifecycleOwner.lifecycleScope.apply {
+ launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ settingsViewModel.shouldReloadSettingsList.collectLatest {
+ if (it) {
+ settingsViewModel.setShouldReloadSettingsList(false)
+ presenter.loadSettingsList()
+ }
+ }
+ }
+ }
+ launch {
+ settingsViewModel.isUsingSearch.collectLatest {
+ if (it) {
+ reenterTransition = MaterialSharedAxis(MaterialSharedAxis.Z, true)
+ exitTransition = MaterialSharedAxis(MaterialSharedAxis.Z, false)
+ } else {
+ reenterTransition = MaterialSharedAxis(MaterialSharedAxis.X, false)
+ exitTransition = MaterialSharedAxis(MaterialSharedAxis.X, true)
+ }
+ }
+ }
+ }
- override fun loadSubMenu(menuKey: String) {
- activityView!!.showSettingsFragment(
- menuKey,
- true,
- requireArguments().getString(ARGUMENT_GAME_ID)!!
- )
- }
+ if (args.menuTag == Settings.MenuTag.SECTION_ROOT) {
+ binding.toolbarSettings.inflateMenu(R.menu.menu_settings)
+ binding.toolbarSettings.setOnMenuItemClickListener {
+ when (it.itemId) {
+ R.id.action_search -> {
+ reenterTransition = MaterialSharedAxis(MaterialSharedAxis.Z, true)
+ exitTransition = MaterialSharedAxis(MaterialSharedAxis.Z, false)
+ view.findNavController()
+ .navigate(R.id.action_settingsFragment_to_settingsSearchFragment)
+ true
+ }
+
+ else -> false
+ }
+ }
+ }
- override fun showToastMessage(message: String?, is_long: Boolean) {
- activityView!!.showToastMessage(message!!, is_long)
- }
+ presenter.onViewCreated()
- override fun putSetting(setting: AbstractSetting) {
- fragmentPresenter.putSetting(setting)
+ setInsets()
}
- override fun onSettingChanged() {
- activityView!!.onSettingChanged()
+ override fun onResume() {
+ super.onResume()
+ settingsViewModel.setIsUsingSearch(false)
}
private fun setInsets() {
ViewCompat.setOnApplyWindowInsetsListener(
- binding.listSettings
- ) { view: View, windowInsets: WindowInsetsCompat ->
- val insets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars())
- view.updatePadding(bottom = insets.bottom)
+ binding.root
+ ) { _: View, windowInsets: WindowInsetsCompat ->
+ val barInsets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars())
+ val cutoutInsets = windowInsets.getInsets(WindowInsetsCompat.Type.displayCutout())
+
+ val leftInsets = barInsets.left + cutoutInsets.left
+ val rightInsets = barInsets.right + cutoutInsets.right
+
+ val sideMargin = resources.getDimensionPixelSize(R.dimen.spacing_medlarge)
+ val mlpSettingsList = binding.listSettings.layoutParams as MarginLayoutParams
+ mlpSettingsList.leftMargin = sideMargin + leftInsets
+ mlpSettingsList.rightMargin = sideMargin + rightInsets
+ binding.listSettings.layoutParams = mlpSettingsList
+ binding.listSettings.updatePadding(
+ bottom = barInsets.bottom
+ )
+
+ val mlpAppBar = binding.appbarSettings.layoutParams as MarginLayoutParams
+ mlpAppBar.leftMargin = leftInsets
+ mlpAppBar.rightMargin = rightInsets
+ binding.appbarSettings.layoutParams = mlpAppBar
windowInsets
}
}
-
- companion object {
- private const val ARGUMENT_MENU_TAG = "menu_tag"
- private const val ARGUMENT_GAME_ID = "game_id"
-
- fun newInstance(menuTag: String?, gameId: String?): Fragment {
- val fragment = SettingsFragment()
- val arguments = Bundle()
- arguments.putString(ARGUMENT_MENU_TAG, menuTag)
- arguments.putString(ARGUMENT_GAME_ID, gameId)
- fragment.arguments = arguments
- return fragment
- }
- }
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentPresenter.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentPresenter.kt
index 59c1d9d54..766414a6c 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentPresenter.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentPresenter.kt
@@ -3,401 +3,155 @@
package org.yuzu.yuzu_emu.features.settings.ui
+import android.content.Context
import android.content.SharedPreferences
import android.os.Build
-import android.text.TextUtils
+import android.widget.Toast
import androidx.preference.PreferenceManager
import org.yuzu.yuzu_emu.R
import org.yuzu.yuzu_emu.YuzuApplication
import org.yuzu.yuzu_emu.features.settings.model.AbstractBooleanSetting
import org.yuzu.yuzu_emu.features.settings.model.AbstractIntSetting
-import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting
import org.yuzu.yuzu_emu.features.settings.model.BooleanSetting
+import org.yuzu.yuzu_emu.features.settings.model.ByteSetting
import org.yuzu.yuzu_emu.features.settings.model.IntSetting
+import org.yuzu.yuzu_emu.features.settings.model.LongSetting
import org.yuzu.yuzu_emu.features.settings.model.Settings
-import org.yuzu.yuzu_emu.features.settings.model.StringSetting
+import org.yuzu.yuzu_emu.features.settings.model.ShortSetting
import org.yuzu.yuzu_emu.features.settings.model.view.*
-import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile
-import org.yuzu.yuzu_emu.fragments.ResetSettingsDialogFragment
-import org.yuzu.yuzu_emu.utils.ThemeHelper
+import org.yuzu.yuzu_emu.model.SettingsViewModel
+import org.yuzu.yuzu_emu.utils.NativeConfig
-class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView) {
- private var menuTag: String? = null
- private lateinit var gameId: String
- private var settingsList: ArrayList<SettingsItem>? = null
+class SettingsFragmentPresenter(
+ private val settingsViewModel: SettingsViewModel,
+ private val adapter: SettingsAdapter,
+ private var menuTag: Settings.MenuTag
+) {
+ private var settingsList = ArrayList<SettingsItem>()
- private val settingsActivity get() = fragmentView.activityView as SettingsActivity
- private val settings get() = fragmentView.activityView!!.settings
+ private val preferences: SharedPreferences
+ get() = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext)
- private lateinit var preferences: SharedPreferences
+ private val context: Context get() = YuzuApplication.appContext
- fun onCreate(menuTag: String, gameId: String) {
- this.gameId = gameId
- this.menuTag = menuTag
+ // Extension for populating settings list based on paired settings
+ fun ArrayList<SettingsItem>.add(key: String) {
+ val item = SettingsItem.settingsItems[key]!!
+ val pairedSettingKey = item.setting.pairedSettingKey
+ if (pairedSettingKey.isNotEmpty()) {
+ val pairedSettingValue = NativeConfig.getBoolean(pairedSettingKey, false)
+ if (!pairedSettingValue) return
+ }
+ add(item)
}
fun onViewCreated() {
- preferences = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext)
loadSettingsList()
}
- fun putSetting(setting: AbstractSetting) {
- if (setting.section == null || setting.key == null) {
- return
- }
-
- val section = settings.getSection(setting.section!!)!!
- if (section.getSetting(setting.key!!) == null) {
- section.putSetting(setting)
- }
- }
-
fun loadSettingsList() {
- if (!TextUtils.isEmpty(gameId)) {
- settingsActivity.setToolbarTitle("Game Settings: $gameId")
- }
val sl = ArrayList<SettingsItem>()
- if (menuTag == null) {
- return
- }
when (menuTag) {
- SettingsFile.FILE_NAME_CONFIG -> addConfigSettings(sl)
- Settings.SECTION_GENERAL -> addGeneralSettings(sl)
- Settings.SECTION_SYSTEM -> addSystemSettings(sl)
- Settings.SECTION_RENDERER -> addGraphicsSettings(sl)
- Settings.SECTION_AUDIO -> addAudioSettings(sl)
- Settings.SECTION_THEME -> addThemeSettings(sl)
- Settings.SECTION_DEBUG -> addDebugSettings(sl)
+ Settings.MenuTag.SECTION_ROOT -> addConfigSettings(sl)
+ Settings.MenuTag.SECTION_GENERAL -> addGeneralSettings(sl)
+ Settings.MenuTag.SECTION_SYSTEM -> addSystemSettings(sl)
+ Settings.MenuTag.SECTION_RENDERER -> addGraphicsSettings(sl)
+ Settings.MenuTag.SECTION_AUDIO -> addAudioSettings(sl)
+ Settings.MenuTag.SECTION_THEME -> addThemeSettings(sl)
+ Settings.MenuTag.SECTION_DEBUG -> addDebugSettings(sl)
else -> {
- fragmentView.showToastMessage("Unimplemented menu", false)
+ val context = YuzuApplication.appContext
+ Toast.makeText(
+ context,
+ context.getString(R.string.unimplemented_menu),
+ Toast.LENGTH_SHORT
+ ).show()
return
}
}
settingsList = sl
- fragmentView.showSettingsList(settingsList!!)
+ adapter.submitList(settingsList)
}
private fun addConfigSettings(sl: ArrayList<SettingsItem>) {
- settingsActivity.setToolbarTitle(settingsActivity.getString(R.string.advanced_settings))
sl.apply {
- add(
- SubmenuSetting(
- R.string.preferences_general,
- 0,
- Settings.SECTION_GENERAL
- )
- )
- add(
- SubmenuSetting(
- R.string.preferences_system,
- 0,
- Settings.SECTION_SYSTEM
- )
- )
- add(
- SubmenuSetting(
- R.string.preferences_graphics,
- 0,
- Settings.SECTION_RENDERER
- )
- )
- add(
- SubmenuSetting(
- R.string.preferences_audio,
- 0,
- Settings.SECTION_AUDIO
- )
- )
- add(
- SubmenuSetting(
- R.string.preferences_debug,
- 0,
- Settings.SECTION_DEBUG
- )
- )
- add(
- RunnableSetting(
- R.string.reset_to_default,
- 0,
- false
- ) {
- ResetSettingsDialogFragment().show(
- settingsActivity.supportFragmentManager,
- ResetSettingsDialogFragment.TAG
- )
+ add(SubmenuSetting(R.string.preferences_general, 0, Settings.MenuTag.SECTION_GENERAL))
+ add(SubmenuSetting(R.string.preferences_system, 0, Settings.MenuTag.SECTION_SYSTEM))
+ add(SubmenuSetting(R.string.preferences_graphics, 0, Settings.MenuTag.SECTION_RENDERER))
+ add(SubmenuSetting(R.string.preferences_audio, 0, Settings.MenuTag.SECTION_AUDIO))
+ add(SubmenuSetting(R.string.preferences_debug, 0, Settings.MenuTag.SECTION_DEBUG))
+ add(
+ RunnableSetting(R.string.reset_to_default, 0, false) {
+ settingsViewModel.setShouldShowResetSettingsDialog(true)
}
)
}
}
private fun addGeneralSettings(sl: ArrayList<SettingsItem>) {
- settingsActivity.setToolbarTitle(settingsActivity.getString(R.string.preferences_general))
sl.apply {
- add(
- SwitchSetting(
- IntSetting.RENDERER_USE_SPEED_LIMIT,
- R.string.frame_limit_enable,
- R.string.frame_limit_enable_description,
- IntSetting.RENDERER_USE_SPEED_LIMIT.key,
- IntSetting.RENDERER_USE_SPEED_LIMIT.defaultValue
- )
- )
- add(
- SliderSetting(
- IntSetting.RENDERER_SPEED_LIMIT,
- R.string.frame_limit_slider,
- R.string.frame_limit_slider_description,
- 1,
- 200,
- "%",
- IntSetting.RENDERER_SPEED_LIMIT.key,
- IntSetting.RENDERER_SPEED_LIMIT.defaultValue
- )
- )
- add(
- SingleChoiceSetting(
- IntSetting.CPU_ACCURACY,
- R.string.cpu_accuracy,
- 0,
- R.array.cpuAccuracyNames,
- R.array.cpuAccuracyValues,
- IntSetting.CPU_ACCURACY.key,
- IntSetting.CPU_ACCURACY.defaultValue
- )
- )
- add(
- SwitchSetting(
- BooleanSetting.PICTURE_IN_PICTURE,
- R.string.picture_in_picture,
- R.string.picture_in_picture_description,
- BooleanSetting.PICTURE_IN_PICTURE.key,
- BooleanSetting.PICTURE_IN_PICTURE.defaultValue
- )
- )
+ add(BooleanSetting.RENDERER_USE_SPEED_LIMIT.key)
+ add(ShortSetting.RENDERER_SPEED_LIMIT.key)
+ add(IntSetting.CPU_ACCURACY.key)
+ add(BooleanSetting.PICTURE_IN_PICTURE.key)
}
}
private fun addSystemSettings(sl: ArrayList<SettingsItem>) {
- settingsActivity.setToolbarTitle(settingsActivity.getString(R.string.preferences_system))
sl.apply {
- add(
- SwitchSetting(
- IntSetting.USE_DOCKED_MODE,
- R.string.use_docked_mode,
- R.string.use_docked_mode_description,
- IntSetting.USE_DOCKED_MODE.key,
- IntSetting.USE_DOCKED_MODE.defaultValue
- )
- )
- add(
- SingleChoiceSetting(
- IntSetting.REGION_INDEX,
- R.string.emulated_region,
- 0,
- R.array.regionNames,
- R.array.regionValues,
- IntSetting.REGION_INDEX.key,
- IntSetting.REGION_INDEX.defaultValue
- )
- )
- add(
- SingleChoiceSetting(
- IntSetting.LANGUAGE_INDEX,
- R.string.emulated_language,
- 0,
- R.array.languageNames,
- R.array.languageValues,
- IntSetting.LANGUAGE_INDEX.key,
- IntSetting.LANGUAGE_INDEX.defaultValue
- )
- )
- add(
- SwitchSetting(
- BooleanSetting.USE_CUSTOM_RTC,
- R.string.use_custom_rtc,
- R.string.use_custom_rtc_description,
- BooleanSetting.USE_CUSTOM_RTC.key,
- BooleanSetting.USE_CUSTOM_RTC.defaultValue
- )
- )
- add(
- DateTimeSetting(
- StringSetting.CUSTOM_RTC,
- R.string.set_custom_rtc,
- 0,
- StringSetting.CUSTOM_RTC.key,
- StringSetting.CUSTOM_RTC.defaultValue
- )
- )
+ add(BooleanSetting.USE_DOCKED_MODE.key)
+ add(IntSetting.REGION_INDEX.key)
+ add(IntSetting.LANGUAGE_INDEX.key)
+ add(BooleanSetting.USE_CUSTOM_RTC.key)
+ add(LongSetting.CUSTOM_RTC.key)
}
}
private fun addGraphicsSettings(sl: ArrayList<SettingsItem>) {
- settingsActivity.setToolbarTitle(settingsActivity.getString(R.string.preferences_graphics))
sl.apply {
- add(
- SingleChoiceSetting(
- IntSetting.RENDERER_ACCURACY,
- R.string.renderer_accuracy,
- 0,
- R.array.rendererAccuracyNames,
- R.array.rendererAccuracyValues,
- IntSetting.RENDERER_ACCURACY.key,
- IntSetting.RENDERER_ACCURACY.defaultValue
- )
- )
- add(
- SingleChoiceSetting(
- IntSetting.RENDERER_RESOLUTION,
- R.string.renderer_resolution,
- 0,
- R.array.rendererResolutionNames,
- R.array.rendererResolutionValues,
- IntSetting.RENDERER_RESOLUTION.key,
- IntSetting.RENDERER_RESOLUTION.defaultValue
- )
- )
- add(
- SingleChoiceSetting(
- IntSetting.RENDERER_VSYNC,
- R.string.renderer_vsync,
- 0,
- R.array.rendererVSyncNames,
- R.array.rendererVSyncValues,
- IntSetting.RENDERER_VSYNC.key,
- IntSetting.RENDERER_VSYNC.defaultValue
- )
- )
- add(
- SingleChoiceSetting(
- IntSetting.RENDERER_SCALING_FILTER,
- R.string.renderer_scaling_filter,
- 0,
- R.array.rendererScalingFilterNames,
- R.array.rendererScalingFilterValues,
- IntSetting.RENDERER_SCALING_FILTER.key,
- IntSetting.RENDERER_SCALING_FILTER.defaultValue
- )
- )
- add(
- SingleChoiceSetting(
- IntSetting.RENDERER_ANTI_ALIASING,
- R.string.renderer_anti_aliasing,
- 0,
- R.array.rendererAntiAliasingNames,
- R.array.rendererAntiAliasingValues,
- IntSetting.RENDERER_ANTI_ALIASING.key,
- IntSetting.RENDERER_ANTI_ALIASING.defaultValue
- )
- )
- add(
- SingleChoiceSetting(
- IntSetting.RENDERER_SCREEN_LAYOUT,
- R.string.renderer_screen_layout,
- 0,
- R.array.rendererScreenLayoutNames,
- R.array.rendererScreenLayoutValues,
- IntSetting.RENDERER_SCREEN_LAYOUT.key,
- IntSetting.RENDERER_SCREEN_LAYOUT.defaultValue
- )
- )
- add(
- SingleChoiceSetting(
- IntSetting.RENDERER_ASPECT_RATIO,
- R.string.renderer_aspect_ratio,
- 0,
- R.array.rendererAspectRatioNames,
- R.array.rendererAspectRatioValues,
- IntSetting.RENDERER_ASPECT_RATIO.key,
- IntSetting.RENDERER_ASPECT_RATIO.defaultValue
- )
- )
- add(
- SwitchSetting(
- IntSetting.RENDERER_USE_DISK_SHADER_CACHE,
- R.string.use_disk_shader_cache,
- R.string.use_disk_shader_cache_description,
- IntSetting.RENDERER_USE_DISK_SHADER_CACHE.key,
- IntSetting.RENDERER_USE_DISK_SHADER_CACHE.defaultValue
- )
- )
- add(
- SwitchSetting(
- IntSetting.RENDERER_FORCE_MAX_CLOCK,
- R.string.renderer_force_max_clock,
- R.string.renderer_force_max_clock_description,
- IntSetting.RENDERER_FORCE_MAX_CLOCK.key,
- IntSetting.RENDERER_FORCE_MAX_CLOCK.defaultValue
- )
- )
- add(
- SwitchSetting(
- IntSetting.RENDERER_ASYNCHRONOUS_SHADERS,
- R.string.renderer_asynchronous_shaders,
- R.string.renderer_asynchronous_shaders_description,
- IntSetting.RENDERER_ASYNCHRONOUS_SHADERS.key,
- IntSetting.RENDERER_ASYNCHRONOUS_SHADERS.defaultValue
- )
- )
- add(
- SwitchSetting(
- IntSetting.RENDERER_REACTIVE_FLUSHING,
- R.string.renderer_reactive_flushing,
- R.string.renderer_reactive_flushing_description,
- IntSetting.RENDERER_REACTIVE_FLUSHING.key,
- IntSetting.RENDERER_REACTIVE_FLUSHING.defaultValue
- )
- )
+ add(IntSetting.RENDERER_ACCURACY.key)
+ add(IntSetting.RENDERER_RESOLUTION.key)
+ add(IntSetting.RENDERER_VSYNC.key)
+ add(IntSetting.RENDERER_SCALING_FILTER.key)
+ add(IntSetting.RENDERER_ANTI_ALIASING.key)
+ add(IntSetting.RENDERER_SCREEN_LAYOUT.key)
+ add(IntSetting.RENDERER_ASPECT_RATIO.key)
+ add(BooleanSetting.RENDERER_USE_DISK_SHADER_CACHE.key)
+ add(BooleanSetting.RENDERER_FORCE_MAX_CLOCK.key)
+ add(BooleanSetting.RENDERER_ASYNCHRONOUS_SHADERS.key)
+ add(BooleanSetting.RENDERER_REACTIVE_FLUSHING.key)
}
}
private fun addAudioSettings(sl: ArrayList<SettingsItem>) {
- settingsActivity.setToolbarTitle(settingsActivity.getString(R.string.preferences_audio))
sl.apply {
- add(
- StringSingleChoiceSetting(
- StringSetting.AUDIO_OUTPUT_ENGINE,
- R.string.audio_output_engine,
- 0,
- settingsActivity.resources.getStringArray(R.array.outputEngineEntries),
- settingsActivity.resources.getStringArray(R.array.outputEngineValues),
- StringSetting.AUDIO_OUTPUT_ENGINE.key,
- StringSetting.AUDIO_OUTPUT_ENGINE.defaultValue
- )
- )
- add(
- SliderSetting(
- IntSetting.AUDIO_VOLUME,
- R.string.audio_volume,
- R.string.audio_volume_description,
- 0,
- 100,
- "%",
- IntSetting.AUDIO_VOLUME.key,
- IntSetting.AUDIO_VOLUME.defaultValue
- )
- )
+ add(IntSetting.AUDIO_OUTPUT_ENGINE.key)
+ add(ByteSetting.AUDIO_VOLUME.key)
}
}
private fun addThemeSettings(sl: ArrayList<SettingsItem>) {
- settingsActivity.setToolbarTitle(settingsActivity.getString(R.string.preferences_theme))
sl.apply {
val theme: AbstractIntSetting = object : AbstractIntSetting {
- override var int: Int
+ override val int: Int
get() = preferences.getInt(Settings.PREF_THEME, 0)
- set(value) {
- preferences.edit()
- .putInt(Settings.PREF_THEME, value)
- .apply()
- settingsActivity.recreate()
- }
- override val key: String? = null
- override val section: String? = null
- override val isRuntimeEditable: Boolean = false
- override val valueAsString: String
- get() = preferences.getInt(Settings.PREF_THEME, 0).toString()
- override val defaultValue: Any = 0
+
+ override fun setInt(value: Int) {
+ preferences.edit()
+ .putInt(Settings.PREF_THEME, value)
+ .apply()
+ settingsViewModel.setShouldRecreate(true)
+ }
+
+ override val key: String = Settings.PREF_THEME
+ override val category = Settings.Category.UiGeneral
+ override val isRuntimeModifiable: Boolean = false
+ override val defaultValue: Int = 0
+ override fun reset() {
+ preferences.edit()
+ .putInt(Settings.PREF_THEME, defaultValue)
+ .apply()
+ }
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
@@ -423,20 +177,26 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
}
val themeMode: AbstractIntSetting = object : AbstractIntSetting {
- override var int: Int
+ override val int: Int
get() = preferences.getInt(Settings.PREF_THEME_MODE, -1)
- set(value) {
- preferences.edit()
- .putInt(Settings.PREF_THEME_MODE, value)
- .apply()
- ThemeHelper.setThemeMode(settingsActivity)
- }
- override val key: String? = null
- override val section: String? = null
- override val isRuntimeEditable: Boolean = false
- override val valueAsString: String
- get() = preferences.getInt(Settings.PREF_THEME_MODE, -1).toString()
- override val defaultValue: Any = -1
+
+ override fun setInt(value: Int) {
+ preferences.edit()
+ .putInt(Settings.PREF_THEME_MODE, value)
+ .apply()
+ settingsViewModel.setShouldRecreate(true)
+ }
+
+ override val key: String = Settings.PREF_THEME_MODE
+ override val category = Settings.Category.UiGeneral
+ override val isRuntimeModifiable: Boolean = false
+ override val defaultValue: Int = -1
+ override fun reset() {
+ preferences.edit()
+ .putInt(Settings.PREF_BLACK_BACKGROUNDS, defaultValue)
+ .apply()
+ settingsViewModel.setShouldRecreate(true)
+ }
}
add(
@@ -450,21 +210,26 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
)
val blackBackgrounds: AbstractBooleanSetting = object : AbstractBooleanSetting {
- override var boolean: Boolean
- get() = preferences.getBoolean(Settings.PREF_BLACK_BACKGROUNDS, false)
- set(value) {
- preferences.edit()
- .putBoolean(Settings.PREF_BLACK_BACKGROUNDS, value)
- .apply()
- settingsActivity.recreate()
- }
- override val key: String? = null
- override val section: String? = null
- override val isRuntimeEditable: Boolean = false
- override val valueAsString: String
+ override val boolean: Boolean
get() = preferences.getBoolean(Settings.PREF_BLACK_BACKGROUNDS, false)
- .toString()
- override val defaultValue: Any = false
+
+ override fun setBoolean(value: Boolean) {
+ preferences.edit()
+ .putBoolean(Settings.PREF_BLACK_BACKGROUNDS, value)
+ .apply()
+ settingsViewModel.setShouldRecreate(true)
+ }
+
+ override val key: String = Settings.PREF_BLACK_BACKGROUNDS
+ override val category = Settings.Category.UiGeneral
+ override val isRuntimeModifiable: Boolean = false
+ override val defaultValue: Boolean = false
+ override fun reset() {
+ preferences.edit()
+ .putBoolean(Settings.PREF_BLACK_BACKGROUNDS, defaultValue)
+ .apply()
+ settingsViewModel.setShouldRecreate(true)
+ }
}
add(
@@ -478,62 +243,14 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
}
private fun addDebugSettings(sl: ArrayList<SettingsItem>) {
- settingsActivity.setToolbarTitle(settingsActivity.getString(R.string.preferences_debug))
sl.apply {
add(HeaderSetting(R.string.gpu))
- add(
- SingleChoiceSetting(
- IntSetting.RENDERER_BACKEND,
- R.string.renderer_api,
- 0,
- R.array.rendererApiNames,
- R.array.rendererApiValues,
- IntSetting.RENDERER_BACKEND.key,
- IntSetting.RENDERER_BACKEND.defaultValue
- )
- )
- add(
- SwitchSetting(
- IntSetting.RENDERER_DEBUG,
- R.string.renderer_debug,
- R.string.renderer_debug_description,
- IntSetting.RENDERER_DEBUG.key,
- IntSetting.RENDERER_DEBUG.defaultValue
- )
- )
+ add(IntSetting.RENDERER_BACKEND.key)
+ add(BooleanSetting.RENDERER_DEBUG.key)
add(HeaderSetting(R.string.cpu))
- add(
- SwitchSetting(
- BooleanSetting.CPU_DEBUG_MODE,
- R.string.cpu_debug_mode,
- R.string.cpu_debug_mode_description,
- BooleanSetting.CPU_DEBUG_MODE.key,
- BooleanSetting.CPU_DEBUG_MODE.defaultValue
- )
- )
-
- val fastmem = object : AbstractBooleanSetting {
- override var boolean: Boolean
- get() =
- BooleanSetting.FASTMEM.boolean && BooleanSetting.FASTMEM_EXCLUSIVES.boolean
- set(value) {
- BooleanSetting.FASTMEM.boolean = value
- BooleanSetting.FASTMEM_EXCLUSIVES.boolean = value
- }
- override val key: String? = null
- override val section: String = Settings.SECTION_CPU
- override val isRuntimeEditable: Boolean = false
- override val valueAsString: String = ""
- override val defaultValue: Any = true
- }
- add(
- SwitchSetting(
- fastmem,
- R.string.fastmem,
- 0
- )
- )
+ add(BooleanSetting.CPU_DEBUG_MODE.key)
+ add(SettingsItem.FASTMEM_COMBINED)
}
}
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentView.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentView.kt
deleted file mode 100644
index 1ebe35eaa..000000000
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/SettingsFragmentView.kt
+++ /dev/null
@@ -1,58 +0,0 @@
-// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-package org.yuzu.yuzu_emu.features.settings.ui
-
-import org.yuzu.yuzu_emu.features.settings.model.AbstractSetting
-import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem
-
-/**
- * Abstraction for a screen showing a list of settings. Instances of
- * this type of view will each display a layer of the setting hierarchy.
- */
-interface SettingsFragmentView {
- /**
- * Pass an ArrayList to the View so that it can be displayed on screen.
- *
- * @param settingsList The result of converting the HashMap to an ArrayList
- */
- fun showSettingsList(settingsList: ArrayList<SettingsItem>)
-
- /**
- * Instructs the Fragment to load the settings screen.
- */
- fun loadSettingsList()
-
- /**
- * @return The Fragment's containing activity.
- */
- val activityView: SettingsActivityView?
-
- /**
- * Tell the Fragment to tell the containing Activity to show a new
- * Fragment containing a submenu of settings.
- *
- * @param menuKey Identifier for the settings group that should be shown.
- */
- fun loadSubMenu(menuKey: String)
-
- /**
- * Tell the Fragment to tell the containing activity to display a toast message.
- *
- * @param message Text to be shown in the Toast
- * @param is_long Whether this should be a long Toast or short one.
- */
- fun showToastMessage(message: String?, is_long: Boolean)
-
- /**
- * Have the fragment add a setting to the HashMap.
- *
- * @param setting The (possibly previously missing) new setting.
- */
- fun putSetting(setting: AbstractSetting)
-
- /**
- * Have the fragment tell the containing Activity that a setting was modified.
- */
- fun onSettingChanged()
-}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/DateTimeViewHolder.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/DateTimeViewHolder.kt
index 7955532ee..525f013f8 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/DateTimeViewHolder.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/DateTimeViewHolder.kt
@@ -25,12 +25,17 @@ class DateTimeViewHolder(val binding: ListItemSettingBinding, adapter: SettingsA
binding.textSettingDescription.setText(item.descriptionId)
binding.textSettingDescription.visibility = View.VISIBLE
} else {
- val epochTime = setting.value.toLong()
- val instant = Instant.ofEpochMilli(epochTime * 1000)
- val zonedTime = ZonedDateTime.ofInstant(instant, ZoneId.of("UTC"))
- val dateFormatter = DateTimeFormatter.ofLocalizedDateTime(FormatStyle.MEDIUM)
- binding.textSettingDescription.text = dateFormatter.format(zonedTime)
+ binding.textSettingDescription.visibility = View.GONE
}
+
+ binding.textSettingValue.visibility = View.VISIBLE
+ val epochTime = setting.value
+ val instant = Instant.ofEpochMilli(epochTime * 1000)
+ val zonedTime = ZonedDateTime.ofInstant(instant, ZoneId.of("UTC"))
+ val dateFormatter = DateTimeFormatter.ofLocalizedDateTime(FormatStyle.MEDIUM)
+ binding.textSettingValue.text = dateFormatter.format(zonedTime)
+
+ setStyle(setting.isEditable, binding)
}
override fun onClick(clicked: View) {
@@ -41,7 +46,7 @@ class DateTimeViewHolder(val binding: ListItemSettingBinding, adapter: SettingsA
override fun onLongClick(clicked: View): Boolean {
if (setting.isEditable) {
- return adapter.onLongClick(setting.setting!!, bindingAdapterPosition)
+ return adapter.onLongClick(setting, bindingAdapterPosition)
}
return false
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/RunnableViewHolder.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/RunnableViewHolder.kt
index 5dad5945f..83a2e94f1 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/RunnableViewHolder.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/RunnableViewHolder.kt
@@ -23,6 +23,9 @@ class RunnableViewHolder(val binding: ListItemSettingBinding, adapter: SettingsA
} else {
binding.textSettingDescription.visibility = View.GONE
}
+ binding.textSettingValue.visibility = View.GONE
+
+ setStyle(setting.isEditable, binding)
}
override fun onClick(clicked: View) {
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SettingViewHolder.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SettingViewHolder.kt
index f56460893..0fd1d2eaa 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SettingViewHolder.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SettingViewHolder.kt
@@ -5,6 +5,8 @@ package org.yuzu.yuzu_emu.features.settings.ui.viewholder
import android.view.View
import androidx.recyclerview.widget.RecyclerView
+import org.yuzu.yuzu_emu.databinding.ListItemSettingBinding
+import org.yuzu.yuzu_emu.databinding.ListItemSettingSwitchBinding
import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem
import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter
@@ -33,4 +35,18 @@ abstract class SettingViewHolder(itemView: View, protected val adapter: Settings
abstract override fun onClick(clicked: View)
abstract override fun onLongClick(clicked: View): Boolean
+
+ fun setStyle(isEditable: Boolean, binding: ListItemSettingBinding) {
+ val opacity = if (isEditable) 1.0f else 0.5f
+ binding.textSettingName.alpha = opacity
+ binding.textSettingDescription.alpha = opacity
+ binding.textSettingValue.alpha = opacity
+ }
+
+ fun setStyle(isEditable: Boolean, binding: ListItemSettingSwitchBinding) {
+ binding.switchWidget.isEnabled = isEditable
+ val opacity = if (isEditable) 1.0f else 0.5f
+ binding.textSettingName.alpha = opacity
+ binding.textSettingDescription.alpha = opacity
+ }
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.kt
index e4e321bd3..80d1b22c1 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SingleChoiceViewHolder.kt
@@ -17,28 +17,33 @@ class SingleChoiceViewHolder(val binding: ListItemSettingBinding, adapter: Setti
override fun bind(item: SettingsItem) {
setting = item
binding.textSettingName.setText(item.nameId)
- binding.textSettingDescription.visibility = View.VISIBLE
if (item.descriptionId != 0) {
binding.textSettingDescription.setText(item.descriptionId)
- } else if (item is SingleChoiceSetting) {
- val resMgr = binding.textSettingDescription.context.resources
+ binding.textSettingDescription.visibility = View.VISIBLE
+ } else {
+ binding.textSettingDescription.visibility = View.GONE
+ }
+
+ binding.textSettingValue.visibility = View.VISIBLE
+ if (item is SingleChoiceSetting) {
+ val resMgr = binding.textSettingValue.context.resources
val values = resMgr.getIntArray(item.valuesId)
for (i in values.indices) {
if (values[i] == item.selectedValue) {
- binding.textSettingDescription.text = resMgr.getStringArray(item.choicesId)[i]
- return
+ binding.textSettingValue.text = resMgr.getStringArray(item.choicesId)[i]
+ break
}
}
} else if (item is StringSingleChoiceSetting) {
- for (i in item.values!!.indices) {
+ for (i in item.values.indices) {
if (item.values[i] == item.selectedValue) {
- binding.textSettingDescription.text = item.choices[i]
- return
+ binding.textSettingValue.text = item.choices[i]
+ break
}
}
- } else {
- binding.textSettingDescription.visibility = View.GONE
}
+
+ setStyle(setting.isEditable, binding)
}
override fun onClick(clicked: View) {
@@ -61,7 +66,7 @@ class SingleChoiceViewHolder(val binding: ListItemSettingBinding, adapter: Setti
override fun onLongClick(clicked: View): Boolean {
if (setting.isEditable) {
- return adapter.onLongClick(setting.setting!!, bindingAdapterPosition)
+ return adapter.onLongClick(setting, bindingAdapterPosition)
}
return false
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SliderViewHolder.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SliderViewHolder.kt
index cc3f39aa5..b83c90100 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SliderViewHolder.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SliderViewHolder.kt
@@ -4,6 +4,7 @@
package org.yuzu.yuzu_emu.features.settings.ui.viewholder
import android.view.View
+import org.yuzu.yuzu_emu.R
import org.yuzu.yuzu_emu.databinding.ListItemSettingBinding
import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem
import org.yuzu.yuzu_emu.features.settings.model.view.SliderSetting
@@ -22,6 +23,14 @@ class SliderViewHolder(val binding: ListItemSettingBinding, adapter: SettingsAda
} else {
binding.textSettingDescription.visibility = View.GONE
}
+ binding.textSettingValue.visibility = View.VISIBLE
+ binding.textSettingValue.text = String.format(
+ binding.textSettingValue.context.getString(R.string.value_with_units),
+ setting.selectedValue,
+ setting.units
+ )
+
+ setStyle(setting.isEditable, binding)
}
override fun onClick(clicked: View) {
@@ -32,7 +41,7 @@ class SliderViewHolder(val binding: ListItemSettingBinding, adapter: SettingsAda
override fun onLongClick(clicked: View): Boolean {
if (setting.isEditable) {
- return adapter.onLongClick(setting.setting!!, bindingAdapterPosition)
+ return adapter.onLongClick(setting, bindingAdapterPosition)
}
return false
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SubmenuViewHolder.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SubmenuViewHolder.kt
index c545b4174..1cf581a9d 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SubmenuViewHolder.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SubmenuViewHolder.kt
@@ -22,6 +22,7 @@ class SubmenuViewHolder(val binding: ListItemSettingBinding, adapter: SettingsAd
} else {
binding.textSettingDescription.visibility = View.GONE
}
+ binding.textSettingValue.visibility = View.GONE
}
override fun onClick(clicked: View) {
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt
index 54f531795..57fdeaa20 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/ui/viewholder/SwitchSettingViewHolder.kt
@@ -25,12 +25,14 @@ class SwitchSettingViewHolder(val binding: ListItemSettingSwitchBinding, adapter
binding.textSettingDescription.text = ""
binding.textSettingDescription.visibility = View.GONE
}
- binding.switchWidget.isChecked = setting.isChecked
+
+ binding.switchWidget.setOnCheckedChangeListener(null)
+ binding.switchWidget.isChecked = setting.checked
binding.switchWidget.setOnCheckedChangeListener { _: CompoundButton, _: Boolean ->
- adapter.onBooleanClick(item, bindingAdapterPosition, binding.switchWidget.isChecked)
+ adapter.onBooleanClick(item, binding.switchWidget.isChecked)
}
- binding.switchWidget.isEnabled = setting.isEditable
+ setStyle(setting.isEditable, binding)
}
override fun onClick(clicked: View) {
@@ -41,7 +43,7 @@ class SwitchSettingViewHolder(val binding: ListItemSettingSwitchBinding, adapter
override fun onLongClick(clicked: View): Boolean {
if (setting.isEditable) {
- return adapter.onLongClick(setting.setting!!, bindingAdapterPosition)
+ return adapter.onLongClick(setting, bindingAdapterPosition)
}
return false
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/utils/SettingsFile.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/utils/SettingsFile.kt
index 70a52df5d..2b04d666a 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/utils/SettingsFile.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/features/settings/utils/SettingsFile.kt
@@ -3,18 +3,15 @@
package org.yuzu.yuzu_emu.features.settings.utils
+import android.widget.Toast
import java.io.*
-import java.util.*
import org.ini4j.Wini
-import org.yuzu.yuzu_emu.NativeLibrary
import org.yuzu.yuzu_emu.R
import org.yuzu.yuzu_emu.YuzuApplication
import org.yuzu.yuzu_emu.features.settings.model.*
-import org.yuzu.yuzu_emu.features.settings.model.Settings.SettingsSectionMap
-import org.yuzu.yuzu_emu.features.settings.ui.SettingsActivityView
-import org.yuzu.yuzu_emu.utils.BiMap
import org.yuzu.yuzu_emu.utils.DirectoryInitialization
import org.yuzu.yuzu_emu.utils.Log
+import org.yuzu.yuzu_emu.utils.NativeConfig
/**
* Contains static methods for interacting with .ini files in which settings are stored.
@@ -22,243 +19,41 @@ import org.yuzu.yuzu_emu.utils.Log
object SettingsFile {
const val FILE_NAME_CONFIG = "config"
- private var sectionsMap = BiMap<String?, String?>()
-
- /**
- * Reads a given .ini file from disk and returns it as a HashMap of Settings, themselves
- * effectively a HashMap of key/value settings. If unsuccessful, outputs an error telling why it
- * failed.
- *
- * @param ini The ini file to load the settings from
- * @param isCustomGame
- * @param view The current view.
- * @return An Observable that emits a HashMap of the file's contents, then completes.
- */
- private fun readFile(
- ini: File?,
- isCustomGame: Boolean,
- view: SettingsActivityView? = null
- ): HashMap<String, SettingSection?> {
- val sections: HashMap<String, SettingSection?> = SettingsSectionMap()
- var reader: BufferedReader? = null
- try {
- reader = BufferedReader(FileReader(ini))
- var current: SettingSection? = null
- var line: String?
- while (reader.readLine().also { line = it } != null) {
- if (line!!.startsWith("[") && line!!.endsWith("]")) {
- current = sectionFromLine(line!!, isCustomGame)
- sections[current.name] = current
- } else if (current != null) {
- val setting = settingFromLine(line!!)
- if (setting != null) {
- current.putSetting(setting)
- }
- }
- }
- } catch (e: FileNotFoundException) {
- Log.error("[SettingsFile] File not found: " + e.message)
- view?.onSettingsFileNotFound()
- } catch (e: IOException) {
- Log.error("[SettingsFile] Error reading from: " + e.message)
- view?.onSettingsFileNotFound()
- } finally {
- if (reader != null) {
- try {
- reader.close()
- } catch (e: IOException) {
- Log.error("[SettingsFile] Error closing: " + e.message)
- }
- }
- }
- return sections
- }
-
- fun readFile(fileName: String, view: SettingsActivityView?): HashMap<String, SettingSection?> {
- return readFile(getSettingsFile(fileName), false, view)
- }
-
- fun readFile(fileName: String): HashMap<String, SettingSection?> =
- readFile(getSettingsFile(fileName), false)
-
- /**
- * Reads a given .ini file from disk and returns it as a HashMap of SettingSections, themselves
- * effectively a HashMap of key/value settings. If unsuccessful, outputs an error telling why it
- * failed.
- *
- * @param gameId the id of the game to load it's settings.
- * @param view The current view.
- */
- fun readCustomGameSettings(
- gameId: String,
- view: SettingsActivityView?
- ): HashMap<String, SettingSection?> {
- return readFile(getCustomGameSettingsFile(gameId), true, view)
- }
-
/**
* Saves a Settings HashMap to a given .ini file on disk. If unsuccessful, outputs an error
* telling why it failed.
*
* @param fileName The target filename without a path or extension.
- * @param sections The HashMap containing the Settings we want to serialize.
- * @param view The current view.
*/
- fun saveFile(
- fileName: String,
- sections: TreeMap<String, SettingSection>,
- view: SettingsActivityView
- ) {
+ fun saveFile(fileName: String) {
val ini = getSettingsFile(fileName)
try {
- val writer = Wini(ini)
- val keySet: Set<String> = sections.keys
- for (key in keySet) {
- val section = sections[key]
- writeSection(writer, section!!)
+ val wini = Wini(ini)
+ for (specificCategory in Settings.Category.values()) {
+ val categoryHeader = NativeConfig.getConfigHeader(specificCategory.ordinal)
+ for (setting in Settings.settingsList) {
+ if (setting.key!!.isEmpty()) continue
+
+ val settingCategoryHeader =
+ NativeConfig.getConfigHeader(setting.category.ordinal)
+ val iniSetting: String? = wini.get(categoryHeader, setting.key)
+ if (iniSetting != null || settingCategoryHeader == categoryHeader) {
+ wini.put(settingCategoryHeader, setting.key, setting.valueAsString)
+ }
+ }
}
- writer.store()
+ wini.store()
} catch (e: IOException) {
Log.error("[SettingsFile] File not found: " + fileName + ".ini: " + e.message)
- view.showToastMessage(
- YuzuApplication.appContext
- .getString(R.string.error_saving, fileName, e.message),
- false
- )
- }
- }
-
- fun saveCustomGameSettings(gameId: String?, sections: HashMap<String, SettingSection?>) {
- val sortedSections: Set<String> = TreeSet(sections.keys)
- for (sectionKey in sortedSections) {
- val section = sections[sectionKey]
- val settings = section!!.settings
- val sortedKeySet: Set<String> = TreeSet(settings.keys)
- for (settingKey in sortedKeySet) {
- val setting = settings[settingKey]
- NativeLibrary.setUserSetting(
- gameId,
- mapSectionNameFromIni(
- section.name
- ),
- setting!!.key,
- setting.valueAsString
- )
- }
- }
- }
-
- private fun mapSectionNameFromIni(generalSectionName: String): String? {
- return if (sectionsMap.getForward(generalSectionName) != null) {
- sectionsMap.getForward(generalSectionName)
- } else {
- generalSectionName
- }
- }
-
- private fun mapSectionNameToIni(generalSectionName: String): String {
- return if (sectionsMap.getBackward(generalSectionName) != null) {
- sectionsMap.getBackward(generalSectionName).toString()
- } else {
- generalSectionName
- }
- }
-
- fun getSettingsFile(fileName: String): File {
- return File(
- DirectoryInitialization.userDirectory + "/config/" + fileName + ".ini"
- )
- }
-
- private fun getCustomGameSettingsFile(gameId: String): File {
- return File(DirectoryInitialization.userDirectory + "/GameSettings/" + gameId + ".ini")
- }
-
- private fun sectionFromLine(line: String, isCustomGame: Boolean): SettingSection {
- var sectionName: String = line.substring(1, line.length - 1)
- if (isCustomGame) {
- sectionName = mapSectionNameToIni(sectionName)
+ val context = YuzuApplication.appContext
+ Toast.makeText(
+ context,
+ context.getString(R.string.error_saving, fileName, e.message),
+ Toast.LENGTH_SHORT
+ ).show()
}
- return SettingSection(sectionName)
}
- /**
- * For a line of text, determines what type of data is being represented, and returns
- * a Setting object containing this data.
- *
- * @param line The line of text being parsed.
- * @return A typed Setting containing the key/value contained in the line.
- */
- private fun settingFromLine(line: String): AbstractSetting? {
- val splitLine = line.split("=".toRegex()).dropLastWhile { it.isEmpty() }.toTypedArray()
- if (splitLine.size != 2) {
- return null
- }
- val key = splitLine[0].trim { it <= ' ' }
- val value = splitLine[1].trim { it <= ' ' }
- if (value.isEmpty()) {
- return null
- }
-
- val booleanSetting = BooleanSetting.from(key)
- if (booleanSetting != null) {
- booleanSetting.boolean = value.toBoolean()
- return booleanSetting
- }
-
- val intSetting = IntSetting.from(key)
- if (intSetting != null) {
- intSetting.int = value.toInt()
- return intSetting
- }
-
- val floatSetting = FloatSetting.from(key)
- if (floatSetting != null) {
- floatSetting.float = value.toFloat()
- return floatSetting
- }
-
- val stringSetting = StringSetting.from(key)
- if (stringSetting != null) {
- stringSetting.string = value
- return stringSetting
- }
-
- return null
- }
-
- /**
- * Writes the contents of a Section HashMap to disk.
- *
- * @param parser A Wini pointed at a file on disk.
- * @param section A section containing settings to be written to the file.
- */
- private fun writeSection(parser: Wini, section: SettingSection) {
- // Write the section header.
- val header = section.name
-
- // Write this section's values.
- val settings = section.settings
- val keySet: Set<String> = settings.keys
- for (key in keySet) {
- val setting = settings[key]
- parser.put(header, setting!!.key, setting.valueAsString)
- }
-
- BooleanSetting.values().forEach {
- if (!keySet.contains(it.key)) {
- parser.put(header, it.key, it.valueAsString)
- }
- }
- IntSetting.values().forEach {
- if (!keySet.contains(it.key)) {
- parser.put(header, it.key, it.valueAsString)
- }
- }
- StringSetting.values().forEach {
- if (!keySet.contains(it.key)) {
- parser.put(header, it.key, it.valueAsString)
- }
- }
- }
+ fun getSettingsFile(fileName: String): File =
+ File(DirectoryInitialization.userDirectory + "/config/" + fileName + ".ini")
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt
index 0e7c1ba88..e6ad2aa77 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt
@@ -7,30 +7,30 @@ import android.annotation.SuppressLint
import android.app.AlertDialog
import android.content.Context
import android.content.DialogInterface
-import android.content.Intent
import android.content.SharedPreferences
import android.content.pm.ActivityInfo
import android.content.res.Configuration
import android.graphics.Color
+import android.net.Uri
import android.os.Bundle
import android.os.Handler
import android.os.Looper
-import android.util.Rational
import android.view.*
import android.widget.TextView
+import android.widget.Toast
import androidx.activity.OnBackPressedCallback
-import androidx.activity.result.ActivityResultLauncher
-import androidx.activity.result.contract.ActivityResultContracts
import androidx.appcompat.widget.PopupMenu
import androidx.core.content.res.ResourcesCompat
import androidx.core.graphics.Insets
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
-import androidx.core.view.isVisible
+import androidx.drawerlayout.widget.DrawerLayout
import androidx.fragment.app.Fragment
+import androidx.fragment.app.activityViewModels
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.lifecycleScope
import androidx.lifecycle.repeatOnLifecycle
+import androidx.navigation.findNavController
import androidx.navigation.fragment.navArgs
import androidx.preference.PreferenceManager
import androidx.window.layout.FoldingFeature
@@ -39,7 +39,9 @@ import androidx.window.layout.WindowLayoutInfo
import com.google.android.material.dialog.MaterialAlertDialogBuilder
import com.google.android.material.slider.Slider
import kotlinx.coroutines.Dispatchers
+import kotlinx.coroutines.flow.collectLatest
import kotlinx.coroutines.launch
+import org.yuzu.yuzu_emu.HomeNavigationDirections
import org.yuzu.yuzu_emu.NativeLibrary
import org.yuzu.yuzu_emu.R
import org.yuzu.yuzu_emu.YuzuApplication
@@ -48,10 +50,11 @@ import org.yuzu.yuzu_emu.databinding.DialogOverlayAdjustBinding
import org.yuzu.yuzu_emu.databinding.FragmentEmulationBinding
import org.yuzu.yuzu_emu.features.settings.model.IntSetting
import org.yuzu.yuzu_emu.features.settings.model.Settings
-import org.yuzu.yuzu_emu.features.settings.ui.SettingsActivity
-import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile
+import org.yuzu.yuzu_emu.model.Game
+import org.yuzu.yuzu_emu.model.EmulationViewModel
import org.yuzu.yuzu_emu.overlay.InputOverlay
import org.yuzu.yuzu_emu.utils.*
+import java.lang.NullPointerException
class EmulationFragment : Fragment(), SurfaceHolder.Callback {
private lateinit var preferences: SharedPreferences
@@ -62,11 +65,13 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
private var _binding: FragmentEmulationBinding? = null
private val binding get() = _binding!!
- val args by navArgs<EmulationFragmentArgs>()
+ private val args by navArgs<EmulationFragmentArgs>()
- private var isInFoldableLayout = false
+ private lateinit var game: Game
+
+ private val emulationViewModel: EmulationViewModel by activityViewModels()
- private lateinit var onReturnFromSettings: ActivityResultLauncher<Intent>
+ private var isInFoldableLayout = false
override fun onAttach(context: Context) {
super.onAttach(context)
@@ -81,11 +86,6 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
.collect { updateFoldableLayout(context, it) }
}
}
-
- onReturnFromSettings = context.activityResultRegistry.register(
- "SettingsResult",
- ActivityResultContracts.StartActivityForResult()
- ) { updateScreenLayout() }
} else {
throw IllegalStateException("EmulationFragment must have EmulationActivity parent")
}
@@ -97,10 +97,36 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
+ val intentUri: Uri? = requireActivity().intent.data
+ var intentGame: Game? = null
+ if (intentUri != null) {
+ intentGame = if (Game.extensions.contains(FileUtil.getExtension(intentUri))) {
+ GameHelper.getGame(requireActivity().intent.data!!, false)
+ } else {
+ null
+ }
+ }
+
+ try {
+ game = if (args.game != null) {
+ args.game!!
+ } else {
+ intentGame!!
+ }
+ } catch (e: NullPointerException) {
+ Toast.makeText(
+ requireContext(),
+ R.string.no_game_present,
+ Toast.LENGTH_SHORT
+ ).show()
+ requireActivity().finish()
+ return
+ }
+
// So this fragment doesn't restart on configuration changes; i.e. rotation.
retainInstance = true
preferences = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext)
- emulationState = EmulationState(args.game.path)
+ emulationState = EmulationState(game.path)
}
/**
@@ -115,16 +141,21 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
return binding.root
}
+ // This is using the correct scope, lint is just acting up
+ @SuppressLint("UnsafeRepeatOnLifecycleDetector")
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
+ super.onViewCreated(view, savedInstanceState)
+ if (requireActivity().isFinishing) {
+ return
+ }
+
binding.surfaceEmulation.holder.addCallback(this)
binding.showFpsText.setTextColor(Color.YELLOW)
binding.doneControlConfig.setOnClickListener { stopConfiguringControls() }
- // Setup overlay.
- updateShowFpsOverlay()
-
+ binding.drawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED)
binding.inGameMenu.getHeaderView(0).findViewById<TextView>(R.id.text_game_title).text =
- args.game.title
+ game.title
binding.inGameMenu.setNavigationItemSelectedListener {
when (it.itemId) {
R.id.menu_pause_emulation -> {
@@ -149,12 +180,11 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
}
R.id.menu_settings -> {
- SettingsActivity.launch(
- requireContext(),
- onReturnFromSettings,
- SettingsFile.FILE_NAME_CONFIG,
- ""
+ val action = HomeNavigationDirections.actionGlobalSettingsActivity(
+ null,
+ Settings.MenuTag.SECTION_ROOT
)
+ binding.root.findNavController().navigate(action)
true
}
@@ -165,7 +195,9 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
R.id.menu_exit -> {
emulationState.stop()
- requireActivity().finish()
+ emulationViewModel.setIsEmulationStopping(true)
+ binding.drawerLayout.close()
+ binding.drawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED)
true
}
@@ -179,6 +211,10 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
requireActivity(),
object : OnBackPressedCallback(true) {
override fun handleOnBackPressed() {
+ if (!NativeLibrary.isRunning()) {
+ return
+ }
+
if (binding.drawerLayout.isOpen) {
binding.drawerLayout.close()
} else {
@@ -188,27 +224,103 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
}
)
- viewLifecycleOwner.lifecycleScope.launch(Dispatchers.Main) {
- lifecycle.repeatOnLifecycle(Lifecycle.State.STARTED) {
- WindowInfoTracker.getOrCreate(requireContext())
- .windowLayoutInfo(requireActivity())
- .collect { updateFoldableLayout(requireActivity() as EmulationActivity, it) }
+ GameIconUtils.loadGameIcon(game, binding.loadingImage)
+ binding.loadingTitle.text = game.title
+ binding.loadingTitle.isSelected = true
+ binding.loadingText.isSelected = true
+
+ viewLifecycleOwner.lifecycleScope.apply {
+ launch {
+ repeatOnLifecycle(Lifecycle.State.STARTED) {
+ WindowInfoTracker.getOrCreate(requireContext())
+ .windowLayoutInfo(requireActivity())
+ .collect {
+ updateFoldableLayout(requireActivity() as EmulationActivity, it)
+ }
+ }
+ }
+ launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ emulationViewModel.shaderProgress.collectLatest {
+ if (it > 0 && it != emulationViewModel.totalShaders.value) {
+ binding.loadingProgressIndicator.isIndeterminate = false
+
+ if (it < binding.loadingProgressIndicator.max) {
+ binding.loadingProgressIndicator.progress = it
+ }
+ }
+
+ if (it == emulationViewModel.totalShaders.value) {
+ binding.loadingText.setText(R.string.loading)
+ binding.loadingProgressIndicator.isIndeterminate = true
+ }
+ }
+ }
+ }
+ launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ emulationViewModel.totalShaders.collectLatest {
+ binding.loadingProgressIndicator.max = it
+ }
+ }
+ }
+ launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ emulationViewModel.shaderMessage.collectLatest {
+ if (it.isNotEmpty()) {
+ binding.loadingText.text = it
+ }
+ }
+ }
+ }
+ launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ emulationViewModel.emulationStarted.collectLatest {
+ if (it) {
+ binding.drawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_UNLOCKED)
+ ViewUtils.showView(binding.surfaceInputOverlay)
+ ViewUtils.hideView(binding.loadingIndicator)
+
+ // Setup overlay
+ updateShowFpsOverlay()
+ }
+ }
+ }
+ }
+ launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ emulationViewModel.isEmulationStopping.collectLatest {
+ if (it) {
+ binding.loadingText.setText(R.string.shutting_down)
+ ViewUtils.showView(binding.loadingIndicator)
+ ViewUtils.hideView(binding.inputContainer)
+ ViewUtils.hideView(binding.showFpsText)
+ }
+ }
+ }
}
}
}
override fun onConfigurationChanged(newConfig: Configuration) {
super.onConfigurationChanged(newConfig)
+ if (_binding == null) {
+ return
+ }
+
+ updateScreenLayout()
if (emulationActivity?.isInPictureInPictureMode == true) {
if (binding.drawerLayout.isOpen) {
binding.drawerLayout.close()
}
if (EmulationMenuSettings.showOverlay) {
- binding.surfaceInputOverlay.post { binding.surfaceInputOverlay.isVisible = false }
+ binding.surfaceInputOverlay.visibility = View.INVISIBLE
}
} else {
- if (EmulationMenuSettings.showOverlay) {
- binding.surfaceInputOverlay.post { binding.surfaceInputOverlay.isVisible = true }
+ if (EmulationMenuSettings.showOverlay && emulationViewModel.emulationStarted.value) {
+ binding.surfaceInputOverlay.visibility = View.VISIBLE
+ } else {
+ binding.surfaceInputOverlay.visibility = View.INVISIBLE
}
if (!isInFoldableLayout) {
if (newConfig.orientation == Configuration.ORIENTATION_PORTRAIT) {
@@ -217,16 +329,13 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
binding.surfaceInputOverlay.layout = InputOverlay.LANDSCAPE
}
}
- if (!binding.surfaceInputOverlay.isInEditMode) {
- refreshInputOverlay()
- }
}
}
override fun onResume() {
super.onResume()
if (!DirectoryInitialization.areDirectoriesReady) {
- DirectoryInitialization.start(requireContext())
+ DirectoryInitialization.start()
}
updateScreenLayout()
@@ -235,7 +344,7 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
}
override fun onPause() {
- if (emulationState.isRunning) {
+ if (emulationState.isRunning && emulationActivity?.isInPictureInPictureMode != true) {
emulationState.pause()
}
super.onPause()
@@ -251,10 +360,6 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
super.onDetach()
}
- private fun refreshInputOverlay() {
- binding.surfaceInputOverlay.refreshControls()
- }
-
private fun resetInputOverlay() {
preferences.edit()
.remove(Settings.PREF_CONTROL_SCALE)
@@ -272,17 +377,15 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
val FRAMETIME = 2
val SPEED = 3
perfStatsUpdater = {
- val perfStats = NativeLibrary.getPerfStats()
- if (perfStats[FPS] > 0 && _binding != null) {
- binding.showFpsText.text = String.format("FPS: %.1f", perfStats[FPS])
- }
-
- if (!emulationState.isStopped) {
+ if (emulationViewModel.emulationStarted.value == true) {
+ val perfStats = NativeLibrary.getPerfStats()
+ if (perfStats[FPS] > 0 && _binding != null) {
+ binding.showFpsText.text = String.format("FPS: %.1f", perfStats[FPS])
+ }
perfStatsUpdateHandler.postDelayed(perfStatsUpdater!!, 100)
}
}
perfStatsUpdateHandler.post(perfStatsUpdater!!)
- binding.showFpsText.text = resources.getString(R.string.emulation_game_loading)
binding.showFpsText.visibility = View.VISIBLE
} else {
if (perfStatsUpdater != null) {
@@ -297,26 +400,17 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
emulationActivity?.let {
it.requestedOrientation = when (IntSetting.RENDERER_SCREEN_LAYOUT.int) {
Settings.LayoutOption_MobileLandscape ->
- ActivityInfo.SCREEN_ORIENTATION_USER_LANDSCAPE
+ ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE
Settings.LayoutOption_MobilePortrait ->
ActivityInfo.SCREEN_ORIENTATION_USER_PORTRAIT
Settings.LayoutOption_Unspecified -> ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED
- else -> ActivityInfo.SCREEN_ORIENTATION_USER_LANDSCAPE
+ else -> ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE
}
}
}
private fun updateScreenLayout() {
- binding.surfaceEmulation.setAspectRatio(
- when (IntSetting.RENDERER_ASPECT_RATIO.int) {
- 0 -> Rational(16, 9)
- 1 -> Rational(4, 3)
- 2 -> Rational(21, 9)
- 3 -> Rational(16, 10)
- 4 -> null // Stretch
- else -> Rational(16, 9)
- }
- )
+ binding.surfaceEmulation.setAspectRatio(null)
emulationActivity?.buildPictureInPictureParams()
updateOrientation()
}
@@ -340,7 +434,6 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
isInFoldableLayout = true
binding.surfaceInputOverlay.layout = InputOverlay.FOLDABLE
- refreshInputOverlay()
}
}
it.isSeparating
@@ -428,7 +521,7 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
.apply()
}
.setPositiveButton(android.R.string.ok) { _, _ ->
- refreshInputOverlay()
+ binding.surfaceInputOverlay.refreshControls()
}
.setNegativeButton(android.R.string.cancel, null)
.setNeutralButton(R.string.emulation_toggle_all) { _, _ -> }
@@ -452,7 +545,7 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
R.id.menu_show_overlay -> {
it.isChecked = !it.isChecked
EmulationMenuSettings.showOverlay = it.isChecked
- refreshInputOverlay()
+ binding.surfaceInputOverlay.refreshControls()
true
}
@@ -558,14 +651,14 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
preferences.edit()
.putInt(Settings.PREF_CONTROL_SCALE, scale)
.apply()
- refreshInputOverlay()
+ binding.surfaceInputOverlay.refreshControls()
}
private fun setControlOpacity(opacity: Int) {
preferences.edit()
.putInt(Settings.PREF_CONTROL_OPACITY, opacity)
.apply()
- refreshInputOverlay()
+ binding.surfaceInputOverlay.refreshControls()
}
private fun setInsets() {
@@ -607,7 +700,6 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
private class EmulationState(private val gamePath: String) {
private var state: State
private var surface: Surface? = null
- private var runWhenSurfaceIsValid = false
init {
// Starting state is stopped.
@@ -665,8 +757,6 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
// If the surface is set, run now. Otherwise, wait for it to get set.
if (surface != null) {
runWithValidSurface()
- } else {
- runWhenSurfaceIsValid = true
}
}
@@ -674,7 +764,7 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
@Synchronized
fun newSurface(surface: Surface?) {
this.surface = surface
- if (runWhenSurfaceIsValid) {
+ if (this.surface != null) {
runWithValidSurface()
}
}
@@ -702,10 +792,9 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
}
private fun runWithValidSurface() {
- runWhenSurfaceIsValid = false
+ NativeLibrary.surfaceChanged(surface)
when (state) {
State.STOPPED -> {
- NativeLibrary.surfaceChanged(surface)
val emulationThread = Thread({
Log.debug("[EmulationFragment] Starting emulation thread.")
NativeLibrary.run(gamePath)
@@ -715,7 +804,6 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
State.PAUSED -> {
Log.debug("[EmulationFragment] Resuming emulation.")
- NativeLibrary.surfaceChanged(surface)
NativeLibrary.unpauseEmulation()
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/HomeSettingsFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/HomeSettingsFragment.kt
index c001af892..8923c0ea2 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/HomeSettingsFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/HomeSettingsFragment.kt
@@ -25,18 +25,18 @@ import androidx.core.view.updatePadding
import androidx.documentfile.provider.DocumentFile
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
+import androidx.navigation.findNavController
import androidx.navigation.fragment.findNavController
import androidx.recyclerview.widget.LinearLayoutManager
import com.google.android.material.dialog.MaterialAlertDialogBuilder
import com.google.android.material.transition.MaterialSharedAxis
import org.yuzu.yuzu_emu.BuildConfig
+import org.yuzu.yuzu_emu.HomeNavigationDirections
import org.yuzu.yuzu_emu.R
import org.yuzu.yuzu_emu.adapters.HomeSettingAdapter
import org.yuzu.yuzu_emu.databinding.FragmentHomeSettingsBinding
import org.yuzu.yuzu_emu.features.DocumentProvider
import org.yuzu.yuzu_emu.features.settings.model.Settings
-import org.yuzu.yuzu_emu.features.settings.ui.SettingsActivity
-import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile
import org.yuzu.yuzu_emu.model.HomeSetting
import org.yuzu.yuzu_emu.model.HomeViewModel
import org.yuzu.yuzu_emu.ui.main.MainActivity
@@ -74,7 +74,13 @@ class HomeSettingsFragment : Fragment() {
R.string.advanced_settings,
R.string.settings_description,
R.drawable.ic_settings,
- { SettingsActivity.launch(requireContext(), SettingsFile.FILE_NAME_CONFIG, "") }
+ {
+ val action = HomeNavigationDirections.actionGlobalSettingsActivity(
+ null,
+ Settings.MenuTag.SECTION_ROOT
+ )
+ binding.root.findNavController().navigate(action)
+ }
)
)
add(
@@ -90,7 +96,13 @@ class HomeSettingsFragment : Fragment() {
R.string.preferences_theme,
R.string.theme_and_color_description,
R.drawable.ic_palette,
- { SettingsActivity.launch(requireContext(), Settings.SECTION_THEME, "") }
+ {
+ val action = HomeNavigationDirections.actionGlobalSettingsActivity(
+ null,
+ Settings.MenuTag.SECTION_THEME
+ )
+ binding.root.findNavController().navigate(action)
+ }
)
)
add(
@@ -106,18 +118,13 @@ class HomeSettingsFragment : Fragment() {
)
add(
HomeSetting(
- R.string.install_amiibo_keys,
- R.string.install_amiibo_keys_description,
- R.drawable.ic_nfc,
- { mainActivity.getAmiiboKey.launch(arrayOf("*/*")) }
- )
- )
- add(
- HomeSetting(
- R.string.install_game_content,
- R.string.install_game_content_description,
- R.drawable.ic_system_update_alt,
- { mainActivity.installGameUpdate.launch(arrayOf("*/*")) }
+ R.string.manage_yuzu_data,
+ R.string.manage_yuzu_data_description,
+ R.drawable.ic_install,
+ {
+ binding.root.findNavController()
+ .navigate(R.id.action_homeSettingsFragment_to_installableFragment)
+ }
)
)
add(
@@ -129,36 +136,11 @@ class HomeSettingsFragment : Fragment() {
mainActivity.getGamesDirectory.launch(
Intent(Intent.ACTION_OPEN_DOCUMENT_TREE).data
)
- }
- )
- )
- add(
- HomeSetting(
- R.string.manage_save_data,
- R.string.import_export_saves_description,
- R.drawable.ic_save,
- {
- ImportExportSavesFragment().show(
- parentFragmentManager,
- ImportExportSavesFragment.TAG
- )
- }
- )
- )
- add(
- HomeSetting(
- R.string.install_prod_keys,
- R.string.install_prod_keys_description,
- R.drawable.ic_unlock,
- { mainActivity.getProdKey.launch(arrayOf("*/*")) }
- )
- )
- add(
- HomeSetting(
- R.string.install_firmware,
- R.string.install_firmware_description,
- R.drawable.ic_firmware,
- { mainActivity.getFirmware.launch(arrayOf("application/zip")) }
+ },
+ { true },
+ 0,
+ 0,
+ homeViewModel.gamesDir
)
)
add(
@@ -201,7 +183,11 @@ class HomeSettingsFragment : Fragment() {
binding.homeSettingsList.apply {
layoutManager = LinearLayoutManager(requireContext())
- adapter = HomeSettingAdapter(requireActivity() as AppCompatActivity, optionsList)
+ adapter = HomeSettingAdapter(
+ requireActivity() as AppCompatActivity,
+ viewLifecycleOwner,
+ optionsList
+ )
}
setInsets()
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt
deleted file mode 100644
index e1495ee8c..000000000
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/ImportExportSavesFragment.kt
+++ /dev/null
@@ -1,213 +0,0 @@
-// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-package org.yuzu.yuzu_emu.fragments
-
-import android.app.Dialog
-import android.content.Intent
-import android.net.Uri
-import android.os.Bundle
-import android.provider.DocumentsContract
-import android.widget.Toast
-import androidx.activity.result.ActivityResultLauncher
-import androidx.activity.result.contract.ActivityResultContracts
-import androidx.appcompat.app.AppCompatActivity
-import androidx.documentfile.provider.DocumentFile
-import androidx.fragment.app.DialogFragment
-import com.google.android.material.dialog.MaterialAlertDialogBuilder
-import java.io.BufferedOutputStream
-import java.io.File
-import java.io.FileOutputStream
-import java.io.FilenameFilter
-import java.time.LocalDateTime
-import java.time.format.DateTimeFormatter
-import java.util.zip.ZipEntry
-import java.util.zip.ZipOutputStream
-import kotlinx.coroutines.CoroutineScope
-import kotlinx.coroutines.Dispatchers
-import kotlinx.coroutines.launch
-import kotlinx.coroutines.withContext
-import org.yuzu.yuzu_emu.R
-import org.yuzu.yuzu_emu.YuzuApplication
-import org.yuzu.yuzu_emu.features.DocumentProvider
-import org.yuzu.yuzu_emu.getPublicFilesDir
-import org.yuzu.yuzu_emu.utils.FileUtil
-
-class ImportExportSavesFragment : DialogFragment() {
- private val context = YuzuApplication.appContext
- private val savesFolder =
- "${context.getPublicFilesDir().canonicalPath}/nand/user/save/0000000000000000"
-
- // Get first subfolder in saves folder (should be the user folder)
- private val savesFolderRoot = File(savesFolder).listFiles()?.firstOrNull()?.canonicalPath ?: ""
- private var lastZipCreated: File? = null
-
- private lateinit var startForResultExportSave: ActivityResultLauncher<Intent>
- private lateinit var documentPicker: ActivityResultLauncher<Array<String>>
-
- override fun onCreate(savedInstanceState: Bundle?) {
- super.onCreate(savedInstanceState)
- val activity = requireActivity() as AppCompatActivity
-
- val activityResultRegistry = requireActivity().activityResultRegistry
- startForResultExportSave = activityResultRegistry.register(
- "startForResultExportSaveKey",
- ActivityResultContracts.StartActivityForResult()
- ) {
- File(context.getPublicFilesDir().canonicalPath, "temp").deleteRecursively()
- }
- documentPicker = activityResultRegistry.register(
- "documentPickerKey",
- ActivityResultContracts.OpenDocument()
- ) {
- it?.let { uri -> importSave(uri, activity) }
- }
- }
-
- override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
- return if (savesFolderRoot == "") {
- MaterialAlertDialogBuilder(requireContext())
- .setTitle(R.string.manage_save_data)
- .setMessage(R.string.import_export_saves_no_profile)
- .setPositiveButton(android.R.string.ok, null)
- .show()
- } else {
- MaterialAlertDialogBuilder(requireContext())
- .setTitle(R.string.manage_save_data)
- .setMessage(R.string.manage_save_data_description)
- .setNegativeButton(R.string.export_saves) { _, _ ->
- exportSave()
- }
- .setPositiveButton(R.string.import_saves) { _, _ ->
- documentPicker.launch(arrayOf("application/zip"))
- }
- .setNeutralButton(android.R.string.cancel, null)
- .show()
- }
- }
-
- /**
- * Zips the save files located in the given folder path and creates a new zip file with the current date and time.
- * @return true if the zip file is successfully created, false otherwise.
- */
- private fun zipSave(): Boolean {
- try {
- val tempFolder = File(requireContext().getPublicFilesDir().canonicalPath, "temp")
- tempFolder.mkdirs()
- val saveFolder = File(savesFolderRoot)
- val outputZipFile = File(
- tempFolder,
- "yuzu saves - ${
- LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm"))
- }.zip"
- )
- outputZipFile.createNewFile()
- ZipOutputStream(BufferedOutputStream(FileOutputStream(outputZipFile))).use { zos ->
- saveFolder.walkTopDown().forEach { file ->
- val zipFileName =
- file.absolutePath.removePrefix(savesFolderRoot).removePrefix("/")
- if (zipFileName == "") {
- return@forEach
- }
- val entry = ZipEntry("$zipFileName${(if (file.isDirectory) "/" else "")}")
- zos.putNextEntry(entry)
- if (file.isFile) {
- file.inputStream().use { fis -> fis.copyTo(zos) }
- }
- }
- }
- lastZipCreated = outputZipFile
- } catch (e: Exception) {
- return false
- }
- return true
- }
-
- /**
- * Exports the save file located in the given folder path by creating a zip file and sharing it via intent.
- */
- private fun exportSave() {
- CoroutineScope(Dispatchers.IO).launch {
- val wasZipCreated = zipSave()
- val lastZipFile = lastZipCreated
- if (!wasZipCreated || lastZipFile == null) {
- withContext(Dispatchers.Main) {
- Toast.makeText(context, "Failed to export save", Toast.LENGTH_LONG).show()
- }
- return@launch
- }
-
- withContext(Dispatchers.Main) {
- val file = DocumentFile.fromSingleUri(
- context,
- DocumentsContract.buildDocumentUri(
- DocumentProvider.AUTHORITY,
- "${DocumentProvider.ROOT_ID}/temp/${lastZipFile.name}"
- )
- )!!
- val intent = Intent(Intent.ACTION_SEND)
- .setDataAndType(file.uri, "application/zip")
- .addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
- .putExtra(Intent.EXTRA_STREAM, file.uri)
- startForResultExportSave.launch(Intent.createChooser(intent, "Share save file"))
- }
- }
- }
-
- /**
- * Imports the save files contained in the zip file, and replaces any existing ones with the new save file.
- * @param zipUri The Uri of the zip file containing the save file(s) to import.
- */
- private fun importSave(zipUri: Uri, activity: AppCompatActivity) {
- val inputZip = context.contentResolver.openInputStream(zipUri)
- // A zip needs to have at least one subfolder named after a TitleId in order to be considered valid.
- var validZip = false
- val savesFolder = File(savesFolderRoot)
- val cacheSaveDir = File("${context.cacheDir.path}/saves/")
- cacheSaveDir.mkdir()
-
- if (inputZip == null) {
- Toast.makeText(context, context.getString(R.string.fatal_error), Toast.LENGTH_LONG)
- .show()
- return
- }
-
- val filterTitleId =
- FilenameFilter { _, dirName -> dirName.matches(Regex("^0100[\\dA-Fa-f]{12}$")) }
-
- try {
- CoroutineScope(Dispatchers.IO).launch {
- FileUtil.unzip(inputZip, cacheSaveDir)
- cacheSaveDir.list(filterTitleId)?.forEach { savePath ->
- File(savesFolder, savePath).deleteRecursively()
- File(cacheSaveDir, savePath).copyRecursively(File(savesFolder, savePath), true)
- validZip = true
- }
-
- withContext(Dispatchers.Main) {
- if (!validZip) {
- MessageDialogFragment.newInstance(
- R.string.save_file_invalid_zip_structure,
- R.string.save_file_invalid_zip_structure_description
- ).show(activity.supportFragmentManager, MessageDialogFragment.TAG)
- return@withContext
- }
- Toast.makeText(
- context,
- context.getString(R.string.save_file_imported_success),
- Toast.LENGTH_LONG
- ).show()
- }
-
- cacheSaveDir.deleteRecursively()
- }
- } catch (e: Exception) {
- Toast.makeText(context, context.getString(R.string.fatal_error), Toast.LENGTH_LONG)
- .show()
- }
- }
-
- companion object {
- const val TAG = "ImportExportSavesFragment"
- }
-}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/IndeterminateProgressDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/IndeterminateProgressDialogFragment.kt
index 739b26f99..f128deda8 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/IndeterminateProgressDialogFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/IndeterminateProgressDialogFragment.kt
@@ -5,63 +5,126 @@ package org.yuzu.yuzu_emu.fragments
import android.app.Dialog
import android.os.Bundle
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
import android.widget.Toast
+import androidx.appcompat.app.AlertDialog
import androidx.appcompat.app.AppCompatActivity
import androidx.fragment.app.DialogFragment
import androidx.fragment.app.activityViewModels
+import androidx.lifecycle.Lifecycle
import androidx.lifecycle.ViewModelProvider
+import androidx.lifecycle.lifecycleScope
+import androidx.lifecycle.repeatOnLifecycle
import com.google.android.material.dialog.MaterialAlertDialogBuilder
+import kotlinx.coroutines.launch
+import org.yuzu.yuzu_emu.R
import org.yuzu.yuzu_emu.databinding.DialogProgressBarBinding
import org.yuzu.yuzu_emu.model.TaskViewModel
class IndeterminateProgressDialogFragment : DialogFragment() {
private val taskViewModel: TaskViewModel by activityViewModels()
+ private lateinit var binding: DialogProgressBarBinding
+
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
val titleId = requireArguments().getInt(TITLE)
+ val cancellable = requireArguments().getBoolean(CANCELLABLE)
- val progressBinding = DialogProgressBarBinding.inflate(layoutInflater)
- progressBinding.progressBar.isIndeterminate = true
+ binding = DialogProgressBarBinding.inflate(layoutInflater)
+ binding.progressBar.isIndeterminate = true
val dialog = MaterialAlertDialogBuilder(requireContext())
.setTitle(titleId)
- .setView(progressBinding.root)
- .create()
- dialog.setCanceledOnTouchOutside(false)
-
- taskViewModel.isComplete.observe(this) { complete ->
- if (complete) {
- dialog.dismiss()
- when (val result = taskViewModel.result.value) {
- is String -> Toast.makeText(requireContext(), result, Toast.LENGTH_LONG).show()
- is MessageDialogFragment -> result.show(
- parentFragmentManager,
- MessageDialogFragment.TAG
- )
+ .setView(binding.root)
+
+ if (cancellable) {
+ dialog.setNegativeButton(android.R.string.cancel, null)
+ }
+
+ val alertDialog = dialog.create()
+ alertDialog.setCanceledOnTouchOutside(false)
+
+ if (!taskViewModel.isRunning.value) {
+ taskViewModel.runTask()
+ }
+ return alertDialog
+ }
+
+ override fun onCreateView(
+ inflater: LayoutInflater,
+ container: ViewGroup?,
+ savedInstanceState: Bundle?
+ ): View {
+ return binding.root
+ }
+
+ override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
+ super.onViewCreated(view, savedInstanceState)
+ viewLifecycleOwner.lifecycleScope.apply {
+ launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ taskViewModel.isComplete.collect {
+ if (it) {
+ dismiss()
+ when (val result = taskViewModel.result.value) {
+ is String -> Toast.makeText(
+ requireContext(),
+ result,
+ Toast.LENGTH_LONG
+ ).show()
+
+ is MessageDialogFragment -> result.show(
+ requireActivity().supportFragmentManager,
+ MessageDialogFragment.TAG
+ )
+ }
+ taskViewModel.clear()
+ }
+ }
+ }
+ }
+ launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ taskViewModel.cancelled.collect {
+ if (it) {
+ dialog?.setTitle(R.string.cancelling)
+ }
+ }
}
- taskViewModel.clear()
}
}
+ }
- if (taskViewModel.isRunning.value == false) {
- taskViewModel.runTask()
+ // By default, the ProgressDialog will immediately dismiss itself upon a button being pressed.
+ // Setting the OnClickListener again after the dialog is shown overrides this behavior.
+ override fun onResume() {
+ super.onResume()
+ val alertDialog = dialog as AlertDialog
+ val negativeButton = alertDialog.getButton(Dialog.BUTTON_NEGATIVE)
+ negativeButton.setOnClickListener {
+ alertDialog.setTitle(getString(R.string.cancelling))
+ taskViewModel.setCancelled(true)
}
- return dialog
}
companion object {
const val TAG = "IndeterminateProgressDialogFragment"
private const val TITLE = "Title"
+ private const val CANCELLABLE = "Cancellable"
fun newInstance(
activity: AppCompatActivity,
titleId: Int,
+ cancellable: Boolean = false,
task: () -> Any
): IndeterminateProgressDialogFragment {
val dialog = IndeterminateProgressDialogFragment()
val args = Bundle()
ViewModelProvider(activity)[TaskViewModel::class.java].task = task
args.putInt(TITLE, titleId)
+ args.putBoolean(CANCELLABLE, cancellable)
dialog.arguments = args
return dialog
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/InstallableFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/InstallableFragment.kt
new file mode 100644
index 000000000..ec116ab62
--- /dev/null
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/InstallableFragment.kt
@@ -0,0 +1,138 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+package org.yuzu.yuzu_emu.fragments
+
+import android.os.Bundle
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+import androidx.core.view.ViewCompat
+import androidx.core.view.WindowInsetsCompat
+import androidx.core.view.updatePadding
+import androidx.fragment.app.Fragment
+import androidx.fragment.app.activityViewModels
+import androidx.navigation.findNavController
+import androidx.recyclerview.widget.GridLayoutManager
+import com.google.android.material.transition.MaterialSharedAxis
+import org.yuzu.yuzu_emu.R
+import org.yuzu.yuzu_emu.adapters.InstallableAdapter
+import org.yuzu.yuzu_emu.databinding.FragmentInstallablesBinding
+import org.yuzu.yuzu_emu.model.HomeViewModel
+import org.yuzu.yuzu_emu.model.Installable
+import org.yuzu.yuzu_emu.ui.main.MainActivity
+
+class InstallableFragment : Fragment() {
+ private var _binding: FragmentInstallablesBinding? = null
+ private val binding get() = _binding!!
+
+ private val homeViewModel: HomeViewModel by activityViewModels()
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ enterTransition = MaterialSharedAxis(MaterialSharedAxis.X, true)
+ returnTransition = MaterialSharedAxis(MaterialSharedAxis.X, false)
+ reenterTransition = MaterialSharedAxis(MaterialSharedAxis.X, false)
+ }
+
+ override fun onCreateView(
+ inflater: LayoutInflater,
+ container: ViewGroup?,
+ savedInstanceState: Bundle?
+ ): View {
+ _binding = FragmentInstallablesBinding.inflate(layoutInflater)
+ return binding.root
+ }
+
+ override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
+ super.onViewCreated(view, savedInstanceState)
+
+ val mainActivity = requireActivity() as MainActivity
+
+ homeViewModel.setNavigationVisibility(visible = false, animated = true)
+ homeViewModel.setStatusBarShadeVisibility(visible = false)
+
+ binding.toolbarInstallables.setNavigationOnClickListener {
+ binding.root.findNavController().popBackStack()
+ }
+
+ val installables = listOf(
+ Installable(
+ R.string.user_data,
+ R.string.user_data_description,
+ install = { mainActivity.importUserData.launch(arrayOf("application/zip")) },
+ export = { mainActivity.exportUserData.launch("export.zip") }
+ ),
+ Installable(
+ R.string.install_game_content,
+ R.string.install_game_content_description,
+ install = { mainActivity.installGameUpdate.launch(arrayOf("*/*")) }
+ ),
+ Installable(
+ R.string.install_firmware,
+ R.string.install_firmware_description,
+ install = { mainActivity.getFirmware.launch(arrayOf("application/zip")) }
+ ),
+ if (mainActivity.savesFolderRoot != "") {
+ Installable(
+ R.string.manage_save_data,
+ R.string.import_export_saves_description,
+ install = { mainActivity.importSaves.launch(arrayOf("application/zip")) },
+ export = { mainActivity.exportSave() }
+ )
+ } else {
+ Installable(
+ R.string.manage_save_data,
+ R.string.import_export_saves_description,
+ install = { mainActivity.importSaves.launch(arrayOf("application/zip")) }
+ )
+ },
+ Installable(
+ R.string.install_prod_keys,
+ R.string.install_prod_keys_description,
+ install = { mainActivity.getProdKey.launch(arrayOf("*/*")) }
+ ),
+ Installable(
+ R.string.install_amiibo_keys,
+ R.string.install_amiibo_keys_description,
+ install = { mainActivity.getAmiiboKey.launch(arrayOf("*/*")) }
+ )
+ )
+
+ binding.listInstallables.apply {
+ layoutManager = GridLayoutManager(
+ requireContext(),
+ resources.getInteger(R.integer.grid_columns)
+ )
+ adapter = InstallableAdapter(installables)
+ }
+
+ setInsets()
+ }
+
+ private fun setInsets() =
+ ViewCompat.setOnApplyWindowInsetsListener(
+ binding.root
+ ) { _: View, windowInsets: WindowInsetsCompat ->
+ val barInsets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars())
+ val cutoutInsets = windowInsets.getInsets(WindowInsetsCompat.Type.displayCutout())
+
+ val leftInsets = barInsets.left + cutoutInsets.left
+ val rightInsets = barInsets.right + cutoutInsets.right
+
+ val mlpAppBar = binding.toolbarInstallables.layoutParams as ViewGroup.MarginLayoutParams
+ mlpAppBar.leftMargin = leftInsets
+ mlpAppBar.rightMargin = rightInsets
+ binding.toolbarInstallables.layoutParams = mlpAppBar
+
+ val mlpScrollAbout =
+ binding.listInstallables.layoutParams as ViewGroup.MarginLayoutParams
+ mlpScrollAbout.leftMargin = leftInsets
+ mlpScrollAbout.rightMargin = rightInsets
+ binding.listInstallables.layoutParams = mlpScrollAbout
+
+ binding.listInstallables.updatePadding(bottom = barInsets.bottom)
+
+ windowInsets
+ }
+}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LongMessageDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LongMessageDialogFragment.kt
deleted file mode 100644
index b29b627e9..000000000
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LongMessageDialogFragment.kt
+++ /dev/null
@@ -1,62 +0,0 @@
-// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-package org.yuzu.yuzu_emu.fragments
-
-import android.app.Dialog
-import android.content.Intent
-import android.net.Uri
-import android.os.Bundle
-import androidx.fragment.app.DialogFragment
-import com.google.android.material.dialog.MaterialAlertDialogBuilder
-import org.yuzu.yuzu_emu.R
-
-class LongMessageDialogFragment : DialogFragment() {
- override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
- val titleId = requireArguments().getInt(TITLE)
- val description = requireArguments().getString(DESCRIPTION)
- val helpLinkId = requireArguments().getInt(HELP_LINK)
-
- val dialog = MaterialAlertDialogBuilder(requireContext())
- .setPositiveButton(R.string.close, null)
- .setTitle(titleId)
- .setMessage(description)
-
- if (helpLinkId != 0) {
- dialog.setNeutralButton(R.string.learn_more) { _, _ ->
- openLink(getString(helpLinkId))
- }
- }
-
- return dialog.show()
- }
-
- private fun openLink(link: String) {
- val intent = Intent(Intent.ACTION_VIEW, Uri.parse(link))
- startActivity(intent)
- }
-
- companion object {
- const val TAG = "LongMessageDialogFragment"
-
- private const val TITLE = "Title"
- private const val DESCRIPTION = "Description"
- private const val HELP_LINK = "Link"
-
- fun newInstance(
- titleId: Int,
- description: String,
- helpLinkId: Int = 0
- ): LongMessageDialogFragment {
- val dialog = LongMessageDialogFragment()
- val bundle = Bundle()
- bundle.apply {
- putInt(TITLE, titleId)
- putString(DESCRIPTION, description)
- putInt(HELP_LINK, helpLinkId)
- }
- dialog.arguments = bundle
- return dialog
- }
- }
-}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/MessageDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/MessageDialogFragment.kt
index 2db38fdc2..541b22f47 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/MessageDialogFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/MessageDialogFragment.kt
@@ -4,23 +4,36 @@
package org.yuzu.yuzu_emu.fragments
import android.app.Dialog
+import android.content.DialogInterface
import android.content.Intent
import android.net.Uri
import android.os.Bundle
import androidx.fragment.app.DialogFragment
+import androidx.fragment.app.FragmentActivity
+import androidx.fragment.app.activityViewModels
+import androidx.lifecycle.ViewModelProvider
import com.google.android.material.dialog.MaterialAlertDialogBuilder
import org.yuzu.yuzu_emu.R
+import org.yuzu.yuzu_emu.model.MessageDialogViewModel
class MessageDialogFragment : DialogFragment() {
+ private val messageDialogViewModel: MessageDialogViewModel by activityViewModels()
+
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
- val titleId = requireArguments().getInt(TITLE)
- val descriptionId = requireArguments().getInt(DESCRIPTION)
+ val titleId = requireArguments().getInt(TITLE_ID)
+ val titleString = requireArguments().getString(TITLE_STRING)!!
+ val descriptionId = requireArguments().getInt(DESCRIPTION_ID)
+ val descriptionString = requireArguments().getString(DESCRIPTION_STRING)!!
val helpLinkId = requireArguments().getInt(HELP_LINK)
val dialog = MaterialAlertDialogBuilder(requireContext())
.setPositiveButton(R.string.close, null)
- .setTitle(titleId)
- .setMessage(descriptionId)
+
+ if (titleId != 0) dialog.setTitle(titleId)
+ if (titleString.isNotEmpty()) dialog.setTitle(titleString)
+
+ if (descriptionId != 0) dialog.setMessage(descriptionId)
+ if (descriptionString.isNotEmpty()) dialog.setMessage(descriptionString)
if (helpLinkId != 0) {
dialog.setNeutralButton(R.string.learn_more) { _, _ ->
@@ -31,6 +44,12 @@ class MessageDialogFragment : DialogFragment() {
return dialog.show()
}
+ override fun onDismiss(dialog: DialogInterface) {
+ super.onDismiss(dialog)
+ messageDialogViewModel.dismissAction.invoke()
+ messageDialogViewModel.clear()
+ }
+
private fun openLink(link: String) {
val intent = Intent(Intent.ACTION_VIEW, Uri.parse(link))
startActivity(intent)
@@ -39,22 +58,32 @@ class MessageDialogFragment : DialogFragment() {
companion object {
const val TAG = "MessageDialogFragment"
- private const val TITLE = "Title"
- private const val DESCRIPTION = "Description"
+ private const val TITLE_ID = "Title"
+ private const val TITLE_STRING = "TitleString"
+ private const val DESCRIPTION_ID = "DescriptionId"
+ private const val DESCRIPTION_STRING = "DescriptionString"
private const val HELP_LINK = "Link"
fun newInstance(
- titleId: Int,
- descriptionId: Int,
- helpLinkId: Int = 0
+ activity: FragmentActivity,
+ titleId: Int = 0,
+ titleString: String = "",
+ descriptionId: Int = 0,
+ descriptionString: String = "",
+ helpLinkId: Int = 0,
+ dismissAction: () -> Unit = {}
): MessageDialogFragment {
val dialog = MessageDialogFragment()
val bundle = Bundle()
bundle.apply {
- putInt(TITLE, titleId)
- putInt(DESCRIPTION, descriptionId)
+ putInt(TITLE_ID, titleId)
+ putString(TITLE_STRING, titleString)
+ putInt(DESCRIPTION_ID, descriptionId)
+ putString(DESCRIPTION_STRING, descriptionString)
putInt(HELP_LINK, helpLinkId)
}
+ ViewModelProvider(activity)[MessageDialogViewModel::class.java].dismissAction =
+ dismissAction
dialog.arguments = bundle
return dialog
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SearchFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SearchFragment.kt
index f54dccc69..2dbca76a5 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SearchFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SearchFragment.kt
@@ -3,6 +3,7 @@
package org.yuzu.yuzu_emu.fragments
+import android.annotation.SuppressLint
import android.content.Context
import android.content.SharedPreferences
import android.os.Bundle
@@ -17,9 +18,13 @@ import androidx.core.view.updatePadding
import androidx.core.widget.doOnTextChanged
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
+import androidx.lifecycle.Lifecycle
+import androidx.lifecycle.lifecycleScope
+import androidx.lifecycle.repeatOnLifecycle
import androidx.preference.PreferenceManager
import info.debatty.java.stringsimilarity.Jaccard
import info.debatty.java.stringsimilarity.JaroWinkler
+import kotlinx.coroutines.launch
import java.util.Locale
import org.yuzu.yuzu_emu.R
import org.yuzu.yuzu_emu.YuzuApplication
@@ -52,6 +57,8 @@ class SearchFragment : Fragment() {
return binding.root
}
+ // This is using the correct scope, lint is just acting up
+ @SuppressLint("UnsafeRepeatOnLifecycleDetector")
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
homeViewModel.setNavigationVisibility(visible = true, animated = false)
preferences = PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext)
@@ -79,21 +86,32 @@ class SearchFragment : Fragment() {
filterAndSearch()
}
- gamesViewModel.apply {
- searchFocused.observe(viewLifecycleOwner) { searchFocused ->
- if (searchFocused) {
- focusSearch()
- gamesViewModel.setSearchFocused(false)
+ viewLifecycleOwner.lifecycleScope.apply {
+ launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ gamesViewModel.searchFocused.collect {
+ if (it) {
+ focusSearch()
+ gamesViewModel.setSearchFocused(false)
+ }
+ }
}
}
-
- games.observe(viewLifecycleOwner) { filterAndSearch() }
- searchedGames.observe(viewLifecycleOwner) {
- (binding.gridGamesSearch.adapter as GameAdapter).submitList(it)
- if (it.isEmpty()) {
- binding.noResultsView.visibility = View.VISIBLE
- } else {
- binding.noResultsView.visibility = View.GONE
+ launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ gamesViewModel.games.collect { filterAndSearch() }
+ }
+ }
+ launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ gamesViewModel.searchedGames.collect {
+ (binding.gridGamesSearch.adapter as GameAdapter).submitList(it)
+ if (it.isEmpty()) {
+ binding.noResultsView.visibility = View.VISIBLE
+ } else {
+ binding.noResultsView.visibility = View.GONE
+ }
+ }
}
}
}
@@ -109,7 +127,7 @@ class SearchFragment : Fragment() {
private inner class ScoredGame(val score: Double, val item: Game)
private fun filterAndSearch() {
- val baseList = gamesViewModel.games.value!!
+ val baseList = gamesViewModel.games.value
val filteredList: List<Game> = when (binding.chipGroup.checkedChipId) {
R.id.chip_recently_played -> {
baseList.filter {
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SettingsDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SettingsDialogFragment.kt
new file mode 100644
index 000000000..d18ec6974
--- /dev/null
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SettingsDialogFragment.kt
@@ -0,0 +1,235 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+package org.yuzu.yuzu_emu.fragments
+
+import android.app.Dialog
+import android.content.DialogInterface
+import android.os.Bundle
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+import androidx.fragment.app.DialogFragment
+import androidx.fragment.app.activityViewModels
+import androidx.lifecycle.Lifecycle
+import androidx.lifecycle.lifecycleScope
+import androidx.lifecycle.repeatOnLifecycle
+import com.google.android.material.dialog.MaterialAlertDialogBuilder
+import com.google.android.material.slider.Slider
+import kotlinx.coroutines.launch
+import org.yuzu.yuzu_emu.R
+import org.yuzu.yuzu_emu.databinding.DialogSliderBinding
+import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem
+import org.yuzu.yuzu_emu.features.settings.model.view.SingleChoiceSetting
+import org.yuzu.yuzu_emu.features.settings.model.view.SliderSetting
+import org.yuzu.yuzu_emu.features.settings.model.view.StringSingleChoiceSetting
+import org.yuzu.yuzu_emu.model.SettingsViewModel
+
+class SettingsDialogFragment : DialogFragment(), DialogInterface.OnClickListener {
+ private var type = 0
+ private var position = 0
+
+ private var defaultCancelListener =
+ DialogInterface.OnClickListener { _: DialogInterface?, _: Int -> closeDialog() }
+
+ private val settingsViewModel: SettingsViewModel by activityViewModels()
+
+ private lateinit var sliderBinding: DialogSliderBinding
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ type = requireArguments().getInt(TYPE)
+ position = requireArguments().getInt(POSITION)
+
+ if (settingsViewModel.clickedItem == null) dismiss()
+ }
+
+ override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
+ return when (type) {
+ TYPE_RESET_SETTING -> {
+ MaterialAlertDialogBuilder(requireContext())
+ .setMessage(R.string.reset_setting_confirmation)
+ .setPositiveButton(android.R.string.ok) { _: DialogInterface, _: Int ->
+ settingsViewModel.clickedItem!!.setting.reset()
+ settingsViewModel.setAdapterItemChanged(position)
+ settingsViewModel.shouldSave = true
+ }
+ .setNegativeButton(android.R.string.cancel, null)
+ .create()
+ }
+
+ SettingsItem.TYPE_SINGLE_CHOICE -> {
+ val item = settingsViewModel.clickedItem as SingleChoiceSetting
+ val value = getSelectionForSingleChoiceValue(item)
+ MaterialAlertDialogBuilder(requireContext())
+ .setTitle(item.nameId)
+ .setSingleChoiceItems(item.choicesId, value, this)
+ .create()
+ }
+
+ SettingsItem.TYPE_SLIDER -> {
+ sliderBinding = DialogSliderBinding.inflate(layoutInflater)
+ val item = settingsViewModel.clickedItem as SliderSetting
+
+ settingsViewModel.setSliderTextValue(item.selectedValue.toFloat(), item.units)
+ sliderBinding.slider.apply {
+ valueFrom = item.min.toFloat()
+ valueTo = item.max.toFloat()
+ value = settingsViewModel.sliderProgress.value.toFloat()
+ addOnChangeListener { _: Slider, value: Float, _: Boolean ->
+ settingsViewModel.setSliderTextValue(value, item.units)
+ }
+ }
+
+ MaterialAlertDialogBuilder(requireContext())
+ .setTitle(item.nameId)
+ .setView(sliderBinding.root)
+ .setPositiveButton(android.R.string.ok, this)
+ .setNegativeButton(android.R.string.cancel, defaultCancelListener)
+ .create()
+ }
+
+ SettingsItem.TYPE_STRING_SINGLE_CHOICE -> {
+ val item = settingsViewModel.clickedItem as StringSingleChoiceSetting
+ MaterialAlertDialogBuilder(requireContext())
+ .setTitle(item.nameId)
+ .setSingleChoiceItems(item.choices, item.selectValueIndex, this)
+ .create()
+ }
+
+ else -> super.onCreateDialog(savedInstanceState)
+ }
+ }
+
+ override fun onCreateView(
+ inflater: LayoutInflater,
+ container: ViewGroup?,
+ savedInstanceState: Bundle?
+ ): View? {
+ return when (type) {
+ SettingsItem.TYPE_SLIDER -> sliderBinding.root
+ else -> super.onCreateView(inflater, container, savedInstanceState)
+ }
+ }
+
+ override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
+ super.onViewCreated(view, savedInstanceState)
+ when (type) {
+ SettingsItem.TYPE_SLIDER -> {
+ viewLifecycleOwner.lifecycleScope.launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ settingsViewModel.sliderTextValue.collect {
+ sliderBinding.textValue.text = it
+ }
+ }
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ settingsViewModel.sliderProgress.collect {
+ sliderBinding.slider.value = it.toFloat()
+ }
+ }
+ }
+ }
+ }
+ }
+
+ override fun onClick(dialog: DialogInterface, which: Int) {
+ when (settingsViewModel.clickedItem) {
+ is SingleChoiceSetting -> {
+ val scSetting = settingsViewModel.clickedItem as SingleChoiceSetting
+ val value = getValueForSingleChoiceSelection(scSetting, which)
+ if (scSetting.selectedValue != value) {
+ settingsViewModel.shouldSave = true
+ }
+ scSetting.selectedValue = value
+ }
+
+ is StringSingleChoiceSetting -> {
+ val scSetting = settingsViewModel.clickedItem as StringSingleChoiceSetting
+ val value = scSetting.getValueAt(which)
+ if (scSetting.selectedValue != value) settingsViewModel.shouldSave = true
+ scSetting.selectedValue = value
+ }
+
+ is SliderSetting -> {
+ val sliderSetting = settingsViewModel.clickedItem as SliderSetting
+ if (sliderSetting.selectedValue != settingsViewModel.sliderProgress.value) {
+ settingsViewModel.shouldSave = true
+ }
+ sliderSetting.selectedValue = settingsViewModel.sliderProgress.value
+ }
+ }
+ closeDialog()
+ }
+
+ private fun closeDialog() {
+ settingsViewModel.setAdapterItemChanged(position)
+ settingsViewModel.clickedItem = null
+ settingsViewModel.setSliderProgress(-1f)
+ dismiss()
+ }
+
+ private fun getValueForSingleChoiceSelection(item: SingleChoiceSetting, which: Int): Int {
+ val valuesId = item.valuesId
+ return if (valuesId > 0) {
+ val valuesArray = requireContext().resources.getIntArray(valuesId)
+ valuesArray[which]
+ } else {
+ which
+ }
+ }
+
+ private fun getSelectionForSingleChoiceValue(item: SingleChoiceSetting): Int {
+ val value = item.selectedValue
+ val valuesId = item.valuesId
+ if (valuesId > 0) {
+ val valuesArray = requireContext().resources.getIntArray(valuesId)
+ for (index in valuesArray.indices) {
+ val current = valuesArray[index]
+ if (current == value) {
+ return index
+ }
+ }
+ } else {
+ return value
+ }
+ return -1
+ }
+
+ companion object {
+ const val TAG = "SettingsDialogFragment"
+
+ const val TYPE_RESET_SETTING = -1
+
+ const val TITLE = "Title"
+ const val TYPE = "Type"
+ const val POSITION = "Position"
+
+ fun newInstance(
+ settingsViewModel: SettingsViewModel,
+ clickedItem: SettingsItem,
+ type: Int,
+ position: Int
+ ): SettingsDialogFragment {
+ when (type) {
+ SettingsItem.TYPE_HEADER,
+ SettingsItem.TYPE_SWITCH,
+ SettingsItem.TYPE_SUBMENU,
+ SettingsItem.TYPE_DATETIME_SETTING,
+ SettingsItem.TYPE_RUNNABLE ->
+ throw IllegalArgumentException("[SettingsDialogFragment] Incompatible type!")
+
+ SettingsItem.TYPE_SLIDER -> settingsViewModel.setSliderProgress(
+ (clickedItem as SliderSetting).selectedValue.toFloat()
+ )
+ }
+ settingsViewModel.clickedItem = clickedItem
+
+ val args = Bundle()
+ args.putInt(TYPE, type)
+ args.putInt(POSITION, position)
+ val fragment = SettingsDialogFragment()
+ fragment.arguments = args
+ return fragment
+ }
+ }
+}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SettingsSearchFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SettingsSearchFragment.kt
new file mode 100644
index 000000000..9d0594c6e
--- /dev/null
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SettingsSearchFragment.kt
@@ -0,0 +1,192 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+package org.yuzu.yuzu_emu.fragments
+
+import android.content.Context
+import android.os.Bundle
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+import android.view.inputmethod.InputMethodManager
+import androidx.core.view.ViewCompat
+import androidx.core.view.WindowInsetsCompat
+import androidx.core.view.updatePadding
+import androidx.core.widget.doOnTextChanged
+import androidx.fragment.app.Fragment
+import androidx.fragment.app.activityViewModels
+import androidx.lifecycle.Lifecycle
+import androidx.lifecycle.lifecycleScope
+import androidx.lifecycle.repeatOnLifecycle
+import androidx.recyclerview.widget.LinearLayoutManager
+import com.google.android.material.divider.MaterialDividerItemDecoration
+import com.google.android.material.transition.MaterialSharedAxis
+import info.debatty.java.stringsimilarity.Cosine
+import kotlinx.coroutines.launch
+import org.yuzu.yuzu_emu.R
+import org.yuzu.yuzu_emu.databinding.FragmentSettingsSearchBinding
+import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem
+import org.yuzu.yuzu_emu.features.settings.ui.SettingsAdapter
+import org.yuzu.yuzu_emu.model.SettingsViewModel
+import org.yuzu.yuzu_emu.utils.NativeConfig
+
+class SettingsSearchFragment : Fragment() {
+ private var _binding: FragmentSettingsSearchBinding? = null
+ private val binding get() = _binding!!
+
+ private var settingsAdapter: SettingsAdapter? = null
+
+ private val settingsViewModel: SettingsViewModel by activityViewModels()
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ super.onCreate(savedInstanceState)
+ enterTransition = MaterialSharedAxis(MaterialSharedAxis.Z, false)
+ returnTransition = MaterialSharedAxis(MaterialSharedAxis.Z, true)
+ }
+
+ override fun onCreateView(
+ inflater: LayoutInflater,
+ container: ViewGroup?,
+ savedInstanceState: Bundle?
+ ): View {
+ _binding = FragmentSettingsSearchBinding.inflate(layoutInflater)
+ return binding.root
+ }
+
+ override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
+ super.onViewCreated(view, savedInstanceState)
+ settingsViewModel.setIsUsingSearch(true)
+
+ if (savedInstanceState != null) {
+ binding.searchText.setText(savedInstanceState.getString(SEARCH_TEXT))
+ }
+
+ settingsAdapter = SettingsAdapter(this, requireContext())
+
+ val dividerDecoration = MaterialDividerItemDecoration(
+ requireContext(),
+ LinearLayoutManager.VERTICAL
+ )
+ dividerDecoration.isLastItemDecorated = false
+ binding.settingsList.apply {
+ adapter = settingsAdapter
+ layoutManager = LinearLayoutManager(requireContext())
+ addItemDecoration(dividerDecoration)
+ }
+
+ focusSearch()
+
+ binding.backButton.setOnClickListener { settingsViewModel.setShouldNavigateBack(true) }
+ binding.searchBackground.setOnClickListener { focusSearch() }
+ binding.clearButton.setOnClickListener { binding.searchText.setText("") }
+ binding.searchText.doOnTextChanged { _, _, _, _ ->
+ search()
+ binding.settingsList.smoothScrollToPosition(0)
+ }
+ viewLifecycleOwner.lifecycleScope.launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ settingsViewModel.shouldReloadSettingsList.collect {
+ if (it) {
+ settingsViewModel.setShouldReloadSettingsList(false)
+ search()
+ }
+ }
+ }
+ }
+
+ search()
+
+ setInsets()
+ }
+
+ override fun onSaveInstanceState(outState: Bundle) {
+ super.onSaveInstanceState(outState)
+ outState.putString(SEARCH_TEXT, binding.searchText.text.toString())
+ }
+
+ private fun search() {
+ val searchTerm = binding.searchText.text.toString().lowercase()
+ binding.clearButton.visibility =
+ if (searchTerm.isEmpty()) View.INVISIBLE else View.VISIBLE
+ if (searchTerm.isEmpty()) {
+ binding.noResultsView.visibility = View.VISIBLE
+ settingsAdapter?.submitList(emptyList())
+ return
+ }
+
+ val baseList = SettingsItem.settingsItems
+ val similarityAlgorithm = if (searchTerm.length > 2) Cosine() else Cosine(1)
+ val sortedList: List<SettingsItem> = baseList.mapNotNull { item ->
+ val title = getString(item.value.nameId).lowercase()
+ val similarity = similarityAlgorithm.similarity(searchTerm, title)
+ if (similarity > 0.08) {
+ Pair(similarity, item)
+ } else {
+ null
+ }
+ }.sortedByDescending { it.first }.mapNotNull {
+ val item = it.second.value
+ val pairedSettingKey = item.setting.pairedSettingKey
+ val optionalSetting: SettingsItem? = if (pairedSettingKey.isNotEmpty()) {
+ val pairedSettingValue = NativeConfig.getBoolean(pairedSettingKey, false)
+ if (pairedSettingValue) it.second.value else null
+ } else {
+ it.second.value
+ }
+ optionalSetting
+ }
+ settingsAdapter?.submitList(sortedList)
+ binding.noResultsView.visibility =
+ if (sortedList.isEmpty()) View.VISIBLE else View.INVISIBLE
+ }
+
+ private fun focusSearch() {
+ binding.searchText.requestFocus()
+ val imm = requireActivity()
+ .getSystemService(Context.INPUT_METHOD_SERVICE) as InputMethodManager?
+ imm?.showSoftInput(binding.searchText, InputMethodManager.SHOW_IMPLICIT)
+ }
+
+ private fun setInsets() =
+ ViewCompat.setOnApplyWindowInsetsListener(
+ binding.root
+ ) { _: View, windowInsets: WindowInsetsCompat ->
+ val extraListSpacing = resources.getDimensionPixelSize(R.dimen.spacing_med)
+ val sideMargin = resources.getDimensionPixelSize(R.dimen.spacing_medlarge)
+ val topMargin = resources.getDimensionPixelSize(R.dimen.spacing_chip)
+
+ val barInsets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars())
+ val cutoutInsets = windowInsets.getInsets(WindowInsetsCompat.Type.displayCutout())
+
+ val leftInsets = barInsets.left + cutoutInsets.left
+ val rightInsets = barInsets.right + cutoutInsets.right
+
+ binding.settingsList.updatePadding(bottom = barInsets.bottom + extraListSpacing)
+ binding.frameSearch.updatePadding(
+ left = leftInsets + sideMargin,
+ top = barInsets.top + topMargin,
+ right = rightInsets + sideMargin
+ )
+ binding.noResultsView.updatePadding(
+ left = leftInsets,
+ right = rightInsets,
+ bottom = barInsets.bottom
+ )
+
+ val mlpSettingsList = binding.settingsList.layoutParams as ViewGroup.MarginLayoutParams
+ mlpSettingsList.leftMargin = leftInsets + sideMargin
+ mlpSettingsList.rightMargin = rightInsets + sideMargin
+ binding.settingsList.layoutParams = mlpSettingsList
+
+ val mlpDivider = binding.divider.layoutParams as ViewGroup.MarginLayoutParams
+ mlpDivider.leftMargin = leftInsets + sideMargin
+ mlpDivider.rightMargin = rightInsets + sideMargin
+ binding.divider.layoutParams = mlpDivider
+
+ windowInsets
+ }
+
+ companion object {
+ const val SEARCH_TEXT = "SearchText"
+ }
+}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SetupFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SetupFragment.kt
index 6c4ddaf6b..c66bb635a 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SetupFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/SetupFragment.kt
@@ -19,12 +19,17 @@ import androidx.core.content.ContextCompat
import androidx.core.view.ViewCompat
import androidx.core.view.WindowInsetsCompat
import androidx.core.view.isVisible
+import androidx.core.view.updatePadding
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
+import androidx.lifecycle.Lifecycle
+import androidx.lifecycle.lifecycleScope
+import androidx.lifecycle.repeatOnLifecycle
import androidx.navigation.findNavController
import androidx.preference.PreferenceManager
import androidx.viewpager2.widget.ViewPager2.OnPageChangeCallback
import com.google.android.material.transition.MaterialFadeThrough
+import kotlinx.coroutines.launch
import java.io.File
import org.yuzu.yuzu_emu.R
import org.yuzu.yuzu_emu.YuzuApplication
@@ -32,10 +37,13 @@ import org.yuzu.yuzu_emu.adapters.SetupAdapter
import org.yuzu.yuzu_emu.databinding.FragmentSetupBinding
import org.yuzu.yuzu_emu.features.settings.model.Settings
import org.yuzu.yuzu_emu.model.HomeViewModel
+import org.yuzu.yuzu_emu.model.SetupCallback
import org.yuzu.yuzu_emu.model.SetupPage
+import org.yuzu.yuzu_emu.model.StepState
import org.yuzu.yuzu_emu.ui.main.MainActivity
import org.yuzu.yuzu_emu.utils.DirectoryInitialization
import org.yuzu.yuzu_emu.utils.GameHelper
+import org.yuzu.yuzu_emu.utils.ViewUtils
class SetupFragment : Fragment() {
private var _binding: FragmentSetupBinding? = null
@@ -112,14 +120,22 @@ class SetupFragment : Fragment() {
0,
false,
R.string.give_permission,
- { permissionLauncher.launch(Manifest.permission.POST_NOTIFICATIONS) },
+ {
+ notificationCallback = it
+ permissionLauncher.launch(Manifest.permission.POST_NOTIFICATIONS)
+ },
true,
R.string.notification_warning,
R.string.notification_warning_description,
0,
{
- NotificationManagerCompat.from(requireContext())
+ if (NotificationManagerCompat.from(requireContext())
.areNotificationsEnabled()
+ ) {
+ StepState.COMPLETE
+ } else {
+ StepState.INCOMPLETE
+ }
}
)
)
@@ -133,12 +149,22 @@ class SetupFragment : Fragment() {
R.drawable.ic_add,
true,
R.string.select_keys,
- { mainActivity.getProdKey.launch(arrayOf("*/*")) },
+ {
+ keyCallback = it
+ getProdKey.launch(arrayOf("*/*"))
+ },
true,
R.string.install_prod_keys_warning,
R.string.install_prod_keys_warning_description,
R.string.install_prod_keys_warning_help,
- { File(DirectoryInitialization.userDirectory + "/keys/prod.keys").exists() }
+ {
+ val file = File(DirectoryInitialization.userDirectory + "/keys/prod.keys")
+ if (file.exists()) {
+ StepState.COMPLETE
+ } else {
+ StepState.INCOMPLETE
+ }
+ }
)
)
add(
@@ -150,9 +176,8 @@ class SetupFragment : Fragment() {
true,
R.string.add_games,
{
- mainActivity.getGamesDirectory.launch(
- Intent(Intent.ACTION_OPEN_DOCUMENT_TREE).data
- )
+ gamesDirCallback = it
+ getGamesDirectory.launch(Intent(Intent.ACTION_OPEN_DOCUMENT_TREE).data)
},
true,
R.string.add_games_warning,
@@ -163,7 +188,11 @@ class SetupFragment : Fragment() {
PreferenceManager.getDefaultSharedPreferences(
YuzuApplication.appContext
)
- preferences.getString(GameHelper.KEY_GAME_PATH, "")!!.isNotEmpty()
+ if (preferences.getString(GameHelper.KEY_GAME_PATH, "")!!.isNotEmpty()) {
+ StepState.COMPLETE
+ } else {
+ StepState.INCOMPLETE
+ }
}
)
)
@@ -181,6 +210,17 @@ class SetupFragment : Fragment() {
)
}
+ viewLifecycleOwner.lifecycleScope.launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ homeViewModel.shouldPageForward.collect {
+ if (it) {
+ pageForward()
+ homeViewModel.setShouldPageForward(false)
+ }
+ }
+ }
+ }
+
binding.viewPager2.apply {
adapter = SetupAdapter(requireActivity() as AppCompatActivity, pages)
offscreenPageLimit = 2
@@ -194,15 +234,15 @@ class SetupFragment : Fragment() {
super.onPageSelected(position)
if (position == 1 && previousPosition == 0) {
- showView(binding.buttonNext)
- showView(binding.buttonBack)
+ ViewUtils.showView(binding.buttonNext)
+ ViewUtils.showView(binding.buttonBack)
} else if (position == 0 && previousPosition == 1) {
- hideView(binding.buttonBack)
- hideView(binding.buttonNext)
+ ViewUtils.hideView(binding.buttonBack)
+ ViewUtils.hideView(binding.buttonNext)
} else if (position == pages.size - 1 && previousPosition == pages.size - 2) {
- hideView(binding.buttonNext)
+ ViewUtils.hideView(binding.buttonNext)
} else if (position == pages.size - 2 && previousPosition == pages.size - 1) {
- showView(binding.buttonNext)
+ ViewUtils.showView(binding.buttonNext)
}
previousPosition = position
@@ -215,7 +255,8 @@ class SetupFragment : Fragment() {
// Checks if the user has completed the task on the current page
if (currentPage.hasWarning) {
- if (currentPage.taskCompleted.invoke()) {
+ val stepState = currentPage.stepCompleted.invoke()
+ if (stepState != StepState.INCOMPLETE) {
pageForward()
return@setOnClickListener
}
@@ -254,8 +295,10 @@ class SetupFragment : Fragment() {
override fun onSaveInstanceState(outState: Bundle) {
super.onSaveInstanceState(outState)
- outState.putBoolean(KEY_NEXT_VISIBILITY, binding.buttonNext.isVisible)
- outState.putBoolean(KEY_BACK_VISIBILITY, binding.buttonBack.isVisible)
+ if (_binding != null) {
+ outState.putBoolean(KEY_NEXT_VISIBILITY, binding.buttonNext.isVisible)
+ outState.putBoolean(KEY_BACK_VISIBILITY, binding.buttonBack.isVisible)
+ }
outState.putBooleanArray(KEY_HAS_BEEN_WARNED, hasBeenWarned)
}
@@ -264,9 +307,15 @@ class SetupFragment : Fragment() {
_binding = null
}
+ private lateinit var notificationCallback: SetupCallback
+
@RequiresApi(Build.VERSION_CODES.TIRAMISU)
private val permissionLauncher =
registerForActivityResult(ActivityResultContracts.RequestPermission()) {
+ if (it) {
+ notificationCallback.onStepCompleted()
+ }
+
if (!it &&
!shouldShowRequestPermissionRationale(Manifest.permission.POST_NOTIFICATIONS)
) {
@@ -277,6 +326,27 @@ class SetupFragment : Fragment() {
}
}
+ private lateinit var keyCallback: SetupCallback
+
+ val getProdKey =
+ registerForActivityResult(ActivityResultContracts.OpenDocument()) { result ->
+ if (result != null) {
+ if (mainActivity.processKey(result)) {
+ keyCallback.onStepCompleted()
+ }
+ }
+ }
+
+ private lateinit var gamesDirCallback: SetupCallback
+
+ val getGamesDirectory =
+ registerForActivityResult(ActivityResultContracts.OpenDocumentTree()) { result ->
+ if (result != null) {
+ mainActivity.processGamesDir(result)
+ gamesDirCallback.onStepCompleted()
+ }
+ }
+
private fun finishSetup() {
PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext).edit()
.putBoolean(Settings.PREF_FIRST_APP_LAUNCH, false)
@@ -284,39 +354,16 @@ class SetupFragment : Fragment() {
mainActivity.finishSetup(binding.root.findNavController())
}
- private fun showView(view: View) {
- view.apply {
- alpha = 0f
- visibility = View.VISIBLE
- isClickable = true
- }.animate().apply {
- duration = 300
- alpha(1f)
- }.start()
- }
-
- private fun hideView(view: View) {
- if (view.visibility == View.INVISIBLE) {
- return
- }
-
- view.apply {
- alpha = 1f
- isClickable = false
- }.animate().apply {
- duration = 300
- alpha(0f)
- }.withEndAction {
- view.visibility = View.INVISIBLE
- }
- }
-
fun pageForward() {
- binding.viewPager2.currentItem = binding.viewPager2.currentItem + 1
+ if (_binding != null) {
+ binding.viewPager2.currentItem += 1
+ }
}
fun pageBackward() {
- binding.viewPager2.currentItem = binding.viewPager2.currentItem - 1
+ if (_binding != null) {
+ binding.viewPager2.currentItem -= 1
+ }
}
fun setPageWarned(page: Int) {
@@ -326,15 +373,29 @@ class SetupFragment : Fragment() {
private fun setInsets() =
ViewCompat.setOnApplyWindowInsetsListener(
binding.root
- ) { view: View, windowInsets: WindowInsetsCompat ->
+ ) { _: View, windowInsets: WindowInsetsCompat ->
val barInsets = windowInsets.getInsets(WindowInsetsCompat.Type.systemBars())
val cutoutInsets = windowInsets.getInsets(WindowInsetsCompat.Type.displayCutout())
- view.setPadding(
- barInsets.left + cutoutInsets.left,
- barInsets.top + cutoutInsets.top,
- barInsets.right + cutoutInsets.right,
- barInsets.bottom + cutoutInsets.bottom
- )
+
+ val leftPadding = barInsets.left + cutoutInsets.left
+ val topPadding = barInsets.top + cutoutInsets.top
+ val rightPadding = barInsets.right + cutoutInsets.right
+ val bottomPadding = barInsets.bottom + cutoutInsets.bottom
+
+ if (resources.getBoolean(R.bool.small_layout)) {
+ binding.viewPager2
+ .updatePadding(left = leftPadding, top = topPadding, right = rightPadding)
+ binding.constraintButtons
+ .updatePadding(left = leftPadding, right = rightPadding, bottom = bottomPadding)
+ } else {
+ binding.viewPager2.updatePadding(top = topPadding, bottom = bottomPadding)
+ binding.constraintButtons
+ .updatePadding(
+ left = leftPadding,
+ right = rightPadding,
+ bottom = bottomPadding
+ )
+ }
windowInsets
}
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/EmulationViewModel.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/EmulationViewModel.kt
new file mode 100644
index 000000000..f34870c2d
--- /dev/null
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/EmulationViewModel.kt
@@ -0,0 +1,67 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+package org.yuzu.yuzu_emu.model
+
+import androidx.lifecycle.ViewModel
+import kotlinx.coroutines.flow.MutableStateFlow
+import kotlinx.coroutines.flow.StateFlow
+
+class EmulationViewModel : ViewModel() {
+ val emulationStarted: StateFlow<Boolean> get() = _emulationStarted
+ private val _emulationStarted = MutableStateFlow(false)
+
+ val isEmulationStopping: StateFlow<Boolean> get() = _isEmulationStopping
+ private val _isEmulationStopping = MutableStateFlow(false)
+
+ val shaderProgress: StateFlow<Int> get() = _shaderProgress
+ private val _shaderProgress = MutableStateFlow(0)
+
+ val totalShaders: StateFlow<Int> get() = _totalShaders
+ private val _totalShaders = MutableStateFlow(0)
+
+ val shaderMessage: StateFlow<String> get() = _shaderMessage
+ private val _shaderMessage = MutableStateFlow("")
+
+ fun setEmulationStarted(started: Boolean) {
+ _emulationStarted.value = started
+ }
+
+ fun setIsEmulationStopping(value: Boolean) {
+ _isEmulationStopping.value = value
+ }
+
+ fun setShaderProgress(progress: Int) {
+ _shaderProgress.value = progress
+ }
+
+ fun setTotalShaders(max: Int) {
+ _totalShaders.value = max
+ }
+
+ fun setShaderMessage(msg: String) {
+ _shaderMessage.value = msg
+ }
+
+ fun updateProgress(msg: String, progress: Int, max: Int) {
+ setShaderMessage(msg)
+ setShaderProgress(progress)
+ setTotalShaders(max)
+ }
+
+ fun clear() {
+ setEmulationStarted(false)
+ setIsEmulationStopping(false)
+ setShaderProgress(0)
+ setTotalShaders(0)
+ setShaderMessage("")
+ }
+
+ companion object {
+ const val KEY_EMULATION_STARTED = "EmulationStarted"
+ const val KEY_IS_EMULATION_STOPPING = "IsEmulationStarting"
+ const val KEY_SHADER_PROGRESS = "ShaderProgress"
+ const val KEY_TOTAL_SHADERS = "TotalShaders"
+ const val KEY_SHADER_MESSAGE = "ShaderMessage"
+ }
+}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/GamesViewModel.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/GamesViewModel.kt
index 1fe42f922..6e09fa81d 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/GamesViewModel.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/GamesViewModel.kt
@@ -5,13 +5,13 @@ package org.yuzu.yuzu_emu.model
import android.net.Uri
import androidx.documentfile.provider.DocumentFile
-import androidx.lifecycle.LiveData
-import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import androidx.preference.PreferenceManager
import java.util.Locale
import kotlinx.coroutines.Dispatchers
+import kotlinx.coroutines.flow.MutableStateFlow
+import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
import kotlinx.serialization.ExperimentalSerializationApi
@@ -24,23 +24,23 @@ import org.yuzu.yuzu_emu.utils.GameHelper
@OptIn(ExperimentalSerializationApi::class)
class GamesViewModel : ViewModel() {
- private val _games = MutableLiveData<List<Game>>(emptyList())
- val games: LiveData<List<Game>> get() = _games
+ val games: StateFlow<List<Game>> get() = _games
+ private val _games = MutableStateFlow(emptyList<Game>())
- private val _searchedGames = MutableLiveData<List<Game>>(emptyList())
- val searchedGames: LiveData<List<Game>> get() = _searchedGames
+ val searchedGames: StateFlow<List<Game>> get() = _searchedGames
+ private val _searchedGames = MutableStateFlow(emptyList<Game>())
- private val _isReloading = MutableLiveData(false)
- val isReloading: LiveData<Boolean> get() = _isReloading
+ val isReloading: StateFlow<Boolean> get() = _isReloading
+ private val _isReloading = MutableStateFlow(false)
- private val _shouldSwapData = MutableLiveData(false)
- val shouldSwapData: LiveData<Boolean> get() = _shouldSwapData
+ val shouldSwapData: StateFlow<Boolean> get() = _shouldSwapData
+ private val _shouldSwapData = MutableStateFlow(false)
- private val _shouldScrollToTop = MutableLiveData(false)
- val shouldScrollToTop: LiveData<Boolean> get() = _shouldScrollToTop
+ val shouldScrollToTop: StateFlow<Boolean> get() = _shouldScrollToTop
+ private val _shouldScrollToTop = MutableStateFlow(false)
- private val _searchFocused = MutableLiveData(false)
- val searchFocused: LiveData<Boolean> get() = _searchFocused
+ val searchFocused: StateFlow<Boolean> get() = _searchFocused
+ private val _searchFocused = MutableStateFlow(false)
init {
// Ensure keys are loaded so that ROM metadata can be decrypted.
@@ -79,36 +79,36 @@ class GamesViewModel : ViewModel() {
)
)
- _games.postValue(sortedList)
+ _games.value = sortedList
}
fun setSearchedGames(games: List<Game>) {
- _searchedGames.postValue(games)
+ _searchedGames.value = games
}
fun setShouldSwapData(shouldSwap: Boolean) {
- _shouldSwapData.postValue(shouldSwap)
+ _shouldSwapData.value = shouldSwap
}
fun setShouldScrollToTop(shouldScroll: Boolean) {
- _shouldScrollToTop.postValue(shouldScroll)
+ _shouldScrollToTop.value = shouldScroll
}
fun setSearchFocused(searchFocused: Boolean) {
- _searchFocused.postValue(searchFocused)
+ _searchFocused.value = searchFocused
}
fun reloadGames(directoryChanged: Boolean) {
- if (isReloading.value == true) {
+ if (isReloading.value) {
return
}
- _isReloading.postValue(true)
+ _isReloading.value = true
viewModelScope.launch {
withContext(Dispatchers.IO) {
NativeLibrary.resetRomMetadata()
setGames(GameHelper.getGames())
- _isReloading.postValue(false)
+ _isReloading.value = false
if (directoryChanged) {
setShouldSwapData(true)
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeSetting.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeSetting.kt
index 522d07c37..b32e19373 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeSetting.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeSetting.kt
@@ -3,6 +3,9 @@
package org.yuzu.yuzu_emu.model
+import kotlinx.coroutines.flow.MutableStateFlow
+import kotlinx.coroutines.flow.StateFlow
+
data class HomeSetting(
val titleId: Int,
val descriptionId: Int,
@@ -10,5 +13,6 @@ data class HomeSetting(
val onClick: () -> Unit,
val isEnabled: () -> Boolean = { true },
val disabledTitleId: Int = 0,
- val disabledMessageId: Int = 0
+ val disabledMessageId: Int = 0,
+ val details: StateFlow<String> = MutableStateFlow("")
)
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeViewModel.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeViewModel.kt
index 263ee7144..756f76721 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeViewModel.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/HomeViewModel.kt
@@ -3,34 +3,56 @@
package org.yuzu.yuzu_emu.model
-import androidx.lifecycle.LiveData
-import androidx.lifecycle.MutableLiveData
+import android.net.Uri
+import androidx.fragment.app.FragmentActivity
import androidx.lifecycle.ViewModel
+import androidx.lifecycle.ViewModelProvider
+import androidx.preference.PreferenceManager
+import kotlinx.coroutines.flow.MutableStateFlow
+import kotlinx.coroutines.flow.StateFlow
+import org.yuzu.yuzu_emu.YuzuApplication
+import org.yuzu.yuzu_emu.utils.GameHelper
class HomeViewModel : ViewModel() {
- private val _navigationVisible = MutableLiveData<Pair<Boolean, Boolean>>()
- val navigationVisible: LiveData<Pair<Boolean, Boolean>> get() = _navigationVisible
+ val navigationVisible: StateFlow<Pair<Boolean, Boolean>> get() = _navigationVisible
+ private val _navigationVisible = MutableStateFlow(Pair(false, false))
- private val _statusBarShadeVisible = MutableLiveData(true)
- val statusBarShadeVisible: LiveData<Boolean> get() = _statusBarShadeVisible
+ val statusBarShadeVisible: StateFlow<Boolean> get() = _statusBarShadeVisible
+ private val _statusBarShadeVisible = MutableStateFlow(true)
- var navigatedToSetup = false
+ val shouldPageForward: StateFlow<Boolean> get() = _shouldPageForward
+ private val _shouldPageForward = MutableStateFlow(false)
- init {
- _navigationVisible.value = Pair(false, false)
- }
+ val gamesDir: StateFlow<String> get() = _gamesDir
+ private val _gamesDir = MutableStateFlow(
+ Uri.parse(
+ PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext)
+ .getString(GameHelper.KEY_GAME_PATH, "")
+ ).path ?: ""
+ )
+
+ var navigatedToSetup = false
fun setNavigationVisibility(visible: Boolean, animated: Boolean) {
- if (_navigationVisible.value?.first == visible) {
+ if (navigationVisible.value.first == visible) {
return
}
_navigationVisible.value = Pair(visible, animated)
}
fun setStatusBarShadeVisibility(visible: Boolean) {
- if (_statusBarShadeVisible.value == visible) {
+ if (statusBarShadeVisible.value == visible) {
return
}
_statusBarShadeVisible.value = visible
}
+
+ fun setShouldPageForward(pageForward: Boolean) {
+ _shouldPageForward.value = pageForward
+ }
+
+ fun setGamesDir(activity: FragmentActivity, dir: String) {
+ ViewModelProvider(activity)[GamesViewModel::class.java].reloadGames(true)
+ _gamesDir.value = dir
+ }
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Installable.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Installable.kt
new file mode 100644
index 000000000..36a7c97b8
--- /dev/null
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/Installable.kt
@@ -0,0 +1,13 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+package org.yuzu.yuzu_emu.model
+
+import androidx.annotation.StringRes
+
+data class Installable(
+ @StringRes val titleId: Int,
+ @StringRes val descriptionId: Int,
+ val install: (() -> Unit)? = null,
+ val export: (() -> Unit)? = null
+)
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/MessageDialogViewModel.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/MessageDialogViewModel.kt
new file mode 100644
index 000000000..36ffd08d2
--- /dev/null
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/MessageDialogViewModel.kt
@@ -0,0 +1,14 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+package org.yuzu.yuzu_emu.model
+
+import androidx.lifecycle.ViewModel
+
+class MessageDialogViewModel : ViewModel() {
+ var dismissAction: () -> Unit = {}
+
+ fun clear() {
+ dismissAction = {}
+ }
+}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/SettingsViewModel.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/SettingsViewModel.kt
new file mode 100644
index 000000000..53fa7a8de
--- /dev/null
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/SettingsViewModel.kt
@@ -0,0 +1,85 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+package org.yuzu.yuzu_emu.model
+
+import androidx.lifecycle.ViewModel
+import kotlinx.coroutines.flow.MutableStateFlow
+import kotlinx.coroutines.flow.StateFlow
+import org.yuzu.yuzu_emu.R
+import org.yuzu.yuzu_emu.YuzuApplication
+import org.yuzu.yuzu_emu.features.settings.model.view.SettingsItem
+
+class SettingsViewModel : ViewModel() {
+ var game: Game? = null
+
+ var shouldSave = false
+
+ var clickedItem: SettingsItem? = null
+
+ val shouldRecreate: StateFlow<Boolean> get() = _shouldRecreate
+ private val _shouldRecreate = MutableStateFlow(false)
+
+ val shouldNavigateBack: StateFlow<Boolean> get() = _shouldNavigateBack
+ private val _shouldNavigateBack = MutableStateFlow(false)
+
+ val shouldShowResetSettingsDialog: StateFlow<Boolean> get() = _shouldShowResetSettingsDialog
+ private val _shouldShowResetSettingsDialog = MutableStateFlow(false)
+
+ val shouldReloadSettingsList: StateFlow<Boolean> get() = _shouldReloadSettingsList
+ private val _shouldReloadSettingsList = MutableStateFlow(false)
+
+ val isUsingSearch: StateFlow<Boolean> get() = _isUsingSearch
+ private val _isUsingSearch = MutableStateFlow(false)
+
+ val sliderProgress: StateFlow<Int> get() = _sliderProgress
+ private val _sliderProgress = MutableStateFlow(-1)
+
+ val sliderTextValue: StateFlow<String> get() = _sliderTextValue
+ private val _sliderTextValue = MutableStateFlow("")
+
+ val adapterItemChanged: StateFlow<Int> get() = _adapterItemChanged
+ private val _adapterItemChanged = MutableStateFlow(-1)
+
+ fun setShouldRecreate(value: Boolean) {
+ _shouldRecreate.value = value
+ }
+
+ fun setShouldNavigateBack(value: Boolean) {
+ _shouldNavigateBack.value = value
+ }
+
+ fun setShouldShowResetSettingsDialog(value: Boolean) {
+ _shouldShowResetSettingsDialog.value = value
+ }
+
+ fun setShouldReloadSettingsList(value: Boolean) {
+ _shouldReloadSettingsList.value = value
+ }
+
+ fun setIsUsingSearch(value: Boolean) {
+ _isUsingSearch.value = value
+ }
+
+ fun setSliderTextValue(value: Float, units: String) {
+ _sliderProgress.value = value.toInt()
+ _sliderTextValue.value = String.format(
+ YuzuApplication.appContext.getString(R.string.value_with_units),
+ value.toInt().toString(),
+ units
+ )
+ }
+
+ fun setSliderProgress(value: Float) {
+ _sliderProgress.value = value.toInt()
+ }
+
+ fun setAdapterItemChanged(value: Int) {
+ _adapterItemChanged.value = value
+ }
+
+ fun clear() {
+ game = null
+ shouldSave = false
+ }
+}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/SetupPage.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/SetupPage.kt
index a0c878e1c..09a128ae6 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/SetupPage.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/SetupPage.kt
@@ -10,10 +10,20 @@ data class SetupPage(
val buttonIconId: Int,
val leftAlignedIcon: Boolean,
val buttonTextId: Int,
- val buttonAction: () -> Unit,
+ val buttonAction: (callback: SetupCallback) -> Unit,
val hasWarning: Boolean,
val warningTitleId: Int = 0,
val warningDescriptionId: Int = 0,
val warningHelpLinkId: Int = 0,
- val taskCompleted: () -> Boolean = { true }
+ val stepCompleted: () -> StepState = { StepState.UNDEFINED }
)
+
+interface SetupCallback {
+ fun onStepCompleted()
+}
+
+enum class StepState {
+ COMPLETE,
+ INCOMPLETE,
+ UNDEFINED
+}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/TaskViewModel.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/TaskViewModel.kt
index 27ea725a5..16a794dee 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/TaskViewModel.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/model/TaskViewModel.kt
@@ -3,45 +3,56 @@
package org.yuzu.yuzu_emu.model
-import androidx.lifecycle.LiveData
-import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import kotlinx.coroutines.Dispatchers
+import kotlinx.coroutines.flow.MutableStateFlow
+import kotlinx.coroutines.flow.StateFlow
import kotlinx.coroutines.launch
class TaskViewModel : ViewModel() {
- private val _result = MutableLiveData<Any>()
- val result: LiveData<Any> = _result
+ val result: StateFlow<Any> get() = _result
+ private val _result = MutableStateFlow(Any())
- private val _isComplete = MutableLiveData<Boolean>()
- val isComplete: LiveData<Boolean> = _isComplete
+ val isComplete: StateFlow<Boolean> get() = _isComplete
+ private val _isComplete = MutableStateFlow(false)
- private val _isRunning = MutableLiveData<Boolean>()
- val isRunning: LiveData<Boolean> = _isRunning
+ val isRunning: StateFlow<Boolean> get() = _isRunning
+ private val _isRunning = MutableStateFlow(false)
- lateinit var task: () -> Any
+ val cancelled: StateFlow<Boolean> get() = _cancelled
+ private val _cancelled = MutableStateFlow(false)
- init {
- clear()
- }
+ lateinit var task: () -> Any
fun clear() {
_result.value = Any()
_isComplete.value = false
_isRunning.value = false
+ _cancelled.value = false
+ }
+
+ fun setCancelled(value: Boolean) {
+ _cancelled.value = value
}
fun runTask() {
- if (_isRunning.value == true) {
+ if (isRunning.value) {
return
}
_isRunning.value = true
viewModelScope.launch(Dispatchers.IO) {
val res = task()
- _result.postValue(res)
- _isComplete.postValue(true)
+ _result.value = res
+ _isComplete.value = true
+ _isRunning.value = false
}
}
}
+
+enum class TaskState {
+ Completed,
+ Failed,
+ Cancelled
+}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt
index c055c2e35..a13faf3c7 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/overlay/InputOverlay.kt
@@ -352,7 +352,7 @@ class InputOverlay(context: Context, attrs: AttributeSet?) :
}
private fun addOverlayControls(layout: String) {
- val windowSize = getSafeScreenSize(context)
+ val windowSize = getSafeScreenSize(context, Pair(measuredWidth, measuredHeight))
if (preferences.getBoolean(Settings.PREF_BUTTON_A, true)) {
overlayButtons.add(
initializeOverlayButton(
@@ -593,7 +593,7 @@ class InputOverlay(context: Context, attrs: AttributeSet?) :
}
private fun saveControlPosition(prefId: String, x: Int, y: Int, layout: String) {
- val windowSize = getSafeScreenSize(context)
+ val windowSize = getSafeScreenSize(context, Pair(measuredWidth, measuredHeight))
val min = windowSize.first
val max = windowSize.second
PreferenceManager.getDefaultSharedPreferences(YuzuApplication.appContext).edit()
@@ -968,14 +968,17 @@ class InputOverlay(context: Context, attrs: AttributeSet?) :
* @return A pair of points, the first being the top left corner of the safe area,
* the second being the bottom right corner of the safe area
*/
- private fun getSafeScreenSize(context: Context): Pair<Point, Point> {
+ private fun getSafeScreenSize(
+ context: Context,
+ screenSize: Pair<Int, Int>
+ ): Pair<Point, Point> {
// Get screen size
val windowMetrics = WindowMetricsCalculator.getOrCreate()
.computeCurrentWindowMetrics(context as Activity)
- var maxY = windowMetrics.bounds.height().toFloat()
- var maxX = windowMetrics.bounds.width().toFloat()
- var minY = 0
+ var maxX = screenSize.first.toFloat()
+ var maxY = screenSize.second.toFloat()
var minX = 0
+ var minY = 0
// If we have API access, calculate the safe area to draw the overlay
var cutoutLeft = 0
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/GamesFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/GamesFragment.kt
index b0156dca5..805b89b31 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/GamesFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/GamesFragment.kt
@@ -3,6 +3,7 @@
package org.yuzu.yuzu_emu.ui
+import android.annotation.SuppressLint
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
@@ -14,8 +15,12 @@ import androidx.core.view.WindowInsetsCompat
import androidx.core.view.updatePadding
import androidx.fragment.app.Fragment
import androidx.fragment.app.activityViewModels
+import androidx.lifecycle.Lifecycle
+import androidx.lifecycle.lifecycleScope
+import androidx.lifecycle.repeatOnLifecycle
import com.google.android.material.color.MaterialColors
import com.google.android.material.transition.MaterialFadeThrough
+import kotlinx.coroutines.launch
import org.yuzu.yuzu_emu.R
import org.yuzu.yuzu_emu.adapters.GameAdapter
import org.yuzu.yuzu_emu.databinding.FragmentGamesBinding
@@ -44,6 +49,8 @@ class GamesFragment : Fragment() {
return binding.root
}
+ // This is using the correct scope, lint is just acting up
+ @SuppressLint("UnsafeRepeatOnLifecycleDetector")
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
homeViewModel.setNavigationVisibility(visible = true, animated = false)
@@ -80,37 +87,48 @@ class GamesFragment : Fragment() {
if (_binding == null) {
return@post
}
- binding.swipeRefresh.isRefreshing = gamesViewModel.isReloading.value!!
+ binding.swipeRefresh.isRefreshing = gamesViewModel.isReloading.value
}
}
- gamesViewModel.apply {
- // Watch for when we get updates to any of our games lists
- isReloading.observe(viewLifecycleOwner) { isReloading ->
- binding.swipeRefresh.isRefreshing = isReloading
+ viewLifecycleOwner.lifecycleScope.apply {
+ launch {
+ repeatOnLifecycle(Lifecycle.State.RESUMED) {
+ gamesViewModel.isReloading.collect { binding.swipeRefresh.isRefreshing = it }
+ }
}
- games.observe(viewLifecycleOwner) {
- (binding.gridGames.adapter as GameAdapter).submitList(it)
- if (it.isEmpty()) {
- binding.noticeText.visibility = View.VISIBLE
- } else {
- binding.noticeText.visibility = View.GONE
+ launch {
+ repeatOnLifecycle(Lifecycle.State.RESUMED) {
+ gamesViewModel.games.collect {
+ (binding.gridGames.adapter as GameAdapter).submitList(it)
+ if (it.isEmpty()) {
+ binding.noticeText.visibility = View.VISIBLE
+ } else {
+ binding.noticeText.visibility = View.GONE
+ }
+ }
}
}
- shouldSwapData.observe(viewLifecycleOwner) { shouldSwapData ->
- if (shouldSwapData) {
- (binding.gridGames.adapter as GameAdapter).submitList(
- gamesViewModel.games.value!!
- )
- gamesViewModel.setShouldSwapData(false)
+ launch {
+ repeatOnLifecycle(Lifecycle.State.RESUMED) {
+ gamesViewModel.shouldSwapData.collect {
+ if (it) {
+ (binding.gridGames.adapter as GameAdapter).submitList(
+ gamesViewModel.games.value
+ )
+ gamesViewModel.setShouldSwapData(false)
+ }
+ }
}
}
-
- // Check if the user reselected the games menu item and then scroll to top of the list
- shouldScrollToTop.observe(viewLifecycleOwner) { shouldScroll ->
- if (shouldScroll) {
- scrollToTop()
- gamesViewModel.setShouldScrollToTop(false)
+ launch {
+ repeatOnLifecycle(Lifecycle.State.RESUMED) {
+ gamesViewModel.shouldScrollToTop.collect {
+ if (it) {
+ scrollToTop()
+ gamesViewModel.setShouldScrollToTop(false)
+ }
+ }
}
}
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt
index f7d7aed1e..0fa5df5e5 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt
@@ -6,6 +6,7 @@ package org.yuzu.yuzu_emu.ui.main
import android.content.Intent
import android.net.Uri
import android.os.Bundle
+import android.provider.DocumentsContract
import android.view.View
import android.view.ViewGroup.MarginLayoutParams
import android.view.WindowManager
@@ -19,7 +20,10 @@ import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
import androidx.core.view.ViewCompat
import androidx.core.view.WindowCompat
import androidx.core.view.WindowInsetsCompat
+import androidx.documentfile.provider.DocumentFile
+import androidx.lifecycle.Lifecycle
import androidx.lifecycle.lifecycleScope
+import androidx.lifecycle.repeatOnLifecycle
import androidx.navigation.NavController
import androidx.navigation.fragment.NavHostFragment
import androidx.navigation.ui.setupWithNavController
@@ -27,43 +31,57 @@ import androidx.preference.PreferenceManager
import com.google.android.material.color.MaterialColors
import com.google.android.material.dialog.MaterialAlertDialogBuilder
import com.google.android.material.navigation.NavigationBarView
+import kotlinx.coroutines.CoroutineScope
import java.io.File
import java.io.FilenameFilter
import java.io.IOException
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.launch
import kotlinx.coroutines.withContext
+import org.yuzu.yuzu_emu.HomeNavigationDirections
import org.yuzu.yuzu_emu.NativeLibrary
import org.yuzu.yuzu_emu.R
import org.yuzu.yuzu_emu.activities.EmulationActivity
import org.yuzu.yuzu_emu.databinding.ActivityMainBinding
import org.yuzu.yuzu_emu.databinding.DialogProgressBarBinding
+import org.yuzu.yuzu_emu.features.DocumentProvider
import org.yuzu.yuzu_emu.features.settings.model.Settings
-import org.yuzu.yuzu_emu.features.settings.model.SettingsViewModel
-import org.yuzu.yuzu_emu.features.settings.ui.SettingsActivity
-import org.yuzu.yuzu_emu.features.settings.utils.SettingsFile
import org.yuzu.yuzu_emu.fragments.IndeterminateProgressDialogFragment
-import org.yuzu.yuzu_emu.fragments.LongMessageDialogFragment
import org.yuzu.yuzu_emu.fragments.MessageDialogFragment
+import org.yuzu.yuzu_emu.getPublicFilesDir
import org.yuzu.yuzu_emu.model.GamesViewModel
import org.yuzu.yuzu_emu.model.HomeViewModel
+import org.yuzu.yuzu_emu.model.TaskState
+import org.yuzu.yuzu_emu.model.TaskViewModel
import org.yuzu.yuzu_emu.utils.*
+import java.io.BufferedInputStream
+import java.io.BufferedOutputStream
+import java.io.FileOutputStream
+import java.time.LocalDateTime
+import java.time.format.DateTimeFormatter
+import java.util.zip.ZipEntry
+import java.util.zip.ZipInputStream
class MainActivity : AppCompatActivity(), ThemeProvider {
private lateinit var binding: ActivityMainBinding
private val homeViewModel: HomeViewModel by viewModels()
private val gamesViewModel: GamesViewModel by viewModels()
- private val settingsViewModel: SettingsViewModel by viewModels()
+ private val taskViewModel: TaskViewModel by viewModels()
override var themeId: Int = 0
+ private val savesFolder
+ get() = "${getPublicFilesDir().canonicalPath}/nand/user/save/0000000000000000"
+
+ // Get first subfolder in saves folder (should be the user folder)
+ val savesFolderRoot get() = File(savesFolder).listFiles()?.firstOrNull()?.canonicalPath ?: ""
+ private var lastZipCreated: File? = null
+
override fun onCreate(savedInstanceState: Bundle?) {
val splashScreen = installSplashScreen()
splashScreen.setKeepOnScreenCondition { !DirectoryInitialization.areDirectoriesReady }
- settingsViewModel.settings.loadSettings()
-
ThemeHelper.setTheme(this)
super.onCreate(savedInstanceState)
@@ -109,25 +127,33 @@ class MainActivity : AppCompatActivity(), ThemeProvider {
when (it.itemId) {
R.id.gamesFragment -> gamesViewModel.setShouldScrollToTop(true)
R.id.searchFragment -> gamesViewModel.setSearchFocused(true)
- R.id.homeSettingsFragment -> SettingsActivity.launch(
- this,
- SettingsFile.FILE_NAME_CONFIG,
- ""
- )
+ R.id.homeSettingsFragment -> {
+ val action = HomeNavigationDirections.actionGlobalSettingsActivity(
+ null,
+ Settings.MenuTag.SECTION_ROOT
+ )
+ navHostFragment.navController.navigate(action)
+ }
}
}
// Prevents navigation from being drawn for a short time on recreation if set to hidden
- if (!homeViewModel.navigationVisible.value?.first!!) {
+ if (!homeViewModel.navigationVisible.value.first) {
binding.navigationView.visibility = View.INVISIBLE
binding.statusBarShade.visibility = View.INVISIBLE
}
- homeViewModel.navigationVisible.observe(this) {
- showNavigation(it.first, it.second)
- }
- homeViewModel.statusBarShadeVisible.observe(this) { visible ->
- showStatusBarShade(visible)
+ lifecycleScope.apply {
+ launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ homeViewModel.navigationVisible.collect { showNavigation(it.first, it.second) }
+ }
+ }
+ launch {
+ repeatOnLifecycle(Lifecycle.State.CREATED) {
+ homeViewModel.statusBarShadeVisible.collect { showStatusBarShade(it) }
+ }
+ }
}
// Dismiss previous notifications (should not happen unless a crash occurred)
@@ -266,73 +292,83 @@ class MainActivity : AppCompatActivity(), ThemeProvider {
val getGamesDirectory =
registerForActivityResult(ActivityResultContracts.OpenDocumentTree()) { result ->
- if (result == null) {
- return@registerForActivityResult
+ if (result != null) {
+ processGamesDir(result)
}
+ }
- contentResolver.takePersistableUriPermission(
- result,
- Intent.FLAG_GRANT_READ_URI_PERMISSION
- )
+ fun processGamesDir(result: Uri) {
+ contentResolver.takePersistableUriPermission(
+ result,
+ Intent.FLAG_GRANT_READ_URI_PERMISSION
+ )
- // When a new directory is picked, we currently will reset the existing games
- // database. This effectively means that only one game directory is supported.
- PreferenceManager.getDefaultSharedPreferences(applicationContext).edit()
- .putString(GameHelper.KEY_GAME_PATH, result.toString())
- .apply()
+ // When a new directory is picked, we currently will reset the existing games
+ // database. This effectively means that only one game directory is supported.
+ PreferenceManager.getDefaultSharedPreferences(applicationContext).edit()
+ .putString(GameHelper.KEY_GAME_PATH, result.toString())
+ .apply()
- Toast.makeText(
- applicationContext,
- R.string.games_dir_selected,
- Toast.LENGTH_LONG
- ).show()
+ Toast.makeText(
+ applicationContext,
+ R.string.games_dir_selected,
+ Toast.LENGTH_LONG
+ ).show()
- gamesViewModel.reloadGames(true)
- }
+ gamesViewModel.reloadGames(true)
+ homeViewModel.setGamesDir(this, result.path!!)
+ }
val getProdKey =
registerForActivityResult(ActivityResultContracts.OpenDocument()) { result ->
- if (result == null) {
- return@registerForActivityResult
+ if (result != null) {
+ processKey(result)
}
+ }
- if (FileUtil.getExtension(result) != "keys") {
- MessageDialogFragment.newInstance(
- R.string.reading_keys_failure,
- R.string.install_prod_keys_failure_extension_description
- ).show(supportFragmentManager, MessageDialogFragment.TAG)
- return@registerForActivityResult
- }
+ fun processKey(result: Uri): Boolean {
+ if (FileUtil.getExtension(result) != "keys") {
+ MessageDialogFragment.newInstance(
+ this,
+ titleId = R.string.reading_keys_failure,
+ descriptionId = R.string.install_prod_keys_failure_extension_description
+ ).show(supportFragmentManager, MessageDialogFragment.TAG)
+ return false
+ }
- contentResolver.takePersistableUriPermission(
+ contentResolver.takePersistableUriPermission(
+ result,
+ Intent.FLAG_GRANT_READ_URI_PERMISSION
+ )
+
+ val dstPath = DirectoryInitialization.userDirectory + "/keys/"
+ if (FileUtil.copyUriToInternalStorage(
+ applicationContext,
result,
- Intent.FLAG_GRANT_READ_URI_PERMISSION
+ dstPath,
+ "prod.keys"
)
-
- val dstPath = DirectoryInitialization.userDirectory + "/keys/"
- if (FileUtil.copyUriToInternalStorage(
+ ) {
+ if (NativeLibrary.reloadKeys()) {
+ Toast.makeText(
applicationContext,
- result,
- dstPath,
- "prod.keys"
- )
- ) {
- if (NativeLibrary.reloadKeys()) {
- Toast.makeText(
- applicationContext,
- R.string.install_keys_success,
- Toast.LENGTH_SHORT
- ).show()
- gamesViewModel.reloadGames(true)
- } else {
- MessageDialogFragment.newInstance(
- R.string.invalid_keys_error,
- R.string.install_keys_failure_description,
- R.string.dumping_keys_quickstart_link
- ).show(supportFragmentManager, MessageDialogFragment.TAG)
- }
+ R.string.install_keys_success,
+ Toast.LENGTH_SHORT
+ ).show()
+ gamesViewModel.reloadGames(true)
+ return true
+ } else {
+ MessageDialogFragment.newInstance(
+ this,
+ titleId = R.string.invalid_keys_error,
+ descriptionId = R.string.install_keys_failure_description,
+ helpLinkId = R.string.dumping_keys_quickstart_link
+ ).show(supportFragmentManager, MessageDialogFragment.TAG)
+ return false
}
}
+ return false
+ }
val getFirmware =
registerForActivityResult(ActivityResultContracts.OpenDocument()) { result ->
@@ -359,13 +395,14 @@ class MainActivity : AppCompatActivity(), ThemeProvider {
val task: () -> Any = {
var messageToShow: Any
try {
- FileUtil.unzip(inputZip, cacheFirmwareDir)
+ FileUtil.unzipToInternalStorage(BufferedInputStream(inputZip), cacheFirmwareDir)
val unfilteredNumOfFiles = cacheFirmwareDir.list()?.size ?: -1
val filteredNumOfFiles = cacheFirmwareDir.list(filterNCA)?.size ?: -2
messageToShow = if (unfilteredNumOfFiles != filteredNumOfFiles) {
MessageDialogFragment.newInstance(
- R.string.firmware_installed_failure,
- R.string.firmware_installed_failure_description
+ this,
+ titleId = R.string.firmware_installed_failure,
+ descriptionId = R.string.firmware_installed_failure_description
)
} else {
firmwarePath.deleteRecursively()
@@ -383,7 +420,7 @@ class MainActivity : AppCompatActivity(), ThemeProvider {
IndeterminateProgressDialogFragment.newInstance(
this,
R.string.firmware_installing,
- task
+ task = task
).show(supportFragmentManager, IndeterminateProgressDialogFragment.TAG)
}
@@ -395,8 +432,9 @@ class MainActivity : AppCompatActivity(), ThemeProvider {
if (FileUtil.getExtension(result) != "bin") {
MessageDialogFragment.newInstance(
- R.string.reading_keys_failure,
- R.string.install_amiibo_keys_failure_extension_description
+ this,
+ titleId = R.string.reading_keys_failure,
+ descriptionId = R.string.install_amiibo_keys_failure_extension_description
).show(supportFragmentManager, MessageDialogFragment.TAG)
return@registerForActivityResult
}
@@ -422,9 +460,10 @@ class MainActivity : AppCompatActivity(), ThemeProvider {
).show()
} else {
MessageDialogFragment.newInstance(
- R.string.invalid_keys_error,
- R.string.install_keys_failure_description,
- R.string.dumping_keys_quickstart_link
+ this,
+ titleId = R.string.invalid_keys_error,
+ descriptionId = R.string.install_keys_failure_description,
+ helpLinkId = R.string.dumping_keys_quickstart_link
).show(supportFragmentManager, MessageDialogFragment.TAG)
}
}
@@ -489,104 +528,330 @@ class MainActivity : AppCompatActivity(), ThemeProvider {
if (documents.isNotEmpty()) {
IndeterminateProgressDialogFragment.newInstance(
this@MainActivity,
- R.string.install_game_content
+ R.string.installing_game_content
) {
var installSuccess = 0
var installOverwrite = 0
var errorBaseGame = 0
var errorExtension = 0
var errorOther = 0
- var errorTotal = 0
- lifecycleScope.launch {
- documents.forEach {
- when (NativeLibrary.installFileToNand(it.toString())) {
- NativeLibrary.InstallFileToNandResult.Success -> {
- installSuccess += 1
- }
-
- NativeLibrary.InstallFileToNandResult.SuccessFileOverwritten -> {
- installOverwrite += 1
- }
-
- NativeLibrary.InstallFileToNandResult.ErrorBaseGame -> {
- errorBaseGame += 1
- }
-
- NativeLibrary.InstallFileToNandResult.ErrorFilenameExtension -> {
- errorExtension += 1
- }
-
- else -> {
- errorOther += 1
- }
+ documents.forEach {
+ when (
+ NativeLibrary.installFileToNand(
+ it.toString(),
+ FileUtil.getExtension(it)
+ )
+ ) {
+ NativeLibrary.InstallFileToNandResult.Success -> {
+ installSuccess += 1
}
- }
- withContext(Dispatchers.Main) {
- val separator = System.getProperty("line.separator") ?: "\n"
- val installResult = StringBuilder()
- if (installSuccess > 0) {
- installResult.append(
- getString(
- R.string.install_game_content_success_install,
- installSuccess
- )
- )
- installResult.append(separator)
+
+ NativeLibrary.InstallFileToNandResult.SuccessFileOverwritten -> {
+ installOverwrite += 1
}
- if (installOverwrite > 0) {
- installResult.append(
- getString(
- R.string.install_game_content_success_overwrite,
- installOverwrite
- )
- )
- installResult.append(separator)
+
+ NativeLibrary.InstallFileToNandResult.ErrorBaseGame -> {
+ errorBaseGame += 1
}
- errorTotal = errorBaseGame + errorExtension + errorOther
- if (errorTotal > 0) {
- installResult.append(separator)
- installResult.append(
- getString(
- R.string.install_game_content_failed_count,
- errorTotal
- )
- )
- installResult.append(separator)
- if (errorBaseGame > 0) {
- installResult.append(separator)
- installResult.append(
- getString(R.string.install_game_content_failure_base)
- )
- installResult.append(separator)
- }
- if (errorExtension > 0) {
- installResult.append(separator)
- installResult.append(
- getString(R.string.install_game_content_failure_file_extension)
- )
- installResult.append(separator)
- }
- if (errorOther > 0) {
- installResult.append(
- getString(R.string.install_game_content_failure_description)
- )
- installResult.append(separator)
- }
- LongMessageDialogFragment.newInstance(
- R.string.install_game_content_failure,
- installResult.toString().trim(),
- R.string.install_game_content_help_link
- ).show(supportFragmentManager, LongMessageDialogFragment.TAG)
- } else {
- LongMessageDialogFragment.newInstance(
- R.string.install_game_content_success,
- installResult.toString().trim()
- ).show(supportFragmentManager, LongMessageDialogFragment.TAG)
+
+ NativeLibrary.InstallFileToNandResult.ErrorFilenameExtension -> {
+ errorExtension += 1
+ }
+
+ else -> {
+ errorOther += 1
}
}
}
- return@newInstance installSuccess + installOverwrite + errorTotal
+
+ val separator = System.getProperty("line.separator") ?: "\n"
+ val installResult = StringBuilder()
+ if (installSuccess > 0) {
+ installResult.append(
+ getString(
+ R.string.install_game_content_success_install,
+ installSuccess
+ )
+ )
+ installResult.append(separator)
+ }
+ if (installOverwrite > 0) {
+ installResult.append(
+ getString(
+ R.string.install_game_content_success_overwrite,
+ installOverwrite
+ )
+ )
+ installResult.append(separator)
+ }
+ val errorTotal: Int = errorBaseGame + errorExtension + errorOther
+ if (errorTotal > 0) {
+ installResult.append(separator)
+ installResult.append(
+ getString(
+ R.string.install_game_content_failed_count,
+ errorTotal
+ )
+ )
+ installResult.append(separator)
+ if (errorBaseGame > 0) {
+ installResult.append(separator)
+ installResult.append(
+ getString(R.string.install_game_content_failure_base)
+ )
+ installResult.append(separator)
+ }
+ if (errorExtension > 0) {
+ installResult.append(separator)
+ installResult.append(
+ getString(R.string.install_game_content_failure_file_extension)
+ )
+ installResult.append(separator)
+ }
+ if (errorOther > 0) {
+ installResult.append(
+ getString(R.string.install_game_content_failure_description)
+ )
+ installResult.append(separator)
+ }
+ return@newInstance MessageDialogFragment.newInstance(
+ this,
+ titleId = R.string.install_game_content_failure,
+ descriptionString = installResult.toString().trim(),
+ helpLinkId = R.string.install_game_content_help_link
+ )
+ } else {
+ return@newInstance MessageDialogFragment.newInstance(
+ this,
+ titleId = R.string.install_game_content_success,
+ descriptionString = installResult.toString().trim()
+ )
+ }
+ }.show(supportFragmentManager, IndeterminateProgressDialogFragment.TAG)
+ }
+ }
+
+ val exportUserData = registerForActivityResult(
+ ActivityResultContracts.CreateDocument("application/zip")
+ ) { result ->
+ if (result == null) {
+ return@registerForActivityResult
+ }
+
+ IndeterminateProgressDialogFragment.newInstance(
+ this,
+ R.string.exporting_user_data,
+ true
+ ) {
+ val zipResult = FileUtil.zipFromInternalStorage(
+ File(DirectoryInitialization.userDirectory!!),
+ DirectoryInitialization.userDirectory!!,
+ BufferedOutputStream(contentResolver.openOutputStream(result)),
+ taskViewModel.cancelled
+ )
+ return@newInstance when (zipResult) {
+ TaskState.Completed -> getString(R.string.user_data_export_success)
+ TaskState.Failed -> R.string.export_failed
+ TaskState.Cancelled -> R.string.user_data_export_cancelled
+ }
+ }.show(supportFragmentManager, IndeterminateProgressDialogFragment.TAG)
+ }
+
+ val importUserData =
+ registerForActivityResult(ActivityResultContracts.OpenDocument()) { result ->
+ if (result == null) {
+ return@registerForActivityResult
+ }
+
+ IndeterminateProgressDialogFragment.newInstance(
+ this,
+ R.string.importing_user_data
+ ) {
+ val checkStream =
+ ZipInputStream(BufferedInputStream(contentResolver.openInputStream(result)))
+ var isYuzuBackup = false
+ checkStream.use { stream ->
+ var ze: ZipEntry? = null
+ while (stream.nextEntry?.also { ze = it } != null) {
+ val itemName = ze!!.name.trim()
+ if (itemName == "/config/config.ini" || itemName == "config/config.ini") {
+ isYuzuBackup = true
+ return@use
+ }
+ }
+ }
+ if (!isYuzuBackup) {
+ return@newInstance MessageDialogFragment.newInstance(
+ this,
+ titleId = R.string.invalid_yuzu_backup,
+ descriptionId = R.string.user_data_import_failed_description
+ )
+ }
+
+ // Clear existing user data
+ File(DirectoryInitialization.userDirectory!!).deleteRecursively()
+
+ // Copy archive to internal storage
+ try {
+ FileUtil.unzipToInternalStorage(
+ BufferedInputStream(contentResolver.openInputStream(result)),
+ File(DirectoryInitialization.userDirectory!!)
+ )
+ } catch (e: Exception) {
+ return@newInstance MessageDialogFragment.newInstance(
+ this,
+ titleId = R.string.import_failed,
+ descriptionId = R.string.user_data_import_failed_description
+ )
+ }
+
+ // Reinitialize relevant data
+ NativeLibrary.initializeEmulation()
+ gamesViewModel.reloadGames(false)
+
+ return@newInstance getString(R.string.user_data_import_success)
}.show(supportFragmentManager, IndeterminateProgressDialogFragment.TAG)
}
+
+ /**
+ * Zips the save files located in the given folder path and creates a new zip file with the current date and time.
+ * @return true if the zip file is successfully created, false otherwise.
+ */
+ private fun zipSave(): Boolean {
+ try {
+ val tempFolder = File(getPublicFilesDir().canonicalPath, "temp")
+ tempFolder.mkdirs()
+ val saveFolder = File(savesFolderRoot)
+ val outputZipFile = File(
+ tempFolder,
+ "yuzu saves - ${
+ LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm"))
+ }.zip"
+ )
+ outputZipFile.createNewFile()
+ val result = FileUtil.zipFromInternalStorage(
+ saveFolder,
+ savesFolderRoot,
+ BufferedOutputStream(FileOutputStream(outputZipFile))
+ )
+ if (result == TaskState.Failed) {
+ return false
+ }
+ lastZipCreated = outputZipFile
+ } catch (e: Exception) {
+ return false
+ }
+ return true
+ }
+
+ /**
+ * Exports the save file located in the given folder path by creating a zip file and sharing it via intent.
+ */
+ fun exportSave() {
+ CoroutineScope(Dispatchers.IO).launch {
+ val wasZipCreated = zipSave()
+ val lastZipFile = lastZipCreated
+ if (!wasZipCreated || lastZipFile == null) {
+ withContext(Dispatchers.Main) {
+ Toast.makeText(
+ this@MainActivity,
+ getString(R.string.export_save_failed),
+ Toast.LENGTH_LONG
+ ).show()
+ }
+ return@launch
+ }
+
+ withContext(Dispatchers.Main) {
+ val file = DocumentFile.fromSingleUri(
+ this@MainActivity,
+ DocumentsContract.buildDocumentUri(
+ DocumentProvider.AUTHORITY,
+ "${DocumentProvider.ROOT_ID}/temp/${lastZipFile.name}"
+ )
+ )!!
+ val intent = Intent(Intent.ACTION_SEND)
+ .setDataAndType(file.uri, "application/zip")
+ .addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
+ .putExtra(Intent.EXTRA_STREAM, file.uri)
+ startForResultExportSave.launch(
+ Intent.createChooser(
+ intent,
+ getString(R.string.share_save_file)
+ )
+ )
+ }
+ }
}
+
+ private val startForResultExportSave =
+ registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { _ ->
+ File(getPublicFilesDir().canonicalPath, "temp").deleteRecursively()
+ }
+
+ val importSaves =
+ registerForActivityResult(ActivityResultContracts.OpenDocument()) { result ->
+ if (result == null) {
+ return@registerForActivityResult
+ }
+
+ NativeLibrary.initializeEmptyUserDirectory()
+
+ val inputZip = contentResolver.openInputStream(result)
+ // A zip needs to have at least one subfolder named after a TitleId in order to be considered valid.
+ var validZip = false
+ val savesFolder = File(savesFolderRoot)
+ val cacheSaveDir = File("${applicationContext.cacheDir.path}/saves/")
+ cacheSaveDir.mkdir()
+
+ if (inputZip == null) {
+ Toast.makeText(
+ applicationContext,
+ getString(R.string.fatal_error),
+ Toast.LENGTH_LONG
+ ).show()
+ return@registerForActivityResult
+ }
+
+ val filterTitleId =
+ FilenameFilter { _, dirName -> dirName.matches(Regex("^0100[\\dA-Fa-f]{12}$")) }
+
+ try {
+ CoroutineScope(Dispatchers.IO).launch {
+ FileUtil.unzipToInternalStorage(BufferedInputStream(inputZip), cacheSaveDir)
+ cacheSaveDir.list(filterTitleId)?.forEach { savePath ->
+ File(savesFolder, savePath).deleteRecursively()
+ File(cacheSaveDir, savePath).copyRecursively(
+ File(savesFolder, savePath),
+ true
+ )
+ validZip = true
+ }
+
+ withContext(Dispatchers.Main) {
+ if (!validZip) {
+ MessageDialogFragment.newInstance(
+ this@MainActivity,
+ titleId = R.string.save_file_invalid_zip_structure,
+ descriptionId = R.string.save_file_invalid_zip_structure_description
+ ).show(supportFragmentManager, MessageDialogFragment.TAG)
+ return@withContext
+ }
+ Toast.makeText(
+ applicationContext,
+ getString(R.string.save_file_imported_success),
+ Toast.LENGTH_LONG
+ ).show()
+ }
+
+ cacheSaveDir.deleteRecursively()
+ }
+ } catch (e: Exception) {
+ Toast.makeText(
+ applicationContext,
+ getString(R.string.fatal_error),
+ Toast.LENGTH_LONG
+ ).show()
+ }
+ }
}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/BiMap.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/BiMap.kt
deleted file mode 100644
index 9cfda74ee..000000000
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/BiMap.kt
+++ /dev/null
@@ -1,25 +0,0 @@
-// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-package org.yuzu.yuzu_emu.utils
-
-class BiMap<K, V> {
- private val forward: MutableMap<K, V> = HashMap()
- private val backward: MutableMap<V, K> = HashMap()
-
- @Synchronized
- fun add(key: K, value: V) {
- forward[key] = value
- backward[value] = key
- }
-
- @Synchronized
- fun getForward(key: K): V? {
- return forward[key]
- }
-
- @Synchronized
- fun getBackward(key: V): K? {
- return backward[key]
- }
-}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DirectoryInitialization.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DirectoryInitialization.kt
index 2ee63697e..3c9f6bad0 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DirectoryInitialization.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/DirectoryInitialization.kt
@@ -3,18 +3,18 @@
package org.yuzu.yuzu_emu.utils
-import android.content.Context
import java.io.IOException
import org.yuzu.yuzu_emu.NativeLibrary
+import org.yuzu.yuzu_emu.YuzuApplication
object DirectoryInitialization {
private var userPath: String? = null
var areDirectoriesReady: Boolean = false
- fun start(context: Context) {
+ fun start() {
if (!areDirectoriesReady) {
- initializeInternalStorage(context)
+ initializeInternalStorage()
NativeLibrary.initializeEmulation()
areDirectoriesReady = true
}
@@ -26,9 +26,9 @@ object DirectoryInitialization {
return userPath
}
- private fun initializeInternalStorage(context: Context) {
+ private fun initializeInternalStorage() {
try {
- userPath = context.getExternalFilesDir(null)!!.canonicalPath
+ userPath = YuzuApplication.appContext.getExternalFilesDir(null)!!.canonicalPath
NativeLibrary.setAppDirectory(userPath!!)
} catch (e: IOException) {
e.printStackTrace()
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/FileUtil.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/FileUtil.kt
index 142af5f26..c3f53f1c5 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/FileUtil.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/FileUtil.kt
@@ -8,6 +8,7 @@ import android.database.Cursor
import android.net.Uri
import android.provider.DocumentsContract
import androidx.documentfile.provider.DocumentFile
+import kotlinx.coroutines.flow.StateFlow
import java.io.BufferedInputStream
import java.io.File
import java.io.FileOutputStream
@@ -18,6 +19,9 @@ import java.util.zip.ZipEntry
import java.util.zip.ZipInputStream
import org.yuzu.yuzu_emu.YuzuApplication
import org.yuzu.yuzu_emu.model.MinimalDocumentFile
+import org.yuzu.yuzu_emu.model.TaskState
+import java.io.BufferedOutputStream
+import java.util.zip.ZipOutputStream
object FileUtil {
const val PATH_TREE = "tree"
@@ -282,30 +286,65 @@ object FileUtil {
/**
* Extracts the given zip file into the given directory.
- * @exception IOException if the file was being created outside of the target directory
*/
@Throws(SecurityException::class)
- fun unzip(zipStream: InputStream, destDir: File): Boolean {
- ZipInputStream(BufferedInputStream(zipStream)).use { zis ->
+ fun unzipToInternalStorage(zipStream: BufferedInputStream, destDir: File) {
+ ZipInputStream(zipStream).use { zis ->
var entry: ZipEntry? = zis.nextEntry
while (entry != null) {
- val entryName = entry.name
- val entryFile = File(destDir, entryName)
- if (!entryFile.canonicalPath.startsWith(destDir.canonicalPath + File.separator)) {
- throw SecurityException("Entry is outside of the target dir: " + entryFile.name)
+ val newFile = File(destDir, entry.name)
+ val destinationDirectory = if (entry.isDirectory) newFile else newFile.parentFile
+
+ if (!newFile.canonicalPath.startsWith(destDir.canonicalPath + File.separator)) {
+ throw SecurityException("Zip file attempted path traversal! ${entry.name}")
+ }
+
+ if (!destinationDirectory.isDirectory && !destinationDirectory.mkdirs()) {
+ throw IOException("Failed to create directory $destinationDirectory")
}
- if (entry.isDirectory) {
- entryFile.mkdirs()
- } else {
- entryFile.parentFile?.mkdirs()
- entryFile.createNewFile()
- entryFile.outputStream().use { fos -> zis.copyTo(fos) }
+
+ if (!entry.isDirectory) {
+ newFile.outputStream().use { fos -> zis.copyTo(fos) }
}
entry = zis.nextEntry
}
}
+ }
- return true
+ /**
+ * Creates a zip file from a directory within internal storage
+ * @param inputFile File representation of the item that will be zipped
+ * @param rootDir Directory containing the inputFile
+ * @param outputStream Stream where the zip file will be output
+ */
+ fun zipFromInternalStorage(
+ inputFile: File,
+ rootDir: String,
+ outputStream: BufferedOutputStream,
+ cancelled: StateFlow<Boolean>? = null
+ ): TaskState {
+ try {
+ ZipOutputStream(outputStream).use { zos ->
+ inputFile.walkTopDown().forEach { file ->
+ if (cancelled?.value == true) {
+ return TaskState.Cancelled
+ }
+
+ if (!file.isDirectory) {
+ val entryName =
+ file.absolutePath.removePrefix(rootDir).removePrefix("/")
+ val entry = ZipEntry(entryName)
+ zos.putNextEntry(entry)
+ if (file.isFile) {
+ file.inputStream().use { fis -> fis.copyTo(zos) }
+ }
+ }
+ }
+ }
+ } catch (e: Exception) {
+ return TaskState.Failed
+ }
+ return TaskState.Completed
}
fun isRootTreeUri(uri: Uri): Boolean {
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameHelper.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameHelper.kt
index f8e7eeca7..e0ee29c9b 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameHelper.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameHelper.kt
@@ -11,6 +11,7 @@ import kotlinx.serialization.json.Json
import org.yuzu.yuzu_emu.NativeLibrary
import org.yuzu.yuzu_emu.YuzuApplication
import org.yuzu.yuzu_emu.model.Game
+import org.yuzu.yuzu_emu.model.MinimalDocumentFile
object GameHelper {
const val KEY_GAME_PATH = "game_path"
@@ -29,15 +30,7 @@ object GameHelper {
// Ensure keys are loaded so that ROM metadata can be decrypted.
NativeLibrary.reloadKeys()
- val children = FileUtil.listFiles(context, gamesUri)
- for (file in children) {
- if (!file.isDirectory) {
- // Check that the file has an extension we care about before trying to read out of it.
- if (Game.extensions.contains(FileUtil.getExtension(file.uri))) {
- games.add(getGame(file.uri))
- }
- }
- }
+ addGamesRecursive(games, FileUtil.listFiles(context, gamesUri), 3)
// Cache list of games found on disk
val serializedGames = mutableSetOf<String>()
@@ -52,7 +45,31 @@ object GameHelper {
return games.toList()
}
- private fun getGame(uri: Uri): Game {
+ private fun addGamesRecursive(
+ games: MutableList<Game>,
+ files: Array<MinimalDocumentFile>,
+ depth: Int
+ ) {
+ if (depth <= 0) {
+ return
+ }
+
+ files.forEach {
+ if (it.isDirectory) {
+ addGamesRecursive(
+ games,
+ FileUtil.listFiles(YuzuApplication.appContext, it.uri),
+ depth - 1
+ )
+ } else {
+ if (Game.extensions.contains(FileUtil.getExtension(it.uri))) {
+ games.add(getGame(it.uri, true))
+ }
+ }
+ }
+ }
+
+ fun getGame(uri: Uri, addedToLibrary: Boolean): Game {
val filePath = uri.toString()
var name = NativeLibrary.getTitle(filePath)
@@ -77,11 +94,13 @@ object GameHelper {
NativeLibrary.isHomebrew(filePath)
)
- val addedTime = preferences.getLong(newGame.keyAddedToLibraryTime, 0L)
- if (addedTime == 0L) {
- preferences.edit()
- .putLong(newGame.keyAddedToLibraryTime, System.currentTimeMillis())
- .apply()
+ if (addedToLibrary) {
+ val addedTime = preferences.getLong(newGame.keyAddedToLibraryTime, 0L)
+ if (addedTime == 0L) {
+ preferences.edit()
+ .putLong(newGame.keyAddedToLibraryTime, System.currentTimeMillis())
+ .apply()
+ }
}
return newGame
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameIconUtils.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameIconUtils.kt
new file mode 100644
index 000000000..9fe99fab1
--- /dev/null
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/GameIconUtils.kt
@@ -0,0 +1,88 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+package org.yuzu.yuzu_emu.utils
+
+import android.graphics.Bitmap
+import android.graphics.BitmapFactory
+import android.widget.ImageView
+import androidx.core.graphics.drawable.toBitmap
+import androidx.core.graphics.drawable.toDrawable
+import coil.ImageLoader
+import coil.decode.DataSource
+import coil.executeBlocking
+import coil.fetch.DrawableResult
+import coil.fetch.FetchResult
+import coil.fetch.Fetcher
+import coil.key.Keyer
+import coil.memory.MemoryCache
+import coil.request.ImageRequest
+import coil.request.Options
+import org.yuzu.yuzu_emu.NativeLibrary
+import org.yuzu.yuzu_emu.R
+import org.yuzu.yuzu_emu.YuzuApplication
+import org.yuzu.yuzu_emu.model.Game
+
+class GameIconFetcher(
+ private val game: Game,
+ private val options: Options
+) : Fetcher {
+ override suspend fun fetch(): FetchResult {
+ return DrawableResult(
+ drawable = decodeGameIcon(game.path)!!.toDrawable(options.context.resources),
+ isSampled = false,
+ dataSource = DataSource.DISK
+ )
+ }
+
+ private fun decodeGameIcon(uri: String): Bitmap? {
+ val data = NativeLibrary.getIcon(uri)
+ return BitmapFactory.decodeByteArray(
+ data,
+ 0,
+ data.size,
+ BitmapFactory.Options()
+ )
+ }
+
+ class Factory : Fetcher.Factory<Game> {
+ override fun create(data: Game, options: Options, imageLoader: ImageLoader): Fetcher =
+ GameIconFetcher(data, options)
+ }
+}
+
+class GameIconKeyer : Keyer<Game> {
+ override fun key(data: Game, options: Options): String = data.path
+}
+
+object GameIconUtils {
+ private val imageLoader = ImageLoader.Builder(YuzuApplication.appContext)
+ .components {
+ add(GameIconKeyer())
+ add(GameIconFetcher.Factory())
+ }
+ .memoryCache {
+ MemoryCache.Builder(YuzuApplication.appContext)
+ .maxSizePercent(0.25)
+ .build()
+ }
+ .build()
+
+ fun loadGameIcon(game: Game, imageView: ImageView) {
+ val request = ImageRequest.Builder(YuzuApplication.appContext)
+ .data(game)
+ .target(imageView)
+ .error(R.drawable.default_icon)
+ .build()
+ imageLoader.enqueue(request)
+ }
+
+ fun getGameIcon(game: Game): Bitmap {
+ val request = ImageRequest.Builder(YuzuApplication.appContext)
+ .data(game)
+ .error(R.drawable.default_icon)
+ .build()
+ return imageLoader.executeBlocking(request)
+ .drawable!!.toBitmap(config = Bitmap.Config.ARGB_8888)
+ }
+}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/NativeConfig.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/NativeConfig.kt
new file mode 100644
index 000000000..9425f8b99
--- /dev/null
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/NativeConfig.kt
@@ -0,0 +1,33 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+package org.yuzu.yuzu_emu.utils
+
+object NativeConfig {
+ external fun getBoolean(key: String, getDefault: Boolean): Boolean
+ external fun setBoolean(key: String, value: Boolean)
+
+ external fun getByte(key: String, getDefault: Boolean): Byte
+ external fun setByte(key: String, value: Byte)
+
+ external fun getShort(key: String, getDefault: Boolean): Short
+ external fun setShort(key: String, value: Short)
+
+ external fun getInt(key: String, getDefault: Boolean): Int
+ external fun setInt(key: String, value: Int)
+
+ external fun getFloat(key: String, getDefault: Boolean): Float
+ external fun setFloat(key: String, value: Float)
+
+ external fun getLong(key: String, getDefault: Boolean): Long
+ external fun setLong(key: String, value: Long)
+
+ external fun getString(key: String, getDefault: Boolean): String
+ external fun setString(key: String, value: String)
+
+ external fun getIsRuntimeModifiable(key: String): Boolean
+
+ external fun getConfigHeader(category: Int): String
+
+ external fun getPairedSettingKey(key: String): String
+}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ViewUtils.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ViewUtils.kt
new file mode 100644
index 000000000..f9a3e4126
--- /dev/null
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/utils/ViewUtils.kt
@@ -0,0 +1,35 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+package org.yuzu.yuzu_emu.utils
+
+import android.view.View
+
+object ViewUtils {
+ fun showView(view: View, length: Long = 300) {
+ view.apply {
+ alpha = 0f
+ visibility = View.VISIBLE
+ isClickable = true
+ }.animate().apply {
+ duration = length
+ alpha(1f)
+ }.start()
+ }
+
+ fun hideView(view: View, length: Long = 300) {
+ if (view.visibility == View.INVISIBLE) {
+ return
+ }
+
+ view.apply {
+ alpha = 1f
+ isClickable = false
+ }.animate().apply {
+ duration = length
+ alpha(0f)
+ }.withEndAction {
+ view.visibility = View.INVISIBLE
+ }.start()
+ }
+}
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/views/FixedRatioSurfaceView.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/views/FixedRatioSurfaceView.kt
index 685ccaa76..2f0868c63 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/views/FixedRatioSurfaceView.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/views/FixedRatioSurfaceView.kt
@@ -7,7 +7,6 @@ import android.content.Context
import android.util.AttributeSet
import android.util.Rational
import android.view.SurfaceView
-import kotlin.math.roundToInt
class FixedRatioSurfaceView @JvmOverloads constructor(
context: Context,
@@ -22,27 +21,44 @@ class FixedRatioSurfaceView @JvmOverloads constructor(
*/
fun setAspectRatio(ratio: Rational?) {
aspectRatio = ratio?.toFloat() ?: 0f
+ requestLayout()
}
override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) {
- super.onMeasure(widthMeasureSpec, heightMeasureSpec)
- val width = MeasureSpec.getSize(widthMeasureSpec)
- val height = MeasureSpec.getSize(heightMeasureSpec)
+ val displayWidth: Float = MeasureSpec.getSize(widthMeasureSpec).toFloat()
+ val displayHeight: Float = MeasureSpec.getSize(heightMeasureSpec).toFloat()
if (aspectRatio != 0f) {
- val newWidth: Int
- val newHeight: Int
- if (height * aspectRatio < width) {
- newWidth = (height * aspectRatio).roundToInt()
- newHeight = height
+ val displayAspect = displayWidth / displayHeight
+ if (displayAspect < aspectRatio) {
+ // Max out width
+ val halfHeight = displayHeight / 2
+ val surfaceHeight = displayWidth / aspectRatio
+ val newTop: Float = halfHeight - (surfaceHeight / 2)
+ val newBottom: Float = halfHeight + (surfaceHeight / 2)
+ super.onMeasure(
+ widthMeasureSpec,
+ MeasureSpec.makeMeasureSpec(
+ newBottom.toInt() - newTop.toInt(),
+ MeasureSpec.EXACTLY
+ )
+ )
+ return
} else {
- newWidth = width
- newHeight = (width / aspectRatio).roundToInt()
+ // Max out height
+ val halfWidth = displayWidth / 2
+ val surfaceWidth = displayHeight * aspectRatio
+ val newLeft: Float = halfWidth - (surfaceWidth / 2)
+ val newRight: Float = halfWidth + (surfaceWidth / 2)
+ super.onMeasure(
+ MeasureSpec.makeMeasureSpec(
+ newRight.toInt() - newLeft.toInt(),
+ MeasureSpec.EXACTLY
+ ),
+ heightMeasureSpec
+ )
+ return
}
- val left = (width - newWidth) / 2
- val top = (height - newHeight) / 2
- setLeftTopRightBottom(left, top, left + newWidth, top + newHeight)
- } else {
- setLeftTopRightBottom(0, 0, width, height)
}
+ super.onMeasure(widthMeasureSpec, heightMeasureSpec)
}
}
diff --git a/src/android/app/src/main/jni/CMakeLists.txt b/src/android/app/src/main/jni/CMakeLists.txt
index e2ed08e9f..e15d1480b 100644
--- a/src/android/app/src/main/jni/CMakeLists.txt
+++ b/src/android/app/src/main/jni/CMakeLists.txt
@@ -14,6 +14,8 @@ add_library(yuzu-android SHARED
id_cache.cpp
id_cache.h
native.cpp
+ native_config.cpp
+ uisettings.cpp
)
set_property(TARGET yuzu-android PROPERTY IMPORTED_LOCATION ${FFmpeg_LIBRARY_DIR})
diff --git a/src/android/app/src/main/jni/config.cpp b/src/android/app/src/main/jni/config.cpp
index 43e8aa72a..81120ab0f 100644
--- a/src/android/app/src/main/jni/config.cpp
+++ b/src/android/app/src/main/jni/config.cpp
@@ -11,22 +11,25 @@
#include "common/fs/path_util.h"
#include "common/logging/log.h"
#include "common/settings.h"
+#include "common/settings_enums.h"
#include "core/hle/service/acc/profile_manager.h"
#include "input_common/main.h"
#include "jni/config.h"
#include "jni/default_ini.h"
+#include "uisettings.h"
namespace FS = Common::FS;
-Config::Config(std::optional<std::filesystem::path> config_path)
- : config_loc{config_path.value_or(FS::GetYuzuPath(FS::YuzuPath::ConfigDir) / "config.ini")},
- config{std::make_unique<INIReader>(FS::PathToUTF8String(config_loc))} {
- Reload();
+Config::Config(const std::string& config_name, ConfigType config_type)
+ : type(config_type), global{config_type == ConfigType::GlobalConfig} {
+ Initialize(config_name);
}
Config::~Config() = default;
bool Config::LoadINI(const std::string& default_contents, bool retry) {
+ void(FS::CreateParentDir(config_loc));
+ config = std::make_unique<INIReader>(FS::PathToUTF8String(config_loc));
const auto config_loc_str = FS::PathToUTF8String(config_loc);
if (config->ParseError() < 0) {
if (retry) {
@@ -144,21 +147,25 @@ void Config::ReadValues() {
Service::Account::MAX_USERS - 1);
// Disable docked mode by default on Android
- Settings::values.use_docked_mode = config->GetBoolean("System", "use_docked_mode", false);
+ Settings::values.use_docked_mode.SetValue(config->GetBoolean("System", "use_docked_mode", false)
+ ? Settings::ConsoleMode::Docked
+ : Settings::ConsoleMode::Handheld);
const auto rng_seed_enabled = config->GetBoolean("System", "rng_seed_enabled", false);
if (rng_seed_enabled) {
Settings::values.rng_seed.SetValue(config->GetInteger("System", "rng_seed", 0));
} else {
- Settings::values.rng_seed.SetValue(std::nullopt);
+ Settings::values.rng_seed.SetValue(0);
}
+ Settings::values.rng_seed_enabled.SetValue(rng_seed_enabled);
const auto custom_rtc_enabled = config->GetBoolean("System", "custom_rtc_enabled", false);
if (custom_rtc_enabled) {
Settings::values.custom_rtc = config->GetInteger("System", "custom_rtc", 0);
} else {
- Settings::values.custom_rtc = std::nullopt;
+ Settings::values.custom_rtc = 0;
}
+ Settings::values.custom_rtc_enabled = custom_rtc_enabled;
ReadSetting("System", Settings::values.language_index);
ReadSetting("System", Settings::values.region_index);
@@ -167,7 +174,7 @@ void Config::ReadValues() {
// Core
ReadSetting("Core", Settings::values.use_multi_core);
- ReadSetting("Core", Settings::values.use_unsafe_extended_memory_layout);
+ ReadSetting("Core", Settings::values.memory_layout_mode);
// Cpu
ReadSetting("Cpu", Settings::values.cpu_accuracy);
@@ -222,14 +229,17 @@ void Config::ReadValues() {
ReadSetting("Renderer", Settings::values.bg_blue);
// Use GPU accuracy normal by default on Android
- Settings::values.gpu_accuracy = static_cast<Settings::GPUAccuracy>(config->GetInteger(
- "Renderer", "gpu_accuracy", static_cast<u32>(Settings::GPUAccuracy::Normal)));
+ Settings::values.gpu_accuracy = static_cast<Settings::GpuAccuracy>(config->GetInteger(
+ "Renderer", "gpu_accuracy", static_cast<u32>(Settings::GpuAccuracy::Normal)));
// Use GPU default anisotropic filtering on Android
- Settings::values.max_anisotropy = config->GetInteger("Renderer", "max_anisotropy", 1);
+ Settings::values.max_anisotropy =
+ static_cast<Settings::AnisotropyMode>(config->GetInteger("Renderer", "max_anisotropy", 1));
// Disable ASTC compute by default on Android
- Settings::values.accelerate_astc = config->GetBoolean("Renderer", "accelerate_astc", false);
+ Settings::values.accelerate_astc.SetValue(
+ config->GetBoolean("Renderer", "accelerate_astc", false) ? Settings::AstcDecodeMode::Gpu
+ : Settings::AstcDecodeMode::Cpu);
// Enable asynchronous presentation by default on Android
Settings::values.async_presentation =
@@ -272,7 +282,7 @@ void Config::ReadValues() {
std::stringstream ss(title_list);
std::string line;
while (std::getline(ss, line, '|')) {
- const auto title_id = std::stoul(line, nullptr, 16);
+ const auto title_id = std::strtoul(line.c_str(), nullptr, 16);
const auto disabled_list = config->Get("AddOns", "disabled_" + line, "");
std::stringstream inner_ss(disabled_list);
@@ -293,9 +303,28 @@ void Config::ReadValues() {
// Network
ReadSetting("Network", Settings::values.network_interface);
+
+ // Android
+ ReadSetting("Android", AndroidSettings::values.picture_in_picture);
+ ReadSetting("Android", AndroidSettings::values.screen_layout);
}
-void Config::Reload() {
+void Config::Initialize(const std::string& config_name) {
+ const auto fs_config_loc = FS::GetYuzuPath(FS::YuzuPath::ConfigDir);
+ const auto config_file = fmt::format("{}.ini", config_name);
+
+ switch (type) {
+ case ConfigType::GlobalConfig:
+ config_loc = FS::PathToUTF8String(fs_config_loc / config_file);
+ break;
+ case ConfigType::PerGameConfig:
+ config_loc = FS::PathToUTF8String(fs_config_loc / "custom" / FS::ToU8String(config_file));
+ break;
+ case ConfigType::InputProfile:
+ config_loc = FS::PathToUTF8String(fs_config_loc / "input" / config_file);
+ LoadINI(DefaultINI::android_config_file);
+ return;
+ }
LoadINI(DefaultINI::android_config_file);
ReadValues();
}
diff --git a/src/android/app/src/main/jni/config.h b/src/android/app/src/main/jni/config.h
index 0d7d6e94d..e1e8f47ed 100644
--- a/src/android/app/src/main/jni/config.h
+++ b/src/android/app/src/main/jni/config.h
@@ -13,25 +13,35 @@
class INIReader;
class Config {
- std::filesystem::path config_loc;
- std::unique_ptr<INIReader> config;
-
bool LoadINI(const std::string& default_contents = "", bool retry = true);
- void ReadValues();
public:
- explicit Config(std::optional<std::filesystem::path> config_path = std::nullopt);
+ enum class ConfigType {
+ GlobalConfig,
+ PerGameConfig,
+ InputProfile,
+ };
+
+ explicit Config(const std::string& config_name = "config",
+ ConfigType config_type = ConfigType::GlobalConfig);
~Config();
- void Reload();
+ void Initialize(const std::string& config_name);
private:
/**
- * Applies a value read from the sdl2_config to a Setting.
+ * Applies a value read from the config to a Setting.
*
* @param group The name of the INI group
* @param setting The yuzu setting to modify
*/
template <typename Type, bool ranged>
void ReadSetting(const std::string& group, Settings::Setting<Type, ranged>& setting);
+
+ void ReadValues();
+
+ const ConfigType type;
+ std::unique_ptr<INIReader> config;
+ std::string config_loc;
+ const bool global;
};
diff --git a/src/android/app/src/main/jni/emu_window/emu_window.cpp b/src/android/app/src/main/jni/emu_window/emu_window.cpp
index a890c6604..a7e414b81 100644
--- a/src/android/app/src/main/jni/emu_window/emu_window.cpp
+++ b/src/android/app/src/main/jni/emu_window/emu_window.cpp
@@ -11,6 +11,12 @@
#include "jni/emu_window/emu_window.h"
void EmuWindow_Android::OnSurfaceChanged(ANativeWindow* surface) {
+ m_window_width = ANativeWindow_getWidth(surface);
+ m_window_height = ANativeWindow_getHeight(surface);
+
+ // Ensures that we emulate with the correct aspect ratio.
+ UpdateCurrentFramebufferLayout(m_window_width, m_window_height);
+
window_info.render_surface = reinterpret_cast<void*>(surface);
}
@@ -62,14 +68,8 @@ EmuWindow_Android::EmuWindow_Android(InputCommon::InputSubsystem* input_subsyste
return;
}
- m_window_width = ANativeWindow_getWidth(surface);
- m_window_height = ANativeWindow_getHeight(surface);
-
- // Ensures that we emulate with the correct aspect ratio.
- UpdateCurrentFramebufferLayout(m_window_width, m_window_height);
-
+ OnSurfaceChanged(surface);
window_info.type = Core::Frontend::WindowSystemType::Android;
- window_info.render_surface = reinterpret_cast<void*>(surface);
m_input_subsystem->Initialize();
}
diff --git a/src/android/app/src/main/jni/id_cache.cpp b/src/android/app/src/main/jni/id_cache.cpp
index 9cbbf23a3..960abf95a 100644
--- a/src/android/app/src/main/jni/id_cache.cpp
+++ b/src/android/app/src/main/jni/id_cache.cpp
@@ -15,6 +15,8 @@ static jclass s_disk_cache_progress_class;
static jclass s_load_callback_stage_class;
static jmethodID s_exit_emulation_activity;
static jmethodID s_disk_cache_load_progress;
+static jmethodID s_on_emulation_started;
+static jmethodID s_on_emulation_stopped;
static constexpr jint JNI_VERSION = JNI_VERSION_1_6;
@@ -59,6 +61,14 @@ jmethodID GetDiskCacheLoadProgress() {
return s_disk_cache_load_progress;
}
+jmethodID GetOnEmulationStarted() {
+ return s_on_emulation_started;
+}
+
+jmethodID GetOnEmulationStopped() {
+ return s_on_emulation_stopped;
+}
+
} // namespace IDCache
#ifdef __cplusplus
@@ -85,6 +95,10 @@ jint JNI_OnLoad(JavaVM* vm, void* reserved) {
env->GetStaticMethodID(s_native_library_class, "exitEmulationActivity", "(I)V");
s_disk_cache_load_progress =
env->GetStaticMethodID(s_disk_cache_progress_class, "loadProgress", "(III)V");
+ s_on_emulation_started =
+ env->GetStaticMethodID(s_native_library_class, "onEmulationStarted", "()V");
+ s_on_emulation_stopped =
+ env->GetStaticMethodID(s_native_library_class, "onEmulationStopped", "(I)V");
// Initialize Android Storage
Common::FS::Android::RegisterCallbacks(env, s_native_library_class);
diff --git a/src/android/app/src/main/jni/id_cache.h b/src/android/app/src/main/jni/id_cache.h
index be535fe1e..b76158928 100644
--- a/src/android/app/src/main/jni/id_cache.h
+++ b/src/android/app/src/main/jni/id_cache.h
@@ -15,5 +15,7 @@ jclass GetDiskCacheProgressClass();
jclass GetDiskCacheLoadCallbackStageClass();
jmethodID GetExitEmulationActivity();
jmethodID GetDiskCacheLoadProgress();
+jmethodID GetOnEmulationStarted();
+jmethodID GetOnEmulationStopped();
} // namespace IDCache
diff --git a/src/android/app/src/main/jni/native.cpp b/src/android/app/src/main/jni/native.cpp
index c23b2f19e..598f4e8bf 100644
--- a/src/android/app/src/main/jni/native.cpp
+++ b/src/android/app/src/main/jni/native.cpp
@@ -13,6 +13,8 @@
#include <android/api-level.h>
#include <android/native_window_jni.h>
+#include <common/fs/fs.h>
+#include <core/file_sys/savedata_factory.h>
#include <core/loader/nro.h>
#include <jni.h>
@@ -30,6 +32,7 @@
#include "core/cpu_manager.h"
#include "core/crypto/key_manager.h"
#include "core/file_sys/card_image.h"
+#include "core/file_sys/content_archive.h"
#include "core/file_sys/registered_cache.h"
#include "core/file_sys/submission_package.h"
#include "core/file_sys/vfs.h"
@@ -101,7 +104,7 @@ public:
m_native_window = native_window;
}
- int InstallFileToNand(std::string filename) {
+ int InstallFileToNand(std::string filename, std::string file_extension) {
jconst copy_func = [](const FileSys::VirtualFile& src, const FileSys::VirtualFile& dest,
std::size_t block_size) {
if (src == nullptr || dest == nullptr) {
@@ -133,15 +136,11 @@ public:
m_system.GetFileSystemController().CreateFactories(*m_vfs);
[[maybe_unused]] std::shared_ptr<FileSys::NSP> nsp;
- if (filename.ends_with("nsp")) {
+ if (file_extension == "nsp") {
nsp = std::make_shared<FileSys::NSP>(m_vfs->OpenFile(filename, FileSys::Mode::Read));
if (nsp->IsExtractedType()) {
return InstallError;
}
- } else if (filename.ends_with("xci")) {
- jconst xci =
- std::make_shared<FileSys::XCI>(m_vfs->OpenFile(filename, FileSys::Mode::Read));
- nsp = xci->GetSecurePartitionNSP();
} else {
return ErrorFilenameExtension;
}
@@ -202,12 +201,10 @@ public:
}
bool IsRunning() const {
- std::scoped_lock lock(m_mutex);
return m_is_running;
}
bool IsPaused() const {
- std::scoped_lock lock(m_mutex);
return m_is_running && m_is_paused;
}
@@ -221,20 +218,53 @@ public:
return;
}
m_window->OnSurfaceChanged(m_native_window);
- m_system.Renderer().NotifySurfaceChanged();
+ }
+
+ void ConfigureFilesystemProvider(const std::string& filepath) {
+ const auto file = m_system.GetFilesystem()->OpenFile(filepath, FileSys::Mode::Read);
+ if (!file) {
+ return;
+ }
+
+ auto loader = Loader::GetLoader(m_system, file);
+ if (!loader) {
+ return;
+ }
+
+ const auto file_type = loader->GetFileType();
+ if (file_type == Loader::FileType::Unknown || file_type == Loader::FileType::Error) {
+ return;
+ }
+
+ u64 program_id = 0;
+ const auto res2 = loader->ReadProgramId(program_id);
+ if (res2 == Loader::ResultStatus::Success && file_type == Loader::FileType::NCA) {
+ m_manual_provider->AddEntry(FileSys::TitleType::Application,
+ FileSys::GetCRTypeFromNCAType(FileSys::NCA{file}.GetType()),
+ program_id, file);
+ } else if (res2 == Loader::ResultStatus::Success &&
+ (file_type == Loader::FileType::XCI || file_type == Loader::FileType::NSP)) {
+ const auto nsp = file_type == Loader::FileType::NSP
+ ? std::make_shared<FileSys::NSP>(file)
+ : FileSys::XCI{file}.GetSecurePartitionNSP();
+ for (const auto& title : nsp->GetNCAs()) {
+ for (const auto& entry : title.second) {
+ m_manual_provider->AddEntry(entry.first.first, entry.first.second, title.first,
+ entry.second->GetBaseFile());
+ }
+ }
+ }
}
Core::SystemResultStatus InitializeEmulation(const std::string& filepath) {
std::scoped_lock lock(m_mutex);
- // Loads the configuration.
- Config{};
-
// Create the render window.
m_window = std::make_unique<EmuWindow_Android>(&m_input_subsystem, m_native_window,
m_vulkan_library);
m_system.SetFilesystem(m_vfs);
+ m_system.GetUserChannel().clear();
// Initialize system.
jauto android_keyboard = std::make_unique<SoftwareKeyboard::AndroidKeyboard>();
@@ -254,8 +284,14 @@ public:
std::move(android_keyboard), // Software Keyboard
nullptr, // Web Browser
});
+
+ // Initialize filesystem.
+ m_manual_provider = std::make_unique<FileSys::ManualContentProvider>();
m_system.SetContentProvider(std::make_unique<FileSys::ContentProviderUnion>());
+ m_system.RegisterContentProvider(FileSys::ContentProviderUnionSlot::FrontendManual,
+ m_manual_provider.get());
m_system.GetFileSystemController().CreateFactories(*m_vfs);
+ ConfigureFilesystemProvider(filepath);
// Initialize account manager
m_profile_manager = std::make_unique<Service::Account::ProfileManager>();
@@ -288,6 +324,9 @@ public:
m_system.ShutdownMainProcess();
m_detached_tasks.WaitForAllTasks();
m_load_result = Core::SystemResultStatus::ErrorNotInitialized;
+ m_window.reset();
+ OnEmulationStopped(Core::SystemResultStatus::Success);
+ return;
}
// Tear down the render window.
@@ -333,6 +372,8 @@ public:
m_system.InitializeDebugger();
}
+ OnEmulationStarted();
+
while (true) {
{
[[maybe_unused]] std::unique_lock lock(m_mutex);
@@ -377,7 +418,7 @@ public:
return false;
}
- return !Settings::values.use_docked_mode.GetValue();
+ return !Settings::IsDockedMode();
}
void SetDeviceType([[maybe_unused]] int index, int type) {
@@ -468,6 +509,18 @@ private:
static_cast<jint>(progress), static_cast<jint>(max));
}
+ static void OnEmulationStarted() {
+ JNIEnv* env = IDCache::GetEnvForThread();
+ env->CallStaticVoidMethod(IDCache::GetNativeLibraryClass(),
+ IDCache::GetOnEmulationStarted());
+ }
+
+ static void OnEmulationStopped(Core::SystemResultStatus result) {
+ JNIEnv* env = IDCache::GetEnvForThread();
+ env->CallStaticVoidMethod(IDCache::GetNativeLibraryClass(),
+ IDCache::GetOnEmulationStopped(), static_cast<jint>(result));
+ }
+
private:
static EmulationSession s_instance;
@@ -485,10 +538,11 @@ private:
Core::PerfStatsResults m_perf_stats{};
std::shared_ptr<FileSys::VfsFilesystem> m_vfs;
Core::SystemResultStatus m_load_result{Core::SystemResultStatus::ErrorNotInitialized};
- bool m_is_running{};
- bool m_is_paused{};
+ std::atomic<bool> m_is_running = false;
+ std::atomic<bool> m_is_paused = false;
SoftwareKeyboard::AndroidKeyboard* m_software_keyboard{};
std::unique_ptr<Service::Account::ProfileManager> m_profile_manager;
+ std::unique_ptr<FileSys::ManualContentProvider> m_manual_provider;
// GPU driver parameters
std::shared_ptr<Common::DynamicLibrary> m_vulkan_library;
@@ -550,8 +604,10 @@ void Java_org_yuzu_yuzu_1emu_NativeLibrary_setAppDirectory(JNIEnv* env, jobject
}
int Java_org_yuzu_yuzu_1emu_NativeLibrary_installFileToNand(JNIEnv* env, jobject instance,
- [[maybe_unused]] jstring j_file) {
- return EmulationSession::GetInstance().InstallFileToNand(GetJString(env, j_file));
+ jstring j_file,
+ jstring j_file_extension) {
+ return EmulationSession::GetInstance().InstallFileToNand(GetJString(env, j_file),
+ GetJString(env, j_file_extension));
}
void JNICALL Java_org_yuzu_yuzu_1emu_NativeLibrary_initializeGpuDriver(JNIEnv* env, jclass clazz,
@@ -613,18 +669,6 @@ jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_isPaused(JNIEnv* env, jclass claz
return static_cast<jboolean>(EmulationSession::GetInstance().IsPaused());
}
-void Java_org_yuzu_yuzu_1emu_NativeLibrary_muteAduio(JNIEnv* env, jclass clazz) {
- Settings::values.audio_muted = true;
-}
-
-void Java_org_yuzu_yuzu_1emu_NativeLibrary_unmuteAudio(JNIEnv* env, jclass clazz) {
- Settings::values.audio_muted = false;
-}
-
-jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_isMuted(JNIEnv* env, jclass clazz) {
- return static_cast<jboolean>(Settings::values.audio_muted.GetValue());
-}
-
jboolean Java_org_yuzu_yuzu_1emu_NativeLibrary_isHandheldOnly(JNIEnv* env, jclass clazz) {
return EmulationSession::GetInstance().IsHandheldOnly();
}
@@ -780,34 +824,6 @@ void Java_org_yuzu_yuzu_1emu_NativeLibrary_reloadSettings(JNIEnv* env, jclass cl
Config{};
}
-jstring Java_org_yuzu_yuzu_1emu_NativeLibrary_getUserSetting(JNIEnv* env, jclass clazz,
- jstring j_game_id, jstring j_section,
- jstring j_key) {
- std::string_view game_id = env->GetStringUTFChars(j_game_id, 0);
- std::string_view section = env->GetStringUTFChars(j_section, 0);
- std::string_view key = env->GetStringUTFChars(j_key, 0);
-
- env->ReleaseStringUTFChars(j_game_id, game_id.data());
- env->ReleaseStringUTFChars(j_section, section.data());
- env->ReleaseStringUTFChars(j_key, key.data());
-
- return env->NewStringUTF("");
-}
-
-void Java_org_yuzu_yuzu_1emu_NativeLibrary_setUserSetting(JNIEnv* env, jclass clazz,
- jstring j_game_id, jstring j_section,
- jstring j_key, jstring j_value) {
- std::string_view game_id = env->GetStringUTFChars(j_game_id, 0);
- std::string_view section = env->GetStringUTFChars(j_section, 0);
- std::string_view key = env->GetStringUTFChars(j_key, 0);
- std::string_view value = env->GetStringUTFChars(j_value, 0);
-
- env->ReleaseStringUTFChars(j_game_id, game_id.data());
- env->ReleaseStringUTFChars(j_section, section.data());
- env->ReleaseStringUTFChars(j_key, key.data());
- env->ReleaseStringUTFChars(j_value, value.data());
-}
-
void Java_org_yuzu_yuzu_1emu_NativeLibrary_initGameIni(JNIEnv* env, jclass clazz,
jstring j_game_id) {
std::string_view game_id = env->GetStringUTFChars(j_game_id, 0);
@@ -862,4 +878,24 @@ void Java_org_yuzu_yuzu_1emu_NativeLibrary_submitInlineKeyboardInput(JNIEnv* env
EmulationSession::GetInstance().SoftwareKeyboard()->SubmitInlineKeyboardInput(j_key_code);
}
+void Java_org_yuzu_yuzu_1emu_NativeLibrary_initializeEmptyUserDirectory(JNIEnv* env,
+ jobject instance) {
+ const auto nand_dir = Common::FS::GetYuzuPath(Common::FS::YuzuPath::NANDDir);
+ auto vfs_nand_dir = EmulationSession::GetInstance().System().GetFilesystem()->OpenDirectory(
+ Common::FS::PathToUTF8String(nand_dir), FileSys::Mode::Read);
+
+ Service::Account::ProfileManager manager;
+ const auto user_id = manager.GetUser(static_cast<std::size_t>(0));
+ ASSERT(user_id);
+
+ const auto user_save_data_path = FileSys::SaveDataFactory::GetFullPath(
+ EmulationSession::GetInstance().System(), vfs_nand_dir, FileSys::SaveDataSpaceId::NandUser,
+ FileSys::SaveDataType::SaveData, 1, user_id->AsU128(), 0);
+
+ const auto full_path = Common::FS::ConcatPathSafe(nand_dir, user_save_data_path);
+ if (!Common::FS::CreateParentDirs(full_path)) {
+ LOG_WARNING(Frontend, "Failed to create full path of the default user's save directory");
+ }
+}
+
} // extern "C"
diff --git a/src/android/app/src/main/jni/native_config.cpp b/src/android/app/src/main/jni/native_config.cpp
new file mode 100644
index 000000000..8a704960c
--- /dev/null
+++ b/src/android/app/src/main/jni/native_config.cpp
@@ -0,0 +1,237 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include <string>
+
+#include <jni.h>
+
+#include "common/logging/log.h"
+#include "common/settings.h"
+#include "jni/android_common/android_common.h"
+#include "jni/config.h"
+#include "uisettings.h"
+
+template <typename T>
+Settings::Setting<T>* getSetting(JNIEnv* env, jstring jkey) {
+ auto key = GetJString(env, jkey);
+ auto basicSetting = Settings::values.linkage.by_key[key];
+ auto basicAndroidSetting = AndroidSettings::values.linkage.by_key[key];
+ if (basicSetting != 0) {
+ return static_cast<Settings::Setting<T>*>(basicSetting);
+ }
+ if (basicAndroidSetting != 0) {
+ return static_cast<Settings::Setting<T>*>(basicAndroidSetting);
+ }
+ LOG_ERROR(Frontend, "[Android Native] Could not find setting - {}", key);
+ return nullptr;
+}
+
+extern "C" {
+
+jboolean Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getBoolean(JNIEnv* env, jobject obj,
+ jstring jkey, jboolean getDefault) {
+ auto setting = getSetting<bool>(env, jkey);
+ if (setting == nullptr) {
+ return false;
+ }
+ setting->SetGlobal(true);
+
+ if (static_cast<bool>(getDefault)) {
+ return setting->GetDefault();
+ }
+
+ return setting->GetValue();
+}
+
+void Java_org_yuzu_yuzu_1emu_utils_NativeConfig_setBoolean(JNIEnv* env, jobject obj, jstring jkey,
+ jboolean value) {
+ auto setting = getSetting<bool>(env, jkey);
+ if (setting == nullptr) {
+ return;
+ }
+ setting->SetGlobal(true);
+ setting->SetValue(static_cast<bool>(value));
+}
+
+jbyte Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getByte(JNIEnv* env, jobject obj, jstring jkey,
+ jboolean getDefault) {
+ auto setting = getSetting<u8>(env, jkey);
+ if (setting == nullptr) {
+ return -1;
+ }
+ setting->SetGlobal(true);
+
+ if (static_cast<bool>(getDefault)) {
+ return setting->GetDefault();
+ }
+
+ return setting->GetValue();
+}
+
+void Java_org_yuzu_yuzu_1emu_utils_NativeConfig_setByte(JNIEnv* env, jobject obj, jstring jkey,
+ jbyte value) {
+ auto setting = getSetting<u8>(env, jkey);
+ if (setting == nullptr) {
+ return;
+ }
+ setting->SetGlobal(true);
+ setting->SetValue(value);
+}
+
+jshort Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getShort(JNIEnv* env, jobject obj, jstring jkey,
+ jboolean getDefault) {
+ auto setting = getSetting<u16>(env, jkey);
+ if (setting == nullptr) {
+ return -1;
+ }
+ setting->SetGlobal(true);
+
+ if (static_cast<bool>(getDefault)) {
+ return setting->GetDefault();
+ }
+
+ return setting->GetValue();
+}
+
+void Java_org_yuzu_yuzu_1emu_utils_NativeConfig_setShort(JNIEnv* env, jobject obj, jstring jkey,
+ jshort value) {
+ auto setting = getSetting<u16>(env, jkey);
+ if (setting == nullptr) {
+ return;
+ }
+ setting->SetGlobal(true);
+ setting->SetValue(value);
+}
+
+jint Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getInt(JNIEnv* env, jobject obj, jstring jkey,
+ jboolean getDefault) {
+ auto setting = getSetting<int>(env, jkey);
+ if (setting == nullptr) {
+ return -1;
+ }
+ setting->SetGlobal(true);
+
+ if (static_cast<bool>(getDefault)) {
+ return setting->GetDefault();
+ }
+
+ return setting->GetValue();
+}
+
+void Java_org_yuzu_yuzu_1emu_utils_NativeConfig_setInt(JNIEnv* env, jobject obj, jstring jkey,
+ jint value) {
+ auto setting = getSetting<int>(env, jkey);
+ if (setting == nullptr) {
+ return;
+ }
+ setting->SetGlobal(true);
+ setting->SetValue(value);
+}
+
+jfloat Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getFloat(JNIEnv* env, jobject obj, jstring jkey,
+ jboolean getDefault) {
+ auto setting = getSetting<float>(env, jkey);
+ if (setting == nullptr) {
+ return -1;
+ }
+ setting->SetGlobal(true);
+
+ if (static_cast<bool>(getDefault)) {
+ return setting->GetDefault();
+ }
+
+ return setting->GetValue();
+}
+
+void Java_org_yuzu_yuzu_1emu_utils_NativeConfig_setFloat(JNIEnv* env, jobject obj, jstring jkey,
+ jfloat value) {
+ auto setting = getSetting<float>(env, jkey);
+ if (setting == nullptr) {
+ return;
+ }
+ setting->SetGlobal(true);
+ setting->SetValue(value);
+}
+
+jlong Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getLong(JNIEnv* env, jobject obj, jstring jkey,
+ jboolean getDefault) {
+ auto setting = getSetting<long>(env, jkey);
+ if (setting == nullptr) {
+ return -1;
+ }
+ setting->SetGlobal(true);
+
+ if (static_cast<bool>(getDefault)) {
+ return setting->GetDefault();
+ }
+
+ return setting->GetValue();
+}
+
+void Java_org_yuzu_yuzu_1emu_utils_NativeConfig_setLong(JNIEnv* env, jobject obj, jstring jkey,
+ jlong value) {
+ auto setting = getSetting<long>(env, jkey);
+ if (setting == nullptr) {
+ return;
+ }
+ setting->SetGlobal(true);
+ setting->SetValue(value);
+}
+
+jstring Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getString(JNIEnv* env, jobject obj, jstring jkey,
+ jboolean getDefault) {
+ auto setting = getSetting<std::string>(env, jkey);
+ if (setting == nullptr) {
+ return ToJString(env, "");
+ }
+ setting->SetGlobal(true);
+
+ if (static_cast<bool>(getDefault)) {
+ return ToJString(env, setting->GetDefault());
+ }
+
+ return ToJString(env, setting->GetValue());
+}
+
+void Java_org_yuzu_yuzu_1emu_utils_NativeConfig_setString(JNIEnv* env, jobject obj, jstring jkey,
+ jstring value) {
+ auto setting = getSetting<std::string>(env, jkey);
+ if (setting == nullptr) {
+ return;
+ }
+
+ setting->SetGlobal(true);
+ setting->SetValue(GetJString(env, value));
+}
+
+jboolean Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getIsRuntimeModifiable(JNIEnv* env, jobject obj,
+ jstring jkey) {
+ auto key = GetJString(env, jkey);
+ auto setting = Settings::values.linkage.by_key[key];
+ if (setting != 0) {
+ return setting->RuntimeModfiable();
+ }
+ LOG_ERROR(Frontend, "[Android Native] Could not find setting - {}", key);
+ return true;
+}
+
+jstring Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getConfigHeader(JNIEnv* env, jobject obj,
+ jint jcategory) {
+ auto category = static_cast<Settings::Category>(jcategory);
+ return ToJString(env, Settings::TranslateCategory(category));
+}
+
+jstring Java_org_yuzu_yuzu_1emu_utils_NativeConfig_getPairedSettingKey(JNIEnv* env, jobject obj,
+ jstring jkey) {
+ auto setting = getSetting<std::string>(env, jkey);
+ if (setting == nullptr) {
+ return ToJString(env, "");
+ }
+ if (setting->PairedSetting() == nullptr) {
+ return ToJString(env, "");
+ }
+
+ return ToJString(env, setting->PairedSetting()->GetLabel());
+}
+
+} // extern "C"
diff --git a/src/android/app/src/main/jni/uisettings.cpp b/src/android/app/src/main/jni/uisettings.cpp
new file mode 100644
index 000000000..f2f0bad50
--- /dev/null
+++ b/src/android/app/src/main/jni/uisettings.cpp
@@ -0,0 +1,10 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "uisettings.h"
+
+namespace AndroidSettings {
+
+Values values;
+
+} // namespace AndroidSettings
diff --git a/src/android/app/src/main/jni/uisettings.h b/src/android/app/src/main/jni/uisettings.h
new file mode 100644
index 000000000..494654af7
--- /dev/null
+++ b/src/android/app/src/main/jni/uisettings.h
@@ -0,0 +1,29 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <common/settings_common.h>
+#include "common/common_types.h"
+#include "common/settings_setting.h"
+
+namespace AndroidSettings {
+
+struct Values {
+ Settings::Linkage linkage;
+
+ // Android
+ Settings::Setting<bool> picture_in_picture{linkage, true, "picture_in_picture",
+ Settings::Category::Android};
+ Settings::Setting<s32> screen_layout{linkage,
+ 5,
+ "screen_layout",
+ Settings::Category::Android,
+ Settings::Specialization::Default,
+ true,
+ true};
+};
+
+extern Values values;
+
+} // namespace AndroidSettings
diff --git a/src/android/app/src/main/res/anim-ldrtl/anim_pop_settings_fragment_out.xml b/src/android/app/src/main/res/anim-ldrtl/anim_pop_settings_fragment_out.xml
deleted file mode 100644
index 9f49c133a..000000000
--- a/src/android/app/src/main/res/anim-ldrtl/anim_pop_settings_fragment_out.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<set xmlns:android="http://schemas.android.com/apk/res/android">
-
- <alpha
- android:duration="125"
- android:interpolator="@android:anim/decelerate_interpolator"
- android:fromAlpha="1"
- android:toAlpha="0" />
-
- <translate
- android:duration="125"
- android:interpolator="@android:anim/decelerate_interpolator"
- android:fromXDelta="0"
- android:toXDelta="-75" />
-
-</set>
diff --git a/src/android/app/src/main/res/anim-ldrtl/anim_settings_fragment_in.xml b/src/android/app/src/main/res/anim-ldrtl/anim_settings_fragment_in.xml
deleted file mode 100644
index 82fd719db..000000000
--- a/src/android/app/src/main/res/anim-ldrtl/anim_settings_fragment_in.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<set xmlns:android="http://schemas.android.com/apk/res/android">
-
- <alpha
- android:duration="@android:integer/config_shortAnimTime"
- android:interpolator="@android:anim/decelerate_interpolator"
- android:fromAlpha="0"
- android:toAlpha="1" />
-
- <translate
- android:duration="@android:integer/config_shortAnimTime"
- android:interpolator="@android:anim/decelerate_interpolator"
- android:fromXDelta="-200"
- android:toXDelta="0" />
-
-</set>
diff --git a/src/android/app/src/main/res/anim/anim_pop_settings_fragment_out.xml b/src/android/app/src/main/res/anim/anim_pop_settings_fragment_out.xml
deleted file mode 100644
index 5892128f1..000000000
--- a/src/android/app/src/main/res/anim/anim_pop_settings_fragment_out.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<set xmlns:android="http://schemas.android.com/apk/res/android">
-
- <alpha
- android:duration="125"
- android:interpolator="@android:anim/decelerate_interpolator"
- android:fromAlpha="1"
- android:toAlpha="0" />
-
- <translate
- android:duration="125"
- android:interpolator="@android:anim/decelerate_interpolator"
- android:fromXDelta="0"
- android:toXDelta="75" />
-
-</set>
diff --git a/src/android/app/src/main/res/anim/anim_settings_fragment_in.xml b/src/android/app/src/main/res/anim/anim_settings_fragment_in.xml
deleted file mode 100644
index 98e0cf8bd..000000000
--- a/src/android/app/src/main/res/anim/anim_settings_fragment_in.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<set xmlns:android="http://schemas.android.com/apk/res/android">
-
- <alpha
- android:duration="@android:integer/config_shortAnimTime"
- android:interpolator="@android:anim/decelerate_interpolator"
- android:fromAlpha="0"
- android:toAlpha="1" />
-
- <translate
- android:duration="@android:integer/config_shortAnimTime"
- android:interpolator="@android:anim/decelerate_interpolator"
- android:fromXDelta="200"
- android:toXDelta="0" />
-
-</set>
diff --git a/src/android/app/src/main/res/anim/anim_settings_fragment_out.xml b/src/android/app/src/main/res/anim/anim_settings_fragment_out.xml
deleted file mode 100644
index 77a40a4d1..000000000
--- a/src/android/app/src/main/res/anim/anim_settings_fragment_out.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<set xmlns:android="http://schemas.android.com/apk/res/android">
-
- <alpha
- android:duration="@android:integer/config_shortAnimTime"
- android:interpolator="@android:anim/decelerate_interpolator"
- android:fromAlpha="1"
- android:toAlpha="0" />
-
-</set>
diff --git a/src/android/app/src/main/res/animator/menu_slide_in_from_start.xml b/src/android/app/src/main/res/animator/menu_slide_in_from_start.xml
deleted file mode 100644
index 4612aee13..000000000
--- a/src/android/app/src/main/res/animator/menu_slide_in_from_start.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<set xmlns:android="http://schemas.android.com/apk/res/android">
-
- <objectAnimator
- android:propertyName="translationX"
- android:valueType="floatType"
- android:valueFrom="-1280dp"
- android:valueTo="0"
- android:interpolator="@android:interpolator/decelerate_quad"
- android:duration="300"/>
-
- <objectAnimator
- android:propertyName="alpha"
- android:valueType="floatType"
- android:valueFrom="0"
- android:valueTo="1"
- android:interpolator="@android:interpolator/accelerate_quad"
- android:duration="300"/>
-
-</set> \ No newline at end of file
diff --git a/src/android/app/src/main/res/animator/menu_slide_out_to_start.xml b/src/android/app/src/main/res/animator/menu_slide_out_to_start.xml
deleted file mode 100644
index c00478946..000000000
--- a/src/android/app/src/main/res/animator/menu_slide_out_to_start.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<set xmlns:android="http://schemas.android.com/apk/res/android">
-
- <!-- This animation is used ONLY when a submenu is replaced. -->
- <objectAnimator
- android:propertyName="translationX"
- android:valueType="floatType"
- android:valueFrom="0"
- android:valueTo="-1280dp"
- android:interpolator="@android:interpolator/decelerate_quad"
- android:duration="200"/>
-
- <objectAnimator
- android:propertyName="alpha"
- android:valueType="floatType"
- android:valueFrom="1"
- android:valueTo="0"
- android:interpolator="@android:interpolator/decelerate_quad"
- android:duration="200"/>
-
-</set> \ No newline at end of file
diff --git a/src/android/app/src/main/res/drawable/ic_export.xml b/src/android/app/src/main/res/drawable/ic_export.xml
new file mode 100644
index 000000000..463d2f41c
--- /dev/null
+++ b/src/android/app/src/main/res/drawable/ic_export.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path
+ android:fillColor="?attr/colorControlNormal"
+ android:pathData="M9,16h6v-6h4l-7,-7 -7,7h4zM5,18h14v2L5,20z" />
+</vector>
diff --git a/src/android/app/src/main/res/drawable/ic_import.xml b/src/android/app/src/main/res/drawable/ic_import.xml
new file mode 100644
index 000000000..3a99dd5e6
--- /dev/null
+++ b/src/android/app/src/main/res/drawable/ic_import.xml
@@ -0,0 +1,9 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
+ <path
+ android:fillColor="?attr/colorControlNormal"
+ android:pathData="M19,9h-4V3H9v6H5l7,7 7,-7zM5,18v2h14v-2H5z" />
+</vector>
diff --git a/src/android/app/src/main/res/drawable/shortcut.xml b/src/android/app/src/main/res/drawable/shortcut.xml
new file mode 100644
index 000000000..c749e5d72
--- /dev/null
+++ b/src/android/app/src/main/res/drawable/shortcut.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?>
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item>
+ <color android:color="@android:color/white" />
+ </item>
+ <item android:id="@+id/shortcut_foreground">
+ <bitmap android:src="@drawable/default_icon" />
+ </item>
+
+</layer-list>
diff --git a/src/android/app/src/main/res/layout-w600dp/fragment_setup.xml b/src/android/app/src/main/res/layout-w600dp/fragment_setup.xml
index cbe631d88..406df9eab 100644
--- a/src/android/app/src/main/res/layout-w600dp/fragment_setup.xml
+++ b/src/android/app/src/main/res/layout-w600dp/fragment_setup.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<androidx.constraintlayout.widget.ConstraintLayout
+<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/setup_root"
@@ -8,33 +8,39 @@
<androidx.viewpager2.widget.ViewPager2
android:id="@+id/viewPager2"
- android:layout_width="0dp"
- android:layout_height="0dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_alignParentTop="true"
+ android:layout_alignParentBottom="true"
+ android:clipToPadding="false" />
- <com.google.android.material.button.MaterialButton
- style="@style/Widget.Material3.Button.TextButton"
- android:id="@+id/button_next"
- android:layout_width="wrap_content"
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:id="@+id/constraint_buttons"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_margin="16dp"
- android:text="@string/next"
- android:visibility="invisible"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent" />
+ android:layout_alignParentBottom="true"
+ android:layout_margin="8dp">
- <com.google.android.material.button.MaterialButton
- android:id="@+id/button_back"
- style="@style/Widget.Material3.Button.TextButton"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_margin="16dp"
- android:text="@string/back"
- android:visibility="invisible"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent" />
+ <com.google.android.material.button.MaterialButton
+ android:id="@+id/button_next"
+ style="@style/Widget.Material3.Button.TextButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/next"
+ android:visibility="invisible"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent" />
+
+ <com.google.android.material.button.MaterialButton
+ android:id="@+id/button_back"
+ style="@style/Widget.Material3.Button.TextButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/back"
+ android:visibility="invisible"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintStart_toStartOf="parent" />
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
-</androidx.constraintlayout.widget.ConstraintLayout>
+</RelativeLayout>
diff --git a/src/android/app/src/main/res/layout-w600dp/page_setup.xml b/src/android/app/src/main/res/layout-w600dp/page_setup.xml
index e1c26b2f8..9e0ab8ecb 100644
--- a/src/android/app/src/main/res/layout-w600dp/page_setup.xml
+++ b/src/android/app/src/main/res/layout-w600dp/page_setup.xml
@@ -21,45 +21,76 @@
</LinearLayout>
- <LinearLayout
+ <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical"
- android:gravity="center">
+ android:layout_weight="1">
<com.google.android.material.textview.MaterialTextView
- style="@style/TextAppearance.Material3.DisplaySmall"
android:id="@+id/text_title"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:textAlignment="center"
+ style="@style/TextAppearance.Material3.DisplaySmall"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ android:gravity="center"
android:textColor="?attr/colorOnSurface"
android:textStyle="bold"
+ app:layout_constraintBottom_toTopOf="@+id/text_description"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintVertical_weight="2"
tools:text="@string/welcome" />
<com.google.android.material.textview.MaterialTextView
- style="@style/TextAppearance.Material3.TitleLarge"
android:id="@+id/text_description"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="16dp"
- android:paddingHorizontal="32dp"
- android:textAlignment="center"
- android:textSize="26sp"
- app:lineHeight="40sp"
+ style="@style/TextAppearance.Material3.TitleLarge"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ android:gravity="center"
+ android:textSize="20sp"
+ android:paddingHorizontal="16dp"
+ app:layout_constraintBottom_toTopOf="@+id/button_action"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/text_title"
+ app:layout_constraintVertical_weight="2"
+ app:lineHeight="30sp"
tools:text="@string/welcome_description" />
+ <com.google.android.material.textview.MaterialTextView
+ android:id="@+id/text_confirmation"
+ style="@style/TextAppearance.Material3.TitleLarge"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ android:paddingHorizontal="16dp"
+ android:paddingBottom="20dp"
+ android:gravity="center"
+ android:textSize="30sp"
+ android:visibility="invisible"
+ android:text="@string/step_complete"
+ android:textStyle="bold"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/text_description"
+ app:layout_constraintVertical_weight="1"
+ app:lineHeight="30sp" />
+
<com.google.android.material.button.MaterialButton
android:id="@+id/button_action"
android:layout_width="wrap_content"
android:layout_height="56dp"
- android:layout_marginTop="32dp"
+ android:layout_marginTop="16dp"
+ android:layout_marginBottom="48dp"
android:textSize="20sp"
- app:iconSize="24sp"
app:iconGravity="end"
+ app:iconSize="24sp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/text_description"
tools:text="Get started" />
- </LinearLayout>
+ </androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
diff --git a/src/android/app/src/main/res/layout/activity_settings.xml b/src/android/app/src/main/res/layout/activity_settings.xml
index 14ae83b04..a187665f2 100644
--- a/src/android/app/src/main/res/layout/activity_settings.xml
+++ b/src/android/app/src/main/res/layout/activity_settings.xml
@@ -1,50 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
-<androidx.coordinatorlayout.widget.CoordinatorLayout
- android:id="@+id/coordinator_main"
+<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:id="@+id/constraint_settings"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorSurface">
- <com.google.android.material.appbar.AppBarLayout
- android:id="@+id/appbar_settings"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:fitsSystemWindows="true"
- app:elevation="0dp">
-
- <com.google.android.material.appbar.CollapsingToolbarLayout
- style="?attr/collapsingToolbarLayoutMediumStyle"
- android:id="@+id/toolbar_settings_layout"
- android:layout_width="match_parent"
- android:layout_height="?attr/collapsingToolbarLayoutMediumSize"
- app:layout_scrollFlags="scroll|exitUntilCollapsed|snap">
-
- <com.google.android.material.appbar.MaterialToolbar
- android:id="@+id/toolbar_settings"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- app:layout_collapseMode="pin" />
-
- </com.google.android.material.appbar.CollapsingToolbarLayout>
-
- </com.google.android.material.appbar.AppBarLayout>
-
- <FrameLayout
- android:id="@+id/frame_content"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginHorizontal="12dp"
- app:layout_behavior="@string/appbar_scrolling_view_behavior" />
+ <androidx.fragment.app.FragmentContainerView
+ android:id="@+id/fragment_container"
+ android:name="androidx.navigation.fragment.NavHostFragment"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ app:defaultNavHost="true"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintLeft_toLeftOf="parent"
+ app:layout_constraintRight_toRightOf="parent"
+ app:layout_constraintTop_toTopOf="parent"
+ tools:layout="@layout/fragment_settings" />
<View
android:id="@+id/navigation_bar_shade"
- android:layout_width="match_parent"
+ android:layout_width="0dp"
android:layout_height="1px"
android:background="@android:color/transparent"
android:clickable="false"
android:focusable="false"
- android:layout_gravity="bottom|center_horizontal" />
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent" />
-</androidx.coordinatorlayout.widget.CoordinatorLayout>
+</androidx.constraintlayout.widget.ConstraintLayout>
diff --git a/src/android/app/src/main/res/layout/card_home_option.xml b/src/android/app/src/main/res/layout/card_home_option.xml
index dc289db17..f9f1d89fb 100644
--- a/src/android/app/src/main/res/layout/card_home_option.xml
+++ b/src/android/app/src/main/res/layout/card_home_option.xml
@@ -53,6 +53,23 @@
android:layout_marginTop="5dp"
tools:text="@string/install_prod_keys_description" />
+ <com.google.android.material.textview.MaterialTextView
+ style="@style/TextAppearance.Material3.LabelMedium"
+ android:id="@+id/option_detail"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textAlignment="viewStart"
+ android:textSize="14sp"
+ android:textStyle="bold"
+ android:singleLine="true"
+ android:marqueeRepeatLimit="marquee_forever"
+ android:ellipsize="none"
+ android:requiresFadingEdge="horizontal"
+ android:layout_marginTop="5dp"
+ android:visibility="gone"
+ tools:visibility="visible"
+ tools:text="/tree/primary:Games" />
+
</LinearLayout>
</LinearLayout>
diff --git a/src/android/app/src/main/res/layout/card_installable.xml b/src/android/app/src/main/res/layout/card_installable.xml
new file mode 100644
index 000000000..f5b0e3741
--- /dev/null
+++ b/src/android/app/src/main/res/layout/card_installable.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8"?>
+<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ style="?attr/materialCardViewOutlinedStyle"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginHorizontal="16dp"
+ android:layout_marginVertical="12dp">
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_margin="16dp"
+ android:orientation="horizontal"
+ android:layout_gravity="center">
+
+ <LinearLayout
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginEnd="16dp"
+ android:layout_weight="1"
+ android:orientation="vertical">
+
+ <com.google.android.material.textview.MaterialTextView
+ android:id="@+id/title"
+ style="@style/TextAppearance.Material3.TitleMedium"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/user_data"
+ android:textAlignment="viewStart" />
+
+ <com.google.android.material.textview.MaterialTextView
+ android:id="@+id/description"
+ style="@style/TextAppearance.Material3.BodyMedium"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="6dp"
+ android:text="@string/user_data_description"
+ android:textAlignment="viewStart" />
+
+ </LinearLayout>
+
+ <Button
+ android:id="@+id/button_export"
+ style="@style/Widget.Material3.Button.IconButton.Filled.Tonal"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:contentDescription="@string/export"
+ android:tooltipText="@string/export"
+ android:visibility="gone"
+ app:icon="@drawable/ic_export"
+ tools:visibility="visible" />
+
+ <Button
+ android:id="@+id/button_install"
+ style="@style/Widget.Material3.Button.IconButton.Filled.Tonal"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:layout_marginStart="12dp"
+ android:contentDescription="@string/string_import"
+ android:tooltipText="@string/string_import"
+ android:visibility="gone"
+ app:icon="@drawable/ic_import"
+ tools:visibility="visible" />
+
+ </LinearLayout>
+
+</com.google.android.material.card.MaterialCardView>
diff --git a/src/android/app/src/main/res/layout/dialog_progress_bar.xml b/src/android/app/src/main/res/layout/dialog_progress_bar.xml
index d17711a65..0209ea082 100644
--- a/src/android/app/src/main/res/layout/dialog_progress_bar.xml
+++ b/src/android/app/src/main/res/layout/dialog_progress_bar.xml
@@ -1,24 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
+<com.google.android.material.progressindicator.LinearProgressIndicator xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
- android:orientation="vertical">
-
- <com.google.android.material.progressindicator.LinearProgressIndicator
- android:id="@+id/progress_bar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="24dp"
- app:trackCornerRadius="4dp" />
-
- <TextView
- android:id="@+id/progress_text"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="24dp"
- android:layout_marginRight="24dp"
- android:layout_marginBottom="24dp"
- android:gravity="end" />
-
-</LinearLayout>
+ android:id="@+id/progress_bar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:padding="24dp"
+ app:trackCornerRadius="4dp" />
diff --git a/src/android/app/src/main/res/layout/dialog_slider.xml b/src/android/app/src/main/res/layout/dialog_slider.xml
index 8c84cb606..d1cb31739 100644
--- a/src/android/app/src/main/res/layout/dialog_slider.xml
+++ b/src/android/app/src/main/res/layout/dialog_slider.xml
@@ -5,23 +5,16 @@
android:layout_height="wrap_content"
android:orientation="vertical">
- <TextView
+ <com.google.android.material.textview.MaterialTextView
android:id="@+id/text_value"
+ style="@style/TextAppearance.Material3.LabelMedium"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="@dimen/spacing_medlarge"
android:layout_marginTop="@dimen/spacing_medlarge"
- tools:text="75" />
-
- <TextView
- android:id="@+id/text_units"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignTop="@+id/text_value"
- android:layout_toEndOf="@+id/text_value"
- tools:text="%" />
+ tools:text="75%" />
<com.google.android.material.slider.Slider
android:id="@+id/slider"
diff --git a/src/android/app/src/main/res/layout/fragment_emulation.xml b/src/android/app/src/main/res/layout/fragment_emulation.xml
index e54a10e8f..750ce094a 100644
--- a/src/android/app/src/main/res/layout/fragment_emulation.xml
+++ b/src/android/app/src/main/res/layout/fragment_emulation.xml
@@ -26,6 +26,82 @@
android:focusable="false"
android:focusableInTouchMode="false" />
+ <com.google.android.material.card.MaterialCardView
+ android:id="@+id/loading_indicator"
+ style="?attr/materialCardViewOutlinedStyle"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:focusable="false"
+ android:clickable="false">
+
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:id="@+id/loading_layout"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:gravity="center_horizontal">
+
+ <ImageView
+ android:id="@+id/loading_image"
+ android:layout_width="wrap_content"
+ android:layout_height="0dp"
+ android:adjustViewBounds="true"
+ app:layout_constraintBottom_toBottomOf="@+id/linearLayout"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="@+id/linearLayout"
+ tools:src="@drawable/default_icon" />
+
+ <LinearLayout
+ android:id="@+id/linearLayout"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:orientation="vertical"
+ android:paddingHorizontal="24dp"
+ android:paddingVertical="36dp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toEndOf="@id/loading_image"
+ app:layout_constraintTop_toTopOf="parent">
+
+ <com.google.android.material.textview.MaterialTextView
+ android:id="@+id/loading_title"
+ style="@style/TextAppearance.Material3.TitleMedium"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:ellipsize="marquee"
+ android:marqueeRepeatLimit="marquee_forever"
+ android:requiresFadingEdge="horizontal"
+ android:singleLine="true"
+ android:textAlignment="viewStart"
+ tools:text="@string/games" />
+
+ <com.google.android.material.textview.MaterialTextView
+ android:id="@+id/loading_text"
+ style="@style/TextAppearance.Material3.TitleSmall"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="4dp"
+ android:ellipsize="marquee"
+ android:marqueeRepeatLimit="marquee_forever"
+ android:requiresFadingEdge="horizontal"
+ android:singleLine="true"
+ android:text="@string/loading"
+ android:textAlignment="viewStart" />
+
+ <com.google.android.material.progressindicator.LinearProgressIndicator
+ android:id="@+id/loading_progress_indicator"
+ android:layout_width="192dp"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="12dp"
+ android:indeterminate="true"
+ app:trackCornerRadius="8dp" />
+
+ </LinearLayout>
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
+
+ </com.google.android.material.card.MaterialCardView>
+
</FrameLayout>
<FrameLayout
@@ -41,11 +117,12 @@
android:layout_height="match_parent"
android:layout_gravity="center"
android:focusable="true"
- android:focusableInTouchMode="true" />
+ android:focusableInTouchMode="true"
+ android:visibility="invisible" />
<Button
- style="@style/Widget.Material3.Button.ElevatedButton"
android:id="@+id/done_control_config"
+ style="@style/Widget.Material3.Button.ElevatedButton"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
@@ -79,8 +156,9 @@
android:id="@+id/in_game_menu"
android:layout_width="wrap_content"
android:layout_height="match_parent"
- android:layout_gravity="start|bottom"
+ android:layout_gravity="start"
app:headerLayout="@layout/header_in_game"
- app:menu="@menu/menu_in_game" />
+ app:menu="@menu/menu_in_game"
+ tools:visibility="gone" />
</androidx.drawerlayout.widget.DrawerLayout>
diff --git a/src/android/app/src/main/res/layout/fragment_installables.xml b/src/android/app/src/main/res/layout/fragment_installables.xml
new file mode 100644
index 000000000..3a4df81a6
--- /dev/null
+++ b/src/android/app/src/main/res/layout/fragment_installables.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/coordinator_licenses"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="?attr/colorSurface">
+
+ <com.google.android.material.appbar.AppBarLayout
+ android:id="@+id/appbar_installables"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:fitsSystemWindows="true">
+
+ <com.google.android.material.appbar.MaterialToolbar
+ android:id="@+id/toolbar_installables"
+ android:layout_width="match_parent"
+ android:layout_height="?attr/actionBarSize"
+ app:title="@string/manage_yuzu_data"
+ app:navigationIcon="@drawable/ic_back" />
+
+ </com.google.android.material.appbar.AppBarLayout>
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/list_installables"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:clipToPadding="false"
+ app:layout_behavior="@string/appbar_scrolling_view_behavior" />
+
+</androidx.coordinatorlayout.widget.CoordinatorLayout>
diff --git a/src/android/app/src/main/res/layout/fragment_settings.xml b/src/android/app/src/main/res/layout/fragment_settings.xml
index 167720347..ebedbf1ec 100644
--- a/src/android/app/src/main/res/layout/fragment_settings.xml
+++ b/src/android/app/src/main/res/layout/fragment_settings.xml
@@ -1,14 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
-<FrameLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
+<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/coordinator_main"
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="match_parent"
+ android:background="?attr/colorSurface">
+
+ <com.google.android.material.appbar.AppBarLayout
+ android:id="@+id/appbar_settings"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:fitsSystemWindows="true"
+ app:elevation="0dp">
+
+ <com.google.android.material.appbar.CollapsingToolbarLayout
+ android:id="@+id/toolbar_settings_layout"
+ style="?attr/collapsingToolbarLayoutMediumStyle"
+ android:layout_width="match_parent"
+ android:layout_height="?attr/collapsingToolbarLayoutMediumSize"
+ app:layout_scrollFlags="scroll|exitUntilCollapsed|snap">
+
+ <com.google.android.material.appbar.MaterialToolbar
+ android:id="@+id/toolbar_settings"
+ android:layout_width="match_parent"
+ android:layout_height="?attr/actionBarSize"
+ app:layout_collapseMode="pin"
+ app:navigationIcon="@drawable/ic_back" />
+
+ </com.google.android.material.appbar.CollapsingToolbarLayout>
+
+ </com.google.android.material.appbar.AppBarLayout>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/list_settings"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="?attr/colorSurface"
- android:clipToPadding="false" />
+ android:clipToPadding="false"
+ app:layout_behavior="@string/appbar_scrolling_view_behavior" />
-</FrameLayout>
+</androidx.coordinatorlayout.widget.CoordinatorLayout>
diff --git a/src/android/app/src/main/res/layout/fragment_settings_search.xml b/src/android/app/src/main/res/layout/fragment_settings_search.xml
new file mode 100644
index 000000000..c779ed2fc
--- /dev/null
+++ b/src/android/app/src/main/res/layout/fragment_settings_search.xml
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <RelativeLayout
+ android:id="@+id/relativeLayout"
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/divider">
+
+ <LinearLayout
+ android:id="@+id/no_results_view"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:gravity="center"
+ android:orientation="vertical">
+
+ <ImageView
+ android:id="@+id/icon_no_results"
+ android:layout_width="match_parent"
+ android:layout_height="80dp"
+ android:src="@drawable/ic_search" />
+
+ <com.google.android.material.textview.MaterialTextView
+ android:id="@+id/notice_text"
+ style="@style/TextAppearance.Material3.TitleLarge"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:gravity="center"
+ android:paddingTop="8dp"
+ android:text="@string/search_settings"
+ tools:visibility="visible" />
+
+ </LinearLayout>
+
+ <androidx.recyclerview.widget.RecyclerView
+ android:id="@+id/settings_list"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:clipToPadding="false" />
+
+ </RelativeLayout>
+
+ <FrameLayout
+ android:id="@+id/frame_search"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:clipToPadding="false"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent">
+
+ <com.google.android.material.card.MaterialCardView
+ android:id="@+id/search_background"
+ style="?attr/materialCardViewFilledStyle"
+ android:layout_width="match_parent"
+ android:layout_height="56dp"
+ app:cardCornerRadius="28dp">
+
+ <LinearLayout
+ android:id="@+id/search_container"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:layout_marginEnd="56dp"
+ android:orientation="horizontal">
+
+ <Button
+ android:id="@+id/back_button"
+ style="?attr/materialIconButtonFilledTonalStyle"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical"
+ android:layout_marginStart="8dp"
+ app:backgroundTint="@android:color/transparent"
+ app:icon="@drawable/ic_back" />
+
+ <EditText
+ android:id="@+id/search_text"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:background="@android:color/transparent"
+ android:hint="@string/search_settings"
+ android:imeOptions="flagNoFullscreen"
+ android:inputType="text"
+ android:maxLines="1" />
+
+ </LinearLayout>
+
+ <Button
+ android:id="@+id/clear_button"
+ style="?attr/materialIconButtonFilledTonalStyle"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center_vertical|end"
+ android:layout_marginEnd="8dp"
+ android:visibility="invisible"
+ app:backgroundTint="@android:color/transparent"
+ app:icon="@drawable/ic_clear"
+ tools:visibility="visible" />
+
+ </com.google.android.material.card.MaterialCardView>
+
+ </FrameLayout>
+
+ <com.google.android.material.divider.MaterialDivider
+ android:id="@+id/divider"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="20dp"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/frame_search" />
+
+</androidx.constraintlayout.widget.ConstraintLayout>
diff --git a/src/android/app/src/main/res/layout/fragment_setup.xml b/src/android/app/src/main/res/layout/fragment_setup.xml
index d7bafaea2..9499f6463 100644
--- a/src/android/app/src/main/res/layout/fragment_setup.xml
+++ b/src/android/app/src/main/res/layout/fragment_setup.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<androidx.constraintlayout.widget.ConstraintLayout
+<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/setup_root"
@@ -8,35 +8,39 @@
<androidx.viewpager2.widget.ViewPager2
android:id="@+id/viewPager2"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:clipToPadding="false"
- android:layout_marginBottom="16dp"
- app:layout_constraintBottom_toTopOf="@+id/button_next"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent" />
-
- <com.google.android.material.button.MaterialButton
- style="@style/Widget.Material3.Button.TextButton"
- android:id="@+id/button_next"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_margin="12dp"
- android:text="@string/next"
- android:visibility="invisible"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent" />
+ android:layout_above="@+id/constraint_buttons"
+ android:layout_alignParentTop="true"
+ android:clipToPadding="false" />
- <com.google.android.material.button.MaterialButton
- style="@style/Widget.Material3.Button.TextButton"
- android:id="@+id/button_back"
- android:layout_width="wrap_content"
+ <androidx.constraintlayout.widget.ConstraintLayout
+ android:id="@+id/constraint_buttons"
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_margin="12dp"
- android:text="@string/back"
- android:visibility="invisible"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintStart_toStartOf="parent" />
+ android:layout_margin="8dp"
+ android:layout_alignParentBottom="true">
+
+ <com.google.android.material.button.MaterialButton
+ android:id="@+id/button_next"
+ style="@style/Widget.Material3.Button.TextButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/next"
+ android:visibility="invisible"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent" />
+
+ <com.google.android.material.button.MaterialButton
+ android:id="@+id/button_back"
+ style="@style/Widget.Material3.Button.TextButton"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/back"
+ android:visibility="invisible"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintStart_toStartOf="parent" />
+
+ </androidx.constraintlayout.widget.ConstraintLayout>
-</androidx.constraintlayout.widget.ConstraintLayout>
+</RelativeLayout>
diff --git a/src/android/app/src/main/res/layout/list_item_setting.xml b/src/android/app/src/main/res/layout/list_item_setting.xml
index ec896342b..f1037a740 100644
--- a/src/android/app/src/main/res/layout/list_item_setting.xml
+++ b/src/android/app/src/main/res/layout/list_item_setting.xml
@@ -1,9 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<RelativeLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="?android:attr/selectableItemBackground"
android:clickable="true"
android:focusable="true"
@@ -11,31 +12,40 @@
android:minHeight="72dp"
android:padding="@dimen/spacing_large">
- <com.google.android.material.textview.MaterialTextView
- style="@style/TextAppearance.Material3.HeadlineMedium"
- android:id="@+id/text_setting_name"
- android:layout_width="0dp"
+ <LinearLayout
+ android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_alignParentEnd="true"
- android:layout_alignParentStart="true"
- android:layout_alignParentTop="true"
- android:textSize="16sp"
- android:textAlignment="viewStart"
- app:lineHeight="28dp"
- tools:text="Setting Name" />
+ android:orientation="vertical">
- <TextView
- style="@style/TextAppearance.Material3.BodySmall"
- android:id="@+id/text_setting_description"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentEnd="true"
- android:layout_alignParentStart="true"
- android:layout_alignStart="@+id/text_setting_name"
- android:layout_below="@+id/text_setting_name"
- android:layout_marginTop="@dimen/spacing_small"
- android:visibility="visible"
- android:textAlignment="viewStart"
- tools:text="@string/app_disclaimer" />
+ <com.google.android.material.textview.MaterialTextView
+ android:id="@+id/text_setting_name"
+ style="@style/TextAppearance.Material3.HeadlineMedium"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textAlignment="viewStart"
+ android:textSize="16sp"
+ app:lineHeight="22dp"
+ tools:text="Setting Name" />
+
+ <com.google.android.material.textview.MaterialTextView
+ android:id="@+id/text_setting_description"
+ style="@style/TextAppearance.Material3.BodySmall"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/spacing_small"
+ android:textAlignment="viewStart"
+ tools:text="@string/app_disclaimer" />
+
+ <com.google.android.material.textview.MaterialTextView
+ android:id="@+id/text_setting_value"
+ style="@style/TextAppearance.Material3.LabelMedium"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="@dimen/spacing_small"
+ android:textAlignment="viewStart"
+ android:textStyle="bold"
+ tools:text="1x" />
+
+ </LinearLayout>
</RelativeLayout>
diff --git a/src/android/app/src/main/res/layout/page_setup.xml b/src/android/app/src/main/res/layout/page_setup.xml
index 1436ef308..535abcf02 100644
--- a/src/android/app/src/main/res/layout/page_setup.xml
+++ b/src/android/app/src/main/res/layout/page_setup.xml
@@ -21,11 +21,12 @@
app:layout_constraintVertical_chainStyle="spread"
app:layout_constraintWidth_max="220dp"
app:layout_constraintWidth_min="110dp"
- app:layout_constraintVertical_weight="3" />
+ app:layout_constraintVertical_weight="3"
+ tools:src="@drawable/ic_notification" />
<com.google.android.material.textview.MaterialTextView
android:id="@+id/text_title"
- style="@style/TextAppearance.Material3.DisplayMedium"
+ style="@style/TextAppearance.Material3.DisplaySmall"
android:layout_width="0dp"
android:layout_height="0dp"
android:textAlignment="center"
@@ -44,23 +45,42 @@
android:layout_width="0dp"
android:layout_height="0dp"
android:textAlignment="center"
- android:textSize="26sp"
+ android:textSize="20sp"
android:paddingHorizontal="16dp"
app:layout_constraintBottom_toTopOf="@+id/button_action"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/text_title"
app:layout_constraintVertical_weight="2"
- app:lineHeight="40sp"
+ app:lineHeight="30sp"
tools:text="@string/welcome_description" />
+ <com.google.android.material.textview.MaterialTextView
+ android:id="@+id/text_confirmation"
+ style="@style/TextAppearance.Material3.TitleLarge"
+ android:layout_width="wrap_content"
+ android:layout_height="0dp"
+ android:paddingHorizontal="16dp"
+ android:paddingTop="24dp"
+ android:textAlignment="center"
+ android:textSize="30sp"
+ android:visibility="invisible"
+ android:text="@string/step_complete"
+ android:textStyle="bold"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/text_description"
+ app:layout_constraintVertical_weight="1"
+ app:lineHeight="30sp" />
+
<com.google.android.material.button.MaterialButton
android:id="@+id/button_action"
android:layout_width="wrap_content"
android:layout_height="56dp"
- android:textSize="20sp"
android:layout_marginTop="16dp"
android:layout_marginBottom="48dp"
+ android:textSize="20sp"
app:iconGravity="end"
app:iconSize="24sp"
app:layout_constraintBottom_toBottomOf="parent"
diff --git a/src/android/app/src/main/res/menu/menu_settings.xml b/src/android/app/src/main/res/menu/menu_settings.xml
index 1fe7aa6d4..21501a471 100644
--- a/src/android/app/src/main/res/menu/menu_settings.xml
+++ b/src/android/app/src/main/res/menu/menu_settings.xml
@@ -1,2 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
-<menu /> \ No newline at end of file
+<menu xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto">
+
+ <item
+ android:id="@+id/action_search"
+ android:icon="@drawable/ic_search"
+ android:title="@string/home_search"
+ app:showAsAction="always" />
+
+</menu>
diff --git a/src/android/app/src/main/res/navigation/emulation_navigation.xml b/src/android/app/src/main/res/navigation/emulation_navigation.xml
index 8208f4c2c..cfc494b3f 100644
--- a/src/android/app/src/main/res/navigation/emulation_navigation.xml
+++ b/src/android/app/src/main/res/navigation/emulation_navigation.xml
@@ -12,7 +12,26 @@
tools:layout="@layout/fragment_emulation" >
<argument
android:name="game"
- app:argType="org.yuzu.yuzu_emu.model.Game" />
+ app:argType="org.yuzu.yuzu_emu.model.Game"
+ app:nullable="true"
+ android:defaultValue="@null" />
</fragment>
+ <activity
+ android:id="@+id/settingsActivity"
+ android:name="org.yuzu.yuzu_emu.features.settings.ui.SettingsActivity"
+ android:label="SettingsActivity">
+ <argument
+ android:name="game"
+ app:argType="org.yuzu.yuzu_emu.model.Game"
+ app:nullable="true" />
+ <argument
+ android:name="menuTag"
+ app:argType="org.yuzu.yuzu_emu.features.settings.model.Settings$MenuTag" />
+ </activity>
+
+ <action
+ android:id="@+id/action_global_settingsActivity"
+ app:destination="@id/settingsActivity" />
+
</navigation>
diff --git a/src/android/app/src/main/res/navigation/home_navigation.xml b/src/android/app/src/main/res/navigation/home_navigation.xml
index fcebba726..2356b802b 100644
--- a/src/android/app/src/main/res/navigation/home_navigation.xml
+++ b/src/android/app/src/main/res/navigation/home_navigation.xml
@@ -19,6 +19,9 @@
<action
android:id="@+id/action_homeSettingsFragment_to_earlyAccessFragment"
app:destination="@id/earlyAccessFragment" />
+ <action
+ android:id="@+id/action_homeSettingsFragment_to_installableFragment"
+ app:destination="@id/installableFragment" />
</fragment>
<fragment
@@ -62,7 +65,9 @@
android:label="EmulationActivity">
<argument
android:name="game"
- app:argType="org.yuzu.yuzu_emu.model.Game" />
+ app:argType="org.yuzu.yuzu_emu.model.Game"
+ app:nullable="true"
+ android:defaultValue="@null" />
</activity>
<action
@@ -70,4 +75,25 @@
app:destination="@id/emulationActivity"
app:launchSingleTop="true" />
+ <activity
+ android:id="@+id/settingsActivity"
+ android:name="org.yuzu.yuzu_emu.features.settings.ui.SettingsActivity"
+ android:label="SettingsActivity">
+ <argument
+ android:name="game"
+ app:argType="org.yuzu.yuzu_emu.model.Game"
+ app:nullable="true" />
+ <argument
+ android:name="menuTag"
+ app:argType="org.yuzu.yuzu_emu.features.settings.model.Settings$MenuTag" />
+ </activity>
+
+ <action
+ android:id="@+id/action_global_settingsActivity"
+ app:destination="@id/settingsActivity" />
+ <fragment
+ android:id="@+id/installableFragment"
+ android:name="org.yuzu.yuzu_emu.fragments.InstallableFragment"
+ android:label="InstallableFragment" />
+
</navigation>
diff --git a/src/android/app/src/main/res/navigation/settings_navigation.xml b/src/android/app/src/main/res/navigation/settings_navigation.xml
new file mode 100644
index 000000000..1d87d36b3
--- /dev/null
+++ b/src/android/app/src/main/res/navigation/settings_navigation.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<navigation xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/settings_navigation"
+ app:startDestination="@id/settingsFragment">
+
+ <fragment
+ android:id="@+id/settingsFragment"
+ android:name="org.yuzu.yuzu_emu.features.settings.ui.SettingsFragment"
+ android:label="SettingsFragment">
+ <argument
+ android:name="menuTag"
+ app:argType="org.yuzu.yuzu_emu.features.settings.model.Settings$MenuTag" />
+ <argument
+ android:name="game"
+ app:argType="org.yuzu.yuzu_emu.model.Game"
+ app:nullable="true" />
+ <action
+ android:id="@+id/action_settingsFragment_to_settingsSearchFragment"
+ app:destination="@id/settingsSearchFragment" />
+ </fragment>
+
+ <action
+ android:id="@+id/action_global_settingsFragment"
+ app:destination="@id/settingsFragment" />
+
+ <fragment
+ android:id="@+id/settingsSearchFragment"
+ android:name="org.yuzu.yuzu_emu.fragments.SettingsSearchFragment"
+ android:label="SettingsSearchFragment" />
+
+</navigation>
diff --git a/src/android/app/src/main/res/values-de/strings.xml b/src/android/app/src/main/res/values-de/strings.xml
index 969223ef8..dd0f36392 100644
--- a/src/android/app/src/main/res/values-de/strings.xml
+++ b/src/android/app/src/main/res/values-de/strings.xml
@@ -79,7 +79,6 @@
<string name="manage_save_data">Speicherdaten verwalten</string>
<string name="manage_save_data_description">Speicherdaten gefunden. Bitte wähle unten eine Option aus.</string>
<string name="import_export_saves_description">Speicherdaten importieren oder exportieren</string>
- <string name="import_export_saves_no_profile">Keine Speicherdaten gefunden. Bitte starte ein Spiel und versuche es erneut.</string>
<string name="save_file_imported_success">Erfolgreich importiert</string>
<string name="save_file_invalid_zip_structure">Ungültige Speicherverzeichnisstruktur</string>
<string name="save_file_invalid_zip_structure_description">Der erste Unterordnername muss die Titel-ID des Spiels sein.</string>
@@ -209,7 +208,6 @@
<string name="emulation_pause">Emulation pausieren</string>
<string name="emulation_unpause">Emulation fortsetzen</string>
<string name="emulation_input_overlay">Overlay-Optionen</string>
- <string name="emulation_game_loading">Spiel lädt…</string>
<string name="load_settings">Lädt Einstellungen...</string>
@@ -235,26 +233,6 @@
<string name="region_korea">Korea</string>
<string name="region_taiwan">Taiwan</string>
- <!-- Language Names -->
- <string name="language_japanese">Japanisch (日本語)</string>
- <string name="language_english">Englisch</string>
- <string name="language_french">Französisch (Français)</string>
- <string name="langauge_german">Deutsch (German)</string>
- <string name="language_italian">Italienisch (Italiano)</string>
- <string name="language_spanish">Spanisch (Español)</string>
- <string name="language_chinese">Chinesisch (简体中文)</string>
- <string name="language_korean">Koreanisch (한국어)</string>
- <string name="language_dutch">Niederländisch (Nederlands)</string>
- <string name="language_portuguese">Portugiesisch (Português)</string>
- <string name="language_russian">Russisch (Русский)</string>
- <string name="language_taiwanese">Taiwanesisch (台湾)</string>
- <string name="language_british_english">Britisches Englisch</string>
- <string name="language_canadian_french">Kanadisches Französisch (Français canadien)</string>
- <string name="language_latin_american_spanish">Lateinamerikanisches Spanisch (Español latinoamericano)</string>
- <string name="language_simplified_chinese">Vereinfachtes Chinesisch (简体中文)</string>
- <string name="language_traditional_chinese">Traditionelles Chinesisch (正體中文)</string>
- <string name="language_brazilian_portuguese">Brasilianisches Portugiesisch (Português do Brasil)</string>
-
<!-- Renderer APIs -->
<string name="renderer_vulkan">Vulkan</string>
<string name="renderer_none">Keiner</string>
diff --git a/src/android/app/src/main/res/values-es/strings.xml b/src/android/app/src/main/res/values-es/strings.xml
index 986e80e50..d398f862f 100644
--- a/src/android/app/src/main/res/values-es/strings.xml
+++ b/src/android/app/src/main/res/values-es/strings.xml
@@ -81,7 +81,6 @@
<string name="manage_save_data">Administrar datos de guardado</string>
<string name="manage_save_data_description">Guardar los datos encontrados. Por favor, seleccione una opción de abajo.</string>
<string name="import_export_saves_description">Importar o exportar archivos de guardado</string>
- <string name="import_export_saves_no_profile">No se han encontrado datos de guardado. Por favor, ejecute un juego y vuelva a intentarlo.</string>
<string name="save_file_imported_success">Importado correctamente</string>
<string name="save_file_invalid_zip_structure">Estructura del directorio de guardado no válido</string>
<string name="save_file_invalid_zip_structure_description">El nombre de la primera subcarpeta debe ser el Title ID del juego.</string>
@@ -213,7 +212,6 @@
<string name="emulation_pause">Pausar Emulación</string>
<string name="emulation_unpause">Reanudar Emulación</string>
<string name="emulation_input_overlay">Opciones de pantalla </string>
- <string name="emulation_game_loading">Cargando juego...</string>
<string name="load_settings">Cargando configuración...</string>
@@ -241,24 +239,6 @@
<string name="region_taiwan">Taiwán</string>
<!-- Language Names -->
- <string name="language_japanese">Japonés (日本語)</string>
- <string name="language_english">Inglés (English)</string>
- <string name="language_french">Francés (Français)</string>
- <string name="langauge_german">Alemán (deutsch)</string>
- <string name="language_italian">Italiano (Italiano)</string>
- <string name="language_spanish">Español (Español)</string>
- <string name="language_chinese">Chino (简体中文)</string>
- <string name="language_korean">Coreano (한국어)</string>
- <string name="language_dutch">Holandés (nederlands)</string>
- <string name="language_portuguese">Portugués (Português)</string>
- <string name="language_russian">Ruso (Русский)</string>
- <string name="language_taiwanese">Taiwanés (台湾)</string>
- <string name="language_british_english">Inglés británico</string>
- <string name="language_canadian_french">Francés Canadiense (Français canadien)</string>
- <string name="language_latin_american_spanish">Español Latinoamericano (Español latinoamericano)</string>
- <string name="language_simplified_chinese">Chino Simplificado (简体中文)</string>
- <string name="language_traditional_chinese">Chino tradicional (正體中文)</string>
- <string name="language_brazilian_portuguese">Portugués Brasileño (Português do Brasil)</string>
<!-- Renderer APIs -->
<string name="renderer_vulkan">Vulkan</string>
diff --git a/src/android/app/src/main/res/values-fr/strings.xml b/src/android/app/src/main/res/values-fr/strings.xml
index 14a9b2d5c..a7abd9077 100644
--- a/src/android/app/src/main/res/values-fr/strings.xml
+++ b/src/android/app/src/main/res/values-fr/strings.xml
@@ -81,7 +81,6 @@
<string name="manage_save_data">Gérer les données de sauvegarde</string>
<string name="manage_save_data_description">Données de sauvegarde trouvées. Veuillez sélectionner une option ci-dessous.</string>
<string name="import_export_saves_description">Importer ou exporter des fichiers de sauvegarde</string>
- <string name="import_export_saves_no_profile">Aucune données de sauvegarde trouvées. Veuillez lancer un jeu et réessayer.</string>
<string name="save_file_imported_success">Importé avec succès</string>
<string name="save_file_invalid_zip_structure">Structure de répertoire de sauvegarde non valide</string>
<string name="save_file_invalid_zip_structure_description">Le nom du premier sous-dossier doit être l\'identifiant du titre du jeu.</string>
@@ -213,7 +212,6 @@
<string name="emulation_pause">Mettre en pause l\'émulation</string>
<string name="emulation_unpause">Reprendre l\'émulation</string>
<string name="emulation_input_overlay">Options de l\'overlay</string>
- <string name="emulation_game_loading">Chargement du jeu...</string>
<string name="load_settings">Chargement des paramètres…</string>
@@ -241,24 +239,6 @@
<string name="region_taiwan">Taïwan</string>
<!-- Language Names -->
- <string name="language_japanese">Japonais (日本語)</string>
- <string name="language_english">Anglais</string>
- <string name="language_french">Français (Français)</string>
- <string name="langauge_german">Allemand (Deutsch)</string>
- <string name="language_italian">Italien (Italiano)</string>
- <string name="language_spanish">Espagnol (Español)</string>
- <string name="language_chinese">Chinois (简体中文)</string>
- <string name="language_korean">Coréen (한국어)</string>
- <string name="language_dutch">Néerlandais (Nederlands)</string>
- <string name="language_portuguese">Portugais (Português)</string>
- <string name="language_russian">Russe (Русский)</string>
- <string name="language_taiwanese">Taïwanais (台湾)</string>
- <string name="language_british_english">Anglais Britannique</string>
- <string name="language_canadian_french">Français canadien (Français canadien)</string>
- <string name="language_latin_american_spanish">Espagnol latino-américain (Español latinoamericano)</string>
- <string name="language_simplified_chinese">Chinois simplifié (简体中文)</string>
- <string name="language_traditional_chinese">Chinois Traditionnel (正體中文)</string>
- <string name="language_brazilian_portuguese">Portugais brésilien (Português do Brasil)</string>
<!-- Renderer APIs -->
<string name="renderer_vulkan">Vulkan</string>
diff --git a/src/android/app/src/main/res/values-it/strings.xml b/src/android/app/src/main/res/values-it/strings.xml
index 47a4cfa31..b18161801 100644
--- a/src/android/app/src/main/res/values-it/strings.xml
+++ b/src/android/app/src/main/res/values-it/strings.xml
@@ -81,7 +81,6 @@
<string name="manage_save_data">Gestisci i salvataggi</string>
<string name="manage_save_data_description">Salvataggio non trovato. Seleziona un\'opzione di seguito.</string>
<string name="import_export_saves_description">Importa o esporta i salvataggi</string>
- <string name="import_export_saves_no_profile">Nessun salvataggio trovato. Avvia un gioco e riprova.</string>
<string name="save_file_imported_success">Importato con successo</string>
<string name="save_file_invalid_zip_structure">La struttura della cartella dei salvataggi è invalida</string>
<string name="save_file_invalid_zip_structure_description">La prima sotto cartella <b>deve</b> chiamarsi come l\'ID del titolo del gioco.</string>
@@ -213,7 +212,6 @@
<string name="emulation_pause">Metti in pausa l\'emulazione</string>
<string name="emulation_unpause">Riprendi Emulazione</string>
<string name="emulation_input_overlay">Impostazioni Overlay</string>
- <string name="emulation_game_loading">Caricamento del gioco...</string>
<string name="load_settings">Caricamento delle impostazioni...</string>
@@ -241,24 +239,6 @@
<string name="region_taiwan">Taiwan</string>
<!-- Language Names -->
- <string name="language_japanese">Giapponese (日本語)</string>
- <string name="language_english">Inglese (English)</string>
- <string name="language_french">Francese (Français)</string>
- <string name="langauge_german">Tedesco (Deutsch)</string>
- <string name="language_italian">Italiano (Italiano)</string>
- <string name="language_spanish">Spagnolo (Español)</string>
- <string name="language_chinese">Cinese (简体中文)</string>
- <string name="language_korean">Coreano (한국어)</string>
- <string name="language_dutch">Olandese (Nederlands)</string>
- <string name="language_portuguese">Portoghese (Português)</string>
- <string name="language_russian">Russo (Русский)</string>
- <string name="language_taiwanese">Taiwanese (台湾)</string>
- <string name="language_british_english">Inglese britannico</string>
- <string name="language_canadian_french">Francese Canadese (Français canadien)</string>
- <string name="language_latin_american_spanish">Spagnolo Latino Americano (Español latinoamericano)</string>
- <string name="language_simplified_chinese">Cinese Semplificato (简体中文)</string>
- <string name="language_traditional_chinese">Cinese tradizionale (正體中文)</string>
- <string name="language_brazilian_portuguese">Portoghese (Português)</string>
<!-- Renderer APIs -->
<string name="renderer_vulkan">Vulkan</string>
diff --git a/src/android/app/src/main/res/values-ja/strings.xml b/src/android/app/src/main/res/values-ja/strings.xml
index 46eda9ef7..88fa5a0bb 100644
--- a/src/android/app/src/main/res/values-ja/strings.xml
+++ b/src/android/app/src/main/res/values-ja/strings.xml
@@ -80,7 +80,6 @@
<string name="manage_save_data">セーブデータを管理</string>
<string name="manage_save_data_description">セーブデータが見つかりました。以下のオプションから選択してください。</string>
<string name="import_export_saves_description">セーブファイルをインポート/エクスポート</string>
- <string name="import_export_saves_no_profile">セーブデータがありません。ゲームを起動してから再度お試しください。</string>
<string name="save_file_imported_success">インポートが完了しました</string>
<string name="save_file_invalid_zip_structure">セーブデータのディレクトリ構造が無効です</string>
<string name="save_file_invalid_zip_structure_description">最初のサブフォルダ名は、ゲームのタイトルIDである必要があります。</string>
@@ -211,7 +210,6 @@
<string name="emulation_pause">エミュレーションを一時停止</string>
<string name="emulation_unpause">エミュレーションを再開</string>
<string name="emulation_input_overlay">オーバーレイオプション</string>
- <string name="emulation_game_loading">ロード中…</string>
<string name="load_settings">設定をロード中…</string>
@@ -239,24 +237,6 @@
<string name="region_taiwan">台湾</string>
<!-- Language Names -->
- <string name="language_japanese">日本語</string>
- <string name="language_english">英語</string>
- <string name="language_french">フランス語 (Français)</string>
- <string name="langauge_german">ドイツ語 (Deutsch)</string>
- <string name="language_italian">イタリア語 (Italiano)</string>
- <string name="language_spanish">スペイン語 (Español)</string>
- <string name="language_chinese">中国語 (简体中文)</string>
- <string name="language_korean">韓国語 (한국어)</string>
- <string name="language_dutch">オランダ語 (Nederlands)</string>
- <string name="language_portuguese">ポルトガル語 (Português)</string>
- <string name="language_russian">ロシア語 (Русский)</string>
- <string name="language_taiwanese">台湾語 (台湾)</string>
- <string name="language_british_english">イギリス英語</string>
- <string name="language_canadian_french">フランス語(カナダ) (Français canadien)</string>
- <string name="language_latin_american_spanish">スペイン語(ラテンアメリカ) (Español latinoamericano)</string>
- <string name="language_simplified_chinese">中国語 (简体中文)</string>
- <string name="language_traditional_chinese">繁体字中国語 (正體中文)</string>
- <string name="language_brazilian_portuguese">ポルトガル語(ブラジル) (Português do Brasil)</string>
<!-- Renderer APIs -->
<string name="renderer_vulkan">Vulkan</string>
diff --git a/src/android/app/src/main/res/values-ko/strings.xml b/src/android/app/src/main/res/values-ko/strings.xml
index 5da80ab4b..4b658255c 100644
--- a/src/android/app/src/main/res/values-ko/strings.xml
+++ b/src/android/app/src/main/res/values-ko/strings.xml
@@ -81,7 +81,6 @@
<string name="manage_save_data">저장 데이터 관리</string>
<string name="manage_save_data_description">데이터를 저장했습니다. 아래에서 옵션을 선택하세요.</string>
<string name="import_export_saves_description">저장 파일 가져오기 또는 내보내기</string>
- <string name="import_export_saves_no_profile">저장 데이터를 찾을 수 없습니다. 게임을 실행한 후 다시 시도하세요.</string>
<string name="save_file_imported_success">가져오기 성공</string>
<string name="save_file_invalid_zip_structure">저장 디렉터리 구조가 잘못됨</string>
<string name="save_file_invalid_zip_structure_description">첫 번째 하위 폴더 이름은 게임의 타이틀 ID여야 합니다.</string>
@@ -213,7 +212,6 @@
<string name="emulation_pause">에뮬레이션 일시 중지</string>
<string name="emulation_unpause">에뮬레이션 일시 중지 해제</string>
<string name="emulation_input_overlay">오버레이 옵션</string>
- <string name="emulation_game_loading">게임 불러오기 중...</string>
<string name="load_settings">설정 불러오기 중...</string>
@@ -241,24 +239,6 @@
<string name="region_taiwan">타이완</string>
<!-- Language Names -->
- <string name="language_japanese">일본어 (日本語)</string>
- <string name="language_english">영어 (English)</string>
- <string name="language_french">프랑스어 (Français)</string>
- <string name="langauge_german">독일어(Deutsch)</string>
- <string name="language_italian">이탈리아어 (Italiano)</string>
- <string name="language_spanish">스페인어 (Español)</string>
- <string name="language_chinese">중국어 (简体中文)</string>
- <string name="language_korean">한국어 (Korean)</string>
- <string name="language_dutch">네덜란드어 (Nederlands)</string>
- <string name="language_portuguese">포르투갈어 (Português)</string>
- <string name="language_russian">러시아어 (Русский)</string>
- <string name="language_taiwanese">대만어 (台湾)</string>
- <string name="language_british_english">영어 (British English)</string>
- <string name="language_canadian_french">캐나다 프랑스어 (Français canadien)</string>
- <string name="language_latin_american_spanish">라틴 아메리카 스페인어 (Español latinoamericano)</string>
- <string name="language_simplified_chinese">중국어 간체 (简体中文)</string>
- <string name="language_traditional_chinese">중국어 번체 (正體中文)</string>
- <string name="language_brazilian_portuguese">브라질 포르투갈어 (Português do Brasil)</string>
<!-- Renderer APIs -->
<string name="renderer_vulkan">불칸</string>
diff --git a/src/android/app/src/main/res/values-nb/strings.xml b/src/android/app/src/main/res/values-nb/strings.xml
index 3e1f9bce5..dd602a389 100644
--- a/src/android/app/src/main/res/values-nb/strings.xml
+++ b/src/android/app/src/main/res/values-nb/strings.xml
@@ -81,7 +81,6 @@
<string name="manage_save_data">Administrere lagringsdata</string>
<string name="manage_save_data_description">Lagringsdata funnet. Velg et alternativ nedenfor.</string>
<string name="import_export_saves_description">Importer eller eksporter lagringsfiler</string>
- <string name="import_export_saves_no_profile">Ingen lagringsdata funnet. Start et nytt spill og prøv på nytt.</string>
<string name="save_file_imported_success">Vellykket import</string>
<string name="save_file_invalid_zip_structure">Ugyldig struktur for lagringskatalog</string>
<string name="save_file_invalid_zip_structure_description">Det første undermappenavnet må være spillets tittel-ID.</string>
@@ -213,7 +212,6 @@
<string name="emulation_pause">Pause Emulering</string>
<string name="emulation_unpause">Opphev pausing av emulering</string>
<string name="emulation_input_overlay">Alternativer for overlegg</string>
- <string name="emulation_game_loading">Spillet lastes inn...</string>
<string name="load_settings">Laster inn innstillinger...</string>
@@ -241,24 +239,6 @@
<string name="region_taiwan">Taiwan</string>
<!-- Language Names -->
- <string name="language_japanese">Japansk (日本語)</string>
- <string name="language_english">Engelsk</string>
- <string name="language_french">Fransk (Français)</string>
- <string name="langauge_german">Tysk (Deutsch)</string>
- <string name="language_italian">Italiensk (Italiano)</string>
- <string name="language_spanish">Spansk (Español)</string>
- <string name="language_chinese">Kinesisk (简体中文)</string>
- <string name="language_korean">Koreansk (한국어)</string>
- <string name="language_dutch">Nederlandsk (Nederlands)</string>
- <string name="language_portuguese">Portugisisk (Português)</string>
- <string name="language_russian">Russisk (Русский)</string>
- <string name="language_taiwanese">Taiwansk (台湾)</string>
- <string name="language_british_english">Britisk Engelsk</string>
- <string name="language_canadian_french">Kanadisk fransk (Français canadien)</string>
- <string name="language_latin_american_spanish">Latinamerikansk spansk (Español latinoamericano)</string>
- <string name="language_simplified_chinese">Forenklet kinesisk (简体中文)</string>
- <string name="language_traditional_chinese">Tradisjonell Kinesisk (正體中文)</string>
- <string name="language_brazilian_portuguese">Brasiliansk portugisisk (Português do Brasil)</string>
<!-- Renderer APIs -->
<string name="renderer_vulkan">Vulkan</string>
diff --git a/src/android/app/src/main/res/values-pl/strings.xml b/src/android/app/src/main/res/values-pl/strings.xml
index 1cd1a8f87..2fdd1f952 100644
--- a/src/android/app/src/main/res/values-pl/strings.xml
+++ b/src/android/app/src/main/res/values-pl/strings.xml
@@ -81,7 +81,6 @@
<string name="manage_save_data">Zarządzaj plikami zapisów gier</string>
<string name="manage_save_data_description">Znaleziono pliki zapisów gier. Wybierz opcję poniżej.</string>
<string name="import_export_saves_description">Importuj lub wyeksportuj pliki zapisów</string>
- <string name="import_export_saves_no_profile">Nie znaleziono plików zapisów. Uruchom grę i spróbuj ponownie.</string>
<string name="save_file_imported_success">Zaimportowano pomyślnie</string>
<string name="save_file_invalid_zip_structure">Niepoprawna struktura folderów</string>
<string name="save_file_invalid_zip_structure_description">Pierwszy podkatalog musi zawierać w nazwie numer ID tytułu gry.</string>
@@ -213,7 +212,6 @@
<string name="emulation_pause">Wstrzymaj emulację</string>
<string name="emulation_unpause">Wznów emulację</string>
<string name="emulation_input_overlay">Opcje nakładki</string>
- <string name="emulation_game_loading">Wczytywanie gry...</string>
<string name="load_settings">Wczytywanie ustawień...</string>
@@ -241,24 +239,6 @@
<string name="region_taiwan">Tajwan</string>
<!-- Language Names -->
- <string name="language_japanese">Japoński (日本語)</string>
- <string name="language_english">Angielski</string>
- <string name="language_french">Francuski (Francja)</string>
- <string name="langauge_german">Niemiecki (Niemcy)</string>
- <string name="language_italian">Włoski (Włochy)</string>
- <string name="language_spanish">Hiszpański (Hiszpania)</string>
- <string name="language_chinese">Chiński (简体中文)</string>
- <string name="language_korean">Koreański (한국어)</string>
- <string name="language_dutch">Duński (Holandia)</string>
- <string name="language_portuguese">Portugalski (Portugalia)</string>
- <string name="language_russian">Rosyjski (Русский)</string>
- <string name="language_taiwanese">Tajwański (台湾)</string>
- <string name="language_british_english">Angielski Brytyjski</string>
- <string name="language_canadian_french">Francuski (Kanada)</string>
- <string name="language_latin_american_spanish">Hiszpański (Ameryka Latynoska)</string>
- <string name="language_simplified_chinese">Chiński uproszczony (简体中文)</string>
- <string name="language_traditional_chinese">Chiński tradycyjny (正體中文)</string>
- <string name="language_brazilian_portuguese">Portugalski (Brazylia)</string>
<!-- Renderer APIs -->
<string name="renderer_vulkan">Vulkan</string>
diff --git a/src/android/app/src/main/res/values-pt-rBR/strings.xml b/src/android/app/src/main/res/values-pt-rBR/strings.xml
index 35197c280..2f26367fe 100644
--- a/src/android/app/src/main/res/values-pt-rBR/strings.xml
+++ b/src/android/app/src/main/res/values-pt-rBR/strings.xml
@@ -81,7 +81,6 @@
<string name="manage_save_data">Gerir dados guardados</string>
<string name="manage_save_data_description">Dados não encontrados. Por favor seleciona uma opção abaixo.</string>
<string name="import_export_saves_description">Importa ou exporta dados guardados</string>
- <string name="import_export_saves_no_profile">Dados não encontrados. Por favor lança o jogo e tenta novamente.</string>
<string name="save_file_imported_success">Importado com sucesso</string>
<string name="save_file_invalid_zip_structure">Estrutura de diretório de dados invalida</string>
<string name="save_file_invalid_zip_structure_description">O nome da primeira sub pasta tem de ser a ID do jogo.</string>
@@ -213,7 +212,6 @@
<string name="emulation_pause">Pausa emulação</string>
<string name="emulation_unpause">Retomar emulação</string>
<string name="emulation_input_overlay">Opções de sobreposição </string>
- <string name="emulation_game_loading">Jogo a carregar...</string>
<string name="load_settings">Configurações a carregar...</string>
@@ -241,24 +239,6 @@
<string name="region_taiwan">Taiwan</string>
<!-- Language Names -->
- <string name="language_japanese">Japônes (日本語)</string>
- <string name="language_english">Português do Brasil</string>
- <string name="language_french">Francês (Français)</string>
- <string name="langauge_german">Alemão (Deutsch)</string>
- <string name="language_italian">Italiano (Italiano)</string>
- <string name="language_spanish">Espanhol (Español)</string>
- <string name="language_chinese">Mandarim (简体中文)</string>
- <string name="language_korean">Coreano (한국어)</string>
- <string name="language_dutch">Holandês (Nederlands)</string>
- <string name="language_portuguese">Português (Português)</string>
- <string name="language_russian">Russo (Русский)</string>
- <string name="language_taiwanese">Taiwanês (台湾)</string>
- <string name="language_british_english">Inglês britânico (British English)</string>
- <string name="language_canadian_french">Fracês Canadiano (Français canadien)</string>
- <string name="language_latin_american_spanish">Espanhol da América Latina (Español latino-americano)</string>
- <string name="language_simplified_chinese">Chinês Simplificado (简体中文)</string>
- <string name="language_traditional_chinese">Chinês tradicional (正體中文)</string>
- <string name="language_brazilian_portuguese">Português do Brasil (Português do Brasil)</string>
<!-- Renderer APIs -->
<string name="renderer_vulkan">Vulcano</string>
diff --git a/src/android/app/src/main/res/values-pt-rPT/strings.xml b/src/android/app/src/main/res/values-pt-rPT/strings.xml
index 8761e2374..4e1eb4cd7 100644
--- a/src/android/app/src/main/res/values-pt-rPT/strings.xml
+++ b/src/android/app/src/main/res/values-pt-rPT/strings.xml
@@ -81,7 +81,6 @@
<string name="manage_save_data">Gerir dados guardados</string>
<string name="manage_save_data_description">Dados não encontrados. Por favor seleciona uma opção abaixo.</string>
<string name="import_export_saves_description">Importa ou exporta dados guardados</string>
- <string name="import_export_saves_no_profile">Dados não encontrados. Por favor lança o jogo e tenta novamente.</string>
<string name="save_file_imported_success">Importado com sucesso</string>
<string name="save_file_invalid_zip_structure">Estrutura de diretório de dados invalida</string>
<string name="save_file_invalid_zip_structure_description">O nome da primeira sub pasta tem de ser a ID do jogo.</string>
@@ -213,7 +212,6 @@
<string name="emulation_pause">Pausa emulação</string>
<string name="emulation_unpause">Retomar emulação</string>
<string name="emulation_input_overlay">Opções de sobreposição </string>
- <string name="emulation_game_loading">Jogo a carregar...</string>
<string name="load_settings">Configurações a carregar...</string>
@@ -241,24 +239,6 @@
<string name="region_taiwan">Taiwan</string>
<!-- Language Names -->
- <string name="language_japanese">Japonês (日本語)</string>
- <string name="language_english">Inglês</string>
- <string name="language_french">Francês (Français)</string>
- <string name="langauge_german">Alemão (Deutsch)</string>
- <string name="language_italian">Italiano (Italiano)</string>
- <string name="language_spanish">Espanhol (Español)</string>
- <string name="language_chinese">Chinês simplificado (简体中文)</string>
- <string name="language_korean">Coreano (한국어)</string>
- <string name="language_dutch">Holandês (Nederlands)</string>
- <string name="language_portuguese">Português (Português)</string>
- <string name="language_russian">Russo (Русский)</string>
- <string name="language_taiwanese">Taiwanês (台湾)</string>
- <string name="language_british_english">Inglês Britânico</string>
- <string name="language_canadian_french">Fracês Canadiano (Français canadien)</string>
- <string name="language_latin_american_spanish">Espanhol da América Latina (Español latino-americano)</string>
- <string name="language_simplified_chinese">Chinês Simplificado (简体中文)</string>
- <string name="language_traditional_chinese">Chinês Tradicional (正 體 中文)</string>
- <string name="language_brazilian_portuguese">Português do Brasil (Português do Brasil)</string>
<!-- Renderer APIs -->
<string name="renderer_vulkan">Vulcano</string>
diff --git a/src/android/app/src/main/res/values-ru/strings.xml b/src/android/app/src/main/res/values-ru/strings.xml
index 0fb4908f7..f5695dc93 100644
--- a/src/android/app/src/main/res/values-ru/strings.xml
+++ b/src/android/app/src/main/res/values-ru/strings.xml
@@ -81,7 +81,6 @@
<string name="manage_save_data">Управление данными сохранений</string>
<string name="manage_save_data_description">Найдено данные сохранений. Пожалуйста, выберите вариант ниже.</string>
<string name="import_export_saves_description">Импорт или экспорт файлов сохранения</string>
- <string name="import_export_saves_no_profile">Данные сохранений не найдены. Пожалуйста, запустите игру и повторите попытку.</string>
<string name="save_file_imported_success">Успешно импортировано</string>
<string name="save_file_invalid_zip_structure">Недопустимая структура папки сохранения</string>
<string name="save_file_invalid_zip_structure_description">Название первой вложенной папки должно быть идентификатором игры.</string>
@@ -213,7 +212,6 @@
<string name="emulation_pause">Пауза эмуляции</string>
<string name="emulation_unpause">Возобновление эмуляции</string>
<string name="emulation_input_overlay">Настройки оверлея</string>
- <string name="emulation_game_loading">Загрузка игры...</string>
<string name="load_settings">Загрузка настроек...</string>
@@ -241,24 +239,6 @@
<string name="region_taiwan">Тайвань</string>
<!-- Language Names -->
- <string name="language_japanese">Японский (日本語)</string>
- <string name="language_english">Английский (English)</string>
- <string name="language_french">Французский (Français)</string>
- <string name="langauge_german">Немецкий (Deutsch)</string>
- <string name="language_italian">Итальянский (Italiano)</string>
- <string name="language_spanish">Испанский (Español)</string>
- <string name="language_chinese">Китайский (简体中文)</string>
- <string name="language_korean">Корейский (한국어)</string>
- <string name="language_dutch">Голландский (Nederlands)</string>
- <string name="language_portuguese">Португальский (Português)</string>
- <string name="language_russian">Русский</string>
- <string name="language_taiwanese">Тайваньский (台湾)</string>
- <string name="language_british_english">Британский английский</string>
- <string name="language_canadian_french">Канадский французский (Français canadien)</string>
- <string name="language_latin_american_spanish">Латиноамериканский испанский (Español latinoamericano)</string>
- <string name="language_simplified_chinese">Упрощенный китайский (简体中文)</string>
- <string name="language_traditional_chinese">Традиционный китайский (正體中文)</string>
- <string name="language_brazilian_portuguese">Бразильский португальский (Português do Brasil)</string>
<!-- Renderer APIs -->
<string name="renderer_vulkan">Vulkan</string>
diff --git a/src/android/app/src/main/res/values-uk/strings.xml b/src/android/app/src/main/res/values-uk/strings.xml
index 0d11eb2d2..061bc6f04 100644
--- a/src/android/app/src/main/res/values-uk/strings.xml
+++ b/src/android/app/src/main/res/values-uk/strings.xml
@@ -81,7 +81,6 @@
<string name="manage_save_data">Керування даними збережень</string>
<string name="manage_save_data_description">Знайдено дані збережень. Будь ласка, виберіть варіант нижче.</string>
<string name="import_export_saves_description">Імпорт або експорт файлів збереження</string>
- <string name="import_export_saves_no_profile">Дані збережень не знайдено. Будь ласка, запустіть гру та повторіть спробу.</string>
<string name="save_file_imported_success">Успішно імпортовано</string>
<string name="save_file_invalid_zip_structure">Неприпустима структура папки збереження</string>
<string name="save_file_invalid_zip_structure_description">Назва першої вкладеної папки має бути ідентифікатором гри.</string>
@@ -213,7 +212,6 @@
<string name="emulation_pause">Пауза емуляції</string>
<string name="emulation_unpause">Відновлення емуляції</string>
<string name="emulation_input_overlay">Налаштування оверлея</string>
- <string name="emulation_game_loading">Завантаження гри...</string>
<string name="load_settings">Завантаження налаштувань...</string>
@@ -241,24 +239,6 @@
<string name="region_taiwan">Тайвань</string>
<!-- Language Names -->
- <string name="language_japanese">Японська (日本語)</string>
- <string name="language_english">Англійська (English)</string>
- <string name="language_french">Французька (Français)</string>
- <string name="langauge_german">Німецька (Deutsch)</string>
- <string name="language_italian">Італійська (Italiano)</string>
- <string name="language_spanish">Іспанська (Español)</string>
- <string name="language_chinese">Китайскька (简体中文)</string>
- <string name="language_korean">Корейська (한국어)</string>
- <string name="language_dutch">Голландська (Nederlands)</string>
- <string name="language_portuguese">Португальська (Português)</string>
- <string name="language_russian">Російська (Русский)</string>
- <string name="language_taiwanese">Тайванська (台湾)</string>
- <string name="language_british_english">Британська англійська</string>
- <string name="language_canadian_french">Канадська французька (Français canadien)</string>
- <string name="language_latin_american_spanish">Латиноамериканська іспанська (Español latinoamericano)</string>
- <string name="language_simplified_chinese">Спрощена китайська (简体中文)</string>
- <string name="language_traditional_chinese">Традиційна китайська (正體中文)</string>
- <string name="language_brazilian_portuguese">Бразильська португальська (Português do Brasil)</string>
<!-- Renderer APIs -->
<string name="renderer_vulkan">Vulkan</string>
diff --git a/src/android/app/src/main/res/values-w600dp/integers.xml b/src/android/app/src/main/res/values-w600dp/integers.xml
new file mode 100644
index 000000000..9975db801
--- /dev/null
+++ b/src/android/app/src/main/res/values-w600dp/integers.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+
+ <integer name="grid_columns">2</integer>
+
+</resources>
diff --git a/src/android/app/src/main/res/values-zh-rCN/strings.xml b/src/android/app/src/main/res/values-zh-rCN/strings.xml
index e00bbaa2e..fe6dd5eaa 100644
--- a/src/android/app/src/main/res/values-zh-rCN/strings.xml
+++ b/src/android/app/src/main/res/values-zh-rCN/strings.xml
@@ -81,7 +81,6 @@
<string name="manage_save_data">管理存档数据</string>
<string name="manage_save_data_description">已找到存档数据,请选择下方的选项。</string>
<string name="import_export_saves_description">导入或导出存档</string>
- <string name="import_export_saves_no_profile">找不到存档数据,请启动游戏并重试。</string>
<string name="save_file_imported_success">已成功导入存档</string>
<string name="save_file_invalid_zip_structure">无效的存档目录</string>
<string name="save_file_invalid_zip_structure_description">第一个子文件夹名称必须为当前游戏的 ID。</string>
@@ -213,7 +212,6 @@
<string name="emulation_pause">暂停模拟</string>
<string name="emulation_unpause">继续模拟</string>
<string name="emulation_input_overlay">虚拟按键选项</string>
- <string name="emulation_game_loading">载入游戏中…</string>
<string name="load_settings">正在载入设定…</string>
@@ -241,24 +239,6 @@
<string name="region_taiwan">中国台湾</string>
<!-- Language Names -->
- <string name="language_japanese">日语 (日本語)</string>
- <string name="language_english">英语 (English)</string>
- <string name="language_french">法语 (Français)</string>
- <string name="langauge_german">德语 (Deutsch)</string>
- <string name="language_italian">意大利语 (Italiano)</string>
- <string name="language_spanish">西班牙语 (Español)</string>
- <string name="language_chinese">中文 (简体中文)</string>
- <string name="language_korean">韩语 (한국어)</string>
- <string name="language_dutch">荷兰语 (Nederlands)</string>
- <string name="language_portuguese">葡萄牙语 (Português)</string>
- <string name="language_russian">俄语 (Русский)</string>
- <string name="language_taiwanese">台湾中文 (台灣)</string>
- <string name="language_british_english">英式英语</string>
- <string name="language_canadian_french">加拿大法语 (Français canadien)</string>
- <string name="language_latin_american_spanish">拉丁美洲西班牙语 (Español latinoamericano)</string>
- <string name="language_simplified_chinese">简体中文 (简体中文)</string>
- <string name="language_traditional_chinese">繁体中文 (正體中文)</string>
- <string name="language_brazilian_portuguese">巴西葡萄牙语 (Português do Brasil)</string>
<!-- Renderer APIs -->
<string name="renderer_vulkan">Vulkan</string>
diff --git a/src/android/app/src/main/res/values-zh-rTW/strings.xml b/src/android/app/src/main/res/values-zh-rTW/strings.xml
index a54d04248..9b3e54224 100644
--- a/src/android/app/src/main/res/values-zh-rTW/strings.xml
+++ b/src/android/app/src/main/res/values-zh-rTW/strings.xml
@@ -81,7 +81,6 @@
<string name="manage_save_data">管理儲存資料</string>
<string name="manage_save_data_description">已找到儲存資料,請選取下方的選項。</string>
<string name="import_export_saves_description">匯入或匯出儲存檔案</string>
- <string name="import_export_saves_no_profile">找不到儲存資料,請啟動遊戲並重試。</string>
<string name="save_file_imported_success">已成功匯入</string>
<string name="save_file_invalid_zip_structure">無效的儲存目錄結構</string>
<string name="save_file_invalid_zip_structure_description">首個子資料夾名稱必須為遊戲標題 ID。</string>
@@ -213,7 +212,6 @@
<string name="emulation_pause">暫停模擬</string>
<string name="emulation_unpause">取消暫停模擬</string>
<string name="emulation_input_overlay">覆疊選項</string>
- <string name="emulation_game_loading">遊戲正在載入…</string>
<string name="load_settings">正在載入設定…</string>
@@ -241,24 +239,6 @@
<string name="region_taiwan">台灣</string>
<!-- Language Names -->
- <string name="language_japanese">日文 (日本語)</string>
- <string name="language_english">英文</string>
- <string name="language_french">法文 (Français)</string>
- <string name="langauge_german">德文 (Deutsch)</string>
- <string name="language_italian">義大利文 (Italiano)</string>
- <string name="language_spanish">西班牙文 (Español)</string>
- <string name="language_chinese">中文 (简体中文)</string>
- <string name="language_korean">韓文 (한국어)</string>
- <string name="language_dutch">荷蘭文 (Nederlands)</string>
- <string name="language_portuguese">葡萄牙文 (Português)</string>
- <string name="language_russian">俄文 (Русский)</string>
- <string name="language_taiwanese">台文 (台灣)</string>
- <string name="language_british_english">英式英文</string>
- <string name="language_canadian_french">加拿大法文 (Français canadien)</string>
- <string name="language_latin_american_spanish">拉丁美洲西班牙文 (Español latinoamericano)</string>
- <string name="language_simplified_chinese">簡體中文 (简体中文)</string>
- <string name="language_traditional_chinese">正體中文 (正體中文)</string>
- <string name="language_brazilian_portuguese">巴西葡萄牙文 (Português do Brasil)</string>
<!-- Renderer APIs -->
<string name="renderer_vulkan">Vulkan</string>
diff --git a/src/android/app/src/main/res/values/arrays.xml b/src/android/app/src/main/res/values/arrays.xml
index 200b99185..dc10159c9 100644
--- a/src/android/app/src/main/res/values/arrays.xml
+++ b/src/android/app/src/main/res/values/arrays.xml
@@ -243,10 +243,10 @@
<item>@string/cubeb</item>
<item>@string/string_null</item>
</string-array>
- <string-array name="outputEngineValues">
- <item>auto</item>
- <item>cubeb</item>
- <item>null</item>
- </string-array>
+ <integer-array name="outputEngineValues">
+ <item>0</item>
+ <item>1</item>
+ <item>3</item>
+ </integer-array>
</resources>
diff --git a/src/android/app/src/main/res/values/dimens.xml b/src/android/app/src/main/res/values/dimens.xml
index 00757e5e8..7b2296d95 100644
--- a/src/android/app/src/main/res/values/dimens.xml
+++ b/src/android/app/src/main/res/values/dimens.xml
@@ -12,6 +12,7 @@
<dimen name="spacing_refresh_end">72dp</dimen>
<dimen name="menu_width">256dp</dimen>
<dimen name="card_width">165dp</dimen>
+ <dimen name="icon_inset">24dp</dimen>
<dimen name="dialog_margin">20dp</dimen>
<dimen name="elevated_app_bar">3dp</dimen>
diff --git a/src/android/app/src/main/res/values/integers.xml b/src/android/app/src/main/res/values/integers.xml
index 5e39bc7d9..dc527965c 100644
--- a/src/android/app/src/main/res/values/integers.xml
+++ b/src/android/app/src/main/res/values/integers.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <integer name="game_title_lines">2</integer>
+ <integer name="grid_columns">1</integer>
<!-- Default SWITCH landscape layout -->
<integer name="SWITCH_BUTTON_A_X">760</integer>
diff --git a/src/android/app/src/main/res/values/strings.xml b/src/android/app/src/main/res/values/strings.xml
index bfdebd35b..e51edf872 100644
--- a/src/android/app/src/main/res/values/strings.xml
+++ b/src/android/app/src/main/res/values/strings.xml
@@ -29,6 +29,7 @@
<string name="back">Back</string>
<string name="add_games">Add Games</string>
<string name="add_games_description">Select your games folder</string>
+ <string name="step_complete">Complete!</string>
<!-- Home strings -->
<string name="home_games">Games</string>
@@ -42,6 +43,7 @@
<string name="add_games_warning_description">Games won\'t be displayed in the Games list if a folder isn\'t selected.</string>
<string name="add_games_warning_help">https://yuzu-emu.org/help/quickstart/#dumping-games</string>
<string name="home_search_games">Search games</string>
+ <string name="search_settings">Search settings</string>
<string name="games_dir_selected">Games directory selected</string>
<string name="install_prod_keys">Install prod.keys</string>
<string name="install_prod_keys_description">Required to decrypt retail games</string>
@@ -73,6 +75,7 @@
<string name="install_gpu_driver">Install GPU driver</string>
<string name="install_gpu_driver_description">Install alternative drivers for potentially better performance or accuracy</string>
<string name="advanced_settings">Advanced settings</string>
+ <string name="advanced_settings_game">Advanced settings: %1$s</string>
<string name="settings_description">Configure emulator settings</string>
<string name="search_recently_played">Recently played</string>
<string name="search_recently_added">Recently added</string>
@@ -87,7 +90,6 @@
<string name="manage_save_data">Manage save data</string>
<string name="manage_save_data_description">Save data found. Please select an option below.</string>
<string name="import_export_saves_description">Import or export save files</string>
- <string name="import_export_saves_no_profile">No save data found. Please launch a game and retry.</string>
<string name="save_file_imported_success">Imported successfully</string>
<string name="save_file_invalid_zip_structure">Invalid save directory structure</string>
<string name="save_file_invalid_zip_structure_description">The first subfolder name must be the title ID of the game.</string>
@@ -98,12 +100,13 @@
<string name="firmware_installing">Installing firmware</string>
<string name="firmware_installed_success">Firmware installed successfully</string>
<string name="firmware_installed_failure">Firmware installation failed</string>
- <string name="firmware_installed_failure_description">Verify that the ZIP contains valid firmware and try again.</string>
+ <string name="firmware_installed_failure_description">Make sure the firmware nca files are at the root of the zip and try again.</string>
<string name="share_log">Share debug logs</string>
<string name="share_log_description">Share yuzu\'s log file to debug issues</string>
<string name="share_log_missing">No log file found</string>
<string name="install_game_content">Install game content</string>
<string name="install_game_content_description">Install game updates or DLC</string>
+ <string name="installing_game_content">Installing content…</string>
<string name="install_game_content_failure">Error installing file(s) to NAND</string>
<string name="install_game_content_failure_description">Please ensure content(s) are valid and that the prod.keys file is installed.</string>
<string name="install_game_content_failure_base">Installation of base games isn\'t permitted in order to avoid possible conflicts.</string>
@@ -115,6 +118,10 @@
<string name="install_game_content_help_link">https://yuzu-emu.org/help/quickstart/#dumping-installed-updates</string>
<string name="custom_driver_not_supported">Custom drivers not supported</string>
<string name="custom_driver_not_supported_description">Custom driver loading isn\'t currently supported for this device.\nCheck this option again in the future to see if support was added!</string>
+ <string name="manage_yuzu_data">Manage yuzu data</string>
+ <string name="manage_yuzu_data_description">Import/export firmware, keys, user data, and more!</string>
+ <string name="share_save_file">Share save file</string>
+ <string name="export_save_failed">Failed to export save</string>
<!-- About screen strings -->
<string name="gaia_is_not_real">Gaia isn\'t real</string>
@@ -125,6 +132,16 @@
<string name="contributors_link">https://github.com/yuzu-emu/yuzu/graphs/contributors</string>
<string name="licenses_description">Projects that make yuzu for Android possible</string>
<string name="build">Build</string>
+ <string name="user_data">User data</string>
+ <string name="user_data_description">Import/export all app data.\n\nWhen importing user data, all existing user data will be deleted!</string>
+ <string name="exporting_user_data">Exporting user data…</string>
+ <string name="importing_user_data">Importing user data…</string>
+ <string name="import_user_data">Import user data</string>
+ <string name="invalid_yuzu_backup">Invalid yuzu backup</string>
+ <string name="user_data_export_success">User data exported successfully</string>
+ <string name="user_data_import_success">User data imported successfully</string>
+ <string name="user_data_export_cancelled">Export cancelled</string>
+ <string name="user_data_import_failed_description">Make sure the user data folders are at the root of the zip folder and contain a config file at config/config.ini and try again.</string>
<string name="support_link">https://discord.gg/u77vRWY</string>
<string name="website_link">https://yuzu-emu.org/</string>
<string name="github_link">https://github.com/yuzu-emu</string>
@@ -149,6 +166,7 @@
<string name="frame_limit_slider">Limit speed percent</string>
<string name="frame_limit_slider_description">Specifies the percentage to limit emulation speed. 100% is the normal speed. Values higher or lower will increase or decrease the speed limit.</string>
<string name="cpu_accuracy">CPU accuracy</string>
+ <string name="value_with_units">%1$s%2$s</string>
<!-- System settings strings -->
<string name="use_docked_mode">Docked Mode</string>
@@ -198,7 +216,9 @@
<string name="ini_saved">Saved settings</string>
<string name="gameid_saved">Saved settings for %1$s</string>
<string name="error_saving">Error saving %1$s.ini: %2$s</string>
+ <string name="unimplemented_menu">Unimplemented Menu</string>
<string name="loading">Loading…</string>
+ <string name="shutting_down">Shutting down…</string>
<string name="reset_setting_confirmation">Do you want to reset this setting back to its default value?</string>
<string name="reset_to_default">Reset to default</string>
<string name="reset_all_settings">Reset all settings?</string>
@@ -209,6 +229,11 @@
<string name="auto">Auto</string>
<string name="submit">Submit</string>
<string name="string_null">Null</string>
+ <string name="string_import">Import</string>
+ <string name="export">Export</string>
+ <string name="export_failed">Export failed</string>
+ <string name="import_failed">Import failed</string>
+ <string name="cancelling">Cancelling</string>
<!-- GPU driver installation -->
<string name="select_gpu_driver">Select GPU driver</string>
@@ -257,7 +282,6 @@
<string name="emulation_pause">Pause emulation</string>
<string name="emulation_unpause">Unpause emulation</string>
<string name="emulation_input_overlay">Overlay options</string>
- <string name="emulation_game_loading">Game loading…</string>
<string name="load_settings">Loading settings…</string>
@@ -276,6 +300,7 @@
<string name="performance_warning">Turning off this setting will significantly reduce emulation performance! For the best experience, it is recommended that you leave this setting enabled.</string>
<string name="device_memory_inadequate">Device RAM: %1$s\nRecommended: %2$s</string>
<string name="memory_formatted">%1$s %2$s</string>
+ <string name="no_game_present">No bootable game present!</string>
<!-- Region Names -->
<string name="region_japan">Japan</string>
@@ -287,24 +312,24 @@
<string name="region_taiwan">Taiwan</string>
<!-- Language Names -->
- <string name="language_japanese">Japanese (日本語)</string>
- <string name="language_english">English</string>
- <string name="language_french">French (Français)</string>
- <string name="langauge_german">German (Deutsch)</string>
- <string name="language_italian">Italian (Italiano)</string>
- <string name="language_spanish">Spanish (Español)</string>
- <string name="language_chinese">Chinese (简体中文)</string>
- <string name="language_korean">Korean (한국어)</string>
- <string name="language_dutch">Dutch (Nederlands)</string>
- <string name="language_portuguese">Portuguese (Português)</string>
- <string name="language_russian">Russian (Русский)</string>
- <string name="language_taiwanese">Taiwanese (台湾)</string>
- <string name="language_british_english">British English</string>
- <string name="language_canadian_french">Canadian French (Français canadien)</string>
- <string name="language_latin_american_spanish">Latin American Spanish (Español latinoamericano)</string>
- <string name="language_simplified_chinese">Simplified Chinese (简体中文)</string>
- <string name="language_traditional_chinese">Traditional Chinese (正體中文)</string>
- <string name="language_brazilian_portuguese">Brazilian Portuguese (Português do Brasil)</string>
+ <string name="language_japanese" translatable="false">日本語</string>
+ <string name="language_english" translatable="false">English</string>
+ <string name="language_french" translatable="false">Français</string>
+ <string name="langauge_german" translatable="false">Deutsch</string>
+ <string name="language_italian" translatable="false">Italiano</string>
+ <string name="language_spanish" translatable="false">Español</string>
+ <string name="language_chinese" translatable="false">简体中文</string>
+ <string name="language_korean" translatable="false">한국어</string>
+ <string name="language_dutch" translatable="false">Nederlands</string>
+ <string name="language_portuguese" translatable="false">Português</string>
+ <string name="language_russian" translatable="false">Русский</string>
+ <string name="language_taiwanese" translatable="false">台湾</string>
+ <string name="language_british_english" translatable="false">British English</string>
+ <string name="language_canadian_french" translatable="false">Français canadien</string>
+ <string name="language_latin_american_spanish" translatable="false">Español latinoamericano</string>
+ <string name="language_simplified_chinese" translatable="false">简体中文</string>
+ <string name="language_traditional_chinese" translatable="false">正體中文</string>
+ <string name="language_brazilian_portuguese" translatable="false">Português do Brasil</string>
<!-- Memory Sizes -->
<string name="memory_byte">Byte</string>
diff --git a/src/audio_core/CMakeLists.txt b/src/audio_core/CMakeLists.txt
index e7b595459..400988c5f 100644
--- a/src/audio_core/CMakeLists.txt
+++ b/src/audio_core/CMakeLists.txt
@@ -2,6 +2,21 @@
# SPDX-License-Identifier: GPL-2.0-or-later
add_library(audio_core STATIC
+ adsp/adsp.cpp
+ adsp/adsp.h
+ adsp/mailbox.h
+ adsp/apps/audio_renderer/audio_renderer.cpp
+ adsp/apps/audio_renderer/audio_renderer.h
+ adsp/apps/audio_renderer/command_buffer.h
+ adsp/apps/audio_renderer/command_list_processor.cpp
+ adsp/apps/audio_renderer/command_list_processor.h
+ adsp/apps/opus/opus_decoder.cpp
+ adsp/apps/opus/opus_decoder.h
+ adsp/apps/opus/opus_decode_object.cpp
+ adsp/apps/opus/opus_decode_object.h
+ adsp/apps/opus/opus_multistream_decode_object.cpp
+ adsp/apps/opus/opus_multistream_decode_object.h
+ adsp/apps/opus/shared_memory.h
audio_core.cpp
audio_core.h
audio_event.h
@@ -27,18 +42,18 @@ add_library(audio_core STATIC
in/audio_in.h
in/audio_in_system.cpp
in/audio_in_system.h
+ opus/hardware_opus.cpp
+ opus/hardware_opus.h
+ opus/decoder_manager.cpp
+ opus/decoder_manager.h
+ opus/decoder.cpp
+ opus/decoder.h
+ opus/parameters.h
out/audio_out.cpp
out/audio_out.h
out/audio_out_system.cpp
out/audio_out_system.h
precompiled_headers.h
- renderer/adsp/adsp.cpp
- renderer/adsp/adsp.h
- renderer/adsp/audio_renderer.cpp
- renderer/adsp/audio_renderer.h
- renderer/adsp/command_buffer.h
- renderer/adsp/command_list_processor.cpp
- renderer/adsp/command_list_processor.h
renderer/audio_device.cpp
renderer/audio_device.h
renderer/audio_renderer.h
@@ -213,7 +228,7 @@ else()
)
endif()
-target_link_libraries(audio_core PUBLIC common core)
+target_link_libraries(audio_core PUBLIC common core Opus::opus)
if (ARCHITECTURE_x86_64 OR ARCHITECTURE_arm64)
target_link_libraries(audio_core PRIVATE dynarmic::dynarmic)
endif()
diff --git a/src/audio_core/adsp/adsp.cpp b/src/audio_core/adsp/adsp.cpp
new file mode 100644
index 000000000..6c53c98fd
--- /dev/null
+++ b/src/audio_core/adsp/adsp.cpp
@@ -0,0 +1,27 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "audio_core/adsp/adsp.h"
+#include "core/core.h"
+
+namespace AudioCore::ADSP {
+
+ADSP::ADSP(Core::System& system, Sink::Sink& sink) {
+ audio_renderer = std::make_unique<AudioRenderer::AudioRenderer>(system, sink);
+ opus_decoder = std::make_unique<OpusDecoder::OpusDecoder>(system);
+ opus_decoder->Send(Direction::DSP, OpusDecoder::Message::Start);
+ if (opus_decoder->Receive(Direction::Host) != OpusDecoder::Message::StartOK) {
+ LOG_ERROR(Service_Audio, "OpusDeocder failed to initialize.");
+ return;
+ }
+}
+
+AudioRenderer::AudioRenderer& ADSP::AudioRenderer() {
+ return *audio_renderer.get();
+}
+
+OpusDecoder::OpusDecoder& ADSP::OpusDecoder() {
+ return *opus_decoder.get();
+}
+
+} // namespace AudioCore::ADSP
diff --git a/src/audio_core/adsp/adsp.h b/src/audio_core/adsp/adsp.h
new file mode 100644
index 000000000..a0c24a16a
--- /dev/null
+++ b/src/audio_core/adsp/adsp.h
@@ -0,0 +1,53 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "audio_core/adsp/apps/audio_renderer/audio_renderer.h"
+#include "audio_core/adsp/apps/opus/opus_decoder.h"
+#include "common/common_types.h"
+
+namespace Core {
+class System;
+} // namespace Core
+
+namespace AudioCore {
+namespace Sink {
+class Sink;
+}
+
+namespace ADSP {
+
+/**
+ * Represents the ADSP embedded within the audio sysmodule.
+ * This is a 32-bit Linux4Tegra kernel from nVidia, which is launched with the sysmodule on boot.
+ *
+ * The kernel will run the apps you write for it, Nintendo have the following:
+ *
+ * Gmix - Responsible for mixing final audio and sending it out to hardware. This is last place all
+ * audio samples end up, and we skip it entirely, since we have very different backends and
+ * mixing is implicitly handled by the OS (but also due to lack of research/simplicity).
+ *
+ * AudioRenderer - Receives command lists generated by the audio render
+ * system on the host, processes them, and sends the samples to Gmix.
+ *
+ * OpusDecoder - Contains libopus, and decodes Opus audio packets into raw pcm data.
+ *
+ * Communication between the host and ADSP is done through mailboxes, and mapping of shared memory.
+ */
+class ADSP {
+public:
+ explicit ADSP(Core::System& system, Sink::Sink& sink);
+ ~ADSP() = default;
+
+ AudioRenderer::AudioRenderer& AudioRenderer();
+ OpusDecoder::OpusDecoder& OpusDecoder();
+
+private:
+ /// AudioRenderer app
+ std::unique_ptr<AudioRenderer::AudioRenderer> audio_renderer{};
+ std::unique_ptr<OpusDecoder::OpusDecoder> opus_decoder{};
+};
+
+} // namespace ADSP
+} // namespace AudioCore
diff --git a/src/audio_core/adsp/apps/audio_renderer/audio_renderer.cpp b/src/audio_core/adsp/apps/audio_renderer/audio_renderer.cpp
new file mode 100644
index 000000000..972d5e45b
--- /dev/null
+++ b/src/audio_core/adsp/apps/audio_renderer/audio_renderer.cpp
@@ -0,0 +1,218 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include <array>
+#include <chrono>
+
+#include "audio_core/adsp/apps/audio_renderer/audio_renderer.h"
+#include "audio_core/audio_core.h"
+#include "audio_core/common/common.h"
+#include "audio_core/sink/sink.h"
+#include "common/logging/log.h"
+#include "common/microprofile.h"
+#include "common/thread.h"
+#include "core/core.h"
+#include "core/core_timing.h"
+
+MICROPROFILE_DEFINE(Audio_Renderer, "Audio", "DSP_AudioRenderer", MP_RGB(60, 19, 97));
+
+namespace AudioCore::ADSP::AudioRenderer {
+
+AudioRenderer::AudioRenderer(Core::System& system_, Sink::Sink& sink_)
+ : system{system_}, sink{sink_} {}
+
+AudioRenderer::~AudioRenderer() {
+ Stop();
+}
+
+void AudioRenderer::Start() {
+ CreateSinkStreams();
+
+ mailbox.Initialize(AppMailboxId::AudioRenderer);
+
+ main_thread = std::jthread([this](std::stop_token stop_token) { Main(stop_token); });
+
+ mailbox.Send(Direction::DSP, Message::InitializeOK);
+ if (mailbox.Receive(Direction::Host) != Message::InitializeOK) {
+ LOG_ERROR(Service_Audio, "Host Audio Renderer -- Failed to receive shutdown "
+ "message response from ADSP!");
+ return;
+ }
+ running = true;
+}
+
+void AudioRenderer::Stop() {
+ if (!running) {
+ return;
+ }
+
+ mailbox.Send(Direction::DSP, Message::Shutdown);
+ if (mailbox.Receive(Direction::Host) != Message::Shutdown) {
+ LOG_ERROR(Service_Audio, "Host Audio Renderer -- Failed to receive shutdown "
+ "message response from ADSP!");
+ }
+ main_thread.request_stop();
+ main_thread.join();
+
+ for (auto& stream : streams) {
+ if (stream) {
+ stream->Stop();
+ sink.CloseStream(stream);
+ stream = nullptr;
+ }
+ }
+ running = false;
+}
+
+void AudioRenderer::Signal() {
+ signalled_tick = system.CoreTiming().GetGlobalTimeNs().count();
+ Send(Direction::DSP, Message::Render);
+}
+
+void AudioRenderer::Wait() {
+ auto msg = Receive(Direction::Host);
+ if (msg != Message::RenderResponse) {
+ LOG_ERROR(Service_Audio,
+ "Did not receive the expected render response from the AudioRenderer! Expected "
+ "{}, got {}",
+ Message::RenderResponse, msg);
+ }
+}
+
+void AudioRenderer::Send(Direction dir, u32 message) {
+ mailbox.Send(dir, std::move(message));
+}
+
+u32 AudioRenderer::Receive(Direction dir) {
+ return mailbox.Receive(dir);
+}
+
+void AudioRenderer::SetCommandBuffer(s32 session_id, CpuAddr buffer, u64 size, u64 time_limit,
+ u64 applet_resource_user_id, bool reset) noexcept {
+ command_buffers[session_id].buffer = buffer;
+ command_buffers[session_id].size = size;
+ command_buffers[session_id].time_limit = time_limit;
+ command_buffers[session_id].applet_resource_user_id = applet_resource_user_id;
+ command_buffers[session_id].reset_buffer = reset;
+}
+
+u32 AudioRenderer::GetRemainCommandCount(s32 session_id) const noexcept {
+ return command_buffers[session_id].remaining_command_count;
+}
+
+void AudioRenderer::ClearRemainCommandCount(s32 session_id) noexcept {
+ command_buffers[session_id].remaining_command_count = 0;
+}
+
+u64 AudioRenderer::GetRenderingStartTick(s32 session_id) const noexcept {
+ return (1000 * command_buffers[session_id].render_time_taken_us) + signalled_tick;
+}
+
+void AudioRenderer::CreateSinkStreams() {
+ u32 channels{sink.GetDeviceChannels()};
+ for (u32 i = 0; i < MaxRendererSessions; i++) {
+ std::string name{fmt::format("ADSP_RenderStream-{}", i)};
+ streams[i] =
+ sink.AcquireSinkStream(system, channels, name, ::AudioCore::Sink::StreamType::Render);
+ streams[i]->SetRingSize(4);
+ }
+}
+
+void AudioRenderer::Main(std::stop_token stop_token) {
+ static constexpr char name[]{"DSP_AudioRenderer_Main"};
+ MicroProfileOnThreadCreate(name);
+ Common::SetCurrentThreadName(name);
+ Common::SetCurrentThreadPriority(Common::ThreadPriority::High);
+
+ // TODO: Create buffer map/unmap thread + mailbox
+ // TODO: Create gMix devices, initialize them here
+
+ if (mailbox.Receive(Direction::DSP) != Message::InitializeOK) {
+ LOG_ERROR(Service_Audio,
+ "ADSP Audio Renderer -- Failed to receive initialize message from host!");
+ return;
+ }
+
+ mailbox.Send(Direction::Host, Message::InitializeOK);
+
+ // 0.12 seconds (2,304,000 / 19,200,000)
+ constexpr u64 max_process_time{2'304'000ULL};
+
+ while (!stop_token.stop_requested()) {
+ auto msg{mailbox.Receive(Direction::DSP)};
+ switch (msg) {
+ case Message::Shutdown:
+ mailbox.Send(Direction::Host, Message::Shutdown);
+ return;
+
+ case Message::Render: {
+ if (system.IsShuttingDown()) [[unlikely]] {
+ std::this_thread::sleep_for(std::chrono::milliseconds(5));
+ mailbox.Send(Direction::Host, Message::RenderResponse);
+ continue;
+ }
+ std::array<bool, MaxRendererSessions> buffers_reset{};
+ std::array<u64, MaxRendererSessions> render_times_taken{};
+ const auto start_time{system.CoreTiming().GetGlobalTimeUs().count()};
+
+ for (u32 index = 0; index < MaxRendererSessions; index++) {
+ auto& command_buffer{command_buffers[index]};
+ auto& command_list_processor{command_list_processors[index]};
+
+ // Check this buffer is valid, as it may not be used.
+ if (command_buffer.buffer != 0) {
+ // If there are no remaining commands (from the previous list),
+ // this is a new command list, initialize it.
+ if (command_buffer.remaining_command_count == 0) {
+ command_list_processor.Initialize(system, command_buffer.buffer,
+ command_buffer.size, streams[index]);
+ }
+
+ if (command_buffer.reset_buffer && !buffers_reset[index]) {
+ streams[index]->ClearQueue();
+ buffers_reset[index] = true;
+ }
+
+ u64 max_time{max_process_time};
+ if (index == 1 && command_buffer.applet_resource_user_id ==
+ command_buffers[0].applet_resource_user_id) {
+ max_time = max_process_time - render_times_taken[0];
+ if (render_times_taken[0] > max_process_time) {
+ max_time = 0;
+ }
+ }
+
+ max_time = std::min(command_buffer.time_limit, max_time);
+ command_list_processor.SetProcessTimeMax(max_time);
+
+ if (index == 0) {
+ streams[index]->WaitFreeSpace(stop_token);
+ }
+
+ // Process the command list
+ {
+ MICROPROFILE_SCOPE(Audio_Renderer);
+ render_times_taken[index] =
+ command_list_processor.Process(index) - start_time;
+ }
+
+ const auto end_time{system.CoreTiming().GetGlobalTimeUs().count()};
+
+ command_buffer.remaining_command_count =
+ command_list_processor.GetRemainingCommandCount();
+ command_buffer.render_time_taken_us = end_time - start_time;
+ }
+ }
+
+ mailbox.Send(Direction::Host, Message::RenderResponse);
+ } break;
+
+ default:
+ LOG_WARNING(Service_Audio,
+ "ADSP AudioRenderer received an invalid message, msg={:02X}!", msg);
+ break;
+ }
+ }
+}
+
+} // namespace AudioCore::ADSP::AudioRenderer
diff --git a/src/audio_core/adsp/apps/audio_renderer/audio_renderer.h b/src/audio_core/adsp/apps/audio_renderer/audio_renderer.h
new file mode 100644
index 000000000..85874d88a
--- /dev/null
+++ b/src/audio_core/adsp/apps/audio_renderer/audio_renderer.h
@@ -0,0 +1,109 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <array>
+#include <memory>
+#include <thread>
+
+#include "audio_core/adsp/apps/audio_renderer/command_buffer.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
+#include "audio_core/adsp/mailbox.h"
+#include "common/common_types.h"
+#include "common/polyfill_thread.h"
+#include "common/reader_writer_queue.h"
+#include "common/thread.h"
+
+namespace Core {
+class System;
+} // namespace Core
+
+namespace AudioCore {
+namespace Sink {
+class Sink;
+}
+
+namespace ADSP::AudioRenderer {
+
+enum Message : u32 {
+ Invalid = 0,
+ MapUnmap_Map = 1,
+ MapUnmap_MapResponse = 2,
+ MapUnmap_Unmap = 3,
+ MapUnmap_UnmapResponse = 4,
+ MapUnmap_InvalidateCache = 5,
+ MapUnmap_InvalidateCacheResponse = 6,
+ MapUnmap_Shutdown = 7,
+ MapUnmap_ShutdownResponse = 8,
+ InitializeOK = 22,
+ RenderResponse = 32,
+ Render = 42,
+ Shutdown = 52,
+};
+
+/**
+ * The AudioRenderer application running on the ADSP.
+ */
+class AudioRenderer {
+public:
+ explicit AudioRenderer(Core::System& system, Sink::Sink& sink);
+ ~AudioRenderer();
+
+ /**
+ * Start the AudioRenderer.
+ *
+ * @param mailbox The mailbox to use for this session.
+ */
+ void Start();
+
+ /**
+ * Stop the AudioRenderer.
+ */
+ void Stop();
+
+ void Signal();
+ void Wait();
+
+ void Send(Direction dir, u32 message);
+ u32 Receive(Direction dir);
+
+ void SetCommandBuffer(s32 session_id, CpuAddr buffer, u64 size, u64 time_limit,
+ u64 applet_resource_user_id, bool reset) noexcept;
+ u32 GetRemainCommandCount(s32 session_id) const noexcept;
+ void ClearRemainCommandCount(s32 session_id) noexcept;
+ u64 GetRenderingStartTick(s32 session_id) const noexcept;
+
+private:
+ /**
+ * Main AudioRenderer thread, responsible for processing the command lists.
+ */
+ void Main(std::stop_token stop_token);
+
+ /**
+ * Creates the streams which will receive the processed samples.
+ */
+ void CreateSinkStreams();
+
+ /// Core system
+ Core::System& system;
+ /// The output sink the AudioRenderer will send samples to
+ Sink::Sink& sink;
+ /// The active mailbox
+ Mailbox mailbox;
+ /// Main thread
+ std::jthread main_thread{};
+ /// The current state
+ std::atomic<bool> running{};
+ /// Shared memory of input command buffers, set by host, read by DSP
+ std::array<CommandBuffer, MaxRendererSessions> command_buffers{};
+ /// The command lists to process
+ std::array<CommandListProcessor, MaxRendererSessions> command_list_processors{};
+ /// The streams which will receive the processed samples
+ std::array<Sink::SinkStream*, MaxRendererSessions> streams{};
+ /// CPU Tick when the DSP was signalled to process, uses time rather than tick
+ u64 signalled_tick{0};
+};
+
+} // namespace ADSP::AudioRenderer
+} // namespace AudioCore
diff --git a/src/audio_core/adsp/apps/audio_renderer/command_buffer.h b/src/audio_core/adsp/apps/audio_renderer/command_buffer.h
new file mode 100644
index 000000000..3fd1b09dc
--- /dev/null
+++ b/src/audio_core/adsp/apps/audio_renderer/command_buffer.h
@@ -0,0 +1,23 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "audio_core/common/common.h"
+#include "common/common_types.h"
+
+namespace AudioCore::ADSP::AudioRenderer {
+
+struct CommandBuffer {
+ // Set by the host
+ CpuAddr buffer{};
+ u64 size{};
+ u64 time_limit{};
+ u64 applet_resource_user_id{};
+ bool reset_buffer{};
+ // Set by the DSP
+ u32 remaining_command_count{};
+ u64 render_time_taken_us{};
+};
+
+} // namespace AudioCore::ADSP::AudioRenderer
diff --git a/src/audio_core/renderer/adsp/command_list_processor.cpp b/src/audio_core/adsp/apps/audio_renderer/command_list_processor.cpp
index 3a0f1ae38..24e4d0496 100644
--- a/src/audio_core/renderer/adsp/command_list_processor.cpp
+++ b/src/audio_core/adsp/apps/audio_renderer/command_list_processor.cpp
@@ -1,9 +1,9 @@
-// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#include <string>
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/command_list_header.h"
#include "audio_core/renderer/command/commands.h"
#include "common/settings.h"
@@ -11,15 +11,15 @@
#include "core/core_timing.h"
#include "core/memory.h"
-namespace AudioCore::AudioRenderer::ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
void CommandListProcessor::Initialize(Core::System& system_, CpuAddr buffer, u64 size,
Sink::SinkStream* stream_) {
system = &system_;
memory = &system->ApplicationMemory();
stream = stream_;
- header = reinterpret_cast<CommandListHeader*>(buffer);
- commands = reinterpret_cast<u8*>(buffer + sizeof(CommandListHeader));
+ header = reinterpret_cast<Renderer::CommandListHeader*>(buffer);
+ commands = reinterpret_cast<u8*>(buffer + sizeof(Renderer::CommandListHeader));
commands_buffer_size = size;
command_count = header->command_count;
sample_count = header->sample_count;
@@ -37,17 +37,12 @@ u32 CommandListProcessor::GetRemainingCommandCount() const {
return command_count - processed_command_count;
}
-void CommandListProcessor::SetBuffer(const CpuAddr buffer, const u64 size) {
- commands = reinterpret_cast<u8*>(buffer + sizeof(CommandListHeader));
- commands_buffer_size = size;
-}
-
Sink::SinkStream* CommandListProcessor::GetOutputSinkStream() const {
return stream;
}
u64 CommandListProcessor::Process(u32 session_id) {
- const auto start_time_{system->CoreTiming().GetClockTicks()};
+ const auto start_time_{system->CoreTiming().GetGlobalTimeUs().count()};
const auto command_base{CpuAddr(commands)};
if (processed_command_count > 0) {
@@ -60,12 +55,12 @@ u64 CommandListProcessor::Process(u32 session_id) {
std::string dump{fmt::format("\nSession {}\n", session_id)};
for (u32 index = 0; index < command_count; index++) {
- auto& command{*reinterpret_cast<ICommand*>(commands)};
+ auto& command{*reinterpret_cast<Renderer::ICommand*>(commands)};
if (command.magic != 0xCAFEBABE) {
LOG_ERROR(Service_Audio, "Command has invalid magic! Expected 0xCAFEBABE, got {:08X}",
command.magic);
- return system->CoreTiming().GetClockTicks() - start_time_;
+ return system->CoreTiming().GetGlobalTimeUs().count() - start_time_;
}
auto current_offset{CpuAddr(commands) - command_base};
@@ -74,8 +69,8 @@ u64 CommandListProcessor::Process(u32 session_id) {
LOG_ERROR(Service_Audio,
"Command exceeded command buffer, buffer size {:08X}, command ends at {:08X}",
commands_buffer_size,
- CpuAddr(commands) + command.size - sizeof(CommandListHeader));
- return system->CoreTiming().GetClockTicks() - start_time_;
+ CpuAddr(commands) + command.size - sizeof(Renderer::CommandListHeader));
+ return system->CoreTiming().GetGlobalTimeUs().count() - start_time_;
}
if (Settings::values.dump_audio_commands) {
@@ -101,8 +96,8 @@ u64 CommandListProcessor::Process(u32 session_id) {
last_dump = dump;
}
- end_time = system->CoreTiming().GetClockTicks();
+ end_time = system->CoreTiming().GetGlobalTimeUs().count();
return end_time - start_time_;
}
-} // namespace AudioCore::AudioRenderer::ADSP
+} // namespace AudioCore::ADSP::AudioRenderer
diff --git a/src/audio_core/renderer/adsp/command_list_processor.h b/src/audio_core/adsp/apps/audio_renderer/command_list_processor.h
index d78269e1d..4e5fb793e 100644
--- a/src/audio_core/renderer/adsp/command_list_processor.h
+++ b/src/audio_core/adsp/apps/audio_renderer/command_list_processor.h
@@ -1,4 +1,4 @@
-// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
#pragma once
@@ -6,6 +6,7 @@
#include <span>
#include "audio_core/common/common.h"
+#include "audio_core/renderer/command/command_list_header.h"
#include "common/common_types.h"
namespace Core {
@@ -20,10 +21,11 @@ namespace Sink {
class SinkStream;
}
-namespace AudioRenderer {
+namespace Renderer {
struct CommandListHeader;
+}
-namespace ADSP {
+namespace ADSP::AudioRenderer {
/**
* A processor for command lists given to the AudioRenderer.
@@ -55,14 +57,6 @@ public:
u32 GetRemainingCommandCount() const;
/**
- * Set the command buffer.
- *
- * @param buffer - The buffer to use.
- * @param size - The size of the buffer.
- */
- void SetBuffer(CpuAddr buffer, u64 size);
-
- /**
* Get the stream for this command list.
*
* @return The stream associated with this command list.
@@ -85,7 +79,7 @@ public:
/// Stream for the processed samples
Sink::SinkStream* stream{};
/// Header info for this command list
- CommandListHeader* header{};
+ Renderer::CommandListHeader* header{};
/// The command buffer
u8* commands{};
/// The command buffer size
@@ -114,6 +108,5 @@ public:
std::string last_dump{};
};
-} // namespace ADSP
-} // namespace AudioRenderer
+} // namespace ADSP::AudioRenderer
} // namespace AudioCore
diff --git a/src/audio_core/adsp/apps/opus/opus_decode_object.cpp b/src/audio_core/adsp/apps/opus/opus_decode_object.cpp
new file mode 100644
index 000000000..2c16d3769
--- /dev/null
+++ b/src/audio_core/adsp/apps/opus/opus_decode_object.cpp
@@ -0,0 +1,107 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "audio_core/adsp/apps/opus/opus_decode_object.h"
+#include "common/assert.h"
+
+namespace AudioCore::ADSP::OpusDecoder {
+namespace {
+bool IsValidChannelCount(u32 channel_count) {
+ return channel_count == 1 || channel_count == 2;
+}
+} // namespace
+
+u32 OpusDecodeObject::GetWorkBufferSize(u32 channel_count) {
+ if (!IsValidChannelCount(channel_count)) {
+ return 0;
+ }
+ return static_cast<u32>(sizeof(OpusDecodeObject)) + opus_decoder_get_size(channel_count);
+}
+
+OpusDecodeObject& OpusDecodeObject::Initialize(u64 buffer, u64 buffer2) {
+ auto* new_decoder = reinterpret_cast<OpusDecodeObject*>(buffer);
+ auto* comparison = reinterpret_cast<OpusDecodeObject*>(buffer2);
+
+ if (new_decoder->magic == DecodeObjectMagic) {
+ if (!new_decoder->initialized ||
+ (new_decoder->initialized && new_decoder->self == comparison)) {
+ new_decoder->state_valid = true;
+ }
+ } else {
+ new_decoder->initialized = false;
+ new_decoder->state_valid = true;
+ }
+ return *new_decoder;
+}
+
+s32 OpusDecodeObject::InitializeDecoder(u32 sample_rate, u32 channel_count) {
+ if (!state_valid) {
+ return OPUS_INVALID_STATE;
+ }
+
+ if (initialized) {
+ return OPUS_OK;
+ }
+
+ // Unfortunately libopus does not expose the OpusDecoder struct publicly, so we can't include
+ // it in this class. Nintendo does not allocate memory, which is why we have a workbuffer
+ // provided.
+ // We could use _create and have libopus allocate it for us, but then we have to separately
+ // track which decoder is being used between this and multistream in order to call the correct
+ // destroy from the host side.
+ // This is a bit cringe, but is safe as these objects are only ever initialized inside the given
+ // workbuffer, and GetWorkBufferSize will guarantee there's enough space to follow.
+ decoder = (LibOpusDecoder*)(this + 1);
+ s32 ret = opus_decoder_init(decoder, sample_rate, channel_count);
+ if (ret == OPUS_OK) {
+ magic = DecodeObjectMagic;
+ initialized = true;
+ state_valid = true;
+ self = this;
+ final_range = 0;
+ }
+ return ret;
+}
+
+s32 OpusDecodeObject::Shutdown() {
+ if (!state_valid) {
+ return OPUS_INVALID_STATE;
+ }
+
+ if (initialized) {
+ magic = 0x0;
+ initialized = false;
+ state_valid = false;
+ self = nullptr;
+ final_range = 0;
+ decoder = nullptr;
+ }
+ return OPUS_OK;
+}
+
+s32 OpusDecodeObject::ResetDecoder() {
+ return opus_decoder_ctl(decoder, OPUS_RESET_STATE);
+}
+
+s32 OpusDecodeObject::Decode(u32& out_sample_count, u64 output_data, u64 output_data_size,
+ u64 input_data, u64 input_data_size) {
+ ASSERT(initialized);
+ out_sample_count = 0;
+
+ if (!state_valid) {
+ return OPUS_INVALID_STATE;
+ }
+
+ auto ret_code_or_samples = opus_decode(
+ decoder, reinterpret_cast<const u8*>(input_data), static_cast<opus_int32>(input_data_size),
+ reinterpret_cast<opus_int16*>(output_data), static_cast<opus_int32>(output_data_size), 0);
+
+ if (ret_code_or_samples < OPUS_OK) {
+ return ret_code_or_samples;
+ }
+
+ out_sample_count = ret_code_or_samples;
+ return opus_decoder_ctl(decoder, OPUS_GET_FINAL_RANGE_REQUEST, &final_range);
+}
+
+} // namespace AudioCore::ADSP::OpusDecoder
diff --git a/src/audio_core/adsp/apps/opus/opus_decode_object.h b/src/audio_core/adsp/apps/opus/opus_decode_object.h
new file mode 100644
index 000000000..6425f987c
--- /dev/null
+++ b/src/audio_core/adsp/apps/opus/opus_decode_object.h
@@ -0,0 +1,38 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <opus.h>
+
+#include "common/common_types.h"
+
+namespace AudioCore::ADSP::OpusDecoder {
+using LibOpusDecoder = ::OpusDecoder;
+static constexpr u32 DecodeObjectMagic = 0xDEADBEEF;
+
+class OpusDecodeObject {
+public:
+ static u32 GetWorkBufferSize(u32 channel_count);
+ static OpusDecodeObject& Initialize(u64 buffer, u64 buffer2);
+
+ s32 InitializeDecoder(u32 sample_rate, u32 channel_count);
+ s32 Shutdown();
+ s32 ResetDecoder();
+ s32 Decode(u32& out_sample_count, u64 output_data, u64 output_data_size, u64 input_data,
+ u64 input_data_size);
+ u32 GetFinalRange() const noexcept {
+ return final_range;
+ }
+
+private:
+ u32 magic;
+ bool initialized;
+ bool state_valid;
+ OpusDecodeObject* self;
+ u32 final_range;
+ LibOpusDecoder* decoder;
+};
+static_assert(std::is_trivially_constructible_v<OpusDecodeObject>);
+
+} // namespace AudioCore::ADSP::OpusDecoder
diff --git a/src/audio_core/adsp/apps/opus/opus_decoder.cpp b/src/audio_core/adsp/apps/opus/opus_decoder.cpp
new file mode 100644
index 000000000..2084de128
--- /dev/null
+++ b/src/audio_core/adsp/apps/opus/opus_decoder.cpp
@@ -0,0 +1,269 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include <array>
+#include <chrono>
+
+#include "audio_core/adsp/apps/opus/opus_decode_object.h"
+#include "audio_core/adsp/apps/opus/opus_multistream_decode_object.h"
+#include "audio_core/adsp/apps/opus/shared_memory.h"
+#include "audio_core/audio_core.h"
+#include "audio_core/common/common.h"
+#include "common/logging/log.h"
+#include "common/microprofile.h"
+#include "common/thread.h"
+#include "core/core.h"
+#include "core/core_timing.h"
+
+MICROPROFILE_DEFINE(OpusDecoder, "Audio", "DSP_OpusDecoder", MP_RGB(60, 19, 97));
+
+namespace AudioCore::ADSP::OpusDecoder {
+
+namespace {
+constexpr size_t OpusStreamCountMax = 255;
+
+bool IsValidChannelCount(u32 channel_count) {
+ return channel_count == 1 || channel_count == 2;
+}
+
+bool IsValidMultiStreamChannelCount(u32 channel_count) {
+ return channel_count <= OpusStreamCountMax;
+}
+
+bool IsValidMultiStreamStreamCounts(s32 total_stream_count, s32 sterero_stream_count) {
+ return IsValidMultiStreamChannelCount(total_stream_count) && total_stream_count > 0 &&
+ sterero_stream_count > 0 && sterero_stream_count <= total_stream_count;
+}
+} // namespace
+
+OpusDecoder::OpusDecoder(Core::System& system_) : system{system_} {
+ init_thread = std::jthread([this](std::stop_token stop_token) { Init(stop_token); });
+}
+
+OpusDecoder::~OpusDecoder() {
+ if (!running) {
+ init_thread.request_stop();
+ return;
+ }
+
+ // Shutdown the thread
+ Send(Direction::DSP, Message::Shutdown);
+ auto msg = Receive(Direction::Host);
+ ASSERT_MSG(msg == Message::ShutdownOK, "Expected Opus shutdown code {}, got {}",
+ Message::ShutdownOK, msg);
+ main_thread.request_stop();
+ main_thread.join();
+ running = false;
+}
+
+void OpusDecoder::Send(Direction dir, u32 message) {
+ mailbox.Send(dir, std::move(message));
+}
+
+u32 OpusDecoder::Receive(Direction dir, std::stop_token stop_token) {
+ return mailbox.Receive(dir, stop_token);
+}
+
+void OpusDecoder::Init(std::stop_token stop_token) {
+ Common::SetCurrentThreadName("DSP_OpusDecoder_Init");
+
+ if (Receive(Direction::DSP, stop_token) != Message::Start) {
+ LOG_ERROR(Service_Audio,
+ "DSP OpusDecoder failed to receive Start message. Opus initialization failed.");
+ return;
+ }
+ main_thread = std::jthread([this](std::stop_token st) { Main(st); });
+ running = true;
+ Send(Direction::Host, Message::StartOK);
+}
+
+void OpusDecoder::Main(std::stop_token stop_token) {
+ Common::SetCurrentThreadName("DSP_OpusDecoder_Main");
+
+ while (!stop_token.stop_requested()) {
+ auto msg = Receive(Direction::DSP, stop_token);
+ switch (msg) {
+ case Shutdown:
+ Send(Direction::Host, Message::ShutdownOK);
+ return;
+
+ case GetWorkBufferSize: {
+ auto channel_count = static_cast<s32>(shared_memory->host_send_data[0]);
+
+ ASSERT(IsValidChannelCount(channel_count));
+
+ shared_memory->dsp_return_data[0] = OpusDecodeObject::GetWorkBufferSize(channel_count);
+ Send(Direction::Host, Message::GetWorkBufferSizeOK);
+ } break;
+
+ case InitializeDecodeObject: {
+ auto buffer = shared_memory->host_send_data[0];
+ auto buffer_size = shared_memory->host_send_data[1];
+ auto sample_rate = static_cast<s32>(shared_memory->host_send_data[2]);
+ auto channel_count = static_cast<s32>(shared_memory->host_send_data[3]);
+
+ ASSERT(sample_rate >= 0);
+ ASSERT(IsValidChannelCount(channel_count));
+ ASSERT(buffer_size >= OpusDecodeObject::GetWorkBufferSize(channel_count));
+
+ auto& decoder_object = OpusDecodeObject::Initialize(buffer, buffer);
+ shared_memory->dsp_return_data[0] =
+ decoder_object.InitializeDecoder(sample_rate, channel_count);
+
+ Send(Direction::Host, Message::InitializeDecodeObjectOK);
+ } break;
+
+ case ShutdownDecodeObject: {
+ auto buffer = shared_memory->host_send_data[0];
+ [[maybe_unused]] auto buffer_size = shared_memory->host_send_data[1];
+
+ auto& decoder_object = OpusDecodeObject::Initialize(buffer, buffer);
+ shared_memory->dsp_return_data[0] = decoder_object.Shutdown();
+
+ Send(Direction::Host, Message::ShutdownDecodeObjectOK);
+ } break;
+
+ case DecodeInterleaved: {
+ auto start_time = system.CoreTiming().GetGlobalTimeUs();
+
+ auto buffer = shared_memory->host_send_data[0];
+ auto input_data = shared_memory->host_send_data[1];
+ auto input_data_size = shared_memory->host_send_data[2];
+ auto output_data = shared_memory->host_send_data[3];
+ auto output_data_size = shared_memory->host_send_data[4];
+ auto final_range = static_cast<u32>(shared_memory->host_send_data[5]);
+ auto reset_requested = shared_memory->host_send_data[6];
+
+ u32 decoded_samples{0};
+
+ auto& decoder_object = OpusDecodeObject::Initialize(buffer, buffer);
+ s32 error_code{OPUS_OK};
+ if (reset_requested) {
+ error_code = decoder_object.ResetDecoder();
+ }
+
+ if (error_code == OPUS_OK) {
+ error_code = decoder_object.Decode(decoded_samples, output_data, output_data_size,
+ input_data, input_data_size);
+ }
+
+ if (error_code == OPUS_OK) {
+ if (final_range && decoder_object.GetFinalRange() != final_range) {
+ error_code = OPUS_INVALID_PACKET;
+ }
+ }
+
+ auto end_time = system.CoreTiming().GetGlobalTimeUs();
+ shared_memory->dsp_return_data[0] = error_code;
+ shared_memory->dsp_return_data[1] = decoded_samples;
+ shared_memory->dsp_return_data[2] = (end_time - start_time).count();
+
+ Send(Direction::Host, Message::DecodeInterleavedOK);
+ } break;
+
+ case MapMemory: {
+ [[maybe_unused]] auto buffer = shared_memory->host_send_data[0];
+ [[maybe_unused]] auto buffer_size = shared_memory->host_send_data[1];
+ Send(Direction::Host, Message::MapMemoryOK);
+ } break;
+
+ case UnmapMemory: {
+ [[maybe_unused]] auto buffer = shared_memory->host_send_data[0];
+ [[maybe_unused]] auto buffer_size = shared_memory->host_send_data[1];
+ Send(Direction::Host, Message::UnmapMemoryOK);
+ } break;
+
+ case GetWorkBufferSizeForMultiStream: {
+ auto total_stream_count = static_cast<s32>(shared_memory->host_send_data[0]);
+ auto stereo_stream_count = static_cast<s32>(shared_memory->host_send_data[1]);
+
+ ASSERT(IsValidMultiStreamStreamCounts(total_stream_count, stereo_stream_count));
+
+ shared_memory->dsp_return_data[0] = OpusMultiStreamDecodeObject::GetWorkBufferSize(
+ total_stream_count, stereo_stream_count);
+ Send(Direction::Host, Message::GetWorkBufferSizeForMultiStreamOK);
+ } break;
+
+ case InitializeMultiStreamDecodeObject: {
+ auto buffer = shared_memory->host_send_data[0];
+ auto buffer_size = shared_memory->host_send_data[1];
+ auto sample_rate = static_cast<s32>(shared_memory->host_send_data[2]);
+ auto channel_count = static_cast<s32>(shared_memory->host_send_data[3]);
+ auto total_stream_count = static_cast<s32>(shared_memory->host_send_data[4]);
+ auto stereo_stream_count = static_cast<s32>(shared_memory->host_send_data[5]);
+ // Nintendo seem to have a bug here, they try to use &host_send_data[6] for the channel
+ // mappings, but [6] is never set, and there is not enough room in the argument data for
+ // more than 40 channels, when 255 are possible.
+ // It also means the mapping values are undefined, though likely always 0,
+ // and the mappings given by the game are ignored. The mappings are copied to this
+ // dedicated buffer host side, so let's do as intended.
+ auto mappings = shared_memory->channel_mapping.data();
+
+ ASSERT(IsValidMultiStreamStreamCounts(total_stream_count, stereo_stream_count));
+ ASSERT(sample_rate >= 0);
+ ASSERT(buffer_size >= OpusMultiStreamDecodeObject::GetWorkBufferSize(
+ total_stream_count, stereo_stream_count));
+
+ auto& decoder_object = OpusMultiStreamDecodeObject::Initialize(buffer, buffer);
+ shared_memory->dsp_return_data[0] = decoder_object.InitializeDecoder(
+ sample_rate, total_stream_count, channel_count, stereo_stream_count, mappings);
+
+ Send(Direction::Host, Message::InitializeMultiStreamDecodeObjectOK);
+ } break;
+
+ case ShutdownMultiStreamDecodeObject: {
+ auto buffer = shared_memory->host_send_data[0];
+ [[maybe_unused]] auto buffer_size = shared_memory->host_send_data[1];
+
+ auto& decoder_object = OpusMultiStreamDecodeObject::Initialize(buffer, buffer);
+ shared_memory->dsp_return_data[0] = decoder_object.Shutdown();
+
+ Send(Direction::Host, Message::ShutdownMultiStreamDecodeObjectOK);
+ } break;
+
+ case DecodeInterleavedForMultiStream: {
+ auto start_time = system.CoreTiming().GetGlobalTimeUs();
+
+ auto buffer = shared_memory->host_send_data[0];
+ auto input_data = shared_memory->host_send_data[1];
+ auto input_data_size = shared_memory->host_send_data[2];
+ auto output_data = shared_memory->host_send_data[3];
+ auto output_data_size = shared_memory->host_send_data[4];
+ auto final_range = static_cast<u32>(shared_memory->host_send_data[5]);
+ auto reset_requested = shared_memory->host_send_data[6];
+
+ u32 decoded_samples{0};
+
+ auto& decoder_object = OpusMultiStreamDecodeObject::Initialize(buffer, buffer);
+ s32 error_code{OPUS_OK};
+ if (reset_requested) {
+ error_code = decoder_object.ResetDecoder();
+ }
+
+ if (error_code == OPUS_OK) {
+ error_code = decoder_object.Decode(decoded_samples, output_data, output_data_size,
+ input_data, input_data_size);
+ }
+
+ if (error_code == OPUS_OK) {
+ if (final_range && decoder_object.GetFinalRange() != final_range) {
+ error_code = OPUS_INVALID_PACKET;
+ }
+ }
+
+ auto end_time = system.CoreTiming().GetGlobalTimeUs();
+ shared_memory->dsp_return_data[0] = error_code;
+ shared_memory->dsp_return_data[1] = decoded_samples;
+ shared_memory->dsp_return_data[2] = (end_time - start_time).count();
+
+ Send(Direction::Host, Message::DecodeInterleavedForMultiStreamOK);
+ } break;
+
+ default:
+ LOG_ERROR(Service_Audio, "Invalid OpusDecoder command {}", msg);
+ continue;
+ }
+ }
+}
+
+} // namespace AudioCore::ADSP::OpusDecoder
diff --git a/src/audio_core/adsp/apps/opus/opus_decoder.h b/src/audio_core/adsp/apps/opus/opus_decoder.h
new file mode 100644
index 000000000..fcb89bb40
--- /dev/null
+++ b/src/audio_core/adsp/apps/opus/opus_decoder.h
@@ -0,0 +1,92 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <memory>
+#include <thread>
+
+#include "audio_core/adsp/apps/opus/shared_memory.h"
+#include "audio_core/adsp/mailbox.h"
+#include "common/common_types.h"
+
+namespace Core {
+class System;
+} // namespace Core
+
+namespace AudioCore::ADSP::OpusDecoder {
+
+enum Message : u32 {
+ Invalid = 0,
+ Start = 1,
+ Shutdown = 2,
+ StartOK = 11,
+ ShutdownOK = 12,
+ GetWorkBufferSize = 21,
+ InitializeDecodeObject = 22,
+ ShutdownDecodeObject = 23,
+ DecodeInterleaved = 24,
+ MapMemory = 25,
+ UnmapMemory = 26,
+ GetWorkBufferSizeForMultiStream = 27,
+ InitializeMultiStreamDecodeObject = 28,
+ ShutdownMultiStreamDecodeObject = 29,
+ DecodeInterleavedForMultiStream = 30,
+
+ GetWorkBufferSizeOK = 41,
+ InitializeDecodeObjectOK = 42,
+ ShutdownDecodeObjectOK = 43,
+ DecodeInterleavedOK = 44,
+ MapMemoryOK = 45,
+ UnmapMemoryOK = 46,
+ GetWorkBufferSizeForMultiStreamOK = 47,
+ InitializeMultiStreamDecodeObjectOK = 48,
+ ShutdownMultiStreamDecodeObjectOK = 49,
+ DecodeInterleavedForMultiStreamOK = 50,
+};
+
+/**
+ * The AudioRenderer application running on the ADSP.
+ */
+class OpusDecoder {
+public:
+ explicit OpusDecoder(Core::System& system);
+ ~OpusDecoder();
+
+ bool IsRunning() const noexcept {
+ return running;
+ }
+
+ void Send(Direction dir, u32 message);
+ u32 Receive(Direction dir, std::stop_token stop_token = {});
+
+ void SetSharedMemory(SharedMemory& shared_memory_) {
+ shared_memory = &shared_memory_;
+ }
+
+private:
+ /**
+ * Initializing thread, launched at audio_core boot to avoid blocking the main emu boot thread.
+ */
+ void Init(std::stop_token stop_token);
+ /**
+ * Main OpusDecoder thread, responsible for processing the incoming Opus packets.
+ */
+ void Main(std::stop_token stop_token);
+
+ /// Core system
+ Core::System& system;
+ /// Mailbox to communicate messages with the host, drives the main thread
+ Mailbox mailbox;
+ /// Init thread
+ std::jthread init_thread{};
+ /// Main thread
+ std::jthread main_thread{};
+ /// The current state
+ bool running{};
+ /// Structure shared with the host, input data set by the host before sending a mailbox message,
+ /// and the responses are written back by the OpusDecoder.
+ SharedMemory* shared_memory{};
+};
+
+} // namespace AudioCore::ADSP::OpusDecoder
diff --git a/src/audio_core/adsp/apps/opus/opus_multistream_decode_object.cpp b/src/audio_core/adsp/apps/opus/opus_multistream_decode_object.cpp
new file mode 100644
index 000000000..f6d362e68
--- /dev/null
+++ b/src/audio_core/adsp/apps/opus/opus_multistream_decode_object.cpp
@@ -0,0 +1,111 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "audio_core/adsp/apps/opus/opus_multistream_decode_object.h"
+#include "common/assert.h"
+
+namespace AudioCore::ADSP::OpusDecoder {
+
+namespace {
+bool IsValidChannelCount(u32 channel_count) {
+ return channel_count == 1 || channel_count == 2;
+}
+
+bool IsValidStreamCounts(u32 total_stream_count, u32 stereo_stream_count) {
+ return total_stream_count > 0 && stereo_stream_count > 0 &&
+ stereo_stream_count <= total_stream_count && IsValidChannelCount(total_stream_count);
+}
+} // namespace
+
+u32 OpusMultiStreamDecodeObject::GetWorkBufferSize(u32 total_stream_count,
+ u32 stereo_stream_count) {
+ if (IsValidStreamCounts(total_stream_count, stereo_stream_count)) {
+ return static_cast<u32>(sizeof(OpusMultiStreamDecodeObject)) +
+ opus_multistream_decoder_get_size(total_stream_count, stereo_stream_count);
+ }
+ return 0;
+}
+
+OpusMultiStreamDecodeObject& OpusMultiStreamDecodeObject::Initialize(u64 buffer, u64 buffer2) {
+ auto* new_decoder = reinterpret_cast<OpusMultiStreamDecodeObject*>(buffer);
+ auto* comparison = reinterpret_cast<OpusMultiStreamDecodeObject*>(buffer2);
+
+ if (new_decoder->magic == DecodeMultiStreamObjectMagic) {
+ if (!new_decoder->initialized ||
+ (new_decoder->initialized && new_decoder->self == comparison)) {
+ new_decoder->state_valid = true;
+ }
+ } else {
+ new_decoder->initialized = false;
+ new_decoder->state_valid = true;
+ }
+ return *new_decoder;
+}
+
+s32 OpusMultiStreamDecodeObject::InitializeDecoder(u32 sample_rate, u32 total_stream_count,
+ u32 channel_count, u32 stereo_stream_count,
+ u8* mappings) {
+ if (!state_valid) {
+ return OPUS_INVALID_STATE;
+ }
+
+ if (initialized) {
+ return OPUS_OK;
+ }
+
+ // See OpusDecodeObject::InitializeDecoder for an explanation of this
+ decoder = (LibOpusMSDecoder*)(this + 1);
+ s32 ret = opus_multistream_decoder_init(decoder, sample_rate, channel_count, total_stream_count,
+ stereo_stream_count, mappings);
+ if (ret == OPUS_OK) {
+ magic = DecodeMultiStreamObjectMagic;
+ initialized = true;
+ state_valid = true;
+ self = this;
+ final_range = 0;
+ }
+ return ret;
+}
+
+s32 OpusMultiStreamDecodeObject::Shutdown() {
+ if (!state_valid) {
+ return OPUS_INVALID_STATE;
+ }
+
+ if (initialized) {
+ magic = 0x0;
+ initialized = false;
+ state_valid = false;
+ self = nullptr;
+ final_range = 0;
+ decoder = nullptr;
+ }
+ return OPUS_OK;
+}
+
+s32 OpusMultiStreamDecodeObject::ResetDecoder() {
+ return opus_multistream_decoder_ctl(decoder, OPUS_RESET_STATE);
+}
+
+s32 OpusMultiStreamDecodeObject::Decode(u32& out_sample_count, u64 output_data,
+ u64 output_data_size, u64 input_data, u64 input_data_size) {
+ ASSERT(initialized);
+ out_sample_count = 0;
+
+ if (!state_valid) {
+ return OPUS_INVALID_STATE;
+ }
+
+ auto ret_code_or_samples = opus_multistream_decode(
+ decoder, reinterpret_cast<const u8*>(input_data), static_cast<opus_int32>(input_data_size),
+ reinterpret_cast<opus_int16*>(output_data), static_cast<opus_int32>(output_data_size), 0);
+
+ if (ret_code_or_samples < OPUS_OK) {
+ return ret_code_or_samples;
+ }
+
+ out_sample_count = ret_code_or_samples;
+ return opus_multistream_decoder_ctl(decoder, OPUS_GET_FINAL_RANGE_REQUEST, &final_range);
+}
+
+} // namespace AudioCore::ADSP::OpusDecoder
diff --git a/src/audio_core/adsp/apps/opus/opus_multistream_decode_object.h b/src/audio_core/adsp/apps/opus/opus_multistream_decode_object.h
new file mode 100644
index 000000000..93558ded5
--- /dev/null
+++ b/src/audio_core/adsp/apps/opus/opus_multistream_decode_object.h
@@ -0,0 +1,39 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <opus_multistream.h>
+
+#include "common/common_types.h"
+
+namespace AudioCore::ADSP::OpusDecoder {
+using LibOpusMSDecoder = ::OpusMSDecoder;
+static constexpr u32 DecodeMultiStreamObjectMagic = 0xDEADBEEF;
+
+class OpusMultiStreamDecodeObject {
+public:
+ static u32 GetWorkBufferSize(u32 total_stream_count, u32 stereo_stream_count);
+ static OpusMultiStreamDecodeObject& Initialize(u64 buffer, u64 buffer2);
+
+ s32 InitializeDecoder(u32 sample_rate, u32 total_stream_count, u32 channel_count,
+ u32 stereo_stream_count, u8* mappings);
+ s32 Shutdown();
+ s32 ResetDecoder();
+ s32 Decode(u32& out_sample_count, u64 output_data, u64 output_data_size, u64 input_data,
+ u64 input_data_size);
+ u32 GetFinalRange() const noexcept {
+ return final_range;
+ }
+
+private:
+ u32 magic;
+ bool initialized;
+ bool state_valid;
+ OpusMultiStreamDecodeObject* self;
+ u32 final_range;
+ LibOpusMSDecoder* decoder;
+};
+static_assert(std::is_trivially_constructible_v<OpusMultiStreamDecodeObject>);
+
+} // namespace AudioCore::ADSP::OpusDecoder
diff --git a/src/audio_core/adsp/apps/opus/shared_memory.h b/src/audio_core/adsp/apps/opus/shared_memory.h
new file mode 100644
index 000000000..c696731ed
--- /dev/null
+++ b/src/audio_core/adsp/apps/opus/shared_memory.h
@@ -0,0 +1,17 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "common/common_funcs.h"
+#include "common/common_types.h"
+
+namespace AudioCore::ADSP::OpusDecoder {
+
+struct SharedMemory {
+ std::array<u8, 0x100> channel_mapping{};
+ std::array<u64, 16> host_send_data{};
+ std::array<u64, 16> dsp_return_data{};
+};
+
+} // namespace AudioCore::ADSP::OpusDecoder
diff --git a/src/audio_core/adsp/mailbox.h b/src/audio_core/adsp/mailbox.h
new file mode 100644
index 000000000..1dd40ebfa
--- /dev/null
+++ b/src/audio_core/adsp/mailbox.h
@@ -0,0 +1,60 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <span>
+
+#include "common/bounded_threadsafe_queue.h"
+#include "common/common_types.h"
+
+namespace AudioCore::ADSP {
+
+enum class AppMailboxId : u32 {
+ Invalid = 0,
+ AudioRenderer = 50,
+ AudioRendererMemoryMapUnmap = 51,
+};
+
+enum class Direction : u32 {
+ Host,
+ DSP,
+};
+
+class Mailbox {
+public:
+ void Initialize(AppMailboxId id_) {
+ Reset();
+ id = id_;
+ }
+
+ AppMailboxId Id() const noexcept {
+ return id;
+ }
+
+ void Send(Direction dir, u32 message) {
+ auto& queue = dir == Direction::Host ? host_queue : adsp_queue;
+ queue.EmplaceWait(message);
+ }
+
+ u32 Receive(Direction dir, std::stop_token stop_token = {}) {
+ auto& queue = dir == Direction::Host ? host_queue : adsp_queue;
+ return queue.PopWait(stop_token);
+ }
+
+ void Reset() {
+ id = AppMailboxId::Invalid;
+ u32 t{};
+ while (host_queue.TryPop(t)) {
+ }
+ while (adsp_queue.TryPop(t)) {
+ }
+ }
+
+private:
+ AppMailboxId id{0};
+ Common::SPSCQueue<u32> host_queue;
+ Common::SPSCQueue<u32> adsp_queue;
+};
+
+} // namespace AudioCore::ADSP
diff --git a/src/audio_core/audio_core.cpp b/src/audio_core/audio_core.cpp
index 703ef4494..fcaab2b32 100644
--- a/src/audio_core/audio_core.cpp
+++ b/src/audio_core/audio_core.cpp
@@ -11,7 +11,7 @@ namespace AudioCore {
AudioCore::AudioCore(Core::System& system) : audio_manager{std::make_unique<AudioManager>()} {
CreateSinks();
// Must be created after the sinks
- adsp = std::make_unique<AudioRenderer::ADSP::ADSP>(system, *output_sink);
+ adsp = std::make_unique<ADSP::ADSP>(system, *output_sink);
}
AudioCore ::~AudioCore() {
@@ -43,7 +43,7 @@ Sink::Sink& AudioCore::GetInputSink() {
return *input_sink;
}
-AudioRenderer::ADSP::ADSP& AudioCore::GetADSP() {
+ADSP::ADSP& AudioCore::ADSP() {
return *adsp;
}
diff --git a/src/audio_core/audio_core.h b/src/audio_core/audio_core.h
index ea047773e..e4e27fc66 100644
--- a/src/audio_core/audio_core.h
+++ b/src/audio_core/audio_core.h
@@ -5,8 +5,8 @@
#include <memory>
+#include "audio_core/adsp/adsp.h"
#include "audio_core/audio_manager.h"
-#include "audio_core/renderer/adsp/adsp.h"
#include "audio_core/sink/sink.h"
namespace Core {
@@ -55,7 +55,7 @@ public:
*
* @return Ref to the ADSP.
*/
- AudioRenderer::ADSP::ADSP& GetADSP();
+ ADSP::ADSP& ADSP();
private:
/**
@@ -70,7 +70,7 @@ private:
/// Sink used for audio input
std::unique_ptr<Sink::Sink> input_sink;
/// The ADSP in the sysmodule
- std::unique_ptr<AudioRenderer::ADSP::ADSP> adsp;
+ std::unique_ptr<ADSP::ADSP> adsp;
};
} // namespace AudioCore
diff --git a/src/audio_core/audio_event.cpp b/src/audio_core/audio_event.cpp
index d15568e1f..c23ef0990 100644
--- a/src/audio_core/audio_event.cpp
+++ b/src/audio_core/audio_event.cpp
@@ -20,7 +20,6 @@ size_t Event::GetManagerIndex(const Type type) const {
default:
UNREACHABLE();
}
- return 3;
}
void Event::SetAudioEvent(const Type type, const bool signalled) {
diff --git a/src/audio_core/audio_in_manager.cpp b/src/audio_core/audio_in_manager.cpp
index 3dfb613cb..a3667524f 100644
--- a/src/audio_core/audio_in_manager.cpp
+++ b/src/audio_core/audio_in_manager.cpp
@@ -73,7 +73,7 @@ void Manager::BufferReleaseAndRegister() {
}
}
-u32 Manager::GetDeviceNames(std::vector<AudioRenderer::AudioDevice::AudioDeviceName>& names,
+u32 Manager::GetDeviceNames(std::vector<Renderer::AudioDevice::AudioDeviceName>& names,
[[maybe_unused]] const u32 max_count,
[[maybe_unused]] const bool filter) {
std::scoped_lock l{mutex};
diff --git a/src/audio_core/audio_in_manager.h b/src/audio_core/audio_in_manager.h
index 8a519df99..5c4614cd1 100644
--- a/src/audio_core/audio_in_manager.h
+++ b/src/audio_core/audio_in_manager.h
@@ -65,8 +65,8 @@ public:
*
* @return Number of names written.
*/
- u32 GetDeviceNames(std::vector<AudioRenderer::AudioDevice::AudioDeviceName>& names,
- u32 max_count, bool filter);
+ u32 GetDeviceNames(std::vector<Renderer::AudioDevice::AudioDeviceName>& names, u32 max_count,
+ bool filter);
/// Core system
Core::System& system;
diff --git a/src/audio_core/audio_out_manager.cpp b/src/audio_core/audio_out_manager.cpp
index f22821360..316ea7c81 100644
--- a/src/audio_core/audio_out_manager.cpp
+++ b/src/audio_core/audio_out_manager.cpp
@@ -73,7 +73,7 @@ void Manager::BufferReleaseAndRegister() {
}
u32 Manager::GetAudioOutDeviceNames(
- std::vector<AudioRenderer::AudioDevice::AudioDeviceName>& names) const {
+ std::vector<Renderer::AudioDevice::AudioDeviceName>& names) const {
names.emplace_back("DeviceOut");
return 1;
}
diff --git a/src/audio_core/audio_out_manager.h b/src/audio_core/audio_out_manager.h
index 1e05ec5ed..c3e445d5d 100644
--- a/src/audio_core/audio_out_manager.h
+++ b/src/audio_core/audio_out_manager.h
@@ -61,8 +61,7 @@ public:
* @param names - Output container to write names to.
* @return Number of names written.
*/
- u32 GetAudioOutDeviceNames(
- std::vector<AudioRenderer::AudioDevice::AudioDeviceName>& names) const;
+ u32 GetAudioOutDeviceNames(std::vector<Renderer::AudioDevice::AudioDeviceName>& names) const;
/// Core system
Core::System& system;
diff --git a/src/audio_core/audio_render_manager.cpp b/src/audio_core/audio_render_manager.cpp
index 320715727..3c53e3afd 100644
--- a/src/audio_core/audio_render_manager.cpp
+++ b/src/audio_core/audio_render_manager.cpp
@@ -6,7 +6,7 @@
#include "audio_core/common/feature_support.h"
#include "core/core.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
Manager::Manager(Core::System& system_)
: system{system_}, system_manager{std::make_unique<SystemManager>(system)} {
@@ -67,4 +67,4 @@ bool Manager::RemoveSystem(System& system_) {
return system_manager->Remove(system_);
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/audio_render_manager.h b/src/audio_core/audio_render_manager.h
index fffa5944d..45537b270 100644
--- a/src/audio_core/audio_render_manager.h
+++ b/src/audio_core/audio_render_manager.h
@@ -20,7 +20,7 @@ class System;
namespace AudioCore {
struct AudioRendererParameterInternal;
-namespace AudioRenderer {
+namespace Renderer {
/**
* Wrapper for the audio system manager, handles service calls.
*/
@@ -101,5 +101,5 @@ private:
std::unique_ptr<SystemManager> system_manager{};
};
-} // namespace AudioRenderer
+} // namespace Renderer
} // namespace AudioCore
diff --git a/src/audio_core/common/audio_renderer_parameter.h b/src/audio_core/common/audio_renderer_parameter.h
index 2f62c383b..6c4e9fdc6 100644
--- a/src/audio_core/common/audio_renderer_parameter.h
+++ b/src/audio_core/common/audio_renderer_parameter.h
@@ -32,16 +32,16 @@ struct AudioRendererParameterInternal {
/* 0x14 */ u32 sinks;
/* 0x18 */ u32 effects;
/* 0x1C */ u32 perf_frames;
- /* 0x20 */ u16 voice_drop_enabled;
+ /* 0x20 */ u8 voice_drop_enabled;
+ /* 0x21 */ u8 unk_21;
/* 0x22 */ u8 rendering_device;
/* 0x23 */ ExecutionMode execution_mode;
/* 0x24 */ u32 splitter_infos;
/* 0x28 */ s32 splitter_destinations;
/* 0x2C */ u32 external_context_size;
/* 0x30 */ u32 revision;
- /* 0x34 */ char unk34[0x4];
};
-static_assert(sizeof(AudioRendererParameterInternal) == 0x38,
+static_assert(sizeof(AudioRendererParameterInternal) == 0x34,
"AudioRendererParameterInternal has the wrong size!");
/**
@@ -51,10 +51,10 @@ struct AudioRendererSystemContext {
s32 session_id;
s8 channels;
s16 mix_buffer_count;
- AudioRenderer::BehaviorInfo* behavior;
+ Renderer::BehaviorInfo* behavior;
std::span<s32> depop_buffer;
- AudioRenderer::UpsamplerManager* upsampler_manager;
- AudioRenderer::MemoryPoolInfo* memory_pool_info;
+ Renderer::UpsamplerManager* upsampler_manager;
+ Renderer::MemoryPoolInfo* memory_pool_info;
};
} // namespace AudioCore
diff --git a/src/audio_core/opus/decoder.cpp b/src/audio_core/opus/decoder.cpp
new file mode 100644
index 000000000..5b23fce14
--- /dev/null
+++ b/src/audio_core/opus/decoder.cpp
@@ -0,0 +1,179 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "audio_core/opus/decoder.h"
+#include "audio_core/opus/hardware_opus.h"
+#include "audio_core/opus/parameters.h"
+#include "common/alignment.h"
+#include "common/swap.h"
+#include "core/core.h"
+
+namespace AudioCore::OpusDecoder {
+using namespace Service::Audio;
+namespace {
+OpusPacketHeader ReverseHeader(OpusPacketHeader header) {
+ OpusPacketHeader out;
+ out.size = Common::swap32(header.size);
+ out.final_range = Common::swap32(header.final_range);
+ return out;
+}
+} // namespace
+
+OpusDecoder::OpusDecoder(Core::System& system_, HardwareOpus& hardware_opus_)
+ : system{system_}, hardware_opus{hardware_opus_} {}
+
+OpusDecoder::~OpusDecoder() {
+ if (decode_object_initialized) {
+ hardware_opus.ShutdownDecodeObject(shared_buffer.get(), shared_buffer_size);
+ }
+}
+
+Result OpusDecoder::Initialize(OpusParametersEx& params, Kernel::KTransferMemory* transfer_memory,
+ u64 transfer_memory_size) {
+ auto frame_size{params.use_large_frame_size ? 5760 : 1920};
+ shared_buffer_size = transfer_memory_size;
+ shared_buffer = std::make_unique<u8[]>(shared_buffer_size);
+ shared_memory_mapped = true;
+
+ buffer_size =
+ Common::AlignUp((frame_size * params.channel_count) / (48'000 / params.sample_rate), 16);
+
+ out_data = {shared_buffer.get() + shared_buffer_size - buffer_size, buffer_size};
+ size_t in_data_size{0x600u};
+ in_data = {out_data.data() - in_data_size, in_data_size};
+
+ ON_RESULT_FAILURE {
+ if (shared_memory_mapped) {
+ shared_memory_mapped = false;
+ ASSERT(R_SUCCEEDED(hardware_opus.UnmapMemory(shared_buffer.get(), shared_buffer_size)));
+ }
+ };
+
+ R_TRY(hardware_opus.InitializeDecodeObject(params.sample_rate, params.channel_count,
+ shared_buffer.get(), shared_buffer_size));
+
+ sample_rate = params.sample_rate;
+ channel_count = params.channel_count;
+ use_large_frame_size = params.use_large_frame_size;
+ decode_object_initialized = true;
+ R_SUCCEED();
+}
+
+Result OpusDecoder::Initialize(OpusMultiStreamParametersEx& params,
+ Kernel::KTransferMemory* transfer_memory, u64 transfer_memory_size) {
+ auto frame_size{params.use_large_frame_size ? 5760 : 1920};
+ shared_buffer_size = transfer_memory_size;
+ shared_buffer = std::make_unique<u8[]>(shared_buffer_size);
+ shared_memory_mapped = true;
+
+ buffer_size =
+ Common::AlignUp((frame_size * params.channel_count) / (48'000 / params.sample_rate), 16);
+
+ out_data = {shared_buffer.get() + shared_buffer_size - buffer_size, buffer_size};
+ size_t in_data_size{Common::AlignUp(1500ull * params.total_stream_count, 64u)};
+ in_data = {out_data.data() - in_data_size, in_data_size};
+
+ ON_RESULT_FAILURE {
+ if (shared_memory_mapped) {
+ shared_memory_mapped = false;
+ ASSERT(R_SUCCEEDED(hardware_opus.UnmapMemory(shared_buffer.get(), shared_buffer_size)));
+ }
+ };
+
+ R_TRY(hardware_opus.InitializeMultiStreamDecodeObject(
+ params.sample_rate, params.channel_count, params.total_stream_count,
+ params.stereo_stream_count, params.mappings.data(), shared_buffer.get(),
+ shared_buffer_size));
+
+ sample_rate = params.sample_rate;
+ channel_count = params.channel_count;
+ total_stream_count = params.total_stream_count;
+ stereo_stream_count = params.stereo_stream_count;
+ use_large_frame_size = params.use_large_frame_size;
+ decode_object_initialized = true;
+ R_SUCCEED();
+}
+
+Result OpusDecoder::DecodeInterleaved(u32* out_data_size, u64* out_time_taken,
+ u32* out_sample_count, std::span<const u8> input_data,
+ std::span<u8> output_data, bool reset) {
+ u32 out_samples;
+ u64 time_taken{};
+
+ R_UNLESS(input_data.size_bytes() > sizeof(OpusPacketHeader), ResultInputDataTooSmall);
+
+ auto* header_p{reinterpret_cast<const OpusPacketHeader*>(input_data.data())};
+ OpusPacketHeader header{ReverseHeader(*header_p)};
+
+ R_UNLESS(in_data.size_bytes() >= header.size &&
+ header.size + sizeof(OpusPacketHeader) <= input_data.size_bytes(),
+ ResultBufferTooSmall);
+
+ if (!shared_memory_mapped) {
+ R_TRY(hardware_opus.MapMemory(shared_buffer.get(), shared_buffer_size));
+ shared_memory_mapped = true;
+ }
+
+ std::memcpy(in_data.data(), input_data.data() + sizeof(OpusPacketHeader), header.size);
+
+ R_TRY(hardware_opus.DecodeInterleaved(out_samples, out_data.data(), out_data.size_bytes(),
+ channel_count, in_data.data(), header.size,
+ shared_buffer.get(), time_taken, reset));
+
+ std::memcpy(output_data.data(), out_data.data(), out_samples * channel_count * sizeof(s16));
+
+ *out_data_size = header.size + sizeof(OpusPacketHeader);
+ *out_sample_count = out_samples;
+ if (out_time_taken) {
+ *out_time_taken = time_taken / 1000;
+ }
+ R_SUCCEED();
+}
+
+Result OpusDecoder::SetContext([[maybe_unused]] std::span<const u8> context) {
+ R_SUCCEED_IF(shared_memory_mapped);
+ shared_memory_mapped = true;
+ R_RETURN(hardware_opus.MapMemory(shared_buffer.get(), shared_buffer_size));
+}
+
+Result OpusDecoder::DecodeInterleavedForMultiStream(u32* out_data_size, u64* out_time_taken,
+ u32* out_sample_count,
+ std::span<const u8> input_data,
+ std::span<u8> output_data, bool reset) {
+ u32 out_samples;
+ u64 time_taken{};
+
+ R_UNLESS(input_data.size_bytes() > sizeof(OpusPacketHeader), ResultInputDataTooSmall);
+
+ auto* header_p{reinterpret_cast<const OpusPacketHeader*>(input_data.data())};
+ OpusPacketHeader header{ReverseHeader(*header_p)};
+
+ LOG_ERROR(Service_Audio, "header size 0x{:X} input data size 0x{:X} in_data size 0x{:X}",
+ header.size, input_data.size_bytes(), in_data.size_bytes());
+
+ R_UNLESS(in_data.size_bytes() >= header.size &&
+ header.size + sizeof(OpusPacketHeader) <= input_data.size_bytes(),
+ ResultBufferTooSmall);
+
+ if (!shared_memory_mapped) {
+ R_TRY(hardware_opus.MapMemory(shared_buffer.get(), shared_buffer_size));
+ shared_memory_mapped = true;
+ }
+
+ std::memcpy(in_data.data(), input_data.data() + sizeof(OpusPacketHeader), header.size);
+
+ R_TRY(hardware_opus.DecodeInterleavedForMultiStream(
+ out_samples, out_data.data(), out_data.size_bytes(), channel_count, in_data.data(),
+ header.size, shared_buffer.get(), time_taken, reset));
+
+ std::memcpy(output_data.data(), out_data.data(), out_samples * channel_count * sizeof(s16));
+
+ *out_data_size = header.size + sizeof(OpusPacketHeader);
+ *out_sample_count = out_samples;
+ if (out_time_taken) {
+ *out_time_taken = time_taken / 1000;
+ }
+ R_SUCCEED();
+}
+
+} // namespace AudioCore::OpusDecoder
diff --git a/src/audio_core/opus/decoder.h b/src/audio_core/opus/decoder.h
new file mode 100644
index 000000000..d08d8a4a4
--- /dev/null
+++ b/src/audio_core/opus/decoder.h
@@ -0,0 +1,53 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <span>
+
+#include "audio_core/opus/parameters.h"
+#include "common/common_types.h"
+#include "core/hle/kernel/k_transfer_memory.h"
+#include "core/hle/service/audio/errors.h"
+
+namespace Core {
+class System;
+}
+
+namespace AudioCore::OpusDecoder {
+class HardwareOpus;
+
+class OpusDecoder {
+public:
+ explicit OpusDecoder(Core::System& system, HardwareOpus& hardware_opus_);
+ ~OpusDecoder();
+
+ Result Initialize(OpusParametersEx& params, Kernel::KTransferMemory* transfer_memory,
+ u64 transfer_memory_size);
+ Result Initialize(OpusMultiStreamParametersEx& params, Kernel::KTransferMemory* transfer_memory,
+ u64 transfer_memory_size);
+ Result DecodeInterleaved(u32* out_data_size, u64* out_time_taken, u32* out_sample_count,
+ std::span<const u8> input_data, std::span<u8> output_data, bool reset);
+ Result SetContext([[maybe_unused]] std::span<const u8> context);
+ Result DecodeInterleavedForMultiStream(u32* out_data_size, u64* out_time_taken,
+ u32* out_sample_count, std::span<const u8> input_data,
+ std::span<u8> output_data, bool reset);
+
+private:
+ Core::System& system;
+ HardwareOpus& hardware_opus;
+ std::unique_ptr<u8[]> shared_buffer{};
+ u64 shared_buffer_size;
+ std::span<u8> in_data{};
+ std::span<u8> out_data{};
+ u64 buffer_size{};
+ s32 sample_rate{};
+ s32 channel_count{};
+ bool use_large_frame_size{false};
+ s32 total_stream_count{};
+ s32 stereo_stream_count{};
+ bool shared_memory_mapped{false};
+ bool decode_object_initialized{false};
+};
+
+} // namespace AudioCore::OpusDecoder
diff --git a/src/audio_core/opus/decoder_manager.cpp b/src/audio_core/opus/decoder_manager.cpp
new file mode 100644
index 000000000..4a5382973
--- /dev/null
+++ b/src/audio_core/opus/decoder_manager.cpp
@@ -0,0 +1,102 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "audio_core/adsp/apps/opus/opus_decoder.h"
+#include "audio_core/opus/decoder_manager.h"
+#include "common/alignment.h"
+#include "core/core.h"
+
+namespace AudioCore::OpusDecoder {
+using namespace Service::Audio;
+
+namespace {
+bool IsValidChannelCount(u32 channel_count) {
+ return channel_count == 1 || channel_count == 2;
+}
+
+bool IsValidMultiStreamChannelCount(u32 channel_count) {
+ return channel_count > 0 && channel_count <= OpusStreamCountMax;
+}
+
+bool IsValidSampleRate(u32 sample_rate) {
+ return sample_rate == 8'000 || sample_rate == 12'000 || sample_rate == 16'000 ||
+ sample_rate == 24'000 || sample_rate == 48'000;
+}
+
+bool IsValidStreamCount(u32 channel_count, u32 total_stream_count, u32 stereo_stream_count) {
+ return total_stream_count > 0 && stereo_stream_count > 0 &&
+ stereo_stream_count <= total_stream_count &&
+ total_stream_count + stereo_stream_count <= channel_count;
+}
+
+} // namespace
+
+OpusDecoderManager::OpusDecoderManager(Core::System& system_)
+ : system{system_}, hardware_opus{system} {
+ for (u32 i = 0; i < MaxChannels; i++) {
+ required_workbuffer_sizes[i] = hardware_opus.GetWorkBufferSize(1 + i);
+ }
+}
+
+Result OpusDecoderManager::GetWorkBufferSize(OpusParameters& params, u64& out_size) {
+ OpusParametersEx ex{
+ .sample_rate = params.sample_rate,
+ .channel_count = params.channel_count,
+ .use_large_frame_size = false,
+ };
+ R_RETURN(GetWorkBufferSizeExEx(ex, out_size));
+}
+
+Result OpusDecoderManager::GetWorkBufferSizeEx(OpusParametersEx& params, u64& out_size) {
+ R_RETURN(GetWorkBufferSizeExEx(params, out_size));
+}
+
+Result OpusDecoderManager::GetWorkBufferSizeExEx(OpusParametersEx& params, u64& out_size) {
+ R_UNLESS(IsValidChannelCount(params.channel_count), ResultInvalidOpusChannelCount);
+ R_UNLESS(IsValidSampleRate(params.sample_rate), ResultInvalidOpusSampleRate);
+
+ auto work_buffer_size{required_workbuffer_sizes[params.channel_count - 1]};
+ auto frame_size{params.use_large_frame_size ? 5760 : 1920};
+ work_buffer_size +=
+ Common::AlignUp((frame_size * params.channel_count) / (48'000 / params.sample_rate), 64);
+ out_size = work_buffer_size + 0x600;
+ R_SUCCEED();
+}
+
+Result OpusDecoderManager::GetWorkBufferSizeForMultiStream(OpusMultiStreamParameters& params,
+ u64& out_size) {
+ OpusMultiStreamParametersEx ex{
+ .sample_rate = params.sample_rate,
+ .channel_count = params.channel_count,
+ .total_stream_count = params.total_stream_count,
+ .stereo_stream_count = params.stereo_stream_count,
+ .use_large_frame_size = false,
+ .mappings = {},
+ };
+ R_RETURN(GetWorkBufferSizeForMultiStreamExEx(ex, out_size));
+}
+
+Result OpusDecoderManager::GetWorkBufferSizeForMultiStreamEx(OpusMultiStreamParametersEx& params,
+ u64& out_size) {
+ R_RETURN(GetWorkBufferSizeForMultiStreamExEx(params, out_size));
+}
+
+Result OpusDecoderManager::GetWorkBufferSizeForMultiStreamExEx(OpusMultiStreamParametersEx& params,
+ u64& out_size) {
+ R_UNLESS(IsValidMultiStreamChannelCount(params.channel_count), ResultInvalidOpusChannelCount);
+ R_UNLESS(IsValidSampleRate(params.sample_rate), ResultInvalidOpusSampleRate);
+ R_UNLESS(IsValidStreamCount(params.channel_count, params.total_stream_count,
+ params.stereo_stream_count),
+ ResultInvalidOpusSampleRate);
+
+ auto work_buffer_size{hardware_opus.GetWorkBufferSizeForMultiStream(
+ params.total_stream_count, params.stereo_stream_count)};
+ auto frame_size{params.use_large_frame_size ? 5760 : 1920};
+ work_buffer_size += Common::AlignUp(1500 * params.total_stream_count, 64);
+ work_buffer_size +=
+ Common::AlignUp((frame_size * params.channel_count) / (48'000 / params.sample_rate), 64);
+ out_size = work_buffer_size;
+ R_SUCCEED();
+}
+
+} // namespace AudioCore::OpusDecoder
diff --git a/src/audio_core/opus/decoder_manager.h b/src/audio_core/opus/decoder_manager.h
new file mode 100644
index 000000000..466e1967b
--- /dev/null
+++ b/src/audio_core/opus/decoder_manager.h
@@ -0,0 +1,38 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "audio_core/opus/hardware_opus.h"
+#include "audio_core/opus/parameters.h"
+#include "common/common_types.h"
+#include "core/hle/service/audio/errors.h"
+
+namespace Core {
+class System;
+}
+
+namespace AudioCore::OpusDecoder {
+
+class OpusDecoderManager {
+public:
+ OpusDecoderManager(Core::System& system);
+
+ HardwareOpus& GetHardwareOpus() {
+ return hardware_opus;
+ }
+
+ Result GetWorkBufferSize(OpusParameters& params, u64& out_size);
+ Result GetWorkBufferSizeEx(OpusParametersEx& params, u64& out_size);
+ Result GetWorkBufferSizeExEx(OpusParametersEx& params, u64& out_size);
+ Result GetWorkBufferSizeForMultiStream(OpusMultiStreamParameters& params, u64& out_size);
+ Result GetWorkBufferSizeForMultiStreamEx(OpusMultiStreamParametersEx& params, u64& out_size);
+ Result GetWorkBufferSizeForMultiStreamExEx(OpusMultiStreamParametersEx& params, u64& out_size);
+
+private:
+ Core::System& system;
+ HardwareOpus hardware_opus;
+ std::array<u64, MaxChannels> required_workbuffer_sizes{};
+};
+
+} // namespace AudioCore::OpusDecoder
diff --git a/src/audio_core/opus/hardware_opus.cpp b/src/audio_core/opus/hardware_opus.cpp
new file mode 100644
index 000000000..d6544dcb0
--- /dev/null
+++ b/src/audio_core/opus/hardware_opus.cpp
@@ -0,0 +1,241 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include <array>
+
+#include "audio_core/audio_core.h"
+#include "audio_core/opus/hardware_opus.h"
+#include "core/core.h"
+
+namespace AudioCore::OpusDecoder {
+namespace {
+using namespace Service::Audio;
+
+static constexpr Result ResultCodeFromLibOpusErrorCode(u64 error_code) {
+ s32 error{static_cast<s32>(error_code)};
+ ASSERT(error <= OPUS_OK);
+ switch (error) {
+ case OPUS_ALLOC_FAIL:
+ R_THROW(ResultLibOpusAllocFail);
+ case OPUS_INVALID_STATE:
+ R_THROW(ResultLibOpusInvalidState);
+ case OPUS_UNIMPLEMENTED:
+ R_THROW(ResultLibOpusUnimplemented);
+ case OPUS_INVALID_PACKET:
+ R_THROW(ResultLibOpusInvalidPacket);
+ case OPUS_INTERNAL_ERROR:
+ R_THROW(ResultLibOpusInternalError);
+ case OPUS_BUFFER_TOO_SMALL:
+ R_THROW(ResultBufferTooSmall);
+ case OPUS_BAD_ARG:
+ R_THROW(ResultLibOpusBadArg);
+ case OPUS_OK:
+ R_RETURN(ResultSuccess);
+ }
+ UNREACHABLE();
+}
+
+} // namespace
+
+HardwareOpus::HardwareOpus(Core::System& system_)
+ : system{system_}, opus_decoder{system.AudioCore().ADSP().OpusDecoder()} {
+ opus_decoder.SetSharedMemory(shared_memory);
+}
+
+u64 HardwareOpus::GetWorkBufferSize(u32 channel) {
+ if (!opus_decoder.IsRunning()) {
+ return 0;
+ }
+ std::scoped_lock l{mutex};
+ shared_memory.host_send_data[0] = channel;
+ opus_decoder.Send(ADSP::Direction::DSP, ADSP::OpusDecoder::Message::GetWorkBufferSize);
+ auto msg = opus_decoder.Receive(ADSP::Direction::Host);
+ if (msg != ADSP::OpusDecoder::Message::GetWorkBufferSizeOK) {
+ LOG_ERROR(Service_Audio, "OpusDecoder returned invalid message. Expected {} got {}",
+ ADSP::OpusDecoder::Message::GetWorkBufferSizeOK, msg);
+ return 0;
+ }
+ return shared_memory.dsp_return_data[0];
+}
+
+u64 HardwareOpus::GetWorkBufferSizeForMultiStream(u32 total_stream_count, u32 stereo_stream_count) {
+ std::scoped_lock l{mutex};
+ shared_memory.host_send_data[0] = total_stream_count;
+ shared_memory.host_send_data[1] = stereo_stream_count;
+ opus_decoder.Send(ADSP::Direction::DSP,
+ ADSP::OpusDecoder::Message::GetWorkBufferSizeForMultiStream);
+ auto msg = opus_decoder.Receive(ADSP::Direction::Host);
+ if (msg != ADSP::OpusDecoder::Message::GetWorkBufferSizeForMultiStreamOK) {
+ LOG_ERROR(Service_Audio, "OpusDecoder returned invalid message. Expected {} got {}",
+ ADSP::OpusDecoder::Message::GetWorkBufferSizeForMultiStreamOK, msg);
+ return 0;
+ }
+ return shared_memory.dsp_return_data[0];
+}
+
+Result HardwareOpus::InitializeDecodeObject(u32 sample_rate, u32 channel_count, void* buffer,
+ u64 buffer_size) {
+ std::scoped_lock l{mutex};
+ shared_memory.host_send_data[0] = (u64)buffer;
+ shared_memory.host_send_data[1] = buffer_size;
+ shared_memory.host_send_data[2] = sample_rate;
+ shared_memory.host_send_data[3] = channel_count;
+
+ opus_decoder.Send(ADSP::Direction::DSP, ADSP::OpusDecoder::Message::InitializeDecodeObject);
+ auto msg = opus_decoder.Receive(ADSP::Direction::Host);
+ if (msg != ADSP::OpusDecoder::Message::InitializeDecodeObjectOK) {
+ LOG_ERROR(Service_Audio, "OpusDecoder returned invalid message. Expected {} got {}",
+ ADSP::OpusDecoder::Message::InitializeDecodeObjectOK, msg);
+ R_THROW(ResultInvalidOpusDSPReturnCode);
+ }
+
+ R_RETURN(ResultCodeFromLibOpusErrorCode(shared_memory.dsp_return_data[0]));
+}
+
+Result HardwareOpus::InitializeMultiStreamDecodeObject(u32 sample_rate, u32 channel_count,
+ u32 total_stream_count,
+ u32 stereo_stream_count, void* mappings,
+ void* buffer, u64 buffer_size) {
+ std::scoped_lock l{mutex};
+ shared_memory.host_send_data[0] = (u64)buffer;
+ shared_memory.host_send_data[1] = buffer_size;
+ shared_memory.host_send_data[2] = sample_rate;
+ shared_memory.host_send_data[3] = channel_count;
+ shared_memory.host_send_data[4] = total_stream_count;
+ shared_memory.host_send_data[5] = stereo_stream_count;
+
+ ASSERT(channel_count <= MaxChannels);
+ std::memcpy(shared_memory.channel_mapping.data(), mappings, channel_count * sizeof(u8));
+
+ opus_decoder.Send(ADSP::Direction::DSP,
+ ADSP::OpusDecoder::Message::InitializeMultiStreamDecodeObject);
+ auto msg = opus_decoder.Receive(ADSP::Direction::Host);
+ if (msg != ADSP::OpusDecoder::Message::InitializeMultiStreamDecodeObjectOK) {
+ LOG_ERROR(Service_Audio, "OpusDecoder returned invalid message. Expected {} got {}",
+ ADSP::OpusDecoder::Message::InitializeMultiStreamDecodeObjectOK, msg);
+ R_THROW(ResultInvalidOpusDSPReturnCode);
+ }
+
+ R_RETURN(ResultCodeFromLibOpusErrorCode(shared_memory.dsp_return_data[0]));
+}
+
+Result HardwareOpus::ShutdownDecodeObject(void* buffer, u64 buffer_size) {
+ std::scoped_lock l{mutex};
+ shared_memory.host_send_data[0] = (u64)buffer;
+ shared_memory.host_send_data[1] = buffer_size;
+
+ opus_decoder.Send(ADSP::Direction::DSP, ADSP::OpusDecoder::Message::ShutdownDecodeObject);
+ auto msg = opus_decoder.Receive(ADSP::Direction::Host);
+ ASSERT_MSG(msg == ADSP::OpusDecoder::Message::ShutdownDecodeObjectOK,
+ "Expected Opus shutdown code {}, got {}",
+ ADSP::OpusDecoder::Message::ShutdownDecodeObjectOK, msg);
+
+ R_RETURN(ResultCodeFromLibOpusErrorCode(shared_memory.dsp_return_data[0]));
+}
+
+Result HardwareOpus::ShutdownMultiStreamDecodeObject(void* buffer, u64 buffer_size) {
+ std::scoped_lock l{mutex};
+ shared_memory.host_send_data[0] = (u64)buffer;
+ shared_memory.host_send_data[1] = buffer_size;
+
+ opus_decoder.Send(ADSP::Direction::DSP,
+ ADSP::OpusDecoder::Message::ShutdownMultiStreamDecodeObject);
+ auto msg = opus_decoder.Receive(ADSP::Direction::Host);
+ ASSERT_MSG(msg == ADSP::OpusDecoder::Message::ShutdownMultiStreamDecodeObjectOK,
+ "Expected Opus shutdown code {}, got {}",
+ ADSP::OpusDecoder::Message::ShutdownMultiStreamDecodeObjectOK, msg);
+
+ R_RETURN(ResultCodeFromLibOpusErrorCode(shared_memory.dsp_return_data[0]));
+}
+
+Result HardwareOpus::DecodeInterleaved(u32& out_sample_count, void* output_data,
+ u64 output_data_size, u32 channel_count, void* input_data,
+ u64 input_data_size, void* buffer, u64& out_time_taken,
+ bool reset) {
+ std::scoped_lock l{mutex};
+ shared_memory.host_send_data[0] = (u64)buffer;
+ shared_memory.host_send_data[1] = (u64)input_data;
+ shared_memory.host_send_data[2] = input_data_size;
+ shared_memory.host_send_data[3] = (u64)output_data;
+ shared_memory.host_send_data[4] = output_data_size;
+ shared_memory.host_send_data[5] = 0;
+ shared_memory.host_send_data[6] = reset;
+
+ opus_decoder.Send(ADSP::Direction::DSP, ADSP::OpusDecoder::Message::DecodeInterleaved);
+ auto msg = opus_decoder.Receive(ADSP::Direction::Host);
+ if (msg != ADSP::OpusDecoder::Message::DecodeInterleavedOK) {
+ LOG_ERROR(Service_Audio, "OpusDecoder returned invalid message. Expected {} got {}",
+ ADSP::OpusDecoder::Message::DecodeInterleavedOK, msg);
+ R_THROW(ResultInvalidOpusDSPReturnCode);
+ }
+
+ auto error_code{static_cast<s32>(shared_memory.dsp_return_data[0])};
+ if (error_code == OPUS_OK) {
+ out_sample_count = static_cast<u32>(shared_memory.dsp_return_data[1]);
+ out_time_taken = 1000 * shared_memory.dsp_return_data[2];
+ }
+ R_RETURN(ResultCodeFromLibOpusErrorCode(error_code));
+}
+
+Result HardwareOpus::DecodeInterleavedForMultiStream(u32& out_sample_count, void* output_data,
+ u64 output_data_size, u32 channel_count,
+ void* input_data, u64 input_data_size,
+ void* buffer, u64& out_time_taken,
+ bool reset) {
+ std::scoped_lock l{mutex};
+ shared_memory.host_send_data[0] = (u64)buffer;
+ shared_memory.host_send_data[1] = (u64)input_data;
+ shared_memory.host_send_data[2] = input_data_size;
+ shared_memory.host_send_data[3] = (u64)output_data;
+ shared_memory.host_send_data[4] = output_data_size;
+ shared_memory.host_send_data[5] = 0;
+ shared_memory.host_send_data[6] = reset;
+
+ opus_decoder.Send(ADSP::Direction::DSP,
+ ADSP::OpusDecoder::Message::DecodeInterleavedForMultiStream);
+ auto msg = opus_decoder.Receive(ADSP::Direction::Host);
+ if (msg != ADSP::OpusDecoder::Message::DecodeInterleavedForMultiStreamOK) {
+ LOG_ERROR(Service_Audio, "OpusDecoder returned invalid message. Expected {} got {}",
+ ADSP::OpusDecoder::Message::DecodeInterleavedForMultiStreamOK, msg);
+ R_THROW(ResultInvalidOpusDSPReturnCode);
+ }
+
+ auto error_code{static_cast<s32>(shared_memory.dsp_return_data[0])};
+ if (error_code == OPUS_OK) {
+ out_sample_count = static_cast<u32>(shared_memory.dsp_return_data[1]);
+ out_time_taken = 1000 * shared_memory.dsp_return_data[2];
+ }
+ R_RETURN(ResultCodeFromLibOpusErrorCode(error_code));
+}
+
+Result HardwareOpus::MapMemory(void* buffer, u64 buffer_size) {
+ std::scoped_lock l{mutex};
+ shared_memory.host_send_data[0] = (u64)buffer;
+ shared_memory.host_send_data[1] = buffer_size;
+
+ opus_decoder.Send(ADSP::Direction::DSP, ADSP::OpusDecoder::Message::MapMemory);
+ auto msg = opus_decoder.Receive(ADSP::Direction::Host);
+ if (msg != ADSP::OpusDecoder::Message::MapMemoryOK) {
+ LOG_ERROR(Service_Audio, "OpusDecoder returned invalid message. Expected {} got {}",
+ ADSP::OpusDecoder::Message::MapMemoryOK, msg);
+ R_THROW(ResultInvalidOpusDSPReturnCode);
+ }
+ R_SUCCEED();
+}
+
+Result HardwareOpus::UnmapMemory(void* buffer, u64 buffer_size) {
+ std::scoped_lock l{mutex};
+ shared_memory.host_send_data[0] = (u64)buffer;
+ shared_memory.host_send_data[1] = buffer_size;
+
+ opus_decoder.Send(ADSP::Direction::DSP, ADSP::OpusDecoder::Message::UnmapMemory);
+ auto msg = opus_decoder.Receive(ADSP::Direction::Host);
+ if (msg != ADSP::OpusDecoder::Message::UnmapMemoryOK) {
+ LOG_ERROR(Service_Audio, "OpusDecoder returned invalid message. Expected {} got {}",
+ ADSP::OpusDecoder::Message::UnmapMemoryOK, msg);
+ R_THROW(ResultInvalidOpusDSPReturnCode);
+ }
+ R_SUCCEED();
+}
+
+} // namespace AudioCore::OpusDecoder
diff --git a/src/audio_core/opus/hardware_opus.h b/src/audio_core/opus/hardware_opus.h
new file mode 100644
index 000000000..7013a6b40
--- /dev/null
+++ b/src/audio_core/opus/hardware_opus.h
@@ -0,0 +1,45 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <mutex>
+#include <opus.h>
+
+#include "audio_core/adsp/apps/opus/opus_decoder.h"
+#include "audio_core/adsp/apps/opus/shared_memory.h"
+#include "audio_core/adsp/mailbox.h"
+#include "core/hle/service/audio/errors.h"
+
+namespace AudioCore::OpusDecoder {
+class HardwareOpus {
+public:
+ HardwareOpus(Core::System& system);
+
+ u64 GetWorkBufferSize(u32 channel);
+ u64 GetWorkBufferSizeForMultiStream(u32 total_stream_count, u32 stereo_stream_count);
+
+ Result InitializeDecodeObject(u32 sample_rate, u32 channel_count, void* buffer,
+ u64 buffer_size);
+ Result InitializeMultiStreamDecodeObject(u32 sample_rate, u32 channel_count,
+ u32 totaL_stream_count, u32 stereo_stream_count,
+ void* mappings, void* buffer, u64 buffer_size);
+ Result ShutdownDecodeObject(void* buffer, u64 buffer_size);
+ Result ShutdownMultiStreamDecodeObject(void* buffer, u64 buffer_size);
+ Result DecodeInterleaved(u32& out_sample_count, void* output_data, u64 output_data_size,
+ u32 channel_count, void* input_data, u64 input_data_size, void* buffer,
+ u64& out_time_taken, bool reset);
+ Result DecodeInterleavedForMultiStream(u32& out_sample_count, void* output_data,
+ u64 output_data_size, u32 channel_count,
+ void* input_data, u64 input_data_size, void* buffer,
+ u64& out_time_taken, bool reset);
+ Result MapMemory(void* buffer, u64 buffer_size);
+ Result UnmapMemory(void* buffer, u64 buffer_size);
+
+private:
+ Core::System& system;
+ std::mutex mutex;
+ ADSP::OpusDecoder::OpusDecoder& opus_decoder;
+ ADSP::OpusDecoder::SharedMemory shared_memory;
+};
+} // namespace AudioCore::OpusDecoder
diff --git a/src/audio_core/opus/parameters.h b/src/audio_core/opus/parameters.h
new file mode 100644
index 000000000..4c54b2825
--- /dev/null
+++ b/src/audio_core/opus/parameters.h
@@ -0,0 +1,54 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "common/common_funcs.h"
+#include "common/common_types.h"
+
+namespace AudioCore::OpusDecoder {
+constexpr size_t OpusStreamCountMax = 255;
+constexpr size_t MaxChannels = 2;
+
+struct OpusParameters {
+ /* 0x00 */ u32 sample_rate;
+ /* 0x04 */ u32 channel_count;
+}; // size = 0x8
+static_assert(sizeof(OpusParameters) == 0x8, "OpusParameters has the wrong size!");
+
+struct OpusParametersEx {
+ /* 0x00 */ u32 sample_rate;
+ /* 0x04 */ u32 channel_count;
+ /* 0x08 */ bool use_large_frame_size;
+ /* 0x09 */ INSERT_PADDING_BYTES(7);
+}; // size = 0x10
+static_assert(sizeof(OpusParametersEx) == 0x10, "OpusParametersEx has the wrong size!");
+
+struct OpusMultiStreamParameters {
+ /* 0x00 */ u32 sample_rate;
+ /* 0x04 */ u32 channel_count;
+ /* 0x08 */ u32 total_stream_count;
+ /* 0x0C */ u32 stereo_stream_count;
+ /* 0x10 */ std::array<u8, OpusStreamCountMax + 1> mappings;
+}; // size = 0x110
+static_assert(sizeof(OpusMultiStreamParameters) == 0x110,
+ "OpusMultiStreamParameters has the wrong size!");
+
+struct OpusMultiStreamParametersEx {
+ /* 0x00 */ u32 sample_rate;
+ /* 0x04 */ u32 channel_count;
+ /* 0x08 */ u32 total_stream_count;
+ /* 0x0C */ u32 stereo_stream_count;
+ /* 0x10 */ bool use_large_frame_size;
+ /* 0x11 */ INSERT_PADDING_BYTES(7);
+ /* 0x18 */ std::array<u8, OpusStreamCountMax + 1> mappings;
+}; // size = 0x118
+static_assert(sizeof(OpusMultiStreamParametersEx) == 0x118,
+ "OpusMultiStreamParametersEx has the wrong size!");
+
+struct OpusPacketHeader {
+ /* 0x00 */ u32 size;
+ /* 0x04 */ u32 final_range;
+}; // size = 0x8
+static_assert(sizeof(OpusPacketHeader) == 0x8, "OpusPacketHeader has the wrong size!");
+} // namespace AudioCore::OpusDecoder
diff --git a/src/audio_core/renderer/adsp/adsp.cpp b/src/audio_core/renderer/adsp/adsp.cpp
deleted file mode 100644
index b1db31e93..000000000
--- a/src/audio_core/renderer/adsp/adsp.cpp
+++ /dev/null
@@ -1,117 +0,0 @@
-// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include "audio_core/renderer/adsp/adsp.h"
-#include "audio_core/renderer/adsp/command_buffer.h"
-#include "audio_core/sink/sink.h"
-#include "common/logging/log.h"
-#include "core/core.h"
-#include "core/core_timing.h"
-#include "core/memory.h"
-
-namespace AudioCore::AudioRenderer::ADSP {
-
-ADSP::ADSP(Core::System& system_, Sink::Sink& sink_)
- : system{system_}, memory{system.ApplicationMemory()}, sink{sink_} {}
-
-ADSP::~ADSP() {
- ClearCommandBuffers();
-}
-
-State ADSP::GetState() const {
- if (running) {
- return State::Started;
- }
- return State::Stopped;
-}
-
-AudioRenderer_Mailbox* ADSP::GetRenderMailbox() {
- return &render_mailbox;
-}
-
-void ADSP::ClearRemainCount(const u32 session_id) {
- render_mailbox.ClearRemainCount(session_id);
-}
-
-u64 ADSP::GetSignalledTick() const {
- return render_mailbox.GetSignalledTick();
-}
-
-u64 ADSP::GetTimeTaken() const {
- return render_mailbox.GetRenderTimeTaken();
-}
-
-u64 ADSP::GetRenderTimeTaken(const u32 session_id) {
- return render_mailbox.GetCommandBuffer(session_id).render_time_taken;
-}
-
-u32 ADSP::GetRemainCommandCount(const u32 session_id) const {
- return render_mailbox.GetRemainCommandCount(session_id);
-}
-
-void ADSP::SendCommandBuffer(const u32 session_id, const CommandBuffer& command_buffer) {
- render_mailbox.SetCommandBuffer(session_id, command_buffer);
-}
-
-u64 ADSP::GetRenderingStartTick(const u32 session_id) {
- return render_mailbox.GetSignalledTick() +
- render_mailbox.GetCommandBuffer(session_id).render_time_taken;
-}
-
-bool ADSP::Start() {
- if (running) {
- return running;
- }
-
- running = true;
- systems_active++;
- audio_renderer = std::make_unique<AudioRenderer>(system);
- audio_renderer->Start(&render_mailbox);
- render_mailbox.HostSendMessage(RenderMessage::AudioRenderer_InitializeOK);
- if (render_mailbox.HostWaitMessage() != RenderMessage::AudioRenderer_InitializeOK) {
- LOG_ERROR(
- Service_Audio,
- "Host Audio Renderer -- Failed to receive initialize message response from ADSP!");
- }
- return running;
-}
-
-void ADSP::Stop() {
- systems_active--;
- if (running && systems_active == 0) {
- {
- std::scoped_lock l{mailbox_lock};
- render_mailbox.HostSendMessage(RenderMessage::AudioRenderer_Shutdown);
- if (render_mailbox.HostWaitMessage() != RenderMessage::AudioRenderer_Shutdown) {
- LOG_ERROR(Service_Audio, "Host Audio Renderer -- Failed to receive shutdown "
- "message response from ADSP!");
- }
- }
- audio_renderer->Stop();
- running = false;
- }
-}
-
-void ADSP::Signal() {
- const auto signalled_tick{system.CoreTiming().GetClockTicks()};
- render_mailbox.SetSignalledTick(signalled_tick);
- render_mailbox.HostSendMessage(RenderMessage::AudioRenderer_Render);
-}
-
-void ADSP::Wait() {
- std::scoped_lock l{mailbox_lock};
- auto response{render_mailbox.HostWaitMessage()};
- if (response != RenderMessage::AudioRenderer_RenderResponse) {
- LOG_ERROR(Service_Audio, "Invalid ADSP response message, expected 0x{:02X}, got 0x{:02X}",
- static_cast<u32>(RenderMessage::AudioRenderer_RenderResponse),
- static_cast<u32>(response));
- }
-
- ClearCommandBuffers();
-}
-
-void ADSP::ClearCommandBuffers() {
- render_mailbox.ClearCommandBuffers();
-}
-
-} // namespace AudioCore::AudioRenderer::ADSP
diff --git a/src/audio_core/renderer/adsp/adsp.h b/src/audio_core/renderer/adsp/adsp.h
deleted file mode 100644
index f7a2f25e4..000000000
--- a/src/audio_core/renderer/adsp/adsp.h
+++ /dev/null
@@ -1,171 +0,0 @@
-// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#include <memory>
-#include <mutex>
-
-#include "audio_core/renderer/adsp/audio_renderer.h"
-#include "common/common_types.h"
-
-namespace Core {
-namespace Memory {
-class Memory;
-}
-class System;
-} // namespace Core
-
-namespace AudioCore {
-namespace Sink {
-class Sink;
-}
-
-namespace AudioRenderer::ADSP {
-struct CommandBuffer;
-
-enum class State {
- Started,
- Stopped,
-};
-
-/**
- * Represents the ADSP embedded within the audio sysmodule.
- * This is a 32-bit Linux4Tegra kernel from nVidia, which is launched with the sysmodule on boot.
- *
- * The kernel will run apps you program for it, Nintendo have the following:
- *
- * Gmix - Responsible for mixing final audio and sending it out to hardware. This is last place all
- * audio samples end up, and we skip it entirely, since we have very different backends and
- * mixing is implicitly handled by the OS (but also due to lack of research/simplicity).
- *
- * AudioRenderer - Receives command lists generated by the audio render
- * system, processes them, and sends the samples to Gmix.
- *
- * OpusDecoder - Contains libopus, and controls processing Opus audio and sends it to Gmix.
- * Not much research done here, TODO if needed.
- *
- * We only implement the AudioRenderer for now.
- *
- * Communication for the apps is done through mailboxes, and some shared memory.
- */
-class ADSP {
-public:
- explicit ADSP(Core::System& system, Sink::Sink& sink);
- ~ADSP();
-
- /**
- * Start the ADSP.
- *
- * @return True if started or already running, otherwise false.
- */
- bool Start();
-
- /**
- * Stop the ADSP.
- */
- void Stop();
-
- /**
- * Get the ADSP's state.
- *
- * @return Started or Stopped.
- */
- State GetState() const;
-
- /**
- * Get the AudioRenderer mailbox to communicate with it.
- *
- * @return The AudioRenderer mailbox.
- */
- AudioRenderer_Mailbox* GetRenderMailbox();
-
- /**
- * Get the tick the ADSP was signalled.
- *
- * @return The tick the ADSP was signalled.
- */
- u64 GetSignalledTick() const;
-
- /**
- * Get the total time it took for the ADSP to run the last command lists (both command lists).
- *
- * @return The tick the ADSP was signalled.
- */
- u64 GetTimeTaken() const;
-
- /**
- * Get the last time a given command list took to run.
- *
- * @param session_id - The session id to check (0 or 1).
- * @return The time it took.
- */
- u64 GetRenderTimeTaken(u32 session_id);
-
- /**
- * Clear the remaining command count for a given session.
- *
- * @param session_id - The session id to check (0 or 1).
- */
- void ClearRemainCount(u32 session_id);
-
- /**
- * Get the remaining number of commands left to process for a command list.
- *
- * @param session_id - The session id to check (0 or 1).
- * @return The number of commands remaining.
- */
- u32 GetRemainCommandCount(u32 session_id) const;
-
- /**
- * Get the last tick a command list started processing.
- *
- * @param session_id - The session id to check (0 or 1).
- * @return The last tick the given command list started.
- */
- u64 GetRenderingStartTick(u32 session_id);
-
- /**
- * Set a command buffer to be processed.
- *
- * @param session_id - The session id to check (0 or 1).
- * @param command_buffer - The command buffer to process.
- */
- void SendCommandBuffer(u32 session_id, const CommandBuffer& command_buffer);
-
- /**
- * Clear the command buffers (does not clear the time taken or the remaining command count)
- */
- void ClearCommandBuffers();
-
- /**
- * Signal the AudioRenderer to begin processing.
- */
- void Signal();
-
- /**
- * Wait for the AudioRenderer to finish processing.
- */
- void Wait();
-
-private:
- /// Core system
- Core::System& system;
- /// Core memory
- Core::Memory::Memory& memory;
- /// Number of systems active, used to prevent accidental shutdowns
- u8 systems_active{0};
- /// ADSP running state
- std::atomic<bool> running{false};
- /// Output sink used by the ADSP
- Sink::Sink& sink;
- /// AudioRenderer app
- std::unique_ptr<AudioRenderer> audio_renderer{};
- /// Communication for the AudioRenderer
- AudioRenderer_Mailbox render_mailbox{};
- /// Mailbox lock ffor the render mailbox
- std::mutex mailbox_lock;
-};
-
-} // namespace AudioRenderer::ADSP
-} // namespace AudioCore
diff --git a/src/audio_core/renderer/adsp/audio_renderer.cpp b/src/audio_core/renderer/adsp/audio_renderer.cpp
deleted file mode 100644
index 9ca716b60..000000000
--- a/src/audio_core/renderer/adsp/audio_renderer.cpp
+++ /dev/null
@@ -1,225 +0,0 @@
-// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include <array>
-#include <chrono>
-
-#include "audio_core/audio_core.h"
-#include "audio_core/common/common.h"
-#include "audio_core/renderer/adsp/audio_renderer.h"
-#include "audio_core/sink/sink.h"
-#include "common/logging/log.h"
-#include "common/microprofile.h"
-#include "common/thread.h"
-#include "core/core.h"
-#include "core/core_timing.h"
-
-MICROPROFILE_DEFINE(Audio_Renderer, "Audio", "DSP", MP_RGB(60, 19, 97));
-
-namespace AudioCore::AudioRenderer::ADSP {
-
-void AudioRenderer_Mailbox::HostSendMessage(RenderMessage message_) {
- adsp_messages.enqueue(message_);
- adsp_event.Set();
-}
-
-RenderMessage AudioRenderer_Mailbox::HostWaitMessage() {
- host_event.Wait();
- RenderMessage msg{RenderMessage::Invalid};
- if (!host_messages.try_dequeue(msg)) {
- LOG_ERROR(Service_Audio, "Failed to dequeue host message!");
- }
- return msg;
-}
-
-void AudioRenderer_Mailbox::ADSPSendMessage(const RenderMessage message_) {
- host_messages.enqueue(message_);
- host_event.Set();
-}
-
-RenderMessage AudioRenderer_Mailbox::ADSPWaitMessage() {
- adsp_event.Wait();
- RenderMessage msg{RenderMessage::Invalid};
- if (!adsp_messages.try_dequeue(msg)) {
- LOG_ERROR(Service_Audio, "Failed to dequeue ADSP message!");
- }
- return msg;
-}
-
-CommandBuffer& AudioRenderer_Mailbox::GetCommandBuffer(const u32 session_id) {
- return command_buffers[session_id];
-}
-
-void AudioRenderer_Mailbox::SetCommandBuffer(const u32 session_id, const CommandBuffer& buffer) {
- command_buffers[session_id] = buffer;
-}
-
-u64 AudioRenderer_Mailbox::GetRenderTimeTaken() const {
- return command_buffers[0].render_time_taken + command_buffers[1].render_time_taken;
-}
-
-u64 AudioRenderer_Mailbox::GetSignalledTick() const {
- return signalled_tick;
-}
-
-void AudioRenderer_Mailbox::SetSignalledTick(const u64 tick) {
- signalled_tick = tick;
-}
-
-void AudioRenderer_Mailbox::ClearRemainCount(const u32 session_id) {
- command_buffers[session_id].remaining_command_count = 0;
-}
-
-u32 AudioRenderer_Mailbox::GetRemainCommandCount(const u32 session_id) const {
- return command_buffers[session_id].remaining_command_count;
-}
-
-void AudioRenderer_Mailbox::ClearCommandBuffers() {
- command_buffers[0].buffer = 0;
- command_buffers[0].size = 0;
- command_buffers[0].reset_buffers = false;
- command_buffers[1].buffer = 0;
- command_buffers[1].size = 0;
- command_buffers[1].reset_buffers = false;
-}
-
-AudioRenderer::AudioRenderer(Core::System& system_)
- : system{system_}, sink{system.AudioCore().GetOutputSink()} {
- CreateSinkStreams();
-}
-
-AudioRenderer::~AudioRenderer() {
- Stop();
- for (auto& stream : streams) {
- if (stream) {
- sink.CloseStream(stream);
- }
- stream = nullptr;
- }
-}
-
-void AudioRenderer::Start(AudioRenderer_Mailbox* mailbox_) {
- if (running) {
- return;
- }
-
- mailbox = mailbox_;
- thread = std::jthread([this](std::stop_token stop_token) { ThreadFunc(stop_token); });
- running = true;
-}
-
-void AudioRenderer::Stop() {
- if (!running) {
- return;
- }
-
- for (auto& stream : streams) {
- stream->Stop();
- }
- thread.join();
- running = false;
-}
-
-void AudioRenderer::CreateSinkStreams() {
- u32 channels{sink.GetDeviceChannels()};
- for (u32 i = 0; i < MaxRendererSessions; i++) {
- std::string name{fmt::format("ADSP_RenderStream-{}", i)};
- streams[i] =
- sink.AcquireSinkStream(system, channels, name, ::AudioCore::Sink::StreamType::Render);
- streams[i]->SetRingSize(4);
- }
-}
-
-void AudioRenderer::ThreadFunc(std::stop_token stop_token) {
- static constexpr char name[]{"AudioRenderer"};
- MicroProfileOnThreadCreate(name);
- Common::SetCurrentThreadName(name);
- Common::SetCurrentThreadPriority(Common::ThreadPriority::High);
- if (mailbox->ADSPWaitMessage() != RenderMessage::AudioRenderer_InitializeOK) {
- LOG_ERROR(Service_Audio,
- "ADSP Audio Renderer -- Failed to receive initialize message from host!");
- return;
- }
-
- mailbox->ADSPSendMessage(RenderMessage::AudioRenderer_InitializeOK);
-
- // 0.12 seconds (2304000 / 19200000)
- constexpr u64 max_process_time{2'304'000ULL};
-
- while (!stop_token.stop_requested()) {
- auto message{mailbox->ADSPWaitMessage()};
- switch (message) {
- case RenderMessage::AudioRenderer_Shutdown:
- mailbox->ADSPSendMessage(RenderMessage::AudioRenderer_Shutdown);
- return;
-
- case RenderMessage::AudioRenderer_Render: {
- if (system.IsShuttingDown()) [[unlikely]] {
- std::this_thread::sleep_for(std::chrono::milliseconds(5));
- mailbox->ADSPSendMessage(RenderMessage::AudioRenderer_RenderResponse);
- continue;
- }
- std::array<bool, MaxRendererSessions> buffers_reset{};
- std::array<u64, MaxRendererSessions> render_times_taken{};
- const auto start_time{system.CoreTiming().GetClockTicks()};
-
- for (u32 index = 0; index < 2; index++) {
- auto& command_buffer{mailbox->GetCommandBuffer(index)};
- auto& command_list_processor{command_list_processors[index]};
-
- // Check this buffer is valid, as it may not be used.
- if (command_buffer.buffer != 0) {
- // If there are no remaining commands (from the previous list),
- // this is a new command list, initialize it.
- if (command_buffer.remaining_command_count == 0) {
- command_list_processor.Initialize(system, command_buffer.buffer,
- command_buffer.size, streams[index]);
- }
-
- if (command_buffer.reset_buffers && !buffers_reset[index]) {
- streams[index]->ClearQueue();
- buffers_reset[index] = true;
- }
-
- u64 max_time{max_process_time};
- if (index == 1 && command_buffer.applet_resource_user_id ==
- mailbox->GetCommandBuffer(0).applet_resource_user_id) {
- max_time = max_process_time - render_times_taken[0];
- if (render_times_taken[0] > max_process_time) {
- max_time = 0;
- }
- }
-
- max_time = std::min(command_buffer.time_limit, max_time);
- command_list_processor.SetProcessTimeMax(max_time);
-
- streams[index]->WaitFreeSpace(stop_token);
-
- // Process the command list
- {
- MICROPROFILE_SCOPE(Audio_Renderer);
- render_times_taken[index] =
- command_list_processor.Process(index) - start_time;
- }
-
- const auto end_time{system.CoreTiming().GetClockTicks()};
-
- command_buffer.remaining_command_count =
- command_list_processor.GetRemainingCommandCount();
- command_buffer.render_time_taken = end_time - start_time;
- }
- }
-
- mailbox->ADSPSendMessage(RenderMessage::AudioRenderer_RenderResponse);
- } break;
-
- default:
- LOG_WARNING(Service_Audio,
- "ADSP AudioRenderer received an invalid message, msg={:02X}!",
- static_cast<u32>(message));
- break;
- }
- }
-}
-
-} // namespace AudioCore::AudioRenderer::ADSP
diff --git a/src/audio_core/renderer/adsp/audio_renderer.h b/src/audio_core/renderer/adsp/audio_renderer.h
deleted file mode 100644
index 88e558183..000000000
--- a/src/audio_core/renderer/adsp/audio_renderer.h
+++ /dev/null
@@ -1,204 +0,0 @@
-// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#include <array>
-#include <memory>
-#include <thread>
-
-#include "audio_core/renderer/adsp/command_buffer.h"
-#include "audio_core/renderer/adsp/command_list_processor.h"
-#include "common/common_types.h"
-#include "common/polyfill_thread.h"
-#include "common/reader_writer_queue.h"
-#include "common/thread.h"
-
-namespace Core {
-namespace Timing {
-struct EventType;
-}
-class System;
-} // namespace Core
-
-namespace AudioCore {
-namespace Sink {
-class Sink;
-}
-
-namespace AudioRenderer::ADSP {
-
-enum class RenderMessage {
- /* 0x00 */ Invalid,
- /* 0x01 */ AudioRenderer_MapUnmap_Map,
- /* 0x02 */ AudioRenderer_MapUnmap_MapResponse,
- /* 0x03 */ AudioRenderer_MapUnmap_Unmap,
- /* 0x04 */ AudioRenderer_MapUnmap_UnmapResponse,
- /* 0x05 */ AudioRenderer_MapUnmap_InvalidateCache,
- /* 0x06 */ AudioRenderer_MapUnmap_InvalidateCacheResponse,
- /* 0x07 */ AudioRenderer_MapUnmap_Shutdown,
- /* 0x08 */ AudioRenderer_MapUnmap_ShutdownResponse,
- /* 0x16 */ AudioRenderer_InitializeOK = 0x16,
- /* 0x20 */ AudioRenderer_RenderResponse = 0x20,
- /* 0x2A */ AudioRenderer_Render = 0x2A,
- /* 0x34 */ AudioRenderer_Shutdown = 0x34,
-};
-
-/**
- * A mailbox for the AudioRenderer, allowing communication between the host and the AudioRenderer
- * running on the ADSP.
- */
-class AudioRenderer_Mailbox {
-public:
- /**
- * Send a message from the host to the AudioRenderer.
- *
- * @param message - The message to send to the AudioRenderer.
- */
- void HostSendMessage(RenderMessage message);
-
- /**
- * Host wait for a message from the AudioRenderer.
- *
- * @return The message returned from the AudioRenderer.
- */
- RenderMessage HostWaitMessage();
-
- /**
- * Send a message from the AudioRenderer to the host.
- *
- * @param message - The message to send to the host.
- */
- void ADSPSendMessage(RenderMessage message);
-
- /**
- * AudioRenderer wait for a message from the host.
- *
- * @return The message returned from the AudioRenderer.
- */
- RenderMessage ADSPWaitMessage();
-
- /**
- * Get the command buffer with the given session id (0 or 1).
- *
- * @param session_id - The session id to get (0 or 1).
- * @return The command buffer.
- */
- CommandBuffer& GetCommandBuffer(u32 session_id);
-
- /**
- * Set the command buffer with the given session id (0 or 1).
- *
- * @param session_id - The session id to get (0 or 1).
- * @param buffer - The command buffer to set.
- */
- void SetCommandBuffer(u32 session_id, const CommandBuffer& buffer);
-
- /**
- * Get the total render time taken for the last command lists sent.
- *
- * @return Total render time taken for the last command lists.
- */
- u64 GetRenderTimeTaken() const;
-
- /**
- * Get the tick the AudioRenderer was signalled.
- *
- * @return The tick the AudioRenderer was signalled.
- */
- u64 GetSignalledTick() const;
-
- /**
- * Set the tick the AudioRenderer was signalled.
- *
- * @param tick - The tick the AudioRenderer was signalled.
- */
- void SetSignalledTick(u64 tick);
-
- /**
- * Clear the remaining command count.
- *
- * @param session_id - Index for which command list to clear (0 or 1).
- */
- void ClearRemainCount(u32 session_id);
-
- /**
- * Get the remaining command count for a given command list.
- *
- * @param session_id - Index for which command list to clear (0 or 1).
- * @return The remaining command count.
- */
- u32 GetRemainCommandCount(u32 session_id) const;
-
- /**
- * Clear the command buffers (does not clear the time taken or the remaining command count).
- */
- void ClearCommandBuffers();
-
-private:
- /// Host signalling event
- Common::Event host_event{};
- /// AudioRenderer signalling event
- Common::Event adsp_event{};
- /// Host message queue
-
- Common::ReaderWriterQueue<RenderMessage> host_messages{};
- /// AudioRenderer message queue
-
- Common::ReaderWriterQueue<RenderMessage> adsp_messages{};
- /// Command buffers
-
- std::array<CommandBuffer, MaxRendererSessions> command_buffers{};
- /// Tick the AudioRnederer was signalled
- u64 signalled_tick{};
-};
-
-/**
- * The AudioRenderer application running on the ADSP.
- */
-class AudioRenderer {
-public:
- explicit AudioRenderer(Core::System& system);
- ~AudioRenderer();
-
- /**
- * Start the AudioRenderer.
- *
- * @param mailbox The mailbox to use for this session.
- */
- void Start(AudioRenderer_Mailbox* mailbox);
-
- /**
- * Stop the AudioRenderer.
- */
- void Stop();
-
-private:
- /**
- * Main AudioRenderer thread, responsible for processing the command lists.
- */
- void ThreadFunc(std::stop_token stop_token);
-
- /**
- * Creates the streams which will receive the processed samples.
- */
- void CreateSinkStreams();
-
- /// Core system
- Core::System& system;
- /// Main thread
- std::jthread thread{};
- /// The current state
- std::atomic<bool> running{};
- /// The active mailbox
- AudioRenderer_Mailbox* mailbox{};
- /// The command lists to process
- std::array<CommandListProcessor, MaxRendererSessions> command_list_processors{};
- /// The output sink the AudioRenderer will use
- Sink::Sink& sink;
- /// The streams which will receive the processed samples
- std::array<Sink::SinkStream*, MaxRendererSessions> streams;
-};
-
-} // namespace AudioRenderer::ADSP
-} // namespace AudioCore
diff --git a/src/audio_core/renderer/adsp/command_buffer.h b/src/audio_core/renderer/adsp/command_buffer.h
deleted file mode 100644
index 880b279d8..000000000
--- a/src/audio_core/renderer/adsp/command_buffer.h
+++ /dev/null
@@ -1,21 +0,0 @@
-// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#include "audio_core/common/common.h"
-#include "common/common_types.h"
-
-namespace AudioCore::AudioRenderer::ADSP {
-
-struct CommandBuffer {
- CpuAddr buffer;
- u64 size;
- u64 time_limit;
- u32 remaining_command_count;
- bool reset_buffers;
- u64 applet_resource_user_id;
- u64 render_time_taken;
-};
-
-} // namespace AudioCore::AudioRenderer::ADSP
diff --git a/src/audio_core/renderer/audio_device.cpp b/src/audio_core/renderer/audio_device.cpp
index 0d9d8f6ce..2d9bf82bb 100644
--- a/src/audio_core/renderer/audio_device.cpp
+++ b/src/audio_core/renderer/audio_device.cpp
@@ -10,7 +10,7 @@
#include "audio_core/sink/sink.h"
#include "core/core.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
constexpr std::array usb_device_names{
AudioDevice::AudioDeviceName{"AudioStereoJackOutput"},
@@ -71,4 +71,4 @@ f32 AudioDevice::GetDeviceVolume([[maybe_unused]] std::string_view name) const {
return output_sink.GetDeviceVolume();
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/audio_device.h b/src/audio_core/renderer/audio_device.h
index dd6be70ee..ca4040add 100644
--- a/src/audio_core/renderer/audio_device.h
+++ b/src/audio_core/renderer/audio_device.h
@@ -16,7 +16,7 @@ namespace Sink {
class Sink;
}
-namespace AudioRenderer {
+namespace Renderer {
/**
* An interface to an output audio device available to the Switch.
*/
@@ -76,5 +76,5 @@ private:
const u32 user_revision;
};
-} // namespace AudioRenderer
+} // namespace Renderer
} // namespace AudioCore
diff --git a/src/audio_core/renderer/audio_renderer.cpp b/src/audio_core/renderer/audio_renderer.cpp
index a8257eb2e..09efe9be9 100644
--- a/src/audio_core/renderer/audio_renderer.cpp
+++ b/src/audio_core/renderer/audio_renderer.cpp
@@ -9,7 +9,7 @@
#include "core/hle/kernel/k_transfer_memory.h"
#include "core/hle/service/audio/errors.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
Renderer::Renderer(Core::System& system_, Manager& manager_, Kernel::KEvent* rendered_event)
: core{system_}, manager{manager_}, system{system_, rendered_event} {}
@@ -64,4 +64,4 @@ Result Renderer::RequestUpdate(std::span<const u8> input, std::span<u8> performa
return system.Update(input, performance, output);
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/audio_renderer.h b/src/audio_core/renderer/audio_renderer.h
index 90c6f9727..24650278b 100644
--- a/src/audio_core/renderer/audio_renderer.h
+++ b/src/audio_core/renderer/audio_renderer.h
@@ -19,7 +19,7 @@ class KTransferMemory;
namespace AudioCore {
struct AudioRendererParameterInternal;
-namespace AudioRenderer {
+namespace Renderer {
class Manager;
/**
@@ -31,7 +31,7 @@ public:
/**
* Initialize the renderer.
- * Registers the system with the AudioRenderer::Manager, allocates workbuffers and initializes
+ * Registers the system with the Renderer::Manager, allocates workbuffers and initializes
* everything to a default state.
*
* @param params - Input parameters to initialize the system with.
@@ -93,5 +93,5 @@ private:
System system;
};
-} // namespace AudioRenderer
+} // namespace Renderer
} // namespace AudioCore
diff --git a/src/audio_core/renderer/behavior/behavior_info.cpp b/src/audio_core/renderer/behavior/behavior_info.cpp
index 3d2a91312..058539042 100644
--- a/src/audio_core/renderer/behavior/behavior_info.cpp
+++ b/src/audio_core/renderer/behavior/behavior_info.cpp
@@ -4,7 +4,7 @@
#include "audio_core/common/feature_support.h"
#include "audio_core/renderer/behavior/behavior_info.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
BehaviorInfo::BehaviorInfo() : process_revision{CurrentRevision} {}
@@ -190,4 +190,4 @@ bool BehaviorInfo::IsI3dl2ReverbChannelMappingChanged() const {
return CheckFeatureSupported(SupportTags::I3dl2ReverbChannelMappingChange, user_revision);
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/behavior/behavior_info.h b/src/audio_core/renderer/behavior/behavior_info.h
index b52340229..a4958857a 100644
--- a/src/audio_core/renderer/behavior/behavior_info.h
+++ b/src/audio_core/renderer/behavior/behavior_info.h
@@ -10,7 +10,7 @@
#include "common/common_types.h"
#include "core/hle/service/audio/errors.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Holds host and user revisions, checks whether render features can be enabled, and reports errors.
*/
@@ -264,7 +264,7 @@ public:
/**
* Check if skipping voice pitch and sample rate conversion is supported.
* This speeds up the data source commands by skipping resampling if unwanted.
- * See AudioCore::AudioRenderer::DecodeFromWaveBuffers
+ * See AudioCore::Renderer::DecodeFromWaveBuffers
*
* @return True if supported, otherwise false.
*/
@@ -273,7 +273,7 @@ public:
/**
* Check if resetting played sample count at loop points is supported.
* This resets the number of samples played in a voice state when a loop point is reached.
- * See AudioCore::AudioRenderer::DecodeFromWaveBuffers
+ * See AudioCore::Renderer::DecodeFromWaveBuffers
*
* @return True if supported, otherwise false.
*/
@@ -373,4 +373,4 @@ public:
u32 error_count{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/behavior/info_updater.cpp b/src/audio_core/renderer/behavior/info_updater.cpp
index e312eb166..667711e17 100644
--- a/src/audio_core/renderer/behavior/info_updater.cpp
+++ b/src/audio_core/renderer/behavior/info_updater.cpp
@@ -15,7 +15,7 @@
#include "audio_core/renderer/splitter/splitter_context.h"
#include "audio_core/renderer/voice/voice_context.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
InfoUpdater::InfoUpdater(std::span<const u8> input_, std::span<u8> output_,
const u32 process_handle_, BehaviorInfo& behaviour_)
@@ -536,4 +536,4 @@ Result InfoUpdater::CheckConsumedSize() {
return ResultSuccess;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/behavior/info_updater.h b/src/audio_core/renderer/behavior/info_updater.h
index c817d8d8d..fb4b7d25a 100644
--- a/src/audio_core/renderer/behavior/info_updater.h
+++ b/src/audio_core/renderer/behavior/info_updater.h
@@ -8,7 +8,7 @@
#include "common/common_types.h"
#include "core/hle/service/audio/errors.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class BehaviorInfo;
class VoiceContext;
class MixContext;
@@ -202,4 +202,4 @@ private:
BehaviorInfo& behaviour;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/command_buffer.cpp b/src/audio_core/renderer/command/command_buffer.cpp
index 0bd418306..67d43e69a 100644
--- a/src/audio_core/renderer/command/command_buffer.cpp
+++ b/src/audio_core/renderer/command/command_buffer.cpp
@@ -16,7 +16,7 @@
#include "audio_core/renderer/voice/voice_info.h"
#include "audio_core/renderer/voice/voice_state.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
template <typename T, CommandId Id>
T& CommandBuffer::GenerateStart(const s32 node_id) {
@@ -713,4 +713,4 @@ void CommandBuffer::GenerateCompressorCommand(s16 buffer_offset, EffectInfoBase&
GenerateEnd<CompressorCommand>(cmd);
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/command_buffer.h b/src/audio_core/renderer/command/command_buffer.h
index 162170846..12e8c2c81 100644
--- a/src/audio_core/renderer/command/command_buffer.h
+++ b/src/audio_core/renderer/command/command_buffer.h
@@ -10,7 +10,7 @@
#include "audio_core/renderer/performance/performance_manager.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
struct UpsamplerInfo;
struct VoiceState;
class EffectInfoBase;
@@ -465,4 +465,4 @@ private:
void GenerateEnd(T& cmd);
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/command_generator.cpp b/src/audio_core/renderer/command/command_generator.cpp
index fba84c7bd..ccb186209 100644
--- a/src/audio_core/renderer/command/command_generator.cpp
+++ b/src/audio_core/renderer/command/command_generator.cpp
@@ -21,7 +21,7 @@
#include "audio_core/renderer/voice/voice_context.h"
#include "common/alignment.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
CommandGenerator::CommandGenerator(CommandBuffer& command_buffer_,
const CommandListHeader& command_list_header_,
@@ -793,4 +793,4 @@ void CommandGenerator::GeneratePerformanceCommand(
command_buffer.GeneratePerformanceCommand(node_id, state, entry_addresses);
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/command_generator.h b/src/audio_core/renderer/command/command_generator.h
index b3cd7b408..38ee2a64e 100644
--- a/src/audio_core/renderer/command/command_generator.h
+++ b/src/audio_core/renderer/command/command_generator.h
@@ -12,7 +12,7 @@
namespace AudioCore {
struct AudioRendererSystemContext;
-namespace AudioRenderer {
+namespace Renderer {
class CommandBuffer;
struct CommandListHeader;
class VoiceContext;
@@ -345,5 +345,5 @@ private:
PerformanceManager* performance_manager;
};
-} // namespace AudioRenderer
+} // namespace Renderer
} // namespace AudioCore
diff --git a/src/audio_core/renderer/command/command_list_header.h b/src/audio_core/renderer/command/command_list_header.h
index 988530b1f..de9ee070b 100644
--- a/src/audio_core/renderer/command/command_list_header.h
+++ b/src/audio_core/renderer/command/command_list_header.h
@@ -8,7 +8,7 @@
#include "audio_core/common/common.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
struct CommandListHeader {
u64 buffer_size;
@@ -19,4 +19,4 @@ struct CommandListHeader {
u32 sample_rate;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/command_processing_time_estimator.cpp b/src/audio_core/renderer/command/command_processing_time_estimator.cpp
index 3091f587a..0f7aff1b4 100644
--- a/src/audio_core/renderer/command/command_processing_time_estimator.cpp
+++ b/src/audio_core/renderer/command/command_processing_time_estimator.cpp
@@ -3,7 +3,7 @@
#include "audio_core/renderer/command/command_processing_time_estimator.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
u32 CommandProcessingTimeEstimatorVersion1::Estimate(
const PcmInt16DataSourceVersion1Command& command) const {
@@ -27,12 +27,12 @@ u32 CommandProcessingTimeEstimatorVersion1::Estimate(
u32 CommandProcessingTimeEstimatorVersion1::Estimate(
const AdpcmDataSourceVersion1Command& command) const {
- return static_cast<u32>(command.pitch * 0.25f * 1.2f);
+ return static_cast<u32>(command.pitch * 0.46f * 1.2f);
}
u32 CommandProcessingTimeEstimatorVersion1::Estimate(
const AdpcmDataSourceVersion2Command& command) const {
- return static_cast<u32>(command.pitch * 0.25f * 1.2f);
+ return static_cast<u32>(command.pitch * 0.46f * 1.2f);
}
u32 CommandProcessingTimeEstimatorVersion1::Estimate(
@@ -3617,4 +3617,4 @@ u32 CommandProcessingTimeEstimatorVersion5::Estimate(const CompressorCommand& co
}
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/command_processing_time_estimator.h b/src/audio_core/renderer/command/command_processing_time_estimator.h
index 452217196..1c76e4ba4 100644
--- a/src/audio_core/renderer/command/command_processing_time_estimator.h
+++ b/src/audio_core/renderer/command/command_processing_time_estimator.h
@@ -6,7 +6,7 @@
#include "audio_core/renderer/command/commands.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Estimate the processing time required for all commands.
*/
@@ -251,4 +251,4 @@ private:
u32 buffer_count{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/data_source/adpcm.cpp b/src/audio_core/renderer/command/data_source/adpcm.cpp
index e66ed2990..e7f82d3b3 100644
--- a/src/audio_core/renderer/command/data_source/adpcm.cpp
+++ b/src/audio_core/renderer/command/data_source/adpcm.cpp
@@ -3,23 +3,29 @@
#include <span>
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/data_source/adpcm.h"
#include "audio_core/renderer/command/data_source/decode.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
-void AdpcmDataSourceVersion1Command::Dump(const ADSP::CommandListProcessor& processor,
+void AdpcmDataSourceVersion1Command::Dump(const AudioRenderer::CommandListProcessor& processor,
std::string& string) {
string += fmt::format("AdpcmDataSourceVersion1Command\n\toutput_index {:02X} source sample "
"rate {} target sample rate {} src quality {}\n",
output_index, sample_rate, processor.target_sample_rate, src_quality);
}
-void AdpcmDataSourceVersion1Command::Process(const ADSP::CommandListProcessor& processor) {
+void AdpcmDataSourceVersion1Command::Process(const AudioRenderer::CommandListProcessor& processor) {
auto out_buffer{processor.mix_buffers.subspan(output_index * processor.sample_count,
processor.sample_count)};
+ for (auto& wave_buffer : wave_buffers) {
+ wave_buffer.loop_start_offset = wave_buffer.start_offset;
+ wave_buffer.loop_end_offset = wave_buffer.end_offset;
+ wave_buffer.loop_count = wave_buffer.loop ? -1 : 0;
+ }
+
DecodeFromWaveBuffersArgs args{
.sample_format{SampleFormat::Adpcm},
.output{out_buffer},
@@ -41,18 +47,18 @@ void AdpcmDataSourceVersion1Command::Process(const ADSP::CommandListProcessor& p
DecodeFromWaveBuffers(*processor.memory, args);
}
-bool AdpcmDataSourceVersion1Command::Verify(const ADSP::CommandListProcessor& processor) {
+bool AdpcmDataSourceVersion1Command::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-void AdpcmDataSourceVersion2Command::Dump(const ADSP::CommandListProcessor& processor,
+void AdpcmDataSourceVersion2Command::Dump(const AudioRenderer::CommandListProcessor& processor,
std::string& string) {
string += fmt::format("AdpcmDataSourceVersion2Command\n\toutput_index {:02X} source sample "
"rate {} target sample rate {} src quality {}\n",
output_index, sample_rate, processor.target_sample_rate, src_quality);
}
-void AdpcmDataSourceVersion2Command::Process(const ADSP::CommandListProcessor& processor) {
+void AdpcmDataSourceVersion2Command::Process(const AudioRenderer::CommandListProcessor& processor) {
auto out_buffer{processor.mix_buffers.subspan(output_index * processor.sample_count,
processor.sample_count)};
@@ -77,8 +83,8 @@ void AdpcmDataSourceVersion2Command::Process(const ADSP::CommandListProcessor& p
DecodeFromWaveBuffers(*processor.memory, args);
}
-bool AdpcmDataSourceVersion2Command::Verify(const ADSP::CommandListProcessor& processor) {
+bool AdpcmDataSourceVersion2Command::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/data_source/adpcm.h b/src/audio_core/renderer/command/data_source/adpcm.h
index a9cf9cee4..487846f0c 100644
--- a/src/audio_core/renderer/command/data_source/adpcm.h
+++ b/src/audio_core/renderer/command/data_source/adpcm.h
@@ -11,11 +11,12 @@
#include "audio_core/renderer/command/icommand.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command to decode ADPCM-encoded version 1 wavebuffers
* into the output_index mix buffer.
@@ -27,14 +28,14 @@ struct AdpcmDataSourceVersion1Command : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -42,13 +43,13 @@ struct AdpcmDataSourceVersion1Command : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Quality used for sample rate conversion
SrcQuality src_quality;
/// Mix buffer index for decoded samples
s16 output_index;
- /// Flags to control decoding (see AudioCore::AudioRenderer::VoiceInfo::Flags)
+ /// Flags to control decoding (see AudioCore::Renderer::VoiceInfo::Flags)
u16 flags;
/// Wavebuffer sample rate
u32 sample_rate;
@@ -75,14 +76,14 @@ struct AdpcmDataSourceVersion2Command : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -90,13 +91,13 @@ struct AdpcmDataSourceVersion2Command : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Quality used for sample rate conversion
SrcQuality src_quality;
/// Mix buffer index for decoded samples
s16 output_index;
- /// Flags to control decoding (see AudioCore::AudioRenderer::VoiceInfo::Flags)
+ /// Flags to control decoding (see AudioCore::Renderer::VoiceInfo::Flags)
u16 flags;
/// Wavebuffer sample rate
u32 sample_rate;
@@ -116,4 +117,4 @@ struct AdpcmDataSourceVersion2Command : ICommand {
u64 data_size;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/data_source/decode.cpp b/src/audio_core/renderer/command/data_source/decode.cpp
index 257aa866e..911dae3c1 100644
--- a/src/audio_core/renderer/command/data_source/decode.cpp
+++ b/src/audio_core/renderer/command/data_source/decode.cpp
@@ -11,7 +11,7 @@
#include "common/scratch_buffer.h"
#include "core/memory.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
constexpr u32 TempBufferSize = 0x3F00;
constexpr std::array<u8, 3> PitchBySrcQuality = {4, 8, 4};
@@ -123,11 +123,13 @@ static u32 DecodeAdpcm(Core::Memory::Memory& memory, std::span<s16> out_buffer,
return 0;
}
- auto samples_to_process{
- std::min(req.end_offset - req.start_offset - req.offset, req.samples_to_read)};
+ auto start_pos{req.start_offset + req.offset};
+ auto samples_to_process{std::min(req.end_offset - start_pos, req.samples_to_read)};
+ if (samples_to_process == 0) {
+ return 0;
+ }
auto samples_to_read{samples_to_process};
- auto start_pos{req.start_offset + req.offset};
auto samples_remaining_in_frame{start_pos % SamplesPerFrame};
auto position_in_frame{(start_pos / SamplesPerFrame) * NibblesPerFrame +
samples_remaining_in_frame};
@@ -225,13 +227,24 @@ static u32 DecodeAdpcm(Core::Memory::Memory& memory, std::span<s16> out_buffer,
* @param args - The wavebuffer data, and information for how to decode it.
*/
void DecodeFromWaveBuffers(Core::Memory::Memory& memory, const DecodeFromWaveBuffersArgs& args) {
+ static constexpr auto EndWaveBuffer = [](auto& voice_state, auto& wavebuffer, auto& index,
+ auto& played_samples, auto& consumed) -> void {
+ voice_state.wave_buffer_valid[index] = false;
+ voice_state.loop_count = 0;
+
+ if (wavebuffer.stream_ended) {
+ played_samples = 0;
+ }
+
+ index = (index + 1) % MaxWaveBuffers;
+ consumed++;
+ };
auto& voice_state{*args.voice_state};
auto remaining_sample_count{args.sample_count};
auto fraction{voice_state.fraction};
- const auto sample_rate_ratio{
- (Common::FixedPoint<49, 15>(args.source_sample_rate) / args.target_sample_rate) *
- args.pitch};
+ const auto sample_rate_ratio{Common::FixedPoint<49, 15>(
+ (f32)args.source_sample_rate / (f32)args.target_sample_rate * (f32)args.pitch)};
const auto size_required{fraction + remaining_sample_count * sample_rate_ratio};
if (size_required < 0) {
@@ -298,22 +311,23 @@ void DecodeFromWaveBuffers(Core::Memory::Memory& memory, const DecodeFromWaveBuf
auto end_offset{wavebuffer.end_offset};
if (wavebuffer.loop && voice_state.loop_count > 0 &&
- wavebuffer.loop_start_offset != 0 && wavebuffer.loop_end_offset != 0 &&
wavebuffer.loop_start_offset <= wavebuffer.loop_end_offset) {
start_offset = wavebuffer.loop_start_offset;
end_offset = wavebuffer.loop_end_offset;
}
- DecodeArg decode_arg{.buffer{wavebuffer.buffer},
- .buffer_size{wavebuffer.buffer_size},
- .start_offset{start_offset},
- .end_offset{end_offset},
- .channel_count{args.channel_count},
- .coefficients{},
- .adpcm_context{nullptr},
- .target_channel{args.channel},
- .offset{offset},
- .samples_to_read{samples_to_read - samples_read}};
+ DecodeArg decode_arg{
+ .buffer{wavebuffer.buffer},
+ .buffer_size{wavebuffer.buffer_size},
+ .start_offset{start_offset},
+ .end_offset{end_offset},
+ .channel_count{args.channel_count},
+ .coefficients{},
+ .adpcm_context{nullptr},
+ .target_channel{args.channel},
+ .offset{offset},
+ .samples_to_read{samples_to_read - samples_read},
+ };
s32 samples_decoded{0};
@@ -350,42 +364,30 @@ void DecodeFromWaveBuffers(Core::Memory::Memory& memory, const DecodeFromWaveBuf
temp_buffer_pos += samples_decoded;
offset += samples_decoded;
- if (samples_decoded == 0 || offset >= end_offset - start_offset) {
- offset = 0;
- if (!wavebuffer.loop) {
- voice_state.wave_buffer_valid[wavebuffer_index] = false;
- voice_state.loop_count = 0;
-
- if (wavebuffer.stream_ended) {
- played_sample_count = 0;
- }
-
- wavebuffer_index = (wavebuffer_index + 1) % MaxWaveBuffers;
- wavebuffers_consumed++;
- } else {
- voice_state.loop_count++;
- if (wavebuffer.loop_count > 0 &&
- (voice_state.loop_count > wavebuffer.loop_count || samples_decoded == 0)) {
- voice_state.wave_buffer_valid[wavebuffer_index] = false;
- voice_state.loop_count = 0;
-
- if (wavebuffer.stream_ended) {
- played_sample_count = 0;
- }
-
- wavebuffer_index = (wavebuffer_index + 1) % MaxWaveBuffers;
- wavebuffers_consumed++;
- }
-
- if (samples_decoded == 0) {
- is_buffer_starved = true;
- break;
- }
-
- if (args.IsVoicePlayedSampleCountResetAtLoopPointSupported) {
- played_sample_count = 0;
- }
+ if (samples_decoded && offset < end_offset - start_offset) {
+ continue;
+ }
+
+ offset = 0;
+ if (wavebuffer.loop) {
+ voice_state.loop_count++;
+ if (wavebuffer.loop_count >= 0 &&
+ (voice_state.loop_count > wavebuffer.loop_count || samples_decoded == 0)) {
+ EndWaveBuffer(voice_state, wavebuffer, wavebuffer_index, played_sample_count,
+ wavebuffers_consumed);
+ }
+
+ if (samples_decoded == 0) {
+ is_buffer_starved = true;
+ break;
+ }
+
+ if (args.IsVoicePlayedSampleCountResetAtLoopPointSupported) {
+ played_sample_count = 0;
}
+ } else {
+ EndWaveBuffer(voice_state, wavebuffer, wavebuffer_index, played_sample_count,
+ wavebuffers_consumed);
}
}
@@ -423,4 +425,4 @@ void DecodeFromWaveBuffers(Core::Memory::Memory& memory, const DecodeFromWaveBuf
voice_state.fraction = fraction;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/data_source/decode.h b/src/audio_core/renderer/command/data_source/decode.h
index 4d63d6fa8..5f52f32f0 100644
--- a/src/audio_core/renderer/command/data_source/decode.h
+++ b/src/audio_core/renderer/command/data_source/decode.h
@@ -15,7 +15,7 @@ namespace Core::Memory {
class Memory;
}
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
struct DecodeFromWaveBuffersArgs {
SampleFormat sample_format;
@@ -56,4 +56,4 @@ struct DecodeArg {
*/
void DecodeFromWaveBuffers(Core::Memory::Memory& memory, const DecodeFromWaveBuffersArgs& args);
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/data_source/pcm_float.cpp b/src/audio_core/renderer/command/data_source/pcm_float.cpp
index be77fab69..d1f685656 100644
--- a/src/audio_core/renderer/command/data_source/pcm_float.cpp
+++ b/src/audio_core/renderer/command/data_source/pcm_float.cpp
@@ -1,13 +1,13 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/data_source/decode.h"
#include "audio_core/renderer/command/data_source/pcm_float.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
-void PcmFloatDataSourceVersion1Command::Dump(const ADSP::CommandListProcessor& processor,
+void PcmFloatDataSourceVersion1Command::Dump(const AudioRenderer::CommandListProcessor& processor,
std::string& string) {
string +=
fmt::format("PcmFloatDataSourceVersion1Command\n\toutput_index {:02X} channel {} "
@@ -16,10 +16,17 @@ void PcmFloatDataSourceVersion1Command::Dump(const ADSP::CommandListProcessor& p
processor.target_sample_rate, src_quality);
}
-void PcmFloatDataSourceVersion1Command::Process(const ADSP::CommandListProcessor& processor) {
+void PcmFloatDataSourceVersion1Command::Process(
+ const AudioRenderer::CommandListProcessor& processor) {
auto out_buffer = processor.mix_buffers.subspan(output_index * processor.sample_count,
processor.sample_count);
+ for (auto& wave_buffer : wave_buffers) {
+ wave_buffer.loop_start_offset = wave_buffer.start_offset;
+ wave_buffer.loop_end_offset = wave_buffer.end_offset;
+ wave_buffer.loop_count = wave_buffer.loop ? -1 : 0;
+ }
+
DecodeFromWaveBuffersArgs args{
.sample_format{SampleFormat::PcmFloat},
.output{out_buffer},
@@ -41,11 +48,12 @@ void PcmFloatDataSourceVersion1Command::Process(const ADSP::CommandListProcessor
DecodeFromWaveBuffers(*processor.memory, args);
}
-bool PcmFloatDataSourceVersion1Command::Verify(const ADSP::CommandListProcessor& processor) {
+bool PcmFloatDataSourceVersion1Command::Verify(
+ const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-void PcmFloatDataSourceVersion2Command::Dump(const ADSP::CommandListProcessor& processor,
+void PcmFloatDataSourceVersion2Command::Dump(const AudioRenderer::CommandListProcessor& processor,
std::string& string) {
string +=
fmt::format("PcmFloatDataSourceVersion2Command\n\toutput_index {:02X} channel {} "
@@ -54,7 +62,8 @@ void PcmFloatDataSourceVersion2Command::Dump(const ADSP::CommandListProcessor& p
processor.target_sample_rate, src_quality);
}
-void PcmFloatDataSourceVersion2Command::Process(const ADSP::CommandListProcessor& processor) {
+void PcmFloatDataSourceVersion2Command::Process(
+ const AudioRenderer::CommandListProcessor& processor) {
auto out_buffer = processor.mix_buffers.subspan(output_index * processor.sample_count,
processor.sample_count);
@@ -79,8 +88,9 @@ void PcmFloatDataSourceVersion2Command::Process(const ADSP::CommandListProcessor
DecodeFromWaveBuffers(*processor.memory, args);
}
-bool PcmFloatDataSourceVersion2Command::Verify(const ADSP::CommandListProcessor& processor) {
+bool PcmFloatDataSourceVersion2Command::Verify(
+ const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/data_source/pcm_float.h b/src/audio_core/renderer/command/data_source/pcm_float.h
index e4af77c20..2c9d1877e 100644
--- a/src/audio_core/renderer/command/data_source/pcm_float.h
+++ b/src/audio_core/renderer/command/data_source/pcm_float.h
@@ -9,11 +9,12 @@
#include "audio_core/renderer/command/icommand.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command to decode PCM float-encoded version 1 wavebuffers
* into the output_index mix buffer.
@@ -25,14 +26,14 @@ struct PcmFloatDataSourceVersion1Command : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -40,13 +41,13 @@ struct PcmFloatDataSourceVersion1Command : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Quality used for sample rate conversion
SrcQuality src_quality;
/// Mix buffer index for decoded samples
s16 output_index;
- /// Flags to control decoding (see AudioCore::AudioRenderer::VoiceInfo::Flags)
+ /// Flags to control decoding (see AudioCore::Renderer::VoiceInfo::Flags)
u16 flags;
/// Wavebuffer sample rate
u32 sample_rate;
@@ -73,14 +74,14 @@ struct PcmFloatDataSourceVersion2Command : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -88,13 +89,13 @@ struct PcmFloatDataSourceVersion2Command : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Quality used for sample rate conversion
SrcQuality src_quality;
/// Mix buffer index for decoded samples
s16 output_index;
- /// Flags to control decoding (see AudioCore::AudioRenderer::VoiceInfo::Flags)
+ /// Flags to control decoding (see AudioCore::Renderer::VoiceInfo::Flags)
u16 flags;
/// Wavebuffer sample rate
u32 sample_rate;
@@ -110,4 +111,4 @@ struct PcmFloatDataSourceVersion2Command : ICommand {
CpuAddr voice_state;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/data_source/pcm_int16.cpp b/src/audio_core/renderer/command/data_source/pcm_int16.cpp
index 7a27463e4..c89a5aaac 100644
--- a/src/audio_core/renderer/command/data_source/pcm_int16.cpp
+++ b/src/audio_core/renderer/command/data_source/pcm_int16.cpp
@@ -3,13 +3,13 @@
#include <span>
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/data_source/decode.h"
#include "audio_core/renderer/command/data_source/pcm_int16.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
-void PcmInt16DataSourceVersion1Command::Dump(const ADSP::CommandListProcessor& processor,
+void PcmInt16DataSourceVersion1Command::Dump(const AudioRenderer::CommandListProcessor& processor,
std::string& string) {
string +=
fmt::format("PcmInt16DataSourceVersion1Command\n\toutput_index {:02X} channel {} "
@@ -18,10 +18,17 @@ void PcmInt16DataSourceVersion1Command::Dump(const ADSP::CommandListProcessor& p
processor.target_sample_rate, src_quality);
}
-void PcmInt16DataSourceVersion1Command::Process(const ADSP::CommandListProcessor& processor) {
+void PcmInt16DataSourceVersion1Command::Process(
+ const AudioRenderer::CommandListProcessor& processor) {
auto out_buffer = processor.mix_buffers.subspan(output_index * processor.sample_count,
processor.sample_count);
+ for (auto& wave_buffer : wave_buffers) {
+ wave_buffer.loop_start_offset = wave_buffer.start_offset;
+ wave_buffer.loop_end_offset = wave_buffer.end_offset;
+ wave_buffer.loop_count = wave_buffer.loop ? -1 : 0;
+ }
+
DecodeFromWaveBuffersArgs args{
.sample_format{SampleFormat::PcmInt16},
.output{out_buffer},
@@ -43,11 +50,12 @@ void PcmInt16DataSourceVersion1Command::Process(const ADSP::CommandListProcessor
DecodeFromWaveBuffers(*processor.memory, args);
}
-bool PcmInt16DataSourceVersion1Command::Verify(const ADSP::CommandListProcessor& processor) {
+bool PcmInt16DataSourceVersion1Command::Verify(
+ const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-void PcmInt16DataSourceVersion2Command::Dump(const ADSP::CommandListProcessor& processor,
+void PcmInt16DataSourceVersion2Command::Dump(const AudioRenderer::CommandListProcessor& processor,
std::string& string) {
string +=
fmt::format("PcmInt16DataSourceVersion2Command\n\toutput_index {:02X} channel {} "
@@ -56,7 +64,8 @@ void PcmInt16DataSourceVersion2Command::Dump(const ADSP::CommandListProcessor& p
processor.target_sample_rate, src_quality);
}
-void PcmInt16DataSourceVersion2Command::Process(const ADSP::CommandListProcessor& processor) {
+void PcmInt16DataSourceVersion2Command::Process(
+ const AudioRenderer::CommandListProcessor& processor) {
auto out_buffer = processor.mix_buffers.subspan(output_index * processor.sample_count,
processor.sample_count);
DecodeFromWaveBuffersArgs args{
@@ -80,8 +89,9 @@ void PcmInt16DataSourceVersion2Command::Process(const ADSP::CommandListProcessor
DecodeFromWaveBuffers(*processor.memory, args);
}
-bool PcmInt16DataSourceVersion2Command::Verify(const ADSP::CommandListProcessor& processor) {
+bool PcmInt16DataSourceVersion2Command::Verify(
+ const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/data_source/pcm_int16.h b/src/audio_core/renderer/command/data_source/pcm_int16.h
index 5de1ad60d..2c013f003 100644
--- a/src/audio_core/renderer/command/data_source/pcm_int16.h
+++ b/src/audio_core/renderer/command/data_source/pcm_int16.h
@@ -9,11 +9,12 @@
#include "audio_core/renderer/command/icommand.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command to decode PCM s16-encoded version 1 wavebuffers
* into the output_index mix buffer.
@@ -25,14 +26,14 @@ struct PcmInt16DataSourceVersion1Command : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -40,13 +41,13 @@ struct PcmInt16DataSourceVersion1Command : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Quality used for sample rate conversion
SrcQuality src_quality;
/// Mix buffer index for decoded samples
s16 output_index;
- /// Flags to control decoding (see AudioCore::AudioRenderer::VoiceInfo::Flags)
+ /// Flags to control decoding (see AudioCore::Renderer::VoiceInfo::Flags)
u16 flags;
/// Wavebuffer sample rate
u32 sample_rate;
@@ -72,26 +73,26 @@ struct PcmInt16DataSourceVersion2Command : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Quality used for sample rate conversion
SrcQuality src_quality;
/// Mix buffer index for decoded samples
s16 output_index;
- /// Flags to control decoding (see AudioCore::AudioRenderer::VoiceInfo::Flags)
+ /// Flags to control decoding (see AudioCore::Renderer::VoiceInfo::Flags)
u16 flags;
/// Wavebuffer sample rate
u32 sample_rate;
@@ -107,4 +108,4 @@ struct PcmInt16DataSourceVersion2Command : ICommand {
CpuAddr voice_state;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/aux_.cpp b/src/audio_core/renderer/command/effect/aux_.cpp
index a3e12b3e7..74d9c229f 100644
--- a/src/audio_core/renderer/command/effect/aux_.cpp
+++ b/src/audio_core/renderer/command/effect/aux_.cpp
@@ -1,13 +1,13 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/effect/aux_.h"
#include "audio_core/renderer/effect/aux_.h"
#include "core/core.h"
#include "core/memory.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Reset an AuxBuffer.
*
@@ -175,13 +175,13 @@ static u32 ReadAuxBufferDsp(Core::Memory::Memory& memory, CpuAddr return_info_,
return read_count_;
}
-void AuxCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
+void AuxCommand::Dump([[maybe_unused]] const AudioRenderer::CommandListProcessor& processor,
std::string& string) {
string += fmt::format("AuxCommand\n\tenabled {} input {:02X} output {:02X}\n", effect_enabled,
input, output);
}
-void AuxCommand::Process(const ADSP::CommandListProcessor& processor) {
+void AuxCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
auto input_buffer{
processor.mix_buffers.subspan(input * processor.sample_count, processor.sample_count)};
auto output_buffer{
@@ -208,8 +208,8 @@ void AuxCommand::Process(const ADSP::CommandListProcessor& processor) {
}
}
-bool AuxCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool AuxCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/aux_.h b/src/audio_core/renderer/command/effect/aux_.h
index 825c93732..da1e55261 100644
--- a/src/audio_core/renderer/command/effect/aux_.h
+++ b/src/audio_core/renderer/command/effect/aux_.h
@@ -8,11 +8,12 @@
#include "audio_core/renderer/command/icommand.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command to read and write an auxiliary buffer, writing the input mix buffer to game
* memory, and reading into the output buffer from game memory.
@@ -24,14 +25,14 @@ struct AuxCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -39,7 +40,7 @@ struct AuxCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Input mix buffer index
s16 input;
@@ -63,4 +64,4 @@ struct AuxCommand : ICommand {
bool effect_enabled;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/biquad_filter.cpp b/src/audio_core/renderer/command/effect/biquad_filter.cpp
index dea6423dc..3392e7747 100644
--- a/src/audio_core/renderer/command/effect/biquad_filter.cpp
+++ b/src/audio_core/renderer/command/effect/biquad_filter.cpp
@@ -1,12 +1,12 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/effect/biquad_filter.h"
#include "audio_core/renderer/voice/voice_state.h"
#include "common/bit_cast.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Biquad filter float implementation.
*
@@ -76,14 +76,14 @@ static void ApplyBiquadFilterInt(std::span<s32> output, std::span<const s32> inp
}
}
-void BiquadFilterCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
- std::string& string) {
+void BiquadFilterCommand::Dump(
+ [[maybe_unused]] const AudioRenderer::CommandListProcessor& processor, std::string& string) {
string += fmt::format(
"BiquadFilterCommand\n\tinput {:02X} output {:02X} needs_init {} use_float_processing {}\n",
input, output, needs_init, use_float_processing);
}
-void BiquadFilterCommand::Process(const ADSP::CommandListProcessor& processor) {
+void BiquadFilterCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
auto state_{reinterpret_cast<VoiceState::BiquadFilterState*>(state)};
if (needs_init) {
*state_ = {};
@@ -103,8 +103,8 @@ void BiquadFilterCommand::Process(const ADSP::CommandListProcessor& processor) {
}
}
-bool BiquadFilterCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool BiquadFilterCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/biquad_filter.h b/src/audio_core/renderer/command/effect/biquad_filter.h
index 4c9c42d29..0e903930a 100644
--- a/src/audio_core/renderer/command/effect/biquad_filter.h
+++ b/src/audio_core/renderer/command/effect/biquad_filter.h
@@ -10,11 +10,12 @@
#include "audio_core/renderer/voice/voice_state.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for applying a biquad filter to the input mix buffer, saving the results to
* the output mix buffer.
@@ -26,14 +27,14 @@ struct BiquadFilterCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -41,7 +42,7 @@ struct BiquadFilterCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Input mix buffer index
s16 input;
@@ -71,4 +72,4 @@ void ApplyBiquadFilterFloat(std::span<s32> output, std::span<const s32> input,
std::array<s16, 3>& b, std::array<s16, 2>& a,
VoiceState::BiquadFilterState& state, const u32 sample_count);
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/capture.cpp b/src/audio_core/renderer/command/effect/capture.cpp
index 042fd286e..f235ce027 100644
--- a/src/audio_core/renderer/command/effect/capture.cpp
+++ b/src/audio_core/renderer/command/effect/capture.cpp
@@ -1,12 +1,12 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/effect/capture.h"
#include "audio_core/renderer/effect/aux_.h"
#include "core/memory.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Reset an AuxBuffer.
*
@@ -118,13 +118,13 @@ static u32 WriteAuxBufferDsp(Core::Memory::Memory& memory, const CpuAddr send_in
return write_count_;
}
-void CaptureCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
+void CaptureCommand::Dump([[maybe_unused]] const AudioRenderer::CommandListProcessor& processor,
std::string& string) {
string += fmt::format("CaptureCommand\n\tenabled {} input {:02X} output {:02X}", effect_enabled,
input, output);
}
-void CaptureCommand::Process(const ADSP::CommandListProcessor& processor) {
+void CaptureCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
if (effect_enabled) {
auto input_buffer{
processor.mix_buffers.subspan(input * processor.sample_count, processor.sample_count)};
@@ -135,8 +135,8 @@ void CaptureCommand::Process(const ADSP::CommandListProcessor& processor) {
}
}
-bool CaptureCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool CaptureCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/capture.h b/src/audio_core/renderer/command/effect/capture.h
index 8670acb24..a0016c6f6 100644
--- a/src/audio_core/renderer/command/effect/capture.h
+++ b/src/audio_core/renderer/command/effect/capture.h
@@ -8,11 +8,12 @@
#include "audio_core/renderer/command/icommand.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for capturing a mix buffer. That is, writing it back to a given game memory
* address.
@@ -24,14 +25,14 @@ struct CaptureCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -39,7 +40,7 @@ struct CaptureCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Input mix buffer index
s16 input;
@@ -59,4 +60,4 @@ struct CaptureCommand : ICommand {
bool effect_enabled;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/compressor.cpp b/src/audio_core/renderer/command/effect/compressor.cpp
index ee9b68d5b..7ff707f4e 100644
--- a/src/audio_core/renderer/command/effect/compressor.cpp
+++ b/src/audio_core/renderer/command/effect/compressor.cpp
@@ -5,11 +5,11 @@
#include <span>
#include <vector>
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/effect/compressor.h"
#include "audio_core/renderer/effect/compressor.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
static void SetCompressorEffectParameter(const CompressorInfo::ParameterVersion2& params,
CompressorInfo::State& state) {
@@ -110,7 +110,7 @@ static void ApplyCompressorEffect(const CompressorInfo::ParameterVersion2& param
}
}
-void CompressorCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
+void CompressorCommand::Dump([[maybe_unused]] const AudioRenderer::CommandListProcessor& processor,
std::string& string) {
string += fmt::format("CompressorCommand\n\tenabled {} \n\tinputs: ", effect_enabled);
for (s16 i = 0; i < parameter.channel_count; i++) {
@@ -123,7 +123,7 @@ void CompressorCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor&
string += "\n";
}
-void CompressorCommand::Process(const ADSP::CommandListProcessor& processor) {
+void CompressorCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
std::array<std::span<const s32>, MaxChannels> input_buffers{};
std::array<std::span<s32>, MaxChannels> output_buffers{};
@@ -148,8 +148,8 @@ void CompressorCommand::Process(const ADSP::CommandListProcessor& processor) {
processor.sample_count);
}
-bool CompressorCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool CompressorCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/compressor.h b/src/audio_core/renderer/command/effect/compressor.h
index f8e96cb43..c011aa927 100644
--- a/src/audio_core/renderer/command/effect/compressor.h
+++ b/src/audio_core/renderer/command/effect/compressor.h
@@ -10,11 +10,12 @@
#include "audio_core/renderer/effect/compressor.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for limiting volume between a high and low threshold.
* Version 1.
@@ -26,14 +27,14 @@ struct CompressorCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -41,7 +42,7 @@ struct CompressorCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Input mix buffer offsets for each channel
std::array<s16, MaxChannels> inputs;
@@ -57,4 +58,4 @@ struct CompressorCommand : ICommand {
bool effect_enabled;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/delay.cpp b/src/audio_core/renderer/command/effect/delay.cpp
index e536cbb1e..ffb298c07 100644
--- a/src/audio_core/renderer/command/effect/delay.cpp
+++ b/src/audio_core/renderer/command/effect/delay.cpp
@@ -1,10 +1,10 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/effect/delay.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Update the DelayInfo state according to the given parameters.
*
@@ -194,7 +194,7 @@ static void ApplyDelayEffect(const DelayInfo::ParameterVersion1& params, DelayIn
}
}
-void DelayCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
+void DelayCommand::Dump([[maybe_unused]] const AudioRenderer::CommandListProcessor& processor,
std::string& string) {
string += fmt::format("DelayCommand\n\tenabled {} \n\tinputs: ", effect_enabled);
for (u32 i = 0; i < MaxChannels; i++) {
@@ -207,7 +207,7 @@ void DelayCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& proce
string += "\n";
}
-void DelayCommand::Process(const ADSP::CommandListProcessor& processor) {
+void DelayCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
std::array<std::span<const s32>, MaxChannels> input_buffers{};
std::array<std::span<s32>, MaxChannels> output_buffers{};
@@ -231,8 +231,8 @@ void DelayCommand::Process(const ADSP::CommandListProcessor& processor) {
processor.sample_count);
}
-bool DelayCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool DelayCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/delay.h b/src/audio_core/renderer/command/effect/delay.h
index b7a15ae6b..bfeac7af4 100644
--- a/src/audio_core/renderer/command/effect/delay.h
+++ b/src/audio_core/renderer/command/effect/delay.h
@@ -10,11 +10,12 @@
#include "audio_core/renderer/effect/delay.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for a delay effect. Delays inputs mix buffers according to the parameters
* and state, outputs receives the delayed samples.
@@ -26,14 +27,14 @@ struct DelayCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -41,7 +42,7 @@ struct DelayCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Input mix buffer offsets for each channel
std::array<s16, MaxChannels> inputs;
@@ -57,4 +58,4 @@ struct DelayCommand : ICommand {
bool effect_enabled;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/i3dl2_reverb.cpp b/src/audio_core/renderer/command/effect/i3dl2_reverb.cpp
index d2bfb67cc..ecfdfabc6 100644
--- a/src/audio_core/renderer/command/effect/i3dl2_reverb.cpp
+++ b/src/audio_core/renderer/command/effect/i3dl2_reverb.cpp
@@ -3,11 +3,11 @@
#include <numbers>
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/effect/i3dl2_reverb.h"
#include "common/polyfill_ranges.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
constexpr std::array<f32, I3dl2ReverbInfo::MaxDelayLines> MinDelayLineTimes{
5.0f,
@@ -394,7 +394,7 @@ static void ApplyI3dl2ReverbEffect(const I3dl2ReverbInfo::ParameterVersion1& par
}
}
-void I3dl2ReverbCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
+void I3dl2ReverbCommand::Dump([[maybe_unused]] const AudioRenderer::CommandListProcessor& processor,
std::string& string) {
string += fmt::format("I3dl2ReverbCommand\n\tenabled {} \n\tinputs: ", effect_enabled);
for (u32 i = 0; i < parameter.channel_count; i++) {
@@ -407,7 +407,7 @@ void I3dl2ReverbCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor&
string += "\n";
}
-void I3dl2ReverbCommand::Process(const ADSP::CommandListProcessor& processor) {
+void I3dl2ReverbCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
std::array<std::span<const s32>, MaxChannels> input_buffers{};
std::array<std::span<s32>, MaxChannels> output_buffers{};
@@ -431,8 +431,8 @@ void I3dl2ReverbCommand::Process(const ADSP::CommandListProcessor& processor) {
processor.sample_count);
}
-bool I3dl2ReverbCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool I3dl2ReverbCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/i3dl2_reverb.h b/src/audio_core/renderer/command/effect/i3dl2_reverb.h
index 243877056..e4c538ae8 100644
--- a/src/audio_core/renderer/command/effect/i3dl2_reverb.h
+++ b/src/audio_core/renderer/command/effect/i3dl2_reverb.h
@@ -10,11 +10,12 @@
#include "audio_core/renderer/effect/i3dl2.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for a I3DL2Reverb effect. Apply a reverb to inputs mix buffer according to
* the I3DL2 spec, outputs receives the results.
@@ -26,14 +27,14 @@ struct I3dl2ReverbCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -41,7 +42,7 @@ struct I3dl2ReverbCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Input mix buffer offsets for each channel
std::array<s16, MaxChannels> inputs;
@@ -57,4 +58,4 @@ struct I3dl2ReverbCommand : ICommand {
bool effect_enabled;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/light_limiter.cpp b/src/audio_core/renderer/command/effect/light_limiter.cpp
index 4161a9821..63aa06f5c 100644
--- a/src/audio_core/renderer/command/effect/light_limiter.cpp
+++ b/src/audio_core/renderer/command/effect/light_limiter.cpp
@@ -1,10 +1,10 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/effect/light_limiter.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Update the LightLimiterInfo state according to the given parameters.
* A no-op.
@@ -133,8 +133,8 @@ static void ApplyLightLimiterEffect(const LightLimiterInfo::ParameterVersion2& p
}
}
-void LightLimiterVersion1Command::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
- std::string& string) {
+void LightLimiterVersion1Command::Dump(
+ [[maybe_unused]] const AudioRenderer::CommandListProcessor& processor, std::string& string) {
string += fmt::format("LightLimiterVersion1Command\n\tinputs: ");
for (u32 i = 0; i < MaxChannels; i++) {
string += fmt::format("{:02X}, ", inputs[i]);
@@ -146,7 +146,7 @@ void LightLimiterVersion1Command::Dump([[maybe_unused]] const ADSP::CommandListP
string += "\n";
}
-void LightLimiterVersion1Command::Process(const ADSP::CommandListProcessor& processor) {
+void LightLimiterVersion1Command::Process(const AudioRenderer::CommandListProcessor& processor) {
std::array<std::span<const s32>, MaxChannels> input_buffers{};
std::array<std::span<s32>, MaxChannels> output_buffers{};
@@ -172,12 +172,12 @@ void LightLimiterVersion1Command::Process(const ADSP::CommandListProcessor& proc
processor.sample_count, statistics);
}
-bool LightLimiterVersion1Command::Verify(const ADSP::CommandListProcessor& processor) {
+bool LightLimiterVersion1Command::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-void LightLimiterVersion2Command::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
- std::string& string) {
+void LightLimiterVersion2Command::Dump(
+ [[maybe_unused]] const AudioRenderer::CommandListProcessor& processor, std::string& string) {
string += fmt::format("LightLimiterVersion2Command\n\tinputs: \n");
for (u32 i = 0; i < MaxChannels; i++) {
string += fmt::format("{:02X}, ", inputs[i]);
@@ -189,7 +189,7 @@ void LightLimiterVersion2Command::Dump([[maybe_unused]] const ADSP::CommandListP
string += "\n";
}
-void LightLimiterVersion2Command::Process(const ADSP::CommandListProcessor& processor) {
+void LightLimiterVersion2Command::Process(const AudioRenderer::CommandListProcessor& processor) {
std::array<std::span<const s32>, MaxChannels> input_buffers{};
std::array<std::span<s32>, MaxChannels> output_buffers{};
@@ -215,8 +215,8 @@ void LightLimiterVersion2Command::Process(const ADSP::CommandListProcessor& proc
processor.sample_count, statistics);
}
-bool LightLimiterVersion2Command::Verify(const ADSP::CommandListProcessor& processor) {
+bool LightLimiterVersion2Command::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/light_limiter.h b/src/audio_core/renderer/command/effect/light_limiter.h
index 5d98272c7..6e3ee1b53 100644
--- a/src/audio_core/renderer/command/effect/light_limiter.h
+++ b/src/audio_core/renderer/command/effect/light_limiter.h
@@ -10,11 +10,12 @@
#include "audio_core/renderer/effect/light_limiter.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for limiting volume between a high and low threshold.
* Version 1.
@@ -26,14 +27,14 @@ struct LightLimiterVersion1Command : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -41,7 +42,7 @@ struct LightLimiterVersion1Command : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Input mix buffer offsets for each channel
std::array<s16, MaxChannels> inputs;
@@ -68,21 +69,21 @@ struct LightLimiterVersion2Command : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
*
* @param processor - The CommandListProcessor processing this command.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Input mix buffer offsets for each channel
std::array<s16, MaxChannels> inputs;
@@ -100,4 +101,4 @@ struct LightLimiterVersion2Command : ICommand {
bool effect_enabled;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/multi_tap_biquad_filter.cpp b/src/audio_core/renderer/command/effect/multi_tap_biquad_filter.cpp
index 48a7cba8a..208bbeaf2 100644
--- a/src/audio_core/renderer/command/effect/multi_tap_biquad_filter.cpp
+++ b/src/audio_core/renderer/command/effect/multi_tap_biquad_filter.cpp
@@ -1,20 +1,20 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/effect/biquad_filter.h"
#include "audio_core/renderer/command/effect/multi_tap_biquad_filter.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
-void MultiTapBiquadFilterCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
- std::string& string) {
+void MultiTapBiquadFilterCommand::Dump(
+ [[maybe_unused]] const AudioRenderer::CommandListProcessor& processor, std::string& string) {
string += fmt::format(
"MultiTapBiquadFilterCommand\n\tinput {:02X}\n\toutput {:02X}\n\tneeds_init ({}, {})\n",
input, output, needs_init[0], needs_init[1]);
}
-void MultiTapBiquadFilterCommand::Process(const ADSP::CommandListProcessor& processor) {
+void MultiTapBiquadFilterCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
if (filter_tap_count > MaxBiquadFilters) {
LOG_ERROR(Service_Audio, "Too many filter taps! {}", filter_tap_count);
filter_tap_count = MaxBiquadFilters;
@@ -38,8 +38,8 @@ void MultiTapBiquadFilterCommand::Process(const ADSP::CommandListProcessor& proc
}
}
-bool MultiTapBiquadFilterCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool MultiTapBiquadFilterCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/multi_tap_biquad_filter.h b/src/audio_core/renderer/command/effect/multi_tap_biquad_filter.h
index 99c2c0830..50fce80b0 100644
--- a/src/audio_core/renderer/command/effect/multi_tap_biquad_filter.h
+++ b/src/audio_core/renderer/command/effect/multi_tap_biquad_filter.h
@@ -10,11 +10,12 @@
#include "audio_core/renderer/voice/voice_info.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for applying multiple biquads at once.
*/
@@ -25,14 +26,14 @@ struct MultiTapBiquadFilterCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -40,7 +41,7 @@ struct MultiTapBiquadFilterCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Input mix buffer index
s16 input;
@@ -56,4 +57,4 @@ struct MultiTapBiquadFilterCommand : ICommand {
u8 filter_tap_count;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/reverb.cpp b/src/audio_core/renderer/command/effect/reverb.cpp
index fc2f15a5e..7f152a962 100644
--- a/src/audio_core/renderer/command/effect/reverb.cpp
+++ b/src/audio_core/renderer/command/effect/reverb.cpp
@@ -4,11 +4,11 @@
#include <numbers>
#include <ranges>
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/effect/reverb.h"
#include "common/polyfill_ranges.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
constexpr std::array<f32, ReverbInfo::MaxDelayLines> FdnMaxDelayLineTimes = {
53.9532470703125f,
@@ -396,7 +396,7 @@ static void ApplyReverbEffect(const ReverbInfo::ParameterVersion2& params, Rever
}
}
-void ReverbCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
+void ReverbCommand::Dump([[maybe_unused]] const AudioRenderer::CommandListProcessor& processor,
std::string& string) {
string += fmt::format(
"ReverbCommand\n\tenabled {} long_size_pre_delay_supported {}\n\tinputs: ", effect_enabled,
@@ -411,7 +411,7 @@ void ReverbCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& proc
string += "\n";
}
-void ReverbCommand::Process(const ADSP::CommandListProcessor& processor) {
+void ReverbCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
std::array<std::span<const s32>, MaxChannels> input_buffers{};
std::array<std::span<s32>, MaxChannels> output_buffers{};
@@ -435,8 +435,8 @@ void ReverbCommand::Process(const ADSP::CommandListProcessor& processor) {
processor.sample_count);
}
-bool ReverbCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool ReverbCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/effect/reverb.h b/src/audio_core/renderer/command/effect/reverb.h
index 328756150..2056c73f2 100644
--- a/src/audio_core/renderer/command/effect/reverb.h
+++ b/src/audio_core/renderer/command/effect/reverb.h
@@ -10,11 +10,12 @@
#include "audio_core/renderer/effect/reverb.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for a Reverb effect. Apply a reverb to inputs mix buffer, outputs receives
* the results.
@@ -26,14 +27,14 @@ struct ReverbCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -41,7 +42,7 @@ struct ReverbCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Input mix buffer offsets for each channel
std::array<s16, MaxChannels> inputs;
@@ -59,4 +60,4 @@ struct ReverbCommand : ICommand {
bool long_size_pre_delay_supported;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/icommand.h b/src/audio_core/renderer/command/icommand.h
index f2dd41254..10a78ddf2 100644
--- a/src/audio_core/renderer/command/icommand.h
+++ b/src/audio_core/renderer/command/icommand.h
@@ -3,14 +3,18 @@
#pragma once
+#include <string>
+
#include "audio_core/common/common.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+using namespace ::AudioCore::ADSP;
+
enum class CommandId : u8 {
/* 0x00 */ Invalid,
/* 0x01 */ DataSourcePcmInt16Version1,
@@ -59,14 +63,15 @@ struct ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- virtual void Dump(const ADSP::CommandListProcessor& processor, std::string& string) = 0;
+ virtual void Dump(const AudioRenderer::CommandListProcessor& processor,
+ std::string& string) = 0;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- virtual void Process(const ADSP::CommandListProcessor& processor) = 0;
+ virtual void Process(const AudioRenderer::CommandListProcessor& processor) = 0;
/**
* Verify this command's data is valid.
@@ -74,7 +79,7 @@ struct ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- virtual bool Verify(const ADSP::CommandListProcessor& processor) = 0;
+ virtual bool Verify(const AudioRenderer::CommandListProcessor& processor) = 0;
/// Command magic 0xCAFEBABE
u32 magic{};
@@ -90,4 +95,4 @@ struct ICommand {
u32 node_id{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/clear_mix.cpp b/src/audio_core/renderer/command/mix/clear_mix.cpp
index 4f649d6a8..060d7cb28 100644
--- a/src/audio_core/renderer/command/mix/clear_mix.cpp
+++ b/src/audio_core/renderer/command/mix/clear_mix.cpp
@@ -3,22 +3,22 @@
#include <string>
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/mix/clear_mix.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
-void ClearMixBufferCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
- std::string& string) {
+void ClearMixBufferCommand::Dump(
+ [[maybe_unused]] const AudioRenderer::CommandListProcessor& processor, std::string& string) {
string += fmt::format("ClearMixBufferCommand\n");
}
-void ClearMixBufferCommand::Process(const ADSP::CommandListProcessor& processor) {
+void ClearMixBufferCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
memset(processor.mix_buffers.data(), 0, processor.mix_buffers.size_bytes());
}
-bool ClearMixBufferCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool ClearMixBufferCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/clear_mix.h b/src/audio_core/renderer/command/mix/clear_mix.h
index 956ec0b65..650fa1a8a 100644
--- a/src/audio_core/renderer/command/mix/clear_mix.h
+++ b/src/audio_core/renderer/command/mix/clear_mix.h
@@ -8,11 +8,12 @@
#include "audio_core/renderer/command/icommand.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for a clearing the mix buffers.
* Used at the start of each command list.
@@ -24,14 +25,14 @@ struct ClearMixBufferCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -39,7 +40,7 @@ struct ClearMixBufferCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/copy_mix.cpp b/src/audio_core/renderer/command/mix/copy_mix.cpp
index 1d49f1644..5d386f95a 100644
--- a/src/audio_core/renderer/command/mix/copy_mix.cpp
+++ b/src/audio_core/renderer/command/mix/copy_mix.cpp
@@ -1,18 +1,18 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/mix/copy_mix.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
-void CopyMixBufferCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
- std::string& string) {
+void CopyMixBufferCommand::Dump(
+ [[maybe_unused]] const AudioRenderer::CommandListProcessor& processor, std::string& string) {
string += fmt::format("CopyMixBufferCommand\n\tinput {:02X} output {:02X}\n", input_index,
output_index);
}
-void CopyMixBufferCommand::Process(const ADSP::CommandListProcessor& processor) {
+void CopyMixBufferCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
auto output{processor.mix_buffers.subspan(output_index * processor.sample_count,
processor.sample_count)};
auto input{processor.mix_buffers.subspan(input_index * processor.sample_count,
@@ -20,8 +20,8 @@ void CopyMixBufferCommand::Process(const ADSP::CommandListProcessor& processor)
std::memcpy(output.data(), input.data(), processor.sample_count * sizeof(s32));
}
-bool CopyMixBufferCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool CopyMixBufferCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/copy_mix.h b/src/audio_core/renderer/command/mix/copy_mix.h
index a59007fb6..ae247c3f8 100644
--- a/src/audio_core/renderer/command/mix/copy_mix.h
+++ b/src/audio_core/renderer/command/mix/copy_mix.h
@@ -8,11 +8,12 @@
#include "audio_core/renderer/command/icommand.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for a copying a mix buffer from input to output.
*/
@@ -23,14 +24,14 @@ struct CopyMixBufferCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -38,7 +39,7 @@ struct CopyMixBufferCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Input mix buffer index
s16 input_index;
@@ -46,4 +47,4 @@ struct CopyMixBufferCommand : ICommand {
s16 output_index;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/depop_for_mix_buffers.cpp b/src/audio_core/renderer/command/mix/depop_for_mix_buffers.cpp
index c2bc10061..caedb56b7 100644
--- a/src/audio_core/renderer/command/mix/depop_for_mix_buffers.cpp
+++ b/src/audio_core/renderer/command/mix/depop_for_mix_buffers.cpp
@@ -1,11 +1,11 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/common/common.h"
-#include "audio_core/renderer/adsp/command_list_processor.h"
#include "audio_core/renderer/command/mix/depop_for_mix_buffers.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Apply depopping. Add the depopped sample to each incoming new sample, decaying it each time
* according to decay.
@@ -36,13 +36,13 @@ static s32 ApplyDepopMix(std::span<s32> output, const s32 depop_sample,
}
}
-void DepopForMixBuffersCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
- std::string& string) {
+void DepopForMixBuffersCommand::Dump(
+ [[maybe_unused]] const AudioRenderer::CommandListProcessor& processor, std::string& string) {
string += fmt::format("DepopForMixBuffersCommand\n\tinput {:02X} count {} decay {}\n", input,
count, decay.to_float());
}
-void DepopForMixBuffersCommand::Process(const ADSP::CommandListProcessor& processor) {
+void DepopForMixBuffersCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
auto end_index{std::min(processor.buffer_count, input + count)};
std::span<s32> depop_buff{reinterpret_cast<s32*>(depop_buffer), end_index};
@@ -57,8 +57,8 @@ void DepopForMixBuffersCommand::Process(const ADSP::CommandListProcessor& proces
}
}
-bool DepopForMixBuffersCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool DepopForMixBuffersCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/depop_for_mix_buffers.h b/src/audio_core/renderer/command/mix/depop_for_mix_buffers.h
index e7268ff27..699d38988 100644
--- a/src/audio_core/renderer/command/mix/depop_for_mix_buffers.h
+++ b/src/audio_core/renderer/command/mix/depop_for_mix_buffers.h
@@ -9,11 +9,12 @@
#include "common/common_types.h"
#include "common/fixed_point.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for depopping a mix buffer.
* Adds a cumulation of previous samples to the current mix buffer with a decay.
@@ -25,14 +26,14 @@ struct DepopForMixBuffersCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -40,7 +41,7 @@ struct DepopForMixBuffersCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Starting input mix buffer index
u32 input;
@@ -52,4 +53,4 @@ struct DepopForMixBuffersCommand : ICommand {
CpuAddr depop_buffer;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/depop_prepare.cpp b/src/audio_core/renderer/command/mix/depop_prepare.cpp
index 69bb78ccc..2faf4681a 100644
--- a/src/audio_core/renderer/command/mix/depop_prepare.cpp
+++ b/src/audio_core/renderer/command/mix/depop_prepare.cpp
@@ -1,15 +1,15 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/mix/depop_prepare.h"
#include "audio_core/renderer/voice/voice_state.h"
#include "common/fixed_point.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
-void DepopPrepareCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
- std::string& string) {
+void DepopPrepareCommand::Dump(
+ [[maybe_unused]] const AudioRenderer::CommandListProcessor& processor, std::string& string) {
string += fmt::format("DepopPrepareCommand\n\tinputs: ");
for (u32 i = 0; i < buffer_count; i++) {
string += fmt::format("{:02X}, ", inputs[i]);
@@ -17,7 +17,7 @@ void DepopPrepareCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor
string += "\n";
}
-void DepopPrepareCommand::Process(const ADSP::CommandListProcessor& processor) {
+void DepopPrepareCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
auto samples{reinterpret_cast<s32*>(previous_samples)};
auto buffer{reinterpret_cast<s32*>(depop_buffer)};
@@ -29,8 +29,8 @@ void DepopPrepareCommand::Process(const ADSP::CommandListProcessor& processor) {
}
}
-bool DepopPrepareCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool DepopPrepareCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/depop_prepare.h b/src/audio_core/renderer/command/mix/depop_prepare.h
index a5465da9a..a0cc228f7 100644
--- a/src/audio_core/renderer/command/mix/depop_prepare.h
+++ b/src/audio_core/renderer/command/mix/depop_prepare.h
@@ -8,14 +8,15 @@
#include "audio_core/renderer/command/icommand.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for preparing depop.
- * Adds the previusly output last samples to the depop buffer.
+ * Adds the previously output last samples to the depop buffer.
*/
struct DepopPrepareCommand : ICommand {
/**
@@ -24,14 +25,14 @@ struct DepopPrepareCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -39,7 +40,7 @@ struct DepopPrepareCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Depop buffer offset for each mix buffer
std::array<s16, MaxMixBuffers> inputs;
@@ -51,4 +52,4 @@ struct DepopPrepareCommand : ICommand {
CpuAddr depop_buffer;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/mix.cpp b/src/audio_core/renderer/command/mix/mix.cpp
index 8ecf9b05a..8bd689b88 100644
--- a/src/audio_core/renderer/command/mix/mix.cpp
+++ b/src/audio_core/renderer/command/mix/mix.cpp
@@ -5,11 +5,11 @@
#include <limits>
#include <span>
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/mix/mix.h"
#include "common/fixed_point.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Mix input mix buffer into output mix buffer, with volume applied to the input.
*
@@ -28,7 +28,7 @@ static void ApplyMix(std::span<s32> output, std::span<const s32> input, const f3
}
}
-void MixCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
+void MixCommand::Dump([[maybe_unused]] const AudioRenderer::CommandListProcessor& processor,
std::string& string) {
string += fmt::format("MixCommand");
string += fmt::format("\n\tinput {:02X}", input_index);
@@ -37,7 +37,7 @@ void MixCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& process
string += "\n";
}
-void MixCommand::Process(const ADSP::CommandListProcessor& processor) {
+void MixCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
auto output{processor.mix_buffers.subspan(output_index * processor.sample_count,
processor.sample_count)};
auto input{processor.mix_buffers.subspan(input_index * processor.sample_count,
@@ -63,8 +63,8 @@ void MixCommand::Process(const ADSP::CommandListProcessor& processor) {
}
}
-bool MixCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool MixCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/mix.h b/src/audio_core/renderer/command/mix/mix.h
index 0201cf171..64c812382 100644
--- a/src/audio_core/renderer/command/mix/mix.h
+++ b/src/audio_core/renderer/command/mix/mix.h
@@ -8,11 +8,12 @@
#include "audio_core/renderer/command/icommand.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for mixing an input mix buffer to an output mix buffer, with a volume
* applied to the input.
@@ -24,14 +25,14 @@ struct MixCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -39,7 +40,7 @@ struct MixCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Fixed point precision
u8 precision;
@@ -51,4 +52,4 @@ struct MixCommand : ICommand {
f32 volume;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/mix_ramp.cpp b/src/audio_core/renderer/command/mix/mix_ramp.cpp
index d67123cd8..2f6500da5 100644
--- a/src/audio_core/renderer/command/mix/mix_ramp.cpp
+++ b/src/audio_core/renderer/command/mix/mix_ramp.cpp
@@ -1,12 +1,12 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/mix/mix_ramp.h"
#include "common/fixed_point.h"
#include "common/logging/log.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
template <size_t Q>
s32 ApplyMixRamp(std::span<s32> output, std::span<const s32> input, const f32 volume_,
@@ -33,7 +33,8 @@ s32 ApplyMixRamp(std::span<s32> output, std::span<const s32> input, const f32 vo
template s32 ApplyMixRamp<15>(std::span<s32>, std::span<const s32>, f32, f32, u32);
template s32 ApplyMixRamp<23>(std::span<s32>, std::span<const s32>, f32, f32, u32);
-void MixRampCommand::Dump(const ADSP::CommandListProcessor& processor, std::string& string) {
+void MixRampCommand::Dump(const AudioRenderer::CommandListProcessor& processor,
+ std::string& string) {
const auto ramp{(volume - prev_volume) / static_cast<f32>(processor.sample_count)};
string += fmt::format("MixRampCommand");
string += fmt::format("\n\tinput {:02X}", input_index);
@@ -44,7 +45,7 @@ void MixRampCommand::Dump(const ADSP::CommandListProcessor& processor, std::stri
string += "\n";
}
-void MixRampCommand::Process(const ADSP::CommandListProcessor& processor) {
+void MixRampCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
auto output{processor.mix_buffers.subspan(output_index * processor.sample_count,
processor.sample_count)};
auto input{processor.mix_buffers.subspan(input_index * processor.sample_count,
@@ -75,8 +76,8 @@ void MixRampCommand::Process(const ADSP::CommandListProcessor& processor) {
}
}
-bool MixRampCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool MixRampCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/mix_ramp.h b/src/audio_core/renderer/command/mix/mix_ramp.h
index 52f74a273..92209b53a 100644
--- a/src/audio_core/renderer/command/mix/mix_ramp.h
+++ b/src/audio_core/renderer/command/mix/mix_ramp.h
@@ -9,11 +9,12 @@
#include "audio_core/renderer/command/icommand.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for mixing an input mix buffer to an output mix buffer, with a volume
* applied to the input, and volume ramping to smooth out the transition.
@@ -25,14 +26,14 @@ struct MixRampCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -40,7 +41,7 @@ struct MixRampCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Fixed point precision
u8 precision;
@@ -70,4 +71,4 @@ template <size_t Q>
s32 ApplyMixRamp(std::span<s32> output, std::span<const s32> input, f32 volume_, f32 ramp_,
u32 sample_count);
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/mix_ramp_grouped.cpp b/src/audio_core/renderer/command/mix/mix_ramp_grouped.cpp
index 43dbef9fc..64138a9bf 100644
--- a/src/audio_core/renderer/command/mix/mix_ramp_grouped.cpp
+++ b/src/audio_core/renderer/command/mix/mix_ramp_grouped.cpp
@@ -1,13 +1,14 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/mix/mix_ramp.h"
#include "audio_core/renderer/command/mix/mix_ramp_grouped.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
-void MixRampGroupedCommand::Dump(const ADSP::CommandListProcessor& processor, std::string& string) {
+void MixRampGroupedCommand::Dump(const AudioRenderer::CommandListProcessor& processor,
+ std::string& string) {
string += "MixRampGroupedCommand";
for (u32 i = 0; i < buffer_count; i++) {
string += fmt::format("\n\t{}", i);
@@ -21,7 +22,7 @@ void MixRampGroupedCommand::Dump(const ADSP::CommandListProcessor& processor, st
}
}
-void MixRampGroupedCommand::Process(const ADSP::CommandListProcessor& processor) {
+void MixRampGroupedCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
std::span<s32> prev_samples = {reinterpret_cast<s32*>(previous_samples), MaxMixBuffers};
for (u32 i = 0; i < buffer_count; i++) {
@@ -58,8 +59,8 @@ void MixRampGroupedCommand::Process(const ADSP::CommandListProcessor& processor)
}
}
-bool MixRampGroupedCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool MixRampGroupedCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/mix_ramp_grouped.h b/src/audio_core/renderer/command/mix/mix_ramp_grouped.h
index 3b0ce67ef..9621e42a3 100644
--- a/src/audio_core/renderer/command/mix/mix_ramp_grouped.h
+++ b/src/audio_core/renderer/command/mix/mix_ramp_grouped.h
@@ -9,11 +9,12 @@
#include "audio_core/renderer/command/icommand.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for mixing multiple input mix buffers to multiple output mix buffers, with
* a volume applied to the input, and volume ramping to smooth out the transition.
@@ -25,14 +26,14 @@ struct MixRampGroupedCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -40,7 +41,7 @@ struct MixRampGroupedCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Fixed point precision
u8 precision;
@@ -58,4 +59,4 @@ struct MixRampGroupedCommand : ICommand {
CpuAddr previous_samples;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/volume.cpp b/src/audio_core/renderer/command/mix/volume.cpp
index b045fb062..92baf6cc3 100644
--- a/src/audio_core/renderer/command/mix/volume.cpp
+++ b/src/audio_core/renderer/command/mix/volume.cpp
@@ -1,12 +1,12 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/mix/volume.h"
#include "common/fixed_point.h"
#include "common/logging/log.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Apply volume to the input mix buffer, saving to the output buffer.
*
@@ -29,7 +29,7 @@ static void ApplyUniformGain(std::span<s32> output, std::span<const s32> input,
}
}
-void VolumeCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
+void VolumeCommand::Dump([[maybe_unused]] const AudioRenderer::CommandListProcessor& processor,
std::string& string) {
string += fmt::format("VolumeCommand");
string += fmt::format("\n\tinput {:02X}", input_index);
@@ -38,7 +38,7 @@ void VolumeCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& proc
string += "\n";
}
-void VolumeCommand::Process(const ADSP::CommandListProcessor& processor) {
+void VolumeCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
// If input and output buffers are the same, and the volume is 1.0f, this won't do
// anything, so just skip.
if (input_index == output_index && volume == 1.0f) {
@@ -65,8 +65,8 @@ void VolumeCommand::Process(const ADSP::CommandListProcessor& processor) {
}
}
-bool VolumeCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool VolumeCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/volume.h b/src/audio_core/renderer/command/mix/volume.h
index 6ae9fb794..fbb8156ca 100644
--- a/src/audio_core/renderer/command/mix/volume.h
+++ b/src/audio_core/renderer/command/mix/volume.h
@@ -8,11 +8,12 @@
#include "audio_core/renderer/command/icommand.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for applying volume to a mix buffer.
*/
@@ -23,14 +24,14 @@ struct VolumeCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -38,7 +39,7 @@ struct VolumeCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Fixed point precision
u8 precision;
@@ -50,4 +51,4 @@ struct VolumeCommand : ICommand {
f32 volume;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/volume_ramp.cpp b/src/audio_core/renderer/command/mix/volume_ramp.cpp
index 424307148..fdc751957 100644
--- a/src/audio_core/renderer/command/mix/volume_ramp.cpp
+++ b/src/audio_core/renderer/command/mix/volume_ramp.cpp
@@ -1,11 +1,11 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/mix/volume_ramp.h"
#include "common/fixed_point.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Apply volume with ramping to the input mix buffer, saving to the output buffer.
*
@@ -38,7 +38,8 @@ static void ApplyLinearEnvelopeGain(std::span<s32> output, std::span<const s32>
}
}
-void VolumeRampCommand::Dump(const ADSP::CommandListProcessor& processor, std::string& string) {
+void VolumeRampCommand::Dump(const AudioRenderer::CommandListProcessor& processor,
+ std::string& string) {
const auto ramp{(volume - prev_volume) / static_cast<f32>(processor.sample_count)};
string += fmt::format("VolumeRampCommand");
string += fmt::format("\n\tinput {:02X}", input_index);
@@ -49,7 +50,7 @@ void VolumeRampCommand::Dump(const ADSP::CommandListProcessor& processor, std::s
string += "\n";
}
-void VolumeRampCommand::Process(const ADSP::CommandListProcessor& processor) {
+void VolumeRampCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
auto output{processor.mix_buffers.subspan(output_index * processor.sample_count,
processor.sample_count)};
auto input{processor.mix_buffers.subspan(input_index * processor.sample_count,
@@ -77,8 +78,8 @@ void VolumeRampCommand::Process(const ADSP::CommandListProcessor& processor) {
}
}
-bool VolumeRampCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool VolumeRampCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/mix/volume_ramp.h b/src/audio_core/renderer/command/mix/volume_ramp.h
index 77b61547e..d9794fb95 100644
--- a/src/audio_core/renderer/command/mix/volume_ramp.h
+++ b/src/audio_core/renderer/command/mix/volume_ramp.h
@@ -8,11 +8,12 @@
#include "audio_core/renderer/command/icommand.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for applying volume to a mix buffer, with ramping for the volume to smooth
* out the transition.
@@ -24,14 +25,14 @@ struct VolumeRampCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -39,7 +40,7 @@ struct VolumeRampCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Fixed point precision
u8 precision;
@@ -53,4 +54,4 @@ struct VolumeRampCommand : ICommand {
f32 volume;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/performance/performance.cpp b/src/audio_core/renderer/command/performance/performance.cpp
index 4a881547f..f0cfcc9fd 100644
--- a/src/audio_core/renderer/command/performance/performance.cpp
+++ b/src/audio_core/renderer/command/performance/performance.cpp
@@ -1,25 +1,25 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/performance/performance.h"
#include "core/core.h"
#include "core/core_timing.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
-void PerformanceCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
+void PerformanceCommand::Dump([[maybe_unused]] const AudioRenderer::CommandListProcessor& processor,
std::string& string) {
string += fmt::format("PerformanceCommand\n\tstate {}\n", static_cast<u32>(state));
}
-void PerformanceCommand::Process(const ADSP::CommandListProcessor& processor) {
+void PerformanceCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
auto base{entry_address.translated_address};
if (state == PerformanceState::Start) {
auto start_time_ptr{reinterpret_cast<u32*>(base + entry_address.entry_start_time_offset)};
*start_time_ptr =
- static_cast<u32>(processor.system->CoreTiming().GetClockTicks() - processor.start_time -
- processor.current_processing_time);
+ static_cast<u32>(processor.system->CoreTiming().GetGlobalTimeUs().count() -
+ processor.start_time - processor.current_processing_time);
} else if (state == PerformanceState::Stop) {
auto processed_time_ptr{
reinterpret_cast<u32*>(base + entry_address.entry_processed_time_offset)};
@@ -27,14 +27,14 @@ void PerformanceCommand::Process(const ADSP::CommandListProcessor& processor) {
reinterpret_cast<u32*>(base + entry_address.header_entry_count_offset)};
*processed_time_ptr =
- static_cast<u32>(processor.system->CoreTiming().GetClockTicks() - processor.start_time -
- processor.current_processing_time);
+ static_cast<u32>(processor.system->CoreTiming().GetGlobalTimeUs().count() -
+ processor.start_time - processor.current_processing_time);
(*entry_count_ptr)++;
}
}
-bool PerformanceCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool PerformanceCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/performance/performance.h b/src/audio_core/renderer/command/performance/performance.h
index 11a7d6c08..522e51e34 100644
--- a/src/audio_core/renderer/command/performance/performance.h
+++ b/src/audio_core/renderer/command/performance/performance.h
@@ -10,11 +10,12 @@
#include "audio_core/renderer/performance/performance_manager.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for writing AudioRenderer performance metrics back to the sysmodule.
*/
@@ -25,14 +26,14 @@ struct PerformanceCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -40,7 +41,7 @@ struct PerformanceCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// State of the performance
PerformanceState state;
@@ -48,4 +49,4 @@ struct PerformanceCommand : ICommand {
PerformanceEntryAddresses entry_address;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/resample/downmix_6ch_to_2ch.cpp b/src/audio_core/renderer/command/resample/downmix_6ch_to_2ch.cpp
index 1fd90308a..f9b289887 100644
--- a/src/audio_core/renderer/command/resample/downmix_6ch_to_2ch.cpp
+++ b/src/audio_core/renderer/command/resample/downmix_6ch_to_2ch.cpp
@@ -1,13 +1,13 @@
// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/resample/downmix_6ch_to_2ch.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
-void DownMix6chTo2chCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
- std::string& string) {
+void DownMix6chTo2chCommand::Dump(
+ [[maybe_unused]] const AudioRenderer::CommandListProcessor& processor, std::string& string) {
string += fmt::format("DownMix6chTo2chCommand\n\tinputs: ");
for (u32 i = 0; i < MaxChannels; i++) {
string += fmt::format("{:02X}, ", inputs[i]);
@@ -19,7 +19,7 @@ void DownMix6chTo2chCommand::Dump([[maybe_unused]] const ADSP::CommandListProces
string += "\n";
}
-void DownMix6chTo2chCommand::Process(const ADSP::CommandListProcessor& processor) {
+void DownMix6chTo2chCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
auto in_front_left{
processor.mix_buffers.subspan(inputs[0] * processor.sample_count, processor.sample_count)};
auto in_front_right{
@@ -67,8 +67,8 @@ void DownMix6chTo2chCommand::Process(const ADSP::CommandListProcessor& processor
std::memset(out_back_right.data(), 0, out_back_right.size_bytes());
}
-bool DownMix6chTo2chCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool DownMix6chTo2chCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/resample/downmix_6ch_to_2ch.h b/src/audio_core/renderer/command/resample/downmix_6ch_to_2ch.h
index dc133a73b..96cbc5506 100644
--- a/src/audio_core/renderer/command/resample/downmix_6ch_to_2ch.h
+++ b/src/audio_core/renderer/command/resample/downmix_6ch_to_2ch.h
@@ -9,11 +9,12 @@
#include "common/common_types.h"
#include "common/fixed_point.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for downmixing 6 channels to 2.
* Channel layout (SMPTE):
@@ -31,14 +32,14 @@ struct DownMix6chTo2chCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -46,7 +47,7 @@ struct DownMix6chTo2chCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Input mix buffer offsets for each channel
std::array<s16, MaxChannels> inputs;
@@ -56,4 +57,4 @@ struct DownMix6chTo2chCommand : ICommand {
std::array<Common::FixedPoint<48, 16>, 4> down_mix_coeff;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/resample/resample.cpp b/src/audio_core/renderer/command/resample/resample.cpp
index 070c9d2b8..51f4ba39e 100644
--- a/src/audio_core/renderer/command/resample/resample.cpp
+++ b/src/audio_core/renderer/command/resample/resample.cpp
@@ -3,7 +3,7 @@
#include "audio_core/renderer/command/resample/resample.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
static void ResampleLowQuality(std::span<s32> output, std::span<const s16> input,
const Common::FixedPoint<49, 15>& sample_rate_ratio,
@@ -880,4 +880,4 @@ void Resample(std::span<s32> output, std::span<const s16> input,
}
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/resample/resample.h b/src/audio_core/renderer/command/resample/resample.h
index ba9209b82..134aff0c9 100644
--- a/src/audio_core/renderer/command/resample/resample.h
+++ b/src/audio_core/renderer/command/resample/resample.h
@@ -9,7 +9,7 @@
#include "common/common_types.h"
#include "common/fixed_point.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Resample an input buffer into an output buffer, according to the sample_rate_ratio.
*
@@ -26,4 +26,4 @@ void Resample(std::span<s32> output, std::span<const s16> input,
const Common::FixedPoint<49, 15>& sample_rate_ratio,
Common::FixedPoint<49, 15>& fraction, u32 samples_to_write, SrcQuality src_quality);
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/resample/upsample.cpp b/src/audio_core/renderer/command/resample/upsample.cpp
index 86ddee1a4..691d70390 100644
--- a/src/audio_core/renderer/command/resample/upsample.cpp
+++ b/src/audio_core/renderer/command/resample/upsample.cpp
@@ -3,11 +3,11 @@
#include <array>
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/resample/upsample.h"
#include "audio_core/renderer/upsampler/upsampler_info.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Upsampling impl. Input must be 8K, 16K or 32K, output is 48K.
*
@@ -198,7 +198,7 @@ static void SrcProcessFrame(std::span<s32> output, std::span<const s32> input,
}
}
-auto UpsampleCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
+auto UpsampleCommand::Dump([[maybe_unused]] const AudioRenderer::CommandListProcessor& processor,
std::string& string) -> void {
string += fmt::format("UpsampleCommand\n\tsource_sample_count {} source_sample_rate {}",
source_sample_count, source_sample_rate);
@@ -213,7 +213,7 @@ auto UpsampleCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& pr
string += "\n";
}
-void UpsampleCommand::Process(const ADSP::CommandListProcessor& processor) {
+void UpsampleCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
const auto info{reinterpret_cast<UpsamplerInfo*>(upsampler_info)};
const auto input_count{std::min(info->input_count, buffer_count)};
const std::span<const s16> inputs_{reinterpret_cast<const s16*>(inputs), input_count};
@@ -234,8 +234,8 @@ void UpsampleCommand::Process(const ADSP::CommandListProcessor& processor) {
}
}
-bool UpsampleCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool UpsampleCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/resample/upsample.h b/src/audio_core/renderer/command/resample/upsample.h
index bfc94e8af..877271ba9 100644
--- a/src/audio_core/renderer/command/resample/upsample.h
+++ b/src/audio_core/renderer/command/resample/upsample.h
@@ -8,11 +8,12 @@
#include "audio_core/renderer/command/icommand.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for upsampling a mix buffer to 48Khz.
* Input must be 8Khz, 16Khz or 32Khz, and output will be 48Khz.
@@ -24,14 +25,14 @@ struct UpsampleCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -39,7 +40,7 @@ struct UpsampleCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Pointer to the output samples buffer.
CpuAddr samples_buffer;
@@ -57,4 +58,4 @@ struct UpsampleCommand : ICommand {
CpuAddr upsampler_info;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/sink/circular_buffer.cpp b/src/audio_core/renderer/command/sink/circular_buffer.cpp
index e2ce59792..e056d15a6 100644
--- a/src/audio_core/renderer/command/sink/circular_buffer.cpp
+++ b/src/audio_core/renderer/command/sink/circular_buffer.cpp
@@ -3,14 +3,14 @@
#include <vector>
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/sink/circular_buffer.h"
#include "core/memory.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
-void CircularBufferSinkCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
- std::string& string) {
+void CircularBufferSinkCommand::Dump(
+ [[maybe_unused]] const AudioRenderer::CommandListProcessor& processor, std::string& string) {
string += fmt::format(
"CircularBufferSinkCommand\n\tinput_count {} ring size {:04X} ring pos {:04X}\n\tinputs: ",
input_count, size, pos);
@@ -20,7 +20,7 @@ void CircularBufferSinkCommand::Dump([[maybe_unused]] const ADSP::CommandListPro
string += "\n";
}
-void CircularBufferSinkCommand::Process(const ADSP::CommandListProcessor& processor) {
+void CircularBufferSinkCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
constexpr s32 min{std::numeric_limits<s16>::min()};
constexpr s32 max{std::numeric_limits<s16>::max()};
@@ -41,8 +41,8 @@ void CircularBufferSinkCommand::Process(const ADSP::CommandListProcessor& proces
}
}
-bool CircularBufferSinkCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool CircularBufferSinkCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/sink/circular_buffer.h b/src/audio_core/renderer/command/sink/circular_buffer.h
index e7d5be26e..a3234a406 100644
--- a/src/audio_core/renderer/command/sink/circular_buffer.h
+++ b/src/audio_core/renderer/command/sink/circular_buffer.h
@@ -8,11 +8,12 @@
#include "audio_core/renderer/command/icommand.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for sinking samples to a circular buffer.
*/
@@ -23,14 +24,14 @@ struct CircularBufferSinkCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -38,7 +39,7 @@ struct CircularBufferSinkCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Number of input mix buffers
u32 input_count;
@@ -52,4 +53,4 @@ struct CircularBufferSinkCommand : ICommand {
u32 pos;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/sink/device.cpp b/src/audio_core/renderer/command/sink/device.cpp
index 5f74dd7ad..3480ed475 100644
--- a/src/audio_core/renderer/command/sink/device.cpp
+++ b/src/audio_core/renderer/command/sink/device.cpp
@@ -3,13 +3,13 @@
#include <algorithm>
-#include "audio_core/renderer/adsp/command_list_processor.h"
+#include "audio_core/adsp/apps/audio_renderer/command_list_processor.h"
#include "audio_core/renderer/command/sink/device.h"
#include "audio_core/sink/sink.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
-void DeviceSinkCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor& processor,
+void DeviceSinkCommand::Dump([[maybe_unused]] const AudioRenderer::CommandListProcessor& processor,
std::string& string) {
string += fmt::format("DeviceSinkCommand\n\t{} session {} input_count {}\n\tinputs: ",
std::string_view(name), session_id, input_count);
@@ -19,7 +19,7 @@ void DeviceSinkCommand::Dump([[maybe_unused]] const ADSP::CommandListProcessor&
string += "\n";
}
-void DeviceSinkCommand::Process(const ADSP::CommandListProcessor& processor) {
+void DeviceSinkCommand::Process(const AudioRenderer::CommandListProcessor& processor) {
constexpr s32 min = std::numeric_limits<s16>::min();
constexpr s32 max = std::numeric_limits<s16>::max();
@@ -51,8 +51,8 @@ void DeviceSinkCommand::Process(const ADSP::CommandListProcessor& processor) {
}
}
-bool DeviceSinkCommand::Verify(const ADSP::CommandListProcessor& processor) {
+bool DeviceSinkCommand::Verify(const AudioRenderer::CommandListProcessor& processor) {
return true;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/command/sink/device.h b/src/audio_core/renderer/command/sink/device.h
index 1099bcf8c..385b51ecc 100644
--- a/src/audio_core/renderer/command/sink/device.h
+++ b/src/audio_core/renderer/command/sink/device.h
@@ -10,11 +10,12 @@
#include "audio_core/renderer/command/icommand.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP::AudioRenderer {
class CommandListProcessor;
}
+namespace AudioCore::Renderer {
+
/**
* AudioRenderer command for sinking samples to an output device.
*/
@@ -25,14 +26,14 @@ struct DeviceSinkCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @param string - The string to print into.
*/
- void Dump(const ADSP::CommandListProcessor& processor, std::string& string) override;
+ void Dump(const AudioRenderer::CommandListProcessor& processor, std::string& string) override;
/**
* Process this command.
*
* @param processor - The CommandListProcessor processing this command.
*/
- void Process(const ADSP::CommandListProcessor& processor) override;
+ void Process(const AudioRenderer::CommandListProcessor& processor) override;
/**
* Verify this command's data is valid.
@@ -40,7 +41,7 @@ struct DeviceSinkCommand : ICommand {
* @param processor - The CommandListProcessor processing this command.
* @return True if the command is valid, otherwise false.
*/
- bool Verify(const ADSP::CommandListProcessor& processor) override;
+ bool Verify(const AudioRenderer::CommandListProcessor& processor) override;
/// Device name
char name[0x100];
@@ -54,4 +55,4 @@ struct DeviceSinkCommand : ICommand {
std::array<s16, MaxChannels> inputs;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/aux_.cpp b/src/audio_core/renderer/effect/aux_.cpp
index 51e780ef1..1c1411eff 100644
--- a/src/audio_core/renderer/effect/aux_.cpp
+++ b/src/audio_core/renderer/effect/aux_.cpp
@@ -3,7 +3,7 @@
#include "audio_core/renderer/effect/aux_.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
void AuxInfo::Update(BehaviorInfo::ErrorInfo& error_info, const InParameterVersion1& in_params,
const PoolMapper& pool_mapper) {
@@ -90,4 +90,4 @@ CpuAddr AuxInfo::GetWorkbuffer(s32 index) {
return workbuffers[index].GetReference(true);
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/aux_.h b/src/audio_core/renderer/effect/aux_.h
index 4d3d9e3d9..c5b3058da 100644
--- a/src/audio_core/renderer/effect/aux_.h
+++ b/src/audio_core/renderer/effect/aux_.h
@@ -9,7 +9,7 @@
#include "audio_core/renderer/effect/effect_info_base.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Auxiliary Buffer used for Aux commands.
* Send and return buffers are available (names from the game's perspective).
@@ -120,4 +120,4 @@ public:
CpuAddr GetWorkbuffer(s32 index) override;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/biquad_filter.cpp b/src/audio_core/renderer/effect/biquad_filter.cpp
index a1efb3231..08161d840 100644
--- a/src/audio_core/renderer/effect/biquad_filter.cpp
+++ b/src/audio_core/renderer/effect/biquad_filter.cpp
@@ -3,7 +3,7 @@
#include "audio_core/renderer/effect/biquad_filter.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
void BiquadFilterInfo::Update(BehaviorInfo::ErrorInfo& error_info,
const InParameterVersion1& in_params, const PoolMapper& pool_mapper) {
@@ -49,4 +49,4 @@ void BiquadFilterInfo::InitializeResultState(EffectResultState& result_state) {}
void BiquadFilterInfo::UpdateResultState(EffectResultState& cpu_state,
EffectResultState& dsp_state) {}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/biquad_filter.h b/src/audio_core/renderer/effect/biquad_filter.h
index f53fd5bab..5a22899ab 100644
--- a/src/audio_core/renderer/effect/biquad_filter.h
+++ b/src/audio_core/renderer/effect/biquad_filter.h
@@ -9,7 +9,7 @@
#include "audio_core/renderer/effect/effect_info_base.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class BiquadFilterInfo : public EffectInfoBase {
public:
@@ -76,4 +76,4 @@ public:
void UpdateResultState(EffectResultState& cpu_state, EffectResultState& dsp_state) override;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/buffer_mixer.cpp b/src/audio_core/renderer/effect/buffer_mixer.cpp
index 9c8877f01..826e246ec 100644
--- a/src/audio_core/renderer/effect/buffer_mixer.cpp
+++ b/src/audio_core/renderer/effect/buffer_mixer.cpp
@@ -3,7 +3,7 @@
#include "audio_core/renderer/effect/buffer_mixer.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
void BufferMixerInfo::Update(BehaviorInfo::ErrorInfo& error_info,
const InParameterVersion1& in_params, const PoolMapper& pool_mapper) {
@@ -46,4 +46,4 @@ void BufferMixerInfo::InitializeResultState(EffectResultState& result_state) {}
void BufferMixerInfo::UpdateResultState(EffectResultState& cpu_state,
EffectResultState& dsp_state) {}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/buffer_mixer.h b/src/audio_core/renderer/effect/buffer_mixer.h
index 23eed4a8b..0c01ef38d 100644
--- a/src/audio_core/renderer/effect/buffer_mixer.h
+++ b/src/audio_core/renderer/effect/buffer_mixer.h
@@ -9,7 +9,7 @@
#include "audio_core/renderer/effect/effect_info_base.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class BufferMixerInfo : public EffectInfoBase {
public:
@@ -72,4 +72,4 @@ public:
void UpdateResultState(EffectResultState& cpu_state, EffectResultState& dsp_state) override;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/capture.cpp b/src/audio_core/renderer/effect/capture.cpp
index 3f038efdb..dfa062a59 100644
--- a/src/audio_core/renderer/effect/capture.cpp
+++ b/src/audio_core/renderer/effect/capture.cpp
@@ -4,7 +4,7 @@
#include "audio_core/renderer/effect/aux_.h"
#include "audio_core/renderer/effect/capture.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
void CaptureInfo::Update(BehaviorInfo::ErrorInfo& error_info, const InParameterVersion1& in_params,
const PoolMapper& pool_mapper) {
@@ -79,4 +79,4 @@ CpuAddr CaptureInfo::GetWorkbuffer(s32 index) {
return workbuffers[index].GetReference(true);
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/capture.h b/src/audio_core/renderer/effect/capture.h
index 6fbed8e6b..cbe71e22a 100644
--- a/src/audio_core/renderer/effect/capture.h
+++ b/src/audio_core/renderer/effect/capture.h
@@ -9,7 +9,7 @@
#include "audio_core/renderer/effect/effect_info_base.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class CaptureInfo : public EffectInfoBase {
public:
@@ -62,4 +62,4 @@ public:
CpuAddr GetWorkbuffer(s32 index) override;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/compressor.cpp b/src/audio_core/renderer/effect/compressor.cpp
index 220ae02f9..fea0aefcf 100644
--- a/src/audio_core/renderer/effect/compressor.cpp
+++ b/src/audio_core/renderer/effect/compressor.cpp
@@ -3,7 +3,7 @@
#include "audio_core/renderer/effect/compressor.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
void CompressorInfo::Update(BehaviorInfo::ErrorInfo& error_info,
const InParameterVersion1& in_params, const PoolMapper& pool_mapper) {}
@@ -37,4 +37,4 @@ CpuAddr CompressorInfo::GetWorkbuffer(s32 index) {
return GetSingleBuffer(index);
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/compressor.h b/src/audio_core/renderer/effect/compressor.h
index 019a5ae58..cda55c284 100644
--- a/src/audio_core/renderer/effect/compressor.h
+++ b/src/audio_core/renderer/effect/compressor.h
@@ -10,7 +10,7 @@
#include "common/common_types.h"
#include "common/fixed_point.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class CompressorInfo : public EffectInfoBase {
public:
@@ -103,4 +103,4 @@ public:
CpuAddr GetWorkbuffer(s32 index) override;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/delay.cpp b/src/audio_core/renderer/effect/delay.cpp
index d9853efd9..e038d4498 100644
--- a/src/audio_core/renderer/effect/delay.cpp
+++ b/src/audio_core/renderer/effect/delay.cpp
@@ -3,7 +3,7 @@
#include "audio_core/renderer/effect/delay.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
void DelayInfo::Update(BehaviorInfo::ErrorInfo& error_info, const InParameterVersion1& in_params,
const PoolMapper& pool_mapper) {
@@ -90,4 +90,4 @@ CpuAddr DelayInfo::GetWorkbuffer(s32 index) {
return GetSingleBuffer(index);
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/delay.h b/src/audio_core/renderer/effect/delay.h
index accc42a06..47417fbc6 100644
--- a/src/audio_core/renderer/effect/delay.h
+++ b/src/audio_core/renderer/effect/delay.h
@@ -11,7 +11,7 @@
#include "common/common_types.h"
#include "common/fixed_point.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class DelayInfo : public EffectInfoBase {
public:
@@ -132,4 +132,4 @@ public:
CpuAddr GetWorkbuffer(s32 index) override;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/effect_context.cpp b/src/audio_core/renderer/effect/effect_context.cpp
index 74c7801c9..00f6d7822 100644
--- a/src/audio_core/renderer/effect/effect_context.cpp
+++ b/src/audio_core/renderer/effect/effect_context.cpp
@@ -3,7 +3,7 @@
#include "audio_core/renderer/effect/effect_context.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
void EffectContext::Initialize(std::span<EffectInfoBase> effect_infos_, const u32 effect_count_,
std::span<EffectResultState> result_states_cpu_,
@@ -38,4 +38,4 @@ void EffectContext::UpdateStateByDspShared() {
}
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/effect_context.h b/src/audio_core/renderer/effect/effect_context.h
index 8f6d6e7d8..8364c5521 100644
--- a/src/audio_core/renderer/effect/effect_context.h
+++ b/src/audio_core/renderer/effect/effect_context.h
@@ -9,7 +9,7 @@
#include "audio_core/renderer/effect/effect_result_state.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class EffectContext {
public:
@@ -72,4 +72,4 @@ private:
size_t dsp_state_count{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/effect_info_base.h b/src/audio_core/renderer/effect/effect_info_base.h
index dbdccf278..b49503409 100644
--- a/src/audio_core/renderer/effect/effect_info_base.h
+++ b/src/audio_core/renderer/effect/effect_info_base.h
@@ -12,7 +12,7 @@
#include "audio_core/renderer/memory/pool_mapper.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Base of all effects. Holds various data and functions used for all derived effects.
* Should not be used directly.
@@ -432,4 +432,4 @@ protected:
std::array<u8, sizeof(State)> state{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/effect_reset.h b/src/audio_core/renderer/effect/effect_reset.h
index 1ea67e334..c9e3b4b78 100644
--- a/src/audio_core/renderer/effect/effect_reset.h
+++ b/src/audio_core/renderer/effect/effect_reset.h
@@ -14,7 +14,7 @@
#include "audio_core/renderer/effect/reverb.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Reset an effect, and create a new one of the given type.
*
@@ -68,4 +68,4 @@ static void ResetEffect(EffectInfoBase* effect, const EffectInfoBase::Type type)
}
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/effect_result_state.h b/src/audio_core/renderer/effect/effect_result_state.h
index ae096ad69..f4d4b6086 100644
--- a/src/audio_core/renderer/effect/effect_result_state.h
+++ b/src/audio_core/renderer/effect/effect_result_state.h
@@ -7,10 +7,10 @@
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
struct EffectResultState {
std::array<u8, 0x80> state;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/i3dl2.cpp b/src/audio_core/renderer/effect/i3dl2.cpp
index 960b29cfc..a3c324c1e 100644
--- a/src/audio_core/renderer/effect/i3dl2.cpp
+++ b/src/audio_core/renderer/effect/i3dl2.cpp
@@ -3,7 +3,7 @@
#include "audio_core/renderer/effect/i3dl2.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
void I3dl2ReverbInfo::Update(BehaviorInfo::ErrorInfo& error_info,
const InParameterVersion1& in_params, const PoolMapper& pool_mapper) {
@@ -91,4 +91,4 @@ CpuAddr I3dl2ReverbInfo::GetWorkbuffer(s32 index) {
return GetSingleBuffer(index);
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/i3dl2.h b/src/audio_core/renderer/effect/i3dl2.h
index 6e3ffd1d4..e0432b4ae 100644
--- a/src/audio_core/renderer/effect/i3dl2.h
+++ b/src/audio_core/renderer/effect/i3dl2.h
@@ -11,7 +11,7 @@
#include "common/common_types.h"
#include "common/fixed_point.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class I3dl2ReverbInfo : public EffectInfoBase {
public:
@@ -198,4 +198,4 @@ public:
CpuAddr GetWorkbuffer(s32 index) override;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/light_limiter.cpp b/src/audio_core/renderer/effect/light_limiter.cpp
index 1635a952d..9c8ea3c49 100644
--- a/src/audio_core/renderer/effect/light_limiter.cpp
+++ b/src/audio_core/renderer/effect/light_limiter.cpp
@@ -3,7 +3,7 @@
#include "audio_core/renderer/effect/light_limiter.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
void LightLimiterInfo::Update(BehaviorInfo::ErrorInfo& error_info,
const InParameterVersion1& in_params, const PoolMapper& pool_mapper) {
@@ -78,4 +78,4 @@ CpuAddr LightLimiterInfo::GetWorkbuffer(s32 index) {
return GetSingleBuffer(index);
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/light_limiter.h b/src/audio_core/renderer/effect/light_limiter.h
index 338d67bbc..7f2ede405 100644
--- a/src/audio_core/renderer/effect/light_limiter.h
+++ b/src/audio_core/renderer/effect/light_limiter.h
@@ -11,7 +11,7 @@
#include "common/common_types.h"
#include "common/fixed_point.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class LightLimiterInfo : public EffectInfoBase {
public:
@@ -135,4 +135,4 @@ public:
CpuAddr GetWorkbuffer(s32 index) override;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/reverb.cpp b/src/audio_core/renderer/effect/reverb.cpp
index 2d32383d0..4da72469a 100644
--- a/src/audio_core/renderer/effect/reverb.cpp
+++ b/src/audio_core/renderer/effect/reverb.cpp
@@ -3,7 +3,7 @@
#include "audio_core/renderer/effect/reverb.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
void ReverbInfo::Update(BehaviorInfo::ErrorInfo& error_info, const InParameterVersion1& in_params,
const PoolMapper& pool_mapper) {
@@ -90,4 +90,4 @@ CpuAddr ReverbInfo::GetWorkbuffer(s32 index) {
return GetSingleBuffer(index);
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/effect/reverb.h b/src/audio_core/renderer/effect/reverb.h
index 6cc345ef6..52a048da6 100644
--- a/src/audio_core/renderer/effect/reverb.h
+++ b/src/audio_core/renderer/effect/reverb.h
@@ -11,7 +11,7 @@
#include "common/common_types.h"
#include "common/fixed_point.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class ReverbInfo : public EffectInfoBase {
public:
@@ -187,4 +187,4 @@ public:
CpuAddr GetWorkbuffer(s32 index) override;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/memory/address_info.h b/src/audio_core/renderer/memory/address_info.h
index bb5c930e1..c81ef1b8a 100644
--- a/src/audio_core/renderer/memory/address_info.h
+++ b/src/audio_core/renderer/memory/address_info.h
@@ -6,7 +6,7 @@
#include "audio_core/renderer/memory/memory_pool_info.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Represents a region of mapped or unmapped memory.
@@ -121,4 +121,4 @@ private:
CpuAddr dsp_address;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/memory/memory_pool_info.cpp b/src/audio_core/renderer/memory/memory_pool_info.cpp
index 9b7824af1..03b44d5f3 100644
--- a/src/audio_core/renderer/memory/memory_pool_info.cpp
+++ b/src/audio_core/renderer/memory/memory_pool_info.cpp
@@ -3,7 +3,7 @@
#include "audio_core/renderer/memory/memory_pool_info.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
CpuAddr MemoryPoolInfo::GetCpuAddress() const {
return cpu_address;
@@ -58,4 +58,4 @@ bool MemoryPoolInfo::IsUsed() const {
return in_use;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/memory/memory_pool_info.h b/src/audio_core/renderer/memory/memory_pool_info.h
index 80c571bc1..2f9c85184 100644
--- a/src/audio_core/renderer/memory/memory_pool_info.h
+++ b/src/audio_core/renderer/memory/memory_pool_info.h
@@ -8,7 +8,7 @@
#include "audio_core/common/common.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* CPU pools are mapped in user memory with the supplied process_handle (see PoolMapper).
*/
@@ -167,4 +167,4 @@ private:
bool in_use{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/memory/pool_mapper.cpp b/src/audio_core/renderer/memory/pool_mapper.cpp
index 7fd2b5f47..999bb746b 100644
--- a/src/audio_core/renderer/memory/pool_mapper.cpp
+++ b/src/audio_core/renderer/memory/pool_mapper.cpp
@@ -6,7 +6,7 @@
#include "core/hle/kernel/k_process.h"
#include "core/hle/kernel/svc.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
PoolMapper::PoolMapper(u32 process_handle_, bool force_map_)
: process_handle{process_handle_}, force_map{force_map_} {}
@@ -240,4 +240,4 @@ bool PoolMapper::InitializeSystemPool(MemoryPoolInfo& pool, const u8* memory,
}
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/memory/pool_mapper.h b/src/audio_core/renderer/memory/pool_mapper.h
index 9a691da7a..95ae5d8ea 100644
--- a/src/audio_core/renderer/memory/pool_mapper.h
+++ b/src/audio_core/renderer/memory/pool_mapper.h
@@ -10,7 +10,7 @@
#include "common/common_types.h"
#include "core/hle/service/audio/errors.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class AddressInfo;
/**
@@ -176,4 +176,4 @@ private:
bool force_map;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/mix/mix_context.cpp b/src/audio_core/renderer/mix/mix_context.cpp
index 3a18ae7c2..c712610bb 100644
--- a/src/audio_core/renderer/mix/mix_context.cpp
+++ b/src/audio_core/renderer/mix/mix_context.cpp
@@ -7,7 +7,7 @@
#include "audio_core/renderer/splitter/splitter_context.h"
#include "common/polyfill_ranges.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
void MixContext::Initialize(std::span<MixInfo*> sorted_mix_infos_, std::span<MixInfo> mix_infos_,
const u32 count_, std::span<s32> effect_process_order_buffer_,
@@ -139,4 +139,4 @@ EdgeMatrix& MixContext::GetEdgeMatrix() {
return edge_matrix;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/mix/mix_context.h b/src/audio_core/renderer/mix/mix_context.h
index bcd9637da..ce19ec8d6 100644
--- a/src/audio_core/renderer/mix/mix_context.h
+++ b/src/audio_core/renderer/mix/mix_context.h
@@ -10,7 +10,7 @@
#include "audio_core/renderer/nodes/node_states.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class SplitterContext;
/*
@@ -121,4 +121,4 @@ private:
EdgeMatrix edge_matrix{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/mix/mix_info.cpp b/src/audio_core/renderer/mix/mix_info.cpp
index cc18e57ee..5e44bde18 100644
--- a/src/audio_core/renderer/mix/mix_info.cpp
+++ b/src/audio_core/renderer/mix/mix_info.cpp
@@ -7,7 +7,7 @@
#include "audio_core/renderer/nodes/edge_matrix.h"
#include "audio_core/renderer/splitter/splitter_context.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
MixInfo::MixInfo(std::span<s32> effect_order_buffer_, s32 effect_count_, BehaviorInfo& behavior)
: effect_order_buffer{effect_order_buffer_}, effect_count{effect_count_},
@@ -117,4 +117,4 @@ bool MixInfo::HasAnyConnection() const {
return dst_mix_id != UnusedMixId || dst_splitter_id != UnusedSplitterId;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/mix/mix_info.h b/src/audio_core/renderer/mix/mix_info.h
index b5fa4c0c7..7005daa4f 100644
--- a/src/audio_core/renderer/mix/mix_info.h
+++ b/src/audio_core/renderer/mix/mix_info.h
@@ -9,7 +9,7 @@
#include "audio_core/common/common.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class EdgeMatrix;
class SplitterContext;
class EffectContext;
@@ -121,4 +121,4 @@ public:
const bool long_size_pre_delay_supported;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/nodes/bit_array.h b/src/audio_core/renderer/nodes/bit_array.h
index b0d53cd51..d8a2d09d0 100644
--- a/src/audio_core/renderer/nodes/bit_array.h
+++ b/src/audio_core/renderer/nodes/bit_array.h
@@ -7,7 +7,7 @@
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Represents an array of bits used for nodes and edges for the mixing graph.
*/
@@ -22,4 +22,4 @@ struct BitArray {
u32 size{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/nodes/edge_matrix.cpp b/src/audio_core/renderer/nodes/edge_matrix.cpp
index 5573f33b9..c28773b22 100644
--- a/src/audio_core/renderer/nodes/edge_matrix.cpp
+++ b/src/audio_core/renderer/nodes/edge_matrix.cpp
@@ -3,7 +3,7 @@
#include "audio_core/renderer/nodes/edge_matrix.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
void EdgeMatrix::Initialize([[maybe_unused]] std::span<u8> buffer,
[[maybe_unused]] const u64 node_buffer_size, const u32 count_) {
@@ -35,4 +35,4 @@ u32 EdgeMatrix::GetNodeCount() const {
return count;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/nodes/edge_matrix.h b/src/audio_core/renderer/nodes/edge_matrix.h
index 27a20e43e..0271c23b1 100644
--- a/src/audio_core/renderer/nodes/edge_matrix.h
+++ b/src/audio_core/renderer/nodes/edge_matrix.h
@@ -9,7 +9,7 @@
#include "common/alignment.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* An edge matrix, holding the connections for each node to every other node in the graph.
*/
@@ -79,4 +79,4 @@ private:
u32 count;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/nodes/node_states.cpp b/src/audio_core/renderer/nodes/node_states.cpp
index b7a44a54c..028a58041 100644
--- a/src/audio_core/renderer/nodes/node_states.cpp
+++ b/src/audio_core/renderer/nodes/node_states.cpp
@@ -4,7 +4,7 @@
#include "audio_core/renderer/nodes/node_states.h"
#include "common/logging/log.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
void NodeStates::Initialize(std::span<u8> buffer_, [[maybe_unused]] const u64 node_buffer_size,
const u32 count) {
@@ -138,4 +138,4 @@ std::pair<std::span<u32>::reverse_iterator, size_t> NodeStates::GetSortedResuls(
return {results.rbegin(), result_pos};
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/nodes/node_states.h b/src/audio_core/renderer/nodes/node_states.h
index e768cd4b5..991a82841 100644
--- a/src/audio_core/renderer/nodes/node_states.h
+++ b/src/audio_core/renderer/nodes/node_states.h
@@ -10,7 +10,7 @@
#include "common/alignment.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Graph utility functions for sorting and getting results from the DAG.
*/
@@ -192,4 +192,4 @@ private:
Stack stack{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/performance/detail_aspect.cpp b/src/audio_core/renderer/performance/detail_aspect.cpp
index f6405937f..ef8b47cee 100644
--- a/src/audio_core/renderer/performance/detail_aspect.cpp
+++ b/src/audio_core/renderer/performance/detail_aspect.cpp
@@ -5,7 +5,7 @@
#include "audio_core/renderer/command/command_generator.h"
#include "audio_core/renderer/performance/detail_aspect.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
DetailAspect::DetailAspect(CommandGenerator& command_generator_,
const PerformanceEntryType entry_type, const s32 node_id_,
@@ -22,4 +22,4 @@ DetailAspect::DetailAspect(CommandGenerator& command_generator_,
}
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/performance/detail_aspect.h b/src/audio_core/renderer/performance/detail_aspect.h
index 736c331b9..0bd7f80c8 100644
--- a/src/audio_core/renderer/performance/detail_aspect.h
+++ b/src/audio_core/renderer/performance/detail_aspect.h
@@ -7,7 +7,7 @@
#include "audio_core/renderer/performance/performance_manager.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class CommandGenerator;
/**
@@ -29,4 +29,4 @@ public:
s32 node_id;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/performance/entry_aspect.cpp b/src/audio_core/renderer/performance/entry_aspect.cpp
index dd4165803..c9241a639 100644
--- a/src/audio_core/renderer/performance/entry_aspect.cpp
+++ b/src/audio_core/renderer/performance/entry_aspect.cpp
@@ -5,7 +5,7 @@
#include "audio_core/renderer/command/command_generator.h"
#include "audio_core/renderer/performance/entry_aspect.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
EntryAspect::EntryAspect(CommandGenerator& command_generator_, const PerformanceEntryType type,
const s32 node_id_)
@@ -20,4 +20,4 @@ EntryAspect::EntryAspect(CommandGenerator& command_generator_, const Performance
}
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/performance/entry_aspect.h b/src/audio_core/renderer/performance/entry_aspect.h
index 14c9e3baf..f99287d68 100644
--- a/src/audio_core/renderer/performance/entry_aspect.h
+++ b/src/audio_core/renderer/performance/entry_aspect.h
@@ -7,7 +7,7 @@
#include "audio_core/renderer/performance/performance_manager.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class CommandGenerator;
/**
@@ -28,4 +28,4 @@ public:
s32 node_id;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/performance/performance_detail.h b/src/audio_core/renderer/performance/performance_detail.h
index f603b9026..2b0cf9422 100644
--- a/src/audio_core/renderer/performance/performance_detail.h
+++ b/src/audio_core/renderer/performance/performance_detail.h
@@ -6,7 +6,7 @@
#include "audio_core/renderer/performance/performance_entry.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
enum class PerformanceDetailType : u8 {
Invalid,
@@ -47,4 +47,4 @@ struct PerformanceDetailVersion2 {
static_assert(sizeof(PerformanceDetailVersion2) == 0x18,
"PerformanceDetailVersion2 has the wrong size!");
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/performance/performance_entry.h b/src/audio_core/renderer/performance/performance_entry.h
index d6b1158db..dbd6053a5 100644
--- a/src/audio_core/renderer/performance/performance_entry.h
+++ b/src/audio_core/renderer/performance/performance_entry.h
@@ -5,7 +5,7 @@
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
enum class PerformanceEntryType : u8 {
Invalid,
@@ -34,4 +34,4 @@ struct PerformanceEntryVersion2 {
static_assert(sizeof(PerformanceEntryVersion2) == 0x18,
"PerformanceEntryVersion2 has the wrong size!");
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/performance/performance_entry_addresses.h b/src/audio_core/renderer/performance/performance_entry_addresses.h
index e381d765c..51eee975f 100644
--- a/src/audio_core/renderer/performance/performance_entry_addresses.h
+++ b/src/audio_core/renderer/performance/performance_entry_addresses.h
@@ -5,7 +5,7 @@
#include "audio_core/common/common.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
struct PerformanceEntryAddresses {
CpuAddr translated_address;
@@ -14,4 +14,4 @@ struct PerformanceEntryAddresses {
CpuAddr entry_processed_time_offset;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/performance/performance_frame_header.h b/src/audio_core/renderer/performance/performance_frame_header.h
index b1848284e..24e4989f8 100644
--- a/src/audio_core/renderer/performance/performance_frame_header.h
+++ b/src/audio_core/renderer/performance/performance_frame_header.h
@@ -5,7 +5,7 @@
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
struct PerformanceFrameHeaderVersion1 {
/* 0x00 */ u32 magic; // "PERF"
@@ -33,4 +33,4 @@ struct PerformanceFrameHeaderVersion2 {
static_assert(sizeof(PerformanceFrameHeaderVersion2) == 0x30,
"PerformanceFrameHeaderVersion2 has the wrong size!");
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/performance/performance_manager.cpp b/src/audio_core/renderer/performance/performance_manager.cpp
index 8aa0f5ed0..ce736db71 100644
--- a/src/audio_core/renderer/performance/performance_manager.cpp
+++ b/src/audio_core/renderer/performance/performance_manager.cpp
@@ -6,7 +6,7 @@
#include "audio_core/renderer/performance/performance_manager.h"
#include "common/common_funcs.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
void PerformanceManager::CreateImpl(const size_t version) {
switch (version) {
@@ -643,4 +643,4 @@ void PerformanceManagerImpl<PerformanceVersion::Version2, PerformanceFrameHeader
target_node_id = target_node_id_;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/performance/performance_manager.h b/src/audio_core/renderer/performance/performance_manager.h
index b65caa9b6..ffd0fa1fb 100644
--- a/src/audio_core/renderer/performance/performance_manager.h
+++ b/src/audio_core/renderer/performance/performance_manager.h
@@ -14,7 +14,7 @@
#include "audio_core/renderer/performance/performance_frame_header.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class BehaviorInfo;
class MemoryPoolInfo;
@@ -272,4 +272,4 @@ private:
PerformanceVersion version{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/sink/circular_buffer_sink_info.cpp b/src/audio_core/renderer/sink/circular_buffer_sink_info.cpp
index d91f10402..0ede02b6b 100644
--- a/src/audio_core/renderer/sink/circular_buffer_sink_info.cpp
+++ b/src/audio_core/renderer/sink/circular_buffer_sink_info.cpp
@@ -5,7 +5,7 @@
#include "audio_core/renderer/sink/circular_buffer_sink_info.h"
#include "audio_core/renderer/upsampler/upsampler_manager.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
CircularBufferSinkInfo::CircularBufferSinkInfo() {
state.fill(0);
@@ -73,4 +73,4 @@ void CircularBufferSinkInfo::UpdateForCommandGeneration() {
}
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/sink/circular_buffer_sink_info.h b/src/audio_core/renderer/sink/circular_buffer_sink_info.h
index 3356213ea..d4e61d641 100644
--- a/src/audio_core/renderer/sink/circular_buffer_sink_info.h
+++ b/src/audio_core/renderer/sink/circular_buffer_sink_info.h
@@ -6,7 +6,7 @@
#include "audio_core/renderer/sink/sink_info_base.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Info for a circular buffer sink.
*/
@@ -38,4 +38,4 @@ public:
static_assert(sizeof(CircularBufferSinkInfo) <= sizeof(SinkInfoBase),
"CircularBufferSinkInfo is too large!");
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/sink/device_sink_info.cpp b/src/audio_core/renderer/sink/device_sink_info.cpp
index b7b3d6f1d..2de05e38e 100644
--- a/src/audio_core/renderer/sink/device_sink_info.cpp
+++ b/src/audio_core/renderer/sink/device_sink_info.cpp
@@ -4,7 +4,7 @@
#include "audio_core/renderer/sink/device_sink_info.h"
#include "audio_core/renderer/upsampler/upsampler_manager.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
DeviceSinkInfo::DeviceSinkInfo() {
state.fill(0);
@@ -54,4 +54,4 @@ void DeviceSinkInfo::Update(BehaviorInfo::ErrorInfo& error_info, OutStatus& out_
void DeviceSinkInfo::UpdateForCommandGeneration() {}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/sink/device_sink_info.h b/src/audio_core/renderer/sink/device_sink_info.h
index a1c441454..7974ae820 100644
--- a/src/audio_core/renderer/sink/device_sink_info.h
+++ b/src/audio_core/renderer/sink/device_sink_info.h
@@ -6,7 +6,7 @@
#include "audio_core/renderer/sink/sink_info_base.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Info for a device sink.
*/
@@ -37,4 +37,4 @@ public:
};
static_assert(sizeof(DeviceSinkInfo) <= sizeof(SinkInfoBase), "DeviceSinkInfo is too large!");
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/sink/sink_context.cpp b/src/audio_core/renderer/sink/sink_context.cpp
index 634bc1cf9..a4f9cac21 100644
--- a/src/audio_core/renderer/sink/sink_context.cpp
+++ b/src/audio_core/renderer/sink/sink_context.cpp
@@ -3,7 +3,7 @@
#include "audio_core/renderer/sink/sink_context.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
void SinkContext::Initialize(std::span<SinkInfoBase> sink_infos_, const u32 sink_count_) {
sink_infos = sink_infos_;
@@ -18,4 +18,4 @@ u32 SinkContext::GetCount() const {
return sink_count;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/sink/sink_context.h b/src/audio_core/renderer/sink/sink_context.h
index 185572e29..66925b48e 100644
--- a/src/audio_core/renderer/sink/sink_context.h
+++ b/src/audio_core/renderer/sink/sink_context.h
@@ -8,7 +8,7 @@
#include "audio_core/renderer/sink/sink_info_base.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Manages output sinks.
*/
@@ -44,4 +44,4 @@ private:
u32 sink_count{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/sink/sink_info_base.cpp b/src/audio_core/renderer/sink/sink_info_base.cpp
index 4279beaa0..8a064f15a 100644
--- a/src/audio_core/renderer/sink/sink_info_base.cpp
+++ b/src/audio_core/renderer/sink/sink_info_base.cpp
@@ -4,7 +4,7 @@
#include "audio_core/renderer/memory/pool_mapper.h"
#include "audio_core/renderer/sink/sink_info_base.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
void SinkInfoBase::CleanUp() {
type = Type::Invalid;
@@ -48,4 +48,4 @@ u8* SinkInfoBase::GetParameter() {
return parameter.data();
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/sink/sink_info_base.h b/src/audio_core/renderer/sink/sink_info_base.h
index a1b855f20..e10d1cb38 100644
--- a/src/audio_core/renderer/sink/sink_info_base.h
+++ b/src/audio_core/renderer/sink/sink_info_base.h
@@ -11,7 +11,7 @@
#include "common/common_types.h"
#include "common/fixed_point.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
struct UpsamplerInfo;
class PoolMapper;
@@ -174,4 +174,4 @@ protected:
parameter{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/splitter/splitter_context.cpp b/src/audio_core/renderer/splitter/splitter_context.cpp
index 7a23ba43f..686150ea6 100644
--- a/src/audio_core/renderer/splitter/splitter_context.cpp
+++ b/src/audio_core/renderer/splitter/splitter_context.cpp
@@ -7,7 +7,7 @@
#include "audio_core/renderer/splitter/splitter_context.h"
#include "common/alignment.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
SplitterDestinationData* SplitterContext::GetDesintationData(const s32 splitter_id,
const s32 destination_id) {
@@ -214,4 +214,4 @@ u64 SplitterContext::CalcWorkBufferSize(const BehaviorInfo& behavior,
return size;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/splitter/splitter_context.h b/src/audio_core/renderer/splitter/splitter_context.h
index 1a63db1d3..556e6dcc3 100644
--- a/src/audio_core/renderer/splitter/splitter_context.h
+++ b/src/audio_core/renderer/splitter/splitter_context.h
@@ -13,7 +13,7 @@ namespace AudioCore {
struct AudioRendererParameterInternal;
class WorkbufferAllocator;
-namespace AudioRenderer {
+namespace Renderer {
class BehaviorInfo;
/**
@@ -185,5 +185,5 @@ private:
bool splitter_bug_fixed{};
};
-} // namespace AudioRenderer
+} // namespace Renderer
} // namespace AudioCore
diff --git a/src/audio_core/renderer/splitter/splitter_destinations_data.cpp b/src/audio_core/renderer/splitter/splitter_destinations_data.cpp
index b27d44896..5ec37e48e 100644
--- a/src/audio_core/renderer/splitter/splitter_destinations_data.cpp
+++ b/src/audio_core/renderer/splitter/splitter_destinations_data.cpp
@@ -3,7 +3,7 @@
#include "audio_core/renderer/splitter/splitter_destinations_data.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
SplitterDestinationData::SplitterDestinationData(const s32 id_) : id{id_} {}
@@ -84,4 +84,4 @@ void SplitterDestinationData::SetNext(SplitterDestinationData* next_) {
next = next_;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/splitter/splitter_destinations_data.h b/src/audio_core/renderer/splitter/splitter_destinations_data.h
index d55ce0ad3..90edfc667 100644
--- a/src/audio_core/renderer/splitter/splitter_destinations_data.h
+++ b/src/audio_core/renderer/splitter/splitter_destinations_data.h
@@ -9,7 +9,7 @@
#include "audio_core/common/common.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Represents a mixing node, can be connected to a previous and next destination forming a chain
* that a certain mix buffer will pass through to output.
@@ -132,4 +132,4 @@ private:
bool need_update{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/splitter/splitter_info.cpp b/src/audio_core/renderer/splitter/splitter_info.cpp
index 1aee6720b..beb5b7f19 100644
--- a/src/audio_core/renderer/splitter/splitter_info.cpp
+++ b/src/audio_core/renderer/splitter/splitter_info.cpp
@@ -3,7 +3,7 @@
#include "audio_core/renderer/splitter/splitter_info.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
SplitterInfo::SplitterInfo(const s32 id_) : id{id_} {}
@@ -76,4 +76,4 @@ void SplitterInfo::SetDestinations(SplitterDestinationData* destinations_) {
destinations = destinations_;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/splitter/splitter_info.h b/src/audio_core/renderer/splitter/splitter_info.h
index b0ad01fe0..c1e4c2df1 100644
--- a/src/audio_core/renderer/splitter/splitter_info.h
+++ b/src/audio_core/renderer/splitter/splitter_info.h
@@ -6,7 +6,7 @@
#include "audio_core/renderer/splitter/splitter_destinations_data.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Represents a splitter, wraps multiple output destinations to split an input mix into.
*/
@@ -104,4 +104,4 @@ private:
u32 channel_count{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/system.cpp b/src/audio_core/renderer/system.cpp
index a23627472..31f92087c 100644
--- a/src/audio_core/renderer/system.cpp
+++ b/src/audio_core/renderer/system.cpp
@@ -4,12 +4,13 @@
#include <chrono>
#include <span>
+#include "audio_core/adsp/apps/audio_renderer/audio_renderer.h"
+#include "audio_core/adsp/apps/audio_renderer/command_buffer.h"
#include "audio_core/audio_core.h"
#include "audio_core/common/audio_renderer_parameter.h"
#include "audio_core/common/common.h"
#include "audio_core/common/feature_support.h"
#include "audio_core/common/workbuffer_allocator.h"
-#include "audio_core/renderer/adsp/adsp.h"
#include "audio_core/renderer/behavior/info_updater.h"
#include "audio_core/renderer/command/command_buffer.h"
#include "audio_core/renderer/command/command_generator.h"
@@ -34,7 +35,7 @@
#include "core/hle/kernel/k_transfer_memory.h"
#include "core/memory.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
u64 System::GetWorkBufferSize(const AudioRendererParameterInternal& params) {
BehaviorInfo behavior;
@@ -95,7 +96,8 @@ u64 System::GetWorkBufferSize(const AudioRendererParameterInternal& params) {
}
System::System(Core::System& core_, Kernel::KEvent* adsp_rendered_event_)
- : core{core_}, adsp{core.AudioCore().GetADSP()}, adsp_rendered_event{adsp_rendered_event_} {}
+ : core{core_}, audio_renderer{core.AudioCore().ADSP().AudioRenderer()},
+ adsp_rendered_event{adsp_rendered_event_} {}
Result System::Initialize(const AudioRendererParameterInternal& params,
Kernel::KTransferMemory* transfer_memory, u64 transfer_memory_size,
@@ -443,7 +445,7 @@ void System::Stop() {
Result System::Update(std::span<const u8> input, std::span<u8> performance, std::span<u8> output) {
std::scoped_lock l{lock};
- const auto start_time{core.CoreTiming().GetClockTicks()};
+ const auto start_time{core.CoreTiming().GetGlobalTimeNs().count()};
std::memset(output.data(), 0, output.size());
InfoUpdater info_updater(input, output, process_handle, behavior);
@@ -535,7 +537,7 @@ Result System::Update(std::span<const u8> input, std::span<u8> performance, std:
adsp_rendered_event->Clear();
num_times_updated++;
- const auto end_time{core.CoreTiming().GetClockTicks()};
+ const auto end_time{core.CoreTiming().GetGlobalTimeNs().count()};
ticks_spent_updating += end_time - start_time;
return ResultSuccess;
@@ -583,7 +585,7 @@ void System::SendCommandToDsp() {
if (initialized) {
if (active) {
terminate_event.Reset();
- const auto remaining_command_count{adsp.GetRemainCommandCount(session_id)};
+ const auto remaining_command_count{audio_renderer.GetRemainCommandCount(session_id)};
u64 command_size{0};
if (remaining_command_count) {
@@ -607,26 +609,18 @@ void System::SendCommandToDsp() {
time_limit_percent = 70.0f;
}
- ADSP::CommandBuffer command_buffer{
- .buffer{translated_addr},
- .size{command_size},
- .time_limit{
- static_cast<u64>((time_limit_percent / 100) * 2'880'000.0 *
- (static_cast<f32>(render_time_limit_percent) / 100.0f))},
- .remaining_command_count{remaining_command_count},
- .reset_buffers{reset_command_buffers},
- .applet_resource_user_id{applet_resource_user_id},
- .render_time_taken{adsp.GetRenderTimeTaken(session_id)},
- };
-
- adsp.SendCommandBuffer(session_id, command_buffer);
+ auto time_limit{
+ static_cast<u64>((time_limit_percent / 100) * 2'880'000.0 *
+ (static_cast<f32>(render_time_limit_percent) / 100.0f))};
+ audio_renderer.SetCommandBuffer(session_id, translated_addr, command_size, time_limit,
+ applet_resource_user_id, reset_command_buffers);
reset_command_buffers = false;
command_buffer_size = command_size;
if (remaining_command_count == 0) {
adsp_rendered_event->Signal();
}
} else {
- adsp.ClearRemainCount(session_id);
+ audio_renderer.ClearRemainCommandCount(session_id);
terminate_event.Set();
}
}
@@ -635,7 +629,7 @@ void System::SendCommandToDsp() {
u64 System::GenerateCommand(std::span<u8> in_command_buffer,
[[maybe_unused]] u64 command_buffer_size_) {
PoolMapper::ClearUseState(memory_pool_workbuffer, memory_pool_count);
- const auto start_time{core.CoreTiming().GetClockTicks()};
+ const auto start_time{core.CoreTiming().GetGlobalTimeNs().count()};
auto command_list_header{reinterpret_cast<CommandListHeader*>(in_command_buffer.data())};
@@ -690,11 +684,11 @@ u64 System::GenerateCommand(std::span<u8> in_command_buffer,
sink_context, splitter_context, perf_manager};
voice_context.SortInfo();
+ command_generator.GenerateVoiceCommands();
const auto start_estimated_time{drop_voice_param *
static_cast<f32>(command_buffer.estimated_process_time)};
- command_generator.GenerateVoiceCommands();
command_generator.GenerateSubMixCommands();
command_generator.GenerateFinalMixCommands();
command_generator.GenerateSinkCommands();
@@ -714,11 +708,13 @@ u64 System::GenerateCommand(std::span<u8> in_command_buffer,
const auto end_estimated_time{drop_voice_param *
static_cast<f32>(command_buffer.estimated_process_time)};
+
+ const auto dsp_time_limit{((time_limit_percent / 100.0f) * 2'880'000.0f) *
+ (static_cast<f32>(render_time_limit_percent) / 100.0f)};
+
const auto estimated_time{start_estimated_time - end_estimated_time};
- const auto time_limit{static_cast<u32>(
- estimated_time + (((time_limit_percent / 100.0f) * 2'880'000.0) *
- (static_cast<f32>(render_time_limit_percent) / 100.0f)))};
+ const auto time_limit{static_cast<u32>(std::max(dsp_time_limit + estimated_time, 0.0f))};
num_voices_dropped =
DropVoices(command_buffer, static_cast<u32>(start_estimated_time), time_limit);
}
@@ -732,10 +728,10 @@ u64 System::GenerateCommand(std::span<u8> in_command_buffer,
effect_context.UpdateStateByDspShared();
}
- const auto end_time{core.CoreTiming().GetClockTicks()};
+ const auto end_time{core.CoreTiming().GetGlobalTimeNs().count()};
total_ticks_elapsed += end_time - start_time;
num_command_lists_generated++;
- render_start_tick = adsp.GetRenderingStartTick(session_id);
+ render_start_tick = audio_renderer.GetRenderingStartTick(session_id);
frames_elapsed++;
return command_buffer.size;
@@ -778,7 +774,7 @@ u32 System::DropVoices(CommandBuffer& command_buffer, u32 estimated_process_time
while (i < command_buffer.count) {
const auto node_id{cmd->node_id};
const auto node_id_type{cmd->node_id >> 28};
- const auto node_id_base{cmd->node_id & 0xFFF};
+ const auto node_id_base{(cmd->node_id >> 16) & 0xFFF};
// If the new estimated process time falls below the limit, we're done dropping.
if (estimated_process_time <= time_limit) {
@@ -819,4 +815,4 @@ u32 System::DropVoices(CommandBuffer& command_buffer, u32 estimated_process_time
return voices_dropped;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/system.h b/src/audio_core/renderer/system.h
index e328783b6..8a8341710 100644
--- a/src/audio_core/renderer/system.h
+++ b/src/audio_core/renderer/system.h
@@ -34,12 +34,16 @@ class KTransferMemory;
namespace AudioCore {
struct AudioRendererParameterInternal;
-
-namespace AudioRenderer {
-class CommandBuffer;
namespace ADSP {
class ADSP;
+namespace AudioRenderer {
+class AudioRenderer;
}
+} // namespace ADSP
+
+namespace Renderer {
+using namespace ::AudioCore::ADSP;
+class CommandBuffer;
/**
* Audio Renderer System, the main worker for audio rendering.
@@ -213,8 +217,8 @@ public:
private:
/// Core system
Core::System& core;
- /// Reference to the ADSP for communication
- ADSP::ADSP& adsp;
+ /// Reference to the ADSP's AudioRenderer for communication
+ ::AudioCore::ADSP::AudioRenderer::AudioRenderer& audio_renderer;
/// Is this system initialized?
bool initialized{};
/// Is this system currently active?
@@ -319,5 +323,5 @@ private:
f32 drop_voice_param{1.0f};
};
-} // namespace AudioRenderer
+} // namespace Renderer
} // namespace AudioCore
diff --git a/src/audio_core/renderer/system_manager.cpp b/src/audio_core/renderer/system_manager.cpp
index 300ecdbf1..a0b8ef29e 100644
--- a/src/audio_core/renderer/system_manager.cpp
+++ b/src/audio_core/renderer/system_manager.cpp
@@ -3,8 +3,8 @@
#include <chrono>
+#include "audio_core/adsp/adsp.h"
#include "audio_core/audio_core.h"
-#include "audio_core/renderer/adsp/adsp.h"
#include "audio_core/renderer/system_manager.h"
#include "common/microprofile.h"
#include "common/thread.h"
@@ -14,24 +14,21 @@
MICROPROFILE_DEFINE(Audio_RenderSystemManager, "Audio", "Render System Manager",
MP_RGB(60, 19, 97));
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
SystemManager::SystemManager(Core::System& core_)
- : core{core_}, adsp{core.AudioCore().GetADSP()}, mailbox{adsp.GetRenderMailbox()} {}
+ : core{core_}, audio_renderer{core.AudioCore().ADSP().AudioRenderer()} {}
SystemManager::~SystemManager() {
Stop();
}
-bool SystemManager::InitializeUnsafe() {
+void SystemManager::InitializeUnsafe() {
if (!active) {
- if (adsp.Start()) {
- active = true;
- thread = std::jthread([this](std::stop_token stop_token) { ThreadFunc(stop_token); });
- }
+ active = true;
+ audio_renderer.Start();
+ thread = std::jthread([this](std::stop_token stop_token) { ThreadFunc(stop_token); });
}
-
- return adsp.GetState() == ADSP::State::Started;
}
void SystemManager::Stop() {
@@ -41,7 +38,7 @@ void SystemManager::Stop() {
active = false;
thread.request_stop();
thread.join();
- adsp.Stop();
+ audio_renderer.Stop();
}
bool SystemManager::Add(System& system_) {
@@ -55,10 +52,7 @@ bool SystemManager::Add(System& system_) {
{
std::scoped_lock l{mutex1};
if (systems.empty()) {
- if (!InitializeUnsafe()) {
- LOG_ERROR(Service_Audio, "Failed to start the AudioRenderer SystemManager");
- return false;
- }
+ InitializeUnsafe();
}
}
@@ -100,9 +94,9 @@ void SystemManager::ThreadFunc(std::stop_token stop_token) {
}
}
- adsp.Signal();
- adsp.Wait();
+ audio_renderer.Signal();
+ audio_renderer.Wait();
}
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/system_manager.h b/src/audio_core/renderer/system_manager.h
index 9681fd121..62e8e5f15 100644
--- a/src/audio_core/renderer/system_manager.h
+++ b/src/audio_core/renderer/system_manager.h
@@ -18,11 +18,14 @@ struct EventType;
class System;
} // namespace Core
-namespace AudioCore::AudioRenderer {
-namespace ADSP {
+namespace AudioCore::ADSP {
class ADSP;
-class AudioRenderer_Mailbox;
-} // namespace ADSP
+namespace AudioRenderer {
+class AudioRenderer;
+} // namespace AudioRenderer
+} // namespace AudioCore::ADSP
+
+namespace AudioCore::Renderer {
/**
* Manages all audio renderers, responsible for triggering command list generation and signalling
@@ -38,7 +41,7 @@ public:
*
* @return True if successfully initialized, otherwise false.
*/
- bool InitializeUnsafe();
+ void InitializeUnsafe();
/**
* Stop the system manager.
@@ -80,10 +83,8 @@ private:
std::mutex mutex2{};
/// Is the system manager thread active?
std::atomic<bool> active{};
- /// Reference to the ADSP for communication
- ADSP::ADSP& adsp;
- /// AudioRenderer mailbox for communication
- ADSP::AudioRenderer_Mailbox* mailbox{};
+ /// Reference to the ADSP's AudioRenderer for communication
+ ::AudioCore::ADSP::AudioRenderer::AudioRenderer& audio_renderer;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/upsampler/upsampler_info.h b/src/audio_core/renderer/upsampler/upsampler_info.h
index a43c15af3..85c87f137 100644
--- a/src/audio_core/renderer/upsampler/upsampler_info.h
+++ b/src/audio_core/renderer/upsampler/upsampler_info.h
@@ -9,7 +9,7 @@
#include "audio_core/renderer/upsampler/upsampler_state.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class UpsamplerManager;
/**
@@ -32,4 +32,4 @@ struct UpsamplerInfo {
std::array<s16, MaxChannels> inputs{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/upsampler/upsampler_manager.cpp b/src/audio_core/renderer/upsampler/upsampler_manager.cpp
index 4c76a5066..ef740f6c9 100644
--- a/src/audio_core/renderer/upsampler/upsampler_manager.cpp
+++ b/src/audio_core/renderer/upsampler/upsampler_manager.cpp
@@ -3,7 +3,7 @@
#include "audio_core/renderer/upsampler/upsampler_manager.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
UpsamplerManager::UpsamplerManager(const u32 count_, std::span<UpsamplerInfo> infos_,
std::span<s32> workbuffer_)
@@ -41,4 +41,4 @@ void UpsamplerManager::Free(UpsamplerInfo* info) {
info->enabled = false;
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/upsampler/upsampler_manager.h b/src/audio_core/renderer/upsampler/upsampler_manager.h
index 83c697c0c..263e5718b 100644
--- a/src/audio_core/renderer/upsampler/upsampler_manager.h
+++ b/src/audio_core/renderer/upsampler/upsampler_manager.h
@@ -9,7 +9,7 @@
#include "audio_core/renderer/upsampler/upsampler_info.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Manages and has utility functions for upsampler infos.
*/
@@ -42,4 +42,4 @@ private:
std::mutex lock{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/upsampler/upsampler_state.h b/src/audio_core/renderer/upsampler/upsampler_state.h
index 28cebe200..dc7b31d42 100644
--- a/src/audio_core/renderer/upsampler/upsampler_state.h
+++ b/src/audio_core/renderer/upsampler/upsampler_state.h
@@ -8,7 +8,7 @@
#include "common/common_types.h"
#include "common/fixed_point.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Upsampling state used by the AudioRenderer across calls.
*/
@@ -37,4 +37,4 @@ struct UpsamplerState {
u8 sample_index;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/voice/voice_channel_resource.h b/src/audio_core/renderer/voice/voice_channel_resource.h
index 26ab4ccce..4f19c2fcc 100644
--- a/src/audio_core/renderer/voice/voice_channel_resource.h
+++ b/src/audio_core/renderer/voice/voice_channel_resource.h
@@ -8,7 +8,7 @@
#include "audio_core/common/common.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Represents one channel for mixing a voice.
*/
@@ -35,4 +35,4 @@ public:
bool in_use{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/voice/voice_context.cpp b/src/audio_core/renderer/voice/voice_context.cpp
index 16a3e839d..c3644e38b 100644
--- a/src/audio_core/renderer/voice/voice_context.cpp
+++ b/src/audio_core/renderer/voice/voice_context.cpp
@@ -6,7 +6,7 @@
#include "audio_core/renderer/voice/voice_context.h"
#include "common/polyfill_ranges.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
VoiceState& VoiceContext::GetDspSharedState(const u32 index) {
if (index >= dsp_states.size()) {
@@ -84,4 +84,4 @@ void VoiceContext::UpdateStateByDspShared() {
std::memcpy(cpu_states.data(), dsp_states.data(), voice_count * sizeof(VoiceState));
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/voice/voice_context.h b/src/audio_core/renderer/voice/voice_context.h
index 43b677154..138ab2773 100644
--- a/src/audio_core/renderer/voice/voice_context.h
+++ b/src/audio_core/renderer/voice/voice_context.h
@@ -10,7 +10,7 @@
#include "audio_core/renderer/voice/voice_state.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Contains all voices, with utility functions for managing them.
*/
@@ -123,4 +123,4 @@ private:
u32 active_count{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/voice/voice_info.cpp b/src/audio_core/renderer/voice/voice_info.cpp
index c0bfb23fc..6239cfab7 100644
--- a/src/audio_core/renderer/voice/voice_info.cpp
+++ b/src/audio_core/renderer/voice/voice_info.cpp
@@ -6,7 +6,7 @@
#include "audio_core/renderer/voice/voice_info.h"
#include "audio_core/renderer/voice/voice_state.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
VoiceInfo::VoiceInfo() {
Initialize();
@@ -405,4 +405,4 @@ void VoiceInfo::ResetResources(VoiceContext& voice_context) const {
}
}
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/voice/voice_info.h b/src/audio_core/renderer/voice/voice_info.h
index 3c5d3e04f..14a687dcb 100644
--- a/src/audio_core/renderer/voice/voice_info.h
+++ b/src/audio_core/renderer/voice/voice_info.h
@@ -12,7 +12,7 @@
#include "audio_core/renderer/memory/address_info.h"
#include "common/common_types.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
class PoolMapper;
class VoiceContext;
struct VoiceState;
@@ -377,4 +377,4 @@ public:
u8 flush_buffer_count{};
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/renderer/voice/voice_state.h b/src/audio_core/renderer/voice/voice_state.h
index ce947233f..c7aee167b 100644
--- a/src/audio_core/renderer/voice/voice_state.h
+++ b/src/audio_core/renderer/voice/voice_state.h
@@ -9,7 +9,7 @@
#include "common/common_types.h"
#include "common/fixed_point.h"
-namespace AudioCore::AudioRenderer {
+namespace AudioCore::Renderer {
/**
* Holds a state for a voice. One is kept host-side, and one is used by the AudioRenderer,
* host-side is updated on the next iteration.
@@ -67,4 +67,4 @@ struct VoiceState {
s32 loop_count;
};
-} // namespace AudioCore::AudioRenderer
+} // namespace AudioCore::Renderer
diff --git a/src/audio_core/sink/cubeb_sink.cpp b/src/audio_core/sink/cubeb_sink.cpp
index 9a0801888..bbb598bc5 100644
--- a/src/audio_core/sink/cubeb_sink.cpp
+++ b/src/audio_core/sink/cubeb_sink.cpp
@@ -8,6 +8,7 @@
#include "audio_core/sink/cubeb_sink.h"
#include "audio_core/sink/sink_stream.h"
#include "common/logging/log.h"
+#include "common/scope_exit.h"
#include "core/core.h"
#ifdef _WIN32
@@ -332,25 +333,38 @@ std::vector<std::string> ListCubebSinkDevices(bool capture) {
return device_list;
}
-u32 GetCubebLatency() {
- cubeb* ctx;
+namespace {
+static long TmpDataCallback(cubeb_stream*, void*, const void*, void*, long) {
+ return TargetSampleCount;
+}
+static void TmpStateCallback(cubeb_stream*, void*, cubeb_state) {}
+} // namespace
+
+bool IsCubebSuitable() {
+#if !defined(HAVE_CUBEB)
+ return false;
+#else
+ cubeb* ctx{nullptr};
#ifdef _WIN32
auto com_init_result = CoInitializeEx(nullptr, COINIT_MULTITHREADED);
#endif
+ // Init cubeb
if (cubeb_init(&ctx, "yuzu Latency Getter", nullptr) != CUBEB_OK) {
- LOG_CRITICAL(Audio_Sink, "cubeb_init failed");
- // Return a large latency so we choose SDL instead.
- return 10000u;
+ LOG_ERROR(Audio_Sink, "Cubeb failed to init, it is not suitable.");
+ return false;
}
+ SCOPE_EXIT({ cubeb_destroy(ctx); });
+
#ifdef _WIN32
if (SUCCEEDED(com_init_result)) {
CoUninitialize();
}
#endif
+ // Get min latency
cubeb_stream_params params{};
params.rate = TargetSampleRate;
params.channels = 2;
@@ -361,12 +375,27 @@ u32 GetCubebLatency() {
u32 latency{0};
const auto latency_error = cubeb_get_min_latency(ctx, &params, &latency);
if (latency_error != CUBEB_OK) {
- LOG_CRITICAL(Audio_Sink, "Error getting minimum latency, error: {}", latency_error);
- latency = TargetSampleCount * 2;
+ LOG_ERROR(Audio_Sink, "Cubeb could not get min latency, it is not suitable.");
+ return false;
}
latency = std::max(latency, TargetSampleCount * 2);
- cubeb_destroy(ctx);
- return latency;
+
+ // Test opening a device with standard parameters
+ cubeb_devid output_device{0};
+ cubeb_devid input_device{0};
+ std::string name{"Yuzu test"};
+ cubeb_stream* stream{nullptr};
+
+ if (cubeb_stream_init(ctx, &stream, name.c_str(), input_device, nullptr, output_device, &params,
+ latency, &TmpDataCallback, &TmpStateCallback, nullptr) != CUBEB_OK) {
+ LOG_CRITICAL(Audio_Sink, "Cubeb could not open a device, it is not suitable.");
+ return false;
+ }
+
+ cubeb_stream_stop(stream);
+ cubeb_stream_destroy(stream);
+ return true;
+#endif
}
} // namespace AudioCore::Sink
diff --git a/src/audio_core/sink/cubeb_sink.h b/src/audio_core/sink/cubeb_sink.h
index 3302cb98d..f49a6fdaa 100644
--- a/src/audio_core/sink/cubeb_sink.h
+++ b/src/audio_core/sink/cubeb_sink.h
@@ -97,10 +97,11 @@ private:
std::vector<std::string> ListCubebSinkDevices(bool capture);
/**
- * Get the reported latency for this sink.
+ * Check if this backend is suitable for use.
+ * Checks if enabled, its latency, whether it opens successfully, etc.
*
- * @return Minimum latency for this sink.
+ * @return True is this backend is suitable, false otherwise.
*/
-u32 GetCubebLatency();
+bool IsCubebSuitable();
} // namespace AudioCore::Sink
diff --git a/src/audio_core/sink/sdl2_sink.cpp b/src/audio_core/sink/sdl2_sink.cpp
index c1529d1f9..7b89151de 100644
--- a/src/audio_core/sink/sdl2_sink.cpp
+++ b/src/audio_core/sink/sdl2_sink.cpp
@@ -9,6 +9,7 @@
#include "audio_core/sink/sdl2_sink.h"
#include "audio_core/sink/sink_stream.h"
#include "common/logging/log.h"
+#include "common/scope_exit.h"
#include "core/core.h"
namespace AudioCore::Sink {
@@ -84,6 +85,7 @@ public:
}
Stop();
+ SDL_ClearQueuedAudio(device);
SDL_CloseAudioDevice(device);
}
@@ -227,8 +229,42 @@ std::vector<std::string> ListSDLSinkDevices(bool capture) {
return device_list;
}
-u32 GetSDLLatency() {
- return TargetSampleCount * 2;
+bool IsSDLSuitable() {
+#if !defined(HAVE_SDL2)
+ return false;
+#else
+ // Check SDL can init
+ if (!SDL_WasInit(SDL_INIT_AUDIO)) {
+ if (SDL_InitSubSystem(SDL_INIT_AUDIO) < 0) {
+ LOG_ERROR(Audio_Sink, "SDL failed to init, it is not suitable. Error: {}",
+ SDL_GetError());
+ return false;
+ }
+ }
+
+ // We can set any latency frequency we want with SDL, so no need to check that.
+
+ // Check we can open a device with standard parameters
+ SDL_AudioSpec spec;
+ spec.freq = TargetSampleRate;
+ spec.channels = 2u;
+ spec.format = AUDIO_S16SYS;
+ spec.samples = TargetSampleCount * 2;
+ spec.callback = nullptr;
+ spec.userdata = nullptr;
+
+ SDL_AudioSpec obtained;
+ auto device = SDL_OpenAudioDevice(nullptr, false, &spec, &obtained, false);
+
+ if (device == 0) {
+ LOG_ERROR(Audio_Sink, "SDL failed to open a device, it is not suitable. Error: {}",
+ SDL_GetError());
+ return false;
+ }
+
+ SDL_CloseAudioDevice(device);
+ return true;
+#endif
}
} // namespace AudioCore::Sink
diff --git a/src/audio_core/sink/sdl2_sink.h b/src/audio_core/sink/sdl2_sink.h
index 27ed1ab94..9211d2e97 100644
--- a/src/audio_core/sink/sdl2_sink.h
+++ b/src/audio_core/sink/sdl2_sink.h
@@ -88,10 +88,11 @@ private:
std::vector<std::string> ListSDLSinkDevices(bool capture);
/**
- * Get the reported latency for this sink.
+ * Check if this backend is suitable for use.
+ * Checks if enabled, its latency, whether it opens successfully, etc.
*
- * @return Minimum latency for this sink.
+ * @return True is this backend is suitable, false otherwise.
*/
-u32 GetSDLLatency();
+bool IsSDLSuitable();
} // namespace AudioCore::Sink
diff --git a/src/audio_core/sink/sink_details.cpp b/src/audio_core/sink/sink_details.cpp
index 39ea6d91b..7c9a4e3ac 100644
--- a/src/audio_core/sink/sink_details.cpp
+++ b/src/audio_core/sink/sink_details.cpp
@@ -15,86 +15,95 @@
#endif
#include "audio_core/sink/null_sink.h"
#include "common/logging/log.h"
+#include "common/settings_enums.h"
namespace AudioCore::Sink {
namespace {
struct SinkDetails {
using FactoryFn = std::unique_ptr<Sink> (*)(std::string_view);
using ListDevicesFn = std::vector<std::string> (*)(bool);
- using LatencyFn = u32 (*)();
+ using SuitableFn = bool (*)();
/// Name for this sink.
- std::string_view id;
+ Settings::AudioEngine id;
/// A method to call to construct an instance of this type of sink.
FactoryFn factory;
/// A method to call to list available devices.
ListDevicesFn list_devices;
- /// Method to get the latency of this backend.
- LatencyFn latency;
+ /// Check whether this backend is suitable to be used.
+ SuitableFn is_suitable;
};
// sink_details is ordered in terms of desirability, with the best choice at the top.
constexpr SinkDetails sink_details[] = {
#ifdef HAVE_CUBEB
SinkDetails{
- "cubeb",
+ Settings::AudioEngine::Cubeb,
[](std::string_view device_id) -> std::unique_ptr<Sink> {
return std::make_unique<CubebSink>(device_id);
},
&ListCubebSinkDevices,
- &GetCubebLatency,
+ &IsCubebSuitable,
},
#endif
#ifdef HAVE_SDL2
SinkDetails{
- "sdl2",
+ Settings::AudioEngine::Sdl2,
[](std::string_view device_id) -> std::unique_ptr<Sink> {
return std::make_unique<SDLSink>(device_id);
},
&ListSDLSinkDevices,
- &GetSDLLatency,
+ &IsSDLSuitable,
},
#endif
- SinkDetails{"null",
- [](std::string_view device_id) -> std::unique_ptr<Sink> {
- return std::make_unique<NullSink>(device_id);
- },
- [](bool capture) { return std::vector<std::string>{"null"}; }, []() { return 0u; }},
+ SinkDetails{
+ Settings::AudioEngine::Null,
+ [](std::string_view device_id) -> std::unique_ptr<Sink> {
+ return std::make_unique<NullSink>(device_id);
+ },
+ [](bool capture) { return std::vector<std::string>{"null"}; },
+ []() { return true; },
+ },
};
-const SinkDetails& GetOutputSinkDetails(std::string_view sink_id) {
- const auto find_backend{[](std::string_view id) {
+const SinkDetails& GetOutputSinkDetails(Settings::AudioEngine sink_id) {
+ const auto find_backend{[](Settings::AudioEngine id) {
return std::find_if(std::begin(sink_details), std::end(sink_details),
[&id](const auto& sink_detail) { return sink_detail.id == id; });
}};
auto iter = find_backend(sink_id);
- if (sink_id == "auto") {
- // Auto-select a backend. Prefer CubeB, but it may report a large minimum latency which
- // causes audio issues, in that case go with SDL.
-#if defined(HAVE_CUBEB) && defined(HAVE_SDL2)
- iter = find_backend("cubeb");
- if (iter->latency() > TargetSampleCount * 3) {
- iter = find_backend("sdl2");
+ if (sink_id == Settings::AudioEngine::Auto) {
+ // Auto-select a backend. Use the sink details ordering, preferring cubeb first, checking
+ // that the backend is available and suitable to use.
+ for (auto& details : sink_details) {
+ if (details.is_suitable()) {
+ iter = &details;
+ break;
+ }
+ }
+ LOG_INFO(Service_Audio, "Auto-selecting the {} backend",
+ Settings::CanonicalizeEnum(iter->id));
+ } else {
+ if (iter != std::end(sink_details) && !iter->is_suitable()) {
+ LOG_ERROR(Service_Audio, "Selected backend {} is not suitable, falling back to null",
+ Settings::CanonicalizeEnum(iter->id));
+ iter = find_backend(Settings::AudioEngine::Null);
}
-#else
- iter = std::begin(sink_details);
-#endif
- LOG_INFO(Service_Audio, "Auto-selecting the {} backend", iter->id);
}
if (iter == std::end(sink_details)) {
- LOG_ERROR(Audio, "Invalid sink_id {}", sink_id);
- iter = find_backend("null");
+ LOG_ERROR(Audio, "Invalid sink_id {}", Settings::CanonicalizeEnum(sink_id));
+ iter = find_backend(Settings::AudioEngine::Null);
}
return *iter;
}
} // Anonymous namespace
-std::vector<std::string_view> GetSinkIDs() {
- std::vector<std::string_view> sink_ids(std::size(sink_details));
+std::vector<Settings::AudioEngine> GetSinkIDs() {
+ std::vector<Settings::AudioEngine> sink_ids(std::size(sink_details));
std::transform(std::begin(sink_details), std::end(sink_details), std::begin(sink_ids),
[](const auto& sink) { return sink.id; });
@@ -102,11 +111,11 @@ std::vector<std::string_view> GetSinkIDs() {
return sink_ids;
}
-std::vector<std::string> GetDeviceListForSink(std::string_view sink_id, bool capture) {
+std::vector<std::string> GetDeviceListForSink(Settings::AudioEngine sink_id, bool capture) {
return GetOutputSinkDetails(sink_id).list_devices(capture);
}
-std::unique_ptr<Sink> CreateSinkFromID(std::string_view sink_id, std::string_view device_id) {
+std::unique_ptr<Sink> CreateSinkFromID(Settings::AudioEngine sink_id, std::string_view device_id) {
return GetOutputSinkDetails(sink_id).factory(device_id);
}
diff --git a/src/audio_core/sink/sink_details.h b/src/audio_core/sink/sink_details.h
index e75932898..c8498842b 100644
--- a/src/audio_core/sink/sink_details.h
+++ b/src/audio_core/sink/sink_details.h
@@ -3,9 +3,11 @@
#pragma once
+#include <memory>
#include <string>
#include <string_view>
#include <vector>
+#include "common/settings_enums.h"
namespace AudioCore {
class AudioManager;
@@ -19,7 +21,7 @@ class Sink;
*
* @return Vector of available sink names.
*/
-std::vector<std::string_view> GetSinkIDs();
+std::vector<Settings::AudioEngine> GetSinkIDs();
/**
* Gets the list of devices for a particular sink identified by the given ID.
@@ -28,7 +30,7 @@ std::vector<std::string_view> GetSinkIDs();
* @param capture - Get capture (input) devices, or output devices?
* @return Vector of device names.
*/
-std::vector<std::string> GetDeviceListForSink(std::string_view sink_id, bool capture);
+std::vector<std::string> GetDeviceListForSink(Settings::AudioEngine sink_id, bool capture);
/**
* Creates an audio sink identified by the given device ID.
@@ -37,7 +39,7 @@ std::vector<std::string> GetDeviceListForSink(std::string_view sink_id, bool cap
* @param device_id - Name of the device to create.
* @return Pointer to the created sink.
*/
-std::unique_ptr<Sink> CreateSinkFromID(std::string_view sink_id, std::string_view device_id);
+std::unique_ptr<Sink> CreateSinkFromID(Settings::AudioEngine sink_id, std::string_view device_id);
} // namespace Sink
} // namespace AudioCore
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 3adf13a3f..8a1861051 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -26,12 +26,11 @@ add_library(common STATIC
assert.h
atomic_helpers.h
atomic_ops.h
- detached_tasks.cpp
- detached_tasks.h
bit_cast.h
bit_field.h
bit_set.h
bit_util.h
+ bounded_threadsafe_queue.h
cityhash.cpp
cityhash.h
common_funcs.h
@@ -41,6 +40,8 @@ add_library(common STATIC
container_hash.h
demangle.cpp
demangle.h
+ detached_tasks.cpp
+ detached_tasks.h
div_ceil.h
dynamic_library.cpp
dynamic_library.h
@@ -110,8 +111,12 @@ add_library(common STATIC
scratch_buffer.h
settings.cpp
settings.h
+ settings_common.cpp
+ settings_common.h
+ settings_enums.h
settings_input.cpp
settings_input.h
+ settings_setting.h
socket_types.h
spin_lock.cpp
spin_lock.h
@@ -147,6 +152,10 @@ add_library(common STATIC
zstd_compression.h
)
+if (YUZU_ENABLE_PORTABLE)
+ add_compile_definitions(YUZU_ENABLE_PORTABLE)
+endif()
+
if (WIN32)
target_sources(common PRIVATE
windows/timer_resolution.cpp
@@ -180,6 +189,14 @@ if(ARCHITECTURE_x86_64)
target_link_libraries(common PRIVATE xbyak::xbyak)
endif()
+if (ARCHITECTURE_arm64 AND (ANDROID OR LINUX))
+ target_sources(common
+ PRIVATE
+ arm64/native_clock.cpp
+ arm64/native_clock.h
+ )
+endif()
+
if (MSVC)
target_compile_definitions(common PRIVATE
# The standard library doesn't provide any replacement for codecvt yet
@@ -187,15 +204,20 @@ if (MSVC)
_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING
)
target_compile_options(common PRIVATE
- /W4
-
/we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data
/we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data
/we4800 # Implicit conversion from 'type' to bool. Possible information loss
)
-else()
+endif()
+
+if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
target_compile_options(common PRIVATE
- $<$<CXX_COMPILER_ID:Clang>:-fsized-deallocation>
+ -fsized-deallocation
+ -Werror=unreachable-code-aggressive
+ )
+ target_compile_definitions(common PRIVATE
+ # Clang 14 and earlier have errors when explicitly instantiating Settings::Setting
+ $<$<VERSION_LESS:$<CXX_COMPILER_VERSION>,15>:CANNOT_EXPLICITLY_INSTANTIATE>
)
endif()
diff --git a/src/common/alignment.h b/src/common/alignment.h
index fa715d497..fc5c26898 100644
--- a/src/common/alignment.h
+++ b/src/common/alignment.h
@@ -3,6 +3,7 @@
#pragma once
+#include <bit>
#include <cstddef>
#include <new>
#include <type_traits>
@@ -10,8 +11,10 @@
namespace Common {
template <typename T>
- requires std::is_unsigned_v<T>
-[[nodiscard]] constexpr T AlignUp(T value, size_t size) {
+ requires std::is_integral_v<T>
+[[nodiscard]] constexpr T AlignUp(T value_, size_t size) {
+ using U = typename std::make_unsigned_t<T>;
+ auto value{static_cast<U>(value_)};
auto mod{static_cast<T>(value % size)};
value -= mod;
return static_cast<T>(mod == T{0} ? value : value + size);
@@ -24,8 +27,10 @@ template <typename T>
}
template <typename T>
- requires std::is_unsigned_v<T>
-[[nodiscard]] constexpr T AlignDown(T value, size_t size) {
+ requires std::is_integral_v<T>
+[[nodiscard]] constexpr T AlignDown(T value_, size_t size) {
+ using U = typename std::make_unsigned_t<T>;
+ const auto value{static_cast<U>(value_)};
return static_cast<T>(value - value % size);
}
@@ -55,6 +60,30 @@ template <typename T, typename U>
return (x + (y - 1)) / y;
}
+template <typename T>
+ requires std::is_integral_v<T>
+[[nodiscard]] constexpr T LeastSignificantOneBit(T x) {
+ return x & ~(x - 1);
+}
+
+template <typename T>
+ requires std::is_integral_v<T>
+[[nodiscard]] constexpr T ResetLeastSignificantOneBit(T x) {
+ return x & (x - 1);
+}
+
+template <typename T>
+ requires std::is_integral_v<T>
+[[nodiscard]] constexpr bool IsPowerOfTwo(T x) {
+ return x > 0 && ResetLeastSignificantOneBit(x) == 0;
+}
+
+template <typename T>
+ requires std::is_integral_v<T>
+[[nodiscard]] constexpr T FloorPowerOfTwo(T x) {
+ return T{1} << (sizeof(T) * 8 - std::countl_zero(x) - 1);
+}
+
template <typename T, size_t Align = 16>
class AlignmentAllocator {
public:
diff --git a/src/common/arm64/native_clock.cpp b/src/common/arm64/native_clock.cpp
new file mode 100644
index 000000000..88fdba527
--- /dev/null
+++ b/src/common/arm64/native_clock.cpp
@@ -0,0 +1,72 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "common/arm64/native_clock.h"
+
+namespace Common::Arm64 {
+
+namespace {
+
+NativeClock::FactorType GetFixedPointFactor(u64 num, u64 den) {
+ return (static_cast<NativeClock::FactorType>(num) << 64) / den;
+}
+
+u64 MultiplyHigh(u64 m, NativeClock::FactorType factor) {
+ return static_cast<u64>((m * factor) >> 64);
+}
+
+} // namespace
+
+NativeClock::NativeClock() {
+ const u64 host_cntfrq = GetHostCNTFRQ();
+ ns_cntfrq_factor = GetFixedPointFactor(NsRatio::den, host_cntfrq);
+ us_cntfrq_factor = GetFixedPointFactor(UsRatio::den, host_cntfrq);
+ ms_cntfrq_factor = GetFixedPointFactor(MsRatio::den, host_cntfrq);
+ guest_cntfrq_factor = GetFixedPointFactor(CNTFRQ, host_cntfrq);
+ gputick_cntfrq_factor = GetFixedPointFactor(GPUTickFreq, host_cntfrq);
+}
+
+std::chrono::nanoseconds NativeClock::GetTimeNS() const {
+ return std::chrono::nanoseconds{MultiplyHigh(GetHostTicksElapsed(), ns_cntfrq_factor)};
+}
+
+std::chrono::microseconds NativeClock::GetTimeUS() const {
+ return std::chrono::microseconds{MultiplyHigh(GetHostTicksElapsed(), us_cntfrq_factor)};
+}
+
+std::chrono::milliseconds NativeClock::GetTimeMS() const {
+ return std::chrono::milliseconds{MultiplyHigh(GetHostTicksElapsed(), ms_cntfrq_factor)};
+}
+
+u64 NativeClock::GetCNTPCT() const {
+ return MultiplyHigh(GetHostTicksElapsed(), guest_cntfrq_factor);
+}
+
+u64 NativeClock::GetGPUTick() const {
+ return MultiplyHigh(GetHostTicksElapsed(), gputick_cntfrq_factor);
+}
+
+u64 NativeClock::GetHostTicksNow() const {
+ u64 cntvct_el0 = 0;
+ asm volatile("dsb ish\n\t"
+ "mrs %[cntvct_el0], cntvct_el0\n\t"
+ "dsb ish\n\t"
+ : [cntvct_el0] "=r"(cntvct_el0));
+ return cntvct_el0;
+}
+
+u64 NativeClock::GetHostTicksElapsed() const {
+ return GetHostTicksNow();
+}
+
+bool NativeClock::IsNative() const {
+ return true;
+}
+
+u64 NativeClock::GetHostCNTFRQ() {
+ u64 cntfrq_el0 = 0;
+ asm("mrs %[cntfrq_el0], cntfrq_el0" : [cntfrq_el0] "=r"(cntfrq_el0));
+ return cntfrq_el0;
+}
+
+} // namespace Common::Arm64
diff --git a/src/common/arm64/native_clock.h b/src/common/arm64/native_clock.h
new file mode 100644
index 000000000..a28b419f2
--- /dev/null
+++ b/src/common/arm64/native_clock.h
@@ -0,0 +1,47 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "common/wall_clock.h"
+
+namespace Common::Arm64 {
+
+class NativeClock final : public WallClock {
+public:
+ explicit NativeClock();
+
+ std::chrono::nanoseconds GetTimeNS() const override;
+
+ std::chrono::microseconds GetTimeUS() const override;
+
+ std::chrono::milliseconds GetTimeMS() const override;
+
+ u64 GetCNTPCT() const override;
+
+ u64 GetGPUTick() const override;
+
+ u64 GetHostTicksNow() const override;
+
+ u64 GetHostTicksElapsed() const override;
+
+ bool IsNative() const override;
+
+ static u64 GetHostCNTFRQ();
+
+public:
+ using FactorType = unsigned __int128;
+
+ FactorType GetGuestCNTFRQFactor() const {
+ return guest_cntfrq_factor;
+ }
+
+private:
+ FactorType ns_cntfrq_factor;
+ FactorType us_cntfrq_factor;
+ FactorType ms_cntfrq_factor;
+ FactorType guest_cntfrq_factor;
+ FactorType gputick_cntfrq_factor;
+};
+
+} // namespace Common::Arm64
diff --git a/src/common/bounded_threadsafe_queue.h b/src/common/bounded_threadsafe_queue.h
index bd87aa09b..b36fc1de9 100644
--- a/src/common/bounded_threadsafe_queue.h
+++ b/src/common/bounded_threadsafe_queue.h
@@ -45,13 +45,13 @@ public:
}
T PopWait() {
- T t;
+ T t{};
Pop<PopMode::Wait>(t);
return t;
}
T PopWait(std::stop_token stop_token) {
- T t;
+ T t{};
Pop<PopMode::WaitWithStopToken>(t, stop_token);
return t;
}
diff --git a/src/common/fs/fs.cpp b/src/common/fs/fs.cpp
index 36e67c145..174aed49b 100644
--- a/src/common/fs/fs.cpp
+++ b/src/common/fs/fs.cpp
@@ -528,38 +528,41 @@ void IterateDirEntriesRecursively(const std::filesystem::path& path,
// Generic Filesystem Operations
bool Exists(const fs::path& path) {
+ std::error_code ec;
#ifdef ANDROID
if (Android::IsContentUri(path)) {
return Android::Exists(path);
} else {
- return fs::exists(path);
+ return fs::exists(path, ec);
}
#else
- return fs::exists(path);
+ return fs::exists(path, ec);
#endif
}
bool IsFile(const fs::path& path) {
+ std::error_code ec;
#ifdef ANDROID
if (Android::IsContentUri(path)) {
return !Android::IsDirectory(path);
} else {
- return fs::is_regular_file(path);
+ return fs::is_regular_file(path, ec);
}
#else
- return fs::is_regular_file(path);
+ return fs::is_regular_file(path, ec);
#endif
}
bool IsDir(const fs::path& path) {
+ std::error_code ec;
#ifdef ANDROID
if (Android::IsContentUri(path)) {
return Android::IsDirectory(path);
} else {
- return fs::is_directory(path);
+ return fs::is_directory(path, ec);
}
#else
- return fs::is_directory(path);
+ return fs::is_directory(path, ec);
#endif
}
diff --git a/src/common/fs/fs_paths.h b/src/common/fs/fs_paths.h
index 61bac9eba..441c8af97 100644
--- a/src/common/fs/fs_paths.h
+++ b/src/common/fs/fs_paths.h
@@ -18,10 +18,12 @@
#define LOAD_DIR "load"
#define LOG_DIR "log"
#define NAND_DIR "nand"
+#define PLAY_TIME_DIR "play_time"
#define SCREENSHOTS_DIR "screenshots"
#define SDMC_DIR "sdmc"
#define SHADER_DIR "shader"
#define TAS_DIR "tas"
+#define ICONS_DIR "icons"
// yuzu-specific files
diff --git a/src/common/fs/path_util.cpp b/src/common/fs/path_util.cpp
index d71cfacc6..0abd81a45 100644
--- a/src/common/fs/path_util.cpp
+++ b/src/common/fs/path_util.cpp
@@ -88,8 +88,9 @@ public:
fs::path yuzu_path_config;
#ifdef _WIN32
+#ifdef YUZU_ENABLE_PORTABLE
yuzu_path = GetExeDirectory() / PORTABLE_DIR;
-
+#endif
if (!IsDir(yuzu_path)) {
yuzu_path = GetAppDataRoamingDirectory() / YUZU_DIR;
}
@@ -101,8 +102,9 @@ public:
yuzu_path_cache = yuzu_path / CACHE_DIR;
yuzu_path_config = yuzu_path / CONFIG_DIR;
#else
+#ifdef YUZU_ENABLE_PORTABLE
yuzu_path = GetCurrentDir() / PORTABLE_DIR;
-
+#endif
if (Exists(yuzu_path) && IsDir(yuzu_path)) {
yuzu_path_cache = yuzu_path / CACHE_DIR;
yuzu_path_config = yuzu_path / CONFIG_DIR;
@@ -122,10 +124,12 @@ public:
GenerateYuzuPath(YuzuPath::LoadDir, yuzu_path / LOAD_DIR);
GenerateYuzuPath(YuzuPath::LogDir, yuzu_path / LOG_DIR);
GenerateYuzuPath(YuzuPath::NANDDir, yuzu_path / NAND_DIR);
+ GenerateYuzuPath(YuzuPath::PlayTimeDir, yuzu_path / PLAY_TIME_DIR);
GenerateYuzuPath(YuzuPath::ScreenshotsDir, yuzu_path / SCREENSHOTS_DIR);
GenerateYuzuPath(YuzuPath::SDMCDir, yuzu_path / SDMC_DIR);
GenerateYuzuPath(YuzuPath::ShaderDir, yuzu_path / SHADER_DIR);
GenerateYuzuPath(YuzuPath::TASDir, yuzu_path / TAS_DIR);
+ GenerateYuzuPath(YuzuPath::IconsDir, yuzu_path / ICONS_DIR);
}
private:
diff --git a/src/common/fs/path_util.h b/src/common/fs/path_util.h
index ba28964d0..63801c924 100644
--- a/src/common/fs/path_util.h
+++ b/src/common/fs/path_util.h
@@ -20,10 +20,12 @@ enum class YuzuPath {
LoadDir, // Where cheat/mod files are stored.
LogDir, // Where log files are stored.
NANDDir, // Where the emulated NAND is stored.
+ PlayTimeDir, // Where play time data is stored.
ScreenshotsDir, // Where yuzu screenshots are stored.
SDMCDir, // Where the emulated SDMC is stored.
ShaderDir, // Where shaders are stored.
TASDir, // Where TAS scripts are stored.
+ IconsDir, // Where Icons for Windows shortcuts are stored.
};
/**
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp
index 6e8e8eb36..d4f27197c 100644
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@ -108,7 +108,7 @@ public:
using namespace Common::Literals;
// Prevent logs from exceeding a set maximum size in the event that log entries are spammed.
- const auto write_limit = Settings::values.extended_logging ? 1_GiB : 100_MiB;
+ const auto write_limit = Settings::values.extended_logging.GetValue() ? 1_GiB : 100_MiB;
const bool write_limit_exceeded = bytes_written > write_limit;
if (entry.log_level >= Level::Error || write_limit_exceeded) {
if (write_limit_exceeded) {
diff --git a/src/common/logging/filter.cpp b/src/common/logging/filter.cpp
index c95909561..4e3a614a4 100644
--- a/src/common/logging/filter.cpp
+++ b/src/common/logging/filter.cpp
@@ -112,7 +112,7 @@ bool ParseFilterRule(Filter& instance, Iterator begin, Iterator end) {
SUB(Service, NCM) \
SUB(Service, NFC) \
SUB(Service, NFP) \
- SUB(Service, NGCT) \
+ SUB(Service, NGC) \
SUB(Service, NIFM) \
SUB(Service, NIM) \
SUB(Service, NOTIF) \
diff --git a/src/common/logging/types.h b/src/common/logging/types.h
index 8356e3183..08af50ee0 100644
--- a/src/common/logging/types.h
+++ b/src/common/logging/types.h
@@ -80,7 +80,7 @@ enum class Class : u8 {
Service_NCM, ///< The NCM service
Service_NFC, ///< The NFC (Near-field communication) service
Service_NFP, ///< The NFP service
- Service_NGCT, ///< The NGCT (No Good Content for Terra) service
+ Service_NGC, ///< The NGC (No Good Content) service
Service_NIFM, ///< The NIFM (Network interface) service
Service_NIM, ///< The NIM service
Service_NOTIF, ///< The NOTIF (Notification) service
diff --git a/src/common/lz4_compression.cpp b/src/common/lz4_compression.cpp
index ffb32fecf..d85ab1742 100644
--- a/src/common/lz4_compression.cpp
+++ b/src/common/lz4_compression.cpp
@@ -71,4 +71,10 @@ std::vector<u8> DecompressDataLZ4(std::span<const u8> compressed, std::size_t un
return uncompressed;
}
+int DecompressDataLZ4(void* dst, size_t dst_size, const void* src, size_t src_size) {
+ // This is just a thin wrapper around LZ4.
+ return LZ4_decompress_safe(reinterpret_cast<const char*>(src), reinterpret_cast<char*>(dst),
+ static_cast<int>(src_size), static_cast<int>(dst_size));
+}
+
} // namespace Common::Compression
diff --git a/src/common/lz4_compression.h b/src/common/lz4_compression.h
index 7fd53a960..3ae17c2bb 100644
--- a/src/common/lz4_compression.h
+++ b/src/common/lz4_compression.h
@@ -56,4 +56,6 @@ namespace Common::Compression {
[[nodiscard]] std::vector<u8> DecompressDataLZ4(std::span<const u8> compressed,
std::size_t uncompressed_size);
+[[nodiscard]] int DecompressDataLZ4(void* dst, size_t dst_size, const void* src, size_t src_size);
+
} // namespace Common::Compression
diff --git a/src/common/page_table.h b/src/common/page_table.h
index fec8378f3..e653d52ad 100644
--- a/src/common/page_table.h
+++ b/src/common/page_table.h
@@ -51,7 +51,7 @@ struct PageTable {
class PageInfo {
public:
/// Returns the page pointer
- [[nodiscard]] u8* Pointer() const noexcept {
+ [[nodiscard]] uintptr_t Pointer() const noexcept {
return ExtractPointer(raw.load(std::memory_order_relaxed));
}
@@ -61,7 +61,7 @@ struct PageTable {
}
/// Returns the page pointer and attribute pair, extracted from the same atomic read
- [[nodiscard]] std::pair<u8*, PageType> PointerType() const noexcept {
+ [[nodiscard]] std::pair<uintptr_t, PageType> PointerType() const noexcept {
const uintptr_t non_atomic_raw = raw.load(std::memory_order_relaxed);
return {ExtractPointer(non_atomic_raw), ExtractType(non_atomic_raw)};
}
@@ -73,13 +73,13 @@ struct PageTable {
}
/// Write a page pointer and type pair atomically
- void Store(u8* pointer, PageType type) noexcept {
- raw.store(reinterpret_cast<uintptr_t>(pointer) | static_cast<uintptr_t>(type));
+ void Store(uintptr_t pointer, PageType type) noexcept {
+ raw.store(pointer | static_cast<uintptr_t>(type));
}
/// Unpack a pointer from a page info raw representation
- [[nodiscard]] static u8* ExtractPointer(uintptr_t raw) noexcept {
- return reinterpret_cast<u8*>(raw & (~uintptr_t{0} << ATTRIBUTE_BITS));
+ [[nodiscard]] static uintptr_t ExtractPointer(uintptr_t raw) noexcept {
+ return raw & (~uintptr_t{0} << ATTRIBUTE_BITS);
}
/// Unpack a page type from a page info raw representation
diff --git a/src/common/polyfill_thread.h b/src/common/polyfill_thread.h
index b5ef055db..41cbb9ed5 100644
--- a/src/common/polyfill_thread.h
+++ b/src/common/polyfill_thread.h
@@ -19,8 +19,8 @@
namespace Common {
template <typename Condvar, typename Lock, typename Pred>
-void CondvarWait(Condvar& cv, Lock& lock, std::stop_token token, Pred&& pred) {
- cv.wait(lock, token, std::move(pred));
+void CondvarWait(Condvar& cv, std::unique_lock<Lock>& lk, std::stop_token token, Pred&& pred) {
+ cv.wait(lk, token, std::move(pred));
}
template <typename Rep, typename Period>
@@ -332,13 +332,17 @@ private:
namespace Common {
template <typename Condvar, typename Lock, typename Pred>
-void CondvarWait(Condvar& cv, Lock& lock, std::stop_token token, Pred pred) {
+void CondvarWait(Condvar& cv, std::unique_lock<Lock>& lk, std::stop_token token, Pred pred) {
if (token.stop_requested()) {
return;
}
- std::stop_callback callback(token, [&] { cv.notify_all(); });
- cv.wait(lock, [&] { return pred() || token.stop_requested(); });
+ std::stop_callback callback(token, [&] {
+ { std::scoped_lock lk2{*lk.mutex()}; }
+ cv.notify_all();
+ });
+
+ cv.wait(lk, [&] { return pred() || token.stop_requested(); });
}
template <typename Rep, typename Period>
@@ -353,8 +357,10 @@ bool StoppableTimedWait(std::stop_token token, const std::chrono::duration<Rep,
std::stop_callback cb(token, [&] {
// Wake up the waiting thread.
- std::unique_lock lk{m};
- stop_requested = true;
+ {
+ std::scoped_lock lk{m};
+ stop_requested = true;
+ }
cv.notify_one();
});
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index d4e55f988..3fde3cae6 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -2,14 +2,22 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include <version>
+#include "common/settings_enums.h"
#if __cpp_lib_chrono >= 201907L
#include <chrono>
#include <exception>
#include <stdexcept>
#endif
+#include <compare>
+#include <cstddef>
+#include <filesystem>
+#include <functional>
#include <string_view>
+#include <type_traits>
+#include <fmt/core.h>
#include "common/assert.h"
+#include "common/fs/fs_util.h"
#include "common/fs/path_util.h"
#include "common/logging/log.h"
#include "common/settings.h"
@@ -17,11 +25,50 @@
namespace Settings {
+// Clang 14 and earlier have errors when explicitly instantiating these classes
+#ifndef CANNOT_EXPLICITLY_INSTANTIATE
+#define SETTING(TYPE, RANGED) template class Setting<TYPE, RANGED>
+#define SWITCHABLE(TYPE, RANGED) template class SwitchableSetting<TYPE, RANGED>
+
+SETTING(AudioEngine, false);
+SETTING(bool, false);
+SETTING(int, false);
+SETTING(std::string, false);
+SETTING(u16, false);
+SWITCHABLE(AnisotropyMode, true);
+SWITCHABLE(AntiAliasing, false);
+SWITCHABLE(AspectRatio, true);
+SWITCHABLE(AstcDecodeMode, true);
+SWITCHABLE(AstcRecompression, true);
+SWITCHABLE(AudioMode, true);
+SWITCHABLE(CpuAccuracy, true);
+SWITCHABLE(FullscreenMode, true);
+SWITCHABLE(GpuAccuracy, true);
+SWITCHABLE(Language, true);
+SWITCHABLE(NvdecEmulation, false);
+SWITCHABLE(Region, true);
+SWITCHABLE(RendererBackend, true);
+SWITCHABLE(ScalingFilter, false);
+SWITCHABLE(ShaderBackend, true);
+SWITCHABLE(TimeZone, true);
+SETTING(VSyncMode, true);
+SWITCHABLE(bool, false);
+SWITCHABLE(int, false);
+SWITCHABLE(int, true);
+SWITCHABLE(s64, false);
+SWITCHABLE(u16, true);
+SWITCHABLE(u32, false);
+SWITCHABLE(u8, false);
+SWITCHABLE(u8, true);
+
+#undef SETTING
+#undef SWITCHABLE
+#endif
+
Values values;
-static bool configuring_global = true;
-std::string GetTimeZoneString() {
- const auto time_zone_index = static_cast<std::size_t>(values.time_zone_index.GetValue());
+std::string GetTimeZoneString(TimeZone time_zone) {
+ const auto time_zone_index = static_cast<std::size_t>(time_zone);
ASSERT(time_zone_index < Common::TimeZone::GetTimeZoneStrings().size());
std::string location_name;
@@ -61,73 +108,39 @@ void LogSettings() {
};
LOG_INFO(Config, "yuzu Configuration:");
- log_setting("Controls_UseDockedMode", values.use_docked_mode.GetValue());
- log_setting("System_RngSeed", values.rng_seed.GetValue().value_or(0));
- log_setting("System_DeviceName", values.device_name.GetValue());
- log_setting("System_CurrentUser", values.current_user.GetValue());
- log_setting("System_LanguageIndex", values.language_index.GetValue());
- log_setting("System_RegionIndex", values.region_index.GetValue());
- log_setting("System_TimeZoneIndex", values.time_zone_index.GetValue());
- log_setting("System_UnsafeMemoryLayout", values.use_unsafe_extended_memory_layout.GetValue());
- log_setting("Core_UseMultiCore", values.use_multi_core.GetValue());
- log_setting("CPU_Accuracy", values.cpu_accuracy.GetValue());
- log_setting("Renderer_UseResolutionScaling", values.resolution_setup.GetValue());
- log_setting("Renderer_ScalingFilter", values.scaling_filter.GetValue());
- log_setting("Renderer_FSRSlider", values.fsr_sharpening_slider.GetValue());
- log_setting("Renderer_AntiAliasing", values.anti_aliasing.GetValue());
- log_setting("Renderer_UseSpeedLimit", values.use_speed_limit.GetValue());
- log_setting("Renderer_SpeedLimit", values.speed_limit.GetValue());
- log_setting("Renderer_UseDiskShaderCache", values.use_disk_shader_cache.GetValue());
- log_setting("Renderer_GPUAccuracyLevel", values.gpu_accuracy.GetValue());
- log_setting("Renderer_UseAsynchronousGpuEmulation",
- values.use_asynchronous_gpu_emulation.GetValue());
- log_setting("Renderer_NvdecEmulation", values.nvdec_emulation.GetValue());
- log_setting("Renderer_AccelerateASTC", values.accelerate_astc.GetValue());
- log_setting("Renderer_AsyncASTC", values.async_astc.GetValue());
- log_setting("Renderer_AstcRecompression", values.astc_recompression.GetValue());
- log_setting("Renderer_UseVsync", values.vsync_mode.GetValue());
- log_setting("Renderer_UseReactiveFlushing", values.use_reactive_flushing.GetValue());
- log_setting("Renderer_ShaderBackend", values.shader_backend.GetValue());
- log_setting("Renderer_UseAsynchronousShaders", values.use_asynchronous_shaders.GetValue());
- log_setting("Renderer_AnisotropicFilteringLevel", values.max_anisotropy.GetValue());
- log_setting("Audio_OutputEngine", values.sink_id.GetValue());
- log_setting("Audio_OutputDevice", values.audio_output_device_id.GetValue());
- log_setting("Audio_InputDevice", values.audio_input_device_id.GetValue());
- log_setting("DataStorage_UseVirtualSd", values.use_virtual_sd.GetValue());
+ for (auto& [category, settings] : values.linkage.by_category) {
+ for (const auto& setting : settings) {
+ if (setting->Id() == values.yuzu_token.Id()) {
+ // Hide the token secret, for security reasons.
+ continue;
+ }
+
+ const auto name = fmt::format(
+ "{:c}{:c} {}.{}", setting->ToString() == setting->DefaultToString() ? '-' : 'M',
+ setting->UsingGlobal() ? '-' : 'C', TranslateCategory(category),
+ setting->GetLabel());
+
+ log_setting(name, setting->Canonicalize());
+ }
+ }
log_path("DataStorage_CacheDir", Common::FS::GetYuzuPath(Common::FS::YuzuPath::CacheDir));
log_path("DataStorage_ConfigDir", Common::FS::GetYuzuPath(Common::FS::YuzuPath::ConfigDir));
log_path("DataStorage_LoadDir", Common::FS::GetYuzuPath(Common::FS::YuzuPath::LoadDir));
log_path("DataStorage_NANDDir", Common::FS::GetYuzuPath(Common::FS::YuzuPath::NANDDir));
log_path("DataStorage_SDMCDir", Common::FS::GetYuzuPath(Common::FS::YuzuPath::SDMCDir));
- log_setting("Debugging_ProgramArgs", values.program_args.GetValue());
- log_setting("Debugging_GDBStub", values.use_gdbstub.GetValue());
- log_setting("Input_EnableMotion", values.motion_enabled.GetValue());
- log_setting("Input_EnableVibration", values.vibration_enabled.GetValue());
- log_setting("Input_EnableTouch", values.touchscreen.enabled);
- log_setting("Input_EnableMouse", values.mouse_enabled.GetValue());
- log_setting("Input_EnableKeyboard", values.keyboard_enabled.GetValue());
- log_setting("Input_EnableRingController", values.enable_ring_controller.GetValue());
- log_setting("Input_EnableIrSensor", values.enable_ir_sensor.GetValue());
- log_setting("Input_EnableCustomJoycon", values.enable_joycon_driver.GetValue());
- log_setting("Input_EnableCustomProController", values.enable_procon_driver.GetValue());
- log_setting("Input_EnableRawInput", values.enable_raw_input.GetValue());
-}
-
-bool IsConfiguringGlobal() {
- return configuring_global;
}
-void SetConfiguringGlobal(bool is_global) {
- configuring_global = is_global;
+void UpdateGPUAccuracy() {
+ values.current_gpu_accuracy = values.gpu_accuracy.GetValue();
}
bool IsGPULevelExtreme() {
- return values.gpu_accuracy.GetValue() == GPUAccuracy::Extreme;
+ return values.current_gpu_accuracy == GpuAccuracy::Extreme;
}
bool IsGPULevelHigh() {
- return values.gpu_accuracy.GetValue() == GPUAccuracy::Extreme ||
- values.gpu_accuracy.GetValue() == GPUAccuracy::High;
+ return values.current_gpu_accuracy == GpuAccuracy::Extreme ||
+ values.current_gpu_accuracy == GpuAccuracy::High;
}
bool IsFastmemEnabled() {
@@ -137,6 +150,10 @@ bool IsFastmemEnabled() {
return true;
}
+bool IsDockedMode() {
+ return values.use_docked_mode.GetValue() == Settings::ConsoleMode::Docked;
+}
+
float Volume() {
if (values.audio_muted) {
return 0.0f;
@@ -144,9 +161,64 @@ float Volume() {
return values.volume.GetValue() / static_cast<f32>(values.volume.GetDefault());
}
-void UpdateRescalingInfo() {
- const auto setup = values.resolution_setup.GetValue();
- auto& info = values.resolution_info;
+const char* TranslateCategory(Category category) {
+ switch (category) {
+ case Category::Android:
+ return "Android";
+ case Category::Audio:
+ return "Audio";
+ case Category::Core:
+ return "Core";
+ case Category::Cpu:
+ case Category::CpuDebug:
+ case Category::CpuUnsafe:
+ return "Cpu";
+ case Category::Renderer:
+ case Category::RendererAdvanced:
+ case Category::RendererDebug:
+ return "Renderer";
+ case Category::System:
+ case Category::SystemAudio:
+ return "System";
+ case Category::DataStorage:
+ return "Data Storage";
+ case Category::Debugging:
+ case Category::DebuggingGraphics:
+ return "Debugging";
+ case Category::Miscellaneous:
+ return "Miscellaneous";
+ case Category::Network:
+ return "Network";
+ case Category::WebService:
+ return "WebService";
+ case Category::AddOns:
+ return "DisabledAddOns";
+ case Category::Controls:
+ return "Controls";
+ case Category::Ui:
+ case Category::UiGeneral:
+ return "UI";
+ case Category::UiLayout:
+ return "UiLayout";
+ case Category::UiGameList:
+ return "UiGameList";
+ case Category::Screenshots:
+ return "Screenshots";
+ case Category::Shortcuts:
+ return "Shortcuts";
+ case Category::Multiplayer:
+ return "Multiplayer";
+ case Category::Services:
+ return "Services";
+ case Category::Paths:
+ return "Paths";
+ case Category::MaxEnum:
+ break;
+ }
+ return "Miscellaneous";
+}
+
+void TranslateResolutionInfo(ResolutionSetup setup, ResolutionScalingInfo& info) {
info.downscale = false;
switch (setup) {
case ResolutionSetup::Res1_2X:
@@ -206,72 +278,31 @@ void UpdateRescalingInfo() {
info.active = info.up_scale != 1 || info.down_shift != 0;
}
+void UpdateRescalingInfo() {
+ const auto setup = values.resolution_setup.GetValue();
+ auto& info = values.resolution_info;
+ TranslateResolutionInfo(setup, info);
+}
+
void RestoreGlobalState(bool is_powered_on) {
// If a game is running, DO NOT restore the global settings state
if (is_powered_on) {
return;
}
- // Audio
- values.volume.SetGlobal(true);
-
- // Core
- values.use_multi_core.SetGlobal(true);
- values.use_unsafe_extended_memory_layout.SetGlobal(true);
-
- // CPU
- values.cpu_accuracy.SetGlobal(true);
- values.cpuopt_unsafe_unfuse_fma.SetGlobal(true);
- values.cpuopt_unsafe_reduce_fp_error.SetGlobal(true);
- values.cpuopt_unsafe_ignore_standard_fpcr.SetGlobal(true);
- values.cpuopt_unsafe_inaccurate_nan.SetGlobal(true);
- values.cpuopt_unsafe_fastmem_check.SetGlobal(true);
- values.cpuopt_unsafe_ignore_global_monitor.SetGlobal(true);
+ for (const auto& reset : values.linkage.restore_functions) {
+ reset();
+ }
+}
- // Renderer
- values.fsr_sharpening_slider.SetGlobal(true);
- values.renderer_backend.SetGlobal(true);
- values.async_presentation.SetGlobal(true);
- values.renderer_force_max_clock.SetGlobal(true);
- values.vulkan_device.SetGlobal(true);
- values.fullscreen_mode.SetGlobal(true);
- values.aspect_ratio.SetGlobal(true);
- values.resolution_setup.SetGlobal(true);
- values.scaling_filter.SetGlobal(true);
- values.anti_aliasing.SetGlobal(true);
- values.max_anisotropy.SetGlobal(true);
- values.use_speed_limit.SetGlobal(true);
- values.speed_limit.SetGlobal(true);
- values.use_disk_shader_cache.SetGlobal(true);
- values.gpu_accuracy.SetGlobal(true);
- values.use_asynchronous_gpu_emulation.SetGlobal(true);
- values.nvdec_emulation.SetGlobal(true);
- values.accelerate_astc.SetGlobal(true);
- values.async_astc.SetGlobal(true);
- values.astc_recompression.SetGlobal(true);
- values.use_reactive_flushing.SetGlobal(true);
- values.shader_backend.SetGlobal(true);
- values.use_asynchronous_shaders.SetGlobal(true);
- values.use_fast_gpu_time.SetGlobal(true);
- values.use_vulkan_driver_pipeline_cache.SetGlobal(true);
- values.bg_red.SetGlobal(true);
- values.bg_green.SetGlobal(true);
- values.bg_blue.SetGlobal(true);
- values.enable_compute_pipelines.SetGlobal(true);
- values.use_video_framerate.SetGlobal(true);
+static bool configuring_global = true;
- // System
- values.language_index.SetGlobal(true);
- values.region_index.SetGlobal(true);
- values.time_zone_index.SetGlobal(true);
- values.rng_seed.SetGlobal(true);
- values.sound_index.SetGlobal(true);
+bool IsConfiguringGlobal() {
+ return configuring_global;
+}
- // Controls
- values.players.SetGlobal(true);
- values.use_docked_mode.SetGlobal(true);
- values.vibration_enabled.SetGlobal(true);
- values.motion_enabled.SetGlobal(true);
+void SetConfiguringGlobal(bool is_global) {
+ configuring_global = is_global;
}
} // namespace Settings
diff --git a/src/common/settings.h b/src/common/settings.h
index 59e96e74f..98ab0ec2e 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -6,95 +6,21 @@
#include <algorithm>
#include <array>
#include <map>
-#include <optional>
+#include <memory>
+#include <stdexcept>
#include <string>
#include <utility>
#include <vector>
#include "common/common_types.h"
+#include "common/settings_common.h"
+#include "common/settings_enums.h"
#include "common/settings_input.h"
+#include "common/settings_setting.h"
namespace Settings {
-enum class VSyncMode : u32 {
- Immediate = 0,
- Mailbox = 1,
- FIFO = 2,
- FIFORelaxed = 3,
-};
-
-enum class RendererBackend : u32 {
- OpenGL = 0,
- Vulkan = 1,
- Null = 2,
-};
-
-enum class ShaderBackend : u32 {
- GLSL = 0,
- GLASM = 1,
- SPIRV = 2,
-};
-
-enum class GPUAccuracy : u32 {
- Normal = 0,
- High = 1,
- Extreme = 2,
-};
-
-enum class CPUAccuracy : u32 {
- Auto = 0,
- Accurate = 1,
- Unsafe = 2,
- Paranoid = 3,
-};
-
-enum class FullscreenMode : u32 {
- Borderless = 0,
- Exclusive = 1,
-};
-
-enum class NvdecEmulation : u32 {
- Off = 0,
- CPU = 1,
- GPU = 2,
-};
-
-enum class ResolutionSetup : u32 {
- Res1_2X = 0,
- Res3_4X = 1,
- Res1X = 2,
- Res3_2X = 3,
- Res2X = 4,
- Res3X = 5,
- Res4X = 6,
- Res5X = 7,
- Res6X = 8,
- Res7X = 9,
- Res8X = 10,
-};
-
-enum class ScalingFilter : u32 {
- NearestNeighbor = 0,
- Bilinear = 1,
- Bicubic = 2,
- Gaussian = 3,
- ScaleForce = 4,
- Fsr = 5,
- LastFilter = Fsr,
-};
-
-enum class AntiAliasing : u32 {
- None = 0,
- Fxaa = 1,
- Smaa = 2,
- LastAA = Smaa,
-};
-
-enum class AstcRecompression : u32 {
- Uncompressed = 0,
- Bc1 = 1,
- Bc3 = 2,
-};
+const char* TranslateCategory(Settings::Category category);
struct ResolutionScalingInfo {
u32 up_scale{1};
@@ -119,239 +45,47 @@ struct ResolutionScalingInfo {
}
};
-/** The Setting class is a simple resource manager. It defines a label and default value alongside
- * the actual value of the setting for simpler and less-error prone use with frontend
- * configurations. Specifying a default value and label is required. A minimum and maximum range can
- * be specified for sanitization.
- */
-template <typename Type, bool ranged = false>
-class Setting {
-protected:
- Setting() = default;
-
- /**
- * Only sets the setting to the given initializer, leaving the other members to their default
- * initializers.
- *
- * @param global_val Initial value of the setting
- */
- explicit Setting(const Type& val) : value{val} {}
-
-public:
- /**
- * Sets a default value, label, and setting value.
- *
- * @param default_val Initial value of the setting, and default value of the setting
- * @param name Label for the setting
- */
- explicit Setting(const Type& default_val, const std::string& name)
- requires(!ranged)
- : value{default_val}, default_value{default_val}, label{name} {}
- virtual ~Setting() = default;
-
- /**
- * Sets a default value, minimum value, maximum value, and label.
- *
- * @param default_val Initial value of the setting, and default value of the setting
- * @param min_val Sets the minimum allowed value of the setting
- * @param max_val Sets the maximum allowed value of the setting
- * @param name Label for the setting
- */
- explicit Setting(const Type& default_val, const Type& min_val, const Type& max_val,
- const std::string& name)
- requires(ranged)
- : value{default_val},
- default_value{default_val}, maximum{max_val}, minimum{min_val}, label{name} {}
-
- /**
- * Returns a reference to the setting's value.
- *
- * @returns A reference to the setting
- */
- [[nodiscard]] virtual const Type& GetValue() const {
- return value;
- }
-
- /**
- * Sets the setting to the given value.
- *
- * @param val The desired value
- */
- virtual void SetValue(const Type& val) {
- Type temp{ranged ? std::clamp(val, minimum, maximum) : val};
- std::swap(value, temp);
- }
-
- /**
- * Returns the value that this setting was created with.
- *
- * @returns A reference to the default value
- */
- [[nodiscard]] const Type& GetDefault() const {
- return default_value;
- }
-
- /**
- * Returns the label this setting was created with.
- *
- * @returns A reference to the label
- */
- [[nodiscard]] const std::string& GetLabel() const {
- return label;
- }
-
- /**
- * Assigns a value to the setting.
- *
- * @param val The desired setting value
- *
- * @returns A reference to the setting
- */
- virtual const Type& operator=(const Type& val) {
- Type temp{ranged ? std::clamp(val, minimum, maximum) : val};
- std::swap(value, temp);
- return value;
- }
-
- /**
- * Returns a reference to the setting.
- *
- * @returns A reference to the setting
- */
- explicit virtual operator const Type&() const {
- return value;
- }
-
-protected:
- Type value{}; ///< The setting
- const Type default_value{}; ///< The default value
- const Type maximum{}; ///< Maximum allowed value of the setting
- const Type minimum{}; ///< Minimum allowed value of the setting
- const std::string label{}; ///< The setting's label
-};
-
-/**
- * The SwitchableSetting class is a slightly more complex version of the Setting class. This adds a
- * custom setting to switch to when a guest application specifically requires it. The effect is that
- * other components of the emulator can access the setting's intended value without any need for the
- * component to ask whether the custom or global setting is needed at the moment.
- *
- * By default, the global setting is used.
- */
-template <typename Type, bool ranged = false>
-class SwitchableSetting : virtual public Setting<Type, ranged> {
-public:
- /**
- * Sets a default value, label, and setting value.
- *
- * @param default_val Initial value of the setting, and default value of the setting
- * @param name Label for the setting
- */
- explicit SwitchableSetting(const Type& default_val, const std::string& name)
- requires(!ranged)
- : Setting<Type>{default_val, name} {}
- virtual ~SwitchableSetting() = default;
-
- /**
- * Sets a default value, minimum value, maximum value, and label.
- *
- * @param default_val Initial value of the setting, and default value of the setting
- * @param min_val Sets the minimum allowed value of the setting
- * @param max_val Sets the maximum allowed value of the setting
- * @param name Label for the setting
- */
- explicit SwitchableSetting(const Type& default_val, const Type& min_val, const Type& max_val,
- const std::string& name)
- requires(ranged)
- : Setting<Type, true>{default_val, min_val, max_val, name} {}
-
- /**
- * Tells this setting to represent either the global or custom setting when other member
- * functions are used.
- *
- * @param to_global Whether to use the global or custom setting.
- */
- void SetGlobal(bool to_global) {
- use_global = to_global;
- }
-
- /**
- * Returns whether this setting is using the global setting or not.
- *
- * @returns The global state
- */
- [[nodiscard]] bool UsingGlobal() const {
- return use_global;
- }
-
- /**
- * Returns either the global or custom setting depending on the values of this setting's global
- * state or if the global value was specifically requested.
- *
- * @param need_global Request global value regardless of setting's state; defaults to false
- *
- * @returns The required value of the setting
- */
- [[nodiscard]] virtual const Type& GetValue() const override {
- if (use_global) {
- return this->value;
- }
- return custom;
- }
- [[nodiscard]] virtual const Type& GetValue(bool need_global) const {
- if (use_global || need_global) {
- return this->value;
- }
- return custom;
- }
-
- /**
- * Sets the current setting value depending on the global state.
- *
- * @param val The new value
- */
- void SetValue(const Type& val) override {
- Type temp{ranged ? std::clamp(val, this->minimum, this->maximum) : val};
- if (use_global) {
- std::swap(this->value, temp);
- } else {
- std::swap(custom, temp);
- }
- }
-
- /**
- * Assigns the current setting value depending on the global state.
- *
- * @param val The new value
- *
- * @returns A reference to the current setting value
- */
- const Type& operator=(const Type& val) override {
- Type temp{ranged ? std::clamp(val, this->minimum, this->maximum) : val};
- if (use_global) {
- std::swap(this->value, temp);
- return this->value;
- }
- std::swap(custom, temp);
- return custom;
- }
-
- /**
- * Returns the current setting value depending on the global state.
- *
- * @returns A reference to the current setting value
- */
- virtual explicit operator const Type&() const override {
- if (use_global) {
- return this->value;
- }
- return custom;
- }
-
-protected:
- bool use_global{true}; ///< The setting's global state
- Type custom{}; ///< The custom value of the setting
-};
+#ifndef CANNOT_EXPLICITLY_INSTANTIATE
+// Instantiate the classes elsewhere (settings.cpp) to reduce compiler/linker work
+#define SETTING(TYPE, RANGED) extern template class Setting<TYPE, RANGED>
+#define SWITCHABLE(TYPE, RANGED) extern template class SwitchableSetting<TYPE, RANGED>
+
+SETTING(AudioEngine, false);
+SETTING(bool, false);
+SETTING(int, false);
+SETTING(s32, false);
+SETTING(std::string, false);
+SETTING(std::string, false);
+SETTING(u16, false);
+SWITCHABLE(AnisotropyMode, true);
+SWITCHABLE(AntiAliasing, false);
+SWITCHABLE(AspectRatio, true);
+SWITCHABLE(AstcDecodeMode, true);
+SWITCHABLE(AstcRecompression, true);
+SWITCHABLE(AudioMode, true);
+SWITCHABLE(CpuAccuracy, true);
+SWITCHABLE(FullscreenMode, true);
+SWITCHABLE(GpuAccuracy, true);
+SWITCHABLE(Language, true);
+SWITCHABLE(NvdecEmulation, false);
+SWITCHABLE(Region, true);
+SWITCHABLE(RendererBackend, true);
+SWITCHABLE(ScalingFilter, false);
+SWITCHABLE(ShaderBackend, true);
+SWITCHABLE(TimeZone, true);
+SETTING(VSyncMode, true);
+SWITCHABLE(bool, false);
+SWITCHABLE(int, false);
+SWITCHABLE(int, true);
+SWITCHABLE(s64, false);
+SWITCHABLE(u16, true);
+SWITCHABLE(u32, false);
+SWITCHABLE(u8, false);
+SWITCHABLE(u8, true);
+
+#undef SETTING
+#undef SWITCHABLE
+#endif
/**
* The InputSetting class allows for getting a reference to either the global or custom members.
@@ -391,208 +125,399 @@ struct TouchFromButtonMap {
};
struct Values {
+ Linkage linkage{};
+
// Audio
- Setting<std::string> sink_id{"auto", "output_engine"};
- Setting<std::string> audio_output_device_id{"auto", "output_device"};
- Setting<std::string> audio_input_device_id{"auto", "input_device"};
- Setting<bool> audio_muted{false, "audio_muted"};
- SwitchableSetting<u8, true> volume{100, 0, 200, "volume"};
- Setting<bool> dump_audio_commands{false, "dump_audio_commands"};
+ Setting<AudioEngine> sink_id{linkage, AudioEngine::Auto, "output_engine", Category::Audio,
+ Specialization::RuntimeList};
+ Setting<std::string> audio_output_device_id{linkage, "auto", "output_device", Category::Audio,
+ Specialization::RuntimeList};
+ Setting<std::string> audio_input_device_id{linkage, "auto", "input_device", Category::Audio,
+ Specialization::RuntimeList};
+ SwitchableSetting<AudioMode, true> sound_index{
+ linkage, AudioMode::Stereo, AudioMode::Mono, AudioMode::Surround,
+ "sound_index", Category::SystemAudio, Specialization::Default, true,
+ true};
+ SwitchableSetting<u8, true> volume{linkage,
+ 100,
+ 0,
+ 200,
+ "volume",
+ Category::Audio,
+ Specialization::Scalar | Specialization::Percentage,
+ true,
+ true};
+ Setting<bool, false> audio_muted{
+ linkage, false, "audio_muted", Category::Audio, Specialization::Default, false, true};
+ Setting<bool, false> dump_audio_commands{
+ linkage, false, "dump_audio_commands", Category::Audio, Specialization::Default, false};
// Core
- SwitchableSetting<bool> use_multi_core{true, "use_multi_core"};
- SwitchableSetting<bool> use_unsafe_extended_memory_layout{false,
- "use_unsafe_extended_memory_layout"};
+ SwitchableSetting<bool> use_multi_core{linkage, true, "use_multi_core", 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,
+ 100,
+ 0,
+ 9999,
+ "speed_limit",
+ Category::Core,
+ Specialization::Countable | Specialization::Percentage,
+ true,
+ true,
+ &use_speed_limit};
// Cpu
- SwitchableSetting<CPUAccuracy, true> cpu_accuracy{CPUAccuracy::Auto, CPUAccuracy::Auto,
- CPUAccuracy::Paranoid, "cpu_accuracy"};
- // TODO: remove cpu_accuracy_first_time, migration setting added 8 July 2021
- Setting<bool> cpu_accuracy_first_time{true, "cpu_accuracy_first_time"};
- Setting<bool> cpu_debug_mode{false, "cpu_debug_mode"};
-
- Setting<bool> cpuopt_page_tables{true, "cpuopt_page_tables"};
- Setting<bool> cpuopt_block_linking{true, "cpuopt_block_linking"};
- Setting<bool> cpuopt_return_stack_buffer{true, "cpuopt_return_stack_buffer"};
- Setting<bool> cpuopt_fast_dispatcher{true, "cpuopt_fast_dispatcher"};
- Setting<bool> cpuopt_context_elimination{true, "cpuopt_context_elimination"};
- Setting<bool> cpuopt_const_prop{true, "cpuopt_const_prop"};
- Setting<bool> cpuopt_misc_ir{true, "cpuopt_misc_ir"};
- Setting<bool> cpuopt_reduce_misalign_checks{true, "cpuopt_reduce_misalign_checks"};
- Setting<bool> cpuopt_fastmem{true, "cpuopt_fastmem"};
- Setting<bool> cpuopt_fastmem_exclusives{true, "cpuopt_fastmem_exclusives"};
- Setting<bool> cpuopt_recompile_exclusives{true, "cpuopt_recompile_exclusives"};
- Setting<bool> cpuopt_ignore_memory_aborts{true, "cpuopt_ignore_memory_aborts"};
-
- SwitchableSetting<bool> cpuopt_unsafe_unfuse_fma{true, "cpuopt_unsafe_unfuse_fma"};
- SwitchableSetting<bool> cpuopt_unsafe_reduce_fp_error{true, "cpuopt_unsafe_reduce_fp_error"};
+ SwitchableSetting<CpuAccuracy, true> cpu_accuracy{linkage, CpuAccuracy::Auto,
+ CpuAccuracy::Auto, CpuAccuracy::Paranoid,
+ "cpu_accuracy", Category::Cpu};
+ Setting<bool> cpu_debug_mode{linkage, false, "cpu_debug_mode", Category::CpuDebug};
+
+ Setting<bool> cpuopt_page_tables{linkage, true, "cpuopt_page_tables", Category::CpuDebug};
+ Setting<bool> cpuopt_block_linking{linkage, true, "cpuopt_block_linking", Category::CpuDebug};
+ Setting<bool> cpuopt_return_stack_buffer{linkage, true, "cpuopt_return_stack_buffer",
+ Category::CpuDebug};
+ Setting<bool> cpuopt_fast_dispatcher{linkage, true, "cpuopt_fast_dispatcher",
+ Category::CpuDebug};
+ Setting<bool> cpuopt_context_elimination{linkage, true, "cpuopt_context_elimination",
+ Category::CpuDebug};
+ Setting<bool> cpuopt_const_prop{linkage, true, "cpuopt_const_prop", Category::CpuDebug};
+ Setting<bool> cpuopt_misc_ir{linkage, true, "cpuopt_misc_ir", Category::CpuDebug};
+ Setting<bool> cpuopt_reduce_misalign_checks{linkage, true, "cpuopt_reduce_misalign_checks",
+ Category::CpuDebug};
+ Setting<bool> cpuopt_fastmem{linkage, true, "cpuopt_fastmem", Category::CpuDebug};
+ Setting<bool> cpuopt_fastmem_exclusives{linkage, true, "cpuopt_fastmem_exclusives",
+ Category::CpuDebug};
+ Setting<bool> cpuopt_recompile_exclusives{linkage, true, "cpuopt_recompile_exclusives",
+ Category::CpuDebug};
+ Setting<bool> cpuopt_ignore_memory_aborts{linkage, true, "cpuopt_ignore_memory_aborts",
+ Category::CpuDebug};
+
+ SwitchableSetting<bool> cpuopt_unsafe_unfuse_fma{linkage, true, "cpuopt_unsafe_unfuse_fma",
+ Category::CpuUnsafe};
+ SwitchableSetting<bool> cpuopt_unsafe_reduce_fp_error{
+ linkage, true, "cpuopt_unsafe_reduce_fp_error", Category::CpuUnsafe};
SwitchableSetting<bool> cpuopt_unsafe_ignore_standard_fpcr{
- true, "cpuopt_unsafe_ignore_standard_fpcr"};
- SwitchableSetting<bool> cpuopt_unsafe_inaccurate_nan{true, "cpuopt_unsafe_inaccurate_nan"};
- SwitchableSetting<bool> cpuopt_unsafe_fastmem_check{true, "cpuopt_unsafe_fastmem_check"};
+ linkage, true, "cpuopt_unsafe_ignore_standard_fpcr", Category::CpuUnsafe};
+ SwitchableSetting<bool> cpuopt_unsafe_inaccurate_nan{
+ linkage, true, "cpuopt_unsafe_inaccurate_nan", Category::CpuUnsafe};
+ SwitchableSetting<bool> cpuopt_unsafe_fastmem_check{
+ linkage, true, "cpuopt_unsafe_fastmem_check", Category::CpuUnsafe};
SwitchableSetting<bool> cpuopt_unsafe_ignore_global_monitor{
- true, "cpuopt_unsafe_ignore_global_monitor"};
+ linkage, true, "cpuopt_unsafe_ignore_global_monitor", Category::CpuUnsafe};
// Renderer
SwitchableSetting<RendererBackend, true> renderer_backend{
- RendererBackend::Vulkan, RendererBackend::OpenGL, RendererBackend::Null, "backend"};
- SwitchableSetting<bool> async_presentation{false, "async_presentation"};
- SwitchableSetting<bool> renderer_force_max_clock{false, "force_max_clock"};
- Setting<bool> renderer_debug{false, "debug"};
- Setting<bool> renderer_shader_feedback{false, "shader_feedback"};
- Setting<bool> enable_nsight_aftermath{false, "nsight_aftermath"};
- Setting<bool> disable_shader_loop_safety_checks{false, "disable_shader_loop_safety_checks"};
- SwitchableSetting<int> vulkan_device{0, "vulkan_device"};
-
- ResolutionScalingInfo resolution_info{};
- SwitchableSetting<ResolutionSetup> resolution_setup{ResolutionSetup::Res1X, "resolution_setup"};
- SwitchableSetting<ScalingFilter> scaling_filter{ScalingFilter::Bilinear, "scaling_filter"};
- SwitchableSetting<int, true> fsr_sharpening_slider{25, 0, 200, "fsr_sharpening_slider"};
- SwitchableSetting<AntiAliasing> anti_aliasing{AntiAliasing::None, "anti_aliasing"};
+ linkage, RendererBackend::Vulkan, RendererBackend::OpenGL, RendererBackend::Null,
+ "backend", Category::Renderer};
+ SwitchableSetting<ShaderBackend, true> shader_backend{
+ linkage, ShaderBackend::Glsl, ShaderBackend::Glsl, ShaderBackend::SpirV,
+ "shader_backend", Category::Renderer, Specialization::RuntimeList};
+ SwitchableSetting<int> vulkan_device{linkage, 0, "vulkan_device", Category::Renderer,
+ Specialization::RuntimeList};
+
+ SwitchableSetting<bool> use_disk_shader_cache{linkage, true, "use_disk_shader_cache",
+ Category::Renderer};
+ SwitchableSetting<bool> use_asynchronous_gpu_emulation{
+ linkage, true, "use_asynchronous_gpu_emulation", Category::Renderer};
+ SwitchableSetting<AstcDecodeMode, true> accelerate_astc{linkage,
+ AstcDecodeMode::Gpu,
+ AstcDecodeMode::Cpu,
+ AstcDecodeMode::CpuAsynchronous,
+ "accelerate_astc",
+ Category::Renderer};
+ Setting<VSyncMode, true> vsync_mode{
+ linkage, VSyncMode::Fifo, VSyncMode::Immediate, VSyncMode::FifoRelaxed,
+ "use_vsync", Category::Renderer, Specialization::RuntimeList, true,
+ true};
+ SwitchableSetting<NvdecEmulation> nvdec_emulation{linkage, NvdecEmulation::Gpu,
+ "nvdec_emulation", Category::Renderer};
// *nix platforms may have issues with the borderless windowed fullscreen mode.
// Default to exclusive fullscreen on these platforms for now.
- SwitchableSetting<FullscreenMode, true> fullscreen_mode{
+ SwitchableSetting<FullscreenMode, true> fullscreen_mode{linkage,
#ifdef _WIN32
- FullscreenMode::Borderless,
+ FullscreenMode::Borderless,
#else
- FullscreenMode::Exclusive,
+ FullscreenMode::Exclusive,
#endif
- FullscreenMode::Borderless, FullscreenMode::Exclusive, "fullscreen_mode"};
- SwitchableSetting<int, true> aspect_ratio{0, 0, 4, "aspect_ratio"};
- SwitchableSetting<int, true> max_anisotropy{0, 0, 5, "max_anisotropy"};
- SwitchableSetting<bool> use_speed_limit{true, "use_speed_limit"};
- SwitchableSetting<u16, true> speed_limit{100, 0, 9999, "speed_limit"};
- SwitchableSetting<bool> use_disk_shader_cache{true, "use_disk_shader_cache"};
- SwitchableSetting<GPUAccuracy, true> gpu_accuracy{GPUAccuracy::High, GPUAccuracy::Normal,
- GPUAccuracy::Extreme, "gpu_accuracy"};
- SwitchableSetting<bool> use_asynchronous_gpu_emulation{true, "use_asynchronous_gpu_emulation"};
- SwitchableSetting<NvdecEmulation> nvdec_emulation{NvdecEmulation::GPU, "nvdec_emulation"};
- SwitchableSetting<bool> accelerate_astc{true, "accelerate_astc"};
- SwitchableSetting<bool> async_astc{false, "async_astc"};
- Setting<VSyncMode, true> vsync_mode{VSyncMode::FIFO, VSyncMode::Immediate,
- VSyncMode::FIFORelaxed, "use_vsync"};
- SwitchableSetting<bool> use_reactive_flushing{true, "use_reactive_flushing"};
- SwitchableSetting<ShaderBackend, true> shader_backend{ShaderBackend::GLSL, ShaderBackend::GLSL,
- ShaderBackend::SPIRV, "shader_backend"};
- SwitchableSetting<bool> use_asynchronous_shaders{false, "use_asynchronous_shaders"};
- SwitchableSetting<bool> use_fast_gpu_time{true, "use_fast_gpu_time"};
- SwitchableSetting<bool> use_vulkan_driver_pipeline_cache{true,
- "use_vulkan_driver_pipeline_cache"};
- SwitchableSetting<bool> enable_compute_pipelines{false, "enable_compute_pipelines"};
- SwitchableSetting<AstcRecompression, true> astc_recompression{
- AstcRecompression::Uncompressed, AstcRecompression::Uncompressed, AstcRecompression::Bc3,
- "astc_recompression"};
- SwitchableSetting<bool> use_video_framerate{false, "use_video_framerate"};
- SwitchableSetting<bool> barrier_feedback_loops{true, "barrier_feedback_loops"};
-
- SwitchableSetting<u8> bg_red{0, "bg_red"};
- SwitchableSetting<u8> bg_green{0, "bg_green"};
- SwitchableSetting<u8> bg_blue{0, "bg_blue"};
+ FullscreenMode::Borderless,
+ FullscreenMode::Exclusive,
+ "fullscreen_mode",
+ Category::Renderer,
+ Specialization::Default,
+ true,
+ true};
+ SwitchableSetting<AspectRatio, true> aspect_ratio{linkage,
+ AspectRatio::R16_9,
+ AspectRatio::R16_9,
+ AspectRatio::Stretch,
+ "aspect_ratio",
+ Category::Renderer,
+ Specialization::Default,
+ true,
+ true};
+
+ ResolutionScalingInfo resolution_info{};
+ SwitchableSetting<ResolutionSetup> resolution_setup{linkage, ResolutionSetup::Res1X,
+ "resolution_setup", Category::Renderer};
+ SwitchableSetting<ScalingFilter> scaling_filter{linkage,
+ ScalingFilter::Bilinear,
+ "scaling_filter",
+ Category::Renderer,
+ Specialization::Default,
+ true,
+ true};
+ SwitchableSetting<AntiAliasing> anti_aliasing{linkage,
+ AntiAliasing::None,
+ "anti_aliasing",
+ Category::Renderer,
+ Specialization::Default,
+ true,
+ true};
+ SwitchableSetting<int, true> fsr_sharpening_slider{linkage,
+ 25,
+ 0,
+ 200,
+ "fsr_sharpening_slider",
+ Category::Renderer,
+ Specialization::Scalar |
+ Specialization::Percentage,
+ true,
+ true};
+
+ SwitchableSetting<u8, false> bg_red{
+ linkage, 0, "bg_red", Category::Renderer, Specialization::Default, true, true};
+ SwitchableSetting<u8, false> bg_green{
+ linkage, 0, "bg_green", Category::Renderer, Specialization::Default, true, true};
+ SwitchableSetting<u8, false> bg_blue{
+ linkage, 0, "bg_blue", Category::Renderer, Specialization::Default, true, true};
+
+ SwitchableSetting<GpuAccuracy, true> gpu_accuracy{linkage,
+ GpuAccuracy::High,
+ GpuAccuracy::Normal,
+ GpuAccuracy::Extreme,
+ "gpu_accuracy",
+ Category::RendererAdvanced,
+ Specialization::Default,
+ true,
+ true};
+ GpuAccuracy current_gpu_accuracy{GpuAccuracy::High};
+ SwitchableSetting<AnisotropyMode, true> max_anisotropy{
+ linkage, AnisotropyMode::Automatic, AnisotropyMode::Automatic, AnisotropyMode::X16,
+ "max_anisotropy", Category::RendererAdvanced};
+ SwitchableSetting<AstcRecompression, true> astc_recompression{linkage,
+ AstcRecompression::Uncompressed,
+ AstcRecompression::Uncompressed,
+ AstcRecompression::Bc3,
+ "astc_recompression",
+ Category::RendererAdvanced};
+ SwitchableSetting<bool> async_presentation{linkage, false, "async_presentation",
+ Category::RendererAdvanced};
+ SwitchableSetting<bool> renderer_force_max_clock{linkage, false, "force_max_clock",
+ Category::RendererAdvanced};
+ SwitchableSetting<bool> use_reactive_flushing{linkage, true, "use_reactive_flushing",
+ Category::RendererAdvanced};
+ SwitchableSetting<bool> use_asynchronous_shaders{linkage, false, "use_asynchronous_shaders",
+ Category::RendererAdvanced};
+ SwitchableSetting<bool> use_fast_gpu_time{
+ linkage, true, "use_fast_gpu_time", Category::RendererAdvanced, Specialization::Default,
+ true, true};
+ SwitchableSetting<bool> use_vulkan_driver_pipeline_cache{linkage,
+ true,
+ "use_vulkan_driver_pipeline_cache",
+ Category::RendererAdvanced,
+ Specialization::Default,
+ true,
+ true};
+ SwitchableSetting<bool> enable_compute_pipelines{linkage, false, "enable_compute_pipelines",
+ Category::RendererAdvanced};
+ SwitchableSetting<bool> use_video_framerate{linkage, false, "use_video_framerate",
+ Category::RendererAdvanced};
+ SwitchableSetting<bool> barrier_feedback_loops{linkage, true, "barrier_feedback_loops",
+ Category::RendererAdvanced};
+
+ Setting<bool> renderer_debug{linkage, false, "debug", Category::RendererDebug};
+ Setting<bool> renderer_shader_feedback{linkage, false, "shader_feedback",
+ Category::RendererDebug};
+ Setting<bool> enable_nsight_aftermath{linkage, false, "nsight_aftermath",
+ Category::RendererDebug};
+ Setting<bool> disable_shader_loop_safety_checks{
+ linkage, false, "disable_shader_loop_safety_checks", Category::RendererDebug};
+ Setting<bool> enable_renderdoc_hotkey{linkage, false, "renderdoc_hotkey",
+ Category::RendererDebug};
+ // TODO: remove this once AMDVLK supports VK_EXT_depth_bias_control
+ bool renderer_amdvlk_depth_bias_workaround{};
// System
- SwitchableSetting<std::optional<u32>> rng_seed{std::optional<u32>(), "rng_seed"};
- Setting<std::string> device_name{"Yuzu", "device_name"};
+ SwitchableSetting<Language, true> language_index{linkage,
+ Language::EnglishAmerican,
+ Language::Japanese,
+ Language::PortugueseBrazilian,
+ "language_index",
+ Category::System};
+ SwitchableSetting<Region, true> region_index{linkage, Region::Usa, Region::Japan,
+ Region::Taiwan, "region_index", Category::System};
+ SwitchableSetting<TimeZone, true> time_zone_index{linkage, TimeZone::Auto,
+ TimeZone::Auto, TimeZone::Zulu,
+ "time_zone_index", Category::System};
// Measured in seconds since epoch
- std::optional<s64> custom_rtc;
+ SwitchableSetting<bool> custom_rtc_enabled{
+ linkage, false, "custom_rtc_enabled", Category::System, Specialization::Paired, true, true};
+ SwitchableSetting<s64> custom_rtc{
+ linkage, 0, "custom_rtc", Category::System, Specialization::Time,
+ true, true, &custom_rtc_enabled};
// Set on game boot, reset on stop. Seconds difference between current time and `custom_rtc`
s64 custom_rtc_differential;
-
- Setting<s32> current_user{0, "current_user"};
- SwitchableSetting<s32, true> language_index{1, 0, 17, "language_index"};
- SwitchableSetting<s32, true> region_index{1, 0, 6, "region_index"};
- SwitchableSetting<s32, true> time_zone_index{0, 0, 45, "time_zone_index"};
- SwitchableSetting<s32, true> sound_index{1, 0, 2, "sound_index"};
+ SwitchableSetting<bool> rng_seed_enabled{
+ linkage, false, "rng_seed_enabled", Category::System, Specialization::Paired, true, true};
+ SwitchableSetting<u32> rng_seed{
+ linkage, 0, "rng_seed", Category::System, Specialization::Hex,
+ true, true, &rng_seed_enabled};
+ Setting<std::string> device_name{
+ linkage, "yuzu", "device_name", Category::System, Specialization::Default, true, true};
+
+ Setting<s32> current_user{linkage, 0, "current_user", Category::System};
+
+ SwitchableSetting<ConsoleMode> use_docked_mode{linkage,
+ ConsoleMode::Docked,
+ "use_docked_mode",
+ Category::System,
+ Specialization::Radio,
+ true,
+ true};
// Controls
InputSetting<std::array<PlayerInput, 10>> players;
- SwitchableSetting<bool> use_docked_mode{true, "use_docked_mode"};
-
- Setting<bool> enable_raw_input{false, "enable_raw_input"};
- Setting<bool> controller_navigation{true, "controller_navigation"};
- Setting<bool> enable_joycon_driver{true, "enable_joycon_driver"};
- Setting<bool> enable_procon_driver{false, "enable_procon_driver"};
-
- SwitchableSetting<bool> vibration_enabled{true, "vibration_enabled"};
- SwitchableSetting<bool> enable_accurate_vibrations{false, "enable_accurate_vibrations"};
-
- SwitchableSetting<bool> motion_enabled{true, "motion_enabled"};
- Setting<std::string> udp_input_servers{"127.0.0.1:26760", "udp_input_servers"};
- Setting<bool> enable_udp_controller{false, "enable_udp_controller"};
-
- Setting<bool> pause_tas_on_load{true, "pause_tas_on_load"};
- Setting<bool> tas_enable{false, "tas_enable"};
- Setting<bool> tas_loop{false, "tas_loop"};
-
- Setting<bool> mouse_panning{false, "mouse_panning"};
- Setting<u8, true> mouse_panning_x_sensitivity{50, 1, 100, "mouse_panning_x_sensitivity"};
- Setting<u8, true> mouse_panning_y_sensitivity{50, 1, 100, "mouse_panning_y_sensitivity"};
- Setting<u8, true> mouse_panning_deadzone_counterweight{20, 0, 100,
- "mouse_panning_deadzone_counterweight"};
- Setting<u8, true> mouse_panning_decay_strength{18, 0, 100, "mouse_panning_decay_strength"};
- Setting<u8, true> mouse_panning_min_decay{6, 0, 100, "mouse_panning_min_decay"};
-
- Setting<bool> mouse_enabled{false, "mouse_enabled"};
- Setting<bool> emulate_analog_keyboard{false, "emulate_analog_keyboard"};
- Setting<bool> keyboard_enabled{false, "keyboard_enabled"};
-
- Setting<bool> debug_pad_enabled{false, "debug_pad_enabled"};
+ Setting<bool> enable_raw_input{
+ linkage, false, "enable_raw_input", Category::Controls, Specialization::Default,
+// Only read/write enable_raw_input on Windows platforms
+#ifdef _WIN32
+ true
+#else
+ false
+#endif
+ };
+ Setting<bool> controller_navigation{linkage, true, "controller_navigation", Category::Controls};
+ Setting<bool> enable_joycon_driver{linkage, true, "enable_joycon_driver", Category::Controls};
+ Setting<bool> enable_procon_driver{linkage, false, "enable_procon_driver", Category::Controls};
+
+ SwitchableSetting<bool> vibration_enabled{linkage, true, "vibration_enabled",
+ Category::Controls};
+ SwitchableSetting<bool> enable_accurate_vibrations{linkage, false, "enable_accurate_vibrations",
+ Category::Controls};
+
+ SwitchableSetting<bool> motion_enabled{linkage, true, "motion_enabled", Category::Controls};
+ Setting<std::string> udp_input_servers{linkage, "127.0.0.1:26760", "udp_input_servers",
+ Category::Controls};
+ Setting<bool> enable_udp_controller{linkage, false, "enable_udp_controller",
+ Category::Controls};
+
+ Setting<bool> pause_tas_on_load{linkage, true, "pause_tas_on_load", Category::Controls};
+ Setting<bool> tas_enable{linkage, false, "tas_enable", Category::Controls};
+ Setting<bool> tas_loop{linkage, false, "tas_loop", Category::Controls};
+
+ Setting<bool> mouse_panning{
+ linkage, false, "mouse_panning", Category::Controls, Specialization::Default, false};
+ Setting<u8, true> mouse_panning_sensitivity{
+ linkage, 50, 1, 100, "mouse_panning_sensitivity", Category::Controls};
+ Setting<bool> mouse_enabled{linkage, false, "mouse_enabled", Category::Controls};
+
+ Setting<u8, true> mouse_panning_x_sensitivity{
+ linkage, 50, 1, 100, "mouse_panning_x_sensitivity", Category::Controls};
+ Setting<u8, true> mouse_panning_y_sensitivity{
+ linkage, 50, 1, 100, "mouse_panning_y_sensitivity", Category::Controls};
+ Setting<u8, true> mouse_panning_deadzone_counterweight{
+ linkage, 20, 0, 100, "mouse_panning_deadzone_counterweight", Category::Controls};
+ Setting<u8, true> mouse_panning_decay_strength{
+ linkage, 18, 0, 100, "mouse_panning_decay_strength", Category::Controls};
+ Setting<u8, true> mouse_panning_min_decay{
+ linkage, 6, 0, 100, "mouse_panning_min_decay", Category::Controls};
+
+ Setting<bool> emulate_analog_keyboard{linkage, false, "emulate_analog_keyboard",
+ Category::Controls};
+ Setting<bool> keyboard_enabled{linkage, false, "keyboard_enabled", Category::Controls};
+
+ Setting<bool> debug_pad_enabled{linkage, false, "debug_pad_enabled", Category::Controls};
ButtonsRaw debug_pad_buttons;
AnalogsRaw debug_pad_analogs;
TouchscreenInput touchscreen;
- Setting<std::string> touch_device{"min_x:100,min_y:50,max_x:1800,max_y:850", "touch_device"};
- Setting<int> touch_from_button_map_index{0, "touch_from_button_map"};
+ Setting<std::string> touch_device{linkage, "min_x:100,min_y:50,max_x:1800,max_y:850",
+ "touch_device", Category::Controls};
+ Setting<int> touch_from_button_map_index{linkage, 0, "touch_from_button_map",
+ Category::Controls};
std::vector<TouchFromButtonMap> touch_from_button_maps;
- Setting<bool> enable_ring_controller{true, "enable_ring_controller"};
+ Setting<bool> enable_ring_controller{linkage, true, "enable_ring_controller",
+ Category::Controls};
RingconRaw ringcon_analogs;
- Setting<bool> enable_ir_sensor{false, "enable_ir_sensor"};
- Setting<std::string> ir_sensor_device{"auto", "ir_sensor_device"};
+ Setting<bool> enable_ir_sensor{linkage, false, "enable_ir_sensor", Category::Controls};
+ Setting<std::string> ir_sensor_device{linkage, "auto", "ir_sensor_device", Category::Controls};
- Setting<bool> random_amiibo_id{false, "random_amiibo_id"};
+ Setting<bool> random_amiibo_id{linkage, false, "random_amiibo_id", Category::Controls};
// Data Storage
- Setting<bool> use_virtual_sd{true, "use_virtual_sd"};
- Setting<bool> gamecard_inserted{false, "gamecard_inserted"};
- Setting<bool> gamecard_current_game{false, "gamecard_current_game"};
- Setting<std::string> gamecard_path{std::string(), "gamecard_path"};
+ Setting<bool> use_virtual_sd{linkage, true, "use_virtual_sd", Category::DataStorage};
+ Setting<bool> gamecard_inserted{linkage, false, "gamecard_inserted", Category::DataStorage};
+ Setting<bool> gamecard_current_game{linkage, false, "gamecard_current_game",
+ Category::DataStorage};
+ Setting<std::string> gamecard_path{linkage, std::string(), "gamecard_path",
+ Category::DataStorage};
// Debugging
bool record_frame_times;
- Setting<bool> use_gdbstub{false, "use_gdbstub"};
- Setting<u16> gdbstub_port{6543, "gdbstub_port"};
- Setting<std::string> program_args{std::string(), "program_args"};
- Setting<bool> dump_exefs{false, "dump_exefs"};
- Setting<bool> dump_nso{false, "dump_nso"};
- Setting<bool> dump_shaders{false, "dump_shaders"};
- Setting<bool> dump_macros{false, "dump_macros"};
- Setting<bool> enable_fs_access_log{false, "enable_fs_access_log"};
- Setting<bool> reporting_services{false, "reporting_services"};
- Setting<bool> quest_flag{false, "quest_flag"};
- Setting<bool> disable_macro_jit{false, "disable_macro_jit"};
- Setting<bool> disable_macro_hle{false, "disable_macro_hle"};
- Setting<bool> extended_logging{false, "extended_logging"};
- Setting<bool> use_debug_asserts{false, "use_debug_asserts"};
- Setting<bool> use_auto_stub{false, "use_auto_stub"};
- Setting<bool> enable_all_controllers{false, "enable_all_controllers"};
- Setting<bool> create_crash_dumps{false, "create_crash_dumps"};
- Setting<bool> perform_vulkan_check{true, "perform_vulkan_check"};
+ Setting<bool> use_gdbstub{linkage, false, "use_gdbstub", Category::Debugging};
+ Setting<u16> gdbstub_port{linkage, 6543, "gdbstub_port", Category::Debugging};
+ Setting<std::string> program_args{linkage, std::string(), "program_args", Category::Debugging};
+ Setting<bool> dump_exefs{linkage, false, "dump_exefs", Category::Debugging};
+ Setting<bool> dump_nso{linkage, false, "dump_nso", Category::Debugging};
+ Setting<bool> dump_shaders{
+ linkage, false, "dump_shaders", Category::DebuggingGraphics, Specialization::Default,
+ false};
+ Setting<bool> dump_macros{
+ linkage, false, "dump_macros", Category::DebuggingGraphics, Specialization::Default, false};
+ Setting<bool> enable_fs_access_log{linkage, false, "enable_fs_access_log", Category::Debugging};
+ Setting<bool> reporting_services{
+ linkage, false, "reporting_services", Category::Debugging, Specialization::Default, false};
+ Setting<bool> quest_flag{linkage, false, "quest_flag", Category::Debugging};
+ Setting<bool> disable_macro_jit{linkage, false, "disable_macro_jit",
+ Category::DebuggingGraphics};
+ Setting<bool> disable_macro_hle{linkage, false, "disable_macro_hle",
+ Category::DebuggingGraphics};
+ Setting<bool> extended_logging{
+ linkage, false, "extended_logging", Category::Debugging, Specialization::Default, false};
+ Setting<bool> use_debug_asserts{linkage, false, "use_debug_asserts", Category::Debugging};
+ Setting<bool> use_auto_stub{
+ linkage, false, "use_auto_stub", Category::Debugging, Specialization::Default, false};
+ Setting<bool> enable_all_controllers{linkage, false, "enable_all_controllers",
+ Category::Debugging};
+ Setting<bool> create_crash_dumps{linkage, false, "create_crash_dumps", Category::Debugging};
+ Setting<bool> perform_vulkan_check{linkage, true, "perform_vulkan_check", Category::Debugging};
// Miscellaneous
- Setting<std::string> log_filter{"*:Info", "log_filter"};
- Setting<bool> use_dev_keys{false, "use_dev_keys"};
+ Setting<std::string> log_filter{linkage, "*:Info", "log_filter", Category::Miscellaneous};
+ Setting<bool> use_dev_keys{linkage, false, "use_dev_keys", Category::Miscellaneous};
// Network
- Setting<std::string> network_interface{std::string(), "network_interface"};
+ Setting<std::string> network_interface{linkage, std::string(), "network_interface",
+ Category::Network};
// WebService
- Setting<bool> enable_telemetry{true, "enable_telemetry"};
- Setting<std::string> web_api_url{"https://api.yuzu-emu.org", "web_api_url"};
- Setting<std::string> yuzu_username{std::string(), "yuzu_username"};
- Setting<std::string> yuzu_token{std::string(), "yuzu_token"};
+ Setting<bool> enable_telemetry{linkage, true, "enable_telemetry", Category::WebService};
+ Setting<std::string> web_api_url{linkage, "https://api.yuzu-emu.org", "web_api_url",
+ Category::WebService};
+ Setting<std::string> yuzu_username{linkage, std::string(), "yuzu_username",
+ Category::WebService};
+ Setting<std::string> yuzu_token{linkage, std::string(), "yuzu_token", Category::WebService};
// Add-Ons
std::map<u64, std::vector<std::string>> disabled_addons;
@@ -600,23 +525,27 @@ struct Values {
extern Values values;
-bool IsConfiguringGlobal();
-void SetConfiguringGlobal(bool is_global);
-
+void UpdateGPUAccuracy();
bool IsGPULevelExtreme();
bool IsGPULevelHigh();
bool IsFastmemEnabled();
+bool IsDockedMode();
+
float Volume();
-std::string GetTimeZoneString();
+std::string GetTimeZoneString(TimeZone time_zone);
void LogSettings();
+void TranslateResolutionInfo(ResolutionSetup setup, ResolutionScalingInfo& info);
void UpdateRescalingInfo();
// Restore the global state of all applicable settings in the Values struct
void RestoreGlobalState(bool is_powered_on);
+bool IsConfiguringGlobal();
+void SetConfiguringGlobal(bool is_global);
+
} // namespace Settings
diff --git a/src/common/settings_common.cpp b/src/common/settings_common.cpp
new file mode 100644
index 000000000..5960b78aa
--- /dev/null
+++ b/src/common/settings_common.cpp
@@ -0,0 +1,61 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include <functional>
+#include <string>
+#include <vector>
+#include "common/settings_common.h"
+
+namespace Settings {
+
+BasicSetting::BasicSetting(Linkage& linkage, const std::string& name, enum Category category_,
+ bool save_, bool runtime_modifiable_, u32 specialization_,
+ BasicSetting* other_setting_)
+ : label{name}, category{category_}, id{linkage.count}, save{save_},
+ runtime_modifiable{runtime_modifiable_}, specialization{specialization_},
+ other_setting{other_setting_} {
+ linkage.by_key.insert({name, this});
+ linkage.by_category[category].push_back(this);
+ linkage.count++;
+}
+
+BasicSetting::~BasicSetting() = default;
+
+std::string BasicSetting::ToStringGlobal() const {
+ return this->ToString();
+}
+
+bool BasicSetting::UsingGlobal() const {
+ return true;
+}
+
+void BasicSetting::SetGlobal(bool global) {}
+
+bool BasicSetting::Save() const {
+ return save;
+}
+
+bool BasicSetting::RuntimeModfiable() const {
+ return runtime_modifiable;
+}
+
+Category BasicSetting::GetCategory() const {
+ return category;
+}
+
+u32 BasicSetting::Specialization() const {
+ return specialization;
+}
+
+BasicSetting* BasicSetting::PairedSetting() const {
+ return other_setting;
+}
+
+const std::string& BasicSetting::GetLabel() const {
+ return label;
+}
+
+Linkage::Linkage(u32 initial_count) : count{initial_count} {}
+Linkage::~Linkage() = default;
+
+} // namespace Settings
diff --git a/src/common/settings_common.h b/src/common/settings_common.h
new file mode 100644
index 000000000..1800ab10d
--- /dev/null
+++ b/src/common/settings_common.h
@@ -0,0 +1,269 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <functional>
+#include <map>
+#include <string>
+#include <typeindex>
+#include "common/common_types.h"
+
+namespace Settings {
+
+enum class Category : u32 {
+ Android,
+ Audio,
+ Core,
+ Cpu,
+ CpuDebug,
+ CpuUnsafe,
+ Renderer,
+ RendererAdvanced,
+ RendererDebug,
+ System,
+ SystemAudio,
+ DataStorage,
+ Debugging,
+ DebuggingGraphics,
+ Miscellaneous,
+ Network,
+ WebService,
+ AddOns,
+ Controls,
+ Ui,
+ UiGeneral,
+ UiLayout,
+ UiGameList,
+ Screenshots,
+ Shortcuts,
+ Multiplayer,
+ Services,
+ Paths,
+ MaxEnum,
+};
+
+constexpr u8 SpecializationTypeMask = 0xf;
+constexpr u8 SpecializationAttributeMask = 0xf0;
+constexpr u8 SpecializationAttributeOffset = 4;
+
+// Scalar and countable could have better names
+enum Specialization : u8 {
+ Default = 0,
+ Time = 1, // Duration or specific moment in time
+ Hex = 2, // Hexadecimal number
+ List = 3, // Setting has specific members
+ RuntimeList = 4, // Members of the list are determined during runtime
+ Scalar = 5, // Values are continuous
+ Countable = 6, // Can be stepped through
+ Paired = 7, // Another setting is associated with this setting
+ Radio = 8, // Setting should be presented in a radio group
+
+ Percentage = (1 << SpecializationAttributeOffset), // Should be represented as a percentage
+};
+
+class BasicSetting;
+
+class Linkage {
+public:
+ explicit Linkage(u32 initial_count = 0);
+ ~Linkage();
+ std::map<Category, std::vector<BasicSetting*>> by_category{};
+ std::map<std::string, Settings::BasicSetting*> by_key{};
+ std::vector<std::function<void()>> restore_functions{};
+ u32 count;
+};
+
+/**
+ * BasicSetting is an abstract class that only keeps track of metadata. The string methods are
+ * available to get data values out.
+ */
+class BasicSetting {
+protected:
+ explicit BasicSetting(Linkage& linkage, const std::string& name, Category category_, bool save_,
+ bool runtime_modifiable_, u32 specialization,
+ BasicSetting* other_setting);
+
+public:
+ virtual ~BasicSetting();
+
+ /*
+ * Data retrieval
+ */
+
+ /**
+ * Returns a string representation of the internal data. If the Setting is Switchable, it
+ * respects the internal global state: it is based on GetValue().
+ *
+ * @returns A string representation of the internal data.
+ */
+ [[nodiscard]] virtual std::string ToString() const = 0;
+
+ /**
+ * Returns a string representation of the global version of internal data. If the Setting is
+ * not Switchable, it behaves like ToString.
+ *
+ * @returns A string representation of the global version of internal data.
+ */
+ [[nodiscard]] virtual std::string ToStringGlobal() const;
+
+ /**
+ * @returns A string representation of the Setting's default value.
+ */
+ [[nodiscard]] virtual std::string DefaultToString() const = 0;
+
+ /**
+ * Returns a string representation of the minimum value of the setting. If the Setting is not
+ * ranged, the string represents the default initialization of the data type.
+ *
+ * @returns A string representation of the minimum value of the setting.
+ */
+ [[nodiscard]] virtual std::string MinVal() const = 0;
+
+ /**
+ * Returns a string representation of the maximum value of the setting. If the Setting is not
+ * ranged, the string represents the default initialization of the data type.
+ *
+ * @returns A string representation of the maximum value of the setting.
+ */
+ [[nodiscard]] virtual std::string MaxVal() const = 0;
+
+ /**
+ * Takes a string input, converts it to the internal data type if necessary, and then runs
+ * SetValue with it.
+ *
+ * @param load String of the input data.
+ */
+ virtual void LoadString(const std::string& load) = 0;
+
+ /**
+ * Returns a string representation of the data. If the data is an enum, it returns a string of
+ * the enum value. If the internal data type is not an enum, this is equivalent to ToString.
+ *
+ * e.g. renderer_backend.Canonicalize() == "OpenGL"
+ *
+ * @returns Canonicalized string representation of the internal data
+ */
+ [[nodiscard]] virtual std::string Canonicalize() const = 0;
+
+ /*
+ * Metadata
+ */
+
+ /**
+ * @returns A unique identifier for the Setting's internal data type.
+ */
+ [[nodiscard]] virtual std::type_index TypeId() const = 0;
+
+ /**
+ * Returns true if the Setting's internal data type is an enum.
+ *
+ * @returns True if the Setting's internal data type is an enum
+ */
+ [[nodiscard]] virtual constexpr bool IsEnum() const = 0;
+
+ /**
+ * Returns true if the current setting is Switchable.
+ *
+ * @returns If the setting is a SwitchableSetting
+ */
+ [[nodiscard]] virtual constexpr bool Switchable() const {
+ return false;
+ }
+
+ /**
+ * Returns true to suggest that a frontend can read or write the setting to a configuration
+ * file.
+ *
+ * @returns The save preference
+ */
+ [[nodiscard]] bool Save() const;
+
+ /**
+ * @returns true if the current setting can be changed while the guest is running.
+ */
+ [[nodiscard]] bool RuntimeModfiable() const;
+
+ /**
+ * @returns A unique number corresponding to the setting.
+ */
+ [[nodiscard]] constexpr u32 Id() const {
+ return id;
+ }
+
+ /**
+ * Returns the setting's category AKA INI group.
+ *
+ * @returns The setting's category
+ */
+ [[nodiscard]] Category GetCategory() const;
+
+ /**
+ * @returns Extra metadata for data representation in frontend implementations.
+ */
+ [[nodiscard]] u32 Specialization() const;
+
+ /**
+ * @returns Another BasicSetting if one is paired, or nullptr otherwise.
+ */
+ [[nodiscard]] BasicSetting* PairedSetting() const;
+
+ /**
+ * Returns the label this setting was created with.
+ *
+ * @returns A reference to the label
+ */
+ [[nodiscard]] const std::string& GetLabel() const;
+
+ /**
+ * @returns If the Setting checks input values for valid ranges.
+ */
+ [[nodiscard]] virtual constexpr bool Ranged() const = 0;
+
+ /**
+ * @returns The index of the enum if the underlying setting type is an enum, else max of u32.
+ */
+ [[nodiscard]] virtual constexpr u32 EnumIndex() const = 0;
+
+ /**
+ * @returns True if the underlying type is a floating point storage
+ */
+ [[nodiscard]] virtual constexpr bool IsFloatingPoint() const = 0;
+
+ /**
+ * @returns True if the underlying type is an integer storage
+ */
+ [[nodiscard]] virtual constexpr bool IsIntegral() const = 0;
+
+ /*
+ * Switchable settings
+ */
+
+ /**
+ * Sets a setting's global state. True means use the normal setting, false to use a custom
+ * value. Has no effect if the Setting is not Switchable.
+ *
+ * @param global The desired state
+ */
+ virtual void SetGlobal(bool global);
+
+ /**
+ * Returns true if the setting is using the normal setting value. Always true if the setting is
+ * not Switchable.
+ *
+ * @returns The Setting's global state
+ */
+ [[nodiscard]] virtual bool UsingGlobal() const;
+
+private:
+ const std::string label; ///< The setting's label
+ const Category category; ///< The setting's category AKA INI group
+ const u32 id; ///< Unique integer for the setting
+ const bool save; ///< Suggests if the setting should be saved and read to a frontend config
+ const bool
+ runtime_modifiable; ///< Suggests if the setting can be modified while a guest is running
+ const u32 specialization; ///< Extra data to identify representation of a setting
+ BasicSetting* const other_setting; ///< A paired setting
+};
+
+} // namespace Settings
diff --git a/src/common/settings_enums.h b/src/common/settings_enums.h
new file mode 100644
index 000000000..815cafe15
--- /dev/null
+++ b/src/common/settings_enums.h
@@ -0,0 +1,216 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <string>
+#include <utility>
+#include <vector>
+#include "common/common_types.h"
+
+namespace Settings {
+
+template <typename T>
+struct EnumMetadata {
+ static std::vector<std::pair<std::string, T>> Canonicalizations();
+ static u32 Index();
+};
+
+#define PAIR_45(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_46(N, __VA_ARGS__))
+#define PAIR_44(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_45(N, __VA_ARGS__))
+#define PAIR_43(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_44(N, __VA_ARGS__))
+#define PAIR_42(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_43(N, __VA_ARGS__))
+#define PAIR_41(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_42(N, __VA_ARGS__))
+#define PAIR_40(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_41(N, __VA_ARGS__))
+#define PAIR_39(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_40(N, __VA_ARGS__))
+#define PAIR_38(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_39(N, __VA_ARGS__))
+#define PAIR_37(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_38(N, __VA_ARGS__))
+#define PAIR_36(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_37(N, __VA_ARGS__))
+#define PAIR_35(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_36(N, __VA_ARGS__))
+#define PAIR_34(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_35(N, __VA_ARGS__))
+#define PAIR_33(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_34(N, __VA_ARGS__))
+#define PAIR_32(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_33(N, __VA_ARGS__))
+#define PAIR_31(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_32(N, __VA_ARGS__))
+#define PAIR_30(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_31(N, __VA_ARGS__))
+#define PAIR_29(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_30(N, __VA_ARGS__))
+#define PAIR_28(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_29(N, __VA_ARGS__))
+#define PAIR_27(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_28(N, __VA_ARGS__))
+#define PAIR_26(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_27(N, __VA_ARGS__))
+#define PAIR_25(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_26(N, __VA_ARGS__))
+#define PAIR_24(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_25(N, __VA_ARGS__))
+#define PAIR_23(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_24(N, __VA_ARGS__))
+#define PAIR_22(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_23(N, __VA_ARGS__))
+#define PAIR_21(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_22(N, __VA_ARGS__))
+#define PAIR_20(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_21(N, __VA_ARGS__))
+#define PAIR_19(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_20(N, __VA_ARGS__))
+#define PAIR_18(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_19(N, __VA_ARGS__))
+#define PAIR_17(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_18(N, __VA_ARGS__))
+#define PAIR_16(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_17(N, __VA_ARGS__))
+#define PAIR_15(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_16(N, __VA_ARGS__))
+#define PAIR_14(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_15(N, __VA_ARGS__))
+#define PAIR_13(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_14(N, __VA_ARGS__))
+#define PAIR_12(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_13(N, __VA_ARGS__))
+#define PAIR_11(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_12(N, __VA_ARGS__))
+#define PAIR_10(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_11(N, __VA_ARGS__))
+#define PAIR_9(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_10(N, __VA_ARGS__))
+#define PAIR_8(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_9(N, __VA_ARGS__))
+#define PAIR_7(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_8(N, __VA_ARGS__))
+#define PAIR_6(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_7(N, __VA_ARGS__))
+#define PAIR_5(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_6(N, __VA_ARGS__))
+#define PAIR_4(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_5(N, __VA_ARGS__))
+#define PAIR_3(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_4(N, __VA_ARGS__))
+#define PAIR_2(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_3(N, __VA_ARGS__))
+#define PAIR_1(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_2(N, __VA_ARGS__))
+#define PAIR(N, X, ...) {#X, N::X} __VA_OPT__(, PAIR_1(N, __VA_ARGS__))
+
+#define ENUM(NAME, ...) \
+ enum class NAME : u32 { __VA_ARGS__ }; \
+ template <> \
+ inline std::vector<std::pair<std::string, NAME>> EnumMetadata<NAME>::Canonicalizations() { \
+ return {PAIR(NAME, __VA_ARGS__)}; \
+ } \
+ template <> \
+ inline u32 EnumMetadata<NAME>::Index() { \
+ return __COUNTER__; \
+ }
+
+// AudioEngine must be specified discretely due to having existing but slightly different
+// canonicalizations
+// TODO (lat9nq): Remove explicit definition of AudioEngine/sink_id
+enum class AudioEngine : u32 {
+ Auto,
+ Cubeb,
+ Sdl2,
+ Null,
+};
+
+template <>
+inline std::vector<std::pair<std::string, AudioEngine>>
+EnumMetadata<AudioEngine>::Canonicalizations() {
+ return {
+ {"auto", AudioEngine::Auto},
+ {"cubeb", AudioEngine::Cubeb},
+ {"sdl2", AudioEngine::Sdl2},
+ {"null", AudioEngine::Null},
+ };
+}
+
+template <>
+inline u32 EnumMetadata<AudioEngine>::Index() {
+ // This is just a sufficiently large number that is more than the number of other enums declared
+ // here
+ return 100;
+}
+
+ENUM(AudioMode, Mono, Stereo, Surround);
+
+ENUM(Language, Japanese, EnglishAmerican, French, German, Italian, Spanish, Chinese, Korean, Dutch,
+ Portuguese, Russian, Taiwanese, EnglishBritish, FrenchCanadian, SpanishLatin,
+ ChineseSimplified, ChineseTraditional, PortugueseBrazilian);
+
+ENUM(Region, Japan, Usa, Europe, Australia, China, Korea, Taiwan);
+
+ENUM(TimeZone, Auto, Default, Cet, Cst6Cdt, Cuba, Eet, Egypt, Eire, Est, Est5Edt, Gb, GbEire, Gmt,
+ GmtPlusZero, GmtMinusZero, GmtZero, Greenwich, Hongkong, Hst, Iceland, Iran, Israel, Jamaica,
+ Japan, Kwajalein, Libya, Met, Mst, Mst7Mdt, Navajo, Nz, NzChat, Poland, Portugal, Prc, Pst8Pdt,
+ Roc, Rok, Singapore, Turkey, Uct, Universal, Utc, WSu, Wet, Zulu);
+
+ENUM(AnisotropyMode, Automatic, Default, X2, X4, X8, X16);
+
+ENUM(AstcDecodeMode, Cpu, Gpu, CpuAsynchronous);
+
+ENUM(AstcRecompression, Uncompressed, Bc1, Bc3);
+
+ENUM(VSyncMode, Immediate, Mailbox, Fifo, FifoRelaxed);
+
+ENUM(RendererBackend, OpenGL, Vulkan, Null);
+
+ENUM(ShaderBackend, Glsl, Glasm, SpirV);
+
+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);
+
+ENUM(ResolutionSetup, Res1_2X, Res3_4X, Res1X, Res3_2X, Res2X, Res3X, Res4X, Res5X, Res6X, Res7X,
+ Res8X);
+
+ENUM(ScalingFilter, NearestNeighbor, Bilinear, Bicubic, Gaussian, ScaleForce, Fsr, MaxEnum);
+
+ENUM(AntiAliasing, None, Fxaa, Smaa, MaxEnum);
+
+ENUM(AspectRatio, R16_9, R4_3, R21_9, R16_10, Stretch);
+
+ENUM(ConsoleMode, Handheld, Docked);
+
+template <typename Type>
+inline std::string CanonicalizeEnum(Type id) {
+ const auto group = EnumMetadata<Type>::Canonicalizations();
+ for (auto& [name, value] : group) {
+ if (value == id) {
+ return name;
+ }
+ }
+ return "unknown";
+}
+
+template <typename Type>
+inline Type ToEnum(const std::string& canonicalization) {
+ const auto group = EnumMetadata<Type>::Canonicalizations();
+ for (auto& [name, value] : group) {
+ if (name == canonicalization) {
+ return value;
+ }
+ }
+ return {};
+}
+} // namespace Settings
+
+#undef ENUM
+#undef PAIR
+#undef PAIR_1
+#undef PAIR_2
+#undef PAIR_3
+#undef PAIR_4
+#undef PAIR_5
+#undef PAIR_6
+#undef PAIR_7
+#undef PAIR_8
+#undef PAIR_9
+#undef PAIR_10
+#undef PAIR_12
+#undef PAIR_13
+#undef PAIR_14
+#undef PAIR_15
+#undef PAIR_16
+#undef PAIR_17
+#undef PAIR_18
+#undef PAIR_19
+#undef PAIR_20
+#undef PAIR_22
+#undef PAIR_23
+#undef PAIR_24
+#undef PAIR_25
+#undef PAIR_26
+#undef PAIR_27
+#undef PAIR_28
+#undef PAIR_29
+#undef PAIR_30
+#undef PAIR_32
+#undef PAIR_33
+#undef PAIR_34
+#undef PAIR_35
+#undef PAIR_36
+#undef PAIR_37
+#undef PAIR_38
+#undef PAIR_39
+#undef PAIR_40
+#undef PAIR_42
+#undef PAIR_43
+#undef PAIR_44
+#undef PAIR_45
diff --git a/src/common/settings_setting.h b/src/common/settings_setting.h
new file mode 100644
index 000000000..3175ab07d
--- /dev/null
+++ b/src/common/settings_setting.h
@@ -0,0 +1,419 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <limits>
+#include <map>
+#include <optional>
+#include <stdexcept>
+#include <string>
+#include <typeindex>
+#include <typeinfo>
+#include <fmt/core.h>
+#include "common/common_types.h"
+#include "common/settings_common.h"
+#include "common/settings_enums.h"
+
+namespace Settings {
+
+/** The Setting class is a simple resource manager. It defines a label and default value
+ * alongside the actual value of the setting for simpler and less-error prone use with frontend
+ * configurations. Specifying a default value and label is required. A minimum and maximum range
+ * can be specified for sanitization.
+ */
+template <typename Type, bool ranged = false>
+class Setting : public BasicSetting {
+protected:
+ Setting() = default;
+
+public:
+ /**
+ * Sets a default value, label, and setting value.
+ *
+ * @param linkage Setting registry
+ * @param default_val Initial value of the setting, and default value of the setting
+ * @param name Label for the setting
+ * @param category_ Category of the setting AKA INI group
+ * @param specialization_ Suggestion for how frontend implementations represent this in a config
+ * @param save_ Suggests that this should or should not be saved to a frontend config file
+ * @param runtime_modifiable_ Suggests whether this is modifiable while a guest is loaded
+ * @param other_setting_ A second Setting to associate to this one in metadata
+ */
+ explicit Setting(Linkage& linkage, const Type& default_val, const std::string& name,
+ Category category_, u32 specialization_ = Specialization::Default,
+ bool save_ = true, bool runtime_modifiable_ = false,
+ BasicSetting* other_setting_ = nullptr)
+ requires(!ranged)
+ : BasicSetting(linkage, name, category_, save_, runtime_modifiable_, specialization_,
+ other_setting_),
+ value{default_val}, default_value{default_val} {}
+ virtual ~Setting() = default;
+
+ /**
+ * Sets a default value, minimum value, maximum value, and label.
+ *
+ * @param linkage Setting registry
+ * @param default_val Initial value of the setting, and default value of the setting
+ * @param min_val Sets the minimum allowed value of the setting
+ * @param max_val Sets the maximum allowed value of the setting
+ * @param name Label for the setting
+ * @param category_ Category of the setting AKA INI group
+ * @param specialization_ Suggestion for how frontend implementations represent this in a config
+ * @param save_ Suggests that this should or should not be saved to a frontend config file
+ * @param runtime_modifiable_ Suggests whether this is modifiable while a guest is loaded
+ * @param other_setting_ A second Setting to associate to this one in metadata
+ */
+ explicit Setting(Linkage& linkage, const Type& default_val, const Type& min_val,
+ const Type& max_val, const std::string& name, Category category_,
+ u32 specialization_ = Specialization::Default, bool save_ = true,
+ bool runtime_modifiable_ = false, BasicSetting* other_setting_ = nullptr)
+ requires(ranged)
+ : BasicSetting(linkage, name, category_, save_, runtime_modifiable_, specialization_,
+ other_setting_),
+ value{default_val}, default_value{default_val}, maximum{max_val}, minimum{min_val} {}
+
+ /**
+ * Returns a reference to the setting's value.
+ *
+ * @returns A reference to the setting
+ */
+ [[nodiscard]] virtual const Type& GetValue() const {
+ return value;
+ }
+
+ /**
+ * Sets the setting to the given value.
+ *
+ * @param val The desired value
+ */
+ virtual void SetValue(const Type& val) {
+ Type temp{ranged ? std::clamp(val, minimum, maximum) : val};
+ std::swap(value, temp);
+ }
+
+ /**
+ * Returns the value that this setting was created with.
+ *
+ * @returns A reference to the default value
+ */
+ [[nodiscard]] const Type& GetDefault() const {
+ return default_value;
+ }
+
+ [[nodiscard]] constexpr bool IsEnum() const override {
+ return std::is_enum_v<Type>;
+ }
+
+protected:
+ [[nodiscard]] std::string ToString(const Type& value_) const {
+ if constexpr (std::is_same_v<Type, std::string>) {
+ return value_;
+ } else if constexpr (std::is_same_v<Type, std::optional<u32>>) {
+ return value_.has_value() ? std::to_string(*value_) : "none";
+ } else if constexpr (std::is_same_v<Type, bool>) {
+ return value_ ? "true" : "false";
+ } else if constexpr (std::is_same_v<Type, AudioEngine>) {
+ // Compatibility with old AudioEngine setting being a string
+ return CanonicalizeEnum(value_);
+ } else if constexpr (std::is_floating_point_v<Type>) {
+ return fmt::format("{:f}", value_);
+ } else if constexpr (std::is_enum_v<Type>) {
+ return std::to_string(static_cast<u32>(value_));
+ } else {
+ return std::to_string(value_);
+ }
+ }
+
+public:
+ /**
+ * Converts the value of the setting to a std::string. Respects the global state if the setting
+ * has one.
+ *
+ * @returns The current setting as a std::string
+ */
+ [[nodiscard]] std::string ToString() const override {
+ return ToString(this->GetValue());
+ }
+
+ /**
+ * Returns the default value of the setting as a std::string.
+ *
+ * @returns The default value as a string.
+ */
+ [[nodiscard]] std::string DefaultToString() const override {
+ return ToString(default_value);
+ }
+
+ /**
+ * Assigns a value to the setting.
+ *
+ * @param val The desired setting value
+ *
+ * @returns A reference to the setting
+ */
+ virtual const Type& operator=(const Type& val) {
+ Type temp{ranged ? std::clamp(val, minimum, maximum) : val};
+ std::swap(value, temp);
+ return value;
+ }
+
+ /**
+ * Returns a reference to the setting.
+ *
+ * @returns A reference to the setting
+ */
+ explicit virtual operator const Type&() const {
+ return value;
+ }
+
+ /**
+ * Converts the given value to the Setting's type of value. Uses SetValue to enter the setting,
+ * thus respecting its constraints.
+ *
+ * @param input The desired value
+ */
+ void LoadString(const std::string& input) override final {
+ if (input.empty()) {
+ this->SetValue(this->GetDefault());
+ return;
+ }
+ try {
+ if constexpr (std::is_same_v<Type, std::string>) {
+ this->SetValue(input);
+ } else if constexpr (std::is_same_v<Type, std::optional<u32>>) {
+ this->SetValue(static_cast<u32>(std::stoul(input)));
+ } else if constexpr (std::is_same_v<Type, bool>) {
+ this->SetValue(input == "true");
+ } else if constexpr (std::is_same_v<Type, float>) {
+ this->SetValue(std::stof(input));
+ } else if constexpr (std::is_same_v<Type, AudioEngine>) {
+ this->SetValue(ToEnum<AudioEngine>(input));
+ } else {
+ this->SetValue(static_cast<Type>(std::stoll(input)));
+ }
+ } catch (std::invalid_argument&) {
+ this->SetValue(this->GetDefault());
+ } catch (std::out_of_range&) {
+ this->SetValue(this->GetDefault());
+ }
+ }
+
+ [[nodiscard]] std::string Canonicalize() const override final {
+ if constexpr (std::is_enum_v<Type>) {
+ return CanonicalizeEnum(this->GetValue());
+ } else {
+ return ToString(this->GetValue());
+ }
+ }
+
+ /**
+ * Gives us another way to identify the setting without having to go through a string.
+ *
+ * @returns the type_index of the setting's type
+ */
+ [[nodiscard]] std::type_index TypeId() const override final {
+ return std::type_index(typeid(Type));
+ }
+
+ [[nodiscard]] constexpr u32 EnumIndex() const override final {
+ if constexpr (std::is_enum_v<Type>) {
+ return EnumMetadata<Type>::Index();
+ } else {
+ return std::numeric_limits<u32>::max();
+ }
+ }
+
+ [[nodiscard]] constexpr bool IsFloatingPoint() const final {
+ return std::is_floating_point_v<Type>;
+ }
+
+ [[nodiscard]] constexpr bool IsIntegral() const final {
+ return std::is_integral_v<Type>;
+ }
+
+ [[nodiscard]] std::string MinVal() const override final {
+ if constexpr (std::is_arithmetic_v<Type> && !ranged) {
+ return this->ToString(std::numeric_limits<Type>::min());
+ } else {
+ return this->ToString(minimum);
+ }
+ }
+ [[nodiscard]] std::string MaxVal() const override final {
+ if constexpr (std::is_arithmetic_v<Type> && !ranged) {
+ return this->ToString(std::numeric_limits<Type>::max());
+ } else {
+ return this->ToString(maximum);
+ }
+ }
+
+ [[nodiscard]] constexpr bool Ranged() const override {
+ return ranged;
+ }
+
+protected:
+ Type value{}; ///< The setting
+ const Type default_value{}; ///< The default value
+ const Type maximum{}; ///< Maximum allowed value of the setting
+ const Type minimum{}; ///< Minimum allowed value of the setting
+};
+
+/**
+ * The SwitchableSetting class is a slightly more complex version of the Setting class. This adds a
+ * custom setting to switch to when a guest application specifically requires it. The effect is that
+ * other components of the emulator can access the setting's intended value without any need for the
+ * component to ask whether the custom or global setting is needed at the moment.
+ *
+ * By default, the global setting is used.
+ */
+template <typename Type, bool ranged = false>
+class SwitchableSetting : virtual public Setting<Type, ranged> {
+public:
+ /**
+ * Sets a default value, label, and setting value.
+ *
+ * @param linkage Setting registry
+ * @param default_val Initial value of the setting, and default value of the setting
+ * @param name Label for the setting
+ * @param category_ Category of the setting AKA INI group
+ * @param specialization_ Suggestion for how frontend implementations represent this in a config
+ * @param save_ Suggests that this should or should not be saved to a frontend config file
+ * @param runtime_modifiable_ Suggests whether this is modifiable while a guest is loaded
+ * @param other_setting_ A second Setting to associate to this one in metadata
+ */
+ template <typename T = BasicSetting>
+ explicit SwitchableSetting(Linkage& linkage, const Type& default_val, const std::string& name,
+ Category category_, u32 specialization_ = Specialization::Default,
+ bool save_ = true, bool runtime_modifiable_ = false,
+ typename std::enable_if<!ranged, T*>::type other_setting_ = nullptr)
+ : Setting<Type, false>{
+ linkage, default_val, name, category_, specialization_,
+ save_, runtime_modifiable_, other_setting_} {
+ linkage.restore_functions.emplace_back([this]() { this->SetGlobal(true); });
+ }
+ virtual ~SwitchableSetting() = default;
+
+ /**
+ * Sets a default value, minimum value, maximum value, and label.
+ *
+ * @param linkage Setting registry
+ * @param default_val Initial value of the setting, and default value of the setting
+ * @param min_val Sets the minimum allowed value of the setting
+ * @param max_val Sets the maximum allowed value of the setting
+ * @param name Label for the setting
+ * @param category_ Category of the setting AKA INI group
+ * @param specialization_ Suggestion for how frontend implementations represent this in a config
+ * @param save_ Suggests that this should or should not be saved to a frontend config file
+ * @param runtime_modifiable_ Suggests whether this is modifiable while a guest is loaded
+ * @param other_setting_ A second Setting to associate to this one in metadata
+ */
+ template <typename T = BasicSetting>
+ explicit SwitchableSetting(Linkage& linkage, const Type& default_val, const Type& min_val,
+ const Type& max_val, const std::string& name, Category category_,
+ u32 specialization_ = Specialization::Default, bool save_ = true,
+ bool runtime_modifiable_ = false,
+ typename std::enable_if<ranged, T*>::type other_setting_ = nullptr)
+ : Setting<Type, true>{linkage, default_val, min_val,
+ max_val, name, category_,
+ specialization_, save_, runtime_modifiable_,
+ other_setting_} {
+ linkage.restore_functions.emplace_back([this]() { this->SetGlobal(true); });
+ }
+
+ /**
+ * Tells this setting to represent either the global or custom setting when other member
+ * functions are used.
+ *
+ * @param to_global Whether to use the global or custom setting.
+ */
+ void SetGlobal(bool to_global) override final {
+ use_global = to_global;
+ }
+
+ /**
+ * Returns whether this setting is using the global setting or not.
+ *
+ * @returns The global state
+ */
+ [[nodiscard]] bool UsingGlobal() const override final {
+ return use_global;
+ }
+
+ /**
+ * Returns either the global or custom setting depending on the values of this setting's global
+ * state or if the global value was specifically requested.
+ *
+ * @param need_global Request global value regardless of setting's state; defaults to false
+ *
+ * @returns The required value of the setting
+ */
+ [[nodiscard]] const Type& GetValue() const override final {
+ if (use_global) {
+ return this->value;
+ }
+ return custom;
+ }
+ [[nodiscard]] const Type& GetValue(bool need_global) const {
+ if (use_global || need_global) {
+ return this->value;
+ }
+ return custom;
+ }
+
+ /**
+ * Sets the current setting value depending on the global state.
+ *
+ * @param val The new value
+ */
+ void SetValue(const Type& val) override final {
+ Type temp{ranged ? std::clamp(val, this->minimum, this->maximum) : val};
+ if (use_global) {
+ std::swap(this->value, temp);
+ } else {
+ std::swap(custom, temp);
+ }
+ }
+
+ [[nodiscard]] constexpr bool Switchable() const override final {
+ return true;
+ }
+
+ [[nodiscard]] std::string ToStringGlobal() const override final {
+ return this->ToString(this->value);
+ }
+
+ /**
+ * Assigns the current setting value depending on the global state.
+ *
+ * @param val The new value
+ *
+ * @returns A reference to the current setting value
+ */
+ const Type& operator=(const Type& val) override final {
+ Type temp{ranged ? std::clamp(val, this->minimum, this->maximum) : val};
+ if (use_global) {
+ std::swap(this->value, temp);
+ return this->value;
+ }
+ std::swap(custom, temp);
+ return custom;
+ }
+
+ /**
+ * Returns the current setting value depending on the global state.
+ *
+ * @returns A reference to the current setting value
+ */
+ explicit operator const Type&() const override final {
+ if (use_global) {
+ return this->value;
+ }
+ return custom;
+ }
+
+protected:
+ bool use_global{true}; ///< The setting's global state
+ Type custom{}; ///< The custom value of the setting
+};
+
+} // namespace Settings
diff --git a/src/common/string_util.cpp b/src/common/string_util.cpp
index feab1653d..4c7aba3f5 100644
--- a/src/common/string_util.cpp
+++ b/src/common/string_util.cpp
@@ -135,6 +135,11 @@ std::u16string UTF8ToUTF16(std::string_view input) {
return convert.from_bytes(input.data(), input.data() + input.size());
}
+std::u32string UTF8ToUTF32(std::string_view input) {
+ std::wstring_convert<std::codecvt_utf8<char32_t>, char32_t> convert;
+ return convert.from_bytes(input.data(), input.data() + input.size());
+}
+
#ifdef _WIN32
static std::wstring CPToUTF16(u32 code_page, std::string_view input) {
const auto size =
diff --git a/src/common/string_util.h b/src/common/string_util.h
index c351f1a0c..9da1ca4e9 100644
--- a/src/common/string_util.h
+++ b/src/common/string_util.h
@@ -38,6 +38,7 @@ bool SplitPath(const std::string& full_path, std::string* _pPath, std::string* _
[[nodiscard]] std::string UTF16ToUTF8(std::u16string_view input);
[[nodiscard]] std::u16string UTF8ToUTF16(std::string_view input);
+[[nodiscard]] std::u32string UTF8ToUTF32(std::string_view input);
#ifdef _WIN32
[[nodiscard]] std::string UTF16ToUTF8(std::wstring_view input);
diff --git a/src/common/swap.h b/src/common/swap.h
index 085baaf9a..fde343e45 100644
--- a/src/common/swap.h
+++ b/src/common/swap.h
@@ -460,11 +460,6 @@ S operator&(const S& i, const swap_struct_t<T, F> v) {
return i & v.swap();
}
-template <typename S, typename T, typename F>
-S operator&(const swap_struct_t<T, F> v, const S& i) {
- return static_cast<S>(v.swap() & i);
-}
-
// Comparison
template <typename S, typename T, typename F>
bool operator<(const S& p, const swap_struct_t<T, F> v) {
diff --git a/src/common/wall_clock.cpp b/src/common/wall_clock.cpp
index dc0dcbd68..caca9a123 100644
--- a/src/common/wall_clock.cpp
+++ b/src/common/wall_clock.cpp
@@ -10,6 +10,10 @@
#include "common/x64/rdtsc.h"
#endif
+#if defined(ARCHITECTURE_arm64) && defined(__linux__)
+#include "common/arm64/native_clock.h"
+#endif
+
namespace Common {
class StandardWallClock final : public WallClock {
@@ -53,17 +57,19 @@ private:
};
std::unique_ptr<WallClock> CreateOptimalClock() {
-#ifdef ARCHITECTURE_x86_64
+#if defined(ARCHITECTURE_x86_64)
const auto& caps = GetCPUCaps();
- if (caps.invariant_tsc && caps.tsc_frequency >= WallClock::GPUTickFreq) {
+ if (caps.invariant_tsc && caps.tsc_frequency >= std::nano::den) {
return std::make_unique<X64::NativeClock>(caps.tsc_frequency);
} else {
// Fallback to StandardWallClock if the hardware TSC
// - Is not invariant
- // - Is not more precise than GPUTickFreq
+ // - Is not more precise than 1 GHz (1ns resolution)
return std::make_unique<StandardWallClock>();
}
+#elif defined(ARCHITECTURE_arm64) && defined(__linux__)
+ return std::make_unique<Arm64::NativeClock>();
#else
return std::make_unique<StandardWallClock>();
#endif
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 4b7395be8..e4f499135 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -37,6 +37,49 @@ add_library(core STATIC
debugger/gdbstub.h
device_memory.cpp
device_memory.h
+ file_sys/fssystem/fs_i_storage.h
+ file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.cpp
+ file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.h
+ file_sys/fssystem/fssystem_aes_ctr_storage.cpp
+ file_sys/fssystem/fssystem_aes_ctr_storage.h
+ file_sys/fssystem/fssystem_aes_xts_storage.cpp
+ file_sys/fssystem/fssystem_aes_xts_storage.h
+ file_sys/fssystem/fssystem_alignment_matching_storage.h
+ file_sys/fssystem/fssystem_alignment_matching_storage_impl.cpp
+ file_sys/fssystem/fssystem_alignment_matching_storage_impl.h
+ file_sys/fssystem/fssystem_bucket_tree.cpp
+ file_sys/fssystem/fssystem_bucket_tree.h
+ file_sys/fssystem/fssystem_bucket_tree_utils.h
+ file_sys/fssystem/fssystem_compressed_storage.h
+ file_sys/fssystem/fssystem_compression_common.h
+ file_sys/fssystem/fssystem_compression_configuration.cpp
+ file_sys/fssystem/fssystem_compression_configuration.h
+ file_sys/fssystem/fssystem_crypto_configuration.cpp
+ file_sys/fssystem/fssystem_crypto_configuration.h
+ file_sys/fssystem/fssystem_hierarchical_integrity_verification_storage.cpp
+ file_sys/fssystem/fssystem_hierarchical_integrity_verification_storage.h
+ file_sys/fssystem/fssystem_hierarchical_sha256_storage.cpp
+ file_sys/fssystem/fssystem_hierarchical_sha256_storage.h
+ file_sys/fssystem/fssystem_indirect_storage.cpp
+ file_sys/fssystem/fssystem_indirect_storage.h
+ file_sys/fssystem/fssystem_integrity_romfs_storage.cpp
+ file_sys/fssystem/fssystem_integrity_romfs_storage.h
+ file_sys/fssystem/fssystem_integrity_verification_storage.cpp
+ file_sys/fssystem/fssystem_integrity_verification_storage.h
+ file_sys/fssystem/fssystem_memory_resource_buffer_hold_storage.h
+ file_sys/fssystem/fssystem_nca_file_system_driver.cpp
+ file_sys/fssystem/fssystem_nca_file_system_driver.h
+ file_sys/fssystem/fssystem_nca_header.cpp
+ file_sys/fssystem/fssystem_nca_header.h
+ file_sys/fssystem/fssystem_nca_reader.cpp
+ file_sys/fssystem/fssystem_pooled_buffer.cpp
+ file_sys/fssystem/fssystem_pooled_buffer.h
+ file_sys/fssystem/fssystem_sparse_storage.cpp
+ file_sys/fssystem/fssystem_sparse_storage.h
+ file_sys/fssystem/fssystem_switch_storage.h
+ file_sys/fssystem/fssystem_utility.cpp
+ file_sys/fssystem/fssystem_utility.h
+ file_sys/fssystem/fs_types.h
file_sys/bis_factory.cpp
file_sys/bis_factory.h
file_sys/card_image.cpp
@@ -57,8 +100,6 @@ add_library(core STATIC
file_sys/mode.h
file_sys/nca_metadata.cpp
file_sys/nca_metadata.h
- file_sys/nca_patch.cpp
- file_sys/nca_patch.h
file_sys/partition_filesystem.cpp
file_sys/partition_filesystem.h
file_sys/patch_manager.cpp
@@ -425,14 +466,18 @@ add_library(core STATIC
hle/service/caps/caps_a.h
hle/service/caps/caps_c.cpp
hle/service/caps/caps_c.h
- hle/service/caps/caps_u.cpp
- hle/service/caps/caps_u.h
+ hle/service/caps/caps_manager.cpp
+ hle/service/caps/caps_manager.h
+ hle/service/caps/caps_result.h
hle/service/caps/caps_sc.cpp
hle/service/caps/caps_sc.h
hle/service/caps/caps_ss.cpp
hle/service/caps/caps_ss.h
hle/service/caps/caps_su.cpp
hle/service/caps/caps_su.h
+ hle/service/caps/caps_types.h
+ hle/service/caps/caps_u.cpp
+ hle/service/caps/caps_u.h
hle/service/erpt/erpt.cpp
hle/service/erpt/erpt.h
hle/service/es/es.cpp
@@ -543,13 +588,27 @@ add_library(core STATIC
hle/service/lm/lm.h
hle/service/mig/mig.cpp
hle/service/mig/mig.h
+ hle/service/mii/types/char_info.cpp
+ hle/service/mii/types/char_info.h
+ hle/service/mii/types/core_data.cpp
+ hle/service/mii/types/core_data.h
+ hle/service/mii/types/raw_data.cpp
+ hle/service/mii/types/raw_data.h
+ hle/service/mii/types/store_data.cpp
+ hle/service/mii/types/store_data.h
+ hle/service/mii/types/ver3_store_data.cpp
+ hle/service/mii/types/ver3_store_data.h
hle/service/mii/mii.cpp
hle/service/mii/mii.h
+ hle/service/mii/mii_database.cpp
+ hle/service/mii/mii_database.h
+ hle/service/mii/mii_database_manager.cpp
+ hle/service/mii/mii_database_manager.h
hle/service/mii/mii_manager.cpp
hle/service/mii/mii_manager.h
- hle/service/mii/raw_data.cpp
- hle/service/mii/raw_data.h
- hle/service/mii/types.h
+ hle/service/mii/mii_result.h
+ hle/service/mii/mii_types.h
+ hle/service/mii/mii_util.h
hle/service/mm/mm_u.cpp
hle/service/mm/mm_u.h
hle/service/mnpp/mnpp_app.cpp
@@ -576,8 +635,8 @@ add_library(core STATIC
hle/service/nfp/nfp_interface.h
hle/service/nfp/nfp_result.h
hle/service/nfp/nfp_types.h
- hle/service/ngct/ngct.cpp
- hle/service/ngct/ngct.h
+ hle/service/ngc/ngc.cpp
+ hle/service/ngc/ngc.h
hle/service/nifm/nifm.cpp
hle/service/nifm/nifm.h
hle/service/nim/nim.cpp
@@ -643,6 +702,8 @@ add_library(core STATIC
hle/service/nvnflinger/consumer_base.cpp
hle/service/nvnflinger/consumer_base.h
hle/service/nvnflinger/consumer_listener.h
+ hle/service/nvnflinger/fb_share_buffer_manager.cpp
+ hle/service/nvnflinger/fb_share_buffer_manager.h
hle/service/nvnflinger/graphic_buffer_producer.cpp
hle/service/nvnflinger/graphic_buffer_producer.h
hle/service/nvnflinger/hos_binder_driver_server.cpp
@@ -813,6 +874,8 @@ add_library(core STATIC
telemetry_session.h
tools/freezer.cpp
tools/freezer.h
+ tools/renderdoc.cpp
+ tools/renderdoc.h
)
if (MSVC)
@@ -828,6 +891,7 @@ else()
-Werror=conversion
-Wno-sign-conversion
+ -Wno-cast-function-type
$<$<CXX_COMPILER_ID:Clang>:-fsized-deallocation>
)
@@ -836,7 +900,7 @@ endif()
create_target_directory_groups(core)
target_link_libraries(core PUBLIC common PRIVATE audio_core network video_core nx_tzdb)
-target_link_libraries(core PUBLIC Boost::headers PRIVATE fmt::fmt nlohmann_json::nlohmann_json mbedtls Opus::opus)
+target_link_libraries(core PUBLIC Boost::headers PRIVATE fmt::fmt nlohmann_json::nlohmann_json mbedtls RenderDoc::API)
if (MINGW)
target_link_libraries(core PRIVATE ${MSWSOCK_LIBRARY})
endif()
diff --git a/src/core/arm/arm_interface.cpp b/src/core/arm/arm_interface.cpp
index aa0eb9791..0c012f094 100644
--- a/src/core/arm/arm_interface.cpp
+++ b/src/core/arm/arm_interface.cpp
@@ -217,8 +217,8 @@ void ARM_Interface::Run() {
}
}
-void ARM_Interface::LoadWatchpointArray(const WatchpointArray& wp) {
- watchpoints = &wp;
+void ARM_Interface::LoadWatchpointArray(const WatchpointArray* wp) {
+ watchpoints = wp;
}
const Kernel::DebugWatchpoint* ARM_Interface::MatchingWatchpoint(
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h
index d5f2fa09a..3d866ff6f 100644
--- a/src/core/arm/arm_interface.h
+++ b/src/core/arm/arm_interface.h
@@ -186,7 +186,7 @@ public:
virtual void SaveContext(ThreadContext64& ctx) const = 0;
virtual void LoadContext(const ThreadContext32& ctx) = 0;
virtual void LoadContext(const ThreadContext64& ctx) = 0;
- void LoadWatchpointArray(const WatchpointArray& wp);
+ void LoadWatchpointArray(const WatchpointArray* wp);
/// Clears the exclusive monitor's state.
virtual void ClearExclusiveState() = 0;
diff --git a/src/core/arm/dynarmic/arm_dynarmic_32.cpp b/src/core/arm/dynarmic/arm_dynarmic_32.cpp
index c97158a71..44a297cdc 100644
--- a/src/core/arm/dynarmic/arm_dynarmic_32.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic_32.cpp
@@ -287,7 +287,7 @@ std::shared_ptr<Dynarmic::A32::Jit> ARM_Dynarmic_32::MakeJit(Common::PageTable*
}
} else {
// Unsafe optimizations
- if (Settings::values.cpu_accuracy.GetValue() == Settings::CPUAccuracy::Unsafe) {
+ if (Settings::values.cpu_accuracy.GetValue() == Settings::CpuAccuracy::Unsafe) {
config.unsafe_optimizations = true;
if (Settings::values.cpuopt_unsafe_unfuse_fma) {
config.optimizations |= Dynarmic::OptimizationFlag::Unsafe_UnfuseFMA;
@@ -307,7 +307,7 @@ std::shared_ptr<Dynarmic::A32::Jit> ARM_Dynarmic_32::MakeJit(Common::PageTable*
}
// Curated optimizations
- if (Settings::values.cpu_accuracy.GetValue() == Settings::CPUAccuracy::Auto) {
+ if (Settings::values.cpu_accuracy.GetValue() == Settings::CpuAccuracy::Auto) {
config.unsafe_optimizations = true;
config.optimizations |= Dynarmic::OptimizationFlag::Unsafe_UnfuseFMA;
config.optimizations |= Dynarmic::OptimizationFlag::Unsafe_IgnoreStandardFPCRValue;
@@ -316,7 +316,7 @@ std::shared_ptr<Dynarmic::A32::Jit> ARM_Dynarmic_32::MakeJit(Common::PageTable*
}
// Paranoia mode for debugging optimizations
- if (Settings::values.cpu_accuracy.GetValue() == Settings::CPUAccuracy::Paranoid) {
+ if (Settings::values.cpu_accuracy.GetValue() == Settings::CpuAccuracy::Paranoid) {
config.unsafe_optimizations = false;
config.optimizations = Dynarmic::no_optimizations;
}
diff --git a/src/core/arm/dynarmic/arm_dynarmic_64.cpp b/src/core/arm/dynarmic/arm_dynarmic_64.cpp
index 791d466ca..2e3674b6d 100644
--- a/src/core/arm/dynarmic/arm_dynarmic_64.cpp
+++ b/src/core/arm/dynarmic/arm_dynarmic_64.cpp
@@ -347,7 +347,7 @@ std::shared_ptr<Dynarmic::A64::Jit> ARM_Dynarmic_64::MakeJit(Common::PageTable*
}
} else {
// Unsafe optimizations
- if (Settings::values.cpu_accuracy.GetValue() == Settings::CPUAccuracy::Unsafe) {
+ if (Settings::values.cpu_accuracy.GetValue() == Settings::CpuAccuracy::Unsafe) {
config.unsafe_optimizations = true;
if (Settings::values.cpuopt_unsafe_unfuse_fma) {
config.optimizations |= Dynarmic::OptimizationFlag::Unsafe_UnfuseFMA;
@@ -367,7 +367,7 @@ std::shared_ptr<Dynarmic::A64::Jit> ARM_Dynarmic_64::MakeJit(Common::PageTable*
}
// Curated optimizations
- if (Settings::values.cpu_accuracy.GetValue() == Settings::CPUAccuracy::Auto) {
+ if (Settings::values.cpu_accuracy.GetValue() == Settings::CpuAccuracy::Auto) {
config.unsafe_optimizations = true;
config.optimizations |= Dynarmic::OptimizationFlag::Unsafe_UnfuseFMA;
config.fastmem_address_space_bits = 64;
@@ -375,7 +375,7 @@ std::shared_ptr<Dynarmic::A64::Jit> ARM_Dynarmic_64::MakeJit(Common::PageTable*
}
// Paranoia mode for debugging optimizations
- if (Settings::values.cpu_accuracy.GetValue() == Settings::CPUAccuracy::Paranoid) {
+ if (Settings::values.cpu_accuracy.GetValue() == Settings::CpuAccuracy::Paranoid) {
config.unsafe_optimizations = false;
config.optimizations = Dynarmic::no_optimizations;
}
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 48233d7c8..0ab2e3b76 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -12,6 +12,7 @@
#include "common/logging/log.h"
#include "common/microprofile.h"
#include "common/settings.h"
+#include "common/settings_enums.h"
#include "common/string_util.h"
#include "core/arm/exclusive_monitor.h"
#include "core/core.h"
@@ -50,6 +51,7 @@
#include "core/reporter.h"
#include "core/telemetry_session.h"
#include "core/tools/freezer.h"
+#include "core/tools/renderdoc.h"
#include "network/network.h"
#include "video_core/host1x/host1x.h"
#include "video_core/renderer_base.h"
@@ -140,16 +142,13 @@ struct System::Impl {
device_memory = std::make_unique<Core::DeviceMemory>();
is_multicore = Settings::values.use_multi_core.GetValue();
- extended_memory_layout = Settings::values.use_unsafe_extended_memory_layout.GetValue();
+ extended_memory_layout =
+ Settings::values.memory_layout_mode.GetValue() != Settings::MemoryLayout::Memory_4Gb;
core_timing.SetMulticore(is_multicore);
core_timing.Initialize([&system]() { system.RegisterHostThread(); });
- const auto posix_time = std::chrono::system_clock::now().time_since_epoch();
- const auto current_time =
- std::chrono::duration_cast<std::chrono::seconds>(posix_time).count();
- Settings::values.custom_rtc_differential =
- Settings::values.custom_rtc.value_or(current_time) - current_time;
+ RefreshTime();
// Create a default fs if one doesn't already exist.
if (virtual_filesystem == nullptr) {
@@ -172,7 +171,8 @@ struct System::Impl {
void ReinitializeIfNecessary(System& system) {
const bool must_reinitialize =
is_multicore != Settings::values.use_multi_core.GetValue() ||
- extended_memory_layout != Settings::values.use_unsafe_extended_memory_layout.GetValue();
+ extended_memory_layout != (Settings::values.memory_layout_mode.GetValue() !=
+ Settings::MemoryLayout::Memory_4Gb);
if (!must_reinitialize) {
return;
@@ -181,11 +181,22 @@ struct System::Impl {
LOG_DEBUG(Kernel, "Re-initializing");
is_multicore = Settings::values.use_multi_core.GetValue();
- extended_memory_layout = Settings::values.use_unsafe_extended_memory_layout.GetValue();
+ extended_memory_layout =
+ Settings::values.memory_layout_mode.GetValue() != Settings::MemoryLayout::Memory_4Gb;
Initialize(system);
}
+ void RefreshTime() {
+ const auto posix_time = std::chrono::system_clock::now().time_since_epoch();
+ const auto current_time =
+ std::chrono::duration_cast<std::chrono::seconds>(posix_time).count();
+ Settings::values.custom_rtc_differential =
+ (Settings::values.custom_rtc_enabled ? Settings::values.custom_rtc.GetValue()
+ : current_time) -
+ current_time;
+ }
+
void Run() {
std::unique_lock<std::mutex> lk(suspend_guard);
@@ -263,13 +274,18 @@ struct System::Impl {
time_manager.Initialize();
is_powered_on = true;
- exit_lock = false;
+ exit_locked = false;
+ exit_requested = false;
microprofile_cpu[0] = MICROPROFILE_TOKEN(ARM_CPU0);
microprofile_cpu[1] = MICROPROFILE_TOKEN(ARM_CPU1);
microprofile_cpu[2] = MICROPROFILE_TOKEN(ARM_CPU2);
microprofile_cpu[3] = MICROPROFILE_TOKEN(ARM_CPU3);
+ if (Settings::values.enable_renderdoc_hotkey) {
+ renderdoc_api = std::make_unique<Tools::RenderdocAPI>();
+ }
+
LOG_DEBUG(Core, "Initialized OK");
return SystemResultStatus::Success;
@@ -365,6 +381,10 @@ struct System::Impl {
room_member->SendGameInfo(game_info);
}
+ // Workarounds:
+ // Activate this in Super Smash Brothers Ultimate, it only affects AMD cards using AMDVLK
+ Settings::values.renderer_amdvlk_depth_bias_workaround = program_id == 0x1006A800016E000ULL;
+
status = SystemResultStatus::Success;
return status;
}
@@ -388,12 +408,14 @@ struct System::Impl {
}
is_powered_on = false;
- exit_lock = false;
+ exit_locked = false;
+ exit_requested = false;
if (gpu_core != nullptr) {
gpu_core->NotifyShutdown();
}
+ Network::CancelPendingSocketOperations();
kernel.SuspendApplication(true);
if (services) {
services->KillNVNFlinger();
@@ -415,12 +437,16 @@ struct System::Impl {
debugger.reset();
kernel.Shutdown();
memory.Reset();
+ Network::RestartSocketOperations();
if (auto room_member = room_network.GetRoomMember().lock()) {
Network::GameInfo game_info{};
room_member->SendGameInfo(game_info);
}
+ // Workarounds
+ Settings::values.renderer_amdvlk_depth_bias_workaround = false;
+
LOG_DEBUG(Core, "Shutdown OK");
}
@@ -497,7 +523,8 @@ struct System::Impl {
CpuManager cpu_manager;
std::atomic_bool is_powered_on{};
- bool exit_lock = false;
+ bool exit_locked = false;
+ bool exit_requested = false;
bool nvdec_active{};
@@ -506,6 +533,8 @@ struct System::Impl {
std::unique_ptr<Tools::Freezer> memory_freezer;
std::array<u8, 0x20> build_id{};
+ std::unique_ptr<Tools::RenderdocAPI> renderdoc_api;
+
/// Frontend applets
Service::AM::Applets::AppletManager applet_manager;
@@ -549,6 +578,8 @@ struct System::Impl {
std::array<Core::GPUDirtyMemoryManager, Core::Hardware::NUM_CPU_CORES>
gpu_dirty_memory_write_manager{};
+
+ std::deque<std::vector<u8>> user_channel;
};
System::System() : impl{std::make_unique<Impl>(*this)} {}
@@ -933,12 +964,20 @@ const Service::Time::TimeManager& System::GetTimeManager() const {
return impl->time_manager;
}
-void System::SetExitLock(bool locked) {
- impl->exit_lock = locked;
+void System::SetExitLocked(bool locked) {
+ impl->exit_locked = locked;
+}
+
+bool System::GetExitLocked() const {
+ return impl->exit_locked;
+}
+
+void System::SetExitRequested(bool requested) {
+ impl->exit_requested = requested;
}
-bool System::GetExitLock() const {
- return impl->exit_lock;
+bool System::GetExitRequested() const {
+ return impl->exit_requested;
}
void System::SetApplicationProcessBuildID(const CurrentBuildProcessID& id) {
@@ -999,6 +1038,10 @@ const Network::RoomNetwork& System::GetRoomNetwork() const {
return impl->room_network;
}
+Tools::RenderdocAPI& System::GetRenderdocAPI() {
+ return *impl->renderdoc_api;
+}
+
void System::RunServer(std::unique_ptr<Service::ServerManager>&& server_manager) {
return impl->kernel.RunServer(std::move(server_manager));
}
@@ -1015,6 +1058,10 @@ void System::ExecuteProgram(std::size_t program_index) {
}
}
+std::deque<std::vector<u8>>& System::GetUserChannel() {
+ return impl->user_channel;
+}
+
void System::RegisterExitCallback(ExitCallback&& callback) {
impl->exit_callback = std::move(callback);
}
@@ -1028,7 +1075,13 @@ void System::Exit() {
}
void System::ApplySettings() {
+ impl->RefreshTime();
+
if (IsPoweredOn()) {
+ if (Settings::values.custom_rtc_enabled) {
+ const s64 posix_time{Settings::values.custom_rtc.GetValue()};
+ GetTimeManager().UpdateLocalSystemClockTime(posix_time);
+ }
Renderer().RefreshBaseSettings();
}
}
diff --git a/src/core/core.h b/src/core/core.h
index c70ea1965..df20f26f3 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -4,6 +4,7 @@
#pragma once
#include <cstddef>
+#include <deque>
#include <functional>
#include <memory>
#include <mutex>
@@ -101,6 +102,10 @@ namespace Network {
class RoomNetwork;
}
+namespace Tools {
+class RenderdocAPI;
+}
+
namespace Core {
class ARM_Interface;
@@ -412,8 +417,13 @@ public:
/// Gets an immutable reference to the Room Network.
[[nodiscard]] const Network::RoomNetwork& GetRoomNetwork() const;
- void SetExitLock(bool locked);
- [[nodiscard]] bool GetExitLock() const;
+ [[nodiscard]] Tools::RenderdocAPI& GetRenderdocAPI();
+
+ void SetExitLocked(bool locked);
+ bool GetExitLocked() const;
+
+ void SetExitRequested(bool requested);
+ bool GetExitRequested() const;
void SetApplicationProcessBuildID(const CurrentBuildProcessID& id);
[[nodiscard]] const CurrentBuildProcessID& GetApplicationProcessBuildID() const;
@@ -456,6 +466,12 @@ public:
*/
void ExecuteProgram(std::size_t program_index);
+ /**
+ * Gets a reference to the user channel stack.
+ * It is used to transfer data between programs.
+ */
+ [[nodiscard]] std::deque<std::vector<u8>>& GetUserChannel();
+
/// Type used for the frontend to designate a callback for System to exit the application.
using ExitCallback = std::function<void()>;
diff --git a/src/core/core_timing.cpp b/src/core/core_timing.cpp
index b98a0cb33..e671b270f 100644
--- a/src/core/core_timing.cpp
+++ b/src/core/core_timing.cpp
@@ -32,6 +32,7 @@ struct CoreTiming::Event {
std::uintptr_t user_data;
std::weak_ptr<EventType> type;
s64 reschedule_time;
+ heap_t::handle_type handle{};
// Sort by time, unless the times are the same, in which case sort by
// the order added to the queue
@@ -122,9 +123,9 @@ void CoreTiming::ScheduleEvent(std::chrono::nanoseconds ns_into_future,
std::scoped_lock scope{basic_lock};
const auto next_time{absolute_time ? ns_into_future : GetGlobalTimeNs() + ns_into_future};
- event_queue.emplace_back(
- Event{next_time.count(), event_fifo_id++, user_data, event_type, 0});
- std::push_heap(event_queue.begin(), event_queue.end(), std::greater<>());
+ auto h{event_queue.emplace(
+ Event{next_time.count(), event_fifo_id++, user_data, event_type, 0})};
+ (*h).handle = h;
}
event.Set();
@@ -138,10 +139,9 @@ void CoreTiming::ScheduleLoopingEvent(std::chrono::nanoseconds start_time,
std::scoped_lock scope{basic_lock};
const auto next_time{absolute_time ? start_time : GetGlobalTimeNs() + start_time};
- event_queue.emplace_back(
- Event{next_time.count(), event_fifo_id++, user_data, event_type, resched_time.count()});
-
- std::push_heap(event_queue.begin(), event_queue.end(), std::greater<>());
+ auto h{event_queue.emplace(Event{next_time.count(), event_fifo_id++, user_data, event_type,
+ resched_time.count()})};
+ (*h).handle = h;
}
event.Set();
@@ -151,15 +151,17 @@ void CoreTiming::UnscheduleEvent(const std::shared_ptr<EventType>& event_type,
std::uintptr_t user_data, bool wait) {
{
std::scoped_lock lk{basic_lock};
- const auto itr =
- std::remove_if(event_queue.begin(), event_queue.end(), [&](const Event& e) {
- return e.type.lock().get() == event_type.get() && e.user_data == user_data;
- });
-
- // Removing random items breaks the invariant so we have to re-establish it.
- if (itr != event_queue.end()) {
- event_queue.erase(itr, event_queue.end());
- std::make_heap(event_queue.begin(), event_queue.end(), std::greater<>());
+
+ std::vector<heap_t::handle_type> to_remove;
+ for (auto itr = event_queue.begin(); itr != event_queue.end(); itr++) {
+ const Event& e = *itr;
+ if (e.type.lock().get() == event_type.get() && e.user_data == user_data) {
+ to_remove.push_back(itr->handle);
+ }
+ }
+
+ for (auto h : to_remove) {
+ event_queue.erase(h);
}
}
@@ -200,35 +202,45 @@ std::optional<s64> CoreTiming::Advance() {
std::scoped_lock lock{advance_lock, basic_lock};
global_timer = GetGlobalTimeNs().count();
- while (!event_queue.empty() && event_queue.front().time <= global_timer) {
- Event evt = std::move(event_queue.front());
- std::pop_heap(event_queue.begin(), event_queue.end(), std::greater<>());
- event_queue.pop_back();
+ while (!event_queue.empty() && event_queue.top().time <= global_timer) {
+ const Event& evt = event_queue.top();
if (const auto event_type{evt.type.lock()}) {
- basic_lock.unlock();
+ if (evt.reschedule_time == 0) {
+ const auto evt_user_data = evt.user_data;
+ const auto evt_time = evt.time;
+
+ event_queue.pop();
+
+ basic_lock.unlock();
+
+ event_type->callback(
+ evt_user_data, evt_time,
+ std::chrono::nanoseconds{GetGlobalTimeNs().count() - evt_time});
+
+ basic_lock.lock();
+ } else {
+ basic_lock.unlock();
- const auto new_schedule_time{event_type->callback(
- evt.user_data, evt.time,
- std::chrono::nanoseconds{GetGlobalTimeNs().count() - evt.time})};
+ const auto new_schedule_time{event_type->callback(
+ evt.user_data, evt.time,
+ std::chrono::nanoseconds{GetGlobalTimeNs().count() - evt.time})};
- basic_lock.lock();
+ basic_lock.lock();
- if (evt.reschedule_time != 0) {
const auto next_schedule_time{new_schedule_time.has_value()
? new_schedule_time.value().count()
: evt.reschedule_time};
- // If this event was scheduled into a pause, its time now is going to be way behind.
- // Re-set this event to continue from the end of the pause.
+ // If this event was scheduled into a pause, its time now is going to be way
+ // behind. Re-set this event to continue from the end of the pause.
auto next_time{evt.time + next_schedule_time};
if (evt.time < pause_end_time) {
next_time = pause_end_time + next_schedule_time;
}
- event_queue.emplace_back(
- Event{next_time, event_fifo_id++, evt.user_data, evt.type, next_schedule_time});
- std::push_heap(event_queue.begin(), event_queue.end(), std::greater<>());
+ event_queue.update(evt.handle, Event{next_time, event_fifo_id++, evt.user_data,
+ evt.type, next_schedule_time, evt.handle});
}
}
@@ -236,7 +248,7 @@ std::optional<s64> CoreTiming::Advance() {
}
if (!event_queue.empty()) {
- return event_queue.front().time;
+ return event_queue.top().time;
} else {
return std::nullopt;
}
@@ -274,7 +286,8 @@ void CoreTiming::ThreadLoop() {
#endif
}
} else {
- // Queue is empty, wait until another event is scheduled and signals us to continue.
+ // Queue is empty, wait until another event is scheduled and signals us to
+ // continue.
wait_set = true;
event.Wait();
}
diff --git a/src/core/core_timing.h b/src/core/core_timing.h
index c20e906fb..26a8b93a7 100644
--- a/src/core/core_timing.h
+++ b/src/core/core_timing.h
@@ -11,7 +11,8 @@
#include <optional>
#include <string>
#include <thread>
-#include <vector>
+
+#include <boost/heap/fibonacci_heap.hpp>
#include "common/common_types.h"
#include "common/thread.h"
@@ -151,11 +152,10 @@ private:
s64 timer_resolution_ns;
#endif
- // The queue is a min-heap using std::make_heap/push_heap/pop_heap.
- // We don't use std::priority_queue because we need to be able to serialize, unserialize and
- // erase arbitrary events (RemoveEvent()) regardless of the queue order. These aren't
- // accommodated by the standard adaptor class.
- std::vector<Event> event_queue;
+ using heap_t =
+ boost::heap::fibonacci_heap<CoreTiming::Event, boost::heap::compare<std::greater<>>>;
+
+ heap_t event_queue;
u64 event_fifo_id = 0;
std::shared_ptr<EventType> ev_lost;
diff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cpp
index 4ff2c50e5..43a3c5ffd 100644
--- a/src/core/crypto/key_manager.cpp
+++ b/src/core/crypto/key_manager.cpp
@@ -35,7 +35,6 @@ namespace Core::Crypto {
namespace {
constexpr u64 CURRENT_CRYPTO_REVISION = 0x5;
-constexpr u64 FULL_TICKET_SIZE = 0x400;
using Common::AsArray;
@@ -156,6 +155,10 @@ u64 GetSignatureTypePaddingSize(SignatureType type) {
UNREACHABLE();
}
+bool Ticket::IsValid() const {
+ return !std::holds_alternative<std::monostate>(data);
+}
+
SignatureType Ticket::GetSignatureType() const {
if (const auto* ticket = std::get_if<RSA4096Ticket>(&data)) {
return ticket->sig_type;
@@ -210,6 +213,54 @@ Ticket Ticket::SynthesizeCommon(Key128 title_key, const std::array<u8, 16>& righ
return Ticket{out};
}
+Ticket Ticket::Read(const FileSys::VirtualFile& file) {
+ // Attempt to read up to the largest ticket size, and make sure we read at least a signature
+ // type.
+ std::array<u8, sizeof(RSA4096Ticket)> raw_data{};
+ auto read_size = file->Read(raw_data.data(), raw_data.size(), 0);
+ if (read_size < sizeof(SignatureType)) {
+ LOG_WARNING(Crypto, "Attempted to read ticket file with invalid size {}.", read_size);
+ return Ticket{std::monostate()};
+ }
+ return Read(std::span{raw_data});
+}
+
+Ticket Ticket::Read(std::span<const u8> raw_data) {
+ // Some tools read only 0x180 bytes of ticket data instead of 0x2C0, so
+ // just make sure we have at least the bare minimum of data to work with.
+ SignatureType sig_type;
+ if (raw_data.size() < sizeof(SignatureType)) {
+ LOG_WARNING(Crypto, "Attempted to parse ticket buffer with invalid size {}.",
+ raw_data.size());
+ return Ticket{std::monostate()};
+ }
+ std::memcpy(&sig_type, raw_data.data(), sizeof(sig_type));
+
+ switch (sig_type) {
+ case SignatureType::RSA_4096_SHA1:
+ case SignatureType::RSA_4096_SHA256: {
+ RSA4096Ticket ticket{};
+ std::memcpy(&ticket, raw_data.data(), sizeof(ticket));
+ return Ticket{ticket};
+ }
+ case SignatureType::RSA_2048_SHA1:
+ case SignatureType::RSA_2048_SHA256: {
+ RSA2048Ticket ticket{};
+ std::memcpy(&ticket, raw_data.data(), sizeof(ticket));
+ return Ticket{ticket};
+ }
+ case SignatureType::ECDSA_SHA1:
+ case SignatureType::ECDSA_SHA256: {
+ ECDSATicket ticket{};
+ std::memcpy(&ticket, raw_data.data(), sizeof(ticket));
+ return Ticket{ticket};
+ }
+ default:
+ LOG_WARNING(Crypto, "Attempted to parse ticket buffer with invalid type {}.", sig_type);
+ return Ticket{std::monostate()};
+ }
+}
+
Key128 GenerateKeyEncryptionKey(Key128 source, Key128 master, Key128 kek_seed, Key128 key_seed) {
Key128 out{};
@@ -290,9 +341,9 @@ void KeyManager::DeriveGeneralPurposeKeys(std::size_t crypto_revision) {
}
}
-RSAKeyPair<2048> KeyManager::GetETicketRSAKey() const {
+void KeyManager::DeriveETicketRSAKey() {
if (IsAllZeroArray(eticket_extended_kek) || !HasKey(S128KeyType::ETicketRSAKek)) {
- return {};
+ return;
}
const auto eticket_final = GetKey(S128KeyType::ETicketRSAKek);
@@ -304,12 +355,12 @@ RSAKeyPair<2048> KeyManager::GetETicketRSAKey() const {
rsa_1.Transcode(eticket_extended_kek.data() + 0x10, eticket_extended_kek.size() - 0x10,
extended_dec.data(), Op::Decrypt);
- RSAKeyPair<2048> rsa_key{};
- std::memcpy(rsa_key.decryption_key.data(), extended_dec.data(), rsa_key.decryption_key.size());
- std::memcpy(rsa_key.modulus.data(), extended_dec.data() + 0x100, rsa_key.modulus.size());
- std::memcpy(rsa_key.exponent.data(), extended_dec.data() + 0x200, rsa_key.exponent.size());
-
- return rsa_key;
+ std::memcpy(eticket_rsa_keypair.decryption_key.data(), extended_dec.data(),
+ eticket_rsa_keypair.decryption_key.size());
+ std::memcpy(eticket_rsa_keypair.modulus.data(), extended_dec.data() + 0x100,
+ eticket_rsa_keypair.modulus.size());
+ std::memcpy(eticket_rsa_keypair.exponent.data(), extended_dec.data() + 0x200,
+ eticket_rsa_keypair.exponent.size());
}
Key128 DeriveKeyblobMACKey(const Key128& keyblob_key, const Key128& mac_source) {
@@ -447,10 +498,12 @@ std::vector<Ticket> GetTicketblob(const Common::FS::IOFile& ticket_save) {
for (std::size_t offset = 0; offset + 0x4 < buffer.size(); ++offset) {
if (buffer[offset] == 0x4 && buffer[offset + 1] == 0x0 && buffer[offset + 2] == 0x1 &&
buffer[offset + 3] == 0x0) {
- out.emplace_back();
- auto& next = out.back();
- std::memcpy(&next, buffer.data() + offset, sizeof(Ticket));
- offset += FULL_TICKET_SIZE;
+ // NOTE: Assumes ticket blob will only contain RSA-2048 tickets.
+ auto ticket = Ticket::Read(std::span{buffer.data() + offset, sizeof(RSA2048Ticket)});
+ offset += sizeof(RSA2048Ticket);
+ if (ticket.IsValid()) {
+ out.push_back(ticket);
+ }
}
}
@@ -503,25 +556,36 @@ static std::optional<u64> FindTicketOffset(const std::array<u8, size>& data) {
return offset;
}
-std::optional<std::pair<Key128, Key128>> ParseTicket(const Ticket& ticket,
- const RSAKeyPair<2048>& key) {
+std::optional<Key128> KeyManager::ParseTicketTitleKey(const Ticket& ticket) {
+ if (!ticket.IsValid()) {
+ LOG_WARNING(Crypto, "Attempted to parse title key of invalid ticket.");
+ return std::nullopt;
+ }
+
+ if (ticket.GetData().rights_id == Key128{}) {
+ LOG_WARNING(Crypto, "Attempted to parse title key of ticket with no rights ID.");
+ return std::nullopt;
+ }
+
const auto issuer = ticket.GetData().issuer;
if (IsAllZeroArray(issuer)) {
+ LOG_WARNING(Crypto, "Attempted to parse title key of ticket with invalid issuer.");
return std::nullopt;
}
+
if (issuer[0] != 'R' || issuer[1] != 'o' || issuer[2] != 'o' || issuer[3] != 't') {
- LOG_INFO(Crypto, "Attempting to parse ticket with non-standard certificate authority.");
+ LOG_WARNING(Crypto, "Parsing ticket with non-standard certificate authority.");
}
- Key128 rights_id = ticket.GetData().rights_id;
-
- if (rights_id == Key128{}) {
- return std::nullopt;
+ if (ticket.GetData().type == TitleKeyType::Common) {
+ return ticket.GetData().title_key_common;
}
- if (!std::any_of(ticket.GetData().title_key_common_pad.begin(),
- ticket.GetData().title_key_common_pad.end(), [](u8 b) { return b != 0; })) {
- return std::make_pair(rights_id, ticket.GetData().title_key_common);
+ if (eticket_rsa_keypair == RSAKeyPair<2048>{}) {
+ LOG_WARNING(
+ Crypto,
+ "Skipping personalized ticket title key parsing due to missing ETicket RSA key-pair.");
+ return std::nullopt;
}
mbedtls_mpi D; // RSA Private Exponent
@@ -534,9 +598,12 @@ std::optional<std::pair<Key128, Key128>> ParseTicket(const Ticket& ticket,
mbedtls_mpi_init(&S);
mbedtls_mpi_init(&M);
- mbedtls_mpi_read_binary(&D, key.decryption_key.data(), key.decryption_key.size());
- mbedtls_mpi_read_binary(&N, key.modulus.data(), key.modulus.size());
- mbedtls_mpi_read_binary(&S, ticket.GetData().title_key_block.data(), 0x100);
+ const auto& title_key_block = ticket.GetData().title_key_block;
+ mbedtls_mpi_read_binary(&D, eticket_rsa_keypair.decryption_key.data(),
+ eticket_rsa_keypair.decryption_key.size());
+ mbedtls_mpi_read_binary(&N, eticket_rsa_keypair.modulus.data(),
+ eticket_rsa_keypair.modulus.size());
+ mbedtls_mpi_read_binary(&S, title_key_block.data(), title_key_block.size());
mbedtls_mpi_exp_mod(&M, &S, &D, &N, nullptr);
@@ -564,8 +631,7 @@ std::optional<std::pair<Key128, Key128>> ParseTicket(const Ticket& ticket,
Key128 key_temp{};
std::memcpy(key_temp.data(), m_2.data() + *offset, key_temp.size());
-
- return std::make_pair(rights_id, key_temp);
+ return key_temp;
}
KeyManager::KeyManager() {
@@ -658,17 +724,25 @@ void KeyManager::LoadFromFile(const std::filesystem::path& file_path, bool is_ti
continue;
}
- const auto index = std::stoul(out[0].substr(8, 2), nullptr, 16);
+ const auto index = std::strtoul(out[0].substr(8, 2).c_str(), nullptr, 16);
keyblobs[index] = Common::HexStringToArray<0x90>(out[1]);
} else if (out[0].compare(0, 18, "encrypted_keyblob_") == 0) {
if (!ValidCryptoRevisionString(out[0], 18, 2)) {
continue;
}
- const auto index = std::stoul(out[0].substr(18, 2), nullptr, 16);
+ const auto index = std::strtoul(out[0].substr(18, 2).c_str(), nullptr, 16);
encrypted_keyblobs[index] = Common::HexStringToArray<0xB0>(out[1]);
} else if (out[0].compare(0, 20, "eticket_extended_kek") == 0) {
eticket_extended_kek = Common::HexStringToArray<576>(out[1]);
+ } else if (out[0].compare(0, 19, "eticket_rsa_keypair") == 0) {
+ const auto key_data = Common::HexStringToArray<528>(out[1]);
+ std::memcpy(eticket_rsa_keypair.decryption_key.data(), key_data.data(),
+ eticket_rsa_keypair.decryption_key.size());
+ std::memcpy(eticket_rsa_keypair.modulus.data(), key_data.data() + 0x100,
+ eticket_rsa_keypair.modulus.size());
+ std::memcpy(eticket_rsa_keypair.exponent.data(), key_data.data() + 0x200,
+ eticket_rsa_keypair.exponent.size());
} else {
for (const auto& kv : KEYS_VARIABLE_LENGTH) {
if (!ValidCryptoRevisionString(out[0], kv.second.size(), 2)) {
@@ -676,7 +750,7 @@ void KeyManager::LoadFromFile(const std::filesystem::path& file_path, bool is_ti
}
if (out[0].compare(0, kv.second.size(), kv.second) == 0) {
const auto index =
- std::stoul(out[0].substr(kv.second.size(), 2), nullptr, 16);
+ std::strtoul(out[0].substr(kv.second.size(), 2).c_str(), nullptr, 16);
const auto sub = kv.first.second;
if (sub == 0) {
s128_keys[{kv.first.first, index, 0}] =
@@ -696,7 +770,7 @@ void KeyManager::LoadFromFile(const std::filesystem::path& file_path, bool is_ti
const auto& match = kak_names[j];
if (out[0].compare(0, std::strlen(match), match) == 0) {
const auto index =
- std::stoul(out[0].substr(std::strlen(match), 2), nullptr, 16);
+ std::strtoul(out[0].substr(std::strlen(match), 2).c_str(), nullptr, 16);
s128_keys[{S128KeyType::KeyArea, index, j}] =
Common::HexStringToArray<16>(out[1]);
}
@@ -1110,56 +1184,38 @@ void KeyManager::DeriveETicket(PartitionDataManager& data,
eticket_extended_kek = data.GetETicketExtendedKek();
WriteKeyToFile(KeyCategory::Console, "eticket_extended_kek", eticket_extended_kek);
+ DeriveETicketRSAKey();
PopulateTickets();
}
void KeyManager::PopulateTickets() {
- const auto rsa_key = GetETicketRSAKey();
-
- if (rsa_key == RSAKeyPair<2048>{}) {
+ if (ticket_databases_loaded) {
return;
}
+ ticket_databases_loaded = true;
- if (!common_tickets.empty() && !personal_tickets.empty()) {
- return;
- }
+ std::vector<Ticket> tickets;
const auto system_save_e1_path =
Common::FS::GetYuzuPath(Common::FS::YuzuPath::NANDDir) / "system/save/80000000000000e1";
-
- const Common::FS::IOFile save_e1{system_save_e1_path, Common::FS::FileAccessMode::Read,
- Common::FS::FileType::BinaryFile};
+ if (Common::FS::Exists(system_save_e1_path)) {
+ const Common::FS::IOFile save_e1{system_save_e1_path, Common::FS::FileAccessMode::Read,
+ Common::FS::FileType::BinaryFile};
+ const auto blob1 = GetTicketblob(save_e1);
+ tickets.insert(tickets.end(), blob1.begin(), blob1.end());
+ }
const auto system_save_e2_path =
Common::FS::GetYuzuPath(Common::FS::YuzuPath::NANDDir) / "system/save/80000000000000e2";
+ if (Common::FS::Exists(system_save_e2_path)) {
+ const Common::FS::IOFile save_e2{system_save_e2_path, Common::FS::FileAccessMode::Read,
+ Common::FS::FileType::BinaryFile};
+ const auto blob2 = GetTicketblob(save_e2);
+ tickets.insert(tickets.end(), blob2.begin(), blob2.end());
+ }
- const Common::FS::IOFile save_e2{system_save_e2_path, Common::FS::FileAccessMode::Read,
- Common::FS::FileType::BinaryFile};
-
- const auto blob2 = GetTicketblob(save_e2);
- auto res = GetTicketblob(save_e1);
-
- const auto idx = res.size();
- res.insert(res.end(), blob2.begin(), blob2.end());
-
- for (std::size_t i = 0; i < res.size(); ++i) {
- const auto common = i < idx;
- const auto pair = ParseTicket(res[i], rsa_key);
- if (!pair) {
- continue;
- }
-
- const auto& [rid, key] = *pair;
- u128 rights_id;
- std::memcpy(rights_id.data(), rid.data(), rid.size());
-
- if (common) {
- common_tickets[rights_id] = res[i];
- } else {
- personal_tickets[rights_id] = res[i];
- }
-
- SetKey(S128KeyType::Titlekey, key, rights_id[1], rights_id[0]);
+ for (const auto& ticket : tickets) {
+ AddTicket(ticket);
}
}
@@ -1291,41 +1347,33 @@ const std::map<u128, Ticket>& KeyManager::GetPersonalizedTickets() const {
return personal_tickets;
}
-bool KeyManager::AddTicketCommon(Ticket raw) {
- const auto rsa_key = GetETicketRSAKey();
- if (rsa_key == RSAKeyPair<2048>{}) {
- return false;
- }
-
- const auto pair = ParseTicket(raw, rsa_key);
- if (!pair) {
+bool KeyManager::AddTicket(const Ticket& ticket) {
+ if (!ticket.IsValid()) {
+ LOG_WARNING(Crypto, "Attempted to add invalid ticket.");
return false;
}
- const auto& [rid, key] = *pair;
+ const auto& rid = ticket.GetData().rights_id;
u128 rights_id;
std::memcpy(rights_id.data(), rid.data(), rid.size());
- common_tickets[rights_id] = raw;
- SetKey(S128KeyType::Titlekey, key, rights_id[1], rights_id[0]);
- return true;
-}
+ if (ticket.GetData().type == Core::Crypto::TitleKeyType::Common) {
+ common_tickets[rights_id] = ticket;
+ } else {
+ personal_tickets[rights_id] = ticket;
+ }
-bool KeyManager::AddTicketPersonalized(Ticket raw) {
- const auto rsa_key = GetETicketRSAKey();
- if (rsa_key == RSAKeyPair<2048>{}) {
- return false;
+ if (HasKey(S128KeyType::Titlekey, rights_id[1], rights_id[0])) {
+ LOG_DEBUG(Crypto,
+ "Skipping parsing title key from ticket for known rights ID {:016X}{:016X}.",
+ rights_id[1], rights_id[0]);
+ return true;
}
- const auto pair = ParseTicket(raw, rsa_key);
- if (!pair) {
+ const auto key = ParseTicketTitleKey(ticket);
+ if (!key) {
return false;
}
-
- const auto& [rid, key] = *pair;
- u128 rights_id;
- std::memcpy(rights_id.data(), rid.data(), rid.size());
- common_tickets[rights_id] = raw;
- SetKey(S128KeyType::Titlekey, key, rights_id[1], rights_id[0]);
+ SetKey(S128KeyType::Titlekey, key.value(), rights_id[1], rights_id[0]);
return true;
}
} // namespace Core::Crypto
diff --git a/src/core/crypto/key_manager.h b/src/core/crypto/key_manager.h
index 8c864503b..2250eccec 100644
--- a/src/core/crypto/key_manager.h
+++ b/src/core/crypto/key_manager.h
@@ -7,6 +7,7 @@
#include <filesystem>
#include <map>
#include <optional>
+#include <span>
#include <string>
#include <variant>
@@ -29,8 +30,6 @@ enum class ResultStatus : u16;
namespace Core::Crypto {
-constexpr u64 TICKET_FILE_TITLEKEY_OFFSET = 0x180;
-
using Key128 = std::array<u8, 0x10>;
using Key256 = std::array<u8, 0x20>;
using SHA256Hash = std::array<u8, 0x20>;
@@ -82,6 +81,7 @@ struct RSA4096Ticket {
INSERT_PADDING_BYTES(0x3C);
TicketData data;
};
+static_assert(sizeof(RSA4096Ticket) == 0x500, "RSA4096Ticket has incorrect size.");
struct RSA2048Ticket {
SignatureType sig_type;
@@ -89,6 +89,7 @@ struct RSA2048Ticket {
INSERT_PADDING_BYTES(0x3C);
TicketData data;
};
+static_assert(sizeof(RSA2048Ticket) == 0x400, "RSA2048Ticket has incorrect size.");
struct ECDSATicket {
SignatureType sig_type;
@@ -96,16 +97,41 @@ struct ECDSATicket {
INSERT_PADDING_BYTES(0x40);
TicketData data;
};
+static_assert(sizeof(ECDSATicket) == 0x340, "ECDSATicket has incorrect size.");
struct Ticket {
- std::variant<RSA4096Ticket, RSA2048Ticket, ECDSATicket> data;
-
- SignatureType GetSignatureType() const;
- TicketData& GetData();
- const TicketData& GetData() const;
- u64 GetSize() const;
-
+ std::variant<std::monostate, RSA4096Ticket, RSA2048Ticket, ECDSATicket> data;
+
+ [[nodiscard]] bool IsValid() const;
+ [[nodiscard]] SignatureType GetSignatureType() const;
+ [[nodiscard]] TicketData& GetData();
+ [[nodiscard]] const TicketData& GetData() const;
+ [[nodiscard]] u64 GetSize() const;
+
+ /**
+ * Synthesizes a common ticket given a title key and rights ID.
+ *
+ * @param title_key Title key to store in the ticket.
+ * @param rights_id Rights ID the ticket is for.
+ * @return The synthesized common ticket.
+ */
static Ticket SynthesizeCommon(Key128 title_key, const std::array<u8, 0x10>& rights_id);
+
+ /**
+ * Reads a ticket from a file.
+ *
+ * @param file File to read the ticket from.
+ * @return The read ticket. If the ticket data is invalid, Ticket::IsValid() will be false.
+ */
+ static Ticket Read(const FileSys::VirtualFile& file);
+
+ /**
+ * Reads a ticket from a memory buffer.
+ *
+ * @param raw_data Buffer to read the ticket from.
+ * @return The read ticket. If the ticket data is invalid, Ticket::IsValid() will be false.
+ */
+ static Ticket Read(std::span<const u8> raw_data);
};
static_assert(sizeof(Key128) == 16, "Key128 must be 128 bytes big.");
@@ -264,8 +290,7 @@ public:
const std::map<u128, Ticket>& GetCommonTickets() const;
const std::map<u128, Ticket>& GetPersonalizedTickets() const;
- bool AddTicketCommon(Ticket raw);
- bool AddTicketPersonalized(Ticket raw);
+ bool AddTicket(const Ticket& ticket);
void ReloadKeys();
bool AreKeysLoaded() const;
@@ -279,10 +304,12 @@ private:
// Map from rights ID to ticket
std::map<u128, Ticket> common_tickets;
std::map<u128, Ticket> personal_tickets;
+ bool ticket_databases_loaded = false;
std::array<std::array<u8, 0xB0>, 0x20> encrypted_keyblobs{};
std::array<std::array<u8, 0x90>, 0x20> keyblobs{};
std::array<u8, 576> eticket_extended_kek{};
+ RSAKeyPair<2048> eticket_rsa_keypair{};
bool dev_mode;
void LoadFromFile(const std::filesystem::path& file_path, bool is_title_keys);
@@ -293,10 +320,13 @@ private:
void DeriveGeneralPurposeKeys(std::size_t crypto_revision);
- RSAKeyPair<2048> GetETicketRSAKey() const;
+ void DeriveETicketRSAKey();
void SetKeyWrapped(S128KeyType id, Key128 key, u64 field1 = 0, u64 field2 = 0);
void SetKeyWrapped(S256KeyType id, Key256 key, u64 field1 = 0, u64 field2 = 0);
+
+ /// Parses the title key section of a ticket.
+ std::optional<Key128> ParseTicketTitleKey(const Ticket& ticket);
};
Key128 GenerateKeyEncryptionKey(Key128 source, Key128 master, Key128 kek_seed, Key128 key_seed);
@@ -311,9 +341,4 @@ Loader::ResultStatus DeriveSDKeys(std::array<Key256, 2>& sd_keys, KeyManager& ke
std::vector<Ticket> GetTicketblob(const Common::FS::IOFile& ticket_save);
-// Returns a pair of {rights_id, titlekey}. Fails if the ticket has no certificate authority
-// (offset 0x140-0x144 is zero)
-std::optional<std::pair<Key128, Key128>> ParseTicket(const Ticket& ticket,
- const RSAKeyPair<2048>& eticket_extended_key);
-
} // namespace Core::Crypto
diff --git a/src/core/debugger/gdbstub.cpp b/src/core/debugger/gdbstub.cpp
index 0f839d5b4..82964f0a1 100644
--- a/src/core/debugger/gdbstub.cpp
+++ b/src/core/debugger/gdbstub.cpp
@@ -2,6 +2,8 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include <atomic>
+#include <codecvt>
+#include <locale>
#include <numeric>
#include <optional>
#include <thread>
@@ -12,6 +14,7 @@
#include "common/logging/log.h"
#include "common/scope_exit.h"
#include "common/settings.h"
+#include "common/string_util.h"
#include "core/arm/arm_interface.h"
#include "core/core.h"
#include "core/debugger/gdbstub.h"
@@ -68,10 +71,16 @@ static std::string EscapeGDB(std::string_view data) {
}
static std::string EscapeXML(std::string_view data) {
+ std::u32string converted = U"[Encoding error]";
+ try {
+ converted = Common::UTF8ToUTF32(data);
+ } catch (std::range_error&) {
+ }
+
std::string escaped;
escaped.reserve(data.size());
- for (char c : data) {
+ for (char32_t c : converted) {
switch (c) {
case '&':
escaped += "&amp;";
@@ -86,7 +95,11 @@ static std::string EscapeXML(std::string_view data) {
escaped += "&gt;";
break;
default:
- escaped += c;
+ if (c > 0x7f) {
+ escaped += fmt::format("&#{};", static_cast<u32>(c));
+ } else {
+ escaped += static_cast<char>(c);
+ }
break;
}
}
@@ -263,6 +276,23 @@ void GDBStub::ExecuteCommand(std::string_view packet, std::vector<DebuggerAction
std::vector<u8> mem(size);
if (system.ApplicationMemory().ReadBlock(addr, mem.data(), size)) {
+ // Restore any bytes belonging to replaced instructions.
+ auto it = replaced_instructions.lower_bound(addr);
+ for (; it != replaced_instructions.end() && it->first < addr + size; it++) {
+ // Get the bytes of the instruction we previously replaced.
+ const u32 original_bytes = it->second;
+
+ // Calculate where to start writing to the output buffer.
+ const size_t output_offset = it->first - addr;
+
+ // Calculate how many bytes to write.
+ // The loop condition ensures output_offset < size.
+ const size_t n = std::min<size_t>(size - output_offset, sizeof(u32));
+
+ // Write the bytes to the output buffer.
+ std::memcpy(mem.data() + output_offset, &original_bytes, n);
+ }
+
SendReply(Common::HexToString(mem));
} else {
SendReply(GDB_STUB_REPLY_ERR);
diff --git a/src/core/file_sys/card_image.cpp b/src/core/file_sys/card_image.cpp
index 5d02865f4..8b9a4fc5a 100644
--- a/src/core/file_sys/card_image.cpp
+++ b/src/core/file_sys/card_image.cpp
@@ -31,13 +31,9 @@ XCI::XCI(VirtualFile file_, u64 program_id, size_t program_index)
: file(std::move(file_)), program_nca_status{Loader::ResultStatus::ErrorXCIMissingProgramNCA},
partitions(partition_names.size()),
partitions_raw(partition_names.size()), keys{Core::Crypto::KeyManager::Instance()} {
- if (file->ReadObject(&header) != sizeof(GamecardHeader)) {
- status = Loader::ResultStatus::ErrorBadXCIHeader;
- return;
- }
-
- if (header.magic != Common::MakeMagic('H', 'E', 'A', 'D')) {
- status = Loader::ResultStatus::ErrorBadXCIHeader;
+ const auto header_status = TryReadHeader();
+ if (header_status != Loader::ResultStatus::Success) {
+ status = header_status;
return;
}
@@ -183,9 +179,9 @@ u32 XCI::GetSystemUpdateVersion() {
}
for (const auto& update_file : update->GetFiles()) {
- NCA nca{update_file, nullptr, 0};
+ NCA nca{update_file};
- if (nca.GetStatus() != Loader::ResultStatus::Success) {
+ if (nca.GetStatus() != Loader::ResultStatus::Success || nca.GetSubdirectories().empty()) {
continue;
}
@@ -296,7 +292,7 @@ Loader::ResultStatus XCI::AddNCAFromPartition(XCIPartition part) {
continue;
}
- auto nca = std::make_shared<NCA>(partition_file, nullptr, 0);
+ auto nca = std::make_shared<NCA>(partition_file);
if (nca->IsUpdate()) {
continue;
}
@@ -316,6 +312,44 @@ Loader::ResultStatus XCI::AddNCAFromPartition(XCIPartition part) {
return Loader::ResultStatus::Success;
}
+Loader::ResultStatus XCI::TryReadHeader() {
+ constexpr size_t CardInitialDataRegionSize = 0x1000;
+
+ // Define the function we'll use to determine if we read a valid header.
+ const auto ReadCardHeader = [&]() {
+ // Ensure we can read the entire header. If we can't, we can't read the card image.
+ if (file->ReadObject(&header) != sizeof(GamecardHeader)) {
+ return Loader::ResultStatus::ErrorBadXCIHeader;
+ }
+
+ // Ensure the header magic matches. If it doesn't, this isn't a card image header.
+ if (header.magic != Common::MakeMagic('H', 'E', 'A', 'D')) {
+ return Loader::ResultStatus::ErrorBadXCIHeader;
+ }
+
+ // We read a card image header.
+ return Loader::ResultStatus::Success;
+ };
+
+ // Try to read the header directly.
+ if (ReadCardHeader() == Loader::ResultStatus::Success) {
+ return Loader::ResultStatus::Success;
+ }
+
+ // Get the size of the file.
+ const size_t card_image_size = file->GetSize();
+
+ // If we are large enough to have a key area, offset past the key area and retry.
+ if (card_image_size >= CardInitialDataRegionSize) {
+ file = std::make_shared<OffsetVfsFile>(file, card_image_size - CardInitialDataRegionSize,
+ CardInitialDataRegionSize);
+ return ReadCardHeader();
+ }
+
+ // We had no header and aren't large enough to have a key area, so this can't be parsed.
+ return Loader::ResultStatus::ErrorBadXCIHeader;
+}
+
u8 XCI::GetFormatVersion() {
return GetLogoPartition() == nullptr ? 0x1 : 0x2;
}
diff --git a/src/core/file_sys/card_image.h b/src/core/file_sys/card_image.h
index 1283f8216..9886123e7 100644
--- a/src/core/file_sys/card_image.h
+++ b/src/core/file_sys/card_image.h
@@ -128,6 +128,7 @@ public:
private:
Loader::ResultStatus AddNCAFromPartition(XCIPartition part);
+ Loader::ResultStatus TryReadHeader();
VirtualFile file;
GamecardHeader header{};
diff --git a/src/core/file_sys/content_archive.cpp b/src/core/file_sys/content_archive.cpp
index 06efab46d..7d2f0abb8 100644
--- a/src/core/file_sys/content_archive.cpp
+++ b/src/core/file_sys/content_archive.cpp
@@ -12,545 +12,118 @@
#include "core/crypto/ctr_encryption_layer.h"
#include "core/crypto/key_manager.h"
#include "core/file_sys/content_archive.h"
-#include "core/file_sys/nca_patch.h"
#include "core/file_sys/partition_filesystem.h"
#include "core/file_sys/vfs_offset.h"
#include "core/loader/loader.h"
+#include "core/file_sys/fssystem/fssystem_compression_configuration.h"
+#include "core/file_sys/fssystem/fssystem_crypto_configuration.h"
+#include "core/file_sys/fssystem/fssystem_nca_file_system_driver.h"
+
namespace FileSys {
-// Media offsets in headers are stored divided by 512. Mult. by this to get real offset.
-constexpr u64 MEDIA_OFFSET_MULTIPLIER = 0x200;
-
-constexpr u64 SECTION_HEADER_SIZE = 0x200;
-constexpr u64 SECTION_HEADER_OFFSET = 0x400;
-
-constexpr u32 IVFC_MAX_LEVEL = 6;
-
-enum class NCASectionFilesystemType : u8 {
- PFS0 = 0x2,
- ROMFS = 0x3,
-};
-
-struct IVFCLevel {
- u64_le offset;
- u64_le size;
- u32_le block_size;
- u32_le reserved;
-};
-static_assert(sizeof(IVFCLevel) == 0x18, "IVFCLevel has incorrect size.");
-
-struct IVFCHeader {
- u32_le magic;
- u32_le magic_number;
- INSERT_PADDING_BYTES_NOINIT(8);
- std::array<IVFCLevel, 6> levels;
- INSERT_PADDING_BYTES_NOINIT(64);
-};
-static_assert(sizeof(IVFCHeader) == 0xE0, "IVFCHeader has incorrect size.");
-
-struct NCASectionHeaderBlock {
- INSERT_PADDING_BYTES_NOINIT(3);
- NCASectionFilesystemType filesystem_type;
- NCASectionCryptoType crypto_type;
- INSERT_PADDING_BYTES_NOINIT(3);
-};
-static_assert(sizeof(NCASectionHeaderBlock) == 0x8, "NCASectionHeaderBlock has incorrect size.");
-
-struct NCABucketInfo {
- u64 table_offset;
- u64 table_size;
- std::array<u8, 0x10> table_header;
-};
-static_assert(sizeof(NCABucketInfo) == 0x20, "NCABucketInfo has incorrect size.");
-
-struct NCASparseInfo {
- NCABucketInfo bucket;
- u64 physical_offset;
- u16 generation;
- INSERT_PADDING_BYTES_NOINIT(0x6);
-};
-static_assert(sizeof(NCASparseInfo) == 0x30, "NCASparseInfo has incorrect size.");
-
-struct NCACompressionInfo {
- NCABucketInfo bucket;
- INSERT_PADDING_BYTES_NOINIT(0x8);
-};
-static_assert(sizeof(NCACompressionInfo) == 0x28, "NCACompressionInfo has incorrect size.");
-
-struct NCASectionRaw {
- NCASectionHeaderBlock header;
- std::array<u8, 0x138> block_data;
- std::array<u8, 0x8> section_ctr;
- NCASparseInfo sparse_info;
- NCACompressionInfo compression_info;
- INSERT_PADDING_BYTES_NOINIT(0x60);
-};
-static_assert(sizeof(NCASectionRaw) == 0x200, "NCASectionRaw has incorrect size.");
-
-struct PFS0Superblock {
- NCASectionHeaderBlock header_block;
- std::array<u8, 0x20> hash;
- u32_le size;
- INSERT_PADDING_BYTES_NOINIT(4);
- u64_le hash_table_offset;
- u64_le hash_table_size;
- u64_le pfs0_header_offset;
- u64_le pfs0_size;
- INSERT_PADDING_BYTES_NOINIT(0x1B0);
-};
-static_assert(sizeof(PFS0Superblock) == 0x200, "PFS0Superblock has incorrect size.");
-
-struct RomFSSuperblock {
- NCASectionHeaderBlock header_block;
- IVFCHeader ivfc;
- INSERT_PADDING_BYTES_NOINIT(0x118);
-};
-static_assert(sizeof(RomFSSuperblock) == 0x200, "RomFSSuperblock has incorrect size.");
-
-struct BKTRHeader {
- u64_le offset;
- u64_le size;
- u32_le magic;
- INSERT_PADDING_BYTES_NOINIT(0x4);
- u32_le number_entries;
- INSERT_PADDING_BYTES_NOINIT(0x4);
-};
-static_assert(sizeof(BKTRHeader) == 0x20, "BKTRHeader has incorrect size.");
-
-struct BKTRSuperblock {
- NCASectionHeaderBlock header_block;
- IVFCHeader ivfc;
- INSERT_PADDING_BYTES_NOINIT(0x18);
- BKTRHeader relocation;
- BKTRHeader subsection;
- INSERT_PADDING_BYTES_NOINIT(0xC0);
-};
-static_assert(sizeof(BKTRSuperblock) == 0x200, "BKTRSuperblock has incorrect size.");
-
-union NCASectionHeader {
- NCASectionRaw raw{};
- PFS0Superblock pfs0;
- RomFSSuperblock romfs;
- BKTRSuperblock bktr;
-};
-static_assert(sizeof(NCASectionHeader) == 0x200, "NCASectionHeader has incorrect size.");
-
-static bool IsValidNCA(const NCAHeader& header) {
- // TODO(DarkLordZach): Add NCA2/NCA0 support.
- return header.magic == Common::MakeMagic('N', 'C', 'A', '3');
+static u8 MasterKeyIdForKeyGeneration(u8 key_generation) {
+ return std::max<u8>(key_generation, 1) - 1;
}
-NCA::NCA(VirtualFile file_, VirtualFile bktr_base_romfs_, u64 bktr_base_ivfc_offset)
- : file(std::move(file_)),
- bktr_base_romfs(std::move(bktr_base_romfs_)), keys{Core::Crypto::KeyManager::Instance()} {
+NCA::NCA(VirtualFile file_, const NCA* base_nca)
+ : file(std::move(file_)), keys{Core::Crypto::KeyManager::Instance()} {
if (file == nullptr) {
status = Loader::ResultStatus::ErrorNullFile;
return;
}
- if (sizeof(NCAHeader) != file->ReadObject(&header)) {
- LOG_ERROR(Loader, "File reader errored out during header read.");
+ reader = std::make_shared<NcaReader>();
+ if (Result rc =
+ reader->Initialize(file, GetCryptoConfiguration(), GetNcaCompressionConfiguration());
+ R_FAILED(rc)) {
+ if (rc != ResultInvalidNcaSignature) {
+ LOG_ERROR(Loader, "File reader errored out during header read: {:#x}",
+ rc.GetInnerValue());
+ }
status = Loader::ResultStatus::ErrorBadNCAHeader;
return;
}
- if (!HandlePotentialHeaderDecryption()) {
- return;
- }
-
- has_rights_id = std::ranges::any_of(header.rights_id, [](char c) { return c != '\0'; });
-
- const std::vector<NCASectionHeader> sections = ReadSectionHeaders();
- is_update = std::ranges::any_of(sections, [](const NCASectionHeader& nca_header) {
- return nca_header.raw.header.crypto_type == NCASectionCryptoType::BKTR;
- });
-
- if (!ReadSections(sections, bktr_base_ivfc_offset)) {
+ // Ensure we have the proper key area keys to continue.
+ const u8 master_key_id = MasterKeyIdForKeyGeneration(reader->GetKeyGeneration());
+ if (!keys.HasKey(Core::Crypto::S128KeyType::KeyArea, master_key_id, reader->GetKeyIndex())) {
+ status = Loader::ResultStatus::ErrorMissingKeyAreaKey;
return;
}
- status = Loader::ResultStatus::Success;
-}
-
-NCA::~NCA() = default;
-
-bool NCA::CheckSupportedNCA(const NCAHeader& nca_header) {
- if (nca_header.magic == Common::MakeMagic('N', 'C', 'A', '2')) {
- status = Loader::ResultStatus::ErrorNCA2;
- return false;
- }
+ RightsId rights_id{};
+ reader->GetRightsId(rights_id.data(), rights_id.size());
+ if (rights_id != RightsId{}) {
+ // External decryption key required; provide it here.
+ u128 rights_id_u128;
+ std::memcpy(rights_id_u128.data(), rights_id.data(), sizeof(rights_id));
- if (nca_header.magic == Common::MakeMagic('N', 'C', 'A', '0')) {
- status = Loader::ResultStatus::ErrorNCA0;
- return false;
- }
-
- return true;
-}
-
-bool NCA::HandlePotentialHeaderDecryption() {
- if (IsValidNCA(header)) {
- return true;
- }
-
- if (!CheckSupportedNCA(header)) {
- return false;
- }
-
- NCAHeader dec_header{};
- Core::Crypto::AESCipher<Core::Crypto::Key256> cipher(
- keys.GetKey(Core::Crypto::S256KeyType::Header), Core::Crypto::Mode::XTS);
- cipher.XTSTranscode(&header, sizeof(NCAHeader), &dec_header, 0, 0x200,
- Core::Crypto::Op::Decrypt);
- if (IsValidNCA(dec_header)) {
- header = dec_header;
- encrypted = true;
- } else {
- if (!CheckSupportedNCA(dec_header)) {
- return false;
+ auto titlekey =
+ keys.GetKey(Core::Crypto::S128KeyType::Titlekey, rights_id_u128[1], rights_id_u128[0]);
+ if (titlekey == Core::Crypto::Key128{}) {
+ status = Loader::ResultStatus::ErrorMissingTitlekey;
+ return;
}
- if (keys.HasKey(Core::Crypto::S256KeyType::Header)) {
- status = Loader::ResultStatus::ErrorIncorrectHeaderKey;
- } else {
- status = Loader::ResultStatus::ErrorMissingHeaderKey;
+ if (!keys.HasKey(Core::Crypto::S128KeyType::Titlekek, master_key_id)) {
+ status = Loader::ResultStatus::ErrorMissingTitlekek;
+ return;
}
- return false;
- }
- return true;
-}
+ auto titlekek = keys.GetKey(Core::Crypto::S128KeyType::Titlekek, master_key_id);
+ Core::Crypto::AESCipher<Core::Crypto::Key128> cipher(titlekek, Core::Crypto::Mode::ECB);
+ cipher.Transcode(titlekey.data(), titlekey.size(), titlekey.data(),
+ Core::Crypto::Op::Decrypt);
-std::vector<NCASectionHeader> NCA::ReadSectionHeaders() const {
- const std::ptrdiff_t number_sections =
- std::ranges::count_if(header.section_tables, [](const NCASectionTableEntry& entry) {
- return entry.media_offset > 0;
- });
-
- std::vector<NCASectionHeader> sections(number_sections);
- const auto length_sections = SECTION_HEADER_SIZE * number_sections;
-
- if (encrypted) {
- auto raw = file->ReadBytes(length_sections, SECTION_HEADER_OFFSET);
- Core::Crypto::AESCipher<Core::Crypto::Key256> cipher(
- keys.GetKey(Core::Crypto::S256KeyType::Header), Core::Crypto::Mode::XTS);
- cipher.XTSTranscode(raw.data(), length_sections, sections.data(), 2, SECTION_HEADER_SIZE,
- Core::Crypto::Op::Decrypt);
- } else {
- file->ReadBytes(sections.data(), length_sections, SECTION_HEADER_OFFSET);
- }
-
- return sections;
-}
-
-bool NCA::ReadSections(const std::vector<NCASectionHeader>& sections, u64 bktr_base_ivfc_offset) {
- for (std::size_t i = 0; i < sections.size(); ++i) {
- const auto& section = sections[i];
-
- if (section.raw.sparse_info.bucket.table_offset != 0 &&
- section.raw.sparse_info.bucket.table_size != 0) {
- LOG_ERROR(Loader, "Sparse NCAs are not supported.");
- status = Loader::ResultStatus::ErrorSparseNCA;
- return false;
- }
-
- if (section.raw.compression_info.bucket.table_offset != 0 &&
- section.raw.compression_info.bucket.table_size != 0) {
- LOG_ERROR(Loader, "Compressed NCAs are not supported.");
- status = Loader::ResultStatus::ErrorCompressedNCA;
- return false;
- }
-
- if (section.raw.header.filesystem_type == NCASectionFilesystemType::ROMFS) {
- if (!ReadRomFSSection(section, header.section_tables[i], bktr_base_ivfc_offset)) {
- return false;
- }
- } else if (section.raw.header.filesystem_type == NCASectionFilesystemType::PFS0) {
- if (!ReadPFS0Section(section, header.section_tables[i])) {
- return false;
- }
- }
- }
-
- return true;
-}
-
-bool NCA::ReadRomFSSection(const NCASectionHeader& section, const NCASectionTableEntry& entry,
- u64 bktr_base_ivfc_offset) {
- const std::size_t base_offset = entry.media_offset * MEDIA_OFFSET_MULTIPLIER;
- ivfc_offset = section.romfs.ivfc.levels[IVFC_MAX_LEVEL - 1].offset;
- const std::size_t romfs_offset = base_offset + ivfc_offset;
- const std::size_t romfs_size = section.romfs.ivfc.levels[IVFC_MAX_LEVEL - 1].size;
- auto raw = std::make_shared<OffsetVfsFile>(file, romfs_size, romfs_offset);
- auto dec = Decrypt(section, raw, romfs_offset);
-
- if (dec == nullptr) {
- if (status != Loader::ResultStatus::Success)
- return false;
- if (has_rights_id)
- status = Loader::ResultStatus::ErrorIncorrectTitlekeyOrTitlekek;
- else
- status = Loader::ResultStatus::ErrorIncorrectKeyAreaKey;
- return false;
+ reader->SetExternalDecryptionKey(titlekey.data(), titlekey.size());
}
- if (section.raw.header.crypto_type == NCASectionCryptoType::BKTR) {
- if (section.bktr.relocation.magic != Common::MakeMagic('B', 'K', 'T', 'R') ||
- section.bktr.subsection.magic != Common::MakeMagic('B', 'K', 'T', 'R')) {
- status = Loader::ResultStatus::ErrorBadBKTRHeader;
- return false;
- }
-
- if (section.bktr.relocation.offset + section.bktr.relocation.size !=
- section.bktr.subsection.offset) {
- status = Loader::ResultStatus::ErrorBKTRSubsectionNotAfterRelocation;
- return false;
- }
-
- const u64 size = MEDIA_OFFSET_MULTIPLIER * (entry.media_end_offset - entry.media_offset);
- if (section.bktr.subsection.offset + section.bktr.subsection.size != size) {
- status = Loader::ResultStatus::ErrorBKTRSubsectionNotAtEnd;
- return false;
- }
-
- const u64 offset = section.romfs.ivfc.levels[IVFC_MAX_LEVEL - 1].offset;
- RelocationBlock relocation_block{};
- if (dec->ReadObject(&relocation_block, section.bktr.relocation.offset - offset) !=
- sizeof(RelocationBlock)) {
- status = Loader::ResultStatus::ErrorBadRelocationBlock;
- return false;
- }
- SubsectionBlock subsection_block{};
- if (dec->ReadObject(&subsection_block, section.bktr.subsection.offset - offset) !=
- sizeof(RelocationBlock)) {
- status = Loader::ResultStatus::ErrorBadSubsectionBlock;
- return false;
- }
-
- std::vector<RelocationBucketRaw> relocation_buckets_raw(
- (section.bktr.relocation.size - sizeof(RelocationBlock)) / sizeof(RelocationBucketRaw));
- if (dec->ReadBytes(relocation_buckets_raw.data(),
- section.bktr.relocation.size - sizeof(RelocationBlock),
- section.bktr.relocation.offset + sizeof(RelocationBlock) - offset) !=
- section.bktr.relocation.size - sizeof(RelocationBlock)) {
- status = Loader::ResultStatus::ErrorBadRelocationBuckets;
- return false;
+ const s32 fs_count = reader->GetFsCount();
+ NcaFileSystemDriver fs(base_nca ? base_nca->reader : nullptr, reader);
+ std::vector<VirtualFile> filesystems(fs_count);
+ for (s32 i = 0; i < fs_count; i++) {
+ NcaFsHeaderReader header_reader;
+ const Result rc = fs.OpenStorage(&filesystems[i], &header_reader, i);
+ if (R_FAILED(rc)) {
+ LOG_ERROR(Loader, "File reader errored out during read of section {}: {:#x}", i,
+ rc.GetInnerValue());
+ status = Loader::ResultStatus::ErrorBadNCAHeader;
+ return;
}
- std::vector<SubsectionBucketRaw> subsection_buckets_raw(
- (section.bktr.subsection.size - sizeof(SubsectionBlock)) / sizeof(SubsectionBucketRaw));
- if (dec->ReadBytes(subsection_buckets_raw.data(),
- section.bktr.subsection.size - sizeof(SubsectionBlock),
- section.bktr.subsection.offset + sizeof(SubsectionBlock) - offset) !=
- section.bktr.subsection.size - sizeof(SubsectionBlock)) {
- status = Loader::ResultStatus::ErrorBadSubsectionBuckets;
- return false;
+ if (header_reader.GetFsType() == NcaFsHeader::FsType::RomFs) {
+ files.push_back(filesystems[i]);
+ romfs = files.back();
}
- std::vector<RelocationBucket> relocation_buckets(relocation_buckets_raw.size());
- std::ranges::transform(relocation_buckets_raw, relocation_buckets.begin(),
- &ConvertRelocationBucketRaw);
- std::vector<SubsectionBucket> subsection_buckets(subsection_buckets_raw.size());
- std::ranges::transform(subsection_buckets_raw, subsection_buckets.begin(),
- &ConvertSubsectionBucketRaw);
-
- u32 ctr_low;
- std::memcpy(&ctr_low, section.raw.section_ctr.data(), sizeof(ctr_low));
- subsection_buckets.back().entries.push_back({section.bktr.relocation.offset, {0}, ctr_low});
- subsection_buckets.back().entries.push_back({size, {0}, 0});
-
- std::optional<Core::Crypto::Key128> key;
- if (encrypted) {
- if (has_rights_id) {
- status = Loader::ResultStatus::Success;
- key = GetTitlekey();
- if (!key) {
- status = Loader::ResultStatus::ErrorMissingTitlekey;
- return false;
- }
- } else {
- key = GetKeyAreaKey(NCASectionCryptoType::BKTR);
- if (!key) {
- status = Loader::ResultStatus::ErrorMissingKeyAreaKey;
- return false;
+ if (header_reader.GetFsType() == NcaFsHeader::FsType::PartitionFs) {
+ auto npfs = std::make_shared<PartitionFilesystem>(filesystems[i]);
+ if (npfs->GetStatus() == Loader::ResultStatus::Success) {
+ dirs.push_back(npfs);
+ if (IsDirectoryExeFS(npfs)) {
+ exefs = dirs.back();
+ } else if (IsDirectoryLogoPartition(npfs)) {
+ logo = dirs.back();
+ } else {
+ continue;
}
}
}
- if (bktr_base_romfs == nullptr) {
- status = Loader::ResultStatus::ErrorMissingBKTRBaseRomFS;
- return false;
+ if (header_reader.GetEncryptionType() == NcaFsHeader::EncryptionType::AesCtrEx) {
+ is_update = true;
}
-
- auto bktr = std::make_shared<BKTR>(
- bktr_base_romfs, std::make_shared<OffsetVfsFile>(file, romfs_size, base_offset),
- relocation_block, relocation_buckets, subsection_block, subsection_buckets, encrypted,
- encrypted ? *key : Core::Crypto::Key128{}, base_offset, bktr_base_ivfc_offset,
- section.raw.section_ctr);
-
- // BKTR applies to entire IVFC, so make an offset version to level 6
- files.push_back(std::make_shared<OffsetVfsFile>(
- bktr, romfs_size, section.romfs.ivfc.levels[IVFC_MAX_LEVEL - 1].offset));
- } else {
- files.push_back(std::move(dec));
}
- romfs = files.back();
- return true;
-}
-
-bool NCA::ReadPFS0Section(const NCASectionHeader& section, const NCASectionTableEntry& entry) {
- const u64 offset = (static_cast<u64>(entry.media_offset) * MEDIA_OFFSET_MULTIPLIER) +
- section.pfs0.pfs0_header_offset;
- const u64 size = MEDIA_OFFSET_MULTIPLIER * (entry.media_end_offset - entry.media_offset);
-
- auto dec = Decrypt(section, std::make_shared<OffsetVfsFile>(file, size, offset), offset);
- if (dec != nullptr) {
- auto npfs = std::make_shared<PartitionFilesystem>(std::move(dec));
-
- if (npfs->GetStatus() == Loader::ResultStatus::Success) {
- dirs.push_back(std::move(npfs));
- if (IsDirectoryExeFS(dirs.back()))
- exefs = dirs.back();
- else if (IsDirectoryLogoPartition(dirs.back()))
- logo = dirs.back();
- } else {
- if (has_rights_id)
- status = Loader::ResultStatus::ErrorIncorrectTitlekeyOrTitlekek;
- else
- status = Loader::ResultStatus::ErrorIncorrectKeyAreaKey;
- return false;
- }
+ if (is_update && base_nca == nullptr) {
+ status = Loader::ResultStatus::ErrorMissingBKTRBaseRomFS;
} else {
- if (status != Loader::ResultStatus::Success)
- return false;
- if (has_rights_id)
- status = Loader::ResultStatus::ErrorIncorrectTitlekeyOrTitlekek;
- else
- status = Loader::ResultStatus::ErrorIncorrectKeyAreaKey;
- return false;
+ status = Loader::ResultStatus::Success;
}
-
- return true;
-}
-
-u8 NCA::GetCryptoRevision() const {
- u8 master_key_id = header.crypto_type;
- if (header.crypto_type_2 > master_key_id)
- master_key_id = header.crypto_type_2;
- if (master_key_id > 0)
- --master_key_id;
- return master_key_id;
-}
-
-std::optional<Core::Crypto::Key128> NCA::GetKeyAreaKey(NCASectionCryptoType type) const {
- const auto master_key_id = GetCryptoRevision();
-
- if (!keys.HasKey(Core::Crypto::S128KeyType::KeyArea, master_key_id, header.key_index)) {
- return std::nullopt;
- }
-
- std::vector<u8> key_area(header.key_area.begin(), header.key_area.end());
- Core::Crypto::AESCipher<Core::Crypto::Key128> cipher(
- keys.GetKey(Core::Crypto::S128KeyType::KeyArea, master_key_id, header.key_index),
- Core::Crypto::Mode::ECB);
- cipher.Transcode(key_area.data(), key_area.size(), key_area.data(), Core::Crypto::Op::Decrypt);
-
- Core::Crypto::Key128 out{};
- if (type == NCASectionCryptoType::XTS) {
- std::copy(key_area.begin(), key_area.begin() + 0x10, out.begin());
- } else if (type == NCASectionCryptoType::CTR || type == NCASectionCryptoType::BKTR) {
- std::copy(key_area.begin() + 0x20, key_area.begin() + 0x30, out.begin());
- } else {
- LOG_CRITICAL(Crypto, "Called GetKeyAreaKey on invalid NCASectionCryptoType type={:02X}",
- type);
- }
-
- u128 out_128{};
- std::memcpy(out_128.data(), out.data(), sizeof(u128));
- LOG_TRACE(Crypto, "called with crypto_rev={:02X}, kak_index={:02X}, key={:016X}{:016X}",
- master_key_id, header.key_index, out_128[1], out_128[0]);
-
- return out;
}
-std::optional<Core::Crypto::Key128> NCA::GetTitlekey() {
- const auto master_key_id = GetCryptoRevision();
-
- u128 rights_id{};
- memcpy(rights_id.data(), header.rights_id.data(), 16);
- if (rights_id == u128{}) {
- status = Loader::ResultStatus::ErrorInvalidRightsID;
- return std::nullopt;
- }
-
- auto titlekey = keys.GetKey(Core::Crypto::S128KeyType::Titlekey, rights_id[1], rights_id[0]);
- if (titlekey == Core::Crypto::Key128{}) {
- status = Loader::ResultStatus::ErrorMissingTitlekey;
- return std::nullopt;
- }
-
- if (!keys.HasKey(Core::Crypto::S128KeyType::Titlekek, master_key_id)) {
- status = Loader::ResultStatus::ErrorMissingTitlekek;
- return std::nullopt;
- }
-
- Core::Crypto::AESCipher<Core::Crypto::Key128> cipher(
- keys.GetKey(Core::Crypto::S128KeyType::Titlekek, master_key_id), Core::Crypto::Mode::ECB);
- cipher.Transcode(titlekey.data(), titlekey.size(), titlekey.data(), Core::Crypto::Op::Decrypt);
-
- return titlekey;
-}
-
-VirtualFile NCA::Decrypt(const NCASectionHeader& s_header, VirtualFile in, u64 starting_offset) {
- if (!encrypted)
- return in;
-
- switch (s_header.raw.header.crypto_type) {
- case NCASectionCryptoType::NONE:
- LOG_TRACE(Crypto, "called with mode=NONE");
- return in;
- case NCASectionCryptoType::CTR:
- // During normal BKTR decryption, this entire function is skipped. This is for the metadata,
- // which uses the same CTR as usual.
- case NCASectionCryptoType::BKTR:
- LOG_TRACE(Crypto, "called with mode=CTR, starting_offset={:016X}", starting_offset);
- {
- std::optional<Core::Crypto::Key128> key;
- if (has_rights_id) {
- status = Loader::ResultStatus::Success;
- key = GetTitlekey();
- if (!key) {
- if (status == Loader::ResultStatus::Success)
- status = Loader::ResultStatus::ErrorMissingTitlekey;
- return nullptr;
- }
- } else {
- key = GetKeyAreaKey(NCASectionCryptoType::CTR);
- if (!key) {
- status = Loader::ResultStatus::ErrorMissingKeyAreaKey;
- return nullptr;
- }
- }
-
- auto out = std::make_shared<Core::Crypto::CTREncryptionLayer>(std::move(in), *key,
- starting_offset);
- Core::Crypto::CTREncryptionLayer::IVData iv{};
- for (std::size_t i = 0; i < 8; ++i) {
- iv[i] = s_header.raw.section_ctr[8 - i - 1];
- }
- out->SetIV(iv);
- return std::static_pointer_cast<VfsFile>(out);
- }
- case NCASectionCryptoType::XTS:
- // TODO(DarkLordZach): Find a test case for XTS-encrypted NCAs
- default:
- LOG_ERROR(Crypto, "called with unhandled crypto type={:02X}",
- s_header.raw.header.crypto_type);
- return nullptr;
- }
-}
+NCA::~NCA() = default;
Loader::ResultStatus NCA::GetStatus() const {
return status;
@@ -579,21 +152,24 @@ VirtualDir NCA::GetParentDirectory() const {
}
NCAContentType NCA::GetType() const {
- return header.content_type;
+ return static_cast<NCAContentType>(reader->GetContentType());
}
u64 NCA::GetTitleId() const {
- if (is_update || status == Loader::ResultStatus::ErrorMissingBKTRBaseRomFS)
- return header.title_id | 0x800;
- return header.title_id;
+ if (is_update) {
+ return reader->GetProgramId() | 0x800;
+ }
+ return reader->GetProgramId();
}
-std::array<u8, 16> NCA::GetRightsId() const {
- return header.rights_id;
+RightsId NCA::GetRightsId() const {
+ RightsId result;
+ reader->GetRightsId(result.data(), result.size());
+ return result;
}
u32 NCA::GetSDKVersion() const {
- return header.sdk_version;
+ return reader->GetSdkAddonVersion();
}
bool NCA::IsUpdate() const {
@@ -612,10 +188,6 @@ VirtualFile NCA::GetBaseFile() const {
return file;
}
-u64 NCA::GetBaseIVFCOffset() const {
- return ivfc_offset;
-}
-
VirtualDir NCA::GetLogoPartition() const {
return logo;
}
diff --git a/src/core/file_sys/content_archive.h b/src/core/file_sys/content_archive.h
index 20f524f80..af521d453 100644
--- a/src/core/file_sys/content_archive.h
+++ b/src/core/file_sys/content_archive.h
@@ -21,7 +21,7 @@ enum class ResultStatus : u16;
namespace FileSys {
-union NCASectionHeader;
+class NcaReader;
/// Describes the type of content within an NCA archive.
enum class NCAContentType : u8 {
@@ -45,41 +45,7 @@ enum class NCAContentType : u8 {
PublicData = 5,
};
-enum class NCASectionCryptoType : u8 {
- NONE = 1,
- XTS = 2,
- CTR = 3,
- BKTR = 4,
-};
-
-struct NCASectionTableEntry {
- u32_le media_offset;
- u32_le media_end_offset;
- INSERT_PADDING_BYTES(0x8);
-};
-static_assert(sizeof(NCASectionTableEntry) == 0x10, "NCASectionTableEntry has incorrect size.");
-
-struct NCAHeader {
- std::array<u8, 0x100> rsa_signature_1;
- std::array<u8, 0x100> rsa_signature_2;
- u32_le magic;
- u8 is_system;
- NCAContentType content_type;
- u8 crypto_type;
- u8 key_index;
- u64_le size;
- u64_le title_id;
- INSERT_PADDING_BYTES(0x4);
- u32_le sdk_version;
- u8 crypto_type_2;
- INSERT_PADDING_BYTES(15);
- std::array<u8, 0x10> rights_id;
- std::array<NCASectionTableEntry, 0x4> section_tables;
- std::array<std::array<u8, 0x20>, 0x4> hash_tables;
- std::array<u8, 0x40> key_area;
- INSERT_PADDING_BYTES(0xC0);
-};
-static_assert(sizeof(NCAHeader) == 0x400, "NCAHeader has incorrect size.");
+using RightsId = std::array<u8, 0x10>;
inline bool IsDirectoryExeFS(const VirtualDir& pfs) {
// According to switchbrew, an exefs must only contain these two files:
@@ -97,8 +63,7 @@ inline bool IsDirectoryLogoPartition(const VirtualDir& pfs) {
// After construction, use GetStatus to determine if the file is valid and ready to be used.
class NCA : public ReadOnlyVfsDirectory {
public:
- explicit NCA(VirtualFile file, VirtualFile bktr_base_romfs = nullptr,
- u64 bktr_base_ivfc_offset = 0);
+ explicit NCA(VirtualFile file, const NCA* base_nca = nullptr);
~NCA() override;
Loader::ResultStatus GetStatus() const;
@@ -110,7 +75,7 @@ public:
NCAContentType GetType() const;
u64 GetTitleId() const;
- std::array<u8, 0x10> GetRightsId() const;
+ RightsId GetRightsId() const;
u32 GetSDKVersion() const;
bool IsUpdate() const;
@@ -119,26 +84,9 @@ public:
VirtualFile GetBaseFile() const;
- // Returns the base ivfc offset used in BKTR patching.
- u64 GetBaseIVFCOffset() const;
-
VirtualDir GetLogoPartition() const;
private:
- bool CheckSupportedNCA(const NCAHeader& header);
- bool HandlePotentialHeaderDecryption();
-
- std::vector<NCASectionHeader> ReadSectionHeaders() const;
- bool ReadSections(const std::vector<NCASectionHeader>& sections, u64 bktr_base_ivfc_offset);
- bool ReadRomFSSection(const NCASectionHeader& section, const NCASectionTableEntry& entry,
- u64 bktr_base_ivfc_offset);
- bool ReadPFS0Section(const NCASectionHeader& section, const NCASectionTableEntry& entry);
-
- u8 GetCryptoRevision() const;
- std::optional<Core::Crypto::Key128> GetKeyAreaKey(NCASectionCryptoType type) const;
- std::optional<Core::Crypto::Key128> GetTitlekey();
- VirtualFile Decrypt(const NCASectionHeader& header, VirtualFile in, u64 starting_offset);
-
std::vector<VirtualDir> dirs;
std::vector<VirtualFile> files;
@@ -146,11 +94,6 @@ private:
VirtualDir exefs = nullptr;
VirtualDir logo = nullptr;
VirtualFile file;
- VirtualFile bktr_base_romfs;
- u64 ivfc_offset = 0;
-
- NCAHeader header{};
- bool has_rights_id{};
Loader::ResultStatus status{};
@@ -158,6 +101,7 @@ private:
bool is_update = false;
Core::Crypto::KeyManager& keys;
+ std::shared_ptr<NcaReader> reader;
};
} // namespace FileSys
diff --git a/src/core/file_sys/control_metadata.cpp b/src/core/file_sys/control_metadata.cpp
index cd9ac2e75..0697c29ae 100644
--- a/src/core/file_sys/control_metadata.cpp
+++ b/src/core/file_sys/control_metadata.cpp
@@ -68,7 +68,8 @@ NACP::NACP(VirtualFile file) {
NACP::~NACP() = default;
const LanguageEntry& NACP::GetLanguageEntry() const {
- Language language = language_to_codes[Settings::values.language_index.GetValue()];
+ Language language =
+ language_to_codes[static_cast<s32>(Settings::values.language_index.GetValue())];
{
const auto& language_entry = raw.language_entries.at(static_cast<u8>(language));
diff --git a/src/core/file_sys/errors.h b/src/core/file_sys/errors.h
index 7cee0c7df..2f5045a67 100644
--- a/src/core/file_sys/errors.h
+++ b/src/core/file_sys/errors.h
@@ -17,4 +17,74 @@ constexpr Result ERROR_INVALID_ARGUMENT{ErrorModule::FS, 6001};
constexpr Result ERROR_INVALID_OFFSET{ErrorModule::FS, 6061};
constexpr Result ERROR_INVALID_SIZE{ErrorModule::FS, 6062};
+constexpr Result ResultUnsupportedSdkVersion{ErrorModule::FS, 50};
+constexpr Result ResultPartitionNotFound{ErrorModule::FS, 1001};
+constexpr Result ResultUnsupportedVersion{ErrorModule::FS, 3002};
+constexpr Result ResultOutOfRange{ErrorModule::FS, 3005};
+constexpr Result ResultAllocationMemoryFailedInFileSystemBuddyHeapA{ErrorModule::FS, 3294};
+constexpr Result ResultAllocationMemoryFailedInNcaFileSystemDriverI{ErrorModule::FS, 3341};
+constexpr Result ResultAllocationMemoryFailedInNcaReaderA{ErrorModule::FS, 3363};
+constexpr Result ResultAllocationMemoryFailedInAesCtrCounterExtendedStorageA{ErrorModule::FS, 3399};
+constexpr Result ResultAllocationMemoryFailedInIntegrityRomFsStorageA{ErrorModule::FS, 3412};
+constexpr Result ResultAllocationMemoryFailedMakeUnique{ErrorModule::FS, 3422};
+constexpr Result ResultAllocationMemoryFailedAllocateShared{ErrorModule::FS, 3423};
+constexpr Result ResultInvalidAesCtrCounterExtendedEntryOffset{ErrorModule::FS, 4012};
+constexpr Result ResultIndirectStorageCorrupted{ErrorModule::FS, 4021};
+constexpr Result ResultInvalidIndirectEntryOffset{ErrorModule::FS, 4022};
+constexpr Result ResultInvalidIndirectEntryStorageIndex{ErrorModule::FS, 4023};
+constexpr Result ResultInvalidIndirectStorageSize{ErrorModule::FS, 4024};
+constexpr Result ResultInvalidBucketTreeSignature{ErrorModule::FS, 4032};
+constexpr Result ResultInvalidBucketTreeEntryCount{ErrorModule::FS, 4033};
+constexpr Result ResultInvalidBucketTreeNodeEntryCount{ErrorModule::FS, 4034};
+constexpr Result ResultInvalidBucketTreeNodeOffset{ErrorModule::FS, 4035};
+constexpr Result ResultInvalidBucketTreeEntryOffset{ErrorModule::FS, 4036};
+constexpr Result ResultInvalidBucketTreeEntrySetOffset{ErrorModule::FS, 4037};
+constexpr Result ResultInvalidBucketTreeNodeIndex{ErrorModule::FS, 4038};
+constexpr Result ResultInvalidBucketTreeVirtualOffset{ErrorModule::FS, 4039};
+constexpr Result ResultRomNcaInvalidPatchMetaDataHashType{ErrorModule::FS, 4084};
+constexpr Result ResultRomNcaInvalidIntegrityLayerInfoOffset{ErrorModule::FS, 4085};
+constexpr Result ResultRomNcaInvalidPatchMetaDataHashDataSize{ErrorModule::FS, 4086};
+constexpr Result ResultRomNcaInvalidPatchMetaDataHashDataOffset{ErrorModule::FS, 4087};
+constexpr Result ResultRomNcaInvalidPatchMetaDataHashDataHash{ErrorModule::FS, 4088};
+constexpr Result ResultRomNcaInvalidSparseMetaDataHashType{ErrorModule::FS, 4089};
+constexpr Result ResultRomNcaInvalidSparseMetaDataHashDataSize{ErrorModule::FS, 4090};
+constexpr Result ResultRomNcaInvalidSparseMetaDataHashDataOffset{ErrorModule::FS, 4091};
+constexpr Result ResultRomNcaInvalidSparseMetaDataHashDataHash{ErrorModule::FS, 4091};
+constexpr Result ResultNcaBaseStorageOutOfRangeB{ErrorModule::FS, 4509};
+constexpr Result ResultNcaBaseStorageOutOfRangeC{ErrorModule::FS, 4510};
+constexpr Result ResultNcaBaseStorageOutOfRangeD{ErrorModule::FS, 4511};
+constexpr Result ResultInvalidNcaSignature{ErrorModule::FS, 4517};
+constexpr Result ResultNcaFsHeaderHashVerificationFailed{ErrorModule::FS, 4520};
+constexpr Result ResultInvalidNcaKeyIndex{ErrorModule::FS, 4521};
+constexpr Result ResultInvalidNcaFsHeaderHashType{ErrorModule::FS, 4522};
+constexpr Result ResultInvalidNcaFsHeaderEncryptionType{ErrorModule::FS, 4523};
+constexpr Result ResultInvalidNcaPatchInfoIndirectSize{ErrorModule::FS, 4524};
+constexpr Result ResultInvalidNcaPatchInfoAesCtrExSize{ErrorModule::FS, 4525};
+constexpr Result ResultInvalidNcaPatchInfoAesCtrExOffset{ErrorModule::FS, 4526};
+constexpr Result ResultInvalidNcaHeader{ErrorModule::FS, 4528};
+constexpr Result ResultInvalidNcaFsHeader{ErrorModule::FS, 4529};
+constexpr Result ResultNcaBaseStorageOutOfRangeE{ErrorModule::FS, 4530};
+constexpr Result ResultInvalidHierarchicalSha256BlockSize{ErrorModule::FS, 4532};
+constexpr Result ResultInvalidHierarchicalSha256LayerCount{ErrorModule::FS, 4533};
+constexpr Result ResultHierarchicalSha256BaseStorageTooLarge{ErrorModule::FS, 4534};
+constexpr Result ResultHierarchicalSha256HashVerificationFailed{ErrorModule::FS, 4535};
+constexpr Result ResultInvalidNcaHierarchicalIntegrityVerificationLayerCount{ErrorModule::FS, 4541};
+constexpr Result ResultInvalidNcaIndirectStorageOutOfRange{ErrorModule::FS, 4542};
+constexpr Result ResultInvalidNcaHeader1SignatureKeyGeneration{ErrorModule::FS, 4543};
+constexpr Result ResultInvalidCompressedStorageSize{ErrorModule::FS, 4547};
+constexpr Result ResultInvalidNcaMetaDataHashDataSize{ErrorModule::FS, 4548};
+constexpr Result ResultInvalidNcaMetaDataHashDataHash{ErrorModule::FS, 4549};
+constexpr Result ResultUnexpectedInCompressedStorageA{ErrorModule::FS, 5324};
+constexpr Result ResultUnexpectedInCompressedStorageB{ErrorModule::FS, 5325};
+constexpr Result ResultUnexpectedInCompressedStorageC{ErrorModule::FS, 5326};
+constexpr Result ResultUnexpectedInCompressedStorageD{ErrorModule::FS, 5327};
+constexpr Result ResultInvalidArgument{ErrorModule::FS, 6001};
+constexpr Result ResultInvalidOffset{ErrorModule::FS, 6061};
+constexpr Result ResultInvalidSize{ErrorModule::FS, 6062};
+constexpr Result ResultNullptrArgument{ErrorModule::FS, 6063};
+constexpr Result ResultUnsupportedSetSizeForIndirectStorage{ErrorModule::FS, 6325};
+constexpr Result ResultUnsupportedWriteForCompressedStorage{ErrorModule::FS, 6387};
+constexpr Result ResultUnsupportedOperateRangeForCompressedStorage{ErrorModule::FS, 6388};
+constexpr Result ResultBufferAllocationFailed{ErrorModule::FS, 6705};
+
} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fs_i_storage.h b/src/core/file_sys/fssystem/fs_i_storage.h
new file mode 100644
index 000000000..416dd57b8
--- /dev/null
+++ b/src/core/file_sys/fssystem/fs_i_storage.h
@@ -0,0 +1,58 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "common/overflow.h"
+#include "core/file_sys/errors.h"
+#include "core/file_sys/vfs.h"
+
+namespace FileSys {
+
+class IStorage : public VfsFile {
+public:
+ virtual std::string GetName() const override {
+ return {};
+ }
+
+ virtual VirtualDir GetContainingDirectory() const override {
+ return {};
+ }
+
+ virtual bool IsWritable() const override {
+ return true;
+ }
+
+ virtual bool IsReadable() const override {
+ return true;
+ }
+
+ virtual bool Resize(size_t size) override {
+ return false;
+ }
+
+ virtual bool Rename(std::string_view name) override {
+ return false;
+ }
+
+ static inline Result CheckAccessRange(s64 offset, s64 size, s64 total_size) {
+ R_UNLESS(offset >= 0, ResultInvalidOffset);
+ R_UNLESS(size >= 0, ResultInvalidSize);
+ R_UNLESS(Common::WrappingAdd(offset, size) >= offset, ResultOutOfRange);
+ R_UNLESS(offset + size <= total_size, ResultOutOfRange);
+ R_SUCCEED();
+ }
+};
+
+class IReadOnlyStorage : public IStorage {
+public:
+ virtual bool IsWritable() const override {
+ return false;
+ }
+
+ virtual size_t Write(const u8* buffer, size_t size, size_t offset) override {
+ return 0;
+ }
+};
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fs_types.h b/src/core/file_sys/fssystem/fs_types.h
new file mode 100644
index 000000000..43aeaf447
--- /dev/null
+++ b/src/core/file_sys/fssystem/fs_types.h
@@ -0,0 +1,46 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "common/common_funcs.h"
+
+namespace FileSys {
+
+struct Int64 {
+ u32 low;
+ u32 high;
+
+ constexpr void Set(s64 v) {
+ this->low = static_cast<u32>((v & static_cast<u64>(0x00000000FFFFFFFFULL)) >> 0);
+ this->high = static_cast<u32>((v & static_cast<u64>(0xFFFFFFFF00000000ULL)) >> 32);
+ }
+
+ constexpr s64 Get() const {
+ return (static_cast<s64>(this->high) << 32) | (static_cast<s64>(this->low));
+ }
+
+ constexpr Int64& operator=(s64 v) {
+ this->Set(v);
+ return *this;
+ }
+
+ constexpr operator s64() const {
+ return this->Get();
+ }
+};
+
+struct HashSalt {
+ static constexpr size_t Size = 32;
+
+ std::array<u8, Size> value;
+};
+static_assert(std::is_trivial_v<HashSalt>);
+static_assert(sizeof(HashSalt) == HashSalt::Size);
+
+constexpr inline size_t IntegrityMinLayerCount = 2;
+constexpr inline size_t IntegrityMaxLayerCount = 7;
+constexpr inline size_t IntegrityLayerCountSave = 5;
+constexpr inline size_t IntegrityLayerCountSaveDataMeta = 4;
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.cpp b/src/core/file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.cpp
new file mode 100644
index 000000000..f25c95472
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.cpp
@@ -0,0 +1,251 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.h"
+#include "core/file_sys/fssystem/fssystem_aes_ctr_storage.h"
+#include "core/file_sys/fssystem/fssystem_nca_header.h"
+#include "core/file_sys/vfs_offset.h"
+
+namespace FileSys {
+
+namespace {
+
+class SoftwareDecryptor final : public AesCtrCounterExtendedStorage::IDecryptor {
+public:
+ virtual void Decrypt(
+ u8* buf, size_t buf_size, const std::array<u8, AesCtrCounterExtendedStorage::KeySize>& key,
+ const std::array<u8, AesCtrCounterExtendedStorage::IvSize>& iv) override final;
+};
+
+} // namespace
+
+Result AesCtrCounterExtendedStorage::CreateSoftwareDecryptor(std::unique_ptr<IDecryptor>* out) {
+ std::unique_ptr<IDecryptor> decryptor = std::make_unique<SoftwareDecryptor>();
+ R_UNLESS(decryptor != nullptr, ResultAllocationMemoryFailedInAesCtrCounterExtendedStorageA);
+ *out = std::move(decryptor);
+ R_SUCCEED();
+}
+
+Result AesCtrCounterExtendedStorage::Initialize(const void* key, size_t key_size, u32 secure_value,
+ VirtualFile data_storage,
+ VirtualFile table_storage) {
+ // Read and verify the bucket tree header.
+ BucketTree::Header header;
+ table_storage->ReadObject(std::addressof(header), 0);
+ R_TRY(header.Verify());
+
+ // Determine extents.
+ const auto node_storage_size = QueryNodeStorageSize(header.entry_count);
+ const auto entry_storage_size = QueryEntryStorageSize(header.entry_count);
+ const auto node_storage_offset = QueryHeaderStorageSize();
+ const auto entry_storage_offset = node_storage_offset + node_storage_size;
+
+ // Create a software decryptor.
+ std::unique_ptr<IDecryptor> sw_decryptor;
+ R_TRY(CreateSoftwareDecryptor(std::addressof(sw_decryptor)));
+
+ // Initialize.
+ R_RETURN(this->Initialize(
+ key, key_size, secure_value, 0, data_storage,
+ std::make_shared<OffsetVfsFile>(table_storage, node_storage_size, node_storage_offset),
+ std::make_shared<OffsetVfsFile>(table_storage, entry_storage_size, entry_storage_offset),
+ header.entry_count, std::move(sw_decryptor)));
+}
+
+Result AesCtrCounterExtendedStorage::Initialize(const void* key, size_t key_size, u32 secure_value,
+ s64 counter_offset, VirtualFile data_storage,
+ VirtualFile node_storage, VirtualFile entry_storage,
+ s32 entry_count,
+ std::unique_ptr<IDecryptor>&& decryptor) {
+ // Validate preconditions.
+ ASSERT(key != nullptr);
+ ASSERT(key_size == KeySize);
+ ASSERT(counter_offset >= 0);
+ ASSERT(decryptor != nullptr);
+
+ // Initialize the bucket tree table.
+ if (entry_count > 0) {
+ R_TRY(
+ m_table.Initialize(node_storage, entry_storage, NodeSize, sizeof(Entry), entry_count));
+ } else {
+ m_table.Initialize(NodeSize, 0);
+ }
+
+ // Set members.
+ m_data_storage = data_storage;
+ std::memcpy(m_key.data(), key, key_size);
+ m_secure_value = secure_value;
+ m_counter_offset = counter_offset;
+ m_decryptor = std::move(decryptor);
+
+ R_SUCCEED();
+}
+
+void AesCtrCounterExtendedStorage::Finalize() {
+ if (this->IsInitialized()) {
+ m_table.Finalize();
+ m_data_storage = VirtualFile();
+ }
+}
+
+Result AesCtrCounterExtendedStorage::GetEntryList(Entry* out_entries, s32* out_entry_count,
+ s32 entry_count, s64 offset, s64 size) {
+ // Validate pre-conditions.
+ ASSERT(offset >= 0);
+ ASSERT(size >= 0);
+ ASSERT(this->IsInitialized());
+
+ // Clear the out count.
+ R_UNLESS(out_entry_count != nullptr, ResultNullptrArgument);
+ *out_entry_count = 0;
+
+ // Succeed if there's no range.
+ R_SUCCEED_IF(size == 0);
+
+ // If we have an output array, we need it to be non-null.
+ R_UNLESS(out_entries != nullptr || entry_count == 0, ResultNullptrArgument);
+
+ // Check that our range is valid.
+ BucketTree::Offsets table_offsets;
+ R_TRY(m_table.GetOffsets(std::addressof(table_offsets)));
+
+ R_UNLESS(table_offsets.IsInclude(offset, size), ResultOutOfRange);
+
+ // Find the offset in our tree.
+ BucketTree::Visitor visitor;
+ R_TRY(m_table.Find(std::addressof(visitor), offset));
+ {
+ const auto entry_offset = visitor.Get<Entry>()->GetOffset();
+ R_UNLESS(0 <= entry_offset && table_offsets.IsInclude(entry_offset),
+ ResultInvalidAesCtrCounterExtendedEntryOffset);
+ }
+
+ // Prepare to loop over entries.
+ const auto end_offset = offset + static_cast<s64>(size);
+ s32 count = 0;
+
+ auto cur_entry = *visitor.Get<Entry>();
+ while (cur_entry.GetOffset() < end_offset) {
+ // Try to write the entry to the out list.
+ if (entry_count != 0) {
+ if (count >= entry_count) {
+ break;
+ }
+ std::memcpy(out_entries + count, std::addressof(cur_entry), sizeof(Entry));
+ }
+
+ count++;
+
+ // Advance.
+ if (visitor.CanMoveNext()) {
+ R_TRY(visitor.MoveNext());
+ cur_entry = *visitor.Get<Entry>();
+ } else {
+ break;
+ }
+ }
+
+ // Write the output count.
+ *out_entry_count = count;
+ R_SUCCEED();
+}
+
+size_t AesCtrCounterExtendedStorage::Read(u8* buffer, size_t size, size_t offset) const {
+ // Validate preconditions.
+ ASSERT(this->IsInitialized());
+
+ // Allow zero size.
+ if (size == 0) {
+ return size;
+ }
+
+ // Validate arguments.
+ ASSERT(buffer != nullptr);
+ ASSERT(Common::IsAligned(offset, BlockSize));
+ ASSERT(Common::IsAligned(size, BlockSize));
+
+ BucketTree::Offsets table_offsets;
+ ASSERT(R_SUCCEEDED(m_table.GetOffsets(std::addressof(table_offsets))));
+
+ ASSERT(table_offsets.IsInclude(offset, size));
+
+ // Read the data.
+ m_data_storage->Read(buffer, size, offset);
+
+ // Find the offset in our tree.
+ BucketTree::Visitor visitor;
+ ASSERT(R_SUCCEEDED(m_table.Find(std::addressof(visitor), offset)));
+ {
+ const auto entry_offset = visitor.Get<Entry>()->GetOffset();
+ ASSERT(Common::IsAligned(entry_offset, BlockSize));
+ ASSERT(0 <= entry_offset && table_offsets.IsInclude(entry_offset));
+ }
+
+ // Prepare to read in chunks.
+ u8* cur_data = static_cast<u8*>(buffer);
+ auto cur_offset = offset;
+ const auto end_offset = offset + static_cast<s64>(size);
+
+ while (cur_offset < end_offset) {
+ // Get the current entry.
+ const auto cur_entry = *visitor.Get<Entry>();
+
+ // Get and validate the entry's offset.
+ const auto cur_entry_offset = cur_entry.GetOffset();
+ ASSERT(static_cast<size_t>(cur_entry_offset) <= cur_offset);
+
+ // Get and validate the next entry offset.
+ s64 next_entry_offset;
+ if (visitor.CanMoveNext()) {
+ ASSERT(R_SUCCEEDED(visitor.MoveNext()));
+ next_entry_offset = visitor.Get<Entry>()->GetOffset();
+ ASSERT(table_offsets.IsInclude(next_entry_offset));
+ } else {
+ next_entry_offset = table_offsets.end_offset;
+ }
+ ASSERT(Common::IsAligned(next_entry_offset, BlockSize));
+ ASSERT(cur_offset < static_cast<size_t>(next_entry_offset));
+
+ // Get the offset of the entry in the data we read.
+ const auto data_offset = cur_offset - cur_entry_offset;
+ const auto data_size = (next_entry_offset - cur_entry_offset) - data_offset;
+ ASSERT(data_size > 0);
+
+ // Determine how much is left.
+ const auto remaining_size = end_offset - cur_offset;
+ const auto cur_size = static_cast<size_t>(std::min(remaining_size, data_size));
+ ASSERT(cur_size <= size);
+
+ // If necessary, perform decryption.
+ if (cur_entry.encryption_value == Entry::Encryption::Encrypted) {
+ // Make the CTR for the data we're decrypting.
+ const auto counter_offset = m_counter_offset + cur_entry_offset + data_offset;
+ NcaAesCtrUpperIv upper_iv = {
+ .part = {.generation = static_cast<u32>(cur_entry.generation),
+ .secure_value = m_secure_value}};
+
+ std::array<u8, IvSize> iv;
+ AesCtrStorage::MakeIv(iv.data(), IvSize, upper_iv.value, counter_offset);
+
+ // Decrypt.
+ m_decryptor->Decrypt(cur_data, cur_size, m_key, iv);
+ }
+
+ // Advance.
+ cur_data += cur_size;
+ cur_offset += cur_size;
+ }
+
+ return size;
+}
+
+void SoftwareDecryptor::Decrypt(u8* buf, size_t buf_size,
+ const std::array<u8, AesCtrCounterExtendedStorage::KeySize>& key,
+ const std::array<u8, AesCtrCounterExtendedStorage::IvSize>& iv) {
+ Core::Crypto::AESCipher<Core::Crypto::Key128, AesCtrCounterExtendedStorage::KeySize> cipher(
+ key, Core::Crypto::Mode::CTR);
+ cipher.SetIV(iv);
+ cipher.Transcode(buf, buf_size, buf, Core::Crypto::Op::Decrypt);
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.h b/src/core/file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.h
new file mode 100644
index 000000000..d0e9ceed0
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.h
@@ -0,0 +1,114 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <optional>
+
+#include "common/literals.h"
+#include "core/file_sys/fssystem/fs_i_storage.h"
+#include "core/file_sys/fssystem/fssystem_bucket_tree.h"
+
+namespace FileSys {
+
+using namespace Common::Literals;
+
+class AesCtrCounterExtendedStorage : public IReadOnlyStorage {
+ YUZU_NON_COPYABLE(AesCtrCounterExtendedStorage);
+ YUZU_NON_MOVEABLE(AesCtrCounterExtendedStorage);
+
+public:
+ static constexpr size_t BlockSize = 0x10;
+ static constexpr size_t KeySize = 0x10;
+ static constexpr size_t IvSize = 0x10;
+ static constexpr size_t NodeSize = 16_KiB;
+
+ class IDecryptor {
+ public:
+ virtual ~IDecryptor() {}
+ virtual void Decrypt(u8* buf, size_t buf_size, const std::array<u8, KeySize>& key,
+ const std::array<u8, IvSize>& iv) = 0;
+ };
+
+ struct Entry {
+ enum class Encryption : u8 {
+ Encrypted = 0,
+ NotEncrypted = 1,
+ };
+
+ std::array<u8, sizeof(s64)> offset;
+ Encryption encryption_value;
+ std::array<u8, 3> reserved;
+ s32 generation;
+
+ void SetOffset(s64 value) {
+ std::memcpy(this->offset.data(), std::addressof(value), sizeof(s64));
+ }
+
+ s64 GetOffset() const {
+ s64 value;
+ std::memcpy(std::addressof(value), this->offset.data(), sizeof(s64));
+ return value;
+ }
+ };
+ static_assert(sizeof(Entry) == 0x10);
+ static_assert(alignof(Entry) == 4);
+ static_assert(std::is_trivial_v<Entry>);
+
+public:
+ static constexpr s64 QueryHeaderStorageSize() {
+ return BucketTree::QueryHeaderStorageSize();
+ }
+
+ static constexpr s64 QueryNodeStorageSize(s32 entry_count) {
+ return BucketTree::QueryNodeStorageSize(NodeSize, sizeof(Entry), entry_count);
+ }
+
+ static constexpr s64 QueryEntryStorageSize(s32 entry_count) {
+ return BucketTree::QueryEntryStorageSize(NodeSize, sizeof(Entry), entry_count);
+ }
+
+ static Result CreateSoftwareDecryptor(std::unique_ptr<IDecryptor>* out);
+
+public:
+ AesCtrCounterExtendedStorage()
+ : m_table(), m_data_storage(), m_secure_value(), m_counter_offset(), m_decryptor() {}
+ virtual ~AesCtrCounterExtendedStorage() {
+ this->Finalize();
+ }
+
+ Result Initialize(const void* key, size_t key_size, u32 secure_value, s64 counter_offset,
+ VirtualFile data_storage, VirtualFile node_storage, VirtualFile entry_storage,
+ s32 entry_count, std::unique_ptr<IDecryptor>&& decryptor);
+ void Finalize();
+
+ bool IsInitialized() const {
+ return m_table.IsInitialized();
+ }
+
+ virtual size_t Read(u8* buffer, size_t size, size_t offset) const override;
+
+ virtual size_t GetSize() const override {
+ BucketTree::Offsets offsets;
+ ASSERT(R_SUCCEEDED(m_table.GetOffsets(std::addressof(offsets))));
+
+ return offsets.end_offset;
+ }
+
+ Result GetEntryList(Entry* out_entries, s32* out_entry_count, s32 entry_count, s64 offset,
+ s64 size);
+
+private:
+ Result Initialize(const void* key, size_t key_size, u32 secure_value, VirtualFile data_storage,
+ VirtualFile table_storage);
+
+private:
+ mutable BucketTree m_table;
+ VirtualFile m_data_storage;
+ std::array<u8, KeySize> m_key;
+ u32 m_secure_value;
+ s64 m_counter_offset;
+ std::unique_ptr<IDecryptor> m_decryptor;
+};
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_aes_ctr_storage.cpp b/src/core/file_sys/fssystem/fssystem_aes_ctr_storage.cpp
new file mode 100644
index 000000000..b65aca18d
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_aes_ctr_storage.cpp
@@ -0,0 +1,129 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "common/alignment.h"
+#include "common/swap.h"
+#include "core/file_sys/fssystem/fssystem_aes_ctr_storage.h"
+#include "core/file_sys/fssystem/fssystem_pooled_buffer.h"
+#include "core/file_sys/fssystem/fssystem_utility.h"
+
+namespace FileSys {
+
+void AesCtrStorage::MakeIv(void* dst, size_t dst_size, u64 upper, s64 offset) {
+ ASSERT(dst != nullptr);
+ ASSERT(dst_size == IvSize);
+ ASSERT(offset >= 0);
+
+ const uintptr_t out_addr = reinterpret_cast<uintptr_t>(dst);
+
+ *reinterpret_cast<u64_be*>(out_addr + 0) = upper;
+ *reinterpret_cast<s64_be*>(out_addr + sizeof(u64)) = static_cast<s64>(offset / BlockSize);
+}
+
+AesCtrStorage::AesCtrStorage(VirtualFile base, const void* key, size_t key_size, const void* iv,
+ size_t iv_size)
+ : m_base_storage(std::move(base)) {
+ ASSERT(m_base_storage != nullptr);
+ ASSERT(key != nullptr);
+ ASSERT(iv != nullptr);
+ ASSERT(key_size == KeySize);
+ ASSERT(iv_size == IvSize);
+
+ std::memcpy(m_key.data(), key, KeySize);
+ std::memcpy(m_iv.data(), iv, IvSize);
+
+ m_cipher.emplace(m_key, Core::Crypto::Mode::CTR);
+}
+
+size_t AesCtrStorage::Read(u8* buffer, size_t size, size_t offset) const {
+ // Allow zero-size reads.
+ if (size == 0) {
+ return size;
+ }
+
+ // Ensure buffer is valid.
+ ASSERT(buffer != nullptr);
+
+ // We can only read at block aligned offsets.
+ ASSERT(Common::IsAligned(offset, BlockSize));
+ ASSERT(Common::IsAligned(size, BlockSize));
+
+ // Read the data.
+ m_base_storage->Read(buffer, size, offset);
+
+ // Setup the counter.
+ std::array<u8, IvSize> ctr;
+ std::memcpy(ctr.data(), m_iv.data(), IvSize);
+ AddCounter(ctr.data(), IvSize, offset / BlockSize);
+
+ // Decrypt.
+ m_cipher->SetIV(ctr);
+ m_cipher->Transcode(buffer, size, buffer, Core::Crypto::Op::Decrypt);
+
+ return size;
+}
+
+size_t AesCtrStorage::Write(const u8* buffer, size_t size, size_t offset) {
+ // Allow zero-size writes.
+ if (size == 0) {
+ return size;
+ }
+
+ // Ensure buffer is valid.
+ ASSERT(buffer != nullptr);
+
+ // We can only write at block aligned offsets.
+ ASSERT(Common::IsAligned(offset, BlockSize));
+ ASSERT(Common::IsAligned(size, BlockSize));
+
+ // Get a pooled buffer.
+ PooledBuffer pooled_buffer;
+ const bool use_work_buffer = true;
+ if (use_work_buffer) {
+ pooled_buffer.Allocate(size, BlockSize);
+ }
+
+ // Setup the counter.
+ std::array<u8, IvSize> ctr;
+ std::memcpy(ctr.data(), m_iv.data(), IvSize);
+ AddCounter(ctr.data(), IvSize, offset / BlockSize);
+
+ // Loop until all data is written.
+ size_t remaining = size;
+ s64 cur_offset = 0;
+ while (remaining > 0) {
+ // Determine data we're writing and where.
+ const size_t write_size =
+ use_work_buffer ? std::min(pooled_buffer.GetSize(), remaining) : remaining;
+
+ void* write_buf;
+ if (use_work_buffer) {
+ write_buf = pooled_buffer.GetBuffer();
+ } else {
+ write_buf = const_cast<u8*>(buffer);
+ }
+
+ // Encrypt the data.
+ m_cipher->SetIV(ctr);
+ m_cipher->Transcode(buffer, write_size, reinterpret_cast<u8*>(write_buf),
+ Core::Crypto::Op::Encrypt);
+
+ // Write the encrypted data.
+ m_base_storage->Write(reinterpret_cast<u8*>(write_buf), write_size, offset + cur_offset);
+
+ // Advance.
+ cur_offset += write_size;
+ remaining -= write_size;
+ if (remaining > 0) {
+ AddCounter(ctr.data(), IvSize, write_size / BlockSize);
+ }
+ }
+
+ return size;
+}
+
+size_t AesCtrStorage::GetSize() const {
+ return m_base_storage->GetSize();
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_aes_ctr_storage.h b/src/core/file_sys/fssystem/fssystem_aes_ctr_storage.h
new file mode 100644
index 000000000..339e49697
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_aes_ctr_storage.h
@@ -0,0 +1,43 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <optional>
+
+#include "core/crypto/aes_util.h"
+#include "core/crypto/key_manager.h"
+#include "core/file_sys/errors.h"
+#include "core/file_sys/fssystem/fs_i_storage.h"
+#include "core/file_sys/vfs.h"
+
+namespace FileSys {
+
+class AesCtrStorage : public IStorage {
+ YUZU_NON_COPYABLE(AesCtrStorage);
+ YUZU_NON_MOVEABLE(AesCtrStorage);
+
+public:
+ static constexpr size_t BlockSize = 0x10;
+ static constexpr size_t KeySize = 0x10;
+ static constexpr size_t IvSize = 0x10;
+
+public:
+ static void MakeIv(void* dst, size_t dst_size, u64 upper, s64 offset);
+
+public:
+ AesCtrStorage(VirtualFile base, const void* key, size_t key_size, const void* iv,
+ size_t iv_size);
+
+ virtual size_t Read(u8* buffer, size_t size, size_t offset) const override;
+ virtual size_t Write(const u8* buffer, size_t size, size_t offset) override;
+ virtual size_t GetSize() const override;
+
+private:
+ VirtualFile m_base_storage;
+ std::array<u8, KeySize> m_key;
+ std::array<u8, IvSize> m_iv;
+ mutable std::optional<Core::Crypto::AESCipher<Core::Crypto::Key128>> m_cipher;
+};
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_aes_xts_storage.cpp b/src/core/file_sys/fssystem/fssystem_aes_xts_storage.cpp
new file mode 100644
index 000000000..022424229
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_aes_xts_storage.cpp
@@ -0,0 +1,112 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "common/alignment.h"
+#include "common/swap.h"
+#include "core/file_sys/errors.h"
+#include "core/file_sys/fssystem/fssystem_aes_xts_storage.h"
+#include "core/file_sys/fssystem/fssystem_pooled_buffer.h"
+#include "core/file_sys/fssystem/fssystem_utility.h"
+
+namespace FileSys {
+
+void AesXtsStorage::MakeAesXtsIv(void* dst, size_t dst_size, s64 offset, size_t block_size) {
+ ASSERT(dst != nullptr);
+ ASSERT(dst_size == IvSize);
+ ASSERT(offset >= 0);
+
+ const uintptr_t out_addr = reinterpret_cast<uintptr_t>(dst);
+
+ *reinterpret_cast<s64_be*>(out_addr + sizeof(s64)) = offset / block_size;
+}
+
+AesXtsStorage::AesXtsStorage(VirtualFile base, const void* key1, const void* key2, size_t key_size,
+ const void* iv, size_t iv_size, size_t block_size)
+ : m_base_storage(std::move(base)), m_block_size(block_size), m_mutex() {
+ ASSERT(m_base_storage != nullptr);
+ ASSERT(key1 != nullptr);
+ ASSERT(key2 != nullptr);
+ ASSERT(iv != nullptr);
+ ASSERT(key_size == KeySize);
+ ASSERT(iv_size == IvSize);
+ ASSERT(Common::IsAligned(m_block_size, AesBlockSize));
+
+ std::memcpy(m_key.data() + 0, key1, KeySize);
+ std::memcpy(m_key.data() + 0x10, key2, KeySize);
+ std::memcpy(m_iv.data(), iv, IvSize);
+
+ m_cipher.emplace(m_key, Core::Crypto::Mode::XTS);
+}
+
+size_t AesXtsStorage::Read(u8* buffer, size_t size, size_t offset) const {
+ // Allow zero-size reads.
+ if (size == 0) {
+ return size;
+ }
+
+ // Ensure buffer is valid.
+ ASSERT(buffer != nullptr);
+
+ // We can only read at block aligned offsets.
+ ASSERT(Common::IsAligned(offset, AesBlockSize));
+ ASSERT(Common::IsAligned(size, AesBlockSize));
+
+ // Read the data.
+ m_base_storage->Read(buffer, size, offset);
+
+ // Setup the counter.
+ std::array<u8, IvSize> ctr;
+ std::memcpy(ctr.data(), m_iv.data(), IvSize);
+ AddCounter(ctr.data(), IvSize, offset / m_block_size);
+
+ // Handle any unaligned data before the start.
+ size_t processed_size = 0;
+ if ((offset % m_block_size) != 0) {
+ // Determine the size of the pre-data read.
+ const size_t skip_size =
+ static_cast<size_t>(offset - Common::AlignDown(offset, m_block_size));
+ const size_t data_size = std::min(size, m_block_size - skip_size);
+
+ // Decrypt into a pooled buffer.
+ {
+ PooledBuffer tmp_buf(m_block_size, m_block_size);
+ ASSERT(tmp_buf.GetSize() >= m_block_size);
+
+ std::memset(tmp_buf.GetBuffer(), 0, skip_size);
+ std::memcpy(tmp_buf.GetBuffer() + skip_size, buffer, data_size);
+
+ m_cipher->SetIV(ctr);
+ m_cipher->Transcode(tmp_buf.GetBuffer(), m_block_size, tmp_buf.GetBuffer(),
+ Core::Crypto::Op::Decrypt);
+
+ std::memcpy(buffer, tmp_buf.GetBuffer() + skip_size, data_size);
+ }
+
+ AddCounter(ctr.data(), IvSize, 1);
+ processed_size += data_size;
+ ASSERT(processed_size == std::min(size, m_block_size - skip_size));
+ }
+
+ // Decrypt aligned chunks.
+ char* cur = reinterpret_cast<char*>(buffer) + processed_size;
+ size_t remaining = size - processed_size;
+ while (remaining > 0) {
+ const size_t cur_size = std::min(m_block_size, remaining);
+
+ m_cipher->SetIV(ctr);
+ m_cipher->Transcode(cur, cur_size, cur, Core::Crypto::Op::Decrypt);
+
+ remaining -= cur_size;
+ cur += cur_size;
+
+ AddCounter(ctr.data(), IvSize, 1);
+ }
+
+ return size;
+}
+
+size_t AesXtsStorage::GetSize() const {
+ return m_base_storage->GetSize();
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_aes_xts_storage.h b/src/core/file_sys/fssystem/fssystem_aes_xts_storage.h
new file mode 100644
index 000000000..f342efb57
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_aes_xts_storage.h
@@ -0,0 +1,42 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <optional>
+
+#include "core/crypto/aes_util.h"
+#include "core/crypto/key_manager.h"
+#include "core/file_sys/fssystem/fs_i_storage.h"
+
+namespace FileSys {
+
+class AesXtsStorage : public IReadOnlyStorage {
+ YUZU_NON_COPYABLE(AesXtsStorage);
+ YUZU_NON_MOVEABLE(AesXtsStorage);
+
+public:
+ static constexpr size_t AesBlockSize = 0x10;
+ static constexpr size_t KeySize = 0x20;
+ static constexpr size_t IvSize = 0x10;
+
+public:
+ static void MakeAesXtsIv(void* dst, size_t dst_size, s64 offset, size_t block_size);
+
+public:
+ AesXtsStorage(VirtualFile base, const void* key1, const void* key2, size_t key_size,
+ const void* iv, size_t iv_size, size_t block_size);
+
+ virtual size_t Read(u8* buffer, size_t size, size_t offset) const override;
+ virtual size_t GetSize() const override;
+
+private:
+ VirtualFile m_base_storage;
+ std::array<u8, KeySize> m_key;
+ std::array<u8, IvSize> m_iv;
+ const size_t m_block_size;
+ std::mutex m_mutex;
+ mutable std::optional<Core::Crypto::AESCipher<Core::Crypto::Key256>> m_cipher;
+};
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_alignment_matching_storage.h b/src/core/file_sys/fssystem/fssystem_alignment_matching_storage.h
new file mode 100644
index 000000000..f96691d03
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_alignment_matching_storage.h
@@ -0,0 +1,146 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "common/alignment.h"
+#include "core/file_sys/errors.h"
+#include "core/file_sys/fssystem/fs_i_storage.h"
+#include "core/file_sys/fssystem/fssystem_alignment_matching_storage_impl.h"
+#include "core/file_sys/fssystem/fssystem_pooled_buffer.h"
+
+namespace FileSys {
+
+template <size_t DataAlign_, size_t BufferAlign_>
+class AlignmentMatchingStorage : public IStorage {
+ YUZU_NON_COPYABLE(AlignmentMatchingStorage);
+ YUZU_NON_MOVEABLE(AlignmentMatchingStorage);
+
+public:
+ static constexpr size_t DataAlign = DataAlign_;
+ static constexpr size_t BufferAlign = BufferAlign_;
+
+ static constexpr size_t DataAlignMax = 0x200;
+ static_assert(DataAlign <= DataAlignMax);
+ static_assert(Common::IsPowerOfTwo(DataAlign));
+ static_assert(Common::IsPowerOfTwo(BufferAlign));
+
+private:
+ VirtualFile m_base_storage;
+ s64 m_base_storage_size;
+
+public:
+ explicit AlignmentMatchingStorage(VirtualFile bs) : m_base_storage(std::move(bs)) {}
+
+ virtual size_t Read(u8* buffer, size_t size, size_t offset) const override {
+ // Allocate a work buffer on stack.
+ alignas(DataAlignMax) std::array<char, DataAlign> work_buf;
+
+ // Succeed if zero size.
+ if (size == 0) {
+ return size;
+ }
+
+ // Validate arguments.
+ ASSERT(buffer != nullptr);
+
+ s64 bs_size = this->GetSize();
+ ASSERT(R_SUCCEEDED(IStorage::CheckAccessRange(offset, size, bs_size)));
+
+ return AlignmentMatchingStorageImpl::Read(m_base_storage, work_buf.data(), work_buf.size(),
+ DataAlign, BufferAlign, offset, buffer, size);
+ }
+
+ virtual size_t Write(const u8* buffer, size_t size, size_t offset) override {
+ // Allocate a work buffer on stack.
+ alignas(DataAlignMax) std::array<char, DataAlign> work_buf;
+
+ // Succeed if zero size.
+ if (size == 0) {
+ return size;
+ }
+
+ // Validate arguments.
+ ASSERT(buffer != nullptr);
+
+ s64 bs_size = this->GetSize();
+ ASSERT(R_SUCCEEDED(IStorage::CheckAccessRange(offset, size, bs_size)));
+
+ return AlignmentMatchingStorageImpl::Write(m_base_storage, work_buf.data(), work_buf.size(),
+ DataAlign, BufferAlign, offset, buffer, size);
+ }
+
+ virtual size_t GetSize() const override {
+ return m_base_storage->GetSize();
+ }
+};
+
+template <size_t BufferAlign_>
+class AlignmentMatchingStoragePooledBuffer : public IStorage {
+ YUZU_NON_COPYABLE(AlignmentMatchingStoragePooledBuffer);
+ YUZU_NON_MOVEABLE(AlignmentMatchingStoragePooledBuffer);
+
+public:
+ static constexpr size_t BufferAlign = BufferAlign_;
+
+ static_assert(Common::IsPowerOfTwo(BufferAlign));
+
+private:
+ VirtualFile m_base_storage;
+ s64 m_base_storage_size;
+ size_t m_data_align;
+
+public:
+ explicit AlignmentMatchingStoragePooledBuffer(VirtualFile bs, size_t da)
+ : m_base_storage(std::move(bs)), m_data_align(da) {
+ ASSERT(Common::IsPowerOfTwo(da));
+ }
+
+ virtual size_t Read(u8* buffer, size_t size, size_t offset) const override {
+ // Succeed if zero size.
+ if (size == 0) {
+ return size;
+ }
+
+ // Validate arguments.
+ ASSERT(buffer != nullptr);
+
+ s64 bs_size = this->GetSize();
+ ASSERT(R_SUCCEEDED(IStorage::CheckAccessRange(offset, size, bs_size)));
+
+ // Allocate a pooled buffer.
+ PooledBuffer pooled_buffer;
+ pooled_buffer.AllocateParticularlyLarge(m_data_align, m_data_align);
+
+ return AlignmentMatchingStorageImpl::Read(m_base_storage, pooled_buffer.GetBuffer(),
+ pooled_buffer.GetSize(), m_data_align,
+ BufferAlign, offset, buffer, size);
+ }
+
+ virtual size_t Write(const u8* buffer, size_t size, size_t offset) override {
+ // Succeed if zero size.
+ if (size == 0) {
+ return size;
+ }
+
+ // Validate arguments.
+ ASSERT(buffer != nullptr);
+
+ s64 bs_size = this->GetSize();
+ ASSERT(R_SUCCEEDED(IStorage::CheckAccessRange(offset, size, bs_size)));
+
+ // Allocate a pooled buffer.
+ PooledBuffer pooled_buffer;
+ pooled_buffer.AllocateParticularlyLarge(m_data_align, m_data_align);
+
+ return AlignmentMatchingStorageImpl::Write(m_base_storage, pooled_buffer.GetBuffer(),
+ pooled_buffer.GetSize(), m_data_align,
+ BufferAlign, offset, buffer, size);
+ }
+
+ virtual size_t GetSize() const override {
+ return m_base_storage->GetSize();
+ }
+};
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_alignment_matching_storage_impl.cpp b/src/core/file_sys/fssystem/fssystem_alignment_matching_storage_impl.cpp
new file mode 100644
index 000000000..641c888ae
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_alignment_matching_storage_impl.cpp
@@ -0,0 +1,204 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "common/alignment.h"
+#include "core/file_sys/fssystem/fssystem_alignment_matching_storage_impl.h"
+
+namespace FileSys {
+
+namespace {
+
+template <typename T>
+constexpr size_t GetRoundDownDifference(T x, size_t align) {
+ return static_cast<size_t>(x - Common::AlignDown(x, align));
+}
+
+template <typename T>
+constexpr size_t GetRoundUpDifference(T x, size_t align) {
+ return static_cast<size_t>(Common::AlignUp(x, align) - x);
+}
+
+template <typename T>
+size_t GetRoundUpDifference(T* x, size_t align) {
+ return GetRoundUpDifference(reinterpret_cast<uintptr_t>(x), align);
+}
+
+} // namespace
+
+size_t AlignmentMatchingStorageImpl::Read(VirtualFile base_storage, char* work_buf,
+ size_t work_buf_size, size_t data_alignment,
+ size_t buffer_alignment, s64 offset, u8* buffer,
+ size_t size) {
+ // Check preconditions.
+ ASSERT(work_buf_size >= data_alignment);
+
+ // Succeed if zero size.
+ if (size == 0) {
+ return size;
+ }
+
+ // Validate arguments.
+ ASSERT(buffer != nullptr);
+
+ // Determine extents.
+ u8* aligned_core_buffer;
+ s64 core_offset;
+ size_t core_size;
+ size_t buffer_gap;
+ size_t offset_gap;
+ s64 covered_offset;
+
+ const size_t offset_round_up_difference = GetRoundUpDifference(offset, data_alignment);
+ if (Common::IsAligned(reinterpret_cast<uintptr_t>(buffer) + offset_round_up_difference,
+ buffer_alignment)) {
+ aligned_core_buffer = buffer + offset_round_up_difference;
+
+ core_offset = Common::AlignUp(offset, data_alignment);
+ core_size = (size < offset_round_up_difference)
+ ? 0
+ : Common::AlignDown(size - offset_round_up_difference, data_alignment);
+ buffer_gap = 0;
+ offset_gap = 0;
+
+ covered_offset = core_size > 0 ? core_offset : offset;
+ } else {
+ const size_t buffer_round_up_difference = GetRoundUpDifference(buffer, buffer_alignment);
+
+ aligned_core_buffer = buffer + buffer_round_up_difference;
+
+ core_offset = Common::AlignDown(offset, data_alignment);
+ core_size = (size < buffer_round_up_difference)
+ ? 0
+ : Common::AlignDown(size - buffer_round_up_difference, data_alignment);
+ buffer_gap = buffer_round_up_difference;
+ offset_gap = GetRoundDownDifference(offset, data_alignment);
+
+ covered_offset = offset;
+ }
+
+ // Read the core portion.
+ if (core_size > 0) {
+ base_storage->Read(aligned_core_buffer, core_size, core_offset);
+
+ if (offset_gap != 0 || buffer_gap != 0) {
+ std::memmove(aligned_core_buffer - buffer_gap, aligned_core_buffer + offset_gap,
+ core_size - offset_gap);
+ core_size -= offset_gap;
+ }
+ }
+
+ // Handle the head portion.
+ if (offset < covered_offset) {
+ const s64 head_offset = Common::AlignDown(offset, data_alignment);
+ const size_t head_size = static_cast<size_t>(covered_offset - offset);
+
+ ASSERT(GetRoundDownDifference(offset, data_alignment) + head_size <= work_buf_size);
+
+ base_storage->Read(reinterpret_cast<u8*>(work_buf), data_alignment, head_offset);
+ std::memcpy(buffer, work_buf + GetRoundDownDifference(offset, data_alignment), head_size);
+ }
+
+ // Handle the tail portion.
+ s64 tail_offset = covered_offset + core_size;
+ size_t remaining_tail_size = static_cast<size_t>((offset + size) - tail_offset);
+ while (remaining_tail_size > 0) {
+ const auto aligned_tail_offset = Common::AlignDown(tail_offset, data_alignment);
+ const auto cur_size =
+ std::min(static_cast<size_t>(aligned_tail_offset + data_alignment - tail_offset),
+ remaining_tail_size);
+ base_storage->Read(reinterpret_cast<u8*>(work_buf), data_alignment, aligned_tail_offset);
+
+ ASSERT((tail_offset - offset) + cur_size <= size);
+ ASSERT((tail_offset - aligned_tail_offset) + cur_size <= data_alignment);
+ std::memcpy(reinterpret_cast<char*>(buffer) + (tail_offset - offset),
+ work_buf + (tail_offset - aligned_tail_offset), cur_size);
+
+ remaining_tail_size -= cur_size;
+ tail_offset += cur_size;
+ }
+
+ return size;
+}
+
+size_t AlignmentMatchingStorageImpl::Write(VirtualFile base_storage, char* work_buf,
+ size_t work_buf_size, size_t data_alignment,
+ size_t buffer_alignment, s64 offset, const u8* buffer,
+ size_t size) {
+ // Check preconditions.
+ ASSERT(work_buf_size >= data_alignment);
+
+ // Succeed if zero size.
+ if (size == 0) {
+ return size;
+ }
+
+ // Validate arguments.
+ ASSERT(buffer != nullptr);
+
+ // Determine extents.
+ const u8* aligned_core_buffer;
+ s64 core_offset;
+ size_t core_size;
+ s64 covered_offset;
+
+ const size_t offset_round_up_difference = GetRoundUpDifference(offset, data_alignment);
+ if (Common::IsAligned(reinterpret_cast<uintptr_t>(buffer) + offset_round_up_difference,
+ buffer_alignment)) {
+ aligned_core_buffer = buffer + offset_round_up_difference;
+
+ core_offset = Common::AlignUp(offset, data_alignment);
+ core_size = (size < offset_round_up_difference)
+ ? 0
+ : Common::AlignDown(size - offset_round_up_difference, data_alignment);
+
+ covered_offset = core_size > 0 ? core_offset : offset;
+ } else {
+ aligned_core_buffer = nullptr;
+
+ core_offset = Common::AlignDown(offset, data_alignment);
+ core_size = 0;
+
+ covered_offset = offset;
+ }
+
+ // Write the core portion.
+ if (core_size > 0) {
+ base_storage->Write(aligned_core_buffer, core_size, core_offset);
+ }
+
+ // Handle the head portion.
+ if (offset < covered_offset) {
+ const s64 head_offset = Common::AlignDown(offset, data_alignment);
+ const size_t head_size = static_cast<size_t>(covered_offset - offset);
+
+ ASSERT((offset - head_offset) + head_size <= data_alignment);
+
+ base_storage->Read(reinterpret_cast<u8*>(work_buf), data_alignment, head_offset);
+ std::memcpy(work_buf + (offset - head_offset), buffer, head_size);
+ base_storage->Write(reinterpret_cast<u8*>(work_buf), data_alignment, head_offset);
+ }
+
+ // Handle the tail portion.
+ s64 tail_offset = covered_offset + core_size;
+ size_t remaining_tail_size = static_cast<size_t>((offset + size) - tail_offset);
+ while (remaining_tail_size > 0) {
+ ASSERT(static_cast<size_t>(tail_offset - offset) < size);
+
+ const auto aligned_tail_offset = Common::AlignDown(tail_offset, data_alignment);
+ const auto cur_size =
+ std::min(static_cast<size_t>(aligned_tail_offset + data_alignment - tail_offset),
+ remaining_tail_size);
+
+ base_storage->Read(reinterpret_cast<u8*>(work_buf), data_alignment, aligned_tail_offset);
+ std::memcpy(work_buf + GetRoundDownDifference(tail_offset, data_alignment),
+ buffer + (tail_offset - offset), cur_size);
+ base_storage->Write(reinterpret_cast<u8*>(work_buf), data_alignment, aligned_tail_offset);
+
+ remaining_tail_size -= cur_size;
+ tail_offset += cur_size;
+ }
+
+ return size;
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_alignment_matching_storage_impl.h b/src/core/file_sys/fssystem/fssystem_alignment_matching_storage_impl.h
new file mode 100644
index 000000000..4a05b0e88
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_alignment_matching_storage_impl.h
@@ -0,0 +1,21 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/file_sys/errors.h"
+#include "core/file_sys/fssystem/fs_i_storage.h"
+
+namespace FileSys {
+
+class AlignmentMatchingStorageImpl {
+public:
+ static size_t Read(VirtualFile base_storage, char* work_buf, size_t work_buf_size,
+ size_t data_alignment, size_t buffer_alignment, s64 offset, u8* buffer,
+ size_t size);
+ static size_t Write(VirtualFile base_storage, char* work_buf, size_t work_buf_size,
+ size_t data_alignment, size_t buffer_alignment, s64 offset,
+ const u8* buffer, size_t size);
+};
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_bucket_tree.cpp b/src/core/file_sys/fssystem/fssystem_bucket_tree.cpp
new file mode 100644
index 000000000..af8541009
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_bucket_tree.cpp
@@ -0,0 +1,598 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/file_sys/errors.h"
+#include "core/file_sys/fssystem/fssystem_bucket_tree.h"
+#include "core/file_sys/fssystem/fssystem_bucket_tree_utils.h"
+#include "core/file_sys/fssystem/fssystem_pooled_buffer.h"
+
+namespace FileSys {
+
+namespace {
+
+using Node = impl::BucketTreeNode<const s64*>;
+static_assert(sizeof(Node) == sizeof(BucketTree::NodeHeader));
+static_assert(std::is_trivial_v<Node>);
+
+constexpr inline s32 NodeHeaderSize = sizeof(BucketTree::NodeHeader);
+
+class StorageNode {
+private:
+ class Offset {
+ public:
+ using difference_type = s64;
+
+ private:
+ s64 m_offset;
+ s32 m_stride;
+
+ public:
+ constexpr Offset(s64 offset, s32 stride) : m_offset(offset), m_stride(stride) {}
+
+ constexpr Offset& operator++() {
+ m_offset += m_stride;
+ return *this;
+ }
+ constexpr Offset operator++(int) {
+ Offset ret(*this);
+ m_offset += m_stride;
+ return ret;
+ }
+
+ constexpr Offset& operator--() {
+ m_offset -= m_stride;
+ return *this;
+ }
+ constexpr Offset operator--(int) {
+ Offset ret(*this);
+ m_offset -= m_stride;
+ return ret;
+ }
+
+ constexpr difference_type operator-(const Offset& rhs) const {
+ return (m_offset - rhs.m_offset) / m_stride;
+ }
+
+ constexpr Offset operator+(difference_type ofs) const {
+ return Offset(m_offset + ofs * m_stride, m_stride);
+ }
+ constexpr Offset operator-(difference_type ofs) const {
+ return Offset(m_offset - ofs * m_stride, m_stride);
+ }
+
+ constexpr Offset& operator+=(difference_type ofs) {
+ m_offset += ofs * m_stride;
+ return *this;
+ }
+ constexpr Offset& operator-=(difference_type ofs) {
+ m_offset -= ofs * m_stride;
+ return *this;
+ }
+
+ constexpr bool operator==(const Offset& rhs) const {
+ return m_offset == rhs.m_offset;
+ }
+ constexpr bool operator!=(const Offset& rhs) const {
+ return m_offset != rhs.m_offset;
+ }
+
+ constexpr s64 Get() const {
+ return m_offset;
+ }
+ };
+
+private:
+ const Offset m_start;
+ const s32 m_count;
+ s32 m_index;
+
+public:
+ StorageNode(size_t size, s32 count)
+ : m_start(NodeHeaderSize, static_cast<s32>(size)), m_count(count), m_index(-1) {}
+ StorageNode(s64 ofs, size_t size, s32 count)
+ : m_start(NodeHeaderSize + ofs, static_cast<s32>(size)), m_count(count), m_index(-1) {}
+
+ s32 GetIndex() const {
+ return m_index;
+ }
+
+ void Find(const char* buffer, s64 virtual_address) {
+ s32 end = m_count;
+ auto pos = m_start;
+
+ while (end > 0) {
+ auto half = end / 2;
+ auto mid = pos + half;
+
+ s64 offset = 0;
+ std::memcpy(std::addressof(offset), buffer + mid.Get(), sizeof(s64));
+
+ if (offset <= virtual_address) {
+ pos = mid + 1;
+ end -= half + 1;
+ } else {
+ end = half;
+ }
+ }
+
+ m_index = static_cast<s32>(pos - m_start) - 1;
+ }
+
+ Result Find(VirtualFile storage, s64 virtual_address) {
+ s32 end = m_count;
+ auto pos = m_start;
+
+ while (end > 0) {
+ auto half = end / 2;
+ auto mid = pos + half;
+
+ s64 offset = 0;
+ storage->ReadObject(std::addressof(offset), mid.Get());
+
+ if (offset <= virtual_address) {
+ pos = mid + 1;
+ end -= half + 1;
+ } else {
+ end = half;
+ }
+ }
+
+ m_index = static_cast<s32>(pos - m_start) - 1;
+ R_SUCCEED();
+ }
+};
+
+} // namespace
+
+void BucketTree::Header::Format(s32 entry_count_) {
+ ASSERT(entry_count_ >= 0);
+
+ this->magic = Magic;
+ this->version = Version;
+ this->entry_count = entry_count_;
+ this->reserved = 0;
+}
+
+Result BucketTree::Header::Verify() const {
+ R_UNLESS(this->magic == Magic, ResultInvalidBucketTreeSignature);
+ R_UNLESS(this->entry_count >= 0, ResultInvalidBucketTreeEntryCount);
+ R_UNLESS(this->version <= Version, ResultUnsupportedVersion);
+ R_SUCCEED();
+}
+
+Result BucketTree::NodeHeader::Verify(s32 node_index, size_t node_size, size_t entry_size) const {
+ R_UNLESS(this->index == node_index, ResultInvalidBucketTreeNodeIndex);
+ R_UNLESS(entry_size != 0 && node_size >= entry_size + NodeHeaderSize, ResultInvalidSize);
+
+ const size_t max_entry_count = (node_size - NodeHeaderSize) / entry_size;
+ R_UNLESS(this->count > 0 && static_cast<size_t>(this->count) <= max_entry_count,
+ ResultInvalidBucketTreeNodeEntryCount);
+ R_UNLESS(this->offset >= 0, ResultInvalidBucketTreeNodeOffset);
+
+ R_SUCCEED();
+}
+
+Result BucketTree::Initialize(VirtualFile node_storage, VirtualFile entry_storage, size_t node_size,
+ size_t entry_size, s32 entry_count) {
+ // Validate preconditions.
+ ASSERT(entry_size >= sizeof(s64));
+ ASSERT(node_size >= entry_size + sizeof(NodeHeader));
+ ASSERT(NodeSizeMin <= node_size && node_size <= NodeSizeMax);
+ ASSERT(Common::IsPowerOfTwo(node_size));
+ ASSERT(!this->IsInitialized());
+
+ // Ensure valid entry count.
+ R_UNLESS(entry_count > 0, ResultInvalidArgument);
+
+ // Allocate node.
+ R_UNLESS(m_node_l1.Allocate(node_size), ResultBufferAllocationFailed);
+ ON_RESULT_FAILURE {
+ m_node_l1.Free(node_size);
+ };
+
+ // Read node.
+ node_storage->Read(reinterpret_cast<u8*>(m_node_l1.Get()), node_size);
+
+ // Verify node.
+ R_TRY(m_node_l1->Verify(0, node_size, sizeof(s64)));
+
+ // Validate offsets.
+ const auto offset_count = GetOffsetCount(node_size);
+ const auto entry_set_count = GetEntrySetCount(node_size, entry_size, entry_count);
+ const auto* const node = m_node_l1.Get<Node>();
+
+ s64 start_offset;
+ if (offset_count < entry_set_count && node->GetCount() < offset_count) {
+ start_offset = *node->GetEnd();
+ } else {
+ start_offset = *node->GetBegin();
+ }
+ const auto end_offset = node->GetEndOffset();
+
+ R_UNLESS(0 <= start_offset && start_offset <= node->GetBeginOffset(),
+ ResultInvalidBucketTreeEntryOffset);
+ R_UNLESS(start_offset < end_offset, ResultInvalidBucketTreeEntryOffset);
+
+ // Set member variables.
+ m_node_storage = node_storage;
+ m_entry_storage = entry_storage;
+ m_node_size = node_size;
+ m_entry_size = entry_size;
+ m_entry_count = entry_count;
+ m_offset_count = offset_count;
+ m_entry_set_count = entry_set_count;
+
+ m_offset_cache.offsets.start_offset = start_offset;
+ m_offset_cache.offsets.end_offset = end_offset;
+ m_offset_cache.is_initialized = true;
+
+ // We succeeded.
+ R_SUCCEED();
+}
+
+void BucketTree::Initialize(size_t node_size, s64 end_offset) {
+ ASSERT(NodeSizeMin <= node_size && node_size <= NodeSizeMax);
+ ASSERT(Common::IsPowerOfTwo(node_size));
+ ASSERT(end_offset > 0);
+ ASSERT(!this->IsInitialized());
+
+ m_node_size = node_size;
+
+ m_offset_cache.offsets.start_offset = 0;
+ m_offset_cache.offsets.end_offset = end_offset;
+ m_offset_cache.is_initialized = true;
+}
+
+void BucketTree::Finalize() {
+ if (this->IsInitialized()) {
+ m_node_storage = VirtualFile();
+ m_entry_storage = VirtualFile();
+ m_node_l1.Free(m_node_size);
+ m_node_size = 0;
+ m_entry_size = 0;
+ m_entry_count = 0;
+ m_offset_count = 0;
+ m_entry_set_count = 0;
+
+ m_offset_cache.offsets.start_offset = 0;
+ m_offset_cache.offsets.end_offset = 0;
+ m_offset_cache.is_initialized = false;
+ }
+}
+
+Result BucketTree::Find(Visitor* visitor, s64 virtual_address) {
+ ASSERT(visitor != nullptr);
+ ASSERT(this->IsInitialized());
+
+ R_UNLESS(virtual_address >= 0, ResultInvalidOffset);
+ R_UNLESS(!this->IsEmpty(), ResultOutOfRange);
+
+ BucketTree::Offsets offsets;
+ R_TRY(this->GetOffsets(std::addressof(offsets)));
+
+ R_TRY(visitor->Initialize(this, offsets));
+
+ R_RETURN(visitor->Find(virtual_address));
+}
+
+Result BucketTree::InvalidateCache() {
+ // Reset our offsets.
+ m_offset_cache.is_initialized = false;
+
+ R_SUCCEED();
+}
+
+Result BucketTree::EnsureOffsetCache() {
+ // If we already have an offset cache, we're good.
+ R_SUCCEED_IF(m_offset_cache.is_initialized);
+
+ // Acquire exclusive right to edit the offset cache.
+ std::scoped_lock lk(m_offset_cache.mutex);
+
+ // Check again, to be sure.
+ R_SUCCEED_IF(m_offset_cache.is_initialized);
+
+ // Read/verify L1.
+ m_node_storage->Read(reinterpret_cast<u8*>(m_node_l1.Get()), m_node_size);
+ R_TRY(m_node_l1->Verify(0, m_node_size, sizeof(s64)));
+
+ // Get the node.
+ auto* const node = m_node_l1.Get<Node>();
+
+ s64 start_offset;
+ if (m_offset_count < m_entry_set_count && node->GetCount() < m_offset_count) {
+ start_offset = *node->GetEnd();
+ } else {
+ start_offset = *node->GetBegin();
+ }
+ const auto end_offset = node->GetEndOffset();
+
+ R_UNLESS(0 <= start_offset && start_offset <= node->GetBeginOffset(),
+ ResultInvalidBucketTreeEntryOffset);
+ R_UNLESS(start_offset < end_offset, ResultInvalidBucketTreeEntryOffset);
+
+ m_offset_cache.offsets.start_offset = start_offset;
+ m_offset_cache.offsets.end_offset = end_offset;
+ m_offset_cache.is_initialized = true;
+
+ R_SUCCEED();
+}
+
+Result BucketTree::Visitor::Initialize(const BucketTree* tree, const BucketTree::Offsets& offsets) {
+ ASSERT(tree != nullptr);
+ ASSERT(m_tree == nullptr || m_tree == tree);
+
+ if (m_entry == nullptr) {
+ m_entry = ::operator new(tree->m_entry_size);
+ R_UNLESS(m_entry != nullptr, ResultBufferAllocationFailed);
+
+ m_tree = tree;
+ m_offsets = offsets;
+ }
+
+ R_SUCCEED();
+}
+
+Result BucketTree::Visitor::MoveNext() {
+ R_UNLESS(this->IsValid(), ResultOutOfRange);
+
+ // Invalidate our index, and read the header for the next index.
+ auto entry_index = m_entry_index + 1;
+ if (entry_index == m_entry_set.info.count) {
+ const auto entry_set_index = m_entry_set.info.index + 1;
+ R_UNLESS(entry_set_index < m_entry_set_count, ResultOutOfRange);
+
+ m_entry_index = -1;
+
+ const auto end = m_entry_set.info.end;
+
+ const auto entry_set_size = m_tree->m_node_size;
+ const auto entry_set_offset = entry_set_index * static_cast<s64>(entry_set_size);
+
+ m_tree->m_entry_storage->ReadObject(std::addressof(m_entry_set), entry_set_offset);
+ R_TRY(m_entry_set.header.Verify(entry_set_index, entry_set_size, m_tree->m_entry_size));
+
+ R_UNLESS(m_entry_set.info.start == end && m_entry_set.info.start < m_entry_set.info.end,
+ ResultInvalidBucketTreeEntrySetOffset);
+
+ entry_index = 0;
+ } else {
+ m_entry_index = -1;
+ }
+
+ // Read the new entry.
+ const auto entry_size = m_tree->m_entry_size;
+ const auto entry_offset = impl::GetBucketTreeEntryOffset(
+ m_entry_set.info.index, m_tree->m_node_size, entry_size, entry_index);
+ m_tree->m_entry_storage->Read(reinterpret_cast<u8*>(m_entry), entry_size, entry_offset);
+
+ // Note that we changed index.
+ m_entry_index = entry_index;
+ R_SUCCEED();
+}
+
+Result BucketTree::Visitor::MovePrevious() {
+ R_UNLESS(this->IsValid(), ResultOutOfRange);
+
+ // Invalidate our index, and read the header for the previous index.
+ auto entry_index = m_entry_index;
+ if (entry_index == 0) {
+ R_UNLESS(m_entry_set.info.index > 0, ResultOutOfRange);
+
+ m_entry_index = -1;
+
+ const auto start = m_entry_set.info.start;
+
+ const auto entry_set_size = m_tree->m_node_size;
+ const auto entry_set_index = m_entry_set.info.index - 1;
+ const auto entry_set_offset = entry_set_index * static_cast<s64>(entry_set_size);
+
+ m_tree->m_entry_storage->ReadObject(std::addressof(m_entry_set), entry_set_offset);
+ R_TRY(m_entry_set.header.Verify(entry_set_index, entry_set_size, m_tree->m_entry_size));
+
+ R_UNLESS(m_entry_set.info.end == start && m_entry_set.info.start < m_entry_set.info.end,
+ ResultInvalidBucketTreeEntrySetOffset);
+
+ entry_index = m_entry_set.info.count;
+ } else {
+ m_entry_index = -1;
+ }
+
+ --entry_index;
+
+ // Read the new entry.
+ const auto entry_size = m_tree->m_entry_size;
+ const auto entry_offset = impl::GetBucketTreeEntryOffset(
+ m_entry_set.info.index, m_tree->m_node_size, entry_size, entry_index);
+ m_tree->m_entry_storage->Read(reinterpret_cast<u8*>(m_entry), entry_size, entry_offset);
+
+ // Note that we changed index.
+ m_entry_index = entry_index;
+ R_SUCCEED();
+}
+
+Result BucketTree::Visitor::Find(s64 virtual_address) {
+ ASSERT(m_tree != nullptr);
+
+ // Get the node.
+ const auto* const node = m_tree->m_node_l1.Get<Node>();
+ R_UNLESS(virtual_address < node->GetEndOffset(), ResultOutOfRange);
+
+ // Get the entry set index.
+ s32 entry_set_index = -1;
+ if (m_tree->IsExistOffsetL2OnL1() && virtual_address < node->GetBeginOffset()) {
+ const auto start = node->GetEnd();
+ const auto end = node->GetBegin() + m_tree->m_offset_count;
+
+ auto pos = std::upper_bound(start, end, virtual_address);
+ R_UNLESS(start < pos, ResultOutOfRange);
+ --pos;
+
+ entry_set_index = static_cast<s32>(pos - start);
+ } else {
+ const auto start = node->GetBegin();
+ const auto end = node->GetEnd();
+
+ auto pos = std::upper_bound(start, end, virtual_address);
+ R_UNLESS(start < pos, ResultOutOfRange);
+ --pos;
+
+ if (m_tree->IsExistL2()) {
+ const auto node_index = static_cast<s32>(pos - start);
+ R_UNLESS(0 <= node_index && node_index < m_tree->m_offset_count,
+ ResultInvalidBucketTreeNodeOffset);
+
+ R_TRY(this->FindEntrySet(std::addressof(entry_set_index), virtual_address, node_index));
+ } else {
+ entry_set_index = static_cast<s32>(pos - start);
+ }
+ }
+
+ // Validate the entry set index.
+ R_UNLESS(0 <= entry_set_index && entry_set_index < m_tree->m_entry_set_count,
+ ResultInvalidBucketTreeNodeOffset);
+
+ // Find the entry.
+ R_TRY(this->FindEntry(virtual_address, entry_set_index));
+
+ // Set count.
+ m_entry_set_count = m_tree->m_entry_set_count;
+ R_SUCCEED();
+}
+
+Result BucketTree::Visitor::FindEntrySet(s32* out_index, s64 virtual_address, s32 node_index) {
+ const auto node_size = m_tree->m_node_size;
+
+ PooledBuffer pool(node_size, 1);
+ if (node_size <= pool.GetSize()) {
+ R_RETURN(
+ this->FindEntrySetWithBuffer(out_index, virtual_address, node_index, pool.GetBuffer()));
+ } else {
+ pool.Deallocate();
+ R_RETURN(this->FindEntrySetWithoutBuffer(out_index, virtual_address, node_index));
+ }
+}
+
+Result BucketTree::Visitor::FindEntrySetWithBuffer(s32* out_index, s64 virtual_address,
+ s32 node_index, char* buffer) {
+ // Calculate node extents.
+ const auto node_size = m_tree->m_node_size;
+ const auto node_offset = (node_index + 1) * static_cast<s64>(node_size);
+ VirtualFile storage = m_tree->m_node_storage;
+
+ // Read the node.
+ storage->Read(reinterpret_cast<u8*>(buffer), node_size, node_offset);
+
+ // Validate the header.
+ NodeHeader header;
+ std::memcpy(std::addressof(header), buffer, NodeHeaderSize);
+ R_TRY(header.Verify(node_index, node_size, sizeof(s64)));
+
+ // Create the node, and find.
+ StorageNode node(sizeof(s64), header.count);
+ node.Find(buffer, virtual_address);
+ R_UNLESS(node.GetIndex() >= 0, ResultInvalidBucketTreeVirtualOffset);
+
+ // Return the index.
+ *out_index = static_cast<s32>(m_tree->GetEntrySetIndex(header.index, node.GetIndex()));
+ R_SUCCEED();
+}
+
+Result BucketTree::Visitor::FindEntrySetWithoutBuffer(s32* out_index, s64 virtual_address,
+ s32 node_index) {
+ // Calculate node extents.
+ const auto node_size = m_tree->m_node_size;
+ const auto node_offset = (node_index + 1) * static_cast<s64>(node_size);
+ VirtualFile storage = m_tree->m_node_storage;
+
+ // Read and validate the header.
+ NodeHeader header;
+ storage->ReadObject(std::addressof(header), node_offset);
+ R_TRY(header.Verify(node_index, node_size, sizeof(s64)));
+
+ // Create the node, and find.
+ StorageNode node(node_offset, sizeof(s64), header.count);
+ R_TRY(node.Find(storage, virtual_address));
+ R_UNLESS(node.GetIndex() >= 0, ResultOutOfRange);
+
+ // Return the index.
+ *out_index = static_cast<s32>(m_tree->GetEntrySetIndex(header.index, node.GetIndex()));
+ R_SUCCEED();
+}
+
+Result BucketTree::Visitor::FindEntry(s64 virtual_address, s32 entry_set_index) {
+ const auto entry_set_size = m_tree->m_node_size;
+
+ PooledBuffer pool(entry_set_size, 1);
+ if (entry_set_size <= pool.GetSize()) {
+ R_RETURN(this->FindEntryWithBuffer(virtual_address, entry_set_index, pool.GetBuffer()));
+ } else {
+ pool.Deallocate();
+ R_RETURN(this->FindEntryWithoutBuffer(virtual_address, entry_set_index));
+ }
+}
+
+Result BucketTree::Visitor::FindEntryWithBuffer(s64 virtual_address, s32 entry_set_index,
+ char* buffer) {
+ // Calculate entry set extents.
+ const auto entry_size = m_tree->m_entry_size;
+ const auto entry_set_size = m_tree->m_node_size;
+ const auto entry_set_offset = entry_set_index * static_cast<s64>(entry_set_size);
+ VirtualFile storage = m_tree->m_entry_storage;
+
+ // Read the entry set.
+ storage->Read(reinterpret_cast<u8*>(buffer), entry_set_size, entry_set_offset);
+
+ // Validate the entry_set.
+ EntrySetHeader entry_set;
+ std::memcpy(std::addressof(entry_set), buffer, sizeof(EntrySetHeader));
+ R_TRY(entry_set.header.Verify(entry_set_index, entry_set_size, entry_size));
+
+ // Create the node, and find.
+ StorageNode node(entry_size, entry_set.info.count);
+ node.Find(buffer, virtual_address);
+ R_UNLESS(node.GetIndex() >= 0, ResultOutOfRange);
+
+ // Copy the data into entry.
+ const auto entry_index = node.GetIndex();
+ const auto entry_offset = impl::GetBucketTreeEntryOffset(0, entry_size, entry_index);
+ std::memcpy(m_entry, buffer + entry_offset, entry_size);
+
+ // Set our entry set/index.
+ m_entry_set = entry_set;
+ m_entry_index = entry_index;
+
+ R_SUCCEED();
+}
+
+Result BucketTree::Visitor::FindEntryWithoutBuffer(s64 virtual_address, s32 entry_set_index) {
+ // Calculate entry set extents.
+ const auto entry_size = m_tree->m_entry_size;
+ const auto entry_set_size = m_tree->m_node_size;
+ const auto entry_set_offset = entry_set_index * static_cast<s64>(entry_set_size);
+ VirtualFile storage = m_tree->m_entry_storage;
+
+ // Read and validate the entry_set.
+ EntrySetHeader entry_set;
+ storage->ReadObject(std::addressof(entry_set), entry_set_offset);
+ R_TRY(entry_set.header.Verify(entry_set_index, entry_set_size, entry_size));
+
+ // Create the node, and find.
+ StorageNode node(entry_set_offset, entry_size, entry_set.info.count);
+ R_TRY(node.Find(storage, virtual_address));
+ R_UNLESS(node.GetIndex() >= 0, ResultOutOfRange);
+
+ // Copy the data into entry.
+ const auto entry_index = node.GetIndex();
+ const auto entry_offset =
+ impl::GetBucketTreeEntryOffset(entry_set_offset, entry_size, entry_index);
+ storage->Read(reinterpret_cast<u8*>(m_entry), entry_size, entry_offset);
+
+ // Set our entry set/index.
+ m_entry_set = entry_set;
+ m_entry_index = entry_index;
+
+ R_SUCCEED();
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_bucket_tree.h b/src/core/file_sys/fssystem/fssystem_bucket_tree.h
new file mode 100644
index 000000000..46850cd48
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_bucket_tree.h
@@ -0,0 +1,416 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <mutex>
+
+#include "common/alignment.h"
+#include "common/common_funcs.h"
+#include "common/common_types.h"
+#include "common/literals.h"
+
+#include "core/file_sys/vfs.h"
+#include "core/hle/result.h"
+
+namespace FileSys {
+
+using namespace Common::Literals;
+
+class BucketTree {
+ YUZU_NON_COPYABLE(BucketTree);
+ YUZU_NON_MOVEABLE(BucketTree);
+
+public:
+ static constexpr u32 Magic = Common::MakeMagic('B', 'K', 'T', 'R');
+ static constexpr u32 Version = 1;
+
+ static constexpr size_t NodeSizeMin = 1_KiB;
+ static constexpr size_t NodeSizeMax = 512_KiB;
+
+public:
+ class Visitor;
+
+ struct Header {
+ u32 magic;
+ u32 version;
+ s32 entry_count;
+ s32 reserved;
+
+ void Format(s32 entry_count);
+ Result Verify() const;
+ };
+ static_assert(std::is_trivial_v<Header>);
+ static_assert(sizeof(Header) == 0x10);
+
+ struct NodeHeader {
+ s32 index;
+ s32 count;
+ s64 offset;
+
+ Result Verify(s32 node_index, size_t node_size, size_t entry_size) const;
+ };
+ static_assert(std::is_trivial_v<NodeHeader>);
+ static_assert(sizeof(NodeHeader) == 0x10);
+
+ struct Offsets {
+ s64 start_offset;
+ s64 end_offset;
+
+ constexpr bool IsInclude(s64 offset) const {
+ return this->start_offset <= offset && offset < this->end_offset;
+ }
+
+ constexpr bool IsInclude(s64 offset, s64 size) const {
+ return size > 0 && this->start_offset <= offset && size <= (this->end_offset - offset);
+ }
+ };
+ static_assert(std::is_trivial_v<Offsets>);
+ static_assert(sizeof(Offsets) == 0x10);
+
+ struct OffsetCache {
+ Offsets offsets;
+ std::mutex mutex;
+ bool is_initialized;
+
+ OffsetCache() : offsets{-1, -1}, mutex(), is_initialized(false) {}
+ };
+
+ class ContinuousReadingInfo {
+ public:
+ constexpr ContinuousReadingInfo() : m_read_size(), m_skip_count(), m_done() {}
+
+ constexpr void Reset() {
+ m_read_size = 0;
+ m_skip_count = 0;
+ m_done = false;
+ }
+
+ constexpr void SetSkipCount(s32 count) {
+ ASSERT(count >= 0);
+ m_skip_count = count;
+ }
+ constexpr s32 GetSkipCount() const {
+ return m_skip_count;
+ }
+ constexpr bool CheckNeedScan() {
+ return (--m_skip_count) <= 0;
+ }
+
+ constexpr void Done() {
+ m_read_size = 0;
+ m_done = true;
+ }
+ constexpr bool IsDone() const {
+ return m_done;
+ }
+
+ constexpr void SetReadSize(size_t size) {
+ m_read_size = size;
+ }
+ constexpr size_t GetReadSize() const {
+ return m_read_size;
+ }
+ constexpr bool CanDo() const {
+ return m_read_size > 0;
+ }
+
+ private:
+ size_t m_read_size;
+ s32 m_skip_count;
+ bool m_done;
+ };
+
+private:
+ class NodeBuffer {
+ YUZU_NON_COPYABLE(NodeBuffer);
+
+ public:
+ NodeBuffer() : m_header() {}
+
+ ~NodeBuffer() {
+ ASSERT(m_header == nullptr);
+ }
+
+ NodeBuffer(NodeBuffer&& rhs) : m_header(rhs.m_header) {
+ rhs.m_header = nullptr;
+ }
+
+ NodeBuffer& operator=(NodeBuffer&& rhs) {
+ if (this != std::addressof(rhs)) {
+ ASSERT(m_header == nullptr);
+
+ m_header = rhs.m_header;
+
+ rhs.m_header = nullptr;
+ }
+ return *this;
+ }
+
+ bool Allocate(size_t node_size) {
+ ASSERT(m_header == nullptr);
+
+ m_header = ::operator new(node_size, std::align_val_t{sizeof(s64)});
+
+ // ASSERT(Common::IsAligned(m_header, sizeof(s64)));
+
+ return m_header != nullptr;
+ }
+
+ void Free(size_t node_size) {
+ if (m_header) {
+ ::operator delete(m_header, std::align_val_t{sizeof(s64)});
+ m_header = nullptr;
+ }
+ }
+
+ void FillZero(size_t node_size) const {
+ if (m_header) {
+ std::memset(m_header, 0, node_size);
+ }
+ }
+
+ NodeHeader* Get() const {
+ return reinterpret_cast<NodeHeader*>(m_header);
+ }
+
+ NodeHeader* operator->() const {
+ return this->Get();
+ }
+
+ template <typename T>
+ T* Get() const {
+ static_assert(std::is_trivial_v<T>);
+ static_assert(sizeof(T) == sizeof(NodeHeader));
+ return reinterpret_cast<T*>(m_header);
+ }
+
+ private:
+ void* m_header;
+ };
+
+private:
+ static constexpr s32 GetEntryCount(size_t node_size, size_t entry_size) {
+ return static_cast<s32>((node_size - sizeof(NodeHeader)) / entry_size);
+ }
+
+ static constexpr s32 GetOffsetCount(size_t node_size) {
+ return static_cast<s32>((node_size - sizeof(NodeHeader)) / sizeof(s64));
+ }
+
+ static constexpr s32 GetEntrySetCount(size_t node_size, size_t entry_size, s32 entry_count) {
+ const s32 entry_count_per_node = GetEntryCount(node_size, entry_size);
+ return Common::DivideUp(entry_count, entry_count_per_node);
+ }
+
+ static constexpr s32 GetNodeL2Count(size_t node_size, size_t entry_size, s32 entry_count) {
+ const s32 offset_count_per_node = GetOffsetCount(node_size);
+ const s32 entry_set_count = GetEntrySetCount(node_size, entry_size, entry_count);
+
+ if (entry_set_count <= offset_count_per_node) {
+ return 0;
+ }
+
+ const s32 node_l2_count = Common::DivideUp(entry_set_count, offset_count_per_node);
+ ASSERT(node_l2_count <= offset_count_per_node);
+
+ return Common::DivideUp(entry_set_count - (offset_count_per_node - (node_l2_count - 1)),
+ offset_count_per_node);
+ }
+
+public:
+ BucketTree()
+ : m_node_storage(), m_entry_storage(), m_node_l1(), m_node_size(), m_entry_size(),
+ m_entry_count(), m_offset_count(), m_entry_set_count(), m_offset_cache() {}
+ ~BucketTree() {
+ this->Finalize();
+ }
+
+ Result Initialize(VirtualFile node_storage, VirtualFile entry_storage, size_t node_size,
+ size_t entry_size, s32 entry_count);
+ void Initialize(size_t node_size, s64 end_offset);
+ void Finalize();
+
+ bool IsInitialized() const {
+ return m_node_size > 0;
+ }
+ bool IsEmpty() const {
+ return m_entry_size == 0;
+ }
+
+ Result Find(Visitor* visitor, s64 virtual_address);
+ Result InvalidateCache();
+
+ s32 GetEntryCount() const {
+ return m_entry_count;
+ }
+
+ Result GetOffsets(Offsets* out) {
+ // Ensure we have an offset cache.
+ R_TRY(this->EnsureOffsetCache());
+
+ // Set the output.
+ *out = m_offset_cache.offsets;
+ R_SUCCEED();
+ }
+
+public:
+ static constexpr s64 QueryHeaderStorageSize() {
+ return sizeof(Header);
+ }
+
+ static constexpr s64 QueryNodeStorageSize(size_t node_size, size_t entry_size,
+ s32 entry_count) {
+ ASSERT(entry_size >= sizeof(s64));
+ ASSERT(node_size >= entry_size + sizeof(NodeHeader));
+ ASSERT(NodeSizeMin <= node_size && node_size <= NodeSizeMax);
+ ASSERT(Common::IsPowerOfTwo(node_size));
+ ASSERT(entry_count >= 0);
+
+ if (entry_count <= 0) {
+ return 0;
+ }
+ return (1 + GetNodeL2Count(node_size, entry_size, entry_count)) *
+ static_cast<s64>(node_size);
+ }
+
+ static constexpr s64 QueryEntryStorageSize(size_t node_size, size_t entry_size,
+ s32 entry_count) {
+ ASSERT(entry_size >= sizeof(s64));
+ ASSERT(node_size >= entry_size + sizeof(NodeHeader));
+ ASSERT(NodeSizeMin <= node_size && node_size <= NodeSizeMax);
+ ASSERT(Common::IsPowerOfTwo(node_size));
+ ASSERT(entry_count >= 0);
+
+ if (entry_count <= 0) {
+ return 0;
+ }
+ return GetEntrySetCount(node_size, entry_size, entry_count) * static_cast<s64>(node_size);
+ }
+
+private:
+ template <typename EntryType>
+ struct ContinuousReadingParam {
+ s64 offset;
+ size_t size;
+ NodeHeader entry_set;
+ s32 entry_index;
+ Offsets offsets;
+ EntryType entry;
+ };
+
+private:
+ template <typename EntryType>
+ Result ScanContinuousReading(ContinuousReadingInfo* out_info,
+ const ContinuousReadingParam<EntryType>& param) const;
+
+ bool IsExistL2() const {
+ return m_offset_count < m_entry_set_count;
+ }
+ bool IsExistOffsetL2OnL1() const {
+ return this->IsExistL2() && m_node_l1->count < m_offset_count;
+ }
+
+ s64 GetEntrySetIndex(s32 node_index, s32 offset_index) const {
+ return (m_offset_count - m_node_l1->count) + (m_offset_count * node_index) + offset_index;
+ }
+
+ Result EnsureOffsetCache();
+
+private:
+ mutable VirtualFile m_node_storage;
+ mutable VirtualFile m_entry_storage;
+ NodeBuffer m_node_l1;
+ size_t m_node_size;
+ size_t m_entry_size;
+ s32 m_entry_count;
+ s32 m_offset_count;
+ s32 m_entry_set_count;
+ OffsetCache m_offset_cache;
+};
+
+class BucketTree::Visitor {
+ YUZU_NON_COPYABLE(Visitor);
+ YUZU_NON_MOVEABLE(Visitor);
+
+public:
+ constexpr Visitor()
+ : m_tree(), m_entry(), m_entry_index(-1), m_entry_set_count(), m_entry_set{} {}
+ ~Visitor() {
+ if (m_entry != nullptr) {
+ ::operator delete(m_entry, m_tree->m_entry_size);
+ m_tree = nullptr;
+ m_entry = nullptr;
+ }
+ }
+
+ bool IsValid() const {
+ return m_entry_index >= 0;
+ }
+ bool CanMoveNext() const {
+ return this->IsValid() && (m_entry_index + 1 < m_entry_set.info.count ||
+ m_entry_set.info.index + 1 < m_entry_set_count);
+ }
+ bool CanMovePrevious() const {
+ return this->IsValid() && (m_entry_index > 0 || m_entry_set.info.index > 0);
+ }
+
+ Result MoveNext();
+ Result MovePrevious();
+
+ template <typename EntryType>
+ Result ScanContinuousReading(ContinuousReadingInfo* out_info, s64 offset, size_t size) const;
+
+ const void* Get() const {
+ ASSERT(this->IsValid());
+ return m_entry;
+ }
+
+ template <typename T>
+ const T* Get() const {
+ ASSERT(this->IsValid());
+ return reinterpret_cast<const T*>(m_entry);
+ }
+
+ const BucketTree* GetTree() const {
+ return m_tree;
+ }
+
+private:
+ Result Initialize(const BucketTree* tree, const BucketTree::Offsets& offsets);
+
+ Result Find(s64 virtual_address);
+
+ Result FindEntrySet(s32* out_index, s64 virtual_address, s32 node_index);
+ Result FindEntrySetWithBuffer(s32* out_index, s64 virtual_address, s32 node_index,
+ char* buffer);
+ Result FindEntrySetWithoutBuffer(s32* out_index, s64 virtual_address, s32 node_index);
+
+ Result FindEntry(s64 virtual_address, s32 entry_set_index);
+ Result FindEntryWithBuffer(s64 virtual_address, s32 entry_set_index, char* buffer);
+ Result FindEntryWithoutBuffer(s64 virtual_address, s32 entry_set_index);
+
+private:
+ friend class BucketTree;
+
+ union EntrySetHeader {
+ NodeHeader header;
+ struct Info {
+ s32 index;
+ s32 count;
+ s64 end;
+ s64 start;
+ } info;
+ static_assert(std::is_trivial_v<Info>);
+ };
+ static_assert(std::is_trivial_v<EntrySetHeader>);
+
+ const BucketTree* m_tree;
+ BucketTree::Offsets m_offsets;
+ void* m_entry;
+ s32 m_entry_index;
+ s32 m_entry_set_count;
+ EntrySetHeader m_entry_set;
+};
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_bucket_tree_template_impl.h b/src/core/file_sys/fssystem/fssystem_bucket_tree_template_impl.h
new file mode 100644
index 000000000..030b2916b
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_bucket_tree_template_impl.h
@@ -0,0 +1,170 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/file_sys/errors.h"
+#include "core/file_sys/fssystem/fssystem_bucket_tree.h"
+#include "core/file_sys/fssystem/fssystem_bucket_tree_utils.h"
+#include "core/file_sys/fssystem/fssystem_pooled_buffer.h"
+
+namespace FileSys {
+
+template <typename EntryType>
+Result BucketTree::ScanContinuousReading(ContinuousReadingInfo* out_info,
+ const ContinuousReadingParam<EntryType>& param) const {
+ static_assert(std::is_trivial_v<ContinuousReadingParam<EntryType>>);
+
+ // Validate our preconditions.
+ ASSERT(this->IsInitialized());
+ ASSERT(out_info != nullptr);
+ ASSERT(m_entry_size == sizeof(EntryType));
+
+ // Reset the output.
+ out_info->Reset();
+
+ // If there's nothing to read, we're done.
+ R_SUCCEED_IF(param.size == 0);
+
+ // If we're reading a fragment, we're done.
+ R_SUCCEED_IF(param.entry.IsFragment());
+
+ // Validate the first entry.
+ auto entry = param.entry;
+ auto cur_offset = param.offset;
+ R_UNLESS(entry.GetVirtualOffset() <= cur_offset, ResultOutOfRange);
+
+ // Create a pooled buffer for our scan.
+ PooledBuffer pool(m_node_size, 1);
+ char* buffer = nullptr;
+
+ s64 entry_storage_size = m_entry_storage->GetSize();
+
+ // Read the node.
+ if (m_node_size <= pool.GetSize()) {
+ buffer = pool.GetBuffer();
+ const auto ofs = param.entry_set.index * static_cast<s64>(m_node_size);
+ R_UNLESS(m_node_size + ofs <= static_cast<size_t>(entry_storage_size),
+ ResultInvalidBucketTreeNodeEntryCount);
+
+ m_entry_storage->Read(reinterpret_cast<u8*>(buffer), m_node_size, ofs);
+ }
+
+ // Calculate extents.
+ const auto end_offset = cur_offset + static_cast<s64>(param.size);
+ s64 phys_offset = entry.GetPhysicalOffset();
+
+ // Start merge tracking.
+ s64 merge_size = 0;
+ s64 readable_size = 0;
+ bool merged = false;
+
+ // Iterate.
+ auto entry_index = param.entry_index;
+ for (const auto entry_count = param.entry_set.count; entry_index < entry_count; ++entry_index) {
+ // If we're past the end, we're done.
+ if (end_offset <= cur_offset) {
+ break;
+ }
+
+ // Validate the entry offset.
+ const auto entry_offset = entry.GetVirtualOffset();
+ R_UNLESS(entry_offset <= cur_offset, ResultInvalidIndirectEntryOffset);
+
+ // Get the next entry.
+ EntryType next_entry = {};
+ s64 next_entry_offset;
+
+ if (entry_index + 1 < entry_count) {
+ if (buffer != nullptr) {
+ const auto ofs = impl::GetBucketTreeEntryOffset(0, m_entry_size, entry_index + 1);
+ std::memcpy(std::addressof(next_entry), buffer + ofs, m_entry_size);
+ } else {
+ const auto ofs = impl::GetBucketTreeEntryOffset(param.entry_set.index, m_node_size,
+ m_entry_size, entry_index + 1);
+ m_entry_storage->ReadObject(std::addressof(next_entry), ofs);
+ }
+
+ next_entry_offset = next_entry.GetVirtualOffset();
+ R_UNLESS(param.offsets.IsInclude(next_entry_offset), ResultInvalidIndirectEntryOffset);
+ } else {
+ next_entry_offset = param.entry_set.offset;
+ }
+
+ // Validate the next entry offset.
+ R_UNLESS(cur_offset < next_entry_offset, ResultInvalidIndirectEntryOffset);
+
+ // Determine the much data there is.
+ const auto data_size = next_entry_offset - cur_offset;
+ ASSERT(data_size > 0);
+
+ // Determine how much data we should read.
+ const auto remaining_size = end_offset - cur_offset;
+ const size_t read_size = static_cast<size_t>(std::min(data_size, remaining_size));
+ ASSERT(read_size <= param.size);
+
+ // Update our merge tracking.
+ if (entry.IsFragment()) {
+ // If we can't merge, stop looping.
+ if (EntryType::FragmentSizeMax <= read_size || remaining_size <= data_size) {
+ break;
+ }
+
+ // Otherwise, add the current size to the merge size.
+ merge_size += read_size;
+ } else {
+ // If we can't merge, stop looping.
+ if (phys_offset != entry.GetPhysicalOffset()) {
+ break;
+ }
+
+ // Add the size to the readable amount.
+ readable_size += merge_size + read_size;
+ ASSERT(readable_size <= static_cast<s64>(param.size));
+
+ // Update whether we've merged.
+ merged |= merge_size > 0;
+ merge_size = 0;
+ }
+
+ // Advance.
+ cur_offset += read_size;
+ ASSERT(cur_offset <= end_offset);
+
+ phys_offset += next_entry_offset - entry_offset;
+ entry = next_entry;
+ }
+
+ // If we merged, set our readable size.
+ if (merged) {
+ out_info->SetReadSize(static_cast<size_t>(readable_size));
+ }
+ out_info->SetSkipCount(entry_index - param.entry_index);
+
+ R_SUCCEED();
+}
+
+template <typename EntryType>
+Result BucketTree::Visitor::ScanContinuousReading(ContinuousReadingInfo* out_info, s64 offset,
+ size_t size) const {
+ static_assert(std::is_trivial_v<EntryType>);
+ ASSERT(this->IsValid());
+
+ // Create our parameters.
+ ContinuousReadingParam<EntryType> param = {
+ .offset = offset,
+ .size = size,
+ .entry_set = m_entry_set.header,
+ .entry_index = m_entry_index,
+ .offsets{},
+ .entry{},
+ };
+ std::memcpy(std::addressof(param.offsets), std::addressof(m_offsets),
+ sizeof(BucketTree::Offsets));
+ std::memcpy(std::addressof(param.entry), m_entry, sizeof(EntryType));
+
+ // Scan.
+ R_RETURN(m_tree->ScanContinuousReading<EntryType>(out_info, param));
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_bucket_tree_utils.h b/src/core/file_sys/fssystem/fssystem_bucket_tree_utils.h
new file mode 100644
index 000000000..5503613fc
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_bucket_tree_utils.h
@@ -0,0 +1,110 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/file_sys/fssystem/fssystem_bucket_tree.h"
+
+namespace FileSys::impl {
+
+class SafeValue {
+public:
+ static s64 GetInt64(const void* ptr) {
+ s64 value;
+ std::memcpy(std::addressof(value), ptr, sizeof(s64));
+ return value;
+ }
+
+ static s64 GetInt64(const s64* ptr) {
+ return GetInt64(static_cast<const void*>(ptr));
+ }
+
+ static s64 GetInt64(const s64& v) {
+ return GetInt64(std::addressof(v));
+ }
+
+ static void SetInt64(void* dst, const void* src) {
+ std::memcpy(dst, src, sizeof(s64));
+ }
+
+ static void SetInt64(void* dst, const s64* src) {
+ return SetInt64(dst, static_cast<const void*>(src));
+ }
+
+ static void SetInt64(void* dst, const s64& v) {
+ return SetInt64(dst, std::addressof(v));
+ }
+};
+
+template <typename IteratorType>
+struct BucketTreeNode {
+ using Header = BucketTree::NodeHeader;
+
+ Header header;
+
+ s32 GetCount() const {
+ return this->header.count;
+ }
+
+ void* GetArray() {
+ return std::addressof(this->header) + 1;
+ }
+ template <typename T>
+ T* GetArray() {
+ return reinterpret_cast<T*>(this->GetArray());
+ }
+ const void* GetArray() const {
+ return std::addressof(this->header) + 1;
+ }
+ template <typename T>
+ const T* GetArray() const {
+ return reinterpret_cast<const T*>(this->GetArray());
+ }
+
+ s64 GetBeginOffset() const {
+ return *this->GetArray<s64>();
+ }
+ s64 GetEndOffset() const {
+ return this->header.offset;
+ }
+
+ IteratorType GetBegin() {
+ return IteratorType(this->GetArray<s64>());
+ }
+ IteratorType GetEnd() {
+ return IteratorType(this->GetArray<s64>()) + this->header.count;
+ }
+ IteratorType GetBegin() const {
+ return IteratorType(this->GetArray<s64>());
+ }
+ IteratorType GetEnd() const {
+ return IteratorType(this->GetArray<s64>()) + this->header.count;
+ }
+
+ IteratorType GetBegin(size_t entry_size) {
+ return IteratorType(this->GetArray(), entry_size);
+ }
+ IteratorType GetEnd(size_t entry_size) {
+ return IteratorType(this->GetArray(), entry_size) + this->header.count;
+ }
+ IteratorType GetBegin(size_t entry_size) const {
+ return IteratorType(this->GetArray(), entry_size);
+ }
+ IteratorType GetEnd(size_t entry_size) const {
+ return IteratorType(this->GetArray(), entry_size) + this->header.count;
+ }
+};
+
+constexpr inline s64 GetBucketTreeEntryOffset(s64 entry_set_offset, size_t entry_size,
+ s32 entry_index) {
+ return entry_set_offset + sizeof(BucketTree::NodeHeader) +
+ entry_index * static_cast<s64>(entry_size);
+}
+
+constexpr inline s64 GetBucketTreeEntryOffset(s32 entry_set_index, size_t node_size,
+ size_t entry_size, s32 entry_index) {
+ return GetBucketTreeEntryOffset(entry_set_index * static_cast<s64>(node_size), entry_size,
+ entry_index);
+}
+
+} // namespace FileSys::impl
diff --git a/src/core/file_sys/fssystem/fssystem_compressed_storage.h b/src/core/file_sys/fssystem/fssystem_compressed_storage.h
new file mode 100644
index 000000000..33d93938e
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_compressed_storage.h
@@ -0,0 +1,963 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "common/literals.h"
+
+#include "core/file_sys/errors.h"
+#include "core/file_sys/fssystem/fs_i_storage.h"
+#include "core/file_sys/fssystem/fssystem_bucket_tree.h"
+#include "core/file_sys/fssystem/fssystem_compression_common.h"
+#include "core/file_sys/fssystem/fssystem_pooled_buffer.h"
+#include "core/file_sys/vfs.h"
+
+namespace FileSys {
+
+using namespace Common::Literals;
+
+class CompressedStorage : public IReadOnlyStorage {
+ YUZU_NON_COPYABLE(CompressedStorage);
+ YUZU_NON_MOVEABLE(CompressedStorage);
+
+public:
+ static constexpr size_t NodeSize = 16_KiB;
+
+ struct Entry {
+ s64 virt_offset;
+ s64 phys_offset;
+ CompressionType compression_type;
+ s32 phys_size;
+
+ s64 GetPhysicalSize() const {
+ return this->phys_size;
+ }
+ };
+ static_assert(std::is_trivial_v<Entry>);
+ static_assert(sizeof(Entry) == 0x18);
+
+public:
+ static constexpr s64 QueryNodeStorageSize(s32 entry_count) {
+ return BucketTree::QueryNodeStorageSize(NodeSize, sizeof(Entry), entry_count);
+ }
+
+ static constexpr s64 QueryEntryStorageSize(s32 entry_count) {
+ return BucketTree::QueryEntryStorageSize(NodeSize, sizeof(Entry), entry_count);
+ }
+
+private:
+ class CompressedStorageCore {
+ YUZU_NON_COPYABLE(CompressedStorageCore);
+ YUZU_NON_MOVEABLE(CompressedStorageCore);
+
+ public:
+ CompressedStorageCore() : m_table(), m_data_storage() {}
+
+ ~CompressedStorageCore() {
+ this->Finalize();
+ }
+
+ public:
+ Result Initialize(VirtualFile data_storage, VirtualFile node_storage,
+ VirtualFile entry_storage, s32 bktr_entry_count, size_t block_size_max,
+ size_t continuous_reading_size_max,
+ GetDecompressorFunction get_decompressor) {
+ // Check pre-conditions.
+ ASSERT(0 < block_size_max);
+ ASSERT(block_size_max <= continuous_reading_size_max);
+ ASSERT(get_decompressor != nullptr);
+
+ // Initialize our entry table.
+ R_TRY(m_table.Initialize(node_storage, entry_storage, NodeSize, sizeof(Entry),
+ bktr_entry_count));
+
+ // Set our other fields.
+ m_block_size_max = block_size_max;
+ m_continuous_reading_size_max = continuous_reading_size_max;
+ m_data_storage = data_storage;
+ m_get_decompressor_function = get_decompressor;
+
+ R_SUCCEED();
+ }
+
+ void Finalize() {
+ if (this->IsInitialized()) {
+ m_table.Finalize();
+ m_data_storage = VirtualFile();
+ }
+ }
+
+ VirtualFile GetDataStorage() {
+ return m_data_storage;
+ }
+
+ Result GetDataStorageSize(s64* out) {
+ // Check pre-conditions.
+ ASSERT(out != nullptr);
+
+ // Get size.
+ *out = m_data_storage->GetSize();
+
+ R_SUCCEED();
+ }
+
+ BucketTree& GetEntryTable() {
+ return m_table;
+ }
+
+ Result GetEntryList(Entry* out_entries, s32* out_read_count, s32 max_entry_count,
+ s64 offset, s64 size) {
+ // Check pre-conditions.
+ ASSERT(offset >= 0);
+ ASSERT(size >= 0);
+ ASSERT(this->IsInitialized());
+
+ // Check that we can output the count.
+ R_UNLESS(out_read_count != nullptr, ResultNullptrArgument);
+
+ // Check that we have anything to read at all.
+ R_SUCCEED_IF(size == 0);
+
+ // Check that either we have a buffer, or this is to determine how many we need.
+ if (max_entry_count != 0) {
+ R_UNLESS(out_entries != nullptr, ResultNullptrArgument);
+ }
+
+ // Get the table offsets.
+ BucketTree::Offsets table_offsets;
+ R_TRY(m_table.GetOffsets(std::addressof(table_offsets)));
+
+ // Validate arguments.
+ R_UNLESS(table_offsets.IsInclude(offset, size), ResultOutOfRange);
+
+ // Find the offset in our tree.
+ BucketTree::Visitor visitor;
+ R_TRY(m_table.Find(std::addressof(visitor), offset));
+ {
+ const auto entry_offset = visitor.Get<Entry>()->virt_offset;
+ R_UNLESS(0 <= entry_offset && table_offsets.IsInclude(entry_offset),
+ ResultUnexpectedInCompressedStorageA);
+ }
+
+ // Get the entries.
+ const auto end_offset = offset + size;
+ s32 read_count = 0;
+ while (visitor.Get<Entry>()->virt_offset < end_offset) {
+ // If we should be setting the output, do so.
+ if (max_entry_count != 0) {
+ // Ensure we only read as many entries as we can.
+ if (read_count >= max_entry_count) {
+ break;
+ }
+
+ // Set the current output entry.
+ out_entries[read_count] = *visitor.Get<Entry>();
+ }
+
+ // Increase the read count.
+ ++read_count;
+
+ // If we're at the end, we're done.
+ if (!visitor.CanMoveNext()) {
+ break;
+ }
+
+ // Move to the next entry.
+ R_TRY(visitor.MoveNext());
+ }
+
+ // Set the output read count.
+ *out_read_count = read_count;
+ R_SUCCEED();
+ }
+
+ Result GetSize(s64* out) {
+ // Check pre-conditions.
+ ASSERT(out != nullptr);
+
+ // Get our table offsets.
+ BucketTree::Offsets offsets;
+ R_TRY(m_table.GetOffsets(std::addressof(offsets)));
+
+ // Set the output.
+ *out = offsets.end_offset;
+ R_SUCCEED();
+ }
+
+ Result OperatePerEntry(s64 offset, s64 size, auto f) {
+ // Check pre-conditions.
+ ASSERT(offset >= 0);
+ ASSERT(size >= 0);
+ ASSERT(this->IsInitialized());
+
+ // Succeed if there's nothing to operate on.
+ R_SUCCEED_IF(size == 0);
+
+ // Get the table offsets.
+ BucketTree::Offsets table_offsets;
+ R_TRY(m_table.GetOffsets(std::addressof(table_offsets)));
+
+ // Validate arguments.
+ R_UNLESS(table_offsets.IsInclude(offset, size), ResultOutOfRange);
+
+ // Find the offset in our tree.
+ BucketTree::Visitor visitor;
+ R_TRY(m_table.Find(std::addressof(visitor), offset));
+ {
+ const auto entry_offset = visitor.Get<Entry>()->virt_offset;
+ R_UNLESS(0 <= entry_offset && table_offsets.IsInclude(entry_offset),
+ ResultUnexpectedInCompressedStorageA);
+ }
+
+ // Prepare to operate in chunks.
+ auto cur_offset = offset;
+ const auto end_offset = offset + static_cast<s64>(size);
+
+ while (cur_offset < end_offset) {
+ // Get the current entry.
+ const auto cur_entry = *visitor.Get<Entry>();
+
+ // Get and validate the entry's offset.
+ const auto cur_entry_offset = cur_entry.virt_offset;
+ R_UNLESS(cur_entry_offset <= cur_offset, ResultUnexpectedInCompressedStorageA);
+
+ // Get and validate the next entry offset.
+ s64 next_entry_offset;
+ if (visitor.CanMoveNext()) {
+ R_TRY(visitor.MoveNext());
+ next_entry_offset = visitor.Get<Entry>()->virt_offset;
+ R_UNLESS(table_offsets.IsInclude(next_entry_offset),
+ ResultUnexpectedInCompressedStorageA);
+ } else {
+ next_entry_offset = table_offsets.end_offset;
+ }
+ R_UNLESS(cur_offset < next_entry_offset, ResultUnexpectedInCompressedStorageA);
+
+ // Get the offset of the entry in the data we read.
+ const auto data_offset = cur_offset - cur_entry_offset;
+ const auto data_size = (next_entry_offset - cur_entry_offset);
+ ASSERT(data_size > 0);
+
+ // Determine how much is left.
+ const auto remaining_size = end_offset - cur_offset;
+ const auto cur_size = std::min<s64>(remaining_size, data_size - data_offset);
+ ASSERT(cur_size <= size);
+
+ // Get the data storage size.
+ s64 storage_size = m_data_storage->GetSize();
+
+ // Check that our read remains naively physically in bounds.
+ R_UNLESS(0 <= cur_entry.phys_offset && cur_entry.phys_offset <= storage_size,
+ ResultUnexpectedInCompressedStorageC);
+
+ // If we have any compression, verify that we remain physically in bounds.
+ if (cur_entry.compression_type != CompressionType::None) {
+ R_UNLESS(cur_entry.phys_offset + cur_entry.GetPhysicalSize() <= storage_size,
+ ResultUnexpectedInCompressedStorageC);
+ }
+
+ // Check that block alignment requirements are met.
+ if (CompressionTypeUtility::IsBlockAlignmentRequired(cur_entry.compression_type)) {
+ R_UNLESS(Common::IsAligned(cur_entry.phys_offset, CompressionBlockAlignment),
+ ResultUnexpectedInCompressedStorageA);
+ }
+
+ // Invoke the operator.
+ bool is_continuous = true;
+ R_TRY(
+ f(std::addressof(is_continuous), cur_entry, data_size, data_offset, cur_size));
+
+ // If not continuous, we're done.
+ if (!is_continuous) {
+ break;
+ }
+
+ // Advance.
+ cur_offset += cur_size;
+ }
+
+ R_SUCCEED();
+ }
+
+ public:
+ using ReadImplFunction = std::function<Result(void*, size_t)>;
+ using ReadFunction = std::function<Result(size_t, const ReadImplFunction&)>;
+
+ public:
+ Result Read(s64 offset, s64 size, const ReadFunction& read_func) {
+ // Check pre-conditions.
+ ASSERT(offset >= 0);
+ ASSERT(this->IsInitialized());
+
+ // Succeed immediately, if we have nothing to read.
+ R_SUCCEED_IF(size == 0);
+
+ // Declare read lambda.
+ constexpr int EntriesCountMax = 0x80;
+ struct Entries {
+ CompressionType compression_type;
+ u32 gap_from_prev;
+ u32 physical_size;
+ u32 virtual_size;
+ };
+ std::array<Entries, EntriesCountMax> entries;
+ s32 entry_count = 0;
+ Entry prev_entry = {
+ .virt_offset = -1,
+ .phys_offset{},
+ .compression_type{},
+ .phys_size{},
+ };
+ bool will_allocate_pooled_buffer = false;
+ s64 required_access_physical_offset = 0;
+ s64 required_access_physical_size = 0;
+
+ auto PerformRequiredRead = [&]() -> Result {
+ // If there are no entries, we have nothing to do.
+ R_SUCCEED_IF(entry_count == 0);
+
+ // Get the remaining size in a convenient form.
+ const size_t total_required_size =
+ static_cast<size_t>(required_access_physical_size);
+
+ // Perform the read based on whether we need to allocate a buffer.
+ if (will_allocate_pooled_buffer) {
+ // Allocate a pooled buffer.
+ PooledBuffer pooled_buffer;
+ if (pooled_buffer.GetAllocatableSizeMax() >= total_required_size) {
+ pooled_buffer.Allocate(total_required_size, m_block_size_max);
+ } else {
+ pooled_buffer.AllocateParticularlyLarge(
+ std::min<size_t>(
+ total_required_size,
+ PooledBuffer::GetAllocatableParticularlyLargeSizeMax()),
+ m_block_size_max);
+ }
+
+ // Read each of the entries.
+ for (s32 entry_idx = 0; entry_idx < entry_count; ++entry_idx) {
+ // Determine the current read size.
+ bool will_use_pooled_buffer = false;
+ const size_t cur_read_size = [&]() -> size_t {
+ if (const size_t target_entry_size =
+ static_cast<size_t>(entries[entry_idx].physical_size) +
+ static_cast<size_t>(entries[entry_idx].gap_from_prev);
+ target_entry_size <= pooled_buffer.GetSize()) {
+ // We'll be using the pooled buffer.
+ will_use_pooled_buffer = true;
+
+ // Determine how much we can read.
+ const size_t max_size = std::min<size_t>(
+ required_access_physical_size, pooled_buffer.GetSize());
+
+ size_t read_size = 0;
+ for (auto n = entry_idx; n < entry_count; ++n) {
+ const size_t cur_entry_size =
+ static_cast<size_t>(entries[n].physical_size) +
+ static_cast<size_t>(entries[n].gap_from_prev);
+ if (read_size + cur_entry_size > max_size) {
+ break;
+ }
+
+ read_size += cur_entry_size;
+ }
+
+ return read_size;
+ } else {
+ // If we don't fit, we must be uncompressed.
+ ASSERT(entries[entry_idx].compression_type ==
+ CompressionType::None);
+
+ // We can perform the whole of an uncompressed read directly.
+ return entries[entry_idx].virtual_size;
+ }
+ }();
+
+ // Perform the read based on whether or not we'll use the pooled buffer.
+ if (will_use_pooled_buffer) {
+ // Read the compressed data into the pooled buffer.
+ auto* const buffer = pooled_buffer.GetBuffer();
+ m_data_storage->Read(reinterpret_cast<u8*>(buffer), cur_read_size,
+ required_access_physical_offset);
+
+ // Decompress the data.
+ size_t buffer_offset;
+ for (buffer_offset = 0;
+ entry_idx < entry_count &&
+ ((static_cast<size_t>(entries[entry_idx].physical_size) +
+ static_cast<size_t>(entries[entry_idx].gap_from_prev)) == 0 ||
+ buffer_offset < cur_read_size);
+ buffer_offset += entries[entry_idx++].physical_size) {
+ // Advance by the relevant gap.
+ buffer_offset += entries[entry_idx].gap_from_prev;
+
+ const auto compression_type = entries[entry_idx].compression_type;
+ switch (compression_type) {
+ case CompressionType::None: {
+ // Check that we can remain within bounds.
+ ASSERT(buffer_offset + entries[entry_idx].virtual_size <=
+ cur_read_size);
+
+ // Perform no decompression.
+ R_TRY(read_func(
+ entries[entry_idx].virtual_size,
+ [&](void* dst, size_t dst_size) -> Result {
+ // Check that the size is valid.
+ ASSERT(dst_size == entries[entry_idx].virtual_size);
+
+ // We have no compression, so just copy the data
+ // out.
+ std::memcpy(dst, buffer + buffer_offset,
+ entries[entry_idx].virtual_size);
+ R_SUCCEED();
+ }));
+
+ break;
+ }
+ case CompressionType::Zeros: {
+ // Check that we can remain within bounds.
+ ASSERT(buffer_offset <= cur_read_size);
+
+ // Zero the memory.
+ R_TRY(read_func(
+ entries[entry_idx].virtual_size,
+ [&](void* dst, size_t dst_size) -> Result {
+ // Check that the size is valid.
+ ASSERT(dst_size == entries[entry_idx].virtual_size);
+
+ // The data is zeroes, so zero the buffer.
+ std::memset(dst, 0, entries[entry_idx].virtual_size);
+ R_SUCCEED();
+ }));
+
+ break;
+ }
+ default: {
+ // Check that we can remain within bounds.
+ ASSERT(buffer_offset + entries[entry_idx].physical_size <=
+ cur_read_size);
+
+ // Get the decompressor.
+ const auto decompressor =
+ this->GetDecompressor(compression_type);
+ R_UNLESS(decompressor != nullptr,
+ ResultUnexpectedInCompressedStorageB);
+
+ // Decompress the data.
+ R_TRY(read_func(entries[entry_idx].virtual_size,
+ [&](void* dst, size_t dst_size) -> Result {
+ // Check that the size is valid.
+ ASSERT(dst_size ==
+ entries[entry_idx].virtual_size);
+
+ // Perform the decompression.
+ R_RETURN(decompressor(
+ dst, entries[entry_idx].virtual_size,
+ buffer + buffer_offset,
+ entries[entry_idx].physical_size));
+ }));
+
+ break;
+ }
+ }
+ }
+
+ // Check that we processed the correct amount of data.
+ ASSERT(buffer_offset == cur_read_size);
+ } else {
+ // Account for the gap from the previous entry.
+ required_access_physical_offset += entries[entry_idx].gap_from_prev;
+ required_access_physical_size -= entries[entry_idx].gap_from_prev;
+
+ // We don't need the buffer (as the data is uncompressed), so just
+ // execute the read.
+ R_TRY(
+ read_func(cur_read_size, [&](void* dst, size_t dst_size) -> Result {
+ // Check that the size is valid.
+ ASSERT(dst_size == cur_read_size);
+
+ // Perform the read.
+ m_data_storage->Read(reinterpret_cast<u8*>(dst), cur_read_size,
+ required_access_physical_offset);
+
+ R_SUCCEED();
+ }));
+ }
+
+ // Advance on.
+ required_access_physical_offset += cur_read_size;
+ required_access_physical_size -= cur_read_size;
+ }
+
+ // Verify that we have nothing remaining to read.
+ ASSERT(required_access_physical_size == 0);
+
+ R_SUCCEED();
+ } else {
+ // We don't need a buffer, so just execute the read.
+ R_TRY(read_func(total_required_size, [&](void* dst, size_t dst_size) -> Result {
+ // Check that the size is valid.
+ ASSERT(dst_size == total_required_size);
+
+ // Perform the read.
+ m_data_storage->Read(reinterpret_cast<u8*>(dst), total_required_size,
+ required_access_physical_offset);
+
+ R_SUCCEED();
+ }));
+ }
+
+ R_SUCCEED();
+ };
+
+ R_TRY(this->OperatePerEntry(
+ offset, size,
+ [&](bool* out_continuous, const Entry& entry, s64 virtual_data_size,
+ s64 data_offset, s64 read_size) -> Result {
+ // Determine the physical extents.
+ s64 physical_offset, physical_size;
+ if (CompressionTypeUtility::IsRandomAccessible(entry.compression_type)) {
+ physical_offset = entry.phys_offset + data_offset;
+ physical_size = read_size;
+ } else {
+ physical_offset = entry.phys_offset;
+ physical_size = entry.GetPhysicalSize();
+ }
+
+ // If we have a pending data storage operation, perform it if we have to.
+ const s64 required_access_physical_end =
+ required_access_physical_offset + required_access_physical_size;
+ if (required_access_physical_size > 0) {
+ const bool required_by_gap =
+ !(required_access_physical_end <= physical_offset &&
+ physical_offset <= Common::AlignUp(required_access_physical_end,
+ CompressionBlockAlignment));
+ const bool required_by_continuous_size =
+ ((physical_size + physical_offset) - required_access_physical_end) +
+ required_access_physical_size >
+ static_cast<s64>(m_continuous_reading_size_max);
+ const bool required_by_entry_count = entry_count == EntriesCountMax;
+ if (required_by_gap || required_by_continuous_size ||
+ required_by_entry_count) {
+ // Check that our planned access is sane.
+ ASSERT(!will_allocate_pooled_buffer ||
+ required_access_physical_size <=
+ static_cast<s64>(m_continuous_reading_size_max));
+
+ // Perform the required read.
+ const Result rc = PerformRequiredRead();
+ if (R_FAILED(rc)) {
+ R_THROW(rc);
+ }
+
+ // Reset our requirements.
+ prev_entry.virt_offset = -1;
+ required_access_physical_size = 0;
+ entry_count = 0;
+ will_allocate_pooled_buffer = false;
+ }
+ }
+
+ // Sanity check that we're within bounds on entries.
+ ASSERT(entry_count < EntriesCountMax);
+
+ // Determine if a buffer allocation is needed.
+ if (entry.compression_type != CompressionType::None ||
+ (prev_entry.virt_offset >= 0 &&
+ entry.virt_offset - prev_entry.virt_offset !=
+ entry.phys_offset - prev_entry.phys_offset)) {
+ will_allocate_pooled_buffer = true;
+ }
+
+ // If we need to access the data storage, update our required access parameters.
+ if (CompressionTypeUtility::IsDataStorageAccessRequired(
+ entry.compression_type)) {
+ // If the data is compressed, ensure the access is sane.
+ if (entry.compression_type != CompressionType::None) {
+ R_UNLESS(data_offset == 0, ResultInvalidOffset);
+ R_UNLESS(virtual_data_size == read_size, ResultInvalidSize);
+ R_UNLESS(entry.GetPhysicalSize() <= static_cast<s64>(m_block_size_max),
+ ResultUnexpectedInCompressedStorageD);
+ }
+
+ // Update the required access parameters.
+ s64 gap_from_prev;
+ if (required_access_physical_size > 0) {
+ gap_from_prev = physical_offset - required_access_physical_end;
+ } else {
+ gap_from_prev = 0;
+ required_access_physical_offset = physical_offset;
+ }
+ required_access_physical_size += physical_size + gap_from_prev;
+
+ // Create an entry to access the data storage.
+ entries[entry_count++] = {
+ .compression_type = entry.compression_type,
+ .gap_from_prev = static_cast<u32>(gap_from_prev),
+ .physical_size = static_cast<u32>(physical_size),
+ .virtual_size = static_cast<u32>(read_size),
+ };
+ } else {
+ // Verify that we're allowed to be operating on the non-data-storage-access
+ // type.
+ R_UNLESS(entry.compression_type == CompressionType::Zeros,
+ ResultUnexpectedInCompressedStorageB);
+
+ // If we have entries, create a fake entry for the zero region.
+ if (entry_count != 0) {
+ // We need to have a physical size.
+ R_UNLESS(entry.GetPhysicalSize() != 0,
+ ResultUnexpectedInCompressedStorageD);
+
+ // Create a fake entry.
+ entries[entry_count++] = {
+ .compression_type = CompressionType::Zeros,
+ .gap_from_prev = 0,
+ .physical_size = 0,
+ .virtual_size = static_cast<u32>(read_size),
+ };
+ } else {
+ // We have no entries, so we can just perform the read.
+ const Result rc =
+ read_func(static_cast<size_t>(read_size),
+ [&](void* dst, size_t dst_size) -> Result {
+ // Check the space we should zero is correct.
+ ASSERT(dst_size == static_cast<size_t>(read_size));
+
+ // Zero the memory.
+ std::memset(dst, 0, read_size);
+ R_SUCCEED();
+ });
+ if (R_FAILED(rc)) {
+ R_THROW(rc);
+ }
+ }
+ }
+
+ // Set the previous entry.
+ prev_entry = entry;
+
+ // We're continuous.
+ *out_continuous = true;
+ R_SUCCEED();
+ }));
+
+ // If we still have a pending access, perform it.
+ if (required_access_physical_size != 0) {
+ R_TRY(PerformRequiredRead());
+ }
+
+ R_SUCCEED();
+ }
+
+ private:
+ DecompressorFunction GetDecompressor(CompressionType type) const {
+ // Check that we can get a decompressor for the type.
+ if (CompressionTypeUtility::IsUnknownType(type)) {
+ return nullptr;
+ }
+
+ // Get the decompressor.
+ return m_get_decompressor_function(type);
+ }
+
+ bool IsInitialized() const {
+ return m_table.IsInitialized();
+ }
+
+ private:
+ size_t m_block_size_max;
+ size_t m_continuous_reading_size_max;
+ BucketTree m_table;
+ VirtualFile m_data_storage;
+ GetDecompressorFunction m_get_decompressor_function;
+ };
+
+ class CacheManager {
+ YUZU_NON_COPYABLE(CacheManager);
+ YUZU_NON_MOVEABLE(CacheManager);
+
+ private:
+ struct AccessRange {
+ s64 virtual_offset;
+ s64 virtual_size;
+ u32 physical_size;
+ bool is_block_alignment_required;
+
+ s64 GetEndVirtualOffset() const {
+ return this->virtual_offset + this->virtual_size;
+ }
+ };
+ static_assert(std::is_trivial_v<AccessRange>);
+
+ public:
+ CacheManager() = default;
+
+ public:
+ Result Initialize(s64 storage_size, size_t cache_size_0, size_t cache_size_1,
+ size_t max_cache_entries) {
+ // Set our fields.
+ m_storage_size = storage_size;
+
+ R_SUCCEED();
+ }
+
+ Result Read(CompressedStorageCore& core, s64 offset, void* buffer, size_t size) {
+ // If we have nothing to read, succeed.
+ R_SUCCEED_IF(size == 0);
+
+ // Check that we have a buffer to read into.
+ R_UNLESS(buffer != nullptr, ResultNullptrArgument);
+
+ // Check that the read is in bounds.
+ R_UNLESS(offset <= m_storage_size, ResultInvalidOffset);
+
+ // Determine how much we can read.
+ const size_t read_size = std::min<size_t>(size, m_storage_size - offset);
+
+ // Create head/tail ranges.
+ AccessRange head_range = {};
+ AccessRange tail_range = {};
+ bool is_tail_set = false;
+
+ // Operate to determine the head range.
+ R_TRY(core.OperatePerEntry(
+ offset, 1,
+ [&](bool* out_continuous, const Entry& entry, s64 virtual_data_size,
+ s64 data_offset, s64 data_read_size) -> Result {
+ // Set the head range.
+ head_range = {
+ .virtual_offset = entry.virt_offset,
+ .virtual_size = virtual_data_size,
+ .physical_size = static_cast<u32>(entry.phys_size),
+ .is_block_alignment_required =
+ CompressionTypeUtility::IsBlockAlignmentRequired(
+ entry.compression_type),
+ };
+
+ // If required, set the tail range.
+ if (static_cast<s64>(offset + read_size) <=
+ entry.virt_offset + virtual_data_size) {
+ tail_range = {
+ .virtual_offset = entry.virt_offset,
+ .virtual_size = virtual_data_size,
+ .physical_size = static_cast<u32>(entry.phys_size),
+ .is_block_alignment_required =
+ CompressionTypeUtility::IsBlockAlignmentRequired(
+ entry.compression_type),
+ };
+ is_tail_set = true;
+ }
+
+ // We only want to determine the head range, so we're not continuous.
+ *out_continuous = false;
+ R_SUCCEED();
+ }));
+
+ // If necessary, determine the tail range.
+ if (!is_tail_set) {
+ R_TRY(core.OperatePerEntry(
+ offset + read_size - 1, 1,
+ [&](bool* out_continuous, const Entry& entry, s64 virtual_data_size,
+ s64 data_offset, s64 data_read_size) -> Result {
+ // Set the tail range.
+ tail_range = {
+ .virtual_offset = entry.virt_offset,
+ .virtual_size = virtual_data_size,
+ .physical_size = static_cast<u32>(entry.phys_size),
+ .is_block_alignment_required =
+ CompressionTypeUtility::IsBlockAlignmentRequired(
+ entry.compression_type),
+ };
+
+ // We only want to determine the tail range, so we're not continuous.
+ *out_continuous = false;
+ R_SUCCEED();
+ }));
+ }
+
+ // Begin performing the accesses.
+ s64 cur_offset = offset;
+ size_t cur_size = read_size;
+ char* cur_dst = static_cast<char*>(buffer);
+
+ // Determine our alignment.
+ const bool head_unaligned = head_range.is_block_alignment_required &&
+ (cur_offset != head_range.virtual_offset ||
+ static_cast<s64>(cur_size) < head_range.virtual_size);
+ const bool tail_unaligned = [&]() -> bool {
+ if (tail_range.is_block_alignment_required) {
+ if (static_cast<s64>(cur_size + cur_offset) ==
+ tail_range.GetEndVirtualOffset()) {
+ return false;
+ } else if (!head_unaligned) {
+ return true;
+ } else {
+ return head_range.GetEndVirtualOffset() <
+ static_cast<s64>(cur_size + cur_offset);
+ }
+ } else {
+ return false;
+ }
+ }();
+
+ // Determine start/end offsets.
+ const s64 start_offset =
+ head_range.is_block_alignment_required ? head_range.virtual_offset : cur_offset;
+ const s64 end_offset = tail_range.is_block_alignment_required
+ ? tail_range.GetEndVirtualOffset()
+ : cur_offset + cur_size;
+
+ // Perform the read.
+ bool is_burst_reading = false;
+ R_TRY(core.Read(
+ start_offset, end_offset - start_offset,
+ [&](size_t size_buffer_required,
+ const CompressedStorageCore::ReadImplFunction& read_impl) -> Result {
+ // Determine whether we're burst reading.
+ const AccessRange* unaligned_range = nullptr;
+ if (!is_burst_reading) {
+ // Check whether we're using head, tail, or none as unaligned.
+ if (head_unaligned && head_range.virtual_offset <= cur_offset &&
+ cur_offset < head_range.GetEndVirtualOffset()) {
+ unaligned_range = std::addressof(head_range);
+ } else if (tail_unaligned && tail_range.virtual_offset <= cur_offset &&
+ cur_offset < tail_range.GetEndVirtualOffset()) {
+ unaligned_range = std::addressof(tail_range);
+ } else {
+ is_burst_reading = true;
+ }
+ }
+ ASSERT((is_burst_reading ^ (unaligned_range != nullptr)));
+
+ // Perform reading by burst, or not.
+ if (is_burst_reading) {
+ // Check that the access is valid for burst reading.
+ ASSERT(size_buffer_required <= cur_size);
+
+ // Perform the read.
+ Result rc = read_impl(cur_dst, size_buffer_required);
+ if (R_FAILED(rc)) {
+ R_THROW(rc);
+ }
+
+ // Advance.
+ cur_dst += size_buffer_required;
+ cur_offset += size_buffer_required;
+ cur_size -= size_buffer_required;
+
+ // Determine whether we're going to continue burst reading.
+ const s64 offset_aligned =
+ tail_unaligned ? tail_range.virtual_offset : end_offset;
+ ASSERT(cur_offset <= offset_aligned);
+
+ if (offset_aligned <= cur_offset) {
+ is_burst_reading = false;
+ }
+ } else {
+ // We're not burst reading, so we have some unaligned range.
+ ASSERT(unaligned_range != nullptr);
+
+ // Check that the size is correct.
+ ASSERT(size_buffer_required ==
+ static_cast<size_t>(unaligned_range->virtual_size));
+
+ // Get a pooled buffer for our read.
+ PooledBuffer pooled_buffer;
+ pooled_buffer.Allocate(size_buffer_required, size_buffer_required);
+
+ // Perform read.
+ Result rc = read_impl(pooled_buffer.GetBuffer(), size_buffer_required);
+ if (R_FAILED(rc)) {
+ R_THROW(rc);
+ }
+
+ // Copy the data we read to the destination.
+ const size_t skip_size = cur_offset - unaligned_range->virtual_offset;
+ const size_t copy_size = std::min<size_t>(
+ cur_size, unaligned_range->GetEndVirtualOffset() - cur_offset);
+
+ std::memcpy(cur_dst, pooled_buffer.GetBuffer() + skip_size, copy_size);
+
+ // Advance.
+ cur_dst += copy_size;
+ cur_offset += copy_size;
+ cur_size -= copy_size;
+ }
+
+ R_SUCCEED();
+ }));
+
+ R_SUCCEED();
+ }
+
+ private:
+ s64 m_storage_size = 0;
+ };
+
+public:
+ CompressedStorage() = default;
+ virtual ~CompressedStorage() {
+ this->Finalize();
+ }
+
+ Result Initialize(VirtualFile data_storage, VirtualFile node_storage, VirtualFile entry_storage,
+ s32 bktr_entry_count, size_t block_size_max,
+ size_t continuous_reading_size_max, GetDecompressorFunction get_decompressor,
+ size_t cache_size_0, size_t cache_size_1, s32 max_cache_entries) {
+ // Initialize our core.
+ R_TRY(m_core.Initialize(data_storage, node_storage, entry_storage, bktr_entry_count,
+ block_size_max, continuous_reading_size_max, get_decompressor));
+
+ // Get our core size.
+ s64 core_size = 0;
+ R_TRY(m_core.GetSize(std::addressof(core_size)));
+
+ // Initialize our cache manager.
+ R_TRY(m_cache_manager.Initialize(core_size, cache_size_0, cache_size_1, max_cache_entries));
+
+ R_SUCCEED();
+ }
+
+ void Finalize() {
+ m_core.Finalize();
+ }
+
+ VirtualFile GetDataStorage() {
+ return m_core.GetDataStorage();
+ }
+
+ Result GetDataStorageSize(s64* out) {
+ R_RETURN(m_core.GetDataStorageSize(out));
+ }
+
+ Result GetEntryList(Entry* out_entries, s32* out_read_count, s32 max_entry_count, s64 offset,
+ s64 size) {
+ R_RETURN(m_core.GetEntryList(out_entries, out_read_count, max_entry_count, offset, size));
+ }
+
+ BucketTree& GetEntryTable() {
+ return m_core.GetEntryTable();
+ }
+
+public:
+ virtual size_t GetSize() const override {
+ s64 ret{};
+ m_core.GetSize(&ret);
+ return ret;
+ }
+
+ virtual size_t Read(u8* buffer, size_t size, size_t offset) const override {
+ if (R_SUCCEEDED(m_cache_manager.Read(m_core, offset, buffer, size))) {
+ return size;
+ } else {
+ return 0;
+ }
+ }
+
+private:
+ mutable CompressedStorageCore m_core;
+ mutable CacheManager m_cache_manager;
+};
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_compression_common.h b/src/core/file_sys/fssystem/fssystem_compression_common.h
new file mode 100644
index 000000000..266e0a7e5
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_compression_common.h
@@ -0,0 +1,43 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/hle/result.h"
+
+namespace FileSys {
+
+enum class CompressionType : u8 {
+ None = 0,
+ Zeros = 1,
+ Two = 2,
+ Lz4 = 3,
+ Unknown = 4,
+};
+
+using DecompressorFunction = Result (*)(void*, size_t, const void*, size_t);
+using GetDecompressorFunction = DecompressorFunction (*)(CompressionType);
+
+constexpr s64 CompressionBlockAlignment = 0x10;
+
+namespace CompressionTypeUtility {
+
+constexpr bool IsBlockAlignmentRequired(CompressionType type) {
+ return type != CompressionType::None && type != CompressionType::Zeros;
+}
+
+constexpr bool IsDataStorageAccessRequired(CompressionType type) {
+ return type != CompressionType::Zeros;
+}
+
+constexpr bool IsRandomAccessible(CompressionType type) {
+ return type == CompressionType::None;
+}
+
+constexpr bool IsUnknownType(CompressionType type) {
+ return type >= CompressionType::Unknown;
+}
+
+} // namespace CompressionTypeUtility
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_compression_configuration.cpp b/src/core/file_sys/fssystem/fssystem_compression_configuration.cpp
new file mode 100644
index 000000000..ef552cefe
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_compression_configuration.cpp
@@ -0,0 +1,36 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "common/lz4_compression.h"
+#include "core/file_sys/fssystem/fssystem_compression_configuration.h"
+
+namespace FileSys {
+
+namespace {
+
+Result DecompressLz4(void* dst, size_t dst_size, const void* src, size_t src_size) {
+ auto result = Common::Compression::DecompressDataLZ4(dst, dst_size, src, src_size);
+ R_UNLESS(static_cast<size_t>(result) == dst_size, ResultUnexpectedInCompressedStorageC);
+ R_SUCCEED();
+}
+
+constexpr DecompressorFunction GetNcaDecompressorFunction(CompressionType type) {
+ switch (type) {
+ case CompressionType::Lz4:
+ return DecompressLz4;
+ default:
+ return nullptr;
+ }
+}
+
+} // namespace
+
+const NcaCompressionConfiguration& GetNcaCompressionConfiguration() {
+ static const NcaCompressionConfiguration configuration = {
+ .get_decompressor = GetNcaDecompressorFunction,
+ };
+
+ return configuration;
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_compression_configuration.h b/src/core/file_sys/fssystem/fssystem_compression_configuration.h
new file mode 100644
index 000000000..ec9b48e9a
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_compression_configuration.h
@@ -0,0 +1,12 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/file_sys/fssystem/fssystem_nca_file_system_driver.h"
+
+namespace FileSys {
+
+const NcaCompressionConfiguration& GetNcaCompressionConfiguration();
+
+}
diff --git a/src/core/file_sys/fssystem/fssystem_crypto_configuration.cpp b/src/core/file_sys/fssystem/fssystem_crypto_configuration.cpp
new file mode 100644
index 000000000..a4f0cde28
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_crypto_configuration.cpp
@@ -0,0 +1,65 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/crypto/aes_util.h"
+#include "core/crypto/key_manager.h"
+#include "core/file_sys/fssystem/fssystem_crypto_configuration.h"
+
+namespace FileSys {
+
+namespace {
+
+void GenerateKey(void* dst_key, size_t dst_key_size, const void* src_key, size_t src_key_size,
+ s32 key_type) {
+ if (key_type == static_cast<s32>(KeyType::ZeroKey)) {
+ std::memset(dst_key, 0, dst_key_size);
+ return;
+ }
+
+ if (key_type == static_cast<s32>(KeyType::InvalidKey) ||
+ key_type < static_cast<s32>(KeyType::ZeroKey) ||
+ key_type >= static_cast<s32>(KeyType::NcaExternalKey)) {
+ std::memset(dst_key, 0xFF, dst_key_size);
+ return;
+ }
+
+ const auto& instance = Core::Crypto::KeyManager::Instance();
+
+ if (key_type == static_cast<s32>(KeyType::NcaHeaderKey1) ||
+ key_type == static_cast<s32>(KeyType::NcaHeaderKey2)) {
+ const s32 key_index = static_cast<s32>(KeyType::NcaHeaderKey2) == key_type;
+ const auto key = instance.GetKey(Core::Crypto::S256KeyType::Header);
+ std::memcpy(dst_key, key.data() + key_index * 0x10, std::min(dst_key_size, key.size() / 2));
+ return;
+ }
+
+ const s32 key_generation =
+ std::max(key_type / NcaCryptoConfiguration::KeyAreaEncryptionKeyIndexCount, 1) - 1;
+ const s32 key_index = key_type % NcaCryptoConfiguration::KeyAreaEncryptionKeyIndexCount;
+
+ Core::Crypto::AESCipher<Core::Crypto::Key128> cipher(
+ instance.GetKey(Core::Crypto::S128KeyType::KeyArea, key_generation, key_index),
+ Core::Crypto::Mode::ECB);
+ cipher.Transcode(reinterpret_cast<const u8*>(src_key), src_key_size,
+ reinterpret_cast<u8*>(dst_key), Core::Crypto::Op::Decrypt);
+}
+
+} // namespace
+
+const NcaCryptoConfiguration& GetCryptoConfiguration() {
+ static const NcaCryptoConfiguration configuration = {
+ .header_1_sign_key_moduli{},
+ .header_1_sign_key_public_exponent{},
+ .key_area_encryption_key_source{},
+ .header_encryption_key_source{},
+ .header_encrypted_encryption_keys{},
+ .generate_key = GenerateKey,
+ .verify_sign1{},
+ .is_plaintext_header_available{},
+ .is_available_sw_key{},
+ };
+
+ return configuration;
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_crypto_configuration.h b/src/core/file_sys/fssystem/fssystem_crypto_configuration.h
new file mode 100644
index 000000000..7fd9c5a8d
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_crypto_configuration.h
@@ -0,0 +1,12 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/file_sys/fssystem/fssystem_nca_file_system_driver.h"
+
+namespace FileSys {
+
+const NcaCryptoConfiguration& GetCryptoConfiguration();
+
+}
diff --git a/src/core/file_sys/fssystem/fssystem_hierarchical_integrity_verification_storage.cpp b/src/core/file_sys/fssystem/fssystem_hierarchical_integrity_verification_storage.cpp
new file mode 100644
index 000000000..4a75b5308
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_hierarchical_integrity_verification_storage.cpp
@@ -0,0 +1,127 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/file_sys/fssystem/fssystem_hierarchical_integrity_verification_storage.h"
+#include "core/file_sys/vfs_offset.h"
+
+namespace FileSys {
+
+HierarchicalIntegrityVerificationStorage::HierarchicalIntegrityVerificationStorage()
+ : m_data_size(-1) {
+ for (size_t i = 0; i < MaxLayers - 1; i++) {
+ m_verify_storages[i] = std::make_shared<IntegrityVerificationStorage>();
+ }
+}
+
+Result HierarchicalIntegrityVerificationStorage::Initialize(
+ const HierarchicalIntegrityVerificationInformation& info,
+ HierarchicalStorageInformation storage, int max_data_cache_entries, int max_hash_cache_entries,
+ s8 buffer_level) {
+ // Validate preconditions.
+ ASSERT(IntegrityMinLayerCount <= info.max_layers && info.max_layers <= IntegrityMaxLayerCount);
+
+ // Set member variables.
+ m_max_layers = info.max_layers;
+
+ // Initialize the top level verification storage.
+ m_verify_storages[0]->Initialize(storage[HierarchicalStorageInformation::MasterStorage],
+ storage[HierarchicalStorageInformation::Layer1Storage],
+ static_cast<s64>(1) << info.info[0].block_order, HashSize,
+ false);
+
+ // Ensure we don't leak state if further initialization goes wrong.
+ ON_RESULT_FAILURE {
+ m_verify_storages[0]->Finalize();
+ m_data_size = -1;
+ };
+
+ // Initialize the top level buffer storage.
+ m_buffer_storages[0] = m_verify_storages[0];
+ R_UNLESS(m_buffer_storages[0] != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Prepare to initialize the level storages.
+ s32 level = 0;
+
+ // Ensure we don't leak state if further initialization goes wrong.
+ ON_RESULT_FAILURE_2 {
+ m_verify_storages[level + 1]->Finalize();
+ for (; level > 0; --level) {
+ m_buffer_storages[level].reset();
+ m_verify_storages[level]->Finalize();
+ }
+ };
+
+ // Initialize the level storages.
+ for (; level < m_max_layers - 3; ++level) {
+ // Initialize the verification storage.
+ auto buffer_storage =
+ std::make_shared<OffsetVfsFile>(m_buffer_storages[level], info.info[level].size, 0);
+ m_verify_storages[level + 1]->Initialize(
+ std::move(buffer_storage), storage[level + 2],
+ static_cast<s64>(1) << info.info[level + 1].block_order,
+ static_cast<s64>(1) << info.info[level].block_order, false);
+
+ // Initialize the buffer storage.
+ m_buffer_storages[level + 1] = m_verify_storages[level + 1];
+ R_UNLESS(m_buffer_storages[level + 1] != nullptr,
+ ResultAllocationMemoryFailedAllocateShared);
+ }
+
+ // Initialize the final level storage.
+ {
+ // Initialize the verification storage.
+ auto buffer_storage =
+ std::make_shared<OffsetVfsFile>(m_buffer_storages[level], info.info[level].size, 0);
+ m_verify_storages[level + 1]->Initialize(
+ std::move(buffer_storage), storage[level + 2],
+ static_cast<s64>(1) << info.info[level + 1].block_order,
+ static_cast<s64>(1) << info.info[level].block_order, true);
+
+ // Initialize the buffer storage.
+ m_buffer_storages[level + 1] = m_verify_storages[level + 1];
+ R_UNLESS(m_buffer_storages[level + 1] != nullptr,
+ ResultAllocationMemoryFailedAllocateShared);
+ }
+
+ // Set the data size.
+ m_data_size = info.info[level + 1].size;
+
+ // We succeeded.
+ R_SUCCEED();
+}
+
+void HierarchicalIntegrityVerificationStorage::Finalize() {
+ if (m_data_size >= 0) {
+ m_data_size = 0;
+
+ for (s32 level = m_max_layers - 2; level >= 0; --level) {
+ m_buffer_storages[level].reset();
+ m_verify_storages[level]->Finalize();
+ }
+
+ m_data_size = -1;
+ }
+}
+
+size_t HierarchicalIntegrityVerificationStorage::Read(u8* buffer, size_t size,
+ size_t offset) const {
+ // Validate preconditions.
+ ASSERT(m_data_size >= 0);
+
+ // Succeed if zero-size.
+ if (size == 0) {
+ return size;
+ }
+
+ // Validate arguments.
+ ASSERT(buffer != nullptr);
+
+ // Read the data.
+ return m_buffer_storages[m_max_layers - 2]->Read(buffer, size, offset);
+}
+
+size_t HierarchicalIntegrityVerificationStorage::GetSize() const {
+ return m_data_size;
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_hierarchical_integrity_verification_storage.h b/src/core/file_sys/fssystem/fssystem_hierarchical_integrity_verification_storage.h
new file mode 100644
index 000000000..5cf697efe
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_hierarchical_integrity_verification_storage.h
@@ -0,0 +1,164 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "common/alignment.h"
+#include "core/file_sys/fssystem/fs_i_storage.h"
+#include "core/file_sys/fssystem/fs_types.h"
+#include "core/file_sys/fssystem/fssystem_alignment_matching_storage.h"
+#include "core/file_sys/fssystem/fssystem_integrity_verification_storage.h"
+#include "core/file_sys/vfs_offset.h"
+
+namespace FileSys {
+
+struct HierarchicalIntegrityVerificationLevelInformation {
+ Int64 offset;
+ Int64 size;
+ s32 block_order;
+ std::array<u8, 4> reserved;
+};
+static_assert(std::is_trivial_v<HierarchicalIntegrityVerificationLevelInformation>);
+static_assert(sizeof(HierarchicalIntegrityVerificationLevelInformation) == 0x18);
+static_assert(alignof(HierarchicalIntegrityVerificationLevelInformation) == 0x4);
+
+struct HierarchicalIntegrityVerificationInformation {
+ u32 max_layers;
+ std::array<HierarchicalIntegrityVerificationLevelInformation, IntegrityMaxLayerCount - 1> info;
+ HashSalt seed;
+
+ s64 GetLayeredHashSize() const {
+ return this->info[this->max_layers - 2].offset;
+ }
+
+ s64 GetDataOffset() const {
+ return this->info[this->max_layers - 2].offset;
+ }
+
+ s64 GetDataSize() const {
+ return this->info[this->max_layers - 2].size;
+ }
+};
+static_assert(std::is_trivial_v<HierarchicalIntegrityVerificationInformation>);
+
+struct HierarchicalIntegrityVerificationMetaInformation {
+ u32 magic;
+ u32 version;
+ u32 master_hash_size;
+ HierarchicalIntegrityVerificationInformation level_hash_info;
+};
+static_assert(std::is_trivial_v<HierarchicalIntegrityVerificationMetaInformation>);
+
+struct HierarchicalIntegrityVerificationSizeSet {
+ s64 control_size;
+ s64 master_hash_size;
+ std::array<s64, IntegrityMaxLayerCount - 2> layered_hash_sizes;
+};
+static_assert(std::is_trivial_v<HierarchicalIntegrityVerificationSizeSet>);
+
+class HierarchicalIntegrityVerificationStorage : public IReadOnlyStorage {
+ YUZU_NON_COPYABLE(HierarchicalIntegrityVerificationStorage);
+ YUZU_NON_MOVEABLE(HierarchicalIntegrityVerificationStorage);
+
+public:
+ using GenerateRandomFunction = void (*)(void* dst, size_t size);
+
+ class HierarchicalStorageInformation {
+ public:
+ enum {
+ MasterStorage = 0,
+ Layer1Storage = 1,
+ Layer2Storage = 2,
+ Layer3Storage = 3,
+ Layer4Storage = 4,
+ Layer5Storage = 5,
+ DataStorage = 6,
+ };
+
+ private:
+ std::array<VirtualFile, DataStorage + 1> m_storages;
+
+ public:
+ void SetMasterHashStorage(VirtualFile s) {
+ m_storages[MasterStorage] = s;
+ }
+ void SetLayer1HashStorage(VirtualFile s) {
+ m_storages[Layer1Storage] = s;
+ }
+ void SetLayer2HashStorage(VirtualFile s) {
+ m_storages[Layer2Storage] = s;
+ }
+ void SetLayer3HashStorage(VirtualFile s) {
+ m_storages[Layer3Storage] = s;
+ }
+ void SetLayer4HashStorage(VirtualFile s) {
+ m_storages[Layer4Storage] = s;
+ }
+ void SetLayer5HashStorage(VirtualFile s) {
+ m_storages[Layer5Storage] = s;
+ }
+ void SetDataStorage(VirtualFile s) {
+ m_storages[DataStorage] = s;
+ }
+
+ VirtualFile& operator[](s32 index) {
+ ASSERT(MasterStorage <= index && index <= DataStorage);
+ return m_storages[index];
+ }
+ };
+
+public:
+ HierarchicalIntegrityVerificationStorage();
+ virtual ~HierarchicalIntegrityVerificationStorage() override {
+ this->Finalize();
+ }
+
+ Result Initialize(const HierarchicalIntegrityVerificationInformation& info,
+ HierarchicalStorageInformation storage, int max_data_cache_entries,
+ int max_hash_cache_entries, s8 buffer_level);
+ void Finalize();
+
+ virtual size_t Read(u8* buffer, size_t size, size_t offset) const override;
+ virtual size_t GetSize() const override;
+
+ bool IsInitialized() const {
+ return m_data_size >= 0;
+ }
+
+ s64 GetL1HashVerificationBlockSize() const {
+ return m_verify_storages[m_max_layers - 2]->GetBlockSize();
+ }
+
+ VirtualFile GetL1HashStorage() {
+ return std::make_shared<OffsetVfsFile>(
+ m_buffer_storages[m_max_layers - 3],
+ Common::DivideUp(m_data_size, this->GetL1HashVerificationBlockSize()), 0);
+ }
+
+public:
+ static constexpr s8 GetDefaultDataCacheBufferLevel(u32 max_layers) {
+ return static_cast<s8>(16 + max_layers - 2);
+ }
+
+protected:
+ static constexpr s64 HashSize = 256 / 8;
+ static constexpr size_t MaxLayers = IntegrityMaxLayerCount;
+
+private:
+ static GenerateRandomFunction s_generate_random;
+
+ static void SetGenerateRandomFunction(GenerateRandomFunction func) {
+ s_generate_random = func;
+ }
+
+private:
+ friend struct HierarchicalIntegrityVerificationMetaInformation;
+
+private:
+ std::array<std::shared_ptr<IntegrityVerificationStorage>, MaxLayers - 1> m_verify_storages;
+ std::array<VirtualFile, MaxLayers - 1> m_buffer_storages;
+ s64 m_data_size;
+ s32 m_max_layers;
+};
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_hierarchical_sha256_storage.cpp b/src/core/file_sys/fssystem/fssystem_hierarchical_sha256_storage.cpp
new file mode 100644
index 000000000..caea0b8f8
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_hierarchical_sha256_storage.cpp
@@ -0,0 +1,80 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "common/alignment.h"
+#include "common/scope_exit.h"
+#include "core/file_sys/fssystem/fssystem_hierarchical_sha256_storage.h"
+
+namespace FileSys {
+
+namespace {
+
+s32 Log2(s32 value) {
+ ASSERT(value > 0);
+ ASSERT(Common::IsPowerOfTwo(value));
+
+ s32 log = 0;
+ while ((value >>= 1) > 0) {
+ ++log;
+ }
+ return log;
+}
+
+} // namespace
+
+Result HierarchicalSha256Storage::Initialize(VirtualFile* base_storages, s32 layer_count,
+ size_t htbs, void* hash_buf, size_t hash_buf_size) {
+ // Validate preconditions.
+ ASSERT(layer_count == LayerCount);
+ ASSERT(Common::IsPowerOfTwo(htbs));
+ ASSERT(hash_buf != nullptr);
+
+ // Set size tracking members.
+ m_hash_target_block_size = static_cast<s32>(htbs);
+ m_log_size_ratio = Log2(m_hash_target_block_size / HashSize);
+
+ // Get the base storage size.
+ m_base_storage_size = base_storages[2]->GetSize();
+ {
+ auto size_guard = SCOPE_GUARD({ m_base_storage_size = 0; });
+ R_UNLESS(m_base_storage_size <= static_cast<s64>(HashSize)
+ << m_log_size_ratio << m_log_size_ratio,
+ ResultHierarchicalSha256BaseStorageTooLarge);
+ size_guard.Cancel();
+ }
+
+ // Set hash buffer tracking members.
+ m_base_storage = base_storages[2];
+ m_hash_buffer = static_cast<char*>(hash_buf);
+ m_hash_buffer_size = hash_buf_size;
+
+ // Read the master hash.
+ std::array<u8, HashSize> master_hash{};
+ base_storages[0]->ReadObject(std::addressof(master_hash));
+
+ // Read and validate the data being hashed.
+ s64 hash_storage_size = base_storages[1]->GetSize();
+ ASSERT(Common::IsAligned(hash_storage_size, HashSize));
+ ASSERT(hash_storage_size <= m_hash_target_block_size);
+ ASSERT(hash_storage_size <= static_cast<s64>(m_hash_buffer_size));
+
+ base_storages[1]->Read(reinterpret_cast<u8*>(m_hash_buffer),
+ static_cast<size_t>(hash_storage_size), 0);
+
+ R_SUCCEED();
+}
+
+size_t HierarchicalSha256Storage::Read(u8* buffer, size_t size, size_t offset) const {
+ // Succeed if zero-size.
+ if (size == 0) {
+ return size;
+ }
+
+ // Validate that we have a buffer to read into.
+ ASSERT(buffer != nullptr);
+
+ // Read the data.
+ return m_base_storage->Read(buffer, size, offset);
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_hierarchical_sha256_storage.h b/src/core/file_sys/fssystem/fssystem_hierarchical_sha256_storage.h
new file mode 100644
index 000000000..18df400af
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_hierarchical_sha256_storage.h
@@ -0,0 +1,44 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <mutex>
+
+#include "core/file_sys/errors.h"
+#include "core/file_sys/fssystem/fs_i_storage.h"
+#include "core/file_sys/vfs.h"
+
+namespace FileSys {
+
+class HierarchicalSha256Storage : public IReadOnlyStorage {
+ YUZU_NON_COPYABLE(HierarchicalSha256Storage);
+ YUZU_NON_MOVEABLE(HierarchicalSha256Storage);
+
+public:
+ static constexpr s32 LayerCount = 3;
+ static constexpr size_t HashSize = 256 / 8;
+
+public:
+ HierarchicalSha256Storage() : m_mutex() {}
+
+ Result Initialize(VirtualFile* base_storages, s32 layer_count, size_t htbs, void* hash_buf,
+ size_t hash_buf_size);
+
+ virtual size_t GetSize() const override {
+ return m_base_storage->GetSize();
+ }
+
+ virtual size_t Read(u8* buffer, size_t length, size_t offset) const override;
+
+private:
+ VirtualFile m_base_storage;
+ s64 m_base_storage_size;
+ char* m_hash_buffer;
+ size_t m_hash_buffer_size;
+ s32 m_hash_target_block_size;
+ s32 m_log_size_ratio;
+ std::mutex m_mutex;
+};
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_indirect_storage.cpp b/src/core/file_sys/fssystem/fssystem_indirect_storage.cpp
new file mode 100644
index 000000000..7544e70b2
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_indirect_storage.cpp
@@ -0,0 +1,119 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/file_sys/errors.h"
+#include "core/file_sys/fssystem/fssystem_indirect_storage.h"
+
+namespace FileSys {
+
+Result IndirectStorage::Initialize(VirtualFile table_storage) {
+ // Read and verify the bucket tree header.
+ BucketTree::Header header;
+ table_storage->ReadObject(std::addressof(header));
+ R_TRY(header.Verify());
+
+ // Determine extents.
+ const auto node_storage_size = QueryNodeStorageSize(header.entry_count);
+ const auto entry_storage_size = QueryEntryStorageSize(header.entry_count);
+ const auto node_storage_offset = QueryHeaderStorageSize();
+ const auto entry_storage_offset = node_storage_offset + node_storage_size;
+
+ // Initialize.
+ R_RETURN(this->Initialize(
+ std::make_shared<OffsetVfsFile>(table_storage, node_storage_size, node_storage_offset),
+ std::make_shared<OffsetVfsFile>(table_storage, entry_storage_size, entry_storage_offset),
+ header.entry_count));
+}
+
+void IndirectStorage::Finalize() {
+ if (this->IsInitialized()) {
+ m_table.Finalize();
+ for (auto i = 0; i < StorageCount; i++) {
+ m_data_storage[i] = VirtualFile();
+ }
+ }
+}
+
+Result IndirectStorage::GetEntryList(Entry* out_entries, s32* out_entry_count, s32 entry_count,
+ s64 offset, s64 size) {
+ // Validate pre-conditions.
+ ASSERT(offset >= 0);
+ ASSERT(size >= 0);
+ ASSERT(this->IsInitialized());
+
+ // Clear the out count.
+ R_UNLESS(out_entry_count != nullptr, ResultNullptrArgument);
+ *out_entry_count = 0;
+
+ // Succeed if there's no range.
+ R_SUCCEED_IF(size == 0);
+
+ // If we have an output array, we need it to be non-null.
+ R_UNLESS(out_entries != nullptr || entry_count == 0, ResultNullptrArgument);
+
+ // Check that our range is valid.
+ BucketTree::Offsets table_offsets;
+ R_TRY(m_table.GetOffsets(std::addressof(table_offsets)));
+
+ R_UNLESS(table_offsets.IsInclude(offset, size), ResultOutOfRange);
+
+ // Find the offset in our tree.
+ BucketTree::Visitor visitor;
+ R_TRY(m_table.Find(std::addressof(visitor), offset));
+ {
+ const auto entry_offset = visitor.Get<Entry>()->GetVirtualOffset();
+ R_UNLESS(0 <= entry_offset && table_offsets.IsInclude(entry_offset),
+ ResultInvalidIndirectEntryOffset);
+ }
+
+ // Prepare to loop over entries.
+ const auto end_offset = offset + static_cast<s64>(size);
+ s32 count = 0;
+
+ auto cur_entry = *visitor.Get<Entry>();
+ while (cur_entry.GetVirtualOffset() < end_offset) {
+ // Try to write the entry to the out list.
+ if (entry_count != 0) {
+ if (count >= entry_count) {
+ break;
+ }
+ std::memcpy(out_entries + count, std::addressof(cur_entry), sizeof(Entry));
+ }
+
+ count++;
+
+ // Advance.
+ if (visitor.CanMoveNext()) {
+ R_TRY(visitor.MoveNext());
+ cur_entry = *visitor.Get<Entry>();
+ } else {
+ break;
+ }
+ }
+
+ // Write the output count.
+ *out_entry_count = count;
+ R_SUCCEED();
+}
+
+size_t IndirectStorage::Read(u8* buffer, size_t size, size_t offset) const {
+ // Validate pre-conditions.
+ ASSERT(this->IsInitialized());
+ ASSERT(buffer != nullptr);
+
+ // Succeed if there's nothing to read.
+ if (size == 0) {
+ return 0;
+ }
+
+ const_cast<IndirectStorage*>(this)->OperatePerEntry<true, true>(
+ offset, size,
+ [=](VirtualFile storage, s64 data_offset, s64 cur_offset, s64 cur_size) -> Result {
+ storage->Read(reinterpret_cast<u8*>(buffer) + (cur_offset - offset),
+ static_cast<size_t>(cur_size), data_offset);
+ R_SUCCEED();
+ });
+
+ return size;
+}
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_indirect_storage.h b/src/core/file_sys/fssystem/fssystem_indirect_storage.h
new file mode 100644
index 000000000..7854335bf
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_indirect_storage.h
@@ -0,0 +1,294 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/file_sys/errors.h"
+#include "core/file_sys/fssystem/fs_i_storage.h"
+#include "core/file_sys/fssystem/fssystem_bucket_tree.h"
+#include "core/file_sys/fssystem/fssystem_bucket_tree_template_impl.h"
+#include "core/file_sys/vfs.h"
+#include "core/file_sys/vfs_offset.h"
+
+namespace FileSys {
+
+class IndirectStorage : public IReadOnlyStorage {
+ YUZU_NON_COPYABLE(IndirectStorage);
+ YUZU_NON_MOVEABLE(IndirectStorage);
+
+public:
+ static constexpr s32 StorageCount = 2;
+ static constexpr size_t NodeSize = 16_KiB;
+
+ struct Entry {
+ std::array<u8, sizeof(s64)> virt_offset;
+ std::array<u8, sizeof(s64)> phys_offset;
+ s32 storage_index;
+
+ void SetVirtualOffset(const s64& ofs) {
+ std::memcpy(this->virt_offset.data(), std::addressof(ofs), sizeof(s64));
+ }
+
+ s64 GetVirtualOffset() const {
+ s64 offset;
+ std::memcpy(std::addressof(offset), this->virt_offset.data(), sizeof(s64));
+ return offset;
+ }
+
+ void SetPhysicalOffset(const s64& ofs) {
+ std::memcpy(this->phys_offset.data(), std::addressof(ofs), sizeof(s64));
+ }
+
+ s64 GetPhysicalOffset() const {
+ s64 offset;
+ std::memcpy(std::addressof(offset), this->phys_offset.data(), sizeof(s64));
+ return offset;
+ }
+ };
+ static_assert(std::is_trivial_v<Entry>);
+ static_assert(sizeof(Entry) == 0x14);
+
+ struct EntryData {
+ s64 virt_offset;
+ s64 phys_offset;
+ s32 storage_index;
+
+ void Set(const Entry& entry) {
+ this->virt_offset = entry.GetVirtualOffset();
+ this->phys_offset = entry.GetPhysicalOffset();
+ this->storage_index = entry.storage_index;
+ }
+ };
+ static_assert(std::is_trivial_v<EntryData>);
+
+public:
+ IndirectStorage() : m_table(), m_data_storage() {}
+ virtual ~IndirectStorage() {
+ this->Finalize();
+ }
+
+ Result Initialize(VirtualFile table_storage);
+ void Finalize();
+
+ bool IsInitialized() const {
+ return m_table.IsInitialized();
+ }
+
+ Result Initialize(VirtualFile node_storage, VirtualFile entry_storage, s32 entry_count) {
+ R_RETURN(
+ m_table.Initialize(node_storage, entry_storage, NodeSize, sizeof(Entry), entry_count));
+ }
+
+ void SetStorage(s32 idx, VirtualFile storage) {
+ ASSERT(0 <= idx && idx < StorageCount);
+ m_data_storage[idx] = storage;
+ }
+
+ template <typename T>
+ void SetStorage(s32 idx, T storage, s64 offset, s64 size) {
+ ASSERT(0 <= idx && idx < StorageCount);
+ m_data_storage[idx] = std::make_shared<OffsetVfsFile>(storage, size, offset);
+ }
+
+ Result GetEntryList(Entry* out_entries, s32* out_entry_count, s32 entry_count, s64 offset,
+ s64 size);
+
+ virtual size_t GetSize() const override {
+ BucketTree::Offsets offsets{};
+ m_table.GetOffsets(std::addressof(offsets));
+
+ return offsets.end_offset;
+ }
+
+ virtual size_t Read(u8* buffer, size_t size, size_t offset) const override;
+
+public:
+ static constexpr s64 QueryHeaderStorageSize() {
+ return BucketTree::QueryHeaderStorageSize();
+ }
+
+ static constexpr s64 QueryNodeStorageSize(s32 entry_count) {
+ return BucketTree::QueryNodeStorageSize(NodeSize, sizeof(Entry), entry_count);
+ }
+
+ static constexpr s64 QueryEntryStorageSize(s32 entry_count) {
+ return BucketTree::QueryEntryStorageSize(NodeSize, sizeof(Entry), entry_count);
+ }
+
+protected:
+ BucketTree& GetEntryTable() {
+ return m_table;
+ }
+
+ VirtualFile& GetDataStorage(s32 index) {
+ ASSERT(0 <= index && index < StorageCount);
+ return m_data_storage[index];
+ }
+
+ template <bool ContinuousCheck, bool RangeCheck, typename F>
+ Result OperatePerEntry(s64 offset, s64 size, F func);
+
+private:
+ struct ContinuousReadingEntry {
+ static constexpr size_t FragmentSizeMax = 4_KiB;
+
+ IndirectStorage::Entry entry;
+
+ s64 GetVirtualOffset() const {
+ return this->entry.GetVirtualOffset();
+ }
+
+ s64 GetPhysicalOffset() const {
+ return this->entry.GetPhysicalOffset();
+ }
+
+ bool IsFragment() const {
+ return this->entry.storage_index != 0;
+ }
+ };
+ static_assert(std::is_trivial_v<ContinuousReadingEntry>);
+
+private:
+ mutable BucketTree m_table;
+ std::array<VirtualFile, StorageCount> m_data_storage;
+};
+
+template <bool ContinuousCheck, bool RangeCheck, typename F>
+Result IndirectStorage::OperatePerEntry(s64 offset, s64 size, F func) {
+ // Validate preconditions.
+ ASSERT(offset >= 0);
+ ASSERT(size >= 0);
+ ASSERT(this->IsInitialized());
+
+ // Succeed if there's nothing to operate on.
+ R_SUCCEED_IF(size == 0);
+
+ // Get the table offsets.
+ BucketTree::Offsets table_offsets;
+ R_TRY(m_table.GetOffsets(std::addressof(table_offsets)));
+
+ // Validate arguments.
+ R_UNLESS(table_offsets.IsInclude(offset, size), ResultOutOfRange);
+
+ // Find the offset in our tree.
+ BucketTree::Visitor visitor;
+ R_TRY(m_table.Find(std::addressof(visitor), offset));
+ {
+ const auto entry_offset = visitor.Get<Entry>()->GetVirtualOffset();
+ R_UNLESS(0 <= entry_offset && table_offsets.IsInclude(entry_offset),
+ ResultInvalidIndirectEntryOffset);
+ }
+
+ // Prepare to operate in chunks.
+ auto cur_offset = offset;
+ const auto end_offset = offset + static_cast<s64>(size);
+ BucketTree::ContinuousReadingInfo cr_info;
+
+ while (cur_offset < end_offset) {
+ // Get the current entry.
+ const auto cur_entry = *visitor.Get<Entry>();
+
+ // Get and validate the entry's offset.
+ const auto cur_entry_offset = cur_entry.GetVirtualOffset();
+ R_UNLESS(cur_entry_offset <= cur_offset, ResultInvalidIndirectEntryOffset);
+
+ // Validate the storage index.
+ R_UNLESS(0 <= cur_entry.storage_index && cur_entry.storage_index < StorageCount,
+ ResultInvalidIndirectEntryStorageIndex);
+
+ // If we need to check the continuous info, do so.
+ if constexpr (ContinuousCheck) {
+ // Scan, if we need to.
+ if (cr_info.CheckNeedScan()) {
+ R_TRY(visitor.ScanContinuousReading<ContinuousReadingEntry>(
+ std::addressof(cr_info), cur_offset,
+ static_cast<size_t>(end_offset - cur_offset)));
+ }
+
+ // Process a base storage entry.
+ if (cr_info.CanDo()) {
+ // Ensure that we can process.
+ R_UNLESS(cur_entry.storage_index == 0, ResultInvalidIndirectEntryStorageIndex);
+
+ // Ensure that we remain within range.
+ const auto data_offset = cur_offset - cur_entry_offset;
+ const auto cur_entry_phys_offset = cur_entry.GetPhysicalOffset();
+ const auto cur_size = static_cast<s64>(cr_info.GetReadSize());
+
+ // If we should, verify the range.
+ if constexpr (RangeCheck) {
+ // Get the current data storage's size.
+ s64 cur_data_storage_size = m_data_storage[0]->GetSize();
+
+ R_UNLESS(0 <= cur_entry_phys_offset &&
+ cur_entry_phys_offset <= cur_data_storage_size,
+ ResultInvalidIndirectEntryOffset);
+ R_UNLESS(cur_entry_phys_offset + data_offset + cur_size <=
+ cur_data_storage_size,
+ ResultInvalidIndirectStorageSize);
+ }
+
+ // Operate.
+ R_TRY(func(m_data_storage[0], cur_entry_phys_offset + data_offset, cur_offset,
+ cur_size));
+
+ // Mark as done.
+ cr_info.Done();
+ }
+ }
+
+ // Get and validate the next entry offset.
+ s64 next_entry_offset;
+ if (visitor.CanMoveNext()) {
+ R_TRY(visitor.MoveNext());
+ next_entry_offset = visitor.Get<Entry>()->GetVirtualOffset();
+ R_UNLESS(table_offsets.IsInclude(next_entry_offset), ResultInvalidIndirectEntryOffset);
+ } else {
+ next_entry_offset = table_offsets.end_offset;
+ }
+ R_UNLESS(cur_offset < next_entry_offset, ResultInvalidIndirectEntryOffset);
+
+ // Get the offset of the entry in the data we read.
+ const auto data_offset = cur_offset - cur_entry_offset;
+ const auto data_size = (next_entry_offset - cur_entry_offset);
+ ASSERT(data_size > 0);
+
+ // Determine how much is left.
+ const auto remaining_size = end_offset - cur_offset;
+ const auto cur_size = std::min<s64>(remaining_size, data_size - data_offset);
+ ASSERT(cur_size <= size);
+
+ // Operate, if we need to.
+ bool needs_operate;
+ if constexpr (!ContinuousCheck) {
+ needs_operate = true;
+ } else {
+ needs_operate = !cr_info.IsDone() || cur_entry.storage_index != 0;
+ }
+
+ if (needs_operate) {
+ const auto cur_entry_phys_offset = cur_entry.GetPhysicalOffset();
+
+ if constexpr (RangeCheck) {
+ // Get the current data storage's size.
+ s64 cur_data_storage_size = m_data_storage[cur_entry.storage_index]->GetSize();
+
+ // Ensure that we remain within range.
+ R_UNLESS(0 <= cur_entry_phys_offset &&
+ cur_entry_phys_offset <= cur_data_storage_size,
+ ResultIndirectStorageCorrupted);
+ R_UNLESS(cur_entry_phys_offset + data_offset + cur_size <= cur_data_storage_size,
+ ResultIndirectStorageCorrupted);
+ }
+
+ R_TRY(func(m_data_storage[cur_entry.storage_index], cur_entry_phys_offset + data_offset,
+ cur_offset, cur_size));
+ }
+
+ cur_offset += cur_size;
+ }
+
+ R_SUCCEED();
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_integrity_romfs_storage.cpp b/src/core/file_sys/fssystem/fssystem_integrity_romfs_storage.cpp
new file mode 100644
index 000000000..2c3da230c
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_integrity_romfs_storage.cpp
@@ -0,0 +1,30 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/file_sys/fssystem/fssystem_integrity_romfs_storage.h"
+
+namespace FileSys {
+
+Result IntegrityRomFsStorage::Initialize(
+ HierarchicalIntegrityVerificationInformation level_hash_info, Hash master_hash,
+ HierarchicalIntegrityVerificationStorage::HierarchicalStorageInformation storage_info,
+ int max_data_cache_entries, int max_hash_cache_entries, s8 buffer_level) {
+ // Set master hash.
+ m_master_hash = master_hash;
+ m_master_hash_storage = std::make_shared<ArrayVfsFile<sizeof(Hash)>>(m_master_hash.value);
+ R_UNLESS(m_master_hash_storage != nullptr,
+ ResultAllocationMemoryFailedInIntegrityRomFsStorageA);
+
+ // Set the master hash storage.
+ storage_info[0] = m_master_hash_storage;
+
+ // Initialize our integrity storage.
+ R_RETURN(m_integrity_storage.Initialize(level_hash_info, storage_info, max_data_cache_entries,
+ max_hash_cache_entries, buffer_level));
+}
+
+void IntegrityRomFsStorage::Finalize() {
+ m_integrity_storage.Finalize();
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_integrity_romfs_storage.h b/src/core/file_sys/fssystem/fssystem_integrity_romfs_storage.h
new file mode 100644
index 000000000..5f8512b2a
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_integrity_romfs_storage.h
@@ -0,0 +1,42 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/file_sys/fssystem/fssystem_hierarchical_integrity_verification_storage.h"
+#include "core/file_sys/fssystem/fssystem_nca_header.h"
+#include "core/file_sys/vfs_vector.h"
+
+namespace FileSys {
+
+constexpr inline size_t IntegrityLayerCountRomFs = 7;
+constexpr inline size_t IntegrityHashLayerBlockSize = 16_KiB;
+
+class IntegrityRomFsStorage : public IReadOnlyStorage {
+public:
+ IntegrityRomFsStorage() {}
+ virtual ~IntegrityRomFsStorage() override {
+ this->Finalize();
+ }
+
+ Result Initialize(
+ HierarchicalIntegrityVerificationInformation level_hash_info, Hash master_hash,
+ HierarchicalIntegrityVerificationStorage::HierarchicalStorageInformation storage_info,
+ int max_data_cache_entries, int max_hash_cache_entries, s8 buffer_level);
+ void Finalize();
+
+ virtual size_t Read(u8* buffer, size_t size, size_t offset) const override {
+ return m_integrity_storage.Read(buffer, size, offset);
+ }
+
+ virtual size_t GetSize() const override {
+ return m_integrity_storage.GetSize();
+ }
+
+private:
+ HierarchicalIntegrityVerificationStorage m_integrity_storage;
+ Hash m_master_hash;
+ std::shared_ptr<ArrayVfsFile<sizeof(Hash)>> m_master_hash_storage;
+};
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_integrity_verification_storage.cpp b/src/core/file_sys/fssystem/fssystem_integrity_verification_storage.cpp
new file mode 100644
index 000000000..2f73abf86
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_integrity_verification_storage.cpp
@@ -0,0 +1,91 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "common/alignment.h"
+#include "core/file_sys/fssystem/fssystem_integrity_verification_storage.h"
+
+namespace FileSys {
+
+constexpr inline u32 ILog2(u32 val) {
+ ASSERT(val > 0);
+ return static_cast<u32>((sizeof(u32) * 8) - 1 - std::countl_zero<u32>(val));
+}
+
+void IntegrityVerificationStorage::Initialize(VirtualFile hs, VirtualFile ds, s64 verif_block_size,
+ s64 upper_layer_verif_block_size, bool is_real_data) {
+ // Validate preconditions.
+ ASSERT(verif_block_size >= HashSize);
+
+ // Set storages.
+ m_hash_storage = hs;
+ m_data_storage = ds;
+
+ // Set verification block sizes.
+ m_verification_block_size = verif_block_size;
+ m_verification_block_order = ILog2(static_cast<u32>(verif_block_size));
+ ASSERT(m_verification_block_size == 1ll << m_verification_block_order);
+
+ // Set upper layer block sizes.
+ upper_layer_verif_block_size = std::max(upper_layer_verif_block_size, HashSize);
+ m_upper_layer_verification_block_size = upper_layer_verif_block_size;
+ m_upper_layer_verification_block_order = ILog2(static_cast<u32>(upper_layer_verif_block_size));
+ ASSERT(m_upper_layer_verification_block_size == 1ll << m_upper_layer_verification_block_order);
+
+ // Validate sizes.
+ {
+ s64 hash_size = m_hash_storage->GetSize();
+ s64 data_size = m_data_storage->GetSize();
+ ASSERT(((hash_size / HashSize) * m_verification_block_size) >= data_size);
+ }
+
+ // Set data.
+ m_is_real_data = is_real_data;
+}
+
+void IntegrityVerificationStorage::Finalize() {
+ m_hash_storage = VirtualFile();
+ m_data_storage = VirtualFile();
+}
+
+size_t IntegrityVerificationStorage::Read(u8* buffer, size_t size, size_t offset) const {
+ // Succeed if zero size.
+ if (size == 0) {
+ return size;
+ }
+
+ // Validate arguments.
+ ASSERT(buffer != nullptr);
+
+ // Validate the offset.
+ s64 data_size = m_data_storage->GetSize();
+ ASSERT(offset <= static_cast<size_t>(data_size));
+
+ // Validate the access range.
+ ASSERT(R_SUCCEEDED(IStorage::CheckAccessRange(
+ offset, size, Common::AlignUp(data_size, static_cast<size_t>(m_verification_block_size)))));
+
+ // Determine the read extents.
+ size_t read_size = size;
+ if (static_cast<s64>(offset + read_size) > data_size) {
+ // Determine the padding sizes.
+ s64 padding_offset = data_size - offset;
+ size_t padding_size = static_cast<size_t>(
+ m_verification_block_size - (padding_offset & (m_verification_block_size - 1)));
+ ASSERT(static_cast<s64>(padding_size) < m_verification_block_size);
+
+ // Clear the padding.
+ std::memset(static_cast<u8*>(buffer) + padding_offset, 0, padding_size);
+
+ // Set the new in-bounds size.
+ read_size = static_cast<size_t>(data_size - offset);
+ }
+
+ // Perform the read.
+ return m_data_storage->Read(buffer, read_size, offset);
+}
+
+size_t IntegrityVerificationStorage::GetSize() const {
+ return m_data_storage->GetSize();
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_integrity_verification_storage.h b/src/core/file_sys/fssystem/fssystem_integrity_verification_storage.h
new file mode 100644
index 000000000..09f76799d
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_integrity_verification_storage.h
@@ -0,0 +1,65 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <optional>
+
+#include "core/file_sys/fssystem/fs_i_storage.h"
+#include "core/file_sys/fssystem/fs_types.h"
+
+namespace FileSys {
+
+class IntegrityVerificationStorage : public IReadOnlyStorage {
+ YUZU_NON_COPYABLE(IntegrityVerificationStorage);
+ YUZU_NON_MOVEABLE(IntegrityVerificationStorage);
+
+public:
+ static constexpr s64 HashSize = 256 / 8;
+
+ struct BlockHash {
+ std::array<u8, HashSize> hash;
+ };
+ static_assert(std::is_trivial_v<BlockHash>);
+
+public:
+ IntegrityVerificationStorage()
+ : m_verification_block_size(0), m_verification_block_order(0),
+ m_upper_layer_verification_block_size(0), m_upper_layer_verification_block_order(0) {}
+ virtual ~IntegrityVerificationStorage() override {
+ this->Finalize();
+ }
+
+ void Initialize(VirtualFile hs, VirtualFile ds, s64 verif_block_size,
+ s64 upper_layer_verif_block_size, bool is_real_data);
+ void Finalize();
+
+ virtual size_t Read(u8* buffer, size_t size, size_t offset) const override;
+ virtual size_t GetSize() const override;
+
+ s64 GetBlockSize() const {
+ return m_verification_block_size;
+ }
+
+private:
+ static void SetValidationBit(BlockHash* hash) {
+ ASSERT(hash != nullptr);
+ hash->hash[HashSize - 1] |= 0x80;
+ }
+
+ static bool IsValidationBit(const BlockHash* hash) {
+ ASSERT(hash != nullptr);
+ return (hash->hash[HashSize - 1] & 0x80) != 0;
+ }
+
+private:
+ VirtualFile m_hash_storage;
+ VirtualFile m_data_storage;
+ s64 m_verification_block_size;
+ s64 m_verification_block_order;
+ s64 m_upper_layer_verification_block_size;
+ s64 m_upper_layer_verification_block_order;
+ bool m_is_real_data;
+};
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_memory_resource_buffer_hold_storage.h b/src/core/file_sys/fssystem/fssystem_memory_resource_buffer_hold_storage.h
new file mode 100644
index 000000000..c07a127fb
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_memory_resource_buffer_hold_storage.h
@@ -0,0 +1,61 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/file_sys/fssystem/fs_i_storage.h"
+
+namespace FileSys {
+
+class MemoryResourceBufferHoldStorage : public IStorage {
+ YUZU_NON_COPYABLE(MemoryResourceBufferHoldStorage);
+ YUZU_NON_MOVEABLE(MemoryResourceBufferHoldStorage);
+
+public:
+ MemoryResourceBufferHoldStorage(VirtualFile storage, size_t buffer_size)
+ : m_storage(std::move(storage)), m_buffer(::operator new(buffer_size)),
+ m_buffer_size(buffer_size) {}
+
+ virtual ~MemoryResourceBufferHoldStorage() {
+ // If we have a buffer, deallocate it.
+ if (m_buffer != nullptr) {
+ ::operator delete(m_buffer);
+ }
+ }
+
+ bool IsValid() const {
+ return m_buffer != nullptr;
+ }
+ void* GetBuffer() const {
+ return m_buffer;
+ }
+
+public:
+ virtual size_t Read(u8* buffer, size_t size, size_t offset) const override {
+ // Check pre-conditions.
+ ASSERT(m_storage != nullptr);
+
+ return m_storage->Read(buffer, size, offset);
+ }
+
+ virtual size_t GetSize() const override {
+ // Check pre-conditions.
+ ASSERT(m_storage != nullptr);
+
+ return m_storage->GetSize();
+ }
+
+ virtual size_t Write(const u8* buffer, size_t size, size_t offset) override {
+ // Check pre-conditions.
+ ASSERT(m_storage != nullptr);
+
+ return m_storage->Write(buffer, size, offset);
+ }
+
+private:
+ VirtualFile m_storage;
+ void* m_buffer;
+ size_t m_buffer_size;
+};
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_nca_file_system_driver.cpp b/src/core/file_sys/fssystem/fssystem_nca_file_system_driver.cpp
new file mode 100644
index 000000000..0f5432203
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_nca_file_system_driver.cpp
@@ -0,0 +1,1351 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/file_sys/fssystem/fssystem_aes_ctr_counter_extended_storage.h"
+#include "core/file_sys/fssystem/fssystem_aes_ctr_storage.h"
+#include "core/file_sys/fssystem/fssystem_aes_xts_storage.h"
+#include "core/file_sys/fssystem/fssystem_alignment_matching_storage.h"
+#include "core/file_sys/fssystem/fssystem_compressed_storage.h"
+#include "core/file_sys/fssystem/fssystem_hierarchical_integrity_verification_storage.h"
+#include "core/file_sys/fssystem/fssystem_hierarchical_sha256_storage.h"
+#include "core/file_sys/fssystem/fssystem_indirect_storage.h"
+#include "core/file_sys/fssystem/fssystem_integrity_romfs_storage.h"
+#include "core/file_sys/fssystem/fssystem_memory_resource_buffer_hold_storage.h"
+#include "core/file_sys/fssystem/fssystem_nca_file_system_driver.h"
+#include "core/file_sys/fssystem/fssystem_sparse_storage.h"
+#include "core/file_sys/fssystem/fssystem_switch_storage.h"
+#include "core/file_sys/vfs_offset.h"
+#include "core/file_sys/vfs_vector.h"
+
+namespace FileSys {
+
+namespace {
+
+constexpr inline s32 IntegrityDataCacheCount = 24;
+constexpr inline s32 IntegrityHashCacheCount = 8;
+
+constexpr inline s32 IntegrityDataCacheCountForMeta = 16;
+constexpr inline s32 IntegrityHashCacheCountForMeta = 2;
+
+class SharedNcaBodyStorage : public IReadOnlyStorage {
+ YUZU_NON_COPYABLE(SharedNcaBodyStorage);
+ YUZU_NON_MOVEABLE(SharedNcaBodyStorage);
+
+private:
+ VirtualFile m_storage;
+ std::shared_ptr<NcaReader> m_nca_reader;
+
+public:
+ SharedNcaBodyStorage(VirtualFile s, std::shared_ptr<NcaReader> r)
+ : m_storage(std::move(s)), m_nca_reader(std::move(r)) {}
+
+ virtual size_t Read(u8* buffer, size_t size, size_t offset) const override {
+ // Validate pre-conditions.
+ ASSERT(m_storage != nullptr);
+
+ // Read from the base storage.
+ return m_storage->Read(buffer, size, offset);
+ }
+
+ virtual size_t GetSize() const override {
+ // Validate pre-conditions.
+ ASSERT(m_storage != nullptr);
+
+ return m_storage->GetSize();
+ }
+};
+
+inline s64 GetFsOffset(const NcaReader& reader, s32 fs_index) {
+ return static_cast<s64>(reader.GetFsOffset(fs_index));
+}
+
+inline s64 GetFsEndOffset(const NcaReader& reader, s32 fs_index) {
+ return static_cast<s64>(reader.GetFsEndOffset(fs_index));
+}
+
+using Sha256DataRegion = NcaFsHeader::Region;
+using IntegrityLevelInfo = NcaFsHeader::HashData::IntegrityMetaInfo::LevelHashInfo;
+using IntegrityDataInfo = IntegrityLevelInfo::HierarchicalIntegrityVerificationLevelInformation;
+
+} // namespace
+
+Result NcaFileSystemDriver::OpenStorageWithContext(VirtualFile* out,
+ NcaFsHeaderReader* out_header_reader,
+ s32 fs_index, StorageContext* ctx) {
+ // Open storage.
+ R_RETURN(this->OpenStorageImpl(out, out_header_reader, fs_index, ctx));
+}
+
+Result NcaFileSystemDriver::OpenStorageImpl(VirtualFile* out, NcaFsHeaderReader* out_header_reader,
+ s32 fs_index, StorageContext* ctx) {
+ // Validate preconditions.
+ ASSERT(out != nullptr);
+ ASSERT(out_header_reader != nullptr);
+ ASSERT(0 <= fs_index && fs_index < NcaHeader::FsCountMax);
+
+ // Validate the fs index.
+ R_UNLESS(m_reader->HasFsInfo(fs_index), ResultPartitionNotFound);
+
+ // Initialize our header reader for the fs index.
+ R_TRY(out_header_reader->Initialize(*m_reader, fs_index));
+
+ // Declare the storage we're opening.
+ VirtualFile storage;
+
+ // Process sparse layer.
+ s64 fs_data_offset = 0;
+ if (out_header_reader->ExistsSparseLayer()) {
+ // Get the sparse info.
+ const auto& sparse_info = out_header_reader->GetSparseInfo();
+
+ // Create based on whether we have a meta hash layer.
+ if (out_header_reader->ExistsSparseMetaHashLayer()) {
+ // Create the sparse storage with verification.
+ R_TRY(this->CreateSparseStorageWithVerification(
+ std::addressof(storage), std::addressof(fs_data_offset),
+ ctx != nullptr ? std::addressof(ctx->current_sparse_storage) : nullptr,
+ ctx != nullptr ? std::addressof(ctx->sparse_storage_meta_storage) : nullptr,
+ ctx != nullptr ? std::addressof(ctx->sparse_layer_info_storage) : nullptr, fs_index,
+ out_header_reader->GetAesCtrUpperIv(), sparse_info,
+ out_header_reader->GetSparseMetaDataHashDataInfo(),
+ out_header_reader->GetSparseMetaHashType()));
+ } else {
+ // Create the sparse storage.
+ R_TRY(this->CreateSparseStorage(
+ std::addressof(storage), std::addressof(fs_data_offset),
+ ctx != nullptr ? std::addressof(ctx->current_sparse_storage) : nullptr,
+ ctx != nullptr ? std::addressof(ctx->sparse_storage_meta_storage) : nullptr,
+ fs_index, out_header_reader->GetAesCtrUpperIv(), sparse_info));
+ }
+ } else {
+ // Get the data offsets.
+ fs_data_offset = GetFsOffset(*m_reader, fs_index);
+ const auto fs_end_offset = GetFsEndOffset(*m_reader, fs_index);
+
+ // Validate that we're within range.
+ const auto data_size = fs_end_offset - fs_data_offset;
+ R_UNLESS(data_size > 0, ResultInvalidNcaHeader);
+
+ // Create the body substorage.
+ R_TRY(this->CreateBodySubStorage(std::addressof(storage), fs_data_offset, data_size));
+
+ // Potentially save the body substorage to our context.
+ if (ctx != nullptr) {
+ ctx->body_substorage = storage;
+ }
+ }
+
+ // Process patch layer.
+ const auto& patch_info = out_header_reader->GetPatchInfo();
+ VirtualFile patch_meta_aes_ctr_ex_meta_storage;
+ VirtualFile patch_meta_indirect_meta_storage;
+ if (out_header_reader->ExistsPatchMetaHashLayer()) {
+ // Check the meta hash type.
+ R_UNLESS(out_header_reader->GetPatchMetaHashType() ==
+ NcaFsHeader::MetaDataHashType::HierarchicalIntegrity,
+ ResultRomNcaInvalidPatchMetaDataHashType);
+
+ // Create the patch meta storage.
+ R_TRY(this->CreatePatchMetaStorage(
+ std::addressof(patch_meta_aes_ctr_ex_meta_storage),
+ std::addressof(patch_meta_indirect_meta_storage),
+ ctx != nullptr ? std::addressof(ctx->patch_layer_info_storage) : nullptr, storage,
+ fs_data_offset, out_header_reader->GetAesCtrUpperIv(), patch_info,
+ out_header_reader->GetPatchMetaDataHashDataInfo()));
+ }
+
+ if (patch_info.HasAesCtrExTable()) {
+ // Check the encryption type.
+ ASSERT(out_header_reader->GetEncryptionType() == NcaFsHeader::EncryptionType::None ||
+ out_header_reader->GetEncryptionType() == NcaFsHeader::EncryptionType::AesCtrEx ||
+ out_header_reader->GetEncryptionType() ==
+ NcaFsHeader::EncryptionType::AesCtrExSkipLayerHash);
+
+ // Create the ex meta storage.
+ VirtualFile aes_ctr_ex_storage_meta_storage = patch_meta_aes_ctr_ex_meta_storage;
+ if (aes_ctr_ex_storage_meta_storage == nullptr) {
+ // If we don't have a meta storage, we must not have a patch meta hash layer.
+ ASSERT(!out_header_reader->ExistsPatchMetaHashLayer());
+
+ R_TRY(this->CreateAesCtrExStorageMetaStorage(
+ std::addressof(aes_ctr_ex_storage_meta_storage), storage, fs_data_offset,
+ out_header_reader->GetEncryptionType(), out_header_reader->GetAesCtrUpperIv(),
+ patch_info));
+ }
+
+ // Create the ex storage.
+ VirtualFile aes_ctr_ex_storage;
+ R_TRY(this->CreateAesCtrExStorage(
+ std::addressof(aes_ctr_ex_storage),
+ ctx != nullptr ? std::addressof(ctx->aes_ctr_ex_storage) : nullptr, std::move(storage),
+ aes_ctr_ex_storage_meta_storage, fs_data_offset, out_header_reader->GetAesCtrUpperIv(),
+ patch_info));
+
+ // Set the base storage as the ex storage.
+ storage = std::move(aes_ctr_ex_storage);
+
+ // Potentially save storages to our context.
+ if (ctx != nullptr) {
+ ctx->aes_ctr_ex_storage_meta_storage = aes_ctr_ex_storage_meta_storage;
+ ctx->aes_ctr_ex_storage_data_storage = storage;
+ ctx->fs_data_storage = storage;
+ }
+ } else {
+ // Create the appropriate storage for the encryption type.
+ switch (out_header_reader->GetEncryptionType()) {
+ case NcaFsHeader::EncryptionType::None:
+ // If there's no encryption, use the base storage we made previously.
+ break;
+ case NcaFsHeader::EncryptionType::AesXts:
+ R_TRY(this->CreateAesXtsStorage(std::addressof(storage), std::move(storage),
+ fs_data_offset));
+ break;
+ case NcaFsHeader::EncryptionType::AesCtr:
+ R_TRY(this->CreateAesCtrStorage(std::addressof(storage), std::move(storage),
+ fs_data_offset, out_header_reader->GetAesCtrUpperIv(),
+ AlignmentStorageRequirement::None));
+ break;
+ case NcaFsHeader::EncryptionType::AesCtrSkipLayerHash: {
+ // Create the aes ctr storage.
+ VirtualFile aes_ctr_storage;
+ R_TRY(this->CreateAesCtrStorage(std::addressof(aes_ctr_storage), storage,
+ fs_data_offset, out_header_reader->GetAesCtrUpperIv(),
+ AlignmentStorageRequirement::None));
+
+ // Create region switch storage.
+ R_TRY(this->CreateRegionSwitchStorage(std::addressof(storage), out_header_reader,
+ std::move(storage), std::move(aes_ctr_storage)));
+ } break;
+ default:
+ R_THROW(ResultInvalidNcaFsHeaderEncryptionType);
+ }
+
+ // Potentially save storages to our context.
+ if (ctx != nullptr) {
+ ctx->fs_data_storage = storage;
+ }
+ }
+
+ // Process indirect layer.
+ if (patch_info.HasIndirectTable()) {
+ // Create the indirect meta storage.
+ VirtualFile indirect_storage_meta_storage = patch_meta_indirect_meta_storage;
+ if (indirect_storage_meta_storage == nullptr) {
+ // If we don't have a meta storage, we must not have a patch meta hash layer.
+ ASSERT(!out_header_reader->ExistsPatchMetaHashLayer());
+
+ R_TRY(this->CreateIndirectStorageMetaStorage(
+ std::addressof(indirect_storage_meta_storage), storage, patch_info));
+ }
+
+ // Potentially save the indirect meta storage to our context.
+ if (ctx != nullptr) {
+ ctx->indirect_storage_meta_storage = indirect_storage_meta_storage;
+ }
+
+ // Get the original indirectable storage.
+ VirtualFile original_indirectable_storage;
+ if (m_original_reader != nullptr && m_original_reader->HasFsInfo(fs_index)) {
+ // Create a driver for the original.
+ NcaFileSystemDriver original_driver(m_original_reader);
+
+ // Create a header reader for the original.
+ NcaFsHeaderReader original_header_reader;
+ R_TRY(original_header_reader.Initialize(*m_original_reader, fs_index));
+
+ // Open original indirectable storage.
+ R_TRY(original_driver.OpenIndirectableStorageAsOriginal(
+ std::addressof(original_indirectable_storage),
+ std::addressof(original_header_reader), ctx));
+ } else if (ctx != nullptr && ctx->external_original_storage != nullptr) {
+ // Use the external original storage.
+ original_indirectable_storage = ctx->external_original_storage;
+ } else {
+ // Allocate a dummy memory storage as original storage.
+ original_indirectable_storage = std::make_shared<VectorVfsFile>();
+ R_UNLESS(original_indirectable_storage != nullptr,
+ ResultAllocationMemoryFailedAllocateShared);
+ }
+
+ // Create the indirect storage.
+ VirtualFile indirect_storage;
+ R_TRY(this->CreateIndirectStorage(
+ std::addressof(indirect_storage),
+ ctx != nullptr ? std::addressof(ctx->indirect_storage) : nullptr, std::move(storage),
+ std::move(original_indirectable_storage), std::move(indirect_storage_meta_storage),
+ patch_info));
+
+ // Set storage as the indirect storage.
+ storage = std::move(indirect_storage);
+ }
+
+ // Check if we're sparse or requested to skip the integrity layer.
+ if (out_header_reader->ExistsSparseLayer() || (ctx != nullptr && ctx->open_raw_storage)) {
+ *out = std::move(storage);
+ R_SUCCEED();
+ }
+
+ // Create the non-raw storage.
+ R_RETURN(this->CreateStorageByRawStorage(out, out_header_reader, std::move(storage), ctx));
+}
+
+Result NcaFileSystemDriver::CreateStorageByRawStorage(VirtualFile* out,
+ const NcaFsHeaderReader* header_reader,
+ VirtualFile raw_storage,
+ StorageContext* ctx) {
+ // Initialize storage as raw storage.
+ VirtualFile storage = std::move(raw_storage);
+
+ // Process hash/integrity layer.
+ switch (header_reader->GetHashType()) {
+ case NcaFsHeader::HashType::HierarchicalSha256Hash:
+ R_TRY(this->CreateSha256Storage(std::addressof(storage), std::move(storage),
+ header_reader->GetHashData().hierarchical_sha256_data));
+ break;
+ case NcaFsHeader::HashType::HierarchicalIntegrityHash:
+ R_TRY(this->CreateIntegrityVerificationStorage(
+ std::addressof(storage), std::move(storage),
+ header_reader->GetHashData().integrity_meta_info));
+ break;
+ default:
+ R_THROW(ResultInvalidNcaFsHeaderHashType);
+ }
+
+ // Process compression layer.
+ if (header_reader->ExistsCompressionLayer()) {
+ R_TRY(this->CreateCompressedStorage(
+ std::addressof(storage),
+ ctx != nullptr ? std::addressof(ctx->compressed_storage) : nullptr,
+ ctx != nullptr ? std::addressof(ctx->compressed_storage_meta_storage) : nullptr,
+ std::move(storage), header_reader->GetCompressionInfo()));
+ }
+
+ // Set output storage.
+ *out = std::move(storage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::OpenIndirectableStorageAsOriginal(
+ VirtualFile* out, const NcaFsHeaderReader* header_reader, StorageContext* ctx) {
+ // Get the fs index.
+ const auto fs_index = header_reader->GetFsIndex();
+
+ // Declare the storage we're opening.
+ VirtualFile storage;
+
+ // Process sparse layer.
+ s64 fs_data_offset = 0;
+ if (header_reader->ExistsSparseLayer()) {
+ // Get the sparse info.
+ const auto& sparse_info = header_reader->GetSparseInfo();
+
+ // Create based on whether we have a meta hash layer.
+ if (header_reader->ExistsSparseMetaHashLayer()) {
+ // Create the sparse storage with verification.
+ R_TRY(this->CreateSparseStorageWithVerification(
+ std::addressof(storage), std::addressof(fs_data_offset),
+ ctx != nullptr ? std::addressof(ctx->original_sparse_storage) : nullptr,
+ ctx != nullptr ? std::addressof(ctx->sparse_storage_meta_storage) : nullptr,
+ ctx != nullptr ? std::addressof(ctx->sparse_layer_info_storage) : nullptr, fs_index,
+ header_reader->GetAesCtrUpperIv(), sparse_info,
+ header_reader->GetSparseMetaDataHashDataInfo(),
+ header_reader->GetSparseMetaHashType()));
+ } else {
+ // Create the sparse storage.
+ R_TRY(this->CreateSparseStorage(
+ std::addressof(storage), std::addressof(fs_data_offset),
+ ctx != nullptr ? std::addressof(ctx->original_sparse_storage) : nullptr,
+ ctx != nullptr ? std::addressof(ctx->sparse_storage_meta_storage) : nullptr,
+ fs_index, header_reader->GetAesCtrUpperIv(), sparse_info));
+ }
+ } else {
+ // Get the data offsets.
+ fs_data_offset = GetFsOffset(*m_reader, fs_index);
+ const auto fs_end_offset = GetFsEndOffset(*m_reader, fs_index);
+
+ // Validate that we're within range.
+ const auto data_size = fs_end_offset - fs_data_offset;
+ R_UNLESS(data_size > 0, ResultInvalidNcaHeader);
+
+ // Create the body substorage.
+ R_TRY(this->CreateBodySubStorage(std::addressof(storage), fs_data_offset, data_size));
+ }
+
+ // Create the appropriate storage for the encryption type.
+ switch (header_reader->GetEncryptionType()) {
+ case NcaFsHeader::EncryptionType::None:
+ // If there's no encryption, use the base storage we made previously.
+ break;
+ case NcaFsHeader::EncryptionType::AesXts:
+ R_TRY(
+ this->CreateAesXtsStorage(std::addressof(storage), std::move(storage), fs_data_offset));
+ break;
+ case NcaFsHeader::EncryptionType::AesCtr:
+ R_TRY(this->CreateAesCtrStorage(std::addressof(storage), std::move(storage), fs_data_offset,
+ header_reader->GetAesCtrUpperIv(),
+ AlignmentStorageRequirement::CacheBlockSize));
+ break;
+ default:
+ R_THROW(ResultInvalidNcaFsHeaderEncryptionType);
+ }
+
+ // Set output storage.
+ *out = std::move(storage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::CreateBodySubStorage(VirtualFile* out, s64 offset, s64 size) {
+ // Create the body storage.
+ auto body_storage =
+ std::make_shared<SharedNcaBodyStorage>(m_reader->GetSharedBodyStorage(), m_reader);
+ R_UNLESS(body_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Get the body storage size.
+ s64 body_size = body_storage->GetSize();
+
+ // Check that we're within range.
+ R_UNLESS(offset + size <= body_size, ResultNcaBaseStorageOutOfRangeB);
+
+ // Create substorage.
+ auto body_substorage = std::make_shared<OffsetVfsFile>(std::move(body_storage), size, offset);
+ R_UNLESS(body_substorage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Set the output storage.
+ *out = std::move(body_substorage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::CreateAesCtrStorage(
+ VirtualFile* out, VirtualFile base_storage, s64 offset, const NcaAesCtrUpperIv& upper_iv,
+ AlignmentStorageRequirement alignment_storage_requirement) {
+ // Check pre-conditions.
+ ASSERT(out != nullptr);
+ ASSERT(base_storage != nullptr);
+
+ // Create the iv.
+ std::array<u8, AesCtrStorage::IvSize> iv{};
+ AesCtrStorage::MakeIv(iv.data(), sizeof(iv), upper_iv.value, offset);
+
+ // Create the ctr storage.
+ VirtualFile aes_ctr_storage;
+ if (m_reader->HasExternalDecryptionKey()) {
+ aes_ctr_storage = std::make_shared<AesCtrStorage>(
+ std::move(base_storage), m_reader->GetExternalDecryptionKey(), AesCtrStorage::KeySize,
+ iv.data(), AesCtrStorage::IvSize);
+ R_UNLESS(aes_ctr_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+ } else {
+ // Create software decryption storage.
+ auto sw_storage = std::make_shared<AesCtrStorage>(
+ base_storage, m_reader->GetDecryptionKey(NcaHeader::DecryptionKey_AesCtr),
+ AesCtrStorage::KeySize, iv.data(), AesCtrStorage::IvSize);
+ R_UNLESS(sw_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ aes_ctr_storage = std::move(sw_storage);
+ }
+
+ // Create alignment matching storage.
+ auto aligned_storage = std::make_shared<AlignmentMatchingStorage<NcaHeader::CtrBlockSize, 1>>(
+ std::move(aes_ctr_storage));
+ R_UNLESS(aligned_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Set the out storage.
+ *out = std::move(aligned_storage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::CreateAesXtsStorage(VirtualFile* out, VirtualFile base_storage,
+ s64 offset) {
+ // Check pre-conditions.
+ ASSERT(out != nullptr);
+ ASSERT(base_storage != nullptr);
+
+ // Create the iv.
+ std::array<u8, AesXtsStorage::IvSize> iv{};
+ AesXtsStorage::MakeAesXtsIv(iv.data(), sizeof(iv), offset, NcaHeader::XtsBlockSize);
+
+ // Make the aes xts storage.
+ const auto* const key1 = m_reader->GetDecryptionKey(NcaHeader::DecryptionKey_AesXts1);
+ const auto* const key2 = m_reader->GetDecryptionKey(NcaHeader::DecryptionKey_AesXts2);
+ auto xts_storage =
+ std::make_shared<AesXtsStorage>(std::move(base_storage), key1, key2, AesXtsStorage::KeySize,
+ iv.data(), AesXtsStorage::IvSize, NcaHeader::XtsBlockSize);
+ R_UNLESS(xts_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Create alignment matching storage.
+ auto aligned_storage = std::make_shared<AlignmentMatchingStorage<NcaHeader::XtsBlockSize, 1>>(
+ std::move(xts_storage));
+ R_UNLESS(aligned_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Set the out storage.
+ *out = std::move(xts_storage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::CreateSparseStorageMetaStorage(VirtualFile* out,
+ VirtualFile base_storage, s64 offset,
+ const NcaAesCtrUpperIv& upper_iv,
+ const NcaSparseInfo& sparse_info) {
+ // Validate preconditions.
+ ASSERT(out != nullptr);
+ ASSERT(base_storage != nullptr);
+
+ // Get the base storage size.
+ s64 base_size = base_storage->GetSize();
+
+ // Get the meta extents.
+ const auto meta_offset = sparse_info.bucket.offset;
+ const auto meta_size = sparse_info.bucket.size;
+ R_UNLESS(meta_offset + meta_size - offset <= base_size, ResultNcaBaseStorageOutOfRangeB);
+
+ // Create the encrypted storage.
+ auto enc_storage =
+ std::make_shared<OffsetVfsFile>(std::move(base_storage), meta_size, meta_offset);
+ R_UNLESS(enc_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Create the decrypted storage.
+ VirtualFile decrypted_storage;
+ R_TRY(this->CreateAesCtrStorage(std::addressof(decrypted_storage), std::move(enc_storage),
+ offset + meta_offset, sparse_info.MakeAesCtrUpperIv(upper_iv),
+ AlignmentStorageRequirement::None));
+
+ // Create buffered storage.
+ std::vector<u8> meta_data(meta_size);
+ decrypted_storage->Read(meta_data.data(), meta_size, 0);
+
+ auto buffered_storage = std::make_shared<VectorVfsFile>(std::move(meta_data));
+ R_UNLESS(buffered_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Set the output.
+ *out = std::move(buffered_storage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::CreateSparseStorageCore(std::shared_ptr<SparseStorage>* out,
+ VirtualFile base_storage, s64 base_size,
+ VirtualFile meta_storage,
+ const NcaSparseInfo& sparse_info,
+ bool external_info) {
+ // Validate preconditions.
+ ASSERT(out != nullptr);
+ ASSERT(base_storage != nullptr);
+ ASSERT(meta_storage != nullptr);
+
+ // Read and verify the bucket tree header.
+ BucketTree::Header header;
+ std::memcpy(std::addressof(header), sparse_info.bucket.header.data(), sizeof(header));
+ R_TRY(header.Verify());
+
+ // Determine storage extents.
+ const auto node_offset = 0;
+ const auto node_size = SparseStorage::QueryNodeStorageSize(header.entry_count);
+ const auto entry_offset = node_offset + node_size;
+ const auto entry_size = SparseStorage::QueryEntryStorageSize(header.entry_count);
+
+ // Create the sparse storage.
+ auto sparse_storage = std::make_shared<SparseStorage>();
+ R_UNLESS(sparse_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Sanity check that we can be doing this.
+ ASSERT(header.entry_count != 0);
+
+ // Initialize the sparse storage.
+ R_TRY(sparse_storage->Initialize(
+ std::make_shared<OffsetVfsFile>(meta_storage, node_size, node_offset),
+ std::make_shared<OffsetVfsFile>(meta_storage, entry_size, entry_offset),
+ header.entry_count));
+
+ // If not external, set the data storage.
+ if (!external_info) {
+ sparse_storage->SetDataStorage(
+ std::make_shared<OffsetVfsFile>(std::move(base_storage), base_size, 0));
+ }
+
+ // Set the output.
+ *out = std::move(sparse_storage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::CreateSparseStorage(VirtualFile* out, s64* out_fs_data_offset,
+ std::shared_ptr<SparseStorage>* out_sparse_storage,
+ VirtualFile* out_meta_storage, s32 index,
+ const NcaAesCtrUpperIv& upper_iv,
+ const NcaSparseInfo& sparse_info) {
+ // Validate preconditions.
+ ASSERT(out != nullptr);
+ ASSERT(out_fs_data_offset != nullptr);
+
+ // Check the sparse info generation.
+ R_UNLESS(sparse_info.generation != 0, ResultInvalidNcaHeader);
+
+ // Read and verify the bucket tree header.
+ BucketTree::Header header;
+ std::memcpy(std::addressof(header), sparse_info.bucket.header.data(), sizeof(header));
+ R_TRY(header.Verify());
+
+ // Determine the storage extents.
+ const auto fs_offset = GetFsOffset(*m_reader, index);
+ const auto fs_end_offset = GetFsEndOffset(*m_reader, index);
+ const auto fs_size = fs_end_offset - fs_offset;
+
+ // Create the sparse storage.
+ std::shared_ptr<SparseStorage> sparse_storage;
+ if (header.entry_count != 0) {
+ // Create the body substorage.
+ VirtualFile body_substorage;
+ R_TRY(this->CreateBodySubStorage(std::addressof(body_substorage),
+ sparse_info.physical_offset,
+ sparse_info.GetPhysicalSize()));
+
+ // Create the meta storage.
+ VirtualFile meta_storage;
+ R_TRY(this->CreateSparseStorageMetaStorage(std::addressof(meta_storage), body_substorage,
+ sparse_info.physical_offset, upper_iv,
+ sparse_info));
+
+ // Potentially set the output meta storage.
+ if (out_meta_storage != nullptr) {
+ *out_meta_storage = meta_storage;
+ }
+
+ // Create the sparse storage.
+ R_TRY(this->CreateSparseStorageCore(std::addressof(sparse_storage), body_substorage,
+ sparse_info.GetPhysicalSize(), std::move(meta_storage),
+ sparse_info, false));
+ } else {
+ // If there are no entries, there's nothing to actually do.
+ sparse_storage = std::make_shared<SparseStorage>();
+ R_UNLESS(sparse_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ sparse_storage->Initialize(fs_size);
+ }
+
+ // Potentially set the output sparse storage.
+ if (out_sparse_storage != nullptr) {
+ *out_sparse_storage = sparse_storage;
+ }
+
+ // Set the output fs data offset.
+ *out_fs_data_offset = fs_offset;
+
+ // Set the output storage.
+ *out = std::move(sparse_storage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::CreateSparseStorageMetaStorageWithVerification(
+ VirtualFile* out, VirtualFile* out_layer_info_storage, VirtualFile base_storage, s64 offset,
+ const NcaAesCtrUpperIv& upper_iv, const NcaSparseInfo& sparse_info,
+ const NcaMetaDataHashDataInfo& meta_data_hash_data_info) {
+ // Validate preconditions.
+ ASSERT(out != nullptr);
+ ASSERT(base_storage != nullptr);
+
+ // Get the base storage size.
+ s64 base_size = base_storage->GetSize();
+
+ // Get the meta extents.
+ const auto meta_offset = sparse_info.bucket.offset;
+ const auto meta_size = sparse_info.bucket.size;
+ R_UNLESS(meta_offset + meta_size - offset <= base_size, ResultNcaBaseStorageOutOfRangeB);
+
+ // Get the meta data hash data extents.
+ const s64 meta_data_hash_data_offset = meta_data_hash_data_info.offset;
+ const s64 meta_data_hash_data_size =
+ Common::AlignUp<s64>(meta_data_hash_data_info.size, NcaHeader::CtrBlockSize);
+ R_UNLESS(meta_data_hash_data_offset + meta_data_hash_data_size <= base_size,
+ ResultNcaBaseStorageOutOfRangeB);
+
+ // Check that the meta is before the hash data.
+ R_UNLESS(meta_offset + meta_size <= meta_data_hash_data_offset,
+ ResultRomNcaInvalidSparseMetaDataHashDataOffset);
+
+ // Check that offsets are appropriately aligned.
+ R_UNLESS(Common::IsAligned<s64>(meta_data_hash_data_offset, NcaHeader::CtrBlockSize),
+ ResultRomNcaInvalidSparseMetaDataHashDataOffset);
+ R_UNLESS(Common::IsAligned<s64>(meta_offset, NcaHeader::CtrBlockSize),
+ ResultInvalidNcaFsHeader);
+
+ // Create the meta storage.
+ auto enc_storage = std::make_shared<OffsetVfsFile>(
+ std::move(base_storage),
+ meta_data_hash_data_offset + meta_data_hash_data_size - meta_offset, meta_offset);
+ R_UNLESS(enc_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Create the decrypted storage.
+ VirtualFile decrypted_storage;
+ R_TRY(this->CreateAesCtrStorage(std::addressof(decrypted_storage), std::move(enc_storage),
+ offset + meta_offset, sparse_info.MakeAesCtrUpperIv(upper_iv),
+ AlignmentStorageRequirement::None));
+
+ // Create the verification storage.
+ VirtualFile integrity_storage;
+ Result rc = this->CreateIntegrityVerificationStorageForMeta(
+ std::addressof(integrity_storage), out_layer_info_storage, std::move(decrypted_storage),
+ meta_offset, meta_data_hash_data_info);
+ if (rc == ResultInvalidNcaMetaDataHashDataSize) {
+ R_THROW(ResultRomNcaInvalidSparseMetaDataHashDataSize);
+ }
+ if (rc == ResultInvalidNcaMetaDataHashDataHash) {
+ R_THROW(ResultRomNcaInvalidSparseMetaDataHashDataHash);
+ }
+ R_TRY(rc);
+
+ // Create the meta storage.
+ auto meta_storage = std::make_shared<OffsetVfsFile>(std::move(integrity_storage), meta_size, 0);
+ R_UNLESS(meta_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Set the output.
+ *out = std::move(meta_storage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::CreateSparseStorageWithVerification(
+ VirtualFile* out, s64* out_fs_data_offset, std::shared_ptr<SparseStorage>* out_sparse_storage,
+ VirtualFile* out_meta_storage, VirtualFile* out_layer_info_storage, s32 index,
+ const NcaAesCtrUpperIv& upper_iv, const NcaSparseInfo& sparse_info,
+ const NcaMetaDataHashDataInfo& meta_data_hash_data_info,
+ NcaFsHeader::MetaDataHashType meta_data_hash_type) {
+ // Validate preconditions.
+ ASSERT(out != nullptr);
+ ASSERT(out_fs_data_offset != nullptr);
+
+ // Check the sparse info generation.
+ R_UNLESS(sparse_info.generation != 0, ResultInvalidNcaHeader);
+
+ // Read and verify the bucket tree header.
+ BucketTree::Header header;
+ std::memcpy(std::addressof(header), sparse_info.bucket.header.data(), sizeof(header));
+ R_TRY(header.Verify());
+
+ // Determine the storage extents.
+ const auto fs_offset = GetFsOffset(*m_reader, index);
+ const auto fs_end_offset = GetFsEndOffset(*m_reader, index);
+ const auto fs_size = fs_end_offset - fs_offset;
+
+ // Create the sparse storage.
+ std::shared_ptr<SparseStorage> sparse_storage;
+ if (header.entry_count != 0) {
+ // Create the body substorage.
+ VirtualFile body_substorage;
+ R_TRY(this->CreateBodySubStorage(
+ std::addressof(body_substorage), sparse_info.physical_offset,
+ Common::AlignUp<s64>(static_cast<s64>(meta_data_hash_data_info.offset) +
+ static_cast<s64>(meta_data_hash_data_info.size),
+ NcaHeader::CtrBlockSize)));
+
+ // Check the meta data hash type.
+ R_UNLESS(meta_data_hash_type == NcaFsHeader::MetaDataHashType::HierarchicalIntegrity,
+ ResultRomNcaInvalidSparseMetaDataHashType);
+
+ // Create the meta storage.
+ VirtualFile meta_storage;
+ R_TRY(this->CreateSparseStorageMetaStorageWithVerification(
+ std::addressof(meta_storage), out_layer_info_storage, body_substorage,
+ sparse_info.physical_offset, upper_iv, sparse_info, meta_data_hash_data_info));
+
+ // Potentially set the output meta storage.
+ if (out_meta_storage != nullptr) {
+ *out_meta_storage = meta_storage;
+ }
+
+ // Create the sparse storage.
+ R_TRY(this->CreateSparseStorageCore(std::addressof(sparse_storage), body_substorage,
+ sparse_info.GetPhysicalSize(), std::move(meta_storage),
+ sparse_info, false));
+ } else {
+ // If there are no entries, there's nothing to actually do.
+ sparse_storage = std::make_shared<SparseStorage>();
+ R_UNLESS(sparse_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ sparse_storage->Initialize(fs_size);
+ }
+
+ // Potentially set the output sparse storage.
+ if (out_sparse_storage != nullptr) {
+ *out_sparse_storage = sparse_storage;
+ }
+
+ // Set the output fs data offset.
+ *out_fs_data_offset = fs_offset;
+
+ // Set the output storage.
+ *out = std::move(sparse_storage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::CreateAesCtrExStorageMetaStorage(
+ VirtualFile* out, VirtualFile base_storage, s64 offset,
+ NcaFsHeader::EncryptionType encryption_type, const NcaAesCtrUpperIv& upper_iv,
+ const NcaPatchInfo& patch_info) {
+ // Validate preconditions.
+ ASSERT(out != nullptr);
+ ASSERT(base_storage != nullptr);
+ ASSERT(encryption_type == NcaFsHeader::EncryptionType::None ||
+ encryption_type == NcaFsHeader::EncryptionType::AesCtrEx ||
+ encryption_type == NcaFsHeader::EncryptionType::AesCtrExSkipLayerHash);
+ ASSERT(patch_info.HasAesCtrExTable());
+
+ // Validate patch info extents.
+ R_UNLESS(patch_info.indirect_size > 0, ResultInvalidNcaPatchInfoIndirectSize);
+ R_UNLESS(patch_info.aes_ctr_ex_size > 0, ResultInvalidNcaPatchInfoAesCtrExSize);
+ R_UNLESS(patch_info.indirect_size + patch_info.indirect_offset <= patch_info.aes_ctr_ex_offset,
+ ResultInvalidNcaPatchInfoAesCtrExOffset);
+
+ // Get the base storage size.
+ s64 base_size = base_storage->GetSize();
+
+ // Get and validate the meta extents.
+ const s64 meta_offset = patch_info.aes_ctr_ex_offset;
+ const s64 meta_size =
+ Common::AlignUp(static_cast<s64>(patch_info.aes_ctr_ex_size), NcaHeader::XtsBlockSize);
+ R_UNLESS(meta_offset + meta_size <= base_size, ResultNcaBaseStorageOutOfRangeB);
+
+ // Create the encrypted storage.
+ auto enc_storage =
+ std::make_shared<OffsetVfsFile>(std::move(base_storage), meta_size, meta_offset);
+ R_UNLESS(enc_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Create the decrypted storage.
+ VirtualFile decrypted_storage;
+ if (encryption_type != NcaFsHeader::EncryptionType::None) {
+ R_TRY(this->CreateAesCtrStorage(std::addressof(decrypted_storage), std::move(enc_storage),
+ offset + meta_offset, upper_iv,
+ AlignmentStorageRequirement::None));
+ } else {
+ // If encryption type is none, don't do any decryption.
+ decrypted_storage = std::move(enc_storage);
+ }
+
+ // Create meta storage.
+ auto meta_storage = std::make_shared<OffsetVfsFile>(decrypted_storage, meta_size, 0);
+ R_UNLESS(meta_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Create buffered storage.
+ std::vector<u8> meta_data(meta_size);
+ meta_storage->Read(meta_data.data(), meta_size, 0);
+
+ auto buffered_storage = std::make_shared<VectorVfsFile>(std::move(meta_data));
+ R_UNLESS(buffered_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Set the output.
+ *out = std::move(buffered_storage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::CreateAesCtrExStorage(
+ VirtualFile* out, std::shared_ptr<AesCtrCounterExtendedStorage>* out_ext,
+ VirtualFile base_storage, VirtualFile meta_storage, s64 counter_offset,
+ const NcaAesCtrUpperIv& upper_iv, const NcaPatchInfo& patch_info) {
+ // Validate pre-conditions.
+ ASSERT(out != nullptr);
+ ASSERT(base_storage != nullptr);
+ ASSERT(meta_storage != nullptr);
+ ASSERT(patch_info.HasAesCtrExTable());
+
+ // Read the bucket tree header.
+ BucketTree::Header header;
+ std::memcpy(std::addressof(header), patch_info.aes_ctr_ex_header.data(), sizeof(header));
+ R_TRY(header.Verify());
+
+ // Determine the bucket extents.
+ const auto entry_count = header.entry_count;
+ const s64 data_offset = 0;
+ const s64 data_size = patch_info.aes_ctr_ex_offset;
+ const s64 node_offset = 0;
+ const s64 node_size = AesCtrCounterExtendedStorage::QueryNodeStorageSize(entry_count);
+ const s64 entry_offset = node_offset + node_size;
+ const s64 entry_size = AesCtrCounterExtendedStorage::QueryEntryStorageSize(entry_count);
+
+ // Create bucket storages.
+ auto data_storage =
+ std::make_shared<OffsetVfsFile>(std::move(base_storage), data_size, data_offset);
+ auto node_storage = std::make_shared<OffsetVfsFile>(meta_storage, node_size, node_offset);
+ auto entry_storage = std::make_shared<OffsetVfsFile>(meta_storage, entry_size, entry_offset);
+
+ // Get the secure value.
+ const auto secure_value = upper_iv.part.secure_value;
+
+ // Create the aes ctr ex storage.
+ VirtualFile aes_ctr_ex_storage;
+ if (m_reader->HasExternalDecryptionKey()) {
+ // Create the decryptor.
+ std::unique_ptr<AesCtrCounterExtendedStorage::IDecryptor> decryptor;
+ R_TRY(AesCtrCounterExtendedStorage::CreateSoftwareDecryptor(std::addressof(decryptor)));
+
+ // Create the aes ctr ex storage.
+ auto impl_storage = std::make_shared<AesCtrCounterExtendedStorage>();
+ R_UNLESS(impl_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Initialize the aes ctr ex storage.
+ R_TRY(impl_storage->Initialize(m_reader->GetExternalDecryptionKey(), AesCtrStorage::KeySize,
+ secure_value, counter_offset, data_storage, node_storage,
+ entry_storage, entry_count, std::move(decryptor)));
+
+ // Potentially set the output implementation storage.
+ if (out_ext != nullptr) {
+ *out_ext = impl_storage;
+ }
+
+ // Set the implementation storage.
+ aes_ctr_ex_storage = std::move(impl_storage);
+ } else {
+ // Create the software decryptor.
+ std::unique_ptr<AesCtrCounterExtendedStorage::IDecryptor> sw_decryptor;
+ R_TRY(AesCtrCounterExtendedStorage::CreateSoftwareDecryptor(std::addressof(sw_decryptor)));
+
+ // Make the software storage.
+ auto sw_storage = std::make_shared<AesCtrCounterExtendedStorage>();
+ R_UNLESS(sw_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Initialize the software storage.
+ R_TRY(sw_storage->Initialize(m_reader->GetDecryptionKey(NcaHeader::DecryptionKey_AesCtr),
+ AesCtrStorage::KeySize, secure_value, counter_offset,
+ data_storage, node_storage, entry_storage, entry_count,
+ std::move(sw_decryptor)));
+
+ // Potentially set the output implementation storage.
+ if (out_ext != nullptr) {
+ *out_ext = sw_storage;
+ }
+
+ // Set the implementation storage.
+ aes_ctr_ex_storage = std::move(sw_storage);
+ }
+
+ // Create an alignment-matching storage.
+ using AlignedStorage = AlignmentMatchingStorage<NcaHeader::CtrBlockSize, 1>;
+ auto aligned_storage = std::make_shared<AlignedStorage>(std::move(aes_ctr_ex_storage));
+ R_UNLESS(aligned_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Set the output.
+ *out = std::move(aligned_storage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::CreateIndirectStorageMetaStorage(VirtualFile* out,
+ VirtualFile base_storage,
+ const NcaPatchInfo& patch_info) {
+ // Validate preconditions.
+ ASSERT(out != nullptr);
+ ASSERT(base_storage != nullptr);
+ ASSERT(patch_info.HasIndirectTable());
+
+ // Get the base storage size.
+ s64 base_size = base_storage->GetSize();
+
+ // Check that we're within range.
+ R_UNLESS(patch_info.indirect_offset + patch_info.indirect_size <= base_size,
+ ResultNcaBaseStorageOutOfRangeE);
+
+ // Create the meta storage.
+ auto meta_storage = std::make_shared<OffsetVfsFile>(base_storage, patch_info.indirect_size,
+ patch_info.indirect_offset);
+ R_UNLESS(meta_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Create buffered storage.
+ std::vector<u8> meta_data(patch_info.indirect_size);
+ meta_storage->Read(meta_data.data(), patch_info.indirect_size, 0);
+
+ auto buffered_storage = std::make_shared<VectorVfsFile>(std::move(meta_data));
+ R_UNLESS(buffered_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Set the output.
+ *out = std::move(buffered_storage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::CreateIndirectStorage(
+ VirtualFile* out, std::shared_ptr<IndirectStorage>* out_ind, VirtualFile base_storage,
+ VirtualFile original_data_storage, VirtualFile meta_storage, const NcaPatchInfo& patch_info) {
+ // Validate preconditions.
+ ASSERT(out != nullptr);
+ ASSERT(base_storage != nullptr);
+ ASSERT(meta_storage != nullptr);
+ ASSERT(patch_info.HasIndirectTable());
+
+ // Read the bucket tree header.
+ BucketTree::Header header;
+ std::memcpy(std::addressof(header), patch_info.indirect_header.data(), sizeof(header));
+ R_TRY(header.Verify());
+
+ // Determine the storage sizes.
+ const auto node_size = IndirectStorage::QueryNodeStorageSize(header.entry_count);
+ const auto entry_size = IndirectStorage::QueryEntryStorageSize(header.entry_count);
+ R_UNLESS(node_size + entry_size <= patch_info.indirect_size,
+ ResultInvalidNcaIndirectStorageOutOfRange);
+
+ // Get the indirect data size.
+ const s64 indirect_data_size = patch_info.indirect_offset;
+ ASSERT(Common::IsAligned(indirect_data_size, NcaHeader::XtsBlockSize));
+
+ // Create the indirect data storage.
+ auto indirect_data_storage =
+ std::make_shared<OffsetVfsFile>(base_storage, indirect_data_size, 0);
+ R_UNLESS(indirect_data_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Create the indirect storage.
+ auto indirect_storage = std::make_shared<IndirectStorage>();
+ R_UNLESS(indirect_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Initialize the indirect storage.
+ R_TRY(indirect_storage->Initialize(
+ std::make_shared<OffsetVfsFile>(meta_storage, node_size, 0),
+ std::make_shared<OffsetVfsFile>(meta_storage, entry_size, node_size), header.entry_count));
+
+ // Get the original data size.
+ s64 original_data_size = original_data_storage->GetSize();
+
+ // Set the indirect storages.
+ indirect_storage->SetStorage(
+ 0, std::make_shared<OffsetVfsFile>(original_data_storage, original_data_size, 0));
+ indirect_storage->SetStorage(
+ 1, std::make_shared<OffsetVfsFile>(indirect_data_storage, indirect_data_size, 0));
+
+ // If necessary, set the output indirect storage.
+ if (out_ind != nullptr) {
+ *out_ind = indirect_storage;
+ }
+
+ // Set the output.
+ *out = std::move(indirect_storage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::CreatePatchMetaStorage(
+ VirtualFile* out_aes_ctr_ex_meta, VirtualFile* out_indirect_meta,
+ VirtualFile* out_layer_info_storage, VirtualFile base_storage, s64 offset,
+ const NcaAesCtrUpperIv& upper_iv, const NcaPatchInfo& patch_info,
+ const NcaMetaDataHashDataInfo& meta_data_hash_data_info) {
+ // Validate preconditions.
+ ASSERT(out_aes_ctr_ex_meta != nullptr);
+ ASSERT(out_indirect_meta != nullptr);
+ ASSERT(base_storage != nullptr);
+ ASSERT(patch_info.HasAesCtrExTable());
+ ASSERT(patch_info.HasIndirectTable());
+ ASSERT(Common::IsAligned<s64>(patch_info.aes_ctr_ex_size, NcaHeader::XtsBlockSize));
+
+ // Validate patch info extents.
+ R_UNLESS(patch_info.indirect_size > 0, ResultInvalidNcaPatchInfoIndirectSize);
+ R_UNLESS(patch_info.aes_ctr_ex_size >= 0, ResultInvalidNcaPatchInfoAesCtrExSize);
+ R_UNLESS(patch_info.indirect_size + patch_info.indirect_offset <= patch_info.aes_ctr_ex_offset,
+ ResultInvalidNcaPatchInfoAesCtrExOffset);
+ R_UNLESS(patch_info.aes_ctr_ex_offset + patch_info.aes_ctr_ex_size <=
+ meta_data_hash_data_info.offset,
+ ResultRomNcaInvalidPatchMetaDataHashDataOffset);
+
+ // Get the base storage size.
+ s64 base_size = base_storage->GetSize();
+
+ // Check that extents remain within range.
+ R_UNLESS(patch_info.indirect_offset + patch_info.indirect_size <= base_size,
+ ResultNcaBaseStorageOutOfRangeE);
+ R_UNLESS(patch_info.aes_ctr_ex_offset + patch_info.aes_ctr_ex_size <= base_size,
+ ResultNcaBaseStorageOutOfRangeB);
+
+ // Check that metadata hash data extents remain within range.
+ const s64 meta_data_hash_data_offset = meta_data_hash_data_info.offset;
+ const s64 meta_data_hash_data_size =
+ Common::AlignUp<s64>(meta_data_hash_data_info.size, NcaHeader::CtrBlockSize);
+ R_UNLESS(meta_data_hash_data_offset + meta_data_hash_data_size <= base_size,
+ ResultNcaBaseStorageOutOfRangeB);
+
+ // Create the encrypted storage.
+ auto enc_storage = std::make_shared<OffsetVfsFile>(
+ std::move(base_storage),
+ meta_data_hash_data_offset + meta_data_hash_data_size - patch_info.indirect_offset,
+ patch_info.indirect_offset);
+ R_UNLESS(enc_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Create the decrypted storage.
+ VirtualFile decrypted_storage;
+ R_TRY(this->CreateAesCtrStorage(std::addressof(decrypted_storage), std::move(enc_storage),
+ offset + patch_info.indirect_offset, upper_iv,
+ AlignmentStorageRequirement::None));
+
+ // Create the verification storage.
+ VirtualFile integrity_storage;
+ Result rc = this->CreateIntegrityVerificationStorageForMeta(
+ std::addressof(integrity_storage), out_layer_info_storage, std::move(decrypted_storage),
+ patch_info.indirect_offset, meta_data_hash_data_info);
+ if (rc == ResultInvalidNcaMetaDataHashDataSize) {
+ R_THROW(ResultRomNcaInvalidPatchMetaDataHashDataSize);
+ }
+ if (rc == ResultInvalidNcaMetaDataHashDataHash) {
+ R_THROW(ResultRomNcaInvalidPatchMetaDataHashDataHash);
+ }
+ R_TRY(rc);
+
+ // Create the indirect meta storage.
+ auto indirect_meta_storage =
+ std::make_shared<OffsetVfsFile>(integrity_storage, patch_info.indirect_size,
+ patch_info.indirect_offset - patch_info.indirect_offset);
+ R_UNLESS(indirect_meta_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Create the aes ctr ex meta storage.
+ auto aes_ctr_ex_meta_storage =
+ std::make_shared<OffsetVfsFile>(integrity_storage, patch_info.aes_ctr_ex_size,
+ patch_info.aes_ctr_ex_offset - patch_info.indirect_offset);
+ R_UNLESS(aes_ctr_ex_meta_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Set the output.
+ *out_aes_ctr_ex_meta = std::move(aes_ctr_ex_meta_storage);
+ *out_indirect_meta = std::move(indirect_meta_storage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::CreateSha256Storage(
+ VirtualFile* out, VirtualFile base_storage,
+ const NcaFsHeader::HashData::HierarchicalSha256Data& hash_data) {
+ // Validate preconditions.
+ ASSERT(out != nullptr);
+ ASSERT(base_storage != nullptr);
+
+ // Define storage types.
+ using VerificationStorage = HierarchicalSha256Storage;
+
+ // Validate the hash data.
+ R_UNLESS(Common::IsPowerOfTwo(hash_data.hash_block_size),
+ ResultInvalidHierarchicalSha256BlockSize);
+ R_UNLESS(hash_data.hash_layer_count == VerificationStorage::LayerCount - 1,
+ ResultInvalidHierarchicalSha256LayerCount);
+
+ // Get the regions.
+ const auto& hash_region = hash_data.hash_layer_region[0];
+ const auto& data_region = hash_data.hash_layer_region[1];
+
+ // Determine buffer sizes.
+ constexpr s32 CacheBlockCount = 2;
+ const auto hash_buffer_size = static_cast<size_t>(hash_region.size);
+ const auto cache_buffer_size = CacheBlockCount * hash_data.hash_block_size;
+ const auto total_buffer_size = hash_buffer_size + cache_buffer_size;
+
+ // Make a buffer holder storage.
+ auto buffer_hold_storage = std::make_shared<MemoryResourceBufferHoldStorage>(
+ std::move(base_storage), total_buffer_size);
+ R_UNLESS(buffer_hold_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+ R_UNLESS(buffer_hold_storage->IsValid(), ResultAllocationMemoryFailedInNcaFileSystemDriverI);
+
+ // Get storage size.
+ s64 base_size = buffer_hold_storage->GetSize();
+
+ // Check that we're within range.
+ R_UNLESS(hash_region.offset + hash_region.size <= base_size, ResultNcaBaseStorageOutOfRangeC);
+ R_UNLESS(data_region.offset + data_region.size <= base_size, ResultNcaBaseStorageOutOfRangeC);
+
+ // Create the master hash storage.
+ auto master_hash_storage =
+ std::make_shared<ArrayVfsFile<sizeof(Hash)>>(hash_data.fs_data_master_hash.value);
+
+ // Make the verification storage.
+ auto verification_storage = std::make_shared<VerificationStorage>();
+ R_UNLESS(verification_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Make layer storages.
+ std::array<VirtualFile, VerificationStorage::LayerCount> layer_storages{
+ std::make_shared<OffsetVfsFile>(master_hash_storage, sizeof(Hash), 0),
+ std::make_shared<OffsetVfsFile>(buffer_hold_storage, hash_region.size, hash_region.offset),
+ std::make_shared<OffsetVfsFile>(buffer_hold_storage, data_region.size, data_region.offset),
+ };
+
+ // Initialize the verification storage.
+ R_TRY(verification_storage->Initialize(layer_storages.data(), VerificationStorage::LayerCount,
+ hash_data.hash_block_size,
+ buffer_hold_storage->GetBuffer(), hash_buffer_size));
+
+ // Set the output.
+ *out = std::move(verification_storage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::CreateIntegrityVerificationStorage(
+ VirtualFile* out, VirtualFile base_storage,
+ const NcaFsHeader::HashData::IntegrityMetaInfo& meta_info) {
+ R_RETURN(this->CreateIntegrityVerificationStorageImpl(
+ out, base_storage, meta_info, 0, IntegrityDataCacheCount, IntegrityHashCacheCount,
+ HierarchicalIntegrityVerificationStorage::GetDefaultDataCacheBufferLevel(
+ meta_info.level_hash_info.max_layers)));
+}
+
+Result NcaFileSystemDriver::CreateIntegrityVerificationStorageForMeta(
+ VirtualFile* out, VirtualFile* out_layer_info_storage, VirtualFile base_storage, s64 offset,
+ const NcaMetaDataHashDataInfo& meta_data_hash_data_info) {
+ // Validate preconditions.
+ ASSERT(out != nullptr);
+
+ // Check the meta data hash data size.
+ R_UNLESS(meta_data_hash_data_info.size == sizeof(NcaMetaDataHashData),
+ ResultInvalidNcaMetaDataHashDataSize);
+
+ // Read the meta data hash data.
+ NcaMetaDataHashData meta_data_hash_data;
+ base_storage->ReadObject(std::addressof(meta_data_hash_data),
+ meta_data_hash_data_info.offset - offset);
+
+ // Set the out layer info storage, if necessary.
+ if (out_layer_info_storage != nullptr) {
+ auto layer_info_storage = std::make_shared<OffsetVfsFile>(
+ base_storage,
+ meta_data_hash_data_info.offset + meta_data_hash_data_info.size -
+ meta_data_hash_data.layer_info_offset,
+ meta_data_hash_data.layer_info_offset - offset);
+ R_UNLESS(layer_info_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ *out_layer_info_storage = std::move(layer_info_storage);
+ }
+
+ // Create the meta storage.
+ auto meta_storage = std::make_shared<OffsetVfsFile>(
+ std::move(base_storage), meta_data_hash_data_info.offset - offset, 0);
+ R_UNLESS(meta_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Create the integrity verification storage.
+ R_RETURN(this->CreateIntegrityVerificationStorageImpl(
+ out, std::move(meta_storage), meta_data_hash_data.integrity_meta_info,
+ meta_data_hash_data.layer_info_offset - offset, IntegrityDataCacheCountForMeta,
+ IntegrityHashCacheCountForMeta, 0));
+}
+
+Result NcaFileSystemDriver::CreateIntegrityVerificationStorageImpl(
+ VirtualFile* out, VirtualFile base_storage,
+ const NcaFsHeader::HashData::IntegrityMetaInfo& meta_info, s64 layer_info_offset,
+ int max_data_cache_entries, int max_hash_cache_entries, s8 buffer_level) {
+ // Validate preconditions.
+ ASSERT(out != nullptr);
+ ASSERT(base_storage != nullptr);
+ ASSERT(layer_info_offset >= 0);
+
+ // Define storage types.
+ using VerificationStorage = HierarchicalIntegrityVerificationStorage;
+ using StorageInfo = VerificationStorage::HierarchicalStorageInformation;
+
+ // Validate the meta info.
+ HierarchicalIntegrityVerificationInformation level_hash_info;
+ std::memcpy(std::addressof(level_hash_info), std::addressof(meta_info.level_hash_info),
+ sizeof(level_hash_info));
+
+ R_UNLESS(IntegrityMinLayerCount <= level_hash_info.max_layers,
+ ResultInvalidNcaHierarchicalIntegrityVerificationLayerCount);
+ R_UNLESS(level_hash_info.max_layers <= IntegrityMaxLayerCount,
+ ResultInvalidNcaHierarchicalIntegrityVerificationLayerCount);
+
+ // Get the base storage size.
+ s64 base_storage_size = base_storage->GetSize();
+
+ // Create storage info.
+ StorageInfo storage_info;
+ for (s32 i = 0; i < static_cast<s32>(level_hash_info.max_layers - 2); ++i) {
+ const auto& layer_info = level_hash_info.info[i];
+ R_UNLESS(layer_info_offset + layer_info.offset + layer_info.size <= base_storage_size,
+ ResultNcaBaseStorageOutOfRangeD);
+
+ storage_info[i + 1] = std::make_shared<OffsetVfsFile>(
+ base_storage, layer_info.size, layer_info_offset + layer_info.offset);
+ }
+
+ // Set the last layer info.
+ const auto& layer_info = level_hash_info.info[level_hash_info.max_layers - 2];
+ const s64 last_layer_info_offset = layer_info_offset > 0 ? 0LL : layer_info.offset.Get();
+ R_UNLESS(last_layer_info_offset + layer_info.size <= base_storage_size,
+ ResultNcaBaseStorageOutOfRangeD);
+ if (layer_info_offset > 0) {
+ R_UNLESS(last_layer_info_offset + layer_info.size <= layer_info_offset,
+ ResultRomNcaInvalidIntegrityLayerInfoOffset);
+ }
+ storage_info.SetDataStorage(std::make_shared<OffsetVfsFile>(
+ std::move(base_storage), layer_info.size, last_layer_info_offset));
+
+ // Make the integrity romfs storage.
+ auto integrity_storage = std::make_shared<IntegrityRomFsStorage>();
+ R_UNLESS(integrity_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Initialize the integrity storage.
+ R_TRY(integrity_storage->Initialize(level_hash_info, meta_info.master_hash, storage_info,
+ max_data_cache_entries, max_hash_cache_entries,
+ buffer_level));
+
+ // Set the output.
+ *out = std::move(integrity_storage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::CreateRegionSwitchStorage(VirtualFile* out,
+ const NcaFsHeaderReader* header_reader,
+ VirtualFile inside_storage,
+ VirtualFile outside_storage) {
+ // Check pre-conditions.
+ ASSERT(header_reader->GetHashType() == NcaFsHeader::HashType::HierarchicalIntegrityHash);
+
+ // Create the region.
+ RegionSwitchStorage::Region region = {};
+ R_TRY(header_reader->GetHashTargetOffset(std::addressof(region.size)));
+
+ // Create the region switch storage.
+ auto region_switch_storage = std::make_shared<RegionSwitchStorage>(
+ std::move(inside_storage), std::move(outside_storage), region);
+ R_UNLESS(region_switch_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Set the output.
+ *out = std::move(region_switch_storage);
+ R_SUCCEED();
+}
+
+Result NcaFileSystemDriver::CreateCompressedStorage(VirtualFile* out,
+ std::shared_ptr<CompressedStorage>* out_cmp,
+ VirtualFile* out_meta, VirtualFile base_storage,
+ const NcaCompressionInfo& compression_info) {
+ R_RETURN(this->CreateCompressedStorage(out, out_cmp, out_meta, std::move(base_storage),
+ compression_info, m_reader->GetDecompressor()));
+}
+
+Result NcaFileSystemDriver::CreateCompressedStorage(VirtualFile* out,
+ std::shared_ptr<CompressedStorage>* out_cmp,
+ VirtualFile* out_meta, VirtualFile base_storage,
+ const NcaCompressionInfo& compression_info,
+ GetDecompressorFunction get_decompressor) {
+ // Check pre-conditions.
+ ASSERT(out != nullptr);
+ ASSERT(base_storage != nullptr);
+ ASSERT(get_decompressor != nullptr);
+
+ // Read and verify the bucket tree header.
+ BucketTree::Header header;
+ std::memcpy(std::addressof(header), compression_info.bucket.header.data(), sizeof(header));
+ R_TRY(header.Verify());
+
+ // Determine the storage extents.
+ const auto table_offset = compression_info.bucket.offset;
+ const auto table_size = compression_info.bucket.size;
+ const auto node_size = CompressedStorage::QueryNodeStorageSize(header.entry_count);
+ const auto entry_size = CompressedStorage::QueryEntryStorageSize(header.entry_count);
+ R_UNLESS(node_size + entry_size <= table_size, ResultInvalidCompressedStorageSize);
+
+ // If we should, set the output meta storage.
+ if (out_meta != nullptr) {
+ auto meta_storage = std::make_shared<OffsetVfsFile>(base_storage, table_size, table_offset);
+ R_UNLESS(meta_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ *out_meta = std::move(meta_storage);
+ }
+
+ // Allocate the compressed storage.
+ auto compressed_storage = std::make_shared<CompressedStorage>();
+ R_UNLESS(compressed_storage != nullptr, ResultAllocationMemoryFailedAllocateShared);
+
+ // Initialize the compressed storage.
+ R_TRY(compressed_storage->Initialize(
+ std::make_shared<OffsetVfsFile>(base_storage, table_offset, 0),
+ std::make_shared<OffsetVfsFile>(base_storage, node_size, table_offset),
+ std::make_shared<OffsetVfsFile>(base_storage, entry_size, table_offset + node_size),
+ header.entry_count, 64_KiB, 640_KiB, get_decompressor, 16_KiB, 16_KiB, 32));
+
+ // Potentially set the output compressed storage.
+ if (out_cmp) {
+ *out_cmp = compressed_storage;
+ }
+
+ // Set the output.
+ *out = std::move(compressed_storage);
+ R_SUCCEED();
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_nca_file_system_driver.h b/src/core/file_sys/fssystem/fssystem_nca_file_system_driver.h
new file mode 100644
index 000000000..5771a21fc
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_nca_file_system_driver.h
@@ -0,0 +1,364 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/file_sys/fssystem/fssystem_compression_common.h"
+#include "core/file_sys/fssystem/fssystem_nca_header.h"
+#include "core/file_sys/vfs.h"
+
+namespace FileSys {
+
+class CompressedStorage;
+class AesCtrCounterExtendedStorage;
+class IndirectStorage;
+class SparseStorage;
+
+struct NcaCryptoConfiguration;
+
+using KeyGenerationFunction = void (*)(void* dst_key, size_t dst_key_size, const void* src_key,
+ size_t src_key_size, s32 key_type);
+using VerifySign1Function = bool (*)(const void* sig, size_t sig_size, const void* data,
+ size_t data_size, u8 generation);
+
+struct NcaCryptoConfiguration {
+ static constexpr size_t Rsa2048KeyModulusSize = 2048 / 8;
+ static constexpr size_t Rsa2048KeyPublicExponentSize = 3;
+ static constexpr size_t Rsa2048KeyPrivateExponentSize = Rsa2048KeyModulusSize;
+
+ static constexpr size_t Aes128KeySize = 128 / 8;
+
+ static constexpr size_t Header1SignatureKeyGenerationMax = 1;
+
+ static constexpr s32 KeyAreaEncryptionKeyIndexCount = 3;
+ static constexpr s32 HeaderEncryptionKeyCount = 2;
+
+ static constexpr u8 KeyAreaEncryptionKeyIndexZeroKey = 0xFF;
+
+ static constexpr size_t KeyGenerationMax = 32;
+
+ std::array<const u8*, Header1SignatureKeyGenerationMax + 1> header_1_sign_key_moduli;
+ std::array<u8, Rsa2048KeyPublicExponentSize> header_1_sign_key_public_exponent;
+ std::array<std::array<u8, Aes128KeySize>, KeyAreaEncryptionKeyIndexCount>
+ key_area_encryption_key_source;
+ std::array<u8, Aes128KeySize> header_encryption_key_source;
+ std::array<std::array<u8, Aes128KeySize>, HeaderEncryptionKeyCount>
+ header_encrypted_encryption_keys;
+ KeyGenerationFunction generate_key;
+ VerifySign1Function verify_sign1;
+ bool is_plaintext_header_available;
+ bool is_available_sw_key;
+};
+static_assert(std::is_trivial_v<NcaCryptoConfiguration>);
+
+struct NcaCompressionConfiguration {
+ GetDecompressorFunction get_decompressor;
+};
+static_assert(std::is_trivial_v<NcaCompressionConfiguration>);
+
+constexpr inline s32 KeyAreaEncryptionKeyCount =
+ NcaCryptoConfiguration::KeyAreaEncryptionKeyIndexCount *
+ NcaCryptoConfiguration::KeyGenerationMax;
+
+enum class KeyType : s32 {
+ ZeroKey = -2,
+ InvalidKey = -1,
+ NcaHeaderKey1 = KeyAreaEncryptionKeyCount + 0,
+ NcaHeaderKey2 = KeyAreaEncryptionKeyCount + 1,
+ NcaExternalKey = KeyAreaEncryptionKeyCount + 2,
+ SaveDataDeviceUniqueMac = KeyAreaEncryptionKeyCount + 3,
+ SaveDataSeedUniqueMac = KeyAreaEncryptionKeyCount + 4,
+ SaveDataTransferMac = KeyAreaEncryptionKeyCount + 5,
+};
+
+constexpr inline bool IsInvalidKeyTypeValue(s32 key_type) {
+ return key_type < 0;
+}
+
+constexpr inline s32 GetKeyTypeValue(u8 key_index, u8 key_generation) {
+ if (key_index == NcaCryptoConfiguration::KeyAreaEncryptionKeyIndexZeroKey) {
+ return static_cast<s32>(KeyType::ZeroKey);
+ }
+
+ if (key_index >= NcaCryptoConfiguration::KeyAreaEncryptionKeyIndexCount) {
+ return static_cast<s32>(KeyType::InvalidKey);
+ }
+
+ return NcaCryptoConfiguration::KeyAreaEncryptionKeyIndexCount * key_generation + key_index;
+}
+
+class NcaReader {
+ YUZU_NON_COPYABLE(NcaReader);
+ YUZU_NON_MOVEABLE(NcaReader);
+
+public:
+ NcaReader();
+ ~NcaReader();
+
+ Result Initialize(VirtualFile base_storage, const NcaCryptoConfiguration& crypto_cfg,
+ const NcaCompressionConfiguration& compression_cfg);
+
+ VirtualFile GetSharedBodyStorage();
+ u32 GetMagic() const;
+ NcaHeader::DistributionType GetDistributionType() const;
+ NcaHeader::ContentType GetContentType() const;
+ u8 GetHeaderSign1KeyGeneration() const;
+ u8 GetKeyGeneration() const;
+ u8 GetKeyIndex() const;
+ u64 GetContentSize() const;
+ u64 GetProgramId() const;
+ u32 GetContentIndex() const;
+ u32 GetSdkAddonVersion() const;
+ void GetRightsId(u8* dst, size_t dst_size) const;
+ bool HasFsInfo(s32 index) const;
+ s32 GetFsCount() const;
+ const Hash& GetFsHeaderHash(s32 index) const;
+ void GetFsHeaderHash(Hash* dst, s32 index) const;
+ void GetFsInfo(NcaHeader::FsInfo* dst, s32 index) const;
+ u64 GetFsOffset(s32 index) const;
+ u64 GetFsEndOffset(s32 index) const;
+ u64 GetFsSize(s32 index) const;
+ void GetEncryptedKey(void* dst, size_t size) const;
+ const void* GetDecryptionKey(s32 index) const;
+ bool HasValidInternalKey() const;
+ bool HasInternalDecryptionKeyForAesHw() const;
+ bool IsSoftwareAesPrioritized() const;
+ void PrioritizeSoftwareAes();
+ bool IsAvailableSwKey() const;
+ bool HasExternalDecryptionKey() const;
+ const void* GetExternalDecryptionKey() const;
+ void SetExternalDecryptionKey(const void* src, size_t size);
+ void GetRawData(void* dst, size_t dst_size) const;
+ NcaHeader::EncryptionType GetEncryptionType() const;
+ Result ReadHeader(NcaFsHeader* dst, s32 index) const;
+
+ GetDecompressorFunction GetDecompressor() const;
+
+ bool GetHeaderSign1Valid() const;
+
+ void GetHeaderSign2(void* dst, size_t size) const;
+
+private:
+ NcaHeader m_header;
+ std::array<std::array<u8, NcaCryptoConfiguration::Aes128KeySize>,
+ NcaHeader::DecryptionKey_Count>
+ m_decryption_keys;
+ VirtualFile m_body_storage;
+ VirtualFile m_header_storage;
+ std::array<u8, NcaCryptoConfiguration::Aes128KeySize> m_external_decryption_key;
+ bool m_is_software_aes_prioritized;
+ bool m_is_available_sw_key;
+ NcaHeader::EncryptionType m_header_encryption_type;
+ bool m_is_header_sign1_signature_valid;
+ GetDecompressorFunction m_get_decompressor;
+};
+
+class NcaFsHeaderReader {
+ YUZU_NON_COPYABLE(NcaFsHeaderReader);
+ YUZU_NON_MOVEABLE(NcaFsHeaderReader);
+
+public:
+ NcaFsHeaderReader() : m_fs_index(-1) {
+ std::memset(std::addressof(m_data), 0, sizeof(m_data));
+ }
+
+ Result Initialize(const NcaReader& reader, s32 index);
+ bool IsInitialized() const {
+ return m_fs_index >= 0;
+ }
+
+ void GetRawData(void* dst, size_t dst_size) const;
+
+ NcaFsHeader::HashData& GetHashData();
+ const NcaFsHeader::HashData& GetHashData() const;
+ u16 GetVersion() const;
+ s32 GetFsIndex() const;
+ NcaFsHeader::FsType GetFsType() const;
+ NcaFsHeader::HashType GetHashType() const;
+ NcaFsHeader::EncryptionType GetEncryptionType() const;
+ NcaPatchInfo& GetPatchInfo();
+ const NcaPatchInfo& GetPatchInfo() const;
+ const NcaAesCtrUpperIv GetAesCtrUpperIv() const;
+
+ bool IsSkipLayerHashEncryption() const;
+ Result GetHashTargetOffset(s64* out) const;
+
+ bool ExistsSparseLayer() const;
+ NcaSparseInfo& GetSparseInfo();
+ const NcaSparseInfo& GetSparseInfo() const;
+
+ bool ExistsCompressionLayer() const;
+ NcaCompressionInfo& GetCompressionInfo();
+ const NcaCompressionInfo& GetCompressionInfo() const;
+
+ bool ExistsPatchMetaHashLayer() const;
+ NcaMetaDataHashDataInfo& GetPatchMetaDataHashDataInfo();
+ const NcaMetaDataHashDataInfo& GetPatchMetaDataHashDataInfo() const;
+ NcaFsHeader::MetaDataHashType GetPatchMetaHashType() const;
+
+ bool ExistsSparseMetaHashLayer() const;
+ NcaMetaDataHashDataInfo& GetSparseMetaDataHashDataInfo();
+ const NcaMetaDataHashDataInfo& GetSparseMetaDataHashDataInfo() const;
+ NcaFsHeader::MetaDataHashType GetSparseMetaHashType() const;
+
+private:
+ NcaFsHeader m_data;
+ s32 m_fs_index;
+};
+
+class NcaFileSystemDriver {
+ YUZU_NON_COPYABLE(NcaFileSystemDriver);
+ YUZU_NON_MOVEABLE(NcaFileSystemDriver);
+
+public:
+ struct StorageContext {
+ bool open_raw_storage;
+ VirtualFile body_substorage;
+ std::shared_ptr<SparseStorage> current_sparse_storage;
+ VirtualFile sparse_storage_meta_storage;
+ std::shared_ptr<SparseStorage> original_sparse_storage;
+ void* external_current_sparse_storage;
+ void* external_original_sparse_storage;
+ VirtualFile aes_ctr_ex_storage_meta_storage;
+ VirtualFile aes_ctr_ex_storage_data_storage;
+ std::shared_ptr<AesCtrCounterExtendedStorage> aes_ctr_ex_storage;
+ VirtualFile indirect_storage_meta_storage;
+ std::shared_ptr<IndirectStorage> indirect_storage;
+ VirtualFile fs_data_storage;
+ VirtualFile compressed_storage_meta_storage;
+ std::shared_ptr<CompressedStorage> compressed_storage;
+
+ VirtualFile patch_layer_info_storage;
+ VirtualFile sparse_layer_info_storage;
+
+ VirtualFile external_original_storage;
+ };
+
+private:
+ enum class AlignmentStorageRequirement {
+ CacheBlockSize = 0,
+ None = 1,
+ };
+
+public:
+ static Result SetupFsHeaderReader(NcaFsHeaderReader* out, const NcaReader& reader,
+ s32 fs_index);
+
+public:
+ NcaFileSystemDriver(std::shared_ptr<NcaReader> reader) : m_original_reader(), m_reader(reader) {
+ ASSERT(m_reader != nullptr);
+ }
+
+ NcaFileSystemDriver(std::shared_ptr<NcaReader> original_reader,
+ std::shared_ptr<NcaReader> reader)
+ : m_original_reader(original_reader), m_reader(reader) {
+ ASSERT(m_reader != nullptr);
+ }
+
+ Result OpenStorageWithContext(VirtualFile* out, NcaFsHeaderReader* out_header_reader,
+ s32 fs_index, StorageContext* ctx);
+
+ Result OpenStorage(VirtualFile* out, NcaFsHeaderReader* out_header_reader, s32 fs_index) {
+ // Create a storage context.
+ StorageContext ctx{};
+
+ // Open the storage.
+ R_RETURN(OpenStorageWithContext(out, out_header_reader, fs_index, std::addressof(ctx)));
+ }
+
+public:
+ Result CreateStorageByRawStorage(VirtualFile* out, const NcaFsHeaderReader* header_reader,
+ VirtualFile raw_storage, StorageContext* ctx);
+
+private:
+ Result OpenStorageImpl(VirtualFile* out, NcaFsHeaderReader* out_header_reader, s32 fs_index,
+ StorageContext* ctx);
+
+ Result OpenIndirectableStorageAsOriginal(VirtualFile* out,
+ const NcaFsHeaderReader* header_reader,
+ StorageContext* ctx);
+
+ Result CreateBodySubStorage(VirtualFile* out, s64 offset, s64 size);
+
+ Result CreateAesCtrStorage(VirtualFile* out, VirtualFile base_storage, s64 offset,
+ const NcaAesCtrUpperIv& upper_iv,
+ AlignmentStorageRequirement alignment_storage_requirement);
+ Result CreateAesXtsStorage(VirtualFile* out, VirtualFile base_storage, s64 offset);
+
+ Result CreateSparseStorageMetaStorage(VirtualFile* out, VirtualFile base_storage, s64 offset,
+ const NcaAesCtrUpperIv& upper_iv,
+ const NcaSparseInfo& sparse_info);
+ Result CreateSparseStorageCore(std::shared_ptr<SparseStorage>* out, VirtualFile base_storage,
+ s64 base_size, VirtualFile meta_storage,
+ const NcaSparseInfo& sparse_info, bool external_info);
+ Result CreateSparseStorage(VirtualFile* out, s64* out_fs_data_offset,
+ std::shared_ptr<SparseStorage>* out_sparse_storage,
+ VirtualFile* out_meta_storage, s32 index,
+ const NcaAesCtrUpperIv& upper_iv, const NcaSparseInfo& sparse_info);
+
+ Result CreateSparseStorageMetaStorageWithVerification(
+ VirtualFile* out, VirtualFile* out_verification, VirtualFile base_storage, s64 offset,
+ const NcaAesCtrUpperIv& upper_iv, const NcaSparseInfo& sparse_info,
+ const NcaMetaDataHashDataInfo& meta_data_hash_data_info);
+ Result CreateSparseStorageWithVerification(
+ VirtualFile* out, s64* out_fs_data_offset,
+ std::shared_ptr<SparseStorage>* out_sparse_storage, VirtualFile* out_meta_storage,
+ VirtualFile* out_verification, s32 index, const NcaAesCtrUpperIv& upper_iv,
+ const NcaSparseInfo& sparse_info, const NcaMetaDataHashDataInfo& meta_data_hash_data_info,
+ NcaFsHeader::MetaDataHashType meta_data_hash_type);
+
+ Result CreateAesCtrExStorageMetaStorage(VirtualFile* out, VirtualFile base_storage, s64 offset,
+ NcaFsHeader::EncryptionType encryption_type,
+ const NcaAesCtrUpperIv& upper_iv,
+ const NcaPatchInfo& patch_info);
+ Result CreateAesCtrExStorage(VirtualFile* out,
+ std::shared_ptr<AesCtrCounterExtendedStorage>* out_ext,
+ VirtualFile base_storage, VirtualFile meta_storage,
+ s64 counter_offset, const NcaAesCtrUpperIv& upper_iv,
+ const NcaPatchInfo& patch_info);
+
+ Result CreateIndirectStorageMetaStorage(VirtualFile* out, VirtualFile base_storage,
+ const NcaPatchInfo& patch_info);
+ Result CreateIndirectStorage(VirtualFile* out, std::shared_ptr<IndirectStorage>* out_ind,
+ VirtualFile base_storage, VirtualFile original_data_storage,
+ VirtualFile meta_storage, const NcaPatchInfo& patch_info);
+
+ Result CreatePatchMetaStorage(VirtualFile* out_aes_ctr_ex_meta, VirtualFile* out_indirect_meta,
+ VirtualFile* out_verification, VirtualFile base_storage,
+ s64 offset, const NcaAesCtrUpperIv& upper_iv,
+ const NcaPatchInfo& patch_info,
+ const NcaMetaDataHashDataInfo& meta_data_hash_data_info);
+
+ Result CreateSha256Storage(VirtualFile* out, VirtualFile base_storage,
+ const NcaFsHeader::HashData::HierarchicalSha256Data& sha256_data);
+
+ Result CreateIntegrityVerificationStorage(
+ VirtualFile* out, VirtualFile base_storage,
+ const NcaFsHeader::HashData::IntegrityMetaInfo& meta_info);
+ Result CreateIntegrityVerificationStorageForMeta(
+ VirtualFile* out, VirtualFile* out_verification, VirtualFile base_storage, s64 offset,
+ const NcaMetaDataHashDataInfo& meta_data_hash_data_info);
+ Result CreateIntegrityVerificationStorageImpl(
+ VirtualFile* out, VirtualFile base_storage,
+ const NcaFsHeader::HashData::IntegrityMetaInfo& meta_info, s64 layer_info_offset,
+ int max_data_cache_entries, int max_hash_cache_entries, s8 buffer_level);
+
+ Result CreateRegionSwitchStorage(VirtualFile* out, const NcaFsHeaderReader* header_reader,
+ VirtualFile inside_storage, VirtualFile outside_storage);
+
+ Result CreateCompressedStorage(VirtualFile* out, std::shared_ptr<CompressedStorage>* out_cmp,
+ VirtualFile* out_meta, VirtualFile base_storage,
+ const NcaCompressionInfo& compression_info);
+
+public:
+ Result CreateCompressedStorage(VirtualFile* out, std::shared_ptr<CompressedStorage>* out_cmp,
+ VirtualFile* out_meta, VirtualFile base_storage,
+ const NcaCompressionInfo& compression_info,
+ GetDecompressorFunction get_decompressor);
+
+private:
+ std::shared_ptr<NcaReader> m_original_reader;
+ std::shared_ptr<NcaReader> m_reader;
+};
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_nca_header.cpp b/src/core/file_sys/fssystem/fssystem_nca_header.cpp
new file mode 100644
index 000000000..bf5742d39
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_nca_header.cpp
@@ -0,0 +1,20 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/file_sys/fssystem/fssystem_nca_header.h"
+
+namespace FileSys {
+
+u8 NcaHeader::GetProperKeyGeneration() const {
+ return std::max(this->key_generation, this->key_generation_2);
+}
+
+bool NcaPatchInfo::HasIndirectTable() const {
+ return this->indirect_size != 0;
+}
+
+bool NcaPatchInfo::HasAesCtrExTable() const {
+ return this->aes_ctr_ex_size != 0;
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_nca_header.h b/src/core/file_sys/fssystem/fssystem_nca_header.h
new file mode 100644
index 000000000..a02c5d881
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_nca_header.h
@@ -0,0 +1,338 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "common/common_funcs.h"
+#include "common/common_types.h"
+#include "common/literals.h"
+
+#include "core/file_sys/errors.h"
+#include "core/file_sys/fssystem/fs_types.h"
+
+namespace FileSys {
+
+using namespace Common::Literals;
+
+struct Hash {
+ static constexpr std::size_t Size = 256 / 8;
+ std::array<u8, Size> value;
+};
+static_assert(sizeof(Hash) == Hash::Size);
+static_assert(std::is_trivial_v<Hash>);
+
+using NcaDigest = Hash;
+
+struct NcaHeader {
+ enum class ContentType : u8 {
+ Program = 0,
+ Meta = 1,
+ Control = 2,
+ Manual = 3,
+ Data = 4,
+ PublicData = 5,
+
+ Start = Program,
+ End = PublicData,
+ };
+
+ enum class DistributionType : u8 {
+ Download = 0,
+ GameCard = 1,
+
+ Start = Download,
+ End = GameCard,
+ };
+
+ enum class EncryptionType : u8 {
+ Auto = 0,
+ None = 1,
+ };
+
+ enum DecryptionKey {
+ DecryptionKey_AesXts = 0,
+ DecryptionKey_AesXts1 = DecryptionKey_AesXts,
+ DecryptionKey_AesXts2 = 1,
+ DecryptionKey_AesCtr = 2,
+ DecryptionKey_AesCtrEx = 3,
+ DecryptionKey_AesCtrHw = 4,
+ DecryptionKey_Count,
+ };
+
+ struct FsInfo {
+ u32 start_sector;
+ u32 end_sector;
+ u32 hash_sectors;
+ u32 reserved;
+ };
+ static_assert(sizeof(FsInfo) == 0x10);
+ static_assert(std::is_trivial_v<FsInfo>);
+
+ static constexpr u32 Magic0 = Common::MakeMagic('N', 'C', 'A', '0');
+ static constexpr u32 Magic1 = Common::MakeMagic('N', 'C', 'A', '1');
+ static constexpr u32 Magic2 = Common::MakeMagic('N', 'C', 'A', '2');
+ static constexpr u32 Magic3 = Common::MakeMagic('N', 'C', 'A', '3');
+
+ static constexpr u32 Magic = Magic3;
+
+ static constexpr std::size_t Size = 1_KiB;
+ static constexpr s32 FsCountMax = 4;
+ static constexpr std::size_t HeaderSignCount = 2;
+ static constexpr std::size_t HeaderSignSize = 0x100;
+ static constexpr std::size_t EncryptedKeyAreaSize = 0x100;
+ static constexpr std::size_t SectorSize = 0x200;
+ static constexpr std::size_t SectorShift = 9;
+ static constexpr std::size_t RightsIdSize = 0x10;
+ static constexpr std::size_t XtsBlockSize = 0x200;
+ static constexpr std::size_t CtrBlockSize = 0x10;
+
+ static_assert(SectorSize == (1 << SectorShift));
+
+ // Data members.
+ std::array<u8, HeaderSignSize> header_sign_1;
+ std::array<u8, HeaderSignSize> header_sign_2;
+ u32 magic;
+ DistributionType distribution_type;
+ ContentType content_type;
+ u8 key_generation;
+ u8 key_index;
+ u64 content_size;
+ u64 program_id;
+ u32 content_index;
+ u32 sdk_addon_version;
+ u8 key_generation_2;
+ u8 header1_signature_key_generation;
+ std::array<u8, 2> reserved_222;
+ std::array<u32, 3> reserved_224;
+ std::array<u8, RightsIdSize> rights_id;
+ std::array<FsInfo, FsCountMax> fs_info;
+ std::array<Hash, FsCountMax> fs_header_hash;
+ std::array<u8, EncryptedKeyAreaSize> encrypted_key_area;
+
+ static constexpr u64 SectorToByte(u32 sector) {
+ return static_cast<u64>(sector) << SectorShift;
+ }
+
+ static constexpr u32 ByteToSector(u64 byte) {
+ return static_cast<u32>(byte >> SectorShift);
+ }
+
+ u8 GetProperKeyGeneration() const;
+};
+static_assert(sizeof(NcaHeader) == NcaHeader::Size);
+static_assert(std::is_trivial_v<NcaHeader>);
+
+struct NcaBucketInfo {
+ static constexpr size_t HeaderSize = 0x10;
+ Int64 offset;
+ Int64 size;
+ std::array<u8, HeaderSize> header;
+};
+static_assert(std::is_trivial_v<NcaBucketInfo>);
+
+struct NcaPatchInfo {
+ static constexpr size_t Size = 0x40;
+ static constexpr size_t Offset = 0x100;
+
+ Int64 indirect_offset;
+ Int64 indirect_size;
+ std::array<u8, NcaBucketInfo::HeaderSize> indirect_header;
+ Int64 aes_ctr_ex_offset;
+ Int64 aes_ctr_ex_size;
+ std::array<u8, NcaBucketInfo::HeaderSize> aes_ctr_ex_header;
+
+ bool HasIndirectTable() const;
+ bool HasAesCtrExTable() const;
+};
+static_assert(std::is_trivial_v<NcaPatchInfo>);
+
+union NcaAesCtrUpperIv {
+ u64 value;
+ struct {
+ u32 generation;
+ u32 secure_value;
+ } part;
+};
+static_assert(std::is_trivial_v<NcaAesCtrUpperIv>);
+
+struct NcaSparseInfo {
+ NcaBucketInfo bucket;
+ Int64 physical_offset;
+ u16 generation;
+ std::array<u8, 6> reserved;
+
+ s64 GetPhysicalSize() const {
+ return this->bucket.offset + this->bucket.size;
+ }
+
+ u32 GetGeneration() const {
+ return static_cast<u32>(this->generation) << 16;
+ }
+
+ const NcaAesCtrUpperIv MakeAesCtrUpperIv(NcaAesCtrUpperIv upper_iv) const {
+ NcaAesCtrUpperIv sparse_upper_iv = upper_iv;
+ sparse_upper_iv.part.generation = this->GetGeneration();
+ return sparse_upper_iv;
+ }
+};
+static_assert(std::is_trivial_v<NcaSparseInfo>);
+
+struct NcaCompressionInfo {
+ NcaBucketInfo bucket;
+ std::array<u8, 8> resreved;
+};
+static_assert(std::is_trivial_v<NcaCompressionInfo>);
+
+struct NcaMetaDataHashDataInfo {
+ Int64 offset;
+ Int64 size;
+ Hash hash;
+};
+static_assert(std::is_trivial_v<NcaMetaDataHashDataInfo>);
+
+struct NcaFsHeader {
+ static constexpr size_t Size = 0x200;
+ static constexpr size_t HashDataOffset = 0x8;
+
+ struct Region {
+ Int64 offset;
+ Int64 size;
+ };
+ static_assert(std::is_trivial_v<Region>);
+
+ enum class FsType : u8 {
+ RomFs = 0,
+ PartitionFs = 1,
+ };
+
+ enum class EncryptionType : u8 {
+ Auto = 0,
+ None = 1,
+ AesXts = 2,
+ AesCtr = 3,
+ AesCtrEx = 4,
+ AesCtrSkipLayerHash = 5,
+ AesCtrExSkipLayerHash = 6,
+ };
+
+ enum class HashType : u8 {
+ Auto = 0,
+ None = 1,
+ HierarchicalSha256Hash = 2,
+ HierarchicalIntegrityHash = 3,
+ AutoSha3 = 4,
+ HierarchicalSha3256Hash = 5,
+ HierarchicalIntegritySha3Hash = 6,
+ };
+
+ enum class MetaDataHashType : u8 {
+ None = 0,
+ HierarchicalIntegrity = 1,
+ };
+
+ union HashData {
+ struct HierarchicalSha256Data {
+ static constexpr size_t HashLayerCountMax = 5;
+ static const size_t MasterHashOffset;
+
+ Hash fs_data_master_hash;
+ s32 hash_block_size;
+ s32 hash_layer_count;
+ std::array<Region, HashLayerCountMax> hash_layer_region;
+ } hierarchical_sha256_data;
+ static_assert(std::is_trivial_v<HierarchicalSha256Data>);
+
+ struct IntegrityMetaInfo {
+ static const size_t MasterHashOffset;
+
+ u32 magic;
+ u32 version;
+ u32 master_hash_size;
+
+ struct LevelHashInfo {
+ u32 max_layers;
+
+ struct HierarchicalIntegrityVerificationLevelInformation {
+ static constexpr size_t IntegrityMaxLayerCount = 7;
+ Int64 offset;
+ Int64 size;
+ s32 block_order;
+ std::array<u8, 4> reserved;
+ };
+ std::array<
+ HierarchicalIntegrityVerificationLevelInformation,
+ HierarchicalIntegrityVerificationLevelInformation::IntegrityMaxLayerCount - 1>
+ info;
+
+ struct SignatureSalt {
+ static constexpr size_t Size = 0x20;
+ std::array<u8, Size> value;
+ };
+ SignatureSalt seed;
+ } level_hash_info;
+
+ Hash master_hash;
+ } integrity_meta_info;
+ static_assert(std::is_trivial_v<IntegrityMetaInfo>);
+
+ std::array<u8, NcaPatchInfo::Offset - HashDataOffset> padding;
+ };
+
+ u16 version;
+ FsType fs_type;
+ HashType hash_type;
+ EncryptionType encryption_type;
+ MetaDataHashType meta_data_hash_type;
+ std::array<u8, 2> reserved;
+ HashData hash_data;
+ NcaPatchInfo patch_info;
+ NcaAesCtrUpperIv aes_ctr_upper_iv;
+ NcaSparseInfo sparse_info;
+ NcaCompressionInfo compression_info;
+ NcaMetaDataHashDataInfo meta_data_hash_data_info;
+ std::array<u8, 0x30> pad;
+
+ bool IsSkipLayerHashEncryption() const {
+ return this->encryption_type == EncryptionType::AesCtrSkipLayerHash ||
+ this->encryption_type == EncryptionType::AesCtrExSkipLayerHash;
+ }
+
+ Result GetHashTargetOffset(s64* out) const {
+ switch (this->hash_type) {
+ case HashType::HierarchicalIntegrityHash:
+ case HashType::HierarchicalIntegritySha3Hash:
+ *out = this->hash_data.integrity_meta_info.level_hash_info
+ .info[this->hash_data.integrity_meta_info.level_hash_info.max_layers - 2]
+ .offset;
+ R_SUCCEED();
+ case HashType::HierarchicalSha256Hash:
+ case HashType::HierarchicalSha3256Hash:
+ *out =
+ this->hash_data.hierarchical_sha256_data
+ .hash_layer_region[this->hash_data.hierarchical_sha256_data.hash_layer_count -
+ 1]
+ .offset;
+ R_SUCCEED();
+ default:
+ R_THROW(ResultInvalidNcaFsHeader);
+ }
+ }
+};
+static_assert(sizeof(NcaFsHeader) == NcaFsHeader::Size);
+static_assert(std::is_trivial_v<NcaFsHeader>);
+static_assert(offsetof(NcaFsHeader, patch_info) == NcaPatchInfo::Offset);
+
+inline constexpr const size_t NcaFsHeader::HashData::HierarchicalSha256Data::MasterHashOffset =
+ offsetof(NcaFsHeader, hash_data.hierarchical_sha256_data.fs_data_master_hash);
+inline constexpr const size_t NcaFsHeader::HashData::IntegrityMetaInfo::MasterHashOffset =
+ offsetof(NcaFsHeader, hash_data.integrity_meta_info.master_hash);
+
+struct NcaMetaDataHashData {
+ s64 layer_info_offset;
+ NcaFsHeader::HashData::IntegrityMetaInfo integrity_meta_info;
+};
+static_assert(sizeof(NcaMetaDataHashData) ==
+ sizeof(NcaFsHeader::HashData::IntegrityMetaInfo) + sizeof(s64));
+static_assert(std::is_trivial_v<NcaMetaDataHashData>);
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_nca_reader.cpp b/src/core/file_sys/fssystem/fssystem_nca_reader.cpp
new file mode 100644
index 000000000..a3714ab37
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_nca_reader.cpp
@@ -0,0 +1,531 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/file_sys/fssystem/fssystem_aes_xts_storage.h"
+#include "core/file_sys/fssystem/fssystem_nca_file_system_driver.h"
+#include "core/file_sys/vfs_offset.h"
+
+namespace FileSys {
+
+namespace {
+
+constexpr inline u32 SdkAddonVersionMin = 0x000B0000;
+constexpr inline size_t Aes128KeySize = 0x10;
+constexpr const std::array<u8, Aes128KeySize> ZeroKey{};
+
+constexpr Result CheckNcaMagic(u32 magic) {
+ // Verify the magic is not a deprecated one.
+ R_UNLESS(magic != NcaHeader::Magic0, ResultUnsupportedSdkVersion);
+ R_UNLESS(magic != NcaHeader::Magic1, ResultUnsupportedSdkVersion);
+ R_UNLESS(magic != NcaHeader::Magic2, ResultUnsupportedSdkVersion);
+
+ // Verify the magic is the current one.
+ R_UNLESS(magic == NcaHeader::Magic3, ResultInvalidNcaSignature);
+
+ R_SUCCEED();
+}
+
+} // namespace
+
+NcaReader::NcaReader()
+ : m_body_storage(), m_header_storage(), m_is_software_aes_prioritized(false),
+ m_is_available_sw_key(false), m_header_encryption_type(NcaHeader::EncryptionType::Auto),
+ m_get_decompressor() {
+ std::memset(std::addressof(m_header), 0, sizeof(m_header));
+ std::memset(std::addressof(m_decryption_keys), 0, sizeof(m_decryption_keys));
+ std::memset(std::addressof(m_external_decryption_key), 0, sizeof(m_external_decryption_key));
+}
+
+NcaReader::~NcaReader() {}
+
+Result NcaReader::Initialize(VirtualFile base_storage, const NcaCryptoConfiguration& crypto_cfg,
+ const NcaCompressionConfiguration& compression_cfg) {
+ // Validate preconditions.
+ ASSERT(base_storage != nullptr);
+ ASSERT(m_body_storage == nullptr);
+
+ // Create the work header storage storage.
+ VirtualFile work_header_storage;
+
+ // We need to be able to generate keys.
+ R_UNLESS(crypto_cfg.generate_key != nullptr, ResultInvalidArgument);
+
+ // Generate keys for header.
+ using AesXtsStorageForNcaHeader = AesXtsStorage;
+
+ constexpr std::array<s32, NcaCryptoConfiguration::HeaderEncryptionKeyCount>
+ HeaderKeyTypeValues = {
+ static_cast<s32>(KeyType::NcaHeaderKey1),
+ static_cast<s32>(KeyType::NcaHeaderKey2),
+ };
+
+ std::array<std::array<u8, NcaCryptoConfiguration::Aes128KeySize>,
+ NcaCryptoConfiguration::HeaderEncryptionKeyCount>
+ header_decryption_keys;
+ for (size_t i = 0; i < NcaCryptoConfiguration::HeaderEncryptionKeyCount; i++) {
+ crypto_cfg.generate_key(header_decryption_keys[i].data(),
+ AesXtsStorageForNcaHeader::KeySize,
+ crypto_cfg.header_encrypted_encryption_keys[i].data(),
+ AesXtsStorageForNcaHeader::KeySize, HeaderKeyTypeValues[i]);
+ }
+
+ // Create the header storage.
+ std::array<u8, AesXtsStorageForNcaHeader::IvSize> header_iv = {};
+ work_header_storage = std::make_unique<AesXtsStorageForNcaHeader>(
+ base_storage, header_decryption_keys[0].data(), header_decryption_keys[1].data(),
+ AesXtsStorageForNcaHeader::KeySize, header_iv.data(), AesXtsStorageForNcaHeader::IvSize,
+ NcaHeader::XtsBlockSize);
+
+ // Check that we successfully created the storage.
+ R_UNLESS(work_header_storage != nullptr, ResultAllocationMemoryFailedInNcaReaderA);
+
+ // Read the header.
+ work_header_storage->ReadObject(std::addressof(m_header), 0);
+
+ // Validate the magic.
+ if (const Result magic_result = CheckNcaMagic(m_header.magic); R_FAILED(magic_result)) {
+ // Try to use a plaintext header.
+ base_storage->ReadObject(std::addressof(m_header), 0);
+ R_UNLESS(R_SUCCEEDED(CheckNcaMagic(m_header.magic)), magic_result);
+
+ // Configure to use the plaintext header.
+ auto base_storage_size = base_storage->GetSize();
+ work_header_storage = std::make_shared<OffsetVfsFile>(base_storage, base_storage_size, 0);
+ R_UNLESS(work_header_storage != nullptr, ResultAllocationMemoryFailedInNcaReaderA);
+
+ // Set encryption type as plaintext.
+ m_header_encryption_type = NcaHeader::EncryptionType::None;
+ }
+
+ // Verify the header sign1.
+ if (crypto_cfg.verify_sign1 != nullptr) {
+ const u8* sig = m_header.header_sign_1.data();
+ const size_t sig_size = NcaHeader::HeaderSignSize;
+ const u8* msg =
+ static_cast<const u8*>(static_cast<const void*>(std::addressof(m_header.magic)));
+ const size_t msg_size =
+ NcaHeader::Size - NcaHeader::HeaderSignSize * NcaHeader::HeaderSignCount;
+
+ m_is_header_sign1_signature_valid = crypto_cfg.verify_sign1(
+ sig, sig_size, msg, msg_size, m_header.header1_signature_key_generation);
+
+ if (!m_is_header_sign1_signature_valid) {
+ LOG_WARNING(Common_Filesystem, "Invalid NCA header sign1");
+ }
+ }
+
+ // Validate the sdk version.
+ R_UNLESS(m_header.sdk_addon_version >= SdkAddonVersionMin, ResultUnsupportedSdkVersion);
+
+ // Validate the key index.
+ R_UNLESS(m_header.key_index < NcaCryptoConfiguration::KeyAreaEncryptionKeyIndexCount ||
+ m_header.key_index == NcaCryptoConfiguration::KeyAreaEncryptionKeyIndexZeroKey,
+ ResultInvalidNcaKeyIndex);
+
+ // Check if we have a rights id.
+ constexpr const std::array<u8, NcaHeader::RightsIdSize> ZeroRightsId{};
+ if (std::memcmp(ZeroRightsId.data(), m_header.rights_id.data(), NcaHeader::RightsIdSize) == 0) {
+ // If we don't, then we don't have an external key, so we need to generate decryption keys.
+ crypto_cfg.generate_key(
+ m_decryption_keys[NcaHeader::DecryptionKey_AesCtr].data(), Aes128KeySize,
+ m_header.encrypted_key_area.data() + NcaHeader::DecryptionKey_AesCtr * Aes128KeySize,
+ Aes128KeySize, GetKeyTypeValue(m_header.key_index, m_header.GetProperKeyGeneration()));
+ crypto_cfg.generate_key(
+ m_decryption_keys[NcaHeader::DecryptionKey_AesXts1].data(), Aes128KeySize,
+ m_header.encrypted_key_area.data() + NcaHeader::DecryptionKey_AesXts1 * Aes128KeySize,
+ Aes128KeySize, GetKeyTypeValue(m_header.key_index, m_header.GetProperKeyGeneration()));
+ crypto_cfg.generate_key(
+ m_decryption_keys[NcaHeader::DecryptionKey_AesXts2].data(), Aes128KeySize,
+ m_header.encrypted_key_area.data() + NcaHeader::DecryptionKey_AesXts2 * Aes128KeySize,
+ Aes128KeySize, GetKeyTypeValue(m_header.key_index, m_header.GetProperKeyGeneration()));
+ crypto_cfg.generate_key(
+ m_decryption_keys[NcaHeader::DecryptionKey_AesCtrEx].data(), Aes128KeySize,
+ m_header.encrypted_key_area.data() + NcaHeader::DecryptionKey_AesCtrEx * Aes128KeySize,
+ Aes128KeySize, GetKeyTypeValue(m_header.key_index, m_header.GetProperKeyGeneration()));
+
+ // Copy the hardware speed emulation key.
+ std::memcpy(m_decryption_keys[NcaHeader::DecryptionKey_AesCtrHw].data(),
+ m_header.encrypted_key_area.data() +
+ NcaHeader::DecryptionKey_AesCtrHw * Aes128KeySize,
+ Aes128KeySize);
+ }
+
+ // Clear the external decryption key.
+ std::memset(m_external_decryption_key.data(), 0, m_external_decryption_key.size());
+
+ // Set software key availability.
+ m_is_available_sw_key = crypto_cfg.is_available_sw_key;
+
+ // Set our decompressor function getter.
+ m_get_decompressor = compression_cfg.get_decompressor;
+
+ // Set our storages.
+ m_header_storage = std::move(work_header_storage);
+ m_body_storage = std::move(base_storage);
+
+ R_SUCCEED();
+}
+
+VirtualFile NcaReader::GetSharedBodyStorage() {
+ ASSERT(m_body_storage != nullptr);
+ return m_body_storage;
+}
+
+u32 NcaReader::GetMagic() const {
+ ASSERT(m_body_storage != nullptr);
+ return m_header.magic;
+}
+
+NcaHeader::DistributionType NcaReader::GetDistributionType() const {
+ ASSERT(m_body_storage != nullptr);
+ return m_header.distribution_type;
+}
+
+NcaHeader::ContentType NcaReader::GetContentType() const {
+ ASSERT(m_body_storage != nullptr);
+ return m_header.content_type;
+}
+
+u8 NcaReader::GetHeaderSign1KeyGeneration() const {
+ ASSERT(m_body_storage != nullptr);
+ return m_header.header1_signature_key_generation;
+}
+
+u8 NcaReader::GetKeyGeneration() const {
+ ASSERT(m_body_storage != nullptr);
+ return m_header.GetProperKeyGeneration();
+}
+
+u8 NcaReader::GetKeyIndex() const {
+ ASSERT(m_body_storage != nullptr);
+ return m_header.key_index;
+}
+
+u64 NcaReader::GetContentSize() const {
+ ASSERT(m_body_storage != nullptr);
+ return m_header.content_size;
+}
+
+u64 NcaReader::GetProgramId() const {
+ ASSERT(m_body_storage != nullptr);
+ return m_header.program_id;
+}
+
+u32 NcaReader::GetContentIndex() const {
+ ASSERT(m_body_storage != nullptr);
+ return m_header.content_index;
+}
+
+u32 NcaReader::GetSdkAddonVersion() const {
+ ASSERT(m_body_storage != nullptr);
+ return m_header.sdk_addon_version;
+}
+
+void NcaReader::GetRightsId(u8* dst, size_t dst_size) const {
+ ASSERT(dst != nullptr);
+ ASSERT(dst_size >= NcaHeader::RightsIdSize);
+
+ std::memcpy(dst, m_header.rights_id.data(), NcaHeader::RightsIdSize);
+}
+
+bool NcaReader::HasFsInfo(s32 index) const {
+ ASSERT(0 <= index && index < NcaHeader::FsCountMax);
+ return m_header.fs_info[index].start_sector != 0 || m_header.fs_info[index].end_sector != 0;
+}
+
+s32 NcaReader::GetFsCount() const {
+ ASSERT(m_body_storage != nullptr);
+ for (s32 i = 0; i < NcaHeader::FsCountMax; i++) {
+ if (!this->HasFsInfo(i)) {
+ return i;
+ }
+ }
+ return NcaHeader::FsCountMax;
+}
+
+const Hash& NcaReader::GetFsHeaderHash(s32 index) const {
+ ASSERT(m_body_storage != nullptr);
+ ASSERT(0 <= index && index < NcaHeader::FsCountMax);
+ return m_header.fs_header_hash[index];
+}
+
+void NcaReader::GetFsHeaderHash(Hash* dst, s32 index) const {
+ ASSERT(m_body_storage != nullptr);
+ ASSERT(0 <= index && index < NcaHeader::FsCountMax);
+ ASSERT(dst != nullptr);
+ std::memcpy(dst, std::addressof(m_header.fs_header_hash[index]), sizeof(*dst));
+}
+
+void NcaReader::GetFsInfo(NcaHeader::FsInfo* dst, s32 index) const {
+ ASSERT(m_body_storage != nullptr);
+ ASSERT(0 <= index && index < NcaHeader::FsCountMax);
+ ASSERT(dst != nullptr);
+ std::memcpy(dst, std::addressof(m_header.fs_info[index]), sizeof(*dst));
+}
+
+u64 NcaReader::GetFsOffset(s32 index) const {
+ ASSERT(m_body_storage != nullptr);
+ ASSERT(0 <= index && index < NcaHeader::FsCountMax);
+ return NcaHeader::SectorToByte(m_header.fs_info[index].start_sector);
+}
+
+u64 NcaReader::GetFsEndOffset(s32 index) const {
+ ASSERT(m_body_storage != nullptr);
+ ASSERT(0 <= index && index < NcaHeader::FsCountMax);
+ return NcaHeader::SectorToByte(m_header.fs_info[index].end_sector);
+}
+
+u64 NcaReader::GetFsSize(s32 index) const {
+ ASSERT(m_body_storage != nullptr);
+ ASSERT(0 <= index && index < NcaHeader::FsCountMax);
+ return NcaHeader::SectorToByte(m_header.fs_info[index].end_sector -
+ m_header.fs_info[index].start_sector);
+}
+
+void NcaReader::GetEncryptedKey(void* dst, size_t size) const {
+ ASSERT(m_body_storage != nullptr);
+ ASSERT(dst != nullptr);
+ ASSERT(size >= NcaHeader::EncryptedKeyAreaSize);
+
+ std::memcpy(dst, m_header.encrypted_key_area.data(), NcaHeader::EncryptedKeyAreaSize);
+}
+
+const void* NcaReader::GetDecryptionKey(s32 index) const {
+ ASSERT(m_body_storage != nullptr);
+ ASSERT(0 <= index && index < NcaHeader::DecryptionKey_Count);
+ return m_decryption_keys[index].data();
+}
+
+bool NcaReader::HasValidInternalKey() const {
+ for (s32 i = 0; i < NcaHeader::DecryptionKey_Count; i++) {
+ if (std::memcmp(ZeroKey.data(), m_header.encrypted_key_area.data() + i * Aes128KeySize,
+ Aes128KeySize) != 0) {
+ return true;
+ }
+ }
+ return false;
+}
+
+bool NcaReader::HasInternalDecryptionKeyForAesHw() const {
+ return std::memcmp(ZeroKey.data(), this->GetDecryptionKey(NcaHeader::DecryptionKey_AesCtrHw),
+ Aes128KeySize) != 0;
+}
+
+bool NcaReader::IsSoftwareAesPrioritized() const {
+ return m_is_software_aes_prioritized;
+}
+
+void NcaReader::PrioritizeSoftwareAes() {
+ m_is_software_aes_prioritized = true;
+}
+
+bool NcaReader::IsAvailableSwKey() const {
+ return m_is_available_sw_key;
+}
+
+bool NcaReader::HasExternalDecryptionKey() const {
+ return std::memcmp(ZeroKey.data(), this->GetExternalDecryptionKey(), Aes128KeySize) != 0;
+}
+
+const void* NcaReader::GetExternalDecryptionKey() const {
+ return m_external_decryption_key.data();
+}
+
+void NcaReader::SetExternalDecryptionKey(const void* src, size_t size) {
+ ASSERT(src != nullptr);
+ ASSERT(size == sizeof(m_external_decryption_key));
+
+ std::memcpy(m_external_decryption_key.data(), src, sizeof(m_external_decryption_key));
+}
+
+void NcaReader::GetRawData(void* dst, size_t dst_size) const {
+ ASSERT(m_body_storage != nullptr);
+ ASSERT(dst != nullptr);
+ ASSERT(dst_size >= sizeof(NcaHeader));
+
+ std::memcpy(dst, std::addressof(m_header), sizeof(NcaHeader));
+}
+
+GetDecompressorFunction NcaReader::GetDecompressor() const {
+ ASSERT(m_get_decompressor != nullptr);
+ return m_get_decompressor;
+}
+
+NcaHeader::EncryptionType NcaReader::GetEncryptionType() const {
+ return m_header_encryption_type;
+}
+
+Result NcaReader::ReadHeader(NcaFsHeader* dst, s32 index) const {
+ ASSERT(dst != nullptr);
+ ASSERT(0 <= index && index < NcaHeader::FsCountMax);
+
+ const s64 offset = sizeof(NcaHeader) + sizeof(NcaFsHeader) * index;
+ m_header_storage->ReadObject(dst, offset);
+
+ R_SUCCEED();
+}
+
+bool NcaReader::GetHeaderSign1Valid() const {
+ return m_is_header_sign1_signature_valid;
+}
+
+void NcaReader::GetHeaderSign2(void* dst, size_t size) const {
+ ASSERT(dst != nullptr);
+ ASSERT(size == NcaHeader::HeaderSignSize);
+
+ std::memcpy(dst, m_header.header_sign_2.data(), size);
+}
+
+Result NcaFsHeaderReader::Initialize(const NcaReader& reader, s32 index) {
+ // Reset ourselves to uninitialized.
+ m_fs_index = -1;
+
+ // Read the header.
+ R_TRY(reader.ReadHeader(std::addressof(m_data), index));
+
+ // Set our index.
+ m_fs_index = index;
+ R_SUCCEED();
+}
+
+void NcaFsHeaderReader::GetRawData(void* dst, size_t dst_size) const {
+ ASSERT(this->IsInitialized());
+ ASSERT(dst != nullptr);
+ ASSERT(dst_size >= sizeof(NcaFsHeader));
+
+ std::memcpy(dst, std::addressof(m_data), sizeof(NcaFsHeader));
+}
+
+NcaFsHeader::HashData& NcaFsHeaderReader::GetHashData() {
+ ASSERT(this->IsInitialized());
+ return m_data.hash_data;
+}
+
+const NcaFsHeader::HashData& NcaFsHeaderReader::GetHashData() const {
+ ASSERT(this->IsInitialized());
+ return m_data.hash_data;
+}
+
+u16 NcaFsHeaderReader::GetVersion() const {
+ ASSERT(this->IsInitialized());
+ return m_data.version;
+}
+
+s32 NcaFsHeaderReader::GetFsIndex() const {
+ ASSERT(this->IsInitialized());
+ return m_fs_index;
+}
+
+NcaFsHeader::FsType NcaFsHeaderReader::GetFsType() const {
+ ASSERT(this->IsInitialized());
+ return m_data.fs_type;
+}
+
+NcaFsHeader::HashType NcaFsHeaderReader::GetHashType() const {
+ ASSERT(this->IsInitialized());
+ return m_data.hash_type;
+}
+
+NcaFsHeader::EncryptionType NcaFsHeaderReader::GetEncryptionType() const {
+ ASSERT(this->IsInitialized());
+ return m_data.encryption_type;
+}
+
+NcaPatchInfo& NcaFsHeaderReader::GetPatchInfo() {
+ ASSERT(this->IsInitialized());
+ return m_data.patch_info;
+}
+
+const NcaPatchInfo& NcaFsHeaderReader::GetPatchInfo() const {
+ ASSERT(this->IsInitialized());
+ return m_data.patch_info;
+}
+
+const NcaAesCtrUpperIv NcaFsHeaderReader::GetAesCtrUpperIv() const {
+ ASSERT(this->IsInitialized());
+ return m_data.aes_ctr_upper_iv;
+}
+
+bool NcaFsHeaderReader::IsSkipLayerHashEncryption() const {
+ ASSERT(this->IsInitialized());
+ return m_data.IsSkipLayerHashEncryption();
+}
+
+Result NcaFsHeaderReader::GetHashTargetOffset(s64* out) const {
+ ASSERT(out != nullptr);
+ ASSERT(this->IsInitialized());
+
+ R_RETURN(m_data.GetHashTargetOffset(out));
+}
+
+bool NcaFsHeaderReader::ExistsSparseLayer() const {
+ ASSERT(this->IsInitialized());
+ return m_data.sparse_info.generation != 0;
+}
+
+NcaSparseInfo& NcaFsHeaderReader::GetSparseInfo() {
+ ASSERT(this->IsInitialized());
+ return m_data.sparse_info;
+}
+
+const NcaSparseInfo& NcaFsHeaderReader::GetSparseInfo() const {
+ ASSERT(this->IsInitialized());
+ return m_data.sparse_info;
+}
+
+bool NcaFsHeaderReader::ExistsCompressionLayer() const {
+ ASSERT(this->IsInitialized());
+ return m_data.compression_info.bucket.offset != 0 && m_data.compression_info.bucket.size != 0;
+}
+
+NcaCompressionInfo& NcaFsHeaderReader::GetCompressionInfo() {
+ ASSERT(this->IsInitialized());
+ return m_data.compression_info;
+}
+
+const NcaCompressionInfo& NcaFsHeaderReader::GetCompressionInfo() const {
+ ASSERT(this->IsInitialized());
+ return m_data.compression_info;
+}
+
+bool NcaFsHeaderReader::ExistsPatchMetaHashLayer() const {
+ ASSERT(this->IsInitialized());
+ return m_data.meta_data_hash_data_info.size != 0 && this->GetPatchInfo().HasIndirectTable();
+}
+
+NcaMetaDataHashDataInfo& NcaFsHeaderReader::GetPatchMetaDataHashDataInfo() {
+ ASSERT(this->IsInitialized());
+ return m_data.meta_data_hash_data_info;
+}
+
+const NcaMetaDataHashDataInfo& NcaFsHeaderReader::GetPatchMetaDataHashDataInfo() const {
+ ASSERT(this->IsInitialized());
+ return m_data.meta_data_hash_data_info;
+}
+
+NcaFsHeader::MetaDataHashType NcaFsHeaderReader::GetPatchMetaHashType() const {
+ ASSERT(this->IsInitialized());
+ return m_data.meta_data_hash_type;
+}
+
+bool NcaFsHeaderReader::ExistsSparseMetaHashLayer() const {
+ ASSERT(this->IsInitialized());
+ return m_data.meta_data_hash_data_info.size != 0 && this->ExistsSparseLayer();
+}
+
+NcaMetaDataHashDataInfo& NcaFsHeaderReader::GetSparseMetaDataHashDataInfo() {
+ ASSERT(this->IsInitialized());
+ return m_data.meta_data_hash_data_info;
+}
+
+const NcaMetaDataHashDataInfo& NcaFsHeaderReader::GetSparseMetaDataHashDataInfo() const {
+ ASSERT(this->IsInitialized());
+ return m_data.meta_data_hash_data_info;
+}
+
+NcaFsHeader::MetaDataHashType NcaFsHeaderReader::GetSparseMetaHashType() const {
+ ASSERT(this->IsInitialized());
+ return m_data.meta_data_hash_type;
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_pooled_buffer.cpp b/src/core/file_sys/fssystem/fssystem_pooled_buffer.cpp
new file mode 100644
index 000000000..bbfaab255
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_pooled_buffer.cpp
@@ -0,0 +1,61 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "common/alignment.h"
+#include "core/file_sys/fssystem/fssystem_pooled_buffer.h"
+
+namespace FileSys {
+
+namespace {
+
+constexpr size_t HeapBlockSize = BufferPoolAlignment;
+static_assert(HeapBlockSize == 4_KiB);
+
+// A heap block is 4KiB. An order is a power of two.
+// This gives blocks of the order 32KiB, 512KiB, 4MiB.
+constexpr s32 HeapOrderMax = 7;
+constexpr s32 HeapOrderMaxForLarge = HeapOrderMax + 3;
+
+constexpr size_t HeapAllocatableSizeMax = HeapBlockSize * (static_cast<size_t>(1) << HeapOrderMax);
+constexpr size_t HeapAllocatableSizeMaxForLarge =
+ HeapBlockSize * (static_cast<size_t>(1) << HeapOrderMaxForLarge);
+
+} // namespace
+
+size_t PooledBuffer::GetAllocatableSizeMaxCore(bool large) {
+ return large ? HeapAllocatableSizeMaxForLarge : HeapAllocatableSizeMax;
+}
+
+void PooledBuffer::AllocateCore(size_t ideal_size, size_t required_size, bool large) {
+ // Ensure preconditions.
+ ASSERT(m_buffer == nullptr);
+
+ // Check that we can allocate this size.
+ ASSERT(required_size <= GetAllocatableSizeMaxCore(large));
+
+ const size_t target_size =
+ std::min(std::max(ideal_size, required_size), GetAllocatableSizeMaxCore(large));
+
+ // Dummy implementation for allocate.
+ if (target_size > 0) {
+ m_buffer =
+ reinterpret_cast<char*>(::operator new(target_size, std::align_val_t{HeapBlockSize}));
+ m_size = target_size;
+
+ // Ensure postconditions.
+ ASSERT(m_buffer != nullptr);
+ }
+}
+
+void PooledBuffer::Shrink(size_t ideal_size) {
+ ASSERT(ideal_size <= GetAllocatableSizeMaxCore(true));
+
+ // Shrinking to zero means that we have no buffer.
+ if (ideal_size == 0) {
+ ::operator delete(m_buffer, std::align_val_t{HeapBlockSize});
+ m_buffer = nullptr;
+ m_size = ideal_size;
+ }
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_pooled_buffer.h b/src/core/file_sys/fssystem/fssystem_pooled_buffer.h
new file mode 100644
index 000000000..9a6adbcb5
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_pooled_buffer.h
@@ -0,0 +1,95 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "common/common_funcs.h"
+#include "common/common_types.h"
+#include "common/literals.h"
+#include "core/hle/result.h"
+
+namespace FileSys {
+
+using namespace Common::Literals;
+
+constexpr inline size_t BufferPoolAlignment = 4_KiB;
+constexpr inline size_t BufferPoolWorkSize = 320;
+
+class PooledBuffer {
+ YUZU_NON_COPYABLE(PooledBuffer);
+
+public:
+ // Constructor/Destructor.
+ constexpr PooledBuffer() : m_buffer(), m_size() {}
+
+ PooledBuffer(size_t ideal_size, size_t required_size) : m_buffer(), m_size() {
+ this->Allocate(ideal_size, required_size);
+ }
+
+ ~PooledBuffer() {
+ this->Deallocate();
+ }
+
+ // Move and assignment.
+ explicit PooledBuffer(PooledBuffer&& rhs) : m_buffer(rhs.m_buffer), m_size(rhs.m_size) {
+ rhs.m_buffer = nullptr;
+ rhs.m_size = 0;
+ }
+
+ PooledBuffer& operator=(PooledBuffer&& rhs) {
+ PooledBuffer(std::move(rhs)).Swap(*this);
+ return *this;
+ }
+
+ // Allocation API.
+ void Allocate(size_t ideal_size, size_t required_size) {
+ return this->AllocateCore(ideal_size, required_size, false);
+ }
+
+ void AllocateParticularlyLarge(size_t ideal_size, size_t required_size) {
+ return this->AllocateCore(ideal_size, required_size, true);
+ }
+
+ void Shrink(size_t ideal_size);
+
+ void Deallocate() {
+ // Shrink the buffer to empty.
+ this->Shrink(0);
+ ASSERT(m_buffer == nullptr);
+ }
+
+ char* GetBuffer() const {
+ ASSERT(m_buffer != nullptr);
+ return m_buffer;
+ }
+
+ size_t GetSize() const {
+ ASSERT(m_buffer != nullptr);
+ return m_size;
+ }
+
+public:
+ static size_t GetAllocatableSizeMax() {
+ return GetAllocatableSizeMaxCore(false);
+ }
+ static size_t GetAllocatableParticularlyLargeSizeMax() {
+ return GetAllocatableSizeMaxCore(true);
+ }
+
+private:
+ static size_t GetAllocatableSizeMaxCore(bool large);
+
+private:
+ void Swap(PooledBuffer& rhs) {
+ std::swap(m_buffer, rhs.m_buffer);
+ std::swap(m_size, rhs.m_size);
+ }
+
+ void AllocateCore(size_t ideal_size, size_t required_size, bool large);
+
+private:
+ char* m_buffer;
+ size_t m_size;
+};
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_sparse_storage.cpp b/src/core/file_sys/fssystem/fssystem_sparse_storage.cpp
new file mode 100644
index 000000000..8574a11dd
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_sparse_storage.cpp
@@ -0,0 +1,39 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/file_sys/fssystem/fssystem_sparse_storage.h"
+
+namespace FileSys {
+
+size_t SparseStorage::Read(u8* buffer, size_t size, size_t offset) const {
+ // Validate preconditions.
+ ASSERT(this->IsInitialized());
+ ASSERT(buffer != nullptr);
+
+ // Allow zero size.
+ if (size == 0) {
+ return size;
+ }
+
+ SparseStorage* self = const_cast<SparseStorage*>(this);
+
+ if (self->GetEntryTable().IsEmpty()) {
+ BucketTree::Offsets table_offsets;
+ ASSERT(R_SUCCEEDED(self->GetEntryTable().GetOffsets(std::addressof(table_offsets))));
+ ASSERT(table_offsets.IsInclude(offset, size));
+
+ std::memset(buffer, 0, size);
+ } else {
+ self->OperatePerEntry<false, true>(
+ offset, size,
+ [=](VirtualFile storage, s64 data_offset, s64 cur_offset, s64 cur_size) -> Result {
+ storage->Read(reinterpret_cast<u8*>(buffer) + (cur_offset - offset),
+ static_cast<size_t>(cur_size), data_offset);
+ R_SUCCEED();
+ });
+ }
+
+ return size;
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_sparse_storage.h b/src/core/file_sys/fssystem/fssystem_sparse_storage.h
new file mode 100644
index 000000000..6c196ec61
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_sparse_storage.h
@@ -0,0 +1,72 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/file_sys/fssystem/fssystem_indirect_storage.h"
+
+namespace FileSys {
+
+class SparseStorage : public IndirectStorage {
+ YUZU_NON_COPYABLE(SparseStorage);
+ YUZU_NON_MOVEABLE(SparseStorage);
+
+private:
+ class ZeroStorage : public IReadOnlyStorage {
+ public:
+ ZeroStorage() {}
+ virtual ~ZeroStorage() {}
+
+ virtual size_t GetSize() const override {
+ return std::numeric_limits<size_t>::max();
+ }
+
+ virtual size_t Read(u8* buffer, size_t size, size_t offset) const override {
+ ASSERT(buffer != nullptr || size == 0);
+
+ if (size > 0) {
+ std::memset(buffer, 0, size);
+ }
+
+ return size;
+ }
+ };
+
+public:
+ SparseStorage() : IndirectStorage(), m_zero_storage(std::make_shared<ZeroStorage>()) {}
+ virtual ~SparseStorage() {}
+
+ using IndirectStorage::Initialize;
+
+ void Initialize(s64 end_offset) {
+ this->GetEntryTable().Initialize(NodeSize, end_offset);
+ this->SetZeroStorage();
+ }
+
+ void SetDataStorage(VirtualFile storage) {
+ ASSERT(this->IsInitialized());
+
+ this->SetStorage(0, storage);
+ this->SetZeroStorage();
+ }
+
+ template <typename T>
+ void SetDataStorage(T storage, s64 offset, s64 size) {
+ ASSERT(this->IsInitialized());
+
+ this->SetStorage(0, storage, offset, size);
+ this->SetZeroStorage();
+ }
+
+ virtual size_t Read(u8* buffer, size_t size, size_t offset) const override;
+
+private:
+ void SetZeroStorage() {
+ return this->SetStorage(1, m_zero_storage, 0, std::numeric_limits<s64>::max());
+ }
+
+private:
+ VirtualFile m_zero_storage;
+};
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_switch_storage.h b/src/core/file_sys/fssystem/fssystem_switch_storage.h
new file mode 100644
index 000000000..2b43927cb
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_switch_storage.h
@@ -0,0 +1,80 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/file_sys/fssystem/fs_i_storage.h"
+
+namespace FileSys {
+
+class RegionSwitchStorage : public IReadOnlyStorage {
+ YUZU_NON_COPYABLE(RegionSwitchStorage);
+ YUZU_NON_MOVEABLE(RegionSwitchStorage);
+
+public:
+ struct Region {
+ s64 offset;
+ s64 size;
+ };
+
+public:
+ RegionSwitchStorage(VirtualFile&& i, VirtualFile&& o, Region r)
+ : m_inside_region_storage(std::move(i)), m_outside_region_storage(std::move(o)),
+ m_region(r) {}
+
+ virtual size_t Read(u8* buffer, size_t size, size_t offset) const override {
+ // Process until we're done.
+ size_t processed = 0;
+ while (processed < size) {
+ // Process on the appropriate storage.
+ s64 cur_size = 0;
+ if (this->CheckRegions(std::addressof(cur_size), offset + processed,
+ size - processed)) {
+ m_inside_region_storage->Read(buffer + processed, cur_size, offset + processed);
+ } else {
+ m_outside_region_storage->Read(buffer + processed, cur_size, offset + processed);
+ }
+
+ // Advance.
+ processed += cur_size;
+ }
+
+ return size;
+ }
+
+ virtual size_t GetSize() const override {
+ return m_inside_region_storage->GetSize();
+ }
+
+private:
+ bool CheckRegions(s64* out_current_size, s64 offset, s64 size) const {
+ // Check if our region contains the access.
+ if (m_region.offset <= offset) {
+ if (offset < m_region.offset + m_region.size) {
+ if (m_region.offset + m_region.size <= offset + size) {
+ *out_current_size = m_region.offset + m_region.size - offset;
+ } else {
+ *out_current_size = size;
+ }
+ return true;
+ } else {
+ *out_current_size = size;
+ return false;
+ }
+ } else {
+ if (m_region.offset <= offset + size) {
+ *out_current_size = m_region.offset - offset;
+ } else {
+ *out_current_size = size;
+ }
+ return false;
+ }
+ }
+
+private:
+ VirtualFile m_inside_region_storage;
+ VirtualFile m_outside_region_storage;
+ Region m_region;
+};
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_utility.cpp b/src/core/file_sys/fssystem/fssystem_utility.cpp
new file mode 100644
index 000000000..ceabb8ff1
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_utility.cpp
@@ -0,0 +1,27 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/file_sys/fssystem/fssystem_utility.h"
+
+namespace FileSys {
+
+void AddCounter(void* counter_, size_t counter_size, u64 value) {
+ u8* counter = static_cast<u8*>(counter_);
+ u64 remaining = value;
+ u8 carry = 0;
+
+ for (size_t i = 0; i < counter_size; i++) {
+ auto sum = counter[counter_size - 1 - i] + (remaining & 0xFF) + carry;
+ carry = static_cast<u8>(sum >> (sizeof(u8) * 8));
+ auto sum8 = static_cast<u8>(sum & 0xFF);
+
+ counter[counter_size - 1 - i] = sum8;
+
+ remaining >>= (sizeof(u8) * 8);
+ if (carry == 0 && remaining == 0) {
+ break;
+ }
+ }
+}
+
+} // namespace FileSys
diff --git a/src/core/file_sys/fssystem/fssystem_utility.h b/src/core/file_sys/fssystem/fssystem_utility.h
new file mode 100644
index 000000000..284b8b811
--- /dev/null
+++ b/src/core/file_sys/fssystem/fssystem_utility.h
@@ -0,0 +1,12 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "common/common_funcs.h"
+
+namespace FileSys {
+
+void AddCounter(void* counter, size_t counter_size, u64 value);
+
+}
diff --git a/src/core/file_sys/ips_layer.cpp b/src/core/file_sys/ips_layer.cpp
index efdf18cee..7be1322cc 100644
--- a/src/core/file_sys/ips_layer.cpp
+++ b/src/core/file_sys/ips_layer.cpp
@@ -165,7 +165,7 @@ static std::string EscapeStringSequences(std::string in) {
void IPSwitchCompiler::ParseFlag(const std::string& line) {
if (StartsWith(line, "@flag offset_shift ")) {
// Offset Shift Flag
- offset_shift = std::stoll(line.substr(19), nullptr, 0);
+ offset_shift = std::strtoll(line.substr(19).c_str(), nullptr, 0);
} else if (StartsWith(line, "@little-endian")) {
// Set values to read as little endian
is_little_endian = true;
@@ -263,7 +263,7 @@ void IPSwitchCompiler::Parse() {
// 11 - 8 hex digit offset + space + minimum two digit overwrite val
if (patch_line.length() < 11)
break;
- auto offset = std::stoul(patch_line.substr(0, 8), nullptr, 16);
+ auto offset = std::strtoul(patch_line.substr(0, 8).c_str(), nullptr, 16);
offset += static_cast<unsigned long>(offset_shift);
std::vector<u8> replace;
diff --git a/src/core/file_sys/nca_metadata.cpp b/src/core/file_sys/nca_metadata.cpp
index 52c78020c..f4a774675 100644
--- a/src/core/file_sys/nca_metadata.cpp
+++ b/src/core/file_sys/nca_metadata.cpp
@@ -45,6 +45,10 @@ CNMT::CNMT(CNMTHeader header_, OptionalHeader opt_header_,
CNMT::~CNMT() = default;
+const CNMTHeader& CNMT::GetHeader() const {
+ return header;
+}
+
u64 CNMT::GetTitleID() const {
return header.title_id;
}
diff --git a/src/core/file_sys/nca_metadata.h b/src/core/file_sys/nca_metadata.h
index c59ece010..68e463b5f 100644
--- a/src/core/file_sys/nca_metadata.h
+++ b/src/core/file_sys/nca_metadata.h
@@ -89,6 +89,7 @@ public:
std::vector<ContentRecord> content_records_, std::vector<MetaRecord> meta_records_);
~CNMT();
+ const CNMTHeader& GetHeader() const;
u64 GetTitleID() const;
u32 GetTitleVersion() const;
TitleType GetType() const;
diff --git a/src/core/file_sys/nca_patch.cpp b/src/core/file_sys/nca_patch.cpp
deleted file mode 100644
index 2735d053b..000000000
--- a/src/core/file_sys/nca_patch.cpp
+++ /dev/null
@@ -1,217 +0,0 @@
-// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include <algorithm>
-#include <array>
-#include <cstddef>
-#include <cstring>
-
-#include "common/assert.h"
-#include "core/crypto/aes_util.h"
-#include "core/file_sys/nca_patch.h"
-
-namespace FileSys {
-namespace {
-template <bool Subsection, typename BlockType, typename BucketType>
-std::pair<std::size_t, std::size_t> SearchBucketEntry(u64 offset, const BlockType& block,
- const BucketType& buckets) {
- if constexpr (Subsection) {
- const auto& last_bucket = buckets[block.number_buckets - 1];
- if (offset >= last_bucket.entries[last_bucket.number_entries].address_patch) {
- return {block.number_buckets - 1, last_bucket.number_entries};
- }
- } else {
- ASSERT_MSG(offset <= block.size, "Offset is out of bounds in BKTR relocation block.");
- }
-
- std::size_t bucket_id = std::count_if(
- block.base_offsets.begin() + 1, block.base_offsets.begin() + block.number_buckets,
- [&offset](u64 base_offset) { return base_offset <= offset; });
-
- const auto& bucket = buckets[bucket_id];
-
- if (bucket.number_entries == 1) {
- return {bucket_id, 0};
- }
-
- std::size_t low = 0;
- std::size_t mid = 0;
- std::size_t high = bucket.number_entries - 1;
- while (low <= high) {
- mid = (low + high) / 2;
- if (bucket.entries[mid].address_patch > offset) {
- high = mid - 1;
- } else {
- if (mid == bucket.number_entries - 1 ||
- bucket.entries[mid + 1].address_patch > offset) {
- return {bucket_id, mid};
- }
-
- low = mid + 1;
- }
- }
- ASSERT_MSG(false, "Offset could not be found in BKTR block.");
- return {0, 0};
-}
-} // Anonymous namespace
-
-BKTR::BKTR(VirtualFile base_romfs_, VirtualFile bktr_romfs_, RelocationBlock relocation_,
- std::vector<RelocationBucket> relocation_buckets_, SubsectionBlock subsection_,
- std::vector<SubsectionBucket> subsection_buckets_, bool is_encrypted_,
- Core::Crypto::Key128 key_, u64 base_offset_, u64 ivfc_offset_,
- std::array<u8, 8> section_ctr_)
- : relocation(relocation_), relocation_buckets(std::move(relocation_buckets_)),
- subsection(subsection_), subsection_buckets(std::move(subsection_buckets_)),
- base_romfs(std::move(base_romfs_)), bktr_romfs(std::move(bktr_romfs_)),
- encrypted(is_encrypted_), key(key_), base_offset(base_offset_), ivfc_offset(ivfc_offset_),
- section_ctr(section_ctr_) {
- for (std::size_t i = 0; i < relocation.number_buckets - 1; ++i) {
- relocation_buckets[i].entries.push_back({relocation.base_offsets[i + 1], 0, 0});
- }
-
- for (std::size_t i = 0; i < subsection.number_buckets - 1; ++i) {
- subsection_buckets[i].entries.push_back({subsection_buckets[i + 1].entries[0].address_patch,
- {0},
- subsection_buckets[i + 1].entries[0].ctr});
- }
-
- relocation_buckets.back().entries.push_back({relocation.size, 0, 0});
-}
-
-BKTR::~BKTR() = default;
-
-std::size_t BKTR::Read(u8* data, std::size_t length, std::size_t offset) const {
- // Read out of bounds.
- if (offset >= relocation.size) {
- return 0;
- }
-
- const auto relocation_entry = GetRelocationEntry(offset);
- const auto section_offset =
- offset - relocation_entry.address_patch + relocation_entry.address_source;
- const auto bktr_read = relocation_entry.from_patch;
-
- const auto next_relocation = GetNextRelocationEntry(offset);
-
- if (offset + length > next_relocation.address_patch) {
- const u64 partition = next_relocation.address_patch - offset;
- return Read(data, partition, offset) +
- Read(data + partition, length - partition, offset + partition);
- }
-
- if (!bktr_read) {
- ASSERT_MSG(section_offset >= ivfc_offset, "Offset calculation negative.");
- return base_romfs->Read(data, length, section_offset - ivfc_offset);
- }
-
- if (!encrypted) {
- return bktr_romfs->Read(data, length, section_offset);
- }
-
- const auto subsection_entry = GetSubsectionEntry(section_offset);
- Core::Crypto::AESCipher<Core::Crypto::Key128> cipher(key, Core::Crypto::Mode::CTR);
-
- // Calculate AES IV
- std::array<u8, 16> iv{};
- auto subsection_ctr = subsection_entry.ctr;
- auto offset_iv = section_offset + base_offset;
- for (std::size_t i = 0; i < section_ctr.size(); ++i) {
- iv[i] = section_ctr[0x8 - i - 1];
- }
- offset_iv >>= 4;
- for (std::size_t i = 0; i < sizeof(u64); ++i) {
- iv[0xF - i] = static_cast<u8>(offset_iv & 0xFF);
- offset_iv >>= 8;
- }
- for (std::size_t i = 0; i < sizeof(u32); ++i) {
- iv[0x7 - i] = static_cast<u8>(subsection_ctr & 0xFF);
- subsection_ctr >>= 8;
- }
- cipher.SetIV(iv);
-
- const auto next_subsection = GetNextSubsectionEntry(section_offset);
-
- if (section_offset + length > next_subsection.address_patch) {
- const u64 partition = next_subsection.address_patch - section_offset;
- return Read(data, partition, offset) +
- Read(data + partition, length - partition, offset + partition);
- }
-
- const auto block_offset = section_offset & 0xF;
- if (block_offset != 0) {
- auto block = bktr_romfs->ReadBytes(0x10, section_offset & ~0xF);
- cipher.Transcode(block.data(), block.size(), block.data(), Core::Crypto::Op::Decrypt);
- if (length + block_offset < 0x10) {
- std::memcpy(data, block.data() + block_offset, std::min(length, block.size()));
- return std::min(length, block.size());
- }
-
- const auto read = 0x10 - block_offset;
- std::memcpy(data, block.data() + block_offset, read);
- return read + Read(data + read, length - read, offset + read);
- }
-
- const auto raw_read = bktr_romfs->Read(data, length, section_offset);
- cipher.Transcode(data, raw_read, data, Core::Crypto::Op::Decrypt);
- return raw_read;
-}
-
-RelocationEntry BKTR::GetRelocationEntry(u64 offset) const {
- const auto res = SearchBucketEntry<false>(offset, relocation, relocation_buckets);
- return relocation_buckets[res.first].entries[res.second];
-}
-
-RelocationEntry BKTR::GetNextRelocationEntry(u64 offset) const {
- const auto res = SearchBucketEntry<false>(offset, relocation, relocation_buckets);
- const auto bucket = relocation_buckets[res.first];
- if (res.second + 1 < bucket.entries.size())
- return bucket.entries[res.second + 1];
- return relocation_buckets[res.first + 1].entries[0];
-}
-
-SubsectionEntry BKTR::GetSubsectionEntry(u64 offset) const {
- const auto res = SearchBucketEntry<true>(offset, subsection, subsection_buckets);
- return subsection_buckets[res.first].entries[res.second];
-}
-
-SubsectionEntry BKTR::GetNextSubsectionEntry(u64 offset) const {
- const auto res = SearchBucketEntry<true>(offset, subsection, subsection_buckets);
- const auto bucket = subsection_buckets[res.first];
- if (res.second + 1 < bucket.entries.size())
- return bucket.entries[res.second + 1];
- return subsection_buckets[res.first + 1].entries[0];
-}
-
-std::string BKTR::GetName() const {
- return base_romfs->GetName();
-}
-
-std::size_t BKTR::GetSize() const {
- return relocation.size;
-}
-
-bool BKTR::Resize(std::size_t new_size) {
- return false;
-}
-
-VirtualDir BKTR::GetContainingDirectory() const {
- return base_romfs->GetContainingDirectory();
-}
-
-bool BKTR::IsWritable() const {
- return false;
-}
-
-bool BKTR::IsReadable() const {
- return true;
-}
-
-std::size_t BKTR::Write(const u8* data, std::size_t length, std::size_t offset) {
- return 0;
-}
-
-bool BKTR::Rename(std::string_view name) {
- return base_romfs->Rename(name);
-}
-
-} // namespace FileSys
diff --git a/src/core/file_sys/nca_patch.h b/src/core/file_sys/nca_patch.h
deleted file mode 100644
index 595e3ef09..000000000
--- a/src/core/file_sys/nca_patch.h
+++ /dev/null
@@ -1,145 +0,0 @@
-// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#include <array>
-#include <memory>
-#include <vector>
-
-#include "common/common_funcs.h"
-#include "common/common_types.h"
-#include "common/swap.h"
-#include "core/crypto/key_manager.h"
-
-namespace FileSys {
-
-#pragma pack(push, 1)
-struct RelocationEntry {
- u64_le address_patch;
- u64_le address_source;
- u32 from_patch;
-};
-#pragma pack(pop)
-static_assert(sizeof(RelocationEntry) == 0x14, "RelocationEntry has incorrect size.");
-
-struct RelocationBucketRaw {
- INSERT_PADDING_BYTES(4);
- u32_le number_entries;
- u64_le end_offset;
- std::array<RelocationEntry, 0x332> relocation_entries;
- INSERT_PADDING_BYTES(8);
-};
-static_assert(sizeof(RelocationBucketRaw) == 0x4000, "RelocationBucketRaw has incorrect size.");
-
-// Vector version of RelocationBucketRaw
-struct RelocationBucket {
- u32 number_entries;
- u64 end_offset;
- std::vector<RelocationEntry> entries;
-};
-
-struct RelocationBlock {
- INSERT_PADDING_BYTES(4);
- u32_le number_buckets;
- u64_le size;
- std::array<u64, 0x7FE> base_offsets;
-};
-static_assert(sizeof(RelocationBlock) == 0x4000, "RelocationBlock has incorrect size.");
-
-struct SubsectionEntry {
- u64_le address_patch;
- INSERT_PADDING_BYTES(0x4);
- u32_le ctr;
-};
-static_assert(sizeof(SubsectionEntry) == 0x10, "SubsectionEntry has incorrect size.");
-
-struct SubsectionBucketRaw {
- INSERT_PADDING_BYTES(4);
- u32_le number_entries;
- u64_le end_offset;
- std::array<SubsectionEntry, 0x3FF> subsection_entries;
-};
-static_assert(sizeof(SubsectionBucketRaw) == 0x4000, "SubsectionBucketRaw has incorrect size.");
-
-// Vector version of SubsectionBucketRaw
-struct SubsectionBucket {
- u32 number_entries;
- u64 end_offset;
- std::vector<SubsectionEntry> entries;
-};
-
-struct SubsectionBlock {
- INSERT_PADDING_BYTES(4);
- u32_le number_buckets;
- u64_le size;
- std::array<u64, 0x7FE> base_offsets;
-};
-static_assert(sizeof(SubsectionBlock) == 0x4000, "SubsectionBlock has incorrect size.");
-
-inline RelocationBucket ConvertRelocationBucketRaw(RelocationBucketRaw raw) {
- return {raw.number_entries,
- raw.end_offset,
- {raw.relocation_entries.begin(), raw.relocation_entries.begin() + raw.number_entries}};
-}
-
-inline SubsectionBucket ConvertSubsectionBucketRaw(SubsectionBucketRaw raw) {
- return {raw.number_entries,
- raw.end_offset,
- {raw.subsection_entries.begin(), raw.subsection_entries.begin() + raw.number_entries}};
-}
-
-class BKTR : public VfsFile {
-public:
- BKTR(VirtualFile base_romfs, VirtualFile bktr_romfs, RelocationBlock relocation,
- std::vector<RelocationBucket> relocation_buckets, SubsectionBlock subsection,
- std::vector<SubsectionBucket> subsection_buckets, bool is_encrypted,
- Core::Crypto::Key128 key, u64 base_offset, u64 ivfc_offset, std::array<u8, 8> section_ctr);
- ~BKTR() override;
-
- std::size_t Read(u8* data, std::size_t length, std::size_t offset) const override;
-
- std::string GetName() const override;
-
- std::size_t GetSize() const override;
-
- bool Resize(std::size_t new_size) override;
-
- VirtualDir GetContainingDirectory() const override;
-
- bool IsWritable() const override;
-
- bool IsReadable() const override;
-
- std::size_t Write(const u8* data, std::size_t length, std::size_t offset) override;
-
- bool Rename(std::string_view name) override;
-
-private:
- RelocationEntry GetRelocationEntry(u64 offset) const;
- RelocationEntry GetNextRelocationEntry(u64 offset) const;
-
- SubsectionEntry GetSubsectionEntry(u64 offset) const;
- SubsectionEntry GetNextSubsectionEntry(u64 offset) const;
-
- RelocationBlock relocation;
- std::vector<RelocationBucket> relocation_buckets;
- SubsectionBlock subsection;
- std::vector<SubsectionBucket> subsection_buckets;
-
- // Should be the raw base romfs, decrypted.
- VirtualFile base_romfs;
- // Should be the raw BKTR romfs, (located at media_offset with size media_size).
- VirtualFile bktr_romfs;
-
- bool encrypted;
- Core::Crypto::Key128 key;
-
- // Base offset into NCA, used for IV calculation.
- u64 base_offset;
- // Distance between IVFC start and RomFS start, used for base reads
- u64 ivfc_offset;
- std::array<u8, 8> section_ctr;
-};
-
-} // namespace FileSys
diff --git a/src/core/file_sys/partition_filesystem.cpp b/src/core/file_sys/partition_filesystem.cpp
index 2527ae606..2422cb51b 100644
--- a/src/core/file_sys/partition_filesystem.cpp
+++ b/src/core/file_sys/partition_filesystem.cpp
@@ -47,6 +47,7 @@ PartitionFilesystem::PartitionFilesystem(VirtualFile file) {
// Actually read in now...
std::vector<u8> file_data = file->ReadBytes(metadata_size);
const std::size_t total_size = file_data.size();
+ file_data.push_back(0);
if (total_size != metadata_size) {
status = Loader::ResultStatus::ErrorIncorrectPFSFileSize;
diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp
index d3286b352..8e475f25a 100644
--- a/src/core/file_sys/patch_manager.cpp
+++ b/src/core/file_sys/patch_manager.cpp
@@ -141,8 +141,7 @@ VirtualDir PatchManager::PatchExeFS(VirtualDir exefs) const {
const auto update_tid = GetUpdateTitleID(title_id);
const auto update = content_provider.GetEntry(update_tid, ContentRecordType::Program);
- if (!update_disabled && update != nullptr && update->GetExeFS() != nullptr &&
- update->GetStatus() == Loader::ResultStatus::ErrorMissingBKTRBaseRomFS) {
+ if (!update_disabled && update != nullptr && update->GetExeFS() != nullptr) {
LOG_INFO(Loader, " ExeFS: Update ({}) applied successfully",
FormatTitleVersion(content_provider.GetEntryVersion(update_tid).value_or(0)));
exefs = update->GetExeFS();
@@ -295,11 +294,11 @@ std::vector<u8> PatchManager::PatchNSO(const std::vector<u8>& nso, const std::st
return out;
}
-bool PatchManager::HasNSOPatch(const BuildID& build_id_) const {
+bool PatchManager::HasNSOPatch(const BuildID& build_id_, std::string_view name) const {
const auto build_id_raw = Common::HexToString(build_id_);
const auto build_id = build_id_raw.substr(0, build_id_raw.find_last_not_of('0') + 1);
- LOG_INFO(Loader, "Querying NSO patch existence for build_id={}", build_id);
+ LOG_INFO(Loader, "Querying NSO patch existence for build_id={}, name={}", build_id, name);
const auto load_dir = fs_controller.GetModificationLoadRoot(title_id);
if (load_dir == nullptr) {
@@ -353,16 +352,12 @@ static void ApplyLayeredFS(VirtualFile& romfs, u64 title_id, ContentRecordType t
const Service::FileSystem::FileSystemController& fs_controller) {
const auto load_dir = fs_controller.GetModificationLoadRoot(title_id);
const auto sdmc_load_dir = fs_controller.GetSDMCModificationLoadRoot(title_id);
- if ((type != ContentRecordType::Program && type != ContentRecordType::Data) ||
+ if ((type != ContentRecordType::Program && type != ContentRecordType::Data &&
+ type != ContentRecordType::HtmlDocument) ||
(load_dir == nullptr && sdmc_load_dir == nullptr)) {
return;
}
- auto extracted = ExtractRomFS(romfs);
- if (extracted == nullptr) {
- return;
- }
-
const auto& disabled = Settings::values.disabled_addons[title_id];
std::vector<VirtualDir> patch_dirs = load_dir->GetSubdirectories();
if (std::find(disabled.cbegin(), disabled.cend(), "SDMC") == disabled.cend()) {
@@ -387,6 +382,12 @@ static void ApplyLayeredFS(VirtualFile& romfs, u64 title_id, ContentRecordType t
auto ext_dir = FindSubdirectoryCaseless(subdir, "romfs_ext");
if (ext_dir != nullptr)
layers_ext.push_back(std::make_shared<CachedVfsDirectory>(ext_dir));
+
+ if (type == ContentRecordType::HtmlDocument) {
+ auto manual_dir = FindSubdirectoryCaseless(subdir, "manual_html");
+ if (manual_dir != nullptr)
+ layers.push_back(std::make_shared<CachedVfsDirectory>(manual_dir));
+ }
}
// When there are no layers to apply, return early as there is no need to rebuild the RomFS
@@ -394,6 +395,11 @@ static void ApplyLayeredFS(VirtualFile& romfs, u64 title_id, ContentRecordType t
return;
}
+ auto extracted = ExtractRomFS(romfs);
+ if (extracted == nullptr) {
+ return;
+ }
+
layers.push_back(std::move(extracted));
auto layered = LayeredVfsDirectory::MakeLayeredDirectory(std::move(layers));
@@ -412,39 +418,43 @@ static void ApplyLayeredFS(VirtualFile& romfs, u64 title_id, ContentRecordType t
romfs = std::move(packed);
}
-VirtualFile PatchManager::PatchRomFS(VirtualFile romfs, u64 ivfc_offset, ContentRecordType type,
- VirtualFile update_raw, bool apply_layeredfs) const {
+VirtualFile PatchManager::PatchRomFS(const NCA* base_nca, VirtualFile base_romfs,
+ ContentRecordType type, VirtualFile packed_update_raw,
+ bool apply_layeredfs) const {
const auto log_string = fmt::format("Patching RomFS for title_id={:016X}, type={:02X}",
title_id, static_cast<u8>(type));
-
if (type == ContentRecordType::Program || type == ContentRecordType::Data) {
LOG_INFO(Loader, "{}", log_string);
} else {
LOG_DEBUG(Loader, "{}", log_string);
}
- if (romfs == nullptr) {
- return romfs;
+ if (base_romfs == nullptr) {
+ return base_romfs;
}
+ auto romfs = base_romfs;
+
// Game Updates
const auto update_tid = GetUpdateTitleID(title_id);
- const auto update = content_provider.GetEntryRaw(update_tid, type);
+ const auto update_raw = content_provider.GetEntryRaw(update_tid, type);
const auto& disabled = Settings::values.disabled_addons[title_id];
const auto update_disabled =
std::find(disabled.cbegin(), disabled.cend(), "Update") != disabled.cend();
- if (!update_disabled && update != nullptr) {
- const auto new_nca = std::make_shared<NCA>(update, romfs, ivfc_offset);
+ if (!update_disabled && update_raw != nullptr && base_nca != nullptr) {
+ const auto new_nca = std::make_shared<NCA>(update_raw, base_nca);
if (new_nca->GetStatus() == Loader::ResultStatus::Success &&
new_nca->GetRomFS() != nullptr) {
LOG_INFO(Loader, " RomFS: Update ({}) applied successfully",
FormatTitleVersion(content_provider.GetEntryVersion(update_tid).value_or(0)));
romfs = new_nca->GetRomFS();
+ const auto version =
+ FormatTitleVersion(content_provider.GetEntryVersion(update_tid).value_or(0));
}
- } else if (!update_disabled && update_raw != nullptr) {
- const auto new_nca = std::make_shared<NCA>(update_raw, romfs, ivfc_offset);
+ } else if (!update_disabled && packed_update_raw != nullptr && base_nca != nullptr) {
+ const auto new_nca = std::make_shared<NCA>(packed_update_raw, base_nca);
if (new_nca->GetStatus() == Loader::ResultStatus::Success &&
new_nca->GetRomFS() != nullptr) {
LOG_INFO(Loader, " RomFS: Update (PACKED) applied successfully");
@@ -608,7 +618,7 @@ PatchManager::Metadata PatchManager::ParseControlNCA(const NCA& nca) const {
return {};
}
- const auto romfs = PatchRomFS(base_romfs, nca.GetBaseIVFCOffset(), ContentRecordType::Control);
+ const auto romfs = PatchRomFS(&nca, base_romfs, ContentRecordType::Control);
if (romfs == nullptr) {
return {};
}
@@ -626,8 +636,8 @@ PatchManager::Metadata PatchManager::ParseControlNCA(const NCA& nca) const {
auto nacp = nacp_file == nullptr ? nullptr : std::make_unique<NACP>(nacp_file);
// Get language code from settings
- const auto language_code =
- Service::Set::GetLanguageCodeFromIndex(Settings::values.language_index.GetValue());
+ const auto language_code = Service::Set::GetLanguageCodeFromIndex(
+ static_cast<u32>(Settings::values.language_index.GetValue()));
// Convert to application language and get priority list
const auto application_language =
diff --git a/src/core/file_sys/patch_manager.h b/src/core/file_sys/patch_manager.h
index 69d15e2f8..03e9c7301 100644
--- a/src/core/file_sys/patch_manager.h
+++ b/src/core/file_sys/patch_manager.h
@@ -52,7 +52,7 @@ public:
// Checks to see if PatchNSO() will have any effect given the NSO's build ID.
// Used to prevent expensive copies in NSO loader.
- [[nodiscard]] bool HasNSOPatch(const BuildID& build_id) const;
+ [[nodiscard]] bool HasNSOPatch(const BuildID& build_id, std::string_view name) const;
// Creates a CheatList object with all
[[nodiscard]] std::vector<Core::Memory::CheatEntry> CreateCheatList(
@@ -61,9 +61,9 @@ public:
// Currently tracked RomFS patches:
// - Game Updates
// - LayeredFS
- [[nodiscard]] VirtualFile PatchRomFS(VirtualFile base, u64 ivfc_offset,
+ [[nodiscard]] VirtualFile PatchRomFS(const NCA* base_nca, VirtualFile base_romfs,
ContentRecordType type = ContentRecordType::Program,
- VirtualFile update_raw = nullptr,
+ VirtualFile packed_update_raw = nullptr,
bool apply_layeredfs = true) const;
// Returns a vector of pairs between patch names and patch versions.
diff --git a/src/core/file_sys/program_metadata.cpp b/src/core/file_sys/program_metadata.cpp
index f00479bd3..8e291ff67 100644
--- a/src/core/file_sys/program_metadata.cpp
+++ b/src/core/file_sys/program_metadata.cpp
@@ -5,6 +5,7 @@
#include <vector>
#include "common/logging/log.h"
+#include "common/scope_exit.h"
#include "core/file_sys/program_metadata.h"
#include "core/file_sys/vfs.h"
#include "core/loader/loader.h"
@@ -95,6 +96,13 @@ Loader::ResultStatus ProgramMetadata::Load(VirtualFile file) {
return Loader::ResultStatus::Success;
}
+Loader::ResultStatus ProgramMetadata::Reload(VirtualFile file) {
+ const u64 original_program_id = aci_header.title_id;
+ SCOPE_EXIT({ aci_header.title_id = original_program_id; });
+
+ return this->Load(file);
+}
+
/*static*/ ProgramMetadata ProgramMetadata::GetDefault() {
// Allow use of cores 0~3 and thread priorities 1~63.
constexpr u32 default_thread_info_capability = 0x30007F7;
diff --git a/src/core/file_sys/program_metadata.h b/src/core/file_sys/program_metadata.h
index 2e8960b07..9f8e74b13 100644
--- a/src/core/file_sys/program_metadata.h
+++ b/src/core/file_sys/program_metadata.h
@@ -56,6 +56,7 @@ public:
static ProgramMetadata GetDefault();
Loader::ResultStatus Load(VirtualFile file);
+ Loader::ResultStatus Reload(VirtualFile file);
/// Load from parameters instead of NPDM file, used for KIP
void LoadManual(bool is_64_bit, ProgramAddressSpaceType address_space, s32 main_thread_prio,
diff --git a/src/core/file_sys/registered_cache.cpp b/src/core/file_sys/registered_cache.cpp
index a6960170c..04da93d5c 100644
--- a/src/core/file_sys/registered_cache.cpp
+++ b/src/core/file_sys/registered_cache.cpp
@@ -9,6 +9,7 @@
#include "common/fs/path_util.h"
#include "common/hex_util.h"
#include "common/logging/log.h"
+#include "common/scope_exit.h"
#include "core/crypto/key_manager.h"
#include "core/file_sys/card_image.h"
#include "core/file_sys/common_funcs.h"
@@ -416,9 +417,9 @@ void RegisteredCache::ProcessFiles(const std::vector<NcaID>& ids) {
if (file == nullptr)
continue;
- const auto nca = std::make_shared<NCA>(parser(file, id), nullptr, 0);
+ const auto nca = std::make_shared<NCA>(parser(file, id));
if (nca->GetStatus() != Loader::ResultStatus::Success ||
- nca->GetType() != NCAContentType::Meta) {
+ nca->GetType() != NCAContentType::Meta || nca->GetSubdirectories().empty()) {
continue;
}
@@ -500,7 +501,7 @@ std::unique_ptr<NCA> RegisteredCache::GetEntry(u64 title_id, ContentRecordType t
const auto raw = GetEntryRaw(title_id, type);
if (raw == nullptr)
return nullptr;
- return std::make_unique<NCA>(raw, nullptr, 0);
+ return std::make_unique<NCA>(raw);
}
template <typename T>
@@ -606,9 +607,9 @@ InstallResult RegisteredCache::InstallEntry(const NSP& nsp, bool overwrite_if_ex
const auto result = RemoveExistingEntry(title_id);
// Install Metadata File
- const auto res = RawInstallNCA(**meta_iter, copy, overwrite_if_exists, meta_id_data);
- if (res != InstallResult::Success) {
- return res;
+ const auto meta_result = RawInstallNCA(**meta_iter, copy, overwrite_if_exists, meta_id_data);
+ if (meta_result != InstallResult::Success) {
+ return meta_result;
}
// Install all the other NCAs
@@ -621,9 +622,19 @@ InstallResult RegisteredCache::InstallEntry(const NSP& nsp, bool overwrite_if_ex
if (nca == nullptr) {
return InstallResult::ErrorCopyFailed;
}
- const auto res2 = RawInstallNCA(*nca, copy, overwrite_if_exists, record.nca_id);
- if (res2 != InstallResult::Success) {
- return res2;
+ if (nca->GetStatus() == Loader::ResultStatus::ErrorMissingBKTRBaseRomFS &&
+ nca->GetTitleId() != title_id) {
+ // Create fake cnmt for patch to multiprogram application
+ const auto sub_nca_result =
+ InstallEntry(*nca, cnmt.GetHeader(), record, overwrite_if_exists, copy);
+ if (sub_nca_result != InstallResult::Success) {
+ return sub_nca_result;
+ }
+ continue;
+ }
+ const auto nca_result = RawInstallNCA(*nca, copy, overwrite_if_exists, record.nca_id);
+ if (nca_result != InstallResult::Success) {
+ return nca_result;
}
}
@@ -662,7 +673,34 @@ InstallResult RegisteredCache::InstallEntry(const NCA& nca, TitleType type,
return RawInstallNCA(nca, copy, overwrite_if_exists, c_rec.nca_id);
}
+InstallResult RegisteredCache::InstallEntry(const NCA& nca, const CNMTHeader& base_header,
+ const ContentRecord& base_record,
+ bool overwrite_if_exists, const VfsCopyFunction& copy) {
+ const CNMTHeader header{
+ .title_id = nca.GetTitleId(),
+ .title_version = base_header.title_version,
+ .type = base_header.type,
+ .reserved = {},
+ .table_offset = 0x10,
+ .number_content_entries = 1,
+ .number_meta_entries = 0,
+ .attributes = 0,
+ .reserved2 = {},
+ .is_committed = 0,
+ .required_download_system_version = 0,
+ .reserved3 = {},
+ };
+ const OptionalHeader opt_header{0, 0};
+ const CNMT new_cnmt(header, opt_header, {base_record}, {});
+ if (!RawInstallYuzuMeta(new_cnmt)) {
+ return InstallResult::ErrorMetaFailed;
+ }
+ return RawInstallNCA(nca, copy, overwrite_if_exists, base_record.nca_id);
+}
+
bool RegisteredCache::RemoveExistingEntry(u64 title_id) const {
+ bool removed_data = false;
+
const auto delete_nca = [this](const NcaID& id) {
const auto path = GetRelativePathFromNcaID(id, false, true, false);
@@ -706,11 +744,20 @@ bool RegisteredCache::RemoveExistingEntry(u64 title_id) const {
const auto deleted_html = delete_nca(html_id);
const auto deleted_legal = delete_nca(legal_id);
- return deleted_meta && (deleted_meta || deleted_program || deleted_data ||
- deleted_control || deleted_html || deleted_legal);
+ removed_data |= (deleted_meta || deleted_program || deleted_data || deleted_control ||
+ deleted_html || deleted_legal);
}
- return false;
+ // If patch entries for any program exist in yuzu meta, remove them
+ for (u8 i = 0; i < 0x10; i++) {
+ const auto meta_dir = dir->CreateDirectoryRelative("yuzu_meta");
+ const auto filename = GetCNMTName(TitleType::Update, title_id + i);
+ if (meta_dir->GetFile(filename)) {
+ removed_data |= meta_dir->DeleteFile(filename);
+ }
+ }
+
+ return removed_data;
}
InstallResult RegisteredCache::RawInstallNCA(const NCA& nca, const VfsCopyFunction& copy,
@@ -964,7 +1011,7 @@ std::unique_ptr<NCA> ManualContentProvider::GetEntry(u64 title_id, ContentRecord
const auto res = GetEntryRaw(title_id, type);
if (res == nullptr)
return nullptr;
- return std::make_unique<NCA>(res, nullptr, 0);
+ return std::make_unique<NCA>(res);
}
std::vector<ContentProviderEntry> ManualContentProvider::ListEntriesFilter(
diff --git a/src/core/file_sys/registered_cache.h b/src/core/file_sys/registered_cache.h
index bd7f53eaf..64815a845 100644
--- a/src/core/file_sys/registered_cache.h
+++ b/src/core/file_sys/registered_cache.h
@@ -24,6 +24,7 @@ enum class NCAContentType : u8;
enum class TitleType : u8;
struct ContentRecord;
+struct CNMTHeader;
struct MetaRecord;
class RegisteredCache;
@@ -169,6 +170,10 @@ public:
InstallResult InstallEntry(const NCA& nca, TitleType type, bool overwrite_if_exists = false,
const VfsCopyFunction& copy = &VfsRawCopy);
+ InstallResult InstallEntry(const NCA& nca, const CNMTHeader& base_header,
+ const ContentRecord& base_record, bool overwrite_if_exists = false,
+ const VfsCopyFunction& copy = &VfsRawCopy);
+
// Removes an existing entry based on title id
bool RemoveExistingEntry(u64 title_id) const;
diff --git a/src/core/file_sys/romfs_factory.cpp b/src/core/file_sys/romfs_factory.cpp
index ae7a3511b..1bc07dae5 100644
--- a/src/core/file_sys/romfs_factory.cpp
+++ b/src/core/file_sys/romfs_factory.cpp
@@ -26,60 +26,52 @@ RomFSFactory::RomFSFactory(Loader::AppLoader& app_loader, ContentProvider& provi
}
updatable = app_loader.IsRomFSUpdatable();
- ivfc_offset = app_loader.ReadRomFSIVFCOffset();
}
RomFSFactory::~RomFSFactory() = default;
void RomFSFactory::SetPackedUpdate(VirtualFile update_raw_file) {
- update_raw = std::move(update_raw_file);
+ packed_update_raw = std::move(update_raw_file);
}
-ResultVal<VirtualFile> RomFSFactory::OpenCurrentProcess(u64 current_process_title_id) const {
+VirtualFile RomFSFactory::OpenCurrentProcess(u64 current_process_title_id) const {
if (!updatable) {
return file;
}
+ const auto type = ContentRecordType::Program;
+ const auto nca = content_provider.GetEntry(current_process_title_id, type);
const PatchManager patch_manager{current_process_title_id, filesystem_controller,
content_provider};
- return patch_manager.PatchRomFS(file, ivfc_offset, ContentRecordType::Program, update_raw);
+ return patch_manager.PatchRomFS(nca.get(), file, ContentRecordType::Program, packed_update_raw);
}
-ResultVal<VirtualFile> RomFSFactory::OpenPatchedRomFS(u64 title_id, ContentRecordType type) const {
+VirtualFile RomFSFactory::OpenPatchedRomFS(u64 title_id, ContentRecordType type) const {
auto nca = content_provider.GetEntry(title_id, type);
if (nca == nullptr) {
- // TODO: Find the right error code to use here
- return ResultUnknown;
+ return nullptr;
}
const PatchManager patch_manager{title_id, filesystem_controller, content_provider};
- return patch_manager.PatchRomFS(nca->GetRomFS(), nca->GetBaseIVFCOffset(), type);
+ return patch_manager.PatchRomFS(nca.get(), nca->GetRomFS(), type);
}
-ResultVal<VirtualFile> RomFSFactory::OpenPatchedRomFSWithProgramIndex(
- u64 title_id, u8 program_index, ContentRecordType type) const {
+VirtualFile RomFSFactory::OpenPatchedRomFSWithProgramIndex(u64 title_id, u8 program_index,
+ ContentRecordType type) const {
const auto res_title_id = GetBaseTitleIDWithProgramIndex(title_id, program_index);
return OpenPatchedRomFS(res_title_id, type);
}
-ResultVal<VirtualFile> RomFSFactory::Open(u64 title_id, StorageId storage,
- ContentRecordType type) const {
+VirtualFile RomFSFactory::Open(u64 title_id, StorageId storage, ContentRecordType type) const {
const std::shared_ptr<NCA> res = GetEntry(title_id, storage, type);
if (res == nullptr) {
- // TODO(DarkLordZach): Find the right error code to use here
- return ResultUnknown;
- }
-
- const auto romfs = res->GetRomFS();
- if (romfs == nullptr) {
- // TODO(DarkLordZach): Find the right error code to use here
- return ResultUnknown;
+ return nullptr;
}
- return romfs;
+ return res->GetRomFS();
}
std::shared_ptr<NCA> RomFSFactory::GetEntry(u64 title_id, StorageId storage,
diff --git a/src/core/file_sys/romfs_factory.h b/src/core/file_sys/romfs_factory.h
index 14936031f..e4809bc94 100644
--- a/src/core/file_sys/romfs_factory.h
+++ b/src/core/file_sys/romfs_factory.h
@@ -40,23 +40,22 @@ public:
Service::FileSystem::FileSystemController& controller);
~RomFSFactory();
- void SetPackedUpdate(VirtualFile update_raw_file);
- [[nodiscard]] ResultVal<VirtualFile> OpenCurrentProcess(u64 current_process_title_id) const;
- [[nodiscard]] ResultVal<VirtualFile> OpenPatchedRomFS(u64 title_id,
- ContentRecordType type) const;
- [[nodiscard]] ResultVal<VirtualFile> OpenPatchedRomFSWithProgramIndex(
- u64 title_id, u8 program_index, ContentRecordType type) const;
- [[nodiscard]] ResultVal<VirtualFile> Open(u64 title_id, StorageId storage,
- ContentRecordType type) const;
-
-private:
+ void SetPackedUpdate(VirtualFile packed_update_raw);
+ [[nodiscard]] VirtualFile OpenCurrentProcess(u64 current_process_title_id) const;
+ [[nodiscard]] VirtualFile OpenPatchedRomFS(u64 title_id, ContentRecordType type) const;
+ [[nodiscard]] VirtualFile OpenPatchedRomFSWithProgramIndex(u64 title_id, u8 program_index,
+ ContentRecordType type) const;
+ [[nodiscard]] VirtualFile Open(u64 title_id, StorageId storage, ContentRecordType type) const;
[[nodiscard]] std::shared_ptr<NCA> GetEntry(u64 title_id, StorageId storage,
ContentRecordType type) const;
+private:
VirtualFile file;
- VirtualFile update_raw;
+ VirtualFile packed_update_raw;
+
+ VirtualFile base;
+
bool updatable;
- u64 ivfc_offset;
ContentProvider& content_provider;
Service::FileSystem::FileSystemController& filesystem_controller;
diff --git a/src/core/file_sys/savedata_factory.cpp b/src/core/file_sys/savedata_factory.cpp
index 70b36f170..a4d060007 100644
--- a/src/core/file_sys/savedata_factory.cpp
+++ b/src/core/file_sys/savedata_factory.cpp
@@ -108,26 +108,16 @@ SaveDataFactory::SaveDataFactory(Core::System& system_, VirtualDir save_director
SaveDataFactory::~SaveDataFactory() = default;
-ResultVal<VirtualDir> SaveDataFactory::Create(SaveDataSpaceId space,
- const SaveDataAttribute& meta) const {
+VirtualDir SaveDataFactory::Create(SaveDataSpaceId space, const SaveDataAttribute& meta) const {
PrintSaveDataAttributeWarnings(meta);
const auto save_directory =
GetFullPath(system, dir, space, meta.type, meta.title_id, meta.user_id, meta.save_id);
- auto out = dir->CreateDirectoryRelative(save_directory);
-
- // Return an error if the save data doesn't actually exist.
- if (out == nullptr) {
- // TODO(DarkLordZach): Find out correct error code.
- return ResultUnknown;
- }
-
- return out;
+ return dir->CreateDirectoryRelative(save_directory);
}
-ResultVal<VirtualDir> SaveDataFactory::Open(SaveDataSpaceId space,
- const SaveDataAttribute& meta) const {
+VirtualDir SaveDataFactory::Open(SaveDataSpaceId space, const SaveDataAttribute& meta) const {
const auto save_directory =
GetFullPath(system, dir, space, meta.type, meta.title_id, meta.user_id, meta.save_id);
@@ -138,12 +128,6 @@ ResultVal<VirtualDir> SaveDataFactory::Open(SaveDataSpaceId space,
return Create(space, meta);
}
- // Return an error if the save data doesn't actually exist.
- if (out == nullptr) {
- // TODO(Subv): Find out correct error code.
- return ResultUnknown;
- }
-
return out;
}
diff --git a/src/core/file_sys/savedata_factory.h b/src/core/file_sys/savedata_factory.h
index d3633ef03..45c7c81fb 100644
--- a/src/core/file_sys/savedata_factory.h
+++ b/src/core/file_sys/savedata_factory.h
@@ -89,8 +89,8 @@ public:
explicit SaveDataFactory(Core::System& system_, VirtualDir save_directory_);
~SaveDataFactory();
- ResultVal<VirtualDir> Create(SaveDataSpaceId space, const SaveDataAttribute& meta) const;
- ResultVal<VirtualDir> Open(SaveDataSpaceId space, const SaveDataAttribute& meta) const;
+ VirtualDir Create(SaveDataSpaceId space, const SaveDataAttribute& meta) const;
+ VirtualDir Open(SaveDataSpaceId space, const SaveDataAttribute& meta) const;
VirtualDir GetSaveDataSpaceDirectory(SaveDataSpaceId space) const;
diff --git a/src/core/file_sys/sdmc_factory.cpp b/src/core/file_sys/sdmc_factory.cpp
index 1df022c9e..d5158cd64 100644
--- a/src/core/file_sys/sdmc_factory.cpp
+++ b/src/core/file_sys/sdmc_factory.cpp
@@ -23,7 +23,7 @@ SDMCFactory::SDMCFactory(VirtualDir sd_dir_, VirtualDir sd_mod_dir_)
SDMCFactory::~SDMCFactory() = default;
-ResultVal<VirtualDir> SDMCFactory::Open() const {
+VirtualDir SDMCFactory::Open() const {
return sd_dir;
}
diff --git a/src/core/file_sys/sdmc_factory.h b/src/core/file_sys/sdmc_factory.h
index 3aebfb25e..a445fdb16 100644
--- a/src/core/file_sys/sdmc_factory.h
+++ b/src/core/file_sys/sdmc_factory.h
@@ -18,7 +18,7 @@ public:
explicit SDMCFactory(VirtualDir sd_dir_, VirtualDir sd_mod_dir_);
~SDMCFactory();
- ResultVal<VirtualDir> Open() const;
+ VirtualDir Open() const;
VirtualDir GetSDMCModificationLoadRoot(u64 title_id) const;
VirtualDir GetSDMCContentDirectory() const;
diff --git a/src/core/file_sys/submission_package.cpp b/src/core/file_sys/submission_package.cpp
index c90e6e372..68e8ec22f 100644
--- a/src/core/file_sys/submission_package.cpp
+++ b/src/core/file_sys/submission_package.cpp
@@ -164,24 +164,6 @@ VirtualFile NSP::GetNCAFile(u64 title_id, ContentRecordType type, TitleType titl
return nullptr;
}
-std::vector<Core::Crypto::Key128> NSP::GetTitlekey() const {
- if (extracted)
- LOG_WARNING(Service_FS, "called on an NSP that is of type extracted.");
- std::vector<Core::Crypto::Key128> out;
- for (const auto& ticket_file : ticket_files) {
- if (ticket_file == nullptr ||
- ticket_file->GetSize() <
- Core::Crypto::TICKET_FILE_TITLEKEY_OFFSET + sizeof(Core::Crypto::Key128)) {
- continue;
- }
-
- out.emplace_back();
- ticket_file->Read(out.back().data(), out.back().size(),
- Core::Crypto::TICKET_FILE_TITLEKEY_OFFSET);
- }
- return out;
-}
-
std::vector<VirtualFile> NSP::GetFiles() const {
return pfs->GetFiles();
}
@@ -208,22 +190,11 @@ void NSP::SetTicketKeys(const std::vector<VirtualFile>& files) {
continue;
}
- if (ticket_file->GetSize() <
- Core::Crypto::TICKET_FILE_TITLEKEY_OFFSET + sizeof(Core::Crypto::Key128)) {
+ auto ticket = Core::Crypto::Ticket::Read(ticket_file);
+ if (!keys.AddTicket(ticket)) {
+ LOG_WARNING(Common_Filesystem, "Could not load NSP ticket {}", ticket_file->GetName());
continue;
}
-
- Core::Crypto::Key128 key{};
- ticket_file->Read(key.data(), key.size(), Core::Crypto::TICKET_FILE_TITLEKEY_OFFSET);
-
- // We get the name without the extension in order to create the rights ID.
- std::string name_only(ticket_file->GetName());
- name_only.erase(name_only.size() - 4);
-
- const auto rights_id_raw = Common::HexStringToArray<16>(name_only);
- u128 rights_id;
- std::memcpy(rights_id.data(), rights_id_raw.data(), sizeof(u128));
- keys.SetKey(Core::Crypto::S128KeyType::Titlekey, key, rights_id[1], rights_id[0]);
}
}
@@ -249,7 +220,7 @@ void NSP::ReadNCAs(const std::vector<VirtualFile>& files) {
}
const auto nca = std::make_shared<NCA>(outer_file);
- if (nca->GetStatus() != Loader::ResultStatus::Success) {
+ if (nca->GetStatus() != Loader::ResultStatus::Success || nca->GetSubdirectories().empty()) {
program_status[nca->GetTitleId()] = nca->GetStatus();
continue;
}
@@ -280,7 +251,7 @@ void NSP::ReadNCAs(const std::vector<VirtualFile>& files) {
continue;
}
- auto next_nca = std::make_shared<NCA>(std::move(next_file), nullptr, 0);
+ auto next_nca = std::make_shared<NCA>(std::move(next_file));
if (next_nca->GetType() == NCAContentType::Program) {
program_status[next_nca->GetTitleId()] = next_nca->GetStatus();
diff --git a/src/core/file_sys/submission_package.h b/src/core/file_sys/submission_package.h
index 27f97c725..915bffca9 100644
--- a/src/core/file_sys/submission_package.h
+++ b/src/core/file_sys/submission_package.h
@@ -53,7 +53,6 @@ public:
TitleType title_type = TitleType::Application) const;
VirtualFile GetNCAFile(u64 title_id, ContentRecordType type,
TitleType title_type = TitleType::Application) const;
- std::vector<Core::Crypto::Key128> GetTitlekey() const;
std::vector<VirtualFile> GetFiles() const override;
diff --git a/src/core/file_sys/vfs.h b/src/core/file_sys/vfs.h
index a93e21f67..a7cd1cae3 100644
--- a/src/core/file_sys/vfs.h
+++ b/src/core/file_sys/vfs.h
@@ -175,7 +175,7 @@ public:
return Write(reinterpret_cast<const u8*>(&data), sizeof(T), offset);
}
- // Renames the file to name. Returns whether or not the operation was successsful.
+ // Renames the file to name. Returns whether or not the operation was successful.
virtual bool Rename(std::string_view name) = 0;
// Returns the full path of this file as a string, recursively
diff --git a/src/core/frontend/applets/controller.cpp b/src/core/frontend/applets/controller.cpp
index 3300d4f79..27755cb58 100644
--- a/src/core/frontend/applets/controller.cpp
+++ b/src/core/frontend/applets/controller.cpp
@@ -3,6 +3,8 @@
#include "common/assert.h"
#include "common/logging/log.h"
+#include "common/settings.h"
+#include "common/settings_enums.h"
#include "core/frontend/applets/controller.h"
#include "core/hid/emulated_controller.h"
#include "core/hid/hid_core.h"
@@ -62,7 +64,7 @@ void DefaultControllerApplet::ReconfigureControllers(ReconfigureCallback callbac
controller->Connect(true);
}
} else if (index == 0 && parameters.enable_single_mode && parameters.allow_handheld &&
- !Settings::values.use_docked_mode.GetValue()) {
+ !Settings::IsDockedMode()) {
// We should *never* reach here under any normal circumstances.
controller->SetNpadStyleIndex(Core::HID::NpadStyleIndex::Handheld);
controller->Connect(true);
diff --git a/src/core/frontend/framebuffer_layout.cpp b/src/core/frontend/framebuffer_layout.cpp
index b4081fc39..2590b20da 100644
--- a/src/core/frontend/framebuffer_layout.cpp
+++ b/src/core/frontend/framebuffer_layout.cpp
@@ -5,6 +5,7 @@
#include "common/assert.h"
#include "common/settings.h"
+#include "common/settings_enums.h"
#include "core/frontend/framebuffer_layout.h"
namespace Layout {
@@ -49,7 +50,7 @@ FramebufferLayout DefaultFrameLayout(u32 width, u32 height) {
}
FramebufferLayout FrameLayoutFromResolutionScale(f32 res_scale) {
- const bool is_docked = Settings::values.use_docked_mode.GetValue();
+ const bool is_docked = Settings::IsDockedMode();
const u32 screen_width = is_docked ? ScreenDocked::Width : ScreenUndocked::Width;
const u32 screen_height = is_docked ? ScreenDocked::Height : ScreenUndocked::Height;
diff --git a/src/core/hid/emulated_controller.cpp b/src/core/hid/emulated_controller.cpp
index 94bd656fe..2af3f06fc 100644
--- a/src/core/hid/emulated_controller.cpp
+++ b/src/core/hid/emulated_controller.cpp
@@ -542,6 +542,7 @@ void EmulatedController::UnloadInput() {
}
void EmulatedController::EnableConfiguration() {
+ std::scoped_lock lock{connect_mutex, npad_mutex};
is_configuring = true;
tmp_is_connected = is_connected;
tmp_npad_type = npad_type;
@@ -1556,7 +1557,7 @@ void EmulatedController::Connect(bool use_temporary_value) {
auto trigger_guard =
SCOPE_GUARD({ TriggerOnChange(ControllerTriggerType::Connected, !is_configuring); });
- std::scoped_lock lock{mutex};
+ std::scoped_lock lock{connect_mutex, mutex};
if (is_configuring) {
tmp_is_connected = true;
return;
@@ -1572,7 +1573,7 @@ void EmulatedController::Connect(bool use_temporary_value) {
void EmulatedController::Disconnect() {
auto trigger_guard =
SCOPE_GUARD({ TriggerOnChange(ControllerTriggerType::Disconnected, !is_configuring); });
- std::scoped_lock lock{mutex};
+ std::scoped_lock lock{connect_mutex, mutex};
if (is_configuring) {
tmp_is_connected = false;
return;
@@ -1586,7 +1587,7 @@ void EmulatedController::Disconnect() {
}
bool EmulatedController::IsConnected(bool get_temporary_value) const {
- std::scoped_lock lock{mutex};
+ std::scoped_lock lock{connect_mutex};
if (get_temporary_value && is_configuring) {
return tmp_is_connected;
}
@@ -1599,7 +1600,7 @@ NpadIdType EmulatedController::GetNpadIdType() const {
}
NpadStyleIndex EmulatedController::GetNpadStyleIndex(bool get_temporary_value) const {
- std::scoped_lock lock{mutex};
+ std::scoped_lock lock{npad_mutex};
if (get_temporary_value && is_configuring) {
return tmp_npad_type;
}
@@ -1609,7 +1610,7 @@ NpadStyleIndex EmulatedController::GetNpadStyleIndex(bool get_temporary_value) c
void EmulatedController::SetNpadStyleIndex(NpadStyleIndex npad_type_) {
auto trigger_guard =
SCOPE_GUARD({ TriggerOnChange(ControllerTriggerType::Type, !is_configuring); });
- std::scoped_lock lock{mutex};
+ std::scoped_lock lock{mutex, npad_mutex};
if (is_configuring) {
if (tmp_npad_type == npad_type_) {
diff --git a/src/core/hid/emulated_controller.h b/src/core/hid/emulated_controller.h
index 88d77db8d..d4500583e 100644
--- a/src/core/hid/emulated_controller.h
+++ b/src/core/hid/emulated_controller.h
@@ -603,6 +603,8 @@ private:
mutable std::mutex mutex;
mutable std::mutex callback_mutex;
+ mutable std::mutex npad_mutex;
+ mutable std::mutex connect_mutex;
std::unordered_map<int, ControllerUpdateCallback> callback_list;
int last_callback_key = 0;
diff --git a/src/core/hid/hid_core.cpp b/src/core/hid/hid_core.cpp
index 7d6373414..cf53c04d9 100644
--- a/src/core/hid/hid_core.cpp
+++ b/src/core/hid/hid_core.cpp
@@ -154,6 +154,14 @@ NpadIdType HIDCore::GetFirstDisconnectedNpadId() const {
return NpadIdType::Player1;
}
+void HIDCore::SetLastActiveController(NpadIdType npad_id) {
+ last_active_controller = npad_id;
+}
+
+NpadIdType HIDCore::GetLastActiveController() const {
+ return last_active_controller;
+}
+
void HIDCore::EnableAllControllerConfiguration() {
player_1->EnableConfiguration();
player_2->EnableConfiguration();
diff --git a/src/core/hid/hid_core.h b/src/core/hid/hid_core.h
index 5fe36551e..80abab18b 100644
--- a/src/core/hid/hid_core.h
+++ b/src/core/hid/hid_core.h
@@ -48,6 +48,12 @@ public:
/// Returns the first disconnected npad id
NpadIdType GetFirstDisconnectedNpadId() const;
+ /// Sets the npad id of the last active controller
+ void SetLastActiveController(NpadIdType npad_id);
+
+ /// Returns the npad id of the last controller that pushed a button
+ NpadIdType GetLastActiveController() const;
+
/// Sets all emulated controllers into configuring mode.
void EnableAllControllerConfiguration();
@@ -77,6 +83,7 @@ private:
std::unique_ptr<EmulatedConsole> console;
std::unique_ptr<EmulatedDevices> devices;
NpadStyleTag supported_style_tag{NpadStyleSet::All};
+ NpadIdType last_active_controller{NpadIdType::Handheld};
};
} // namespace Core::HID
diff --git a/src/core/hid/hid_types.h b/src/core/hid/hid_types.h
index 6b35f448c..00beb40dd 100644
--- a/src/core/hid/hid_types.h
+++ b/src/core/hid/hid_types.h
@@ -289,6 +289,19 @@ enum class GyroscopeZeroDriftMode : u32 {
Tight = 2,
};
+// This is nn::settings::system::TouchScreenMode
+enum class TouchScreenMode : u32 {
+ Stylus = 0,
+ Standard = 1,
+};
+
+// This is nn::hid::TouchScreenModeForNx
+enum class TouchScreenModeForNx : u8 {
+ UseSystemSetting,
+ Finger,
+ Heat2,
+};
+
// This is nn::hid::NpadStyleTag
struct NpadStyleTag {
union {
@@ -334,6 +347,14 @@ struct TouchState {
};
static_assert(sizeof(TouchState) == 0x28, "Touchstate is an invalid size");
+// This is nn::hid::TouchScreenConfigurationForNx
+struct TouchScreenConfigurationForNx {
+ TouchScreenModeForNx mode{TouchScreenModeForNx::UseSystemSetting};
+ INSERT_PADDING_BYTES(0xF);
+};
+static_assert(sizeof(TouchScreenConfigurationForNx) == 0x10,
+ "TouchScreenConfigurationForNx is an invalid size");
+
struct NpadColor {
u8 r{};
u8 g{};
@@ -662,6 +683,11 @@ struct MouseState {
};
static_assert(sizeof(MouseState) == 0x28, "MouseState is an invalid size");
+struct UniquePadId {
+ u64 id;
+};
+static_assert(sizeof(UniquePadId) == 0x8, "UniquePadId is an invalid size");
+
/// Converts a NpadIdType to an array index.
constexpr size_t NpadIdTypeToIndex(NpadIdType npad_id_type) {
switch (npad_id_type) {
diff --git a/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp b/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp
index 49bdc671e..4cfdf4558 100644
--- a/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp
+++ b/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp
@@ -35,13 +35,27 @@ namespace {
using namespace Common::Literals;
u32 GetMemorySizeForInit() {
- return Settings::values.use_unsafe_extended_memory_layout ? Smc::MemorySize_8GB
- : Smc::MemorySize_4GB;
+ switch (Settings::values.memory_layout_mode.GetValue()) {
+ case Settings::MemoryLayout::Memory_4Gb:
+ return Smc::MemorySize_4GB;
+ case Settings::MemoryLayout::Memory_6Gb:
+ return Smc::MemorySize_6GB;
+ case Settings::MemoryLayout::Memory_8Gb:
+ return Smc::MemorySize_8GB;
+ }
+ return Smc::MemorySize_4GB;
}
Smc::MemoryArrangement GetMemoryArrangeForInit() {
- return Settings::values.use_unsafe_extended_memory_layout ? Smc::MemoryArrangement_8GB
- : Smc::MemoryArrangement_4GB;
+ switch (Settings::values.memory_layout_mode.GetValue()) {
+ case Settings::MemoryLayout::Memory_4Gb:
+ return Smc::MemoryArrangement_4GB;
+ case Settings::MemoryLayout::Memory_6Gb:
+ return Smc::MemoryArrangement_6GB;
+ case Settings::MemoryLayout::Memory_8Gb:
+ return Smc::MemoryArrangement_8GB;
+ }
+ return Smc::MemoryArrangement_4GB;
}
} // namespace
diff --git a/src/core/hle/kernel/k_auto_object.cpp b/src/core/hle/kernel/k_auto_object.cpp
index 0ae42c95c..9cd7a9fd5 100644
--- a/src/core/hle/kernel/k_auto_object.cpp
+++ b/src/core/hle/kernel/k_auto_object.cpp
@@ -15,8 +15,8 @@ void KAutoObject::RegisterWithKernel() {
m_kernel.RegisterKernelObject(this);
}
-void KAutoObject::UnregisterWithKernel() {
- m_kernel.UnregisterKernelObject(this);
+void KAutoObject::UnregisterWithKernel(KernelCore& kernel, KAutoObject* self) {
+ kernel.UnregisterKernelObject(self);
}
} // namespace Kernel
diff --git a/src/core/hle/kernel/k_auto_object.h b/src/core/hle/kernel/k_auto_object.h
index f384b1568..8d4e0df44 100644
--- a/src/core/hle/kernel/k_auto_object.h
+++ b/src/core/hle/kernel/k_auto_object.h
@@ -159,14 +159,15 @@ public:
// If ref count hits zero, destroy the object.
if (cur_ref_count - 1 == 0) {
+ KernelCore& kernel = m_kernel;
this->Destroy();
- this->UnregisterWithKernel();
+ KAutoObject::UnregisterWithKernel(kernel, this);
}
}
private:
void RegisterWithKernel();
- void UnregisterWithKernel();
+ static void UnregisterWithKernel(KernelCore& kernel, KAutoObject* self);
protected:
KernelCore& m_kernel;
diff --git a/src/core/hle/kernel/k_capabilities.cpp b/src/core/hle/kernel/k_capabilities.cpp
index 90e4e8fb0..e7da7a21d 100644
--- a/src/core/hle/kernel/k_capabilities.cpp
+++ b/src/core/hle/kernel/k_capabilities.cpp
@@ -156,7 +156,6 @@ Result KCapabilities::MapIoPage_(const u32 cap, KPageTable* page_table) {
const u64 phys_addr = MapIoPage{cap}.address.Value() * PageSize;
const size_t num_pages = 1;
const size_t size = num_pages * PageSize;
- R_UNLESS(num_pages != 0, ResultInvalidSize);
R_UNLESS(phys_addr < phys_addr + size, ResultInvalidAddress);
R_UNLESS(((phys_addr + size - 1) & ~PhysicalMapAllowedMask) == 0, ResultInvalidAddress);
diff --git a/src/core/hle/kernel/k_hardware_timer.cpp b/src/core/hle/kernel/k_hardware_timer.cpp
index 4dcd53821..8e2e40307 100644
--- a/src/core/hle/kernel/k_hardware_timer.cpp
+++ b/src/core/hle/kernel/k_hardware_timer.cpp
@@ -35,7 +35,9 @@ void KHardwareTimer::DoTask() {
}
// Disable the timer interrupt while we handle this.
- this->DisableInterrupt();
+ // Not necessary due to core timing already having popped this event to call it.
+ // this->DisableInterrupt();
+ m_wakeup_time = std::numeric_limits<s64>::max();
if (const s64 next_time = this->DoInterruptTaskImpl(GetTick());
0 < next_time && next_time <= m_wakeup_time) {
diff --git a/src/core/hle/kernel/k_hardware_timer.h b/src/core/hle/kernel/k_hardware_timer.h
index 00bef6ea1..27f43cd19 100644
--- a/src/core/hle/kernel/k_hardware_timer.h
+++ b/src/core/hle/kernel/k_hardware_timer.h
@@ -19,13 +19,7 @@ public:
void Initialize();
void Finalize();
- s64 GetCount() const {
- return GetTick();
- }
-
- void RegisterTask(KTimerTask* task, s64 time_from_now) {
- this->RegisterAbsoluteTask(task, GetTick() + time_from_now);
- }
+ s64 GetTick() const;
void RegisterAbsoluteTask(KTimerTask* task, s64 task_time) {
KScopedDisableDispatch dd{m_kernel};
@@ -42,7 +36,6 @@ private:
void EnableInterrupt(s64 wakeup_time);
void DisableInterrupt();
bool GetInterruptEnabled();
- s64 GetTick() const;
void DoTask();
private:
diff --git a/src/core/hle/kernel/k_memory_layout.cpp b/src/core/hle/kernel/k_memory_layout.cpp
index af40092c0..bec714668 100644
--- a/src/core/hle/kernel/k_memory_layout.cpp
+++ b/src/core/hle/kernel/k_memory_layout.cpp
@@ -61,7 +61,7 @@ bool KMemoryRegionTree::Insert(u64 address, size_t size, u32 type_id, u32 new_at
found->Reset(address, inserted_region_last, old_pair, new_attr, type_id);
this->insert(*found);
} else {
- // If we can't re-use, adjust the old region.
+ // If we can't reuse, adjust the old region.
found->Reset(old_address, address - 1, old_pair, old_attr, old_type);
this->insert(*found);
diff --git a/src/core/hle/kernel/k_page_table.cpp b/src/core/hle/kernel/k_page_table.cpp
index 02b5cada4..1fbfbf31f 100644
--- a/src/core/hle/kernel/k_page_table.cpp
+++ b/src/core/hle/kernel/k_page_table.cpp
@@ -5,6 +5,7 @@
#include "common/assert.h"
#include "common/literals.h"
#include "common/scope_exit.h"
+#include "common/settings.h"
#include "core/core.h"
#include "core/hle/kernel/k_address_space_info.h"
#include "core/hle/kernel/k_memory_block.h"
@@ -337,11 +338,14 @@ Result KPageTable::InitializeForProcess(FileSys::ProgramAddressSpaceType as_type
}
void KPageTable::Finalize() {
+ auto HostUnmapCallback = [&](KProcessAddress addr, u64 size) {
+ if (Settings::IsFastmemEnabled()) {
+ m_system.DeviceMemory().buffer.Unmap(GetInteger(addr), size);
+ }
+ };
+
// Finalize memory blocks.
- m_memory_block_manager.Finalize(m_memory_block_slab_manager,
- [&](KProcessAddress addr, u64 size) {
- m_memory->UnmapRegion(*m_page_table_impl, addr, size);
- });
+ m_memory_block_manager.Finalize(m_memory_block_slab_manager, std::move(HostUnmapCallback));
// Release any insecure mapped memory.
if (m_mapped_insecure_memory) {
@@ -768,7 +772,7 @@ Result KPageTable::UnmapProcessMemory(KProcessAddress dst_addr, size_t size,
m_memory_block_slab_manager, num_allocator_blocks);
R_TRY(allocator_result);
- CASCADE_CODE(Operate(dst_addr, num_pages, KMemoryPermission::None, OperationType::Unmap));
+ R_TRY(Operate(dst_addr, num_pages, KMemoryPermission::None, OperationType::Unmap));
// Apply the memory block update.
m_memory_block_manager.Update(std::addressof(allocator), dst_addr, num_pages,
@@ -2945,6 +2949,23 @@ Result KPageTable::UnlockForIpcUserBuffer(KProcessAddress address, size_t size)
KMemoryAttribute::Locked, nullptr));
}
+Result KPageTable::LockForTransferMemory(KPageGroup* out, KProcessAddress address, size_t size,
+ KMemoryPermission perm) {
+ R_RETURN(this->LockMemoryAndOpen(out, nullptr, address, size, KMemoryState::FlagCanTransfer,
+ KMemoryState::FlagCanTransfer, KMemoryPermission::All,
+ KMemoryPermission::UserReadWrite, KMemoryAttribute::All,
+ KMemoryAttribute::None, perm, KMemoryAttribute::Locked));
+}
+
+Result KPageTable::UnlockForTransferMemory(KProcessAddress address, size_t size,
+ const KPageGroup& pg) {
+ R_RETURN(this->UnlockMemory(address, size, KMemoryState::FlagCanTransfer,
+ KMemoryState::FlagCanTransfer, KMemoryPermission::None,
+ KMemoryPermission::None, KMemoryAttribute::All,
+ KMemoryAttribute::Locked, KMemoryPermission::UserReadWrite,
+ KMemoryAttribute::Locked, std::addressof(pg)));
+}
+
Result KPageTable::LockForCodeMemory(KPageGroup* out, KProcessAddress addr, size_t size) {
R_RETURN(this->LockMemoryAndOpen(
out, nullptr, addr, size, KMemoryState::FlagCanCodeMemory, KMemoryState::FlagCanCodeMemory,
diff --git a/src/core/hle/kernel/k_page_table.h b/src/core/hle/kernel/k_page_table.h
index b9e8c6042..7da675f27 100644
--- a/src/core/hle/kernel/k_page_table.h
+++ b/src/core/hle/kernel/k_page_table.h
@@ -104,6 +104,9 @@ public:
Result CleanupForIpcServer(KProcessAddress address, size_t size, KMemoryState dst_state);
Result CleanupForIpcClient(KProcessAddress address, size_t size, KMemoryState dst_state);
+ Result LockForTransferMemory(KPageGroup* out, KProcessAddress address, size_t size,
+ KMemoryPermission perm);
+ Result UnlockForTransferMemory(KProcessAddress address, size_t size, const KPageGroup& pg);
Result LockForCodeMemory(KPageGroup* out, KProcessAddress addr, size_t size);
Result UnlockForCodeMemory(KProcessAddress addr, size_t size, const KPageGroup& pg);
Result MakeAndOpenPageGroup(KPageGroup* out, KProcessAddress address, size_t num_pages,
diff --git a/src/core/hle/kernel/k_process.cpp b/src/core/hle/kernel/k_process.cpp
index 44c7cb22f..4a099286b 100644
--- a/src/core/hle/kernel/k_process.cpp
+++ b/src/core/hle/kernel/k_process.cpp
@@ -38,7 +38,7 @@ namespace {
*/
void SetupMainThread(Core::System& system, KProcess& owner_process, u32 priority,
KProcessAddress stack_top) {
- const KProcessAddress entry_point = owner_process.GetPageTable().GetCodeRegionStart();
+ const KProcessAddress entry_point = owner_process.GetEntryPoint();
ASSERT(owner_process.GetResourceLimit()->Reserve(LimitableResource::ThreadCountMax, 1));
KThread* thread = KThread::Create(system.Kernel());
@@ -81,7 +81,8 @@ Result KProcess::Initialize(KProcess* process, Core::System& system, std::string
process->m_capabilities.InitializeForMetadatalessProcess();
process->m_is_initialized = true;
- std::mt19937 rng(Settings::values.rng_seed.GetValue().value_or(std::time(nullptr)));
+ std::mt19937 rng(Settings::values.rng_seed_enabled ? Settings::values.rng_seed.GetValue()
+ : static_cast<u32>(std::time(nullptr)));
std::uniform_int_distribution<u64> distribution;
std::generate(process->m_random_entropy.begin(), process->m_random_entropy.end(),
[&] { return distribution(rng); });
@@ -95,6 +96,7 @@ Result KProcess::Initialize(KProcess* process, Core::System& system, std::string
process->m_is_suspended = false;
process->m_schedule_count = 0;
process->m_is_handle_table_initialized = false;
+ process->m_is_hbl = false;
// Open a reference to the resource limit.
process->m_resource_limit->Open();
@@ -350,12 +352,29 @@ Result KProcess::SetActivity(ProcessActivity activity) {
R_SUCCEED();
}
-Result KProcess::LoadFromMetadata(const FileSys::ProgramMetadata& metadata, std::size_t code_size) {
+Result KProcess::LoadFromMetadata(const FileSys::ProgramMetadata& metadata, std::size_t code_size,
+ bool is_hbl) {
m_program_id = metadata.GetTitleID();
m_ideal_core = metadata.GetMainThreadCore();
m_is_64bit_process = metadata.Is64BitProgram();
m_system_resource_size = metadata.GetSystemResourceSize();
m_image_size = code_size;
+ m_is_hbl = is_hbl;
+
+ if (metadata.GetAddressSpaceType() == FileSys::ProgramAddressSpaceType::Is39Bit) {
+ // For 39-bit processes, the ASLR region starts at 0x800'0000 and is ~512GiB large.
+ // However, some (buggy) programs/libraries like skyline incorrectly depend on the
+ // existence of ASLR pages before the entry point, so we will adjust the load address
+ // to point to about 2GiB into the ASLR region.
+ m_code_address = 0x8000'0000;
+ } else {
+ // All other processes can be mapped at the beginning of the code region.
+ if (metadata.GetAddressSpaceType() == FileSys::ProgramAddressSpaceType::Is36Bit) {
+ m_code_address = 0x800'0000;
+ } else {
+ m_code_address = 0x20'0000;
+ }
+ }
KScopedResourceReservation memory_reservation(
m_resource_limit, LimitableResource::PhysicalMemoryMax, code_size + m_system_resource_size);
@@ -367,15 +386,15 @@ Result KProcess::LoadFromMetadata(const FileSys::ProgramMetadata& metadata, std:
// Initialize process address space
if (const Result result{m_page_table.InitializeForProcess(
metadata.GetAddressSpaceType(), false, false, false, KMemoryManager::Pool::Application,
- 0x8000000, code_size, std::addressof(m_kernel.GetAppSystemResource()), m_resource_limit,
- m_kernel.System().ApplicationMemory())};
+ this->GetEntryPoint(), code_size, std::addressof(m_kernel.GetAppSystemResource()),
+ m_resource_limit, m_kernel.System().ApplicationMemory())};
result.IsError()) {
R_RETURN(result);
}
// Map process code region
- if (const Result result{m_page_table.MapProcessCode(m_page_table.GetCodeRegionStart(),
- code_size / PageSize, KMemoryState::Code,
+ if (const Result result{m_page_table.MapProcessCode(this->GetEntryPoint(), code_size / PageSize,
+ KMemoryState::Code,
KMemoryPermission::None)};
result.IsError()) {
R_RETURN(result);
diff --git a/src/core/hle/kernel/k_process.h b/src/core/hle/kernel/k_process.h
index c9b37e138..146e07a57 100644
--- a/src/core/hle/kernel/k_process.h
+++ b/src/core/hle/kernel/k_process.h
@@ -177,6 +177,10 @@ public:
return m_program_id;
}
+ KProcessAddress GetEntryPoint() const {
+ return m_code_address;
+ }
+
/// Gets the resource limit descriptor for this process
KResourceLimit* GetResourceLimit() const;
@@ -334,7 +338,8 @@ public:
* @returns ResultSuccess if all relevant metadata was able to be
* loaded and parsed. Otherwise, an error code is returned.
*/
- Result LoadFromMetadata(const FileSys::ProgramMetadata& metadata, std::size_t code_size);
+ Result LoadFromMetadata(const FileSys::ProgramMetadata& metadata, std::size_t code_size,
+ bool is_hbl);
/**
* Starts the main application thread for this process.
@@ -364,6 +369,10 @@ public:
return GetProcessId();
}
+ bool IsHbl() const {
+ return m_is_hbl;
+ }
+
bool IsSignaled() const override;
void DoWorkerTaskImpl();
@@ -485,6 +494,9 @@ private:
/// Address indicating the location of the process' dedicated TLS region.
KProcessAddress m_plr_address = 0;
+ /// Address indicating the location of the process's entry point.
+ KProcessAddress m_code_address = 0;
+
/// Random values for svcGetInfo RandomEntropy
std::array<u64, RANDOM_ENTROPY_SIZE> m_random_entropy{};
@@ -518,6 +530,7 @@ private:
bool m_is_immortal{};
bool m_is_handle_table_initialized{};
bool m_is_initialized{};
+ bool m_is_hbl{};
std::atomic<u16> m_num_running_threads{};
diff --git a/src/core/hle/kernel/k_resource_limit.cpp b/src/core/hle/kernel/k_resource_limit.cpp
index fcee26a29..d8a63aaf8 100644
--- a/src/core/hle/kernel/k_resource_limit.cpp
+++ b/src/core/hle/kernel/k_resource_limit.cpp
@@ -5,6 +5,7 @@
#include "common/overflow.h"
#include "core/core.h"
#include "core/core_timing.h"
+#include "core/hle/kernel/k_hardware_timer.h"
#include "core/hle/kernel/k_resource_limit.h"
#include "core/hle/kernel/svc_results.h"
@@ -15,9 +16,7 @@ KResourceLimit::KResourceLimit(KernelCore& kernel)
: KAutoObjectWithSlabHeapAndContainer{kernel}, m_lock{m_kernel}, m_cond_var{m_kernel} {}
KResourceLimit::~KResourceLimit() = default;
-void KResourceLimit::Initialize(const Core::Timing::CoreTiming* core_timing) {
- m_core_timing = core_timing;
-}
+void KResourceLimit::Initialize() {}
void KResourceLimit::Finalize() {}
@@ -86,7 +85,7 @@ Result KResourceLimit::SetLimitValue(LimitableResource which, s64 value) {
}
bool KResourceLimit::Reserve(LimitableResource which, s64 value) {
- return Reserve(which, value, m_core_timing->GetGlobalTimeNs().count() + DefaultTimeout);
+ return Reserve(which, value, m_kernel.HardwareTimer().GetTick() + DefaultTimeout);
}
bool KResourceLimit::Reserve(LimitableResource which, s64 value, s64 timeout) {
@@ -117,7 +116,7 @@ bool KResourceLimit::Reserve(LimitableResource which, s64 value, s64 timeout) {
}
if (m_current_hints[index] + value <= m_limit_values[index] &&
- (timeout < 0 || m_core_timing->GetGlobalTimeNs().count() < timeout)) {
+ (timeout < 0 || m_kernel.HardwareTimer().GetTick() < timeout)) {
m_waiter_count++;
m_cond_var.Wait(std::addressof(m_lock), timeout, false);
m_waiter_count--;
@@ -154,7 +153,7 @@ void KResourceLimit::Release(LimitableResource which, s64 value, s64 hint) {
KResourceLimit* CreateResourceLimitForProcess(Core::System& system, s64 physical_memory_size) {
auto* resource_limit = KResourceLimit::Create(system.Kernel());
- resource_limit->Initialize(std::addressof(system.CoreTiming()));
+ resource_limit->Initialize();
// Initialize default resource limit values.
// TODO(bunnei): These values are the system defaults, the limits for service processes are
diff --git a/src/core/hle/kernel/k_resource_limit.h b/src/core/hle/kernel/k_resource_limit.h
index 15e69af56..b733ec8f8 100644
--- a/src/core/hle/kernel/k_resource_limit.h
+++ b/src/core/hle/kernel/k_resource_limit.h
@@ -31,7 +31,7 @@ public:
explicit KResourceLimit(KernelCore& kernel);
~KResourceLimit() override;
- void Initialize(const Core::Timing::CoreTiming* core_timing);
+ void Initialize();
void Finalize() override;
s64 GetLimitValue(LimitableResource which) const;
@@ -57,7 +57,6 @@ private:
mutable KLightLock m_lock;
s32 m_waiter_count{};
KLightConditionVariable m_cond_var;
- const Core::Timing::CoreTiming* m_core_timing{};
};
KResourceLimit* CreateResourceLimitForProcess(Core::System& system, s64 physical_memory_size);
diff --git a/src/core/hle/kernel/k_scheduler.cpp b/src/core/hle/kernel/k_scheduler.cpp
index 75ce5a23c..d8143c650 100644
--- a/src/core/hle/kernel/k_scheduler.cpp
+++ b/src/core/hle/kernel/k_scheduler.cpp
@@ -510,11 +510,12 @@ void KScheduler::Unload(KThread* thread) {
void KScheduler::Reload(KThread* thread) {
auto& cpu_core = m_kernel.System().ArmInterface(m_core_id);
+ auto* process = thread->GetOwnerProcess();
cpu_core.LoadContext(thread->GetContext32());
cpu_core.LoadContext(thread->GetContext64());
cpu_core.SetTlsAddress(GetInteger(thread->GetTlsAddress()));
cpu_core.SetTPIDR_EL0(thread->GetTpidrEl0());
- cpu_core.LoadWatchpointArray(thread->GetOwnerProcess()->GetWatchpoints());
+ cpu_core.LoadWatchpointArray(process ? &process->GetWatchpoints() : nullptr);
cpu_core.ClearExclusiveState();
}
diff --git a/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h b/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h
index c485022f5..b62415da7 100644
--- a/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h
+++ b/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h
@@ -28,7 +28,7 @@ public:
~KScopedSchedulerLockAndSleep() {
// Register the sleep.
if (m_timeout_tick > 0) {
- m_timer->RegisterTask(m_thread, m_timeout_tick);
+ m_timer->RegisterAbsoluteTask(m_thread, m_timeout_tick);
}
// Unlock the scheduler.
diff --git a/src/core/hle/kernel/k_thread.cpp b/src/core/hle/kernel/k_thread.cpp
index d88909889..7df8fd7f7 100644
--- a/src/core/hle/kernel/k_thread.cpp
+++ b/src/core/hle/kernel/k_thread.cpp
@@ -129,7 +129,7 @@ Result KThread::Initialize(KThreadFunction func, uintptr_t arg, KProcessAddress
case ThreadType::User:
ASSERT(((owner == nullptr) ||
(owner->GetCoreMask() | (1ULL << virt_core)) == owner->GetCoreMask()));
- ASSERT(((owner == nullptr) ||
+ ASSERT(((owner == nullptr) || (prio > Svc::LowestThreadPriority) ||
(owner->GetPriorityMask() | (1ULL << prio)) == owner->GetPriorityMask()));
break;
case ThreadType::Kernel:
diff --git a/src/core/hle/kernel/k_transfer_memory.cpp b/src/core/hle/kernel/k_transfer_memory.cpp
index 13d34125c..0e2e11743 100644
--- a/src/core/hle/kernel/k_transfer_memory.cpp
+++ b/src/core/hle/kernel/k_transfer_memory.cpp
@@ -1,6 +1,7 @@
// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include "common/scope_exit.h"
#include "core/hle/kernel/k_process.h"
#include "core/hle/kernel/k_resource_limit.h"
#include "core/hle/kernel/k_transfer_memory.h"
@@ -9,28 +10,50 @@
namespace Kernel {
KTransferMemory::KTransferMemory(KernelCore& kernel)
- : KAutoObjectWithSlabHeapAndContainer{kernel} {}
+ : KAutoObjectWithSlabHeapAndContainer{kernel}, m_lock{kernel} {}
KTransferMemory::~KTransferMemory() = default;
-Result KTransferMemory::Initialize(KProcessAddress address, std::size_t size,
- Svc::MemoryPermission owner_perm) {
+Result KTransferMemory::Initialize(KProcessAddress addr, std::size_t size,
+ Svc::MemoryPermission own_perm) {
// Set members.
m_owner = GetCurrentProcessPointer(m_kernel);
- // TODO(bunnei): Lock for transfer memory
+ // Get the owner page table.
+ auto& page_table = m_owner->GetPageTable();
+
+ // Construct the page group, guarding to make sure our state is valid on exit.
+ m_page_group.emplace(m_kernel, page_table.GetBlockInfoManager());
+ auto pg_guard = SCOPE_GUARD({ m_page_group.reset(); });
+
+ // Lock the memory.
+ R_TRY(page_table.LockForTransferMemory(std::addressof(*m_page_group), addr, size,
+ ConvertToKMemoryPermission(own_perm)));
// Set remaining tracking members.
m_owner->Open();
- m_owner_perm = owner_perm;
- m_address = address;
- m_size = size;
+ m_owner_perm = own_perm;
+ m_address = addr;
m_is_initialized = true;
+ m_is_mapped = false;
+ // We succeeded.
+ pg_guard.Cancel();
R_SUCCEED();
}
-void KTransferMemory::Finalize() {}
+void KTransferMemory::Finalize() {
+ // Unlock.
+ if (!m_is_mapped) {
+ const size_t size = m_page_group->GetNumPages() * PageSize;
+ ASSERT(R_SUCCEEDED(
+ m_owner->GetPageTable().UnlockForTransferMemory(m_address, size, *m_page_group)));
+ }
+
+ // Close the page group.
+ m_page_group->Close();
+ m_page_group->Finalize();
+}
void KTransferMemory::PostDestroy(uintptr_t arg) {
KProcess* owner = reinterpret_cast<KProcess*>(arg);
@@ -38,4 +61,54 @@ void KTransferMemory::PostDestroy(uintptr_t arg) {
owner->Close();
}
+Result KTransferMemory::Map(KProcessAddress address, size_t size, Svc::MemoryPermission map_perm) {
+ // Validate the size.
+ R_UNLESS(m_page_group->GetNumPages() == Common::DivideUp(size, PageSize), ResultInvalidSize);
+
+ // Validate the permission.
+ R_UNLESS(m_owner_perm == map_perm, ResultInvalidState);
+
+ // Lock ourselves.
+ KScopedLightLock lk(m_lock);
+
+ // Ensure we're not already mapped.
+ R_UNLESS(!m_is_mapped, ResultInvalidState);
+
+ // Map the memory.
+ const KMemoryState state = (m_owner_perm == Svc::MemoryPermission::None)
+ ? KMemoryState::Transfered
+ : KMemoryState::SharedTransfered;
+ R_TRY(GetCurrentProcess(m_kernel).GetPageTable().MapPageGroup(
+ address, *m_page_group, state, KMemoryPermission::UserReadWrite));
+
+ // Mark ourselves as mapped.
+ m_is_mapped = true;
+
+ R_SUCCEED();
+}
+
+Result KTransferMemory::Unmap(KProcessAddress address, size_t size) {
+ // Validate the size.
+ R_UNLESS(m_page_group->GetNumPages() == Common::DivideUp(size, PageSize), ResultInvalidSize);
+
+ // Lock ourselves.
+ KScopedLightLock lk(m_lock);
+
+ // Unmap the memory.
+ const KMemoryState state = (m_owner_perm == Svc::MemoryPermission::None)
+ ? KMemoryState::Transfered
+ : KMemoryState::SharedTransfered;
+ R_TRY(GetCurrentProcess(m_kernel).GetPageTable().UnmapPageGroup(address, *m_page_group, state));
+
+ // Mark ourselves as unmapped.
+ ASSERT(m_is_mapped);
+ m_is_mapped = false;
+
+ R_SUCCEED();
+}
+
+size_t KTransferMemory::GetSize() const {
+ return m_is_initialized ? m_page_group->GetNumPages() * PageSize : 0;
+}
+
} // namespace Kernel
diff --git a/src/core/hle/kernel/k_transfer_memory.h b/src/core/hle/kernel/k_transfer_memory.h
index 54f97ccb4..8a0b08761 100644
--- a/src/core/hle/kernel/k_transfer_memory.h
+++ b/src/core/hle/kernel/k_transfer_memory.h
@@ -3,6 +3,9 @@
#pragma once
+#include <optional>
+
+#include "core/hle/kernel/k_page_group.h"
#include "core/hle/kernel/slab_helpers.h"
#include "core/hle/kernel/svc_types.h"
#include "core/hle/result.h"
@@ -48,16 +51,19 @@ public:
return m_address;
}
- size_t GetSize() const {
- return m_is_initialized ? m_size : 0;
- }
+ size_t GetSize() const;
+
+ Result Map(KProcessAddress address, size_t size, Svc::MemoryPermission map_perm);
+ Result Unmap(KProcessAddress address, size_t size);
private:
+ std::optional<KPageGroup> m_page_group{};
KProcess* m_owner{};
KProcessAddress m_address{};
+ KLightLock m_lock;
Svc::MemoryPermission m_owner_perm{};
- size_t m_size{};
bool m_is_initialized{};
+ bool m_is_mapped{};
};
} // namespace Kernel
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index ebe7582c6..a1134b7e2 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -231,7 +231,7 @@ struct KernelCore::Impl {
void InitializeSystemResourceLimit(KernelCore& kernel,
const Core::Timing::CoreTiming& core_timing) {
system_resource_limit = KResourceLimit::Create(system.Kernel());
- system_resource_limit->Initialize(&core_timing);
+ system_resource_limit->Initialize();
KResourceLimit::Register(kernel, system_resource_limit);
const auto sizes{memory_layout->GetTotalAndKernelMemorySizes()};
diff --git a/src/core/hle/kernel/svc/svc_address_arbiter.cpp b/src/core/hle/kernel/svc/svc_address_arbiter.cpp
index 04cc5ea64..90ee43521 100644
--- a/src/core/hle/kernel/svc/svc_address_arbiter.cpp
+++ b/src/core/hle/kernel/svc/svc_address_arbiter.cpp
@@ -2,6 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "core/core.h"
+#include "core/hle/kernel/k_hardware_timer.h"
#include "core/hle/kernel/k_memory_layout.h"
#include "core/hle/kernel/k_process.h"
#include "core/hle/kernel/kernel.h"
@@ -52,7 +53,7 @@ Result WaitForAddress(Core::System& system, u64 address, ArbitrationType arb_typ
if (timeout_ns > 0) {
const s64 offset_tick(timeout_ns);
if (offset_tick > 0) {
- timeout = offset_tick + 2;
+ timeout = system.Kernel().HardwareTimer().GetTick() + offset_tick + 2;
if (timeout <= 0) {
timeout = std::numeric_limits<s64>::max();
}
diff --git a/src/core/hle/kernel/svc/svc_condition_variable.cpp b/src/core/hle/kernel/svc/svc_condition_variable.cpp
index ca120d67e..bb678e6c5 100644
--- a/src/core/hle/kernel/svc/svc_condition_variable.cpp
+++ b/src/core/hle/kernel/svc/svc_condition_variable.cpp
@@ -2,6 +2,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "core/core.h"
+#include "core/hle/kernel/k_hardware_timer.h"
#include "core/hle/kernel/k_memory_layout.h"
#include "core/hle/kernel/k_process.h"
#include "core/hle/kernel/kernel.h"
@@ -25,7 +26,7 @@ Result WaitProcessWideKeyAtomic(Core::System& system, u64 address, u64 cv_key, u
if (timeout_ns > 0) {
const s64 offset_tick(timeout_ns);
if (offset_tick > 0) {
- timeout = offset_tick + 2;
+ timeout = system.Kernel().HardwareTimer().GetTick() + offset_tick + 2;
if (timeout <= 0) {
timeout = std::numeric_limits<s64>::max();
}
diff --git a/src/core/hle/kernel/svc/svc_debug_string.cpp b/src/core/hle/kernel/svc/svc_debug_string.cpp
index 4c14ce668..00b65429b 100644
--- a/src/core/hle/kernel/svc/svc_debug_string.cpp
+++ b/src/core/hle/kernel/svc/svc_debug_string.cpp
@@ -14,7 +14,7 @@ Result OutputDebugString(Core::System& system, u64 address, u64 len) {
std::string str(len, '\0');
GetCurrentMemory(system.Kernel()).ReadBlock(address, str.data(), str.size());
- LOG_DEBUG(Debug_Emulated, "{}", str);
+ LOG_INFO(Debug_Emulated, "{}", str);
R_SUCCEED();
}
diff --git a/src/core/hle/kernel/svc/svc_exception.cpp b/src/core/hle/kernel/svc/svc_exception.cpp
index 580cf2f75..c581c086b 100644
--- a/src/core/hle/kernel/svc/svc_exception.cpp
+++ b/src/core/hle/kernel/svc/svc_exception.cpp
@@ -3,6 +3,7 @@
#include "core/core.h"
#include "core/debugger/debugger.h"
+#include "core/hle/kernel/k_process.h"
#include "core/hle/kernel/k_thread.h"
#include "core/hle/kernel/svc.h"
#include "core/hle/kernel/svc_types.h"
@@ -107,7 +108,10 @@ void Break(Core::System& system, BreakReason reason, u64 info1, u64 info2) {
system.ArmInterface(static_cast<std::size_t>(thread_processor_id)).LogBacktrace();
}
- if (system.DebuggerEnabled()) {
+ const bool is_hbl = GetCurrentProcess(system.Kernel()).IsHbl();
+ const bool should_break = is_hbl || !notification_only;
+
+ if (system.DebuggerEnabled() && should_break) {
auto* thread = system.Kernel().GetCurrentEmuThread();
system.GetDebugger().NotifyThreadStopped(thread);
thread->RequestSuspend(Kernel::SuspendType::Debug);
diff --git a/src/core/hle/kernel/svc/svc_ipc.cpp b/src/core/hle/kernel/svc/svc_ipc.cpp
index 373ae7c8d..6b5e1cb8d 100644
--- a/src/core/hle/kernel/svc/svc_ipc.cpp
+++ b/src/core/hle/kernel/svc/svc_ipc.cpp
@@ -5,6 +5,7 @@
#include "common/scratch_buffer.h"
#include "core/core.h"
#include "core/hle/kernel/k_client_session.h"
+#include "core/hle/kernel/k_hardware_timer.h"
#include "core/hle/kernel/k_process.h"
#include "core/hle/kernel/k_server_session.h"
#include "core/hle/kernel/svc.h"
@@ -82,12 +83,29 @@ Result ReplyAndReceive(Core::System& system, s32* out_index, uint64_t handles_ad
R_TRY(session->SendReply());
}
+ // Convert the timeout from nanoseconds to ticks.
+ // NOTE: Nintendo does not use this conversion logic in WaitSynchronization...
+ s64 timeout;
+ if (timeout_ns > 0) {
+ const s64 offset_tick(timeout_ns);
+ if (offset_tick > 0) {
+ timeout = kernel.HardwareTimer().GetTick() + offset_tick + 2;
+ if (timeout <= 0) {
+ timeout = std::numeric_limits<s64>::max();
+ }
+ } else {
+ timeout = std::numeric_limits<s64>::max();
+ }
+ } else {
+ timeout = timeout_ns;
+ }
+
// Wait for a message.
while (true) {
// Wait for an object.
s32 index;
Result result = KSynchronizationObject::Wait(kernel, std::addressof(index), objs.data(),
- num_handles, timeout_ns);
+ num_handles, timeout);
if (result == ResultTimedOut) {
R_RETURN(result);
}
diff --git a/src/core/hle/kernel/svc/svc_resource_limit.cpp b/src/core/hle/kernel/svc/svc_resource_limit.cpp
index 732bc017e..c8e820b6a 100644
--- a/src/core/hle/kernel/svc/svc_resource_limit.cpp
+++ b/src/core/hle/kernel/svc/svc_resource_limit.cpp
@@ -21,7 +21,7 @@ Result CreateResourceLimit(Core::System& system, Handle* out_handle) {
SCOPE_EXIT({ resource_limit->Close(); });
// Initialize the resource limit.
- resource_limit->Initialize(std::addressof(system.CoreTiming()));
+ resource_limit->Initialize();
// Register the limit.
KResourceLimit::Register(kernel, resource_limit);
diff --git a/src/core/hle/kernel/svc/svc_synchronization.cpp b/src/core/hle/kernel/svc/svc_synchronization.cpp
index 366e8ed4a..8ebc1bd1c 100644
--- a/src/core/hle/kernel/svc/svc_synchronization.cpp
+++ b/src/core/hle/kernel/svc/svc_synchronization.cpp
@@ -4,6 +4,7 @@
#include "common/scope_exit.h"
#include "common/scratch_buffer.h"
#include "core/core.h"
+#include "core/hle/kernel/k_hardware_timer.h"
#include "core/hle/kernel/k_process.h"
#include "core/hle/kernel/k_readable_event.h"
#include "core/hle/kernel/svc.h"
@@ -83,9 +84,20 @@ Result WaitSynchronization(Core::System& system, int32_t* out_index, u64 user_ha
}
});
+ // Convert the timeout from nanoseconds to ticks.
+ s64 timeout;
+ if (timeout_ns > 0) {
+ u64 ticks = kernel.HardwareTimer().GetTick();
+ ticks += timeout_ns;
+ ticks += 2;
+
+ timeout = ticks;
+ } else {
+ timeout = timeout_ns;
+ }
+
// Wait on the objects.
- Result res =
- KSynchronizationObject::Wait(kernel, out_index, objs.data(), num_handles, timeout_ns);
+ Result res = KSynchronizationObject::Wait(kernel, out_index, objs.data(), num_handles, timeout);
R_SUCCEED_IF(res == ResultSessionClosed);
R_RETURN(res);
diff --git a/src/core/hle/kernel/svc/svc_thread.cpp b/src/core/hle/kernel/svc/svc_thread.cpp
index 92bcea72b..933b82e30 100644
--- a/src/core/hle/kernel/svc/svc_thread.cpp
+++ b/src/core/hle/kernel/svc/svc_thread.cpp
@@ -4,6 +4,7 @@
#include "common/scope_exit.h"
#include "core/core.h"
#include "core/core_timing.h"
+#include "core/hle/kernel/k_hardware_timer.h"
#include "core/hle/kernel/k_process.h"
#include "core/hle/kernel/k_scoped_resource_reservation.h"
#include "core/hle/kernel/k_thread.h"
@@ -42,9 +43,9 @@ Result CreateThread(Core::System& system, Handle* out_handle, u64 entry_point, u
R_UNLESS(process.CheckThreadPriority(priority), ResultInvalidPriority);
// Reserve a new thread from the process resource limit (waiting up to 100ms).
- KScopedResourceReservation thread_reservation(
- std::addressof(process), LimitableResource::ThreadCountMax, 1,
- system.CoreTiming().GetGlobalTimeNs().count() + 100000000);
+ KScopedResourceReservation thread_reservation(std::addressof(process),
+ LimitableResource::ThreadCountMax, 1,
+ kernel.HardwareTimer().GetTick() + 100000000);
R_UNLESS(thread_reservation.Succeeded(), ResultLimitReached);
// Create the thread.
@@ -102,20 +103,31 @@ void ExitThread(Core::System& system) {
}
/// Sleep the current thread
-void SleepThread(Core::System& system, s64 nanoseconds) {
+void SleepThread(Core::System& system, s64 ns) {
auto& kernel = system.Kernel();
- const auto yield_type = static_cast<Svc::YieldType>(nanoseconds);
+ const auto yield_type = static_cast<Svc::YieldType>(ns);
- LOG_TRACE(Kernel_SVC, "called nanoseconds={}", nanoseconds);
+ LOG_TRACE(Kernel_SVC, "called nanoseconds={}", ns);
// When the input tick is positive, sleep.
- if (nanoseconds > 0) {
+ if (ns > 0) {
// Convert the timeout from nanoseconds to ticks.
// NOTE: Nintendo does not use this conversion logic in WaitSynchronization...
+ s64 timeout;
+
+ const s64 offset_tick(ns);
+ if (offset_tick > 0) {
+ timeout = kernel.HardwareTimer().GetTick() + offset_tick + 2;
+ if (timeout <= 0) {
+ timeout = std::numeric_limits<s64>::max();
+ }
+ } else {
+ timeout = std::numeric_limits<s64>::max();
+ }
// Sleep.
// NOTE: Nintendo does not check the result of this sleep.
- static_cast<void>(GetCurrentThread(kernel).Sleep(nanoseconds));
+ static_cast<void>(GetCurrentThread(kernel).Sleep(timeout));
} else if (yield_type == Svc::YieldType::WithoutCoreMigration) {
KScheduler::YieldWithoutCoreMigration(kernel);
} else if (yield_type == Svc::YieldType::WithCoreMigration) {
@@ -124,7 +136,6 @@ void SleepThread(Core::System& system, s64 nanoseconds) {
KScheduler::YieldToAnyThread(kernel);
} else {
// Nintendo does nothing at all if an otherwise invalid value is passed.
- ASSERT_MSG(false, "Unimplemented sleep yield type '{:016X}'!", nanoseconds);
}
}
diff --git a/src/core/hle/kernel/svc/svc_transfer_memory.cpp b/src/core/hle/kernel/svc/svc_transfer_memory.cpp
index 7d94e7f09..1f97121b3 100644
--- a/src/core/hle/kernel/svc/svc_transfer_memory.cpp
+++ b/src/core/hle/kernel/svc/svc_transfer_memory.cpp
@@ -71,15 +71,59 @@ Result CreateTransferMemory(Core::System& system, Handle* out, u64 address, u64
}
Result MapTransferMemory(Core::System& system, Handle trmem_handle, uint64_t address, uint64_t size,
- MemoryPermission owner_perm) {
- UNIMPLEMENTED();
- R_THROW(ResultNotImplemented);
+ MemoryPermission map_perm) {
+ // Validate the address/size.
+ R_UNLESS(Common::IsAligned(address, PageSize), ResultInvalidAddress);
+ R_UNLESS(Common::IsAligned(size, PageSize), ResultInvalidSize);
+ R_UNLESS(size > 0, ResultInvalidSize);
+ R_UNLESS((address < address + size), ResultInvalidCurrentMemory);
+
+ // Validate the permission.
+ R_UNLESS(IsValidTransferMemoryPermission(map_perm), ResultInvalidState);
+
+ // Get the transfer memory.
+ KScopedAutoObject trmem = GetCurrentProcess(system.Kernel())
+ .GetHandleTable()
+ .GetObject<KTransferMemory>(trmem_handle);
+ R_UNLESS(trmem.IsNotNull(), ResultInvalidHandle);
+
+ // Verify that the mapping is in range.
+ R_UNLESS(GetCurrentProcess(system.Kernel())
+ .GetPageTable()
+ .CanContain(address, size, KMemoryState::Transfered),
+ ResultInvalidMemoryRegion);
+
+ // Map the transfer memory.
+ R_TRY(trmem->Map(address, size, map_perm));
+
+ // We succeeded.
+ R_SUCCEED();
}
Result UnmapTransferMemory(Core::System& system, Handle trmem_handle, uint64_t address,
uint64_t size) {
- UNIMPLEMENTED();
- R_THROW(ResultNotImplemented);
+ // Validate the address/size.
+ R_UNLESS(Common::IsAligned(address, PageSize), ResultInvalidAddress);
+ R_UNLESS(Common::IsAligned(size, PageSize), ResultInvalidSize);
+ R_UNLESS(size > 0, ResultInvalidSize);
+ R_UNLESS((address < address + size), ResultInvalidCurrentMemory);
+
+ // Get the transfer memory.
+ KScopedAutoObject trmem = GetCurrentProcess(system.Kernel())
+ .GetHandleTable()
+ .GetObject<KTransferMemory>(trmem_handle);
+ R_UNLESS(trmem.IsNotNull(), ResultInvalidHandle);
+
+ // Verify that the mapping is in range.
+ R_UNLESS(GetCurrentProcess(system.Kernel())
+ .GetPageTable()
+ .CanContain(address, size, KMemoryState::Transfered),
+ ResultInvalidMemoryRegion);
+
+ // Unmap the transfer memory.
+ R_TRY(trmem->Unmap(address, size));
+
+ R_SUCCEED();
}
Result MapTransferMemory64(Core::System& system, Handle trmem_handle, uint64_t address,
diff --git a/src/core/hle/result.h b/src/core/hle/result.h
index 240f06689..dd0b27f47 100644
--- a/src/core/hle/result.h
+++ b/src/core/hle/result.h
@@ -62,7 +62,7 @@ enum class ErrorModule : u32 {
XCD = 108,
TMP451 = 109,
NIFM = 110,
- Hwopus = 111,
+ HwOpus = 111,
LSM6DS3 = 112,
Bluetooth = 113,
VI = 114,
@@ -283,159 +283,6 @@ private:
u32 description_end;
};
-/**
- * This is an optional value type. It holds a `Result` and, if that code is ResultSuccess, it
- * also holds a result of type `T`. If the code is an error code (not ResultSuccess), then trying
- * to access the inner value with operator* is undefined behavior and will assert with Unwrap().
- * Users of this class must be cognizant to check the status of the ResultVal with operator bool(),
- * Code(), Succeeded() or Failed() prior to accessing the inner value.
- *
- * An example of how it could be used:
- * \code
- * ResultVal<int> Frobnicate(float strength) {
- * if (strength < 0.f || strength > 1.0f) {
- * // Can't frobnicate too weakly or too strongly
- * return Result{ErrorModule::Common, 1};
- * } else {
- * // Frobnicated! Give caller a cookie
- * return 42;
- * }
- * }
- * \endcode
- *
- * \code
- * auto frob_result = Frobnicate(0.75f);
- * if (frob_result) {
- * // Frobbed ok
- * printf("My cookie is %d\n", *frob_result);
- * } else {
- * printf("Guess I overdid it. :( Error code: %ux\n", frob_result.Code().raw);
- * }
- * \endcode
- */
-template <typename T>
-class ResultVal {
-public:
- constexpr ResultVal() : expected{} {}
-
- constexpr ResultVal(Result code) : expected{Common::Unexpected(code)} {}
-
- constexpr ResultVal(ResultRange range) : expected{Common::Unexpected(range)} {}
-
- template <typename U>
- constexpr ResultVal(U&& val) : expected{std::forward<U>(val)} {}
-
- template <typename... Args>
- constexpr ResultVal(Args&&... args) : expected{std::in_place, std::forward<Args>(args)...} {}
-
- ~ResultVal() = default;
-
- constexpr ResultVal(const ResultVal&) = default;
- constexpr ResultVal(ResultVal&&) = default;
-
- ResultVal& operator=(const ResultVal&) = default;
- ResultVal& operator=(ResultVal&&) = default;
-
- [[nodiscard]] constexpr explicit operator bool() const noexcept {
- return expected.has_value();
- }
-
- [[nodiscard]] constexpr Result Code() const {
- return expected.has_value() ? ResultSuccess : expected.error();
- }
-
- [[nodiscard]] constexpr bool Succeeded() const {
- return expected.has_value();
- }
-
- [[nodiscard]] constexpr bool Failed() const {
- return !expected.has_value();
- }
-
- [[nodiscard]] constexpr T* operator->() {
- return std::addressof(expected.value());
- }
-
- [[nodiscard]] constexpr const T* operator->() const {
- return std::addressof(expected.value());
- }
-
- [[nodiscard]] constexpr T& operator*() & {
- return *expected;
- }
-
- [[nodiscard]] constexpr const T& operator*() const& {
- return *expected;
- }
-
- [[nodiscard]] constexpr T&& operator*() && {
- return *expected;
- }
-
- [[nodiscard]] constexpr const T&& operator*() const&& {
- return *expected;
- }
-
- [[nodiscard]] constexpr T& Unwrap() & {
- ASSERT_MSG(Succeeded(), "Tried to Unwrap empty ResultVal");
- return expected.value();
- }
-
- [[nodiscard]] constexpr const T& Unwrap() const& {
- ASSERT_MSG(Succeeded(), "Tried to Unwrap empty ResultVal");
- return expected.value();
- }
-
- [[nodiscard]] constexpr T&& Unwrap() && {
- ASSERT_MSG(Succeeded(), "Tried to Unwrap empty ResultVal");
- return std::move(expected.value());
- }
-
- [[nodiscard]] constexpr const T&& Unwrap() const&& {
- ASSERT_MSG(Succeeded(), "Tried to Unwrap empty ResultVal");
- return std::move(expected.value());
- }
-
- template <typename U>
- [[nodiscard]] constexpr T ValueOr(U&& v) const& {
- return expected.value_or(v);
- }
-
- template <typename U>
- [[nodiscard]] constexpr T ValueOr(U&& v) && {
- return expected.value_or(v);
- }
-
-private:
- // TODO (Morph): Replace this with C++23 std::expected.
- Common::Expected<T, Result> expected;
-};
-
-/**
- * Check for the success of `source` (which must evaluate to a ResultVal). If it succeeds, unwraps
- * the contained value and assigns it to `target`, which can be either an l-value expression or a
- * variable declaration. If it fails the return code is returned from the current function. Thus it
- * can be used to cascade errors out, achieving something akin to exception handling.
- */
-#define CASCADE_RESULT(target, source) \
- auto CONCAT2(check_result_L, __LINE__) = source; \
- if (CONCAT2(check_result_L, __LINE__).Failed()) { \
- return CONCAT2(check_result_L, __LINE__).Code(); \
- } \
- target = std::move(*CONCAT2(check_result_L, __LINE__))
-
-/**
- * Analogous to CASCADE_RESULT, but for a bare Result. The code will be propagated if
- * non-success, or discarded otherwise.
- */
-#define CASCADE_CODE(source) \
- do { \
- auto CONCAT2(check_result_L, __LINE__) = source; \
- if (CONCAT2(check_result_L, __LINE__).IsError()) { \
- return CONCAT2(check_result_L, __LINE__); \
- } \
- } while (false)
-
#define R_SUCCEEDED(res) (static_cast<Result>(res).IsSuccess())
#define R_FAILED(res) (static_cast<Result>(res).IsFailure())
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp
index 2632cd3ef..b971401e6 100644
--- a/src/core/hle/service/acc/acc.cpp
+++ b/src/core/hle/service/acc/acc.cpp
@@ -765,15 +765,16 @@ Result Module::Interface::InitializeApplicationInfoBase() {
// TODO(ogniK): This should be changed to reflect the target process for when we have multiple
// processes emulated. As we don't actually have pid support we should assume we're just using
// our own process
- const auto launch_property =
- system.GetARPManager().GetLaunchProperty(system.GetApplicationProcessProgramID());
+ Glue::ApplicationLaunchProperty launch_property{};
+ const auto result = system.GetARPManager().GetLaunchProperty(
+ &launch_property, system.GetApplicationProcessProgramID());
- if (launch_property.Failed()) {
+ if (result != ResultSuccess) {
LOG_ERROR(Service_ACC, "Failed to get launch property");
return Account::ResultInvalidApplication;
}
- switch (launch_property->base_game_storage_id) {
+ switch (launch_property.base_game_storage_id) {
case FileSys::StorageId::GameCard:
application_info.application_type = ApplicationType::GameCard;
break;
@@ -785,7 +786,7 @@ Result Module::Interface::InitializeApplicationInfoBase() {
break;
default:
LOG_ERROR(Service_ACC, "Invalid game storage ID! storage_id={}",
- launch_property->base_game_storage_id);
+ launch_property.base_game_storage_id);
return Account::ResultInvalidApplication;
}
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp
index 4f400d341..ac376b55a 100644
--- a/src/core/hle/service/am/am.cpp
+++ b/src/core/hle/service/am/am.cpp
@@ -6,7 +6,9 @@
#include <cinttypes>
#include <cstring>
#include "common/settings.h"
+#include "common/settings_enums.h"
#include "core/core.h"
+#include "core/core_timing.h"
#include "core/file_sys/control_metadata.h"
#include "core/file_sys/patch_manager.h"
#include "core/file_sys/registered_cache.h"
@@ -18,6 +20,8 @@
#include "core/hle/service/am/am.h"
#include "core/hle/service/am/applet_ae.h"
#include "core/hle/service/am/applet_oe.h"
+#include "core/hle/service/am/applets/applet_cabinet.h"
+#include "core/hle/service/am/applets/applet_mii_edit_types.h"
#include "core/hle/service/am/applets/applet_profile_select.h"
#include "core/hle/service/am/applets/applet_web_browser.h"
#include "core/hle/service/am/applets/applets.h"
@@ -27,15 +31,17 @@
#include "core/hle/service/apm/apm_controller.h"
#include "core/hle/service/apm/apm_interface.h"
#include "core/hle/service/bcat/backend/backend.h"
-#include "core/hle/service/caps/caps.h"
+#include "core/hle/service/caps/caps_types.h"
#include "core/hle/service/filesystem/filesystem.h"
#include "core/hle/service/ipc_helpers.h"
#include "core/hle/service/ns/ns.h"
+#include "core/hle/service/nvnflinger/fb_share_buffer_manager.h"
#include "core/hle/service/nvnflinger/nvnflinger.h"
#include "core/hle/service/pm/pm.h"
#include "core/hle/service/server_manager.h"
#include "core/hle/service/sm/sm.h"
#include "core/hle/service/vi/vi.h"
+#include "core/hle/service/vi/vi_results.h"
#include "core/memory.h"
namespace Service::AM {
@@ -45,7 +51,7 @@ constexpr Result ResultNoMessages{ErrorModule::AM, 3};
constexpr Result ResultInvalidOffset{ErrorModule::AM, 503};
enum class LaunchParameterKind : u32 {
- ApplicationSpecific = 1,
+ UserChannel = 1,
AccountPreselectedUser = 2,
};
@@ -188,8 +194,8 @@ IDisplayController::IDisplayController(Core::System& system_)
{4, nullptr, "UpdateCallerAppletCaptureImage"},
{5, nullptr, "GetLastForegroundCaptureImageEx"},
{6, nullptr, "GetLastApplicationCaptureImageEx"},
- {7, nullptr, "GetCallerAppletCaptureImageEx"},
- {8, nullptr, "TakeScreenShotOfOwnLayer"},
+ {7, &IDisplayController::GetCallerAppletCaptureImageEx, "GetCallerAppletCaptureImageEx"},
+ {8, &IDisplayController::TakeScreenShotOfOwnLayer, "TakeScreenShotOfOwnLayer"},
{9, nullptr, "CopyBetweenCaptureBuffers"},
{10, nullptr, "AcquireLastApplicationCaptureBuffer"},
{11, nullptr, "ReleaseLastApplicationCaptureBuffer"},
@@ -206,8 +212,8 @@ IDisplayController::IDisplayController(Core::System& system_)
{23, nullptr, "ReleaseLastApplicationCaptureSharedBuffer"},
{24, nullptr, "AcquireLastForegroundCaptureSharedBuffer"},
{25, nullptr, "ReleaseLastForegroundCaptureSharedBuffer"},
- {26, nullptr, "AcquireCallerAppletCaptureSharedBuffer"},
- {27, nullptr, "ReleaseCallerAppletCaptureSharedBuffer"},
+ {26, &IDisplayController::AcquireCallerAppletCaptureSharedBuffer, "AcquireCallerAppletCaptureSharedBuffer"},
+ {27, &IDisplayController::ReleaseCallerAppletCaptureSharedBuffer, "ReleaseCallerAppletCaptureSharedBuffer"},
{28, nullptr, "TakeScreenShotOfOwnLayerEx"},
};
// clang-format on
@@ -217,6 +223,38 @@ IDisplayController::IDisplayController(Core::System& system_)
IDisplayController::~IDisplayController() = default;
+void IDisplayController::GetCallerAppletCaptureImageEx(HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(ResultSuccess);
+ rb.Push(1u);
+ rb.Push(0);
+}
+
+void IDisplayController::TakeScreenShotOfOwnLayer(HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
+void IDisplayController::AcquireCallerAppletCaptureSharedBuffer(HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(ResultSuccess);
+ rb.Push(1U);
+ rb.Push(0);
+}
+
+void IDisplayController::ReleaseCallerAppletCaptureSharedBuffer(HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
IDebugFunctions::IDebugFunctions(Core::System& system_)
: ServiceFramework{system_, "IDebugFunctions"} {
// clang-format off
@@ -276,14 +314,14 @@ ISelfController::ISelfController(Core::System& system_, Nvnflinger::Nvnflinger&
{20, nullptr, "SetDesirableKeyboardLayout"},
{21, nullptr, "GetScreenShotProgramId"},
{40, &ISelfController::CreateManagedDisplayLayer, "CreateManagedDisplayLayer"},
- {41, nullptr, "IsSystemBufferSharingEnabled"},
- {42, nullptr, "GetSystemSharedLayerHandle"},
- {43, nullptr, "GetSystemSharedBufferHandle"},
+ {41, &ISelfController::IsSystemBufferSharingEnabled, "IsSystemBufferSharingEnabled"},
+ {42, &ISelfController::GetSystemSharedLayerHandle, "GetSystemSharedLayerHandle"},
+ {43, &ISelfController::GetSystemSharedBufferHandle, "GetSystemSharedBufferHandle"},
{44, &ISelfController::CreateManagedDisplaySeparableLayer, "CreateManagedDisplaySeparableLayer"},
{45, nullptr, "SetManagedDisplayLayerSeparationMode"},
{46, nullptr, "SetRecordingLayerCompositionEnabled"},
{50, &ISelfController::SetHandlesRequestToDisplay, "SetHandlesRequestToDisplay"},
- {51, nullptr, "ApproveToDisplay"},
+ {51, &ISelfController::ApproveToDisplay, "ApproveToDisplay"},
{60, nullptr, "OverrideAutoSleepTimeAndDimmingTime"},
{61, nullptr, "SetMediaPlaybackState"},
{62, &ISelfController::SetIdleTimeDetectionExtension, "SetIdleTimeDetectionExtension"},
@@ -340,7 +378,7 @@ void ISelfController::Exit(HLERequestContext& ctx) {
void ISelfController::LockExit(HLERequestContext& ctx) {
LOG_DEBUG(Service_AM, "called");
- system.SetExitLock(true);
+ system.SetExitLocked(true);
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);
@@ -349,10 +387,14 @@ void ISelfController::LockExit(HLERequestContext& ctx) {
void ISelfController::UnlockExit(HLERequestContext& ctx) {
LOG_DEBUG(Service_AM, "called");
- system.SetExitLock(false);
+ system.SetExitLocked(false);
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);
+
+ if (system.GetExitRequested()) {
+ system.Exit();
+ }
}
void ISelfController::EnterFatalSection(HLERequestContext& ctx) {
@@ -478,6 +520,50 @@ void ISelfController::CreateManagedDisplayLayer(HLERequestContext& ctx) {
rb.Push(*layer_id);
}
+void ISelfController::IsSystemBufferSharingEnabled(HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(this->EnsureBufferSharingEnabled());
+}
+
+void ISelfController::GetSystemSharedLayerHandle(HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 6};
+ rb.Push(this->EnsureBufferSharingEnabled());
+ rb.Push<s64>(system_shared_buffer_id);
+ rb.Push<s64>(system_shared_layer_id);
+}
+
+void ISelfController::GetSystemSharedBufferHandle(HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(this->EnsureBufferSharingEnabled());
+ rb.Push<s64>(system_shared_buffer_id);
+}
+
+Result ISelfController::EnsureBufferSharingEnabled() {
+ if (buffer_sharing_enabled) {
+ return ResultSuccess;
+ }
+
+ if (system.GetAppletManager().GetCurrentAppletId() <= Applets::AppletId::Application) {
+ return VI::ResultOperationFailed;
+ }
+
+ const auto display_id = nvnflinger.OpenDisplay("Default");
+ const auto result = nvnflinger.GetSystemBufferManager().Initialize(
+ &system_shared_buffer_id, &system_shared_layer_id, *display_id);
+
+ if (result.IsSuccess()) {
+ buffer_sharing_enabled = true;
+ }
+
+ return result;
+}
+
void ISelfController::CreateManagedDisplaySeparableLayer(HLERequestContext& ctx) {
LOG_WARNING(Service_AM, "(STUBBED) called");
@@ -503,6 +589,13 @@ void ISelfController::SetHandlesRequestToDisplay(HLERequestContext& ctx) {
rb.Push(ResultSuccess);
}
+void ISelfController::ApproveToDisplay(HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
void ISelfController::SetIdleTimeDetectionExtension(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
idle_time_detection_extension = rp.Pop<u32>();
@@ -671,9 +764,70 @@ void AppletMessageQueue::OperationModeChanged() {
on_operation_mode_changed->Signal();
}
+ILockAccessor::ILockAccessor(Core::System& system_)
+ : ServiceFramework{system_, "ILockAccessor"}, service_context{system_, "ILockAccessor"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {1, &ILockAccessor::TryLock, "TryLock"},
+ {2, &ILockAccessor::Unlock, "Unlock"},
+ {3, &ILockAccessor::GetEvent, "GetEvent"},
+ {4,&ILockAccessor::IsLocked, "IsLocked"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+
+ lock_event = service_context.CreateEvent("ILockAccessor::LockEvent");
+}
+
+ILockAccessor::~ILockAccessor() = default;
+
+void ILockAccessor::TryLock(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto return_handle = rp.Pop<bool>();
+
+ LOG_WARNING(Service_AM, "(STUBBED) called, return_handle={}", return_handle);
+
+ // TODO: When return_handle is true this function should return the lock handle
+
+ is_locked = true;
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push<u8>(is_locked);
+}
+
+void ILockAccessor::Unlock(HLERequestContext& ctx) {
+ LOG_INFO(Service_AM, "called");
+
+ is_locked = false;
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
+void ILockAccessor::GetEvent(HLERequestContext& ctx) {
+ LOG_INFO(Service_AM, "called");
+
+ lock_event->Signal();
+
+ IPC::ResponseBuilder rb{ctx, 2, 1};
+ rb.Push(ResultSuccess);
+ rb.PushCopyObjects(lock_event->GetReadableEvent());
+}
+
+void ILockAccessor::IsLocked(HLERequestContext& ctx) {
+ LOG_INFO(Service_AM, "called");
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+ rb.Push<u8>(is_locked);
+}
+
ICommonStateGetter::ICommonStateGetter(Core::System& system_,
std::shared_ptr<AppletMessageQueue> msg_queue_)
- : ServiceFramework{system_, "ICommonStateGetter"}, msg_queue{std::move(msg_queue_)} {
+ : ServiceFramework{system_, "ICommonStateGetter"}, msg_queue{std::move(msg_queue_)},
+ service_context{system_, "ICommonStateGetter"} {
// clang-format off
static const FunctionInfo functions[] = {
{0, &ICommonStateGetter::GetEventHandle, "GetEventHandle"},
@@ -686,14 +840,14 @@ ICommonStateGetter::ICommonStateGetter(Core::System& system_,
{7, nullptr, "GetCradleStatus"},
{8, &ICommonStateGetter::GetBootMode, "GetBootMode"},
{9, &ICommonStateGetter::GetCurrentFocusState, "GetCurrentFocusState"},
- {10, nullptr, "RequestToAcquireSleepLock"},
+ {10, &ICommonStateGetter::RequestToAcquireSleepLock, "RequestToAcquireSleepLock"},
{11, nullptr, "ReleaseSleepLock"},
{12, nullptr, "ReleaseSleepLockTransiently"},
- {13, nullptr, "GetAcquiredSleepLockEvent"},
+ {13, &ICommonStateGetter::GetAcquiredSleepLockEvent, "GetAcquiredSleepLockEvent"},
{14, nullptr, "GetWakeupCount"},
{20, nullptr, "PushToGeneralChannel"},
{30, nullptr, "GetHomeButtonReaderLockAccessor"},
- {31, nullptr, "GetReaderLockAccessorEx"},
+ {31, &ICommonStateGetter::GetReaderLockAccessorEx, "GetReaderLockAccessorEx"},
{32, nullptr, "GetWriterLockAccessorEx"},
{40, nullptr, "GetCradleFwVersion"},
{50, &ICommonStateGetter::IsVrModeEnabled, "IsVrModeEnabled"},
@@ -711,7 +865,7 @@ ICommonStateGetter::ICommonStateGetter(Core::System& system_,
{65, nullptr, "GetApplicationIdByContentActionName"},
{66, &ICommonStateGetter::SetCpuBoostMode, "SetCpuBoostMode"},
{67, nullptr, "CancelCpuBoostMode"},
- {68, nullptr, "GetBuiltInDisplayType"},
+ {68, &ICommonStateGetter::GetBuiltInDisplayType, "GetBuiltInDisplayType"},
{80, &ICommonStateGetter::PerformSystemButtonPressingIfInFocus, "PerformSystemButtonPressingIfInFocus"},
{90, nullptr, "SetPerformanceConfigurationChangedNotification"},
{91, nullptr, "GetCurrentPerformanceConfiguration"},
@@ -719,7 +873,7 @@ ICommonStateGetter::ICommonStateGetter(Core::System& system_,
{110, nullptr, "OpenMyGpuErrorHandler"},
{120, nullptr, "GetAppletLaunchedHistory"},
{200, nullptr, "GetOperationModeSystemInfo"},
- {300, nullptr, "GetSettingsPlatformRegion"},
+ {300, &ICommonStateGetter::GetSettingsPlatformRegion, "GetSettingsPlatformRegion"},
{400, nullptr, "ActivateMigrationService"},
{401, nullptr, "DeactivateMigrationService"},
{500, nullptr, "DisableSleepTillShutdown"},
@@ -731,6 +885,12 @@ ICommonStateGetter::ICommonStateGetter(Core::System& system_,
// clang-format on
RegisterHandlers(functions);
+
+ sleep_lock_event = service_context.CreateEvent("ICommonStateGetter::SleepLockEvent");
+
+ // Configure applets to be in foreground state
+ msg_queue->PushMessage(AppletMessageQueue::AppletMessage::FocusStateChanged);
+ msg_queue->PushMessage(AppletMessageQueue::AppletMessage::ChangeIntoForeground);
}
ICommonStateGetter::~ICommonStateGetter() = default;
@@ -776,6 +936,36 @@ void ICommonStateGetter::GetCurrentFocusState(HLERequestContext& ctx) {
rb.Push(static_cast<u8>(FocusState::InFocus));
}
+void ICommonStateGetter::RequestToAcquireSleepLock(HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ // Sleep lock is acquired immediately.
+ sleep_lock_event->Signal();
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
+void ICommonStateGetter::GetReaderLockAccessorEx(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto unknown = rp.Pop<u32>();
+
+ LOG_INFO(Service_AM, "called, unknown={}", unknown);
+
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+
+ rb.Push(ResultSuccess);
+ rb.PushIpcInterface<ILockAccessor>(system);
+}
+
+void ICommonStateGetter::GetAcquiredSleepLockEvent(HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "called");
+
+ IPC::ResponseBuilder rb{ctx, 2, 1};
+ rb.Push(ResultSuccess);
+ rb.PushCopyObjects(sleep_lock_event->GetReadableEvent());
+}
+
void ICommonStateGetter::IsVrModeEnabled(HLERequestContext& ctx) {
LOG_DEBUG(Service_AM, "called");
@@ -833,7 +1023,7 @@ void ICommonStateGetter::GetDefaultDisplayResolution(HLERequestContext& ctx) {
IPC::ResponseBuilder rb{ctx, 4};
rb.Push(ResultSuccess);
- if (Settings::values.use_docked_mode.GetValue()) {
+ if (Settings::IsDockedMode()) {
rb.Push(static_cast<u32>(Service::VI::DisplayResolution::DockedWidth));
rb.Push(static_cast<u32>(Service::VI::DisplayResolution::DockedHeight));
} else {
@@ -852,6 +1042,14 @@ void ICommonStateGetter::SetCpuBoostMode(HLERequestContext& ctx) {
apm_sys->SetCpuBoostMode(ctx);
}
+void ICommonStateGetter::GetBuiltInDisplayType(HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(0);
+}
+
void ICommonStateGetter::PerformSystemButtonPressingIfInFocus(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto system_button{rp.PopEnum<SystemButtonType>()};
@@ -862,6 +1060,14 @@ void ICommonStateGetter::PerformSystemButtonPressingIfInFocus(HLERequestContext&
rb.Push(ResultSuccess);
}
+void ICommonStateGetter::GetSettingsPlatformRegion(HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.PushEnum(SysPlatformRegion::Global);
+}
+
void ICommonStateGetter::SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled(
HLERequestContext& ctx) {
LOG_WARNING(Service_AM, "(STUBBED) called");
@@ -921,7 +1127,7 @@ void IStorage::Open(HLERequestContext& ctx) {
}
void ICommonStateGetter::GetOperationMode(HLERequestContext& ctx) {
- const bool use_docked_mode{Settings::values.use_docked_mode.GetValue()};
+ const bool use_docked_mode{Settings::IsDockedMode()};
LOG_DEBUG(Service_AM, "called, use_docked_mode={}", use_docked_mode);
IPC::ResponseBuilder rb{ctx, 3};
@@ -1317,6 +1523,241 @@ void ILibraryAppletCreator::CreateHandleStorage(HLERequestContext& ctx) {
rb.PushIpcInterface<IStorage>(system, std::move(memory));
}
+ILibraryAppletSelfAccessor::ILibraryAppletSelfAccessor(Core::System& system_)
+ : ServiceFramework{system_, "ILibraryAppletSelfAccessor"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, &ILibraryAppletSelfAccessor::PopInData, "PopInData"},
+ {1, &ILibraryAppletSelfAccessor::PushOutData, "PushOutData"},
+ {2, nullptr, "PopInteractiveInData"},
+ {3, nullptr, "PushInteractiveOutData"},
+ {5, nullptr, "GetPopInDataEvent"},
+ {6, nullptr, "GetPopInteractiveInDataEvent"},
+ {10, &ILibraryAppletSelfAccessor::ExitProcessAndReturn, "ExitProcessAndReturn"},
+ {11, &ILibraryAppletSelfAccessor::GetLibraryAppletInfo, "GetLibraryAppletInfo"},
+ {12, nullptr, "GetMainAppletIdentityInfo"},
+ {13, nullptr, "CanUseApplicationCore"},
+ {14, &ILibraryAppletSelfAccessor::GetCallerAppletIdentityInfo, "GetCallerAppletIdentityInfo"},
+ {15, nullptr, "GetMainAppletApplicationControlProperty"},
+ {16, nullptr, "GetMainAppletStorageId"},
+ {17, nullptr, "GetCallerAppletIdentityInfoStack"},
+ {18, nullptr, "GetNextReturnDestinationAppletIdentityInfo"},
+ {19, nullptr, "GetDesirableKeyboardLayout"},
+ {20, nullptr, "PopExtraStorage"},
+ {25, nullptr, "GetPopExtraStorageEvent"},
+ {30, nullptr, "UnpopInData"},
+ {31, nullptr, "UnpopExtraStorage"},
+ {40, nullptr, "GetIndirectLayerProducerHandle"},
+ {50, nullptr, "ReportVisibleError"},
+ {51, nullptr, "ReportVisibleErrorWithErrorContext"},
+ {60, nullptr, "GetMainAppletApplicationDesiredLanguage"},
+ {70, nullptr, "GetCurrentApplicationId"},
+ {80, nullptr, "RequestExitToSelf"},
+ {90, nullptr, "CreateApplicationAndPushAndRequestToLaunch"},
+ {100, nullptr, "CreateGameMovieTrimmer"},
+ {101, nullptr, "ReserveResourceForMovieOperation"},
+ {102, nullptr, "UnreserveResourceForMovieOperation"},
+ {110, nullptr, "GetMainAppletAvailableUsers"},
+ {120, nullptr, "GetLaunchStorageInfoForDebug"},
+ {130, nullptr, "GetGpuErrorDetectedSystemEvent"},
+ {140, nullptr, "SetApplicationMemoryReservation"},
+ {150, nullptr, "ShouldSetGpuTimeSliceManually"},
+ };
+ // clang-format on
+ RegisterHandlers(functions);
+
+ switch (system.GetAppletManager().GetCurrentAppletId()) {
+ case Applets::AppletId::Cabinet:
+ PushInShowCabinetData();
+ break;
+ case Applets::AppletId::MiiEdit:
+ PushInShowMiiEditData();
+ break;
+ case Applets::AppletId::PhotoViewer:
+ PushInShowAlbum();
+ break;
+ default:
+ break;
+ }
+}
+
+ILibraryAppletSelfAccessor::~ILibraryAppletSelfAccessor() = default;
+void ILibraryAppletSelfAccessor::PopInData(HLERequestContext& ctx) {
+ LOG_INFO(Service_AM, "called");
+
+ if (queue_data.empty()) {
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultNoDataInChannel);
+ return;
+ }
+
+ auto data = queue_data.front();
+ queue_data.pop_front();
+
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(ResultSuccess);
+ rb.PushIpcInterface<IStorage>(system, std::move(data));
+}
+
+void ILibraryAppletSelfAccessor::PushOutData(HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
+void ILibraryAppletSelfAccessor::ExitProcessAndReturn(HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ system.Exit();
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
+void ILibraryAppletSelfAccessor::GetLibraryAppletInfo(HLERequestContext& ctx) {
+ struct LibraryAppletInfo {
+ Applets::AppletId applet_id;
+ Applets::LibraryAppletMode library_applet_mode;
+ };
+
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ const LibraryAppletInfo applet_info{
+ .applet_id = system.GetAppletManager().GetCurrentAppletId(),
+ .library_applet_mode = Applets::LibraryAppletMode::AllForeground,
+ };
+
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(ResultSuccess);
+ rb.PushRaw(applet_info);
+}
+
+void ILibraryAppletSelfAccessor::GetCallerAppletIdentityInfo(HLERequestContext& ctx) {
+ struct AppletIdentityInfo {
+ Applets::AppletId applet_id;
+ INSERT_PADDING_BYTES(0x4);
+ u64 application_id;
+ };
+
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ const AppletIdentityInfo applet_info{
+ .applet_id = Applets::AppletId::QLaunch,
+ .application_id = 0x0100000000001000ull,
+ };
+
+ IPC::ResponseBuilder rb{ctx, 6};
+ rb.Push(ResultSuccess);
+ rb.PushRaw(applet_info);
+}
+
+void ILibraryAppletSelfAccessor::PushInShowAlbum() {
+ const Applets::CommonArguments arguments{
+ .arguments_version = Applets::CommonArgumentVersion::Version3,
+ .size = Applets::CommonArgumentSize::Version3,
+ .library_version = 1,
+ .theme_color = Applets::ThemeColor::BasicBlack,
+ .play_startup_sound = true,
+ .system_tick = system.CoreTiming().GetClockTicks(),
+ };
+
+ std::vector<u8> argument_data(sizeof(arguments));
+ std::vector<u8> settings_data{2};
+ std::memcpy(argument_data.data(), &arguments, sizeof(arguments));
+ queue_data.emplace_back(std::move(argument_data));
+ queue_data.emplace_back(std::move(settings_data));
+}
+
+void ILibraryAppletSelfAccessor::PushInShowCabinetData() {
+ const Applets::CommonArguments arguments{
+ .arguments_version = Applets::CommonArgumentVersion::Version3,
+ .size = Applets::CommonArgumentSize::Version3,
+ .library_version = static_cast<u32>(Applets::CabinetAppletVersion::Version1),
+ .theme_color = Applets::ThemeColor::BasicBlack,
+ .play_startup_sound = true,
+ .system_tick = system.CoreTiming().GetClockTicks(),
+ };
+
+ const Applets::StartParamForAmiiboSettings amiibo_settings{
+ .param_1 = 0,
+ .applet_mode = system.GetAppletManager().GetCabinetMode(),
+ .flags = Applets::CabinetFlags::None,
+ .amiibo_settings_1 = 0,
+ .device_handle = 0,
+ .tag_info{},
+ .register_info{},
+ .amiibo_settings_3{},
+ };
+
+ std::vector<u8> argument_data(sizeof(arguments));
+ std::vector<u8> settings_data(sizeof(amiibo_settings));
+ std::memcpy(argument_data.data(), &arguments, sizeof(arguments));
+ std::memcpy(settings_data.data(), &amiibo_settings, sizeof(amiibo_settings));
+ queue_data.emplace_back(std::move(argument_data));
+ queue_data.emplace_back(std::move(settings_data));
+}
+
+void ILibraryAppletSelfAccessor::PushInShowMiiEditData() {
+ struct MiiEditV3 {
+ Applets::MiiEditAppletInputCommon common;
+ Applets::MiiEditAppletInputV3 input;
+ };
+ static_assert(sizeof(MiiEditV3) == 0x100, "MiiEditV3 has incorrect size.");
+
+ MiiEditV3 mii_arguments{
+ .common =
+ {
+ .version = Applets::MiiEditAppletVersion::Version3,
+ .applet_mode = Applets::MiiEditAppletMode::ShowMiiEdit,
+ },
+ .input{},
+ };
+
+ std::vector<u8> argument_data(sizeof(mii_arguments));
+ std::memcpy(argument_data.data(), &mii_arguments, sizeof(mii_arguments));
+
+ queue_data.emplace_back(std::move(argument_data));
+}
+
+IAppletCommonFunctions::IAppletCommonFunctions(Core::System& system_)
+ : ServiceFramework{system_, "IAppletCommonFunctions"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, nullptr, "SetTerminateResult"},
+ {10, nullptr, "ReadThemeStorage"},
+ {11, nullptr, "WriteThemeStorage"},
+ {20, nullptr, "PushToAppletBoundChannel"},
+ {21, nullptr, "TryPopFromAppletBoundChannel"},
+ {40, nullptr, "GetDisplayLogicalResolution"},
+ {42, nullptr, "SetDisplayMagnification"},
+ {50, nullptr, "SetHomeButtonDoubleClickEnabled"},
+ {51, nullptr, "GetHomeButtonDoubleClickEnabled"},
+ {52, nullptr, "IsHomeButtonShortPressedBlocked"},
+ {60, nullptr, "IsVrModeCurtainRequired"},
+ {61, nullptr, "IsSleepRequiredByHighTemperature"},
+ {62, nullptr, "IsSleepRequiredByLowBattery"},
+ {70, &IAppletCommonFunctions::SetCpuBoostRequestPriority, "SetCpuBoostRequestPriority"},
+ {80, nullptr, "SetHandlingCaptureButtonShortPressedMessageEnabledForApplet"},
+ {81, nullptr, "SetHandlingCaptureButtonLongPressedMessageEnabledForApplet"},
+ {90, nullptr, "OpenNamedChannelAsParent"},
+ {91, nullptr, "OpenNamedChannelAsChild"},
+ {100, nullptr, "SetApplicationCoreUsageMode"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+}
+
+IAppletCommonFunctions::~IAppletCommonFunctions() = default;
+
+void IAppletCommonFunctions::SetCpuBoostRequestPriority(HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
IApplicationFunctions::IApplicationFunctions(Core::System& system_)
: ServiceFramework{system_, "IApplicationFunctions"}, service_context{system,
"IApplicationFunctions"} {
@@ -1337,7 +1778,7 @@ IApplicationFunctions::IApplicationFunctions(Core::System& system_)
{25, &IApplicationFunctions::ExtendSaveData, "ExtendSaveData"},
{26, &IApplicationFunctions::GetSaveDataSize, "GetSaveDataSize"},
{27, &IApplicationFunctions::CreateCacheStorage, "CreateCacheStorage"},
- {28, nullptr, "GetSaveDataSizeMax"},
+ {28, &IApplicationFunctions::GetSaveDataSizeMax, "GetSaveDataSizeMax"},
{29, nullptr, "GetCacheStorageMax"},
{30, &IApplicationFunctions::BeginBlockingHomeButtonShortAndLongPressed, "BeginBlockingHomeButtonShortAndLongPressed"},
{31, &IApplicationFunctions::EndBlockingHomeButtonShortAndLongPressed, "EndBlockingHomeButtonShortAndLongPressed"},
@@ -1469,27 +1910,26 @@ void IApplicationFunctions::PopLaunchParameter(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto kind = rp.PopEnum<LaunchParameterKind>();
- LOG_DEBUG(Service_AM, "called, kind={:08X}", kind);
-
- if (kind == LaunchParameterKind::ApplicationSpecific && !launch_popped_application_specific) {
- const auto backend = BCAT::CreateBackendFromSettings(system, [this](u64 tid) {
- return system.GetFileSystemController().GetBCATDirectory(tid);
- });
- const auto build_id_full = system.GetApplicationProcessBuildID();
- u64 build_id{};
- std::memcpy(&build_id, build_id_full.data(), sizeof(u64));
-
- auto data =
- backend->GetLaunchParameter({system.GetApplicationProcessProgramID(), build_id});
- if (data.has_value()) {
- IPC::ResponseBuilder rb{ctx, 2, 0, 1};
- rb.Push(ResultSuccess);
- rb.PushIpcInterface<IStorage>(system, std::move(*data));
- launch_popped_application_specific = true;
+ LOG_INFO(Service_AM, "called, kind={:08X}", kind);
+
+ if (kind == LaunchParameterKind::UserChannel) {
+ auto channel = system.GetUserChannel();
+ if (channel.empty()) {
+ LOG_ERROR(Service_AM, "Attempted to load launch parameter but none was found!");
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(AM::ResultNoDataInChannel);
return;
}
+
+ auto data = channel.back();
+ channel.pop_back();
+
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(ResultSuccess);
+ rb.PushIpcInterface<IStorage>(system, std::move(data));
} else if (kind == LaunchParameterKind::AccountPreselectedUser &&
!launch_popped_account_preselect) {
+ // TODO: Verify this is hw-accurate
LaunchParameterAccountPreselectedUser params{};
params.magic = LAUNCH_PARAMETER_ACCOUNT_PRESELECTED_USER_MAGIC;
@@ -1501,7 +1941,6 @@ void IApplicationFunctions::PopLaunchParameter(HLERequestContext& ctx) {
params.current_user = *uuid;
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
-
rb.Push(ResultSuccess);
std::vector<u8> buffer(sizeof(LaunchParameterAccountPreselectedUser));
@@ -1509,12 +1948,11 @@ void IApplicationFunctions::PopLaunchParameter(HLERequestContext& ctx) {
rb.PushIpcInterface<IStorage>(system, std::move(buffer));
launch_popped_account_preselect = true;
- return;
+ } else {
+ LOG_ERROR(Service_AM, "Unknown launch parameter kind.");
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(AM::ResultNoDataInChannel);
}
-
- LOG_ERROR(Service_AM, "Attempted to load launch parameter but none was found!");
- IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(AM::ResultNoDataInChannel);
}
void IApplicationFunctions::CreateApplicationAndRequestToStartForQuest(HLERequestContext& ctx) {
@@ -1534,11 +1972,13 @@ void IApplicationFunctions::EnsureSaveData(HLERequestContext& ctx) {
attribute.title_id = system.GetApplicationProcessProgramID();
attribute.user_id = user_id;
attribute.type = FileSys::SaveDataType::SaveData;
+
+ FileSys::VirtualDir save_data{};
const auto res = system.GetFileSystemController().CreateSaveData(
- FileSys::SaveDataSpaceId::NandUser, attribute);
+ &save_data, FileSys::SaveDataSpaceId::NandUser, attribute);
IPC::ResponseBuilder rb{ctx, 4};
- rb.Push(res.Code());
+ rb.Push(res);
rb.Push<u64>(0);
}
@@ -1623,26 +2063,30 @@ void IApplicationFunctions::GetDesiredLanguage(HLERequestContext& ctx) {
auto app_man = ns_am2->GetApplicationManagerInterface();
// Get desired application language
- const auto res_lang = app_man->GetApplicationDesiredLanguage(supported_languages);
- if (res_lang.Failed()) {
+ u8 desired_language{};
+ const auto res_lang =
+ app_man->GetApplicationDesiredLanguage(&desired_language, supported_languages);
+ if (res_lang != ResultSuccess) {
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(res_lang.Code());
+ rb.Push(res_lang);
return;
}
// Convert to settings language code.
- const auto res_code = app_man->ConvertApplicationLanguageToLanguageCode(*res_lang);
- if (res_code.Failed()) {
+ u64 language_code{};
+ const auto res_code =
+ app_man->ConvertApplicationLanguageToLanguageCode(&language_code, desired_language);
+ if (res_code != ResultSuccess) {
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(res_code.Code());
+ rb.Push(res_code);
return;
}
- LOG_DEBUG(Service_AM, "got desired_language={:016X}", *res_code);
+ LOG_DEBUG(Service_AM, "got desired_language={:016X}", language_code);
IPC::ResponseBuilder rb{ctx, 4};
rb.Push(ResultSuccess);
- rb.Push(*res_code);
+ rb.Push(language_code);
}
void IApplicationFunctions::IsGamePlayRecordingSupported(HLERequestContext& ctx) {
@@ -1769,6 +2213,18 @@ void IApplicationFunctions::CreateCacheStorage(HLERequestContext& ctx) {
rb.PushRaw(resp);
}
+void IApplicationFunctions::GetSaveDataSizeMax(HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ constexpr u64 size_max_normal = 0xFFFFFFF;
+ constexpr u64 size_max_journal = 0xFFFFFFF;
+
+ IPC::ResponseBuilder rb{ctx, 6};
+ rb.Push(ResultSuccess);
+ rb.Push(size_max_normal);
+ rb.Push(size_max_journal);
+}
+
void IApplicationFunctions::QueryApplicationPlayStatistics(HLERequestContext& ctx) {
LOG_WARNING(Service_AM, "(STUBBED) called");
@@ -1800,14 +2256,22 @@ void IApplicationFunctions::ExecuteProgram(HLERequestContext& ctx) {
}
void IApplicationFunctions::ClearUserChannel(HLERequestContext& ctx) {
- LOG_WARNING(Service_AM, "(STUBBED) called");
+ LOG_DEBUG(Service_AM, "called");
+
+ system.GetUserChannel().clear();
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);
}
void IApplicationFunctions::UnpopToUserChannel(HLERequestContext& ctx) {
- LOG_WARNING(Service_AM, "(STUBBED) called");
+ LOG_DEBUG(Service_AM, "called");
+
+ IPC::RequestParser rp{ctx};
+ const auto storage = rp.PopIpcInterface<IStorage>().lock();
+ if (storage) {
+ system.GetUserChannel().push_back(storage->GetData());
+ }
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);
@@ -1869,9 +2333,6 @@ void IApplicationFunctions::PrepareForJit(HLERequestContext& ctx) {
void LoopProcess(Nvnflinger::Nvnflinger& nvnflinger, Core::System& system) {
auto message_queue = std::make_shared<AppletMessageQueue>(system);
- // Needed on game boot
- message_queue->PushMessage(AppletMessageQueue::AppletMessage::FocusStateChanged);
-
auto server_manager = std::make_unique<ServerManager>(system);
server_manager->RegisterNamedService(
@@ -1977,8 +2438,8 @@ IProcessWindingController::IProcessWindingController(Core::System& system_)
: ServiceFramework{system_, "IProcessWindingController"} {
// clang-format off
static const FunctionInfo functions[] = {
- {0, nullptr, "GetLaunchReason"},
- {11, nullptr, "OpenCallingLibraryApplet"},
+ {0, &IProcessWindingController::GetLaunchReason, "GetLaunchReason"},
+ {11, &IProcessWindingController::OpenCallingLibraryApplet, "OpenCallingLibraryApplet"},
{21, nullptr, "PushContext"},
{22, nullptr, "PopContext"},
{23, nullptr, "CancelWindingReservation"},
@@ -1992,4 +2453,47 @@ IProcessWindingController::IProcessWindingController(Core::System& system_)
}
IProcessWindingController::~IProcessWindingController() = default;
+
+void IProcessWindingController::GetLaunchReason(HLERequestContext& ctx) {
+ LOG_WARNING(Service_AM, "(STUBBED) called");
+
+ struct AppletProcessLaunchReason {
+ u8 flag;
+ INSERT_PADDING_BYTES(3);
+ };
+ static_assert(sizeof(AppletProcessLaunchReason) == 0x4,
+ "AppletProcessLaunchReason is an invalid size");
+
+ AppletProcessLaunchReason reason{
+ .flag = 0,
+ };
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.PushRaw(reason);
+}
+
+void IProcessWindingController::OpenCallingLibraryApplet(HLERequestContext& ctx) {
+ const auto applet_id = system.GetAppletManager().GetCurrentAppletId();
+ const auto applet_mode = Applets::LibraryAppletMode::AllForeground;
+
+ LOG_WARNING(Service_AM, "(STUBBED) called with applet_id={:08X}, applet_mode={:08X}", applet_id,
+ applet_mode);
+
+ const auto& applet_manager{system.GetAppletManager()};
+ const auto applet = applet_manager.GetApplet(applet_id, applet_mode);
+
+ if (applet == nullptr) {
+ LOG_ERROR(Service_AM, "Applet doesn't exist! applet_id={}", applet_id);
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultUnknown);
+ return;
+ }
+
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(ResultSuccess);
+ rb.PushIpcInterface<ILibraryAppletAccessor>(system, applet);
+}
+
} // namespace Service::AM
diff --git a/src/core/hle/service/am/am.h b/src/core/hle/service/am/am.h
index d4fd163da..4a045cfd4 100644
--- a/src/core/hle/service/am/am.h
+++ b/src/core/hle/service/am/am.h
@@ -22,30 +22,6 @@ class Nvnflinger;
namespace Service::AM {
-// This is nn::settings::Language
-enum SystemLanguage {
- Japanese = 0,
- English = 1, // en-US
- French = 2,
- German = 3,
- Italian = 4,
- Spanish = 5,
- Chinese = 6,
- Korean = 7,
- Dutch = 8,
- Portuguese = 9,
- Russian = 10,
- Taiwanese = 11,
- BritishEnglish = 12, // en-GB
- CanadianFrench = 13,
- LatinAmericanSpanish = 14, // es-419
- // 4.0.0+
- SimplifiedChinese = 15,
- TraditionalChinese = 16,
- // 10.1.0+
- BrazilianPortuguese = 17,
-};
-
class AppletMessageQueue {
public:
// This is nn::am::AppletMessage
@@ -144,6 +120,12 @@ class IDisplayController final : public ServiceFramework<IDisplayController> {
public:
explicit IDisplayController(Core::System& system_);
~IDisplayController() override;
+
+private:
+ void GetCallerAppletCaptureImageEx(HLERequestContext& ctx);
+ void TakeScreenShotOfOwnLayer(HLERequestContext& ctx);
+ void AcquireCallerAppletCaptureSharedBuffer(HLERequestContext& ctx);
+ void ReleaseCallerAppletCaptureSharedBuffer(HLERequestContext& ctx);
};
class IDebugFunctions final : public ServiceFramework<IDebugFunctions> {
@@ -171,9 +153,13 @@ private:
void SetRestartMessageEnabled(HLERequestContext& ctx);
void SetOutOfFocusSuspendingEnabled(HLERequestContext& ctx);
void SetAlbumImageOrientation(HLERequestContext& ctx);
+ void IsSystemBufferSharingEnabled(HLERequestContext& ctx);
+ void GetSystemSharedBufferHandle(HLERequestContext& ctx);
+ void GetSystemSharedLayerHandle(HLERequestContext& ctx);
void CreateManagedDisplayLayer(HLERequestContext& ctx);
void CreateManagedDisplaySeparableLayer(HLERequestContext& ctx);
void SetHandlesRequestToDisplay(HLERequestContext& ctx);
+ void ApproveToDisplay(HLERequestContext& ctx);
void SetIdleTimeDetectionExtension(HLERequestContext& ctx);
void GetIdleTimeDetectionExtension(HLERequestContext& ctx);
void ReportUserIsActive(HLERequestContext& ctx);
@@ -185,6 +171,8 @@ private:
void SaveCurrentScreenshot(HLERequestContext& ctx);
void SetRecordVolumeMuted(HLERequestContext& ctx);
+ Result EnsureBufferSharingEnabled();
+
enum class ScreenshotPermission : u32 {
Inherit = 0,
Enable = 1,
@@ -200,10 +188,30 @@ private:
u32 idle_time_detection_extension = 0;
u64 num_fatal_sections_entered = 0;
+ u64 system_shared_buffer_id = 0;
+ u64 system_shared_layer_id = 0;
bool is_auto_sleep_disabled = false;
+ bool buffer_sharing_enabled = false;
ScreenshotPermission screenshot_permission = ScreenshotPermission::Inherit;
};
+class ILockAccessor final : public ServiceFramework<ILockAccessor> {
+public:
+ explicit ILockAccessor(Core::System& system_);
+ ~ILockAccessor() override;
+
+private:
+ void TryLock(HLERequestContext& ctx);
+ void Unlock(HLERequestContext& ctx);
+ void GetEvent(HLERequestContext& ctx);
+ void IsLocked(HLERequestContext& ctx);
+
+ bool is_locked{};
+
+ Kernel::KEvent* lock_event;
+ KernelHelpers::ServiceContext service_context;
+};
+
class ICommonStateGetter final : public ServiceFramework<ICommonStateGetter> {
public:
explicit ICommonStateGetter(Core::System& system_,
@@ -236,9 +244,17 @@ private:
CaptureButtonLongPressing,
};
+ enum class SysPlatformRegion : s32 {
+ Global = 1,
+ Terra = 2,
+ };
+
void GetEventHandle(HLERequestContext& ctx);
void ReceiveMessage(HLERequestContext& ctx);
void GetCurrentFocusState(HLERequestContext& ctx);
+ void RequestToAcquireSleepLock(HLERequestContext& ctx);
+ void GetAcquiredSleepLockEvent(HLERequestContext& ctx);
+ void GetReaderLockAccessorEx(HLERequestContext& ctx);
void GetDefaultDisplayResolutionChangeEvent(HLERequestContext& ctx);
void GetOperationMode(HLERequestContext& ctx);
void GetPerformanceMode(HLERequestContext& ctx);
@@ -250,11 +266,15 @@ private:
void EndVrModeEx(HLERequestContext& ctx);
void GetDefaultDisplayResolution(HLERequestContext& ctx);
void SetCpuBoostMode(HLERequestContext& ctx);
+ void GetBuiltInDisplayType(HLERequestContext& ctx);
void PerformSystemButtonPressingIfInFocus(HLERequestContext& ctx);
+ void GetSettingsPlatformRegion(HLERequestContext& ctx);
void SetRequestExitToLibraryAppletAtExecuteNextProgramEnabled(HLERequestContext& ctx);
std::shared_ptr<AppletMessageQueue> msg_queue;
bool vr_mode_state{};
+ Kernel::KEvent* sleep_lock_event;
+ KernelHelpers::ServiceContext service_context;
};
class IStorageImpl {
@@ -314,6 +334,34 @@ private:
void CreateHandleStorage(HLERequestContext& ctx);
};
+class ILibraryAppletSelfAccessor final : public ServiceFramework<ILibraryAppletSelfAccessor> {
+public:
+ explicit ILibraryAppletSelfAccessor(Core::System& system_);
+ ~ILibraryAppletSelfAccessor() override;
+
+private:
+ void PopInData(HLERequestContext& ctx);
+ void PushOutData(HLERequestContext& ctx);
+ void GetLibraryAppletInfo(HLERequestContext& ctx);
+ void ExitProcessAndReturn(HLERequestContext& ctx);
+ void GetCallerAppletIdentityInfo(HLERequestContext& ctx);
+
+ void PushInShowAlbum();
+ void PushInShowCabinetData();
+ void PushInShowMiiEditData();
+
+ std::deque<std::vector<u8>> queue_data;
+};
+
+class IAppletCommonFunctions final : public ServiceFramework<IAppletCommonFunctions> {
+public:
+ explicit IAppletCommonFunctions(Core::System& system_);
+ ~IAppletCommonFunctions() override;
+
+private:
+ void SetCpuBoostRequestPriority(HLERequestContext& ctx);
+};
+
class IApplicationFunctions final : public ServiceFramework<IApplicationFunctions> {
public:
explicit IApplicationFunctions(Core::System& system_);
@@ -334,6 +382,7 @@ private:
void ExtendSaveData(HLERequestContext& ctx);
void GetSaveDataSize(HLERequestContext& ctx);
void CreateCacheStorage(HLERequestContext& ctx);
+ void GetSaveDataSizeMax(HLERequestContext& ctx);
void BeginBlockingHomeButtonShortAndLongPressed(HLERequestContext& ctx);
void EndBlockingHomeButtonShortAndLongPressed(HLERequestContext& ctx);
void BeginBlockingHomeButton(HLERequestContext& ctx);
@@ -357,7 +406,6 @@ private:
KernelHelpers::ServiceContext service_context;
- bool launch_popped_application_specific = false;
bool launch_popped_account_preselect = false;
s32 previous_program_index{-1};
Kernel::KEvent* gpu_error_detected_event;
@@ -396,6 +444,10 @@ class IProcessWindingController final : public ServiceFramework<IProcessWindingC
public:
explicit IProcessWindingController(Core::System& system_);
~IProcessWindingController() override;
+
+private:
+ void GetLaunchReason(HLERequestContext& ctx);
+ void OpenCallingLibraryApplet(HLERequestContext& ctx);
};
void LoopProcess(Nvnflinger::Nvnflinger& nvnflinger, Core::System& system);
diff --git a/src/core/hle/service/am/applet_ae.cpp b/src/core/hle/service/am/applet_ae.cpp
index 2764f7ceb..e30e6478a 100644
--- a/src/core/hle/service/am/applet_ae.cpp
+++ b/src/core/hle/service/am/applet_ae.cpp
@@ -26,8 +26,10 @@ public:
{4, &ILibraryAppletProxy::GetDisplayController, "GetDisplayController"},
{10, &ILibraryAppletProxy::GetProcessWindingController, "GetProcessWindingController"},
{11, &ILibraryAppletProxy::GetLibraryAppletCreator, "GetLibraryAppletCreator"},
- {20, &ILibraryAppletProxy::GetApplicationFunctions, "GetApplicationFunctions"},
- {21, nullptr, "GetAppletCommonFunctions"},
+ {20, &ILibraryAppletProxy::OpenLibraryAppletSelfAccessor, "OpenLibraryAppletSelfAccessor"},
+ {21, &ILibraryAppletProxy::GetAppletCommonFunctions, "GetAppletCommonFunctions"},
+ {22, &ILibraryAppletProxy::GetHomeMenuFunctions, "GetHomeMenuFunctions"},
+ {23, &ILibraryAppletProxy::GetGlobalStateController, "GetGlobalStateController"},
{1000, &ILibraryAppletProxy::GetDebugFunctions, "GetDebugFunctions"},
};
// clang-format on
@@ -84,28 +86,52 @@ private:
rb.PushIpcInterface<IProcessWindingController>(system);
}
- void GetDebugFunctions(HLERequestContext& ctx) {
+ void GetLibraryAppletCreator(HLERequestContext& ctx) {
LOG_DEBUG(Service_AM, "called");
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
rb.Push(ResultSuccess);
- rb.PushIpcInterface<IDebugFunctions>(system);
+ rb.PushIpcInterface<ILibraryAppletCreator>(system);
}
- void GetLibraryAppletCreator(HLERequestContext& ctx) {
+ void OpenLibraryAppletSelfAccessor(HLERequestContext& ctx) {
LOG_DEBUG(Service_AM, "called");
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
rb.Push(ResultSuccess);
- rb.PushIpcInterface<ILibraryAppletCreator>(system);
+ rb.PushIpcInterface<ILibraryAppletSelfAccessor>(system);
+ }
+
+ void GetAppletCommonFunctions(HLERequestContext& ctx) {
+ LOG_DEBUG(Service_AM, "called");
+
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(ResultSuccess);
+ rb.PushIpcInterface<IAppletCommonFunctions>(system);
+ }
+
+ void GetHomeMenuFunctions(HLERequestContext& ctx) {
+ LOG_DEBUG(Service_AM, "called");
+
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(ResultSuccess);
+ rb.PushIpcInterface<IHomeMenuFunctions>(system);
+ }
+
+ void GetGlobalStateController(HLERequestContext& ctx) {
+ LOG_DEBUG(Service_AM, "called");
+
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(ResultSuccess);
+ rb.PushIpcInterface<IGlobalStateController>(system);
}
- void GetApplicationFunctions(HLERequestContext& ctx) {
+ void GetDebugFunctions(HLERequestContext& ctx) {
LOG_DEBUG(Service_AM, "called");
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
rb.Push(ResultSuccess);
- rb.PushIpcInterface<IApplicationFunctions>(system);
+ rb.PushIpcInterface<IDebugFunctions>(system);
}
Nvnflinger::Nvnflinger& nvnflinger;
@@ -131,7 +157,7 @@ public:
{20, &ISystemAppletProxy::GetHomeMenuFunctions, "GetHomeMenuFunctions"},
{21, &ISystemAppletProxy::GetGlobalStateController, "GetGlobalStateController"},
{22, &ISystemAppletProxy::GetApplicationCreator, "GetApplicationCreator"},
- {23, nullptr, "GetAppletCommonFunctions"},
+ {23, &ISystemAppletProxy::GetAppletCommonFunctions, "GetAppletCommonFunctions"},
{1000, &ISystemAppletProxy::GetDebugFunctions, "GetDebugFunctions"},
};
// clang-format on
@@ -180,14 +206,6 @@ private:
rb.PushIpcInterface<IDisplayController>(system);
}
- void GetDebugFunctions(HLERequestContext& ctx) {
- LOG_DEBUG(Service_AM, "called");
-
- IPC::ResponseBuilder rb{ctx, 2, 0, 1};
- rb.Push(ResultSuccess);
- rb.PushIpcInterface<IDebugFunctions>(system);
- }
-
void GetLibraryAppletCreator(HLERequestContext& ctx) {
LOG_DEBUG(Service_AM, "called");
@@ -220,6 +238,22 @@ private:
rb.PushIpcInterface<IApplicationCreator>(system);
}
+ void GetAppletCommonFunctions(HLERequestContext& ctx) {
+ LOG_DEBUG(Service_AM, "called");
+
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(ResultSuccess);
+ rb.PushIpcInterface<IAppletCommonFunctions>(system);
+ }
+
+ void GetDebugFunctions(HLERequestContext& ctx) {
+ LOG_DEBUG(Service_AM, "called");
+
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(ResultSuccess);
+ rb.PushIpcInterface<IDebugFunctions>(system);
+ }
+
Nvnflinger::Nvnflinger& nvnflinger;
std::shared_ptr<AppletMessageQueue> msg_queue;
};
diff --git a/src/core/hle/service/am/applets/applet_cabinet.h b/src/core/hle/service/am/applets/applet_cabinet.h
index b56427021..f498796f7 100644
--- a/src/core/hle/service/am/applets/applet_cabinet.h
+++ b/src/core/hle/service/am/applets/applet_cabinet.h
@@ -29,6 +29,15 @@ enum class CabinetAppletVersion : u32 {
Version1 = 0x1,
};
+enum class CabinetFlags : u8 {
+ None = 0,
+ DeviceHandle = 1 << 0,
+ TagInfo = 1 << 1,
+ RegisterInfo = 1 << 2,
+ All = DeviceHandle | TagInfo | RegisterInfo,
+};
+DECLARE_ENUM_FLAG_OPERATORS(CabinetFlags)
+
enum class CabinetResult : u8 {
Cancel = 0,
TagInfo = 1 << 1,
@@ -51,7 +60,7 @@ static_assert(sizeof(AmiiboSettingsStartParam) == 0x30,
struct StartParamForAmiiboSettings {
u8 param_1;
Service::NFP::CabinetMode applet_mode;
- u8 flags;
+ CabinetFlags flags;
u8 amiibo_settings_1;
u64 device_handle;
Service::NFP::TagInfo tag_info;
diff --git a/src/core/hle/service/am/applets/applet_error.cpp b/src/core/hle/service/am/applets/applet_error.cpp
index b46ea840c..5d17c353f 100644
--- a/src/core/hle/service/am/applets/applet_error.cpp
+++ b/src/core/hle/service/am/applets/applet_error.cpp
@@ -138,6 +138,10 @@ void Error::Initialize() {
CopyArgumentData(data, args->application_error);
error_code = Result(args->application_error.error_code);
break;
+ case ErrorAppletMode::ShowErrorPctl:
+ CopyArgumentData(data, args->error_record);
+ error_code = Decode64BitError(args->error_record.error_code_64);
+ break;
case ErrorAppletMode::ShowErrorRecord:
CopyArgumentData(data, args->error_record);
error_code = Decode64BitError(args->error_record.error_code_64);
@@ -191,6 +195,7 @@ void Error::Execute() {
frontend.ShowCustomErrorText(error_code, main_text_string, detail_text_string, callback);
break;
}
+ case ErrorAppletMode::ShowErrorPctl:
case ErrorAppletMode::ShowErrorRecord:
reporter.SaveErrorReport(title_id, error_code,
fmt::format("{:016X}", args->error_record.posix_time));
diff --git a/src/core/hle/service/am/applets/applet_general_backend.cpp b/src/core/hle/service/am/applets/applet_general_backend.cpp
index 8b352020e..c0032f652 100644
--- a/src/core/hle/service/am/applets/applet_general_backend.cpp
+++ b/src/core/hle/service/am/applets/applet_general_backend.cpp
@@ -223,9 +223,9 @@ void StubApplet::Initialize() {
const auto data = broker.PeekDataToAppletForDebug();
system.GetReporter().SaveUnimplementedAppletReport(
- static_cast<u32>(id), common_args.arguments_version, common_args.library_version,
- common_args.theme_color, common_args.play_startup_sound, common_args.system_tick,
- data.normal, data.interactive);
+ static_cast<u32>(id), static_cast<u32>(common_args.arguments_version),
+ common_args.library_version, static_cast<u32>(common_args.theme_color),
+ common_args.play_startup_sound, common_args.system_tick, data.normal, data.interactive);
LogCurrentStorage(broker, "Initialize");
}
diff --git a/src/core/hle/service/am/applets/applet_mii_edit.cpp b/src/core/hle/service/am/applets/applet_mii_edit.cpp
index d1f652c09..50adc7c02 100644
--- a/src/core/hle/service/am/applets/applet_mii_edit.cpp
+++ b/src/core/hle/service/am/applets/applet_mii_edit.cpp
@@ -7,7 +7,9 @@
#include "core/frontend/applets/mii_edit.h"
#include "core/hle/service/am/am.h"
#include "core/hle/service/am/applets/applet_mii_edit.h"
+#include "core/hle/service/mii/mii.h"
#include "core/hle/service/mii/mii_manager.h"
+#include "core/hle/service/sm/sm.h"
namespace Service::AM::Applets {
@@ -56,6 +58,12 @@ void MiiEdit::Initialize() {
sizeof(MiiEditAppletInputV4));
break;
}
+
+ manager = system.ServiceManager().GetService<Mii::MiiDBModule>("mii:e")->GetMiiManager();
+ if (manager == nullptr) {
+ manager = std::make_shared<Mii::MiiManager>();
+ }
+ manager->Initialize(metadata);
}
bool MiiEdit::TransactionComplete() const {
@@ -78,22 +86,49 @@ void MiiEdit::Execute() {
// This is a default stub for each of the MiiEdit applet modes.
switch (applet_input_common.applet_mode) {
case MiiEditAppletMode::ShowMiiEdit:
- case MiiEditAppletMode::AppendMii:
case MiiEditAppletMode::AppendMiiImage:
case MiiEditAppletMode::UpdateMiiImage:
MiiEditOutput(MiiEditResult::Success, 0);
break;
- case MiiEditAppletMode::CreateMii:
- case MiiEditAppletMode::EditMii: {
- Service::Mii::MiiManager mii_manager;
+ case MiiEditAppletMode::AppendMii: {
+ Mii::StoreData store_data{};
+ store_data.BuildRandom(Mii::Age::All, Mii::Gender::All, Mii::Race::All);
+ store_data.SetNickname({u'y', u'u', u'z', u'u'});
+ store_data.SetChecksum();
+ const auto result = manager->AddOrReplace(metadata, store_data);
+
+ if (result.IsError()) {
+ MiiEditOutput(MiiEditResult::Cancel, 0);
+ break;
+ }
+
+ s32 index = manager->FindIndex(store_data.GetCreateId(), false);
+
+ if (index == -1) {
+ MiiEditOutput(MiiEditResult::Cancel, 0);
+ break;
+ }
+
+ MiiEditOutput(MiiEditResult::Success, index);
+ break;
+ }
+ case MiiEditAppletMode::CreateMii: {
+ Mii::CharInfo char_info{};
+ manager->BuildRandom(char_info, Mii::Age::All, Mii::Gender::All, Mii::Race::All);
- const MiiEditCharInfo char_info{
- .mii_info{applet_input_common.applet_mode == MiiEditAppletMode::EditMii
- ? applet_input_v4.char_info.mii_info
- : mii_manager.BuildDefault(0)},
+ const MiiEditCharInfo edit_char_info{
+ .mii_info{char_info},
};
- MiiEditOutputForCharInfoEditing(MiiEditResult::Success, char_info);
+ MiiEditOutputForCharInfoEditing(MiiEditResult::Success, edit_char_info);
+ break;
+ }
+ case MiiEditAppletMode::EditMii: {
+ const MiiEditCharInfo edit_char_info{
+ .mii_info{applet_input_v4.char_info.mii_info},
+ };
+
+ MiiEditOutputForCharInfoEditing(MiiEditResult::Success, edit_char_info);
break;
}
default:
@@ -110,6 +145,8 @@ void MiiEdit::MiiEditOutput(MiiEditResult result, s32 index) {
.index{index},
};
+ LOG_INFO(Input, "called, result={}, index={}", result, index);
+
std::vector<u8> out_data(sizeof(MiiEditAppletOutput));
std::memcpy(out_data.data(), &applet_output, sizeof(MiiEditAppletOutput));
diff --git a/src/core/hle/service/am/applets/applet_mii_edit.h b/src/core/hle/service/am/applets/applet_mii_edit.h
index 3f46fae1b..7ff34af49 100644
--- a/src/core/hle/service/am/applets/applet_mii_edit.h
+++ b/src/core/hle/service/am/applets/applet_mii_edit.h
@@ -11,6 +11,11 @@ namespace Core {
class System;
} // namespace Core
+namespace Service::Mii {
+struct DatabaseSessionMetadata;
+class MiiManager;
+} // namespace Service::Mii
+
namespace Service::AM::Applets {
class MiiEdit final : public Applet {
@@ -40,6 +45,8 @@ private:
MiiEditAppletInputV4 applet_input_v4{};
bool is_complete{false};
+ std::shared_ptr<Mii::MiiManager> manager = nullptr;
+ Mii::DatabaseSessionMetadata metadata{};
};
} // namespace Service::AM::Applets
diff --git a/src/core/hle/service/am/applets/applet_mii_edit_types.h b/src/core/hle/service/am/applets/applet_mii_edit_types.h
index 4705d019f..f3d764073 100644
--- a/src/core/hle/service/am/applets/applet_mii_edit_types.h
+++ b/src/core/hle/service/am/applets/applet_mii_edit_types.h
@@ -7,7 +7,8 @@
#include "common/common_funcs.h"
#include "common/common_types.h"
-#include "core/hle/service/mii/types.h"
+#include "common/uuid.h"
+#include "core/hle/service/mii/types/char_info.h"
namespace Service::AM::Applets {
diff --git a/src/core/hle/service/am/applets/applet_web_browser.cpp b/src/core/hle/service/am/applets/applet_web_browser.cpp
index 2accf7898..1c9a1dc29 100644
--- a/src/core/hle/service/am/applets/applet_web_browser.cpp
+++ b/src/core/hle/service/am/applets/applet_web_browser.cpp
@@ -139,7 +139,7 @@ FileSys::VirtualFile GetOfflineRomFS(Core::System& system, u64 title_id,
const FileSys::PatchManager pm{title_id, system.GetFileSystemController(),
system.GetContentProvider()};
- return pm.PatchRomFS(nca->GetRomFS(), nca->GetBaseIVFCOffset(), nca_type);
+ return pm.PatchRomFS(nca.get(), nca->GetRomFS(), nca_type);
}
}
diff --git a/src/core/hle/service/am/applets/applets.cpp b/src/core/hle/service/am/applets/applets.cpp
index 10afbc2da..89d5434af 100644
--- a/src/core/hle/service/am/applets/applets.cpp
+++ b/src/core/hle/service/am/applets/applets.cpp
@@ -199,6 +199,14 @@ const AppletFrontendSet& AppletManager::GetAppletFrontendSet() const {
return frontend;
}
+NFP::CabinetMode AppletManager::GetCabinetMode() const {
+ return cabinet_mode;
+}
+
+AppletId AppletManager::GetCurrentAppletId() const {
+ return current_applet_id;
+}
+
void AppletManager::SetAppletFrontendSet(AppletFrontendSet set) {
if (set.cabinet != nullptr) {
frontend.cabinet = std::move(set.cabinet);
@@ -237,6 +245,14 @@ void AppletManager::SetAppletFrontendSet(AppletFrontendSet set) {
}
}
+void AppletManager::SetCabinetMode(NFP::CabinetMode mode) {
+ cabinet_mode = mode;
+}
+
+void AppletManager::SetCurrentAppletId(AppletId applet_id) {
+ current_applet_id = applet_id;
+}
+
void AppletManager::SetDefaultAppletFrontendSet() {
ClearAll();
SetDefaultAppletsIfMissing();
diff --git a/src/core/hle/service/am/applets/applets.h b/src/core/hle/service/am/applets/applets.h
index 12f374199..f02bbc450 100644
--- a/src/core/hle/service/am/applets/applets.h
+++ b/src/core/hle/service/am/applets/applets.h
@@ -34,6 +34,10 @@ class KEvent;
class KReadableEvent;
} // namespace Kernel
+namespace Service::NFP {
+enum class CabinetMode : u8;
+} // namespace Service::NFP
+
namespace Service::AM {
class IStorage;
@@ -41,6 +45,8 @@ class IStorage;
namespace Applets {
enum class AppletId : u32 {
+ None = 0x00,
+ Application = 0x01,
OverlayDisplay = 0x02,
QLaunch = 0x03,
Starter = 0x04,
@@ -71,6 +77,32 @@ enum class LibraryAppletMode : u32 {
AllForegroundInitiallyHidden = 4,
};
+enum class CommonArgumentVersion : u32 {
+ Version0,
+ Version1,
+ Version2,
+ Version3,
+};
+
+enum class CommonArgumentSize : u32 {
+ Version3 = 0x20,
+};
+
+enum class ThemeColor : u32 {
+ BasicWhite = 0,
+ BasicBlack = 3,
+};
+
+struct CommonArguments {
+ CommonArgumentVersion arguments_version;
+ CommonArgumentSize size;
+ u32 library_version;
+ ThemeColor theme_color;
+ bool play_startup_sound;
+ u64_le system_tick;
+};
+static_assert(sizeof(CommonArguments) == 0x20, "CommonArguments has incorrect size.");
+
class AppletDataBroker final {
public:
explicit AppletDataBroker(Core::System& system_, LibraryAppletMode applet_mode_);
@@ -161,16 +193,6 @@ public:
}
protected:
- struct CommonArguments {
- u32_le arguments_version;
- u32_le size;
- u32_le library_version;
- u32_le theme_color;
- bool play_startup_sound;
- u64_le system_tick;
- };
- static_assert(sizeof(CommonArguments) == 0x20, "CommonArguments has incorrect size.");
-
CommonArguments common_args{};
AppletDataBroker broker;
LibraryAppletMode applet_mode;
@@ -219,8 +241,12 @@ public:
~AppletManager();
const AppletFrontendSet& GetAppletFrontendSet() const;
+ NFP::CabinetMode GetCabinetMode() const;
+ AppletId GetCurrentAppletId() const;
void SetAppletFrontendSet(AppletFrontendSet set);
+ void SetCabinetMode(NFP::CabinetMode mode);
+ void SetCurrentAppletId(AppletId applet_id);
void SetDefaultAppletFrontendSet();
void SetDefaultAppletsIfMissing();
void ClearAll();
@@ -228,6 +254,9 @@ public:
std::shared_ptr<Applet> GetApplet(AppletId id, LibraryAppletMode mode) const;
private:
+ AppletId current_applet_id{};
+ NFP::CabinetMode cabinet_mode{};
+
AppletFrontendSet frontend;
Core::System& system;
};
diff --git a/src/core/hle/service/aoc/aoc_u.cpp b/src/core/hle/service/aoc/aoc_u.cpp
index 38c2138e8..7075ab800 100644
--- a/src/core/hle/service/aoc/aoc_u.cpp
+++ b/src/core/hle/service/aoc/aoc_u.cpp
@@ -22,6 +22,8 @@
namespace Service::AOC {
+constexpr Result ResultNoPurchasedProductInfoAvailable{ErrorModule::NIMShop, 400};
+
static bool CheckAOCTitleIDMatchesBase(u64 title_id, u64 base) {
return FileSys::GetBaseTitleID(title_id) == base;
}
@@ -54,8 +56,8 @@ public:
{0, &IPurchaseEventManager::SetDefaultDeliveryTarget, "SetDefaultDeliveryTarget"},
{1, &IPurchaseEventManager::SetDeliveryTarget, "SetDeliveryTarget"},
{2, &IPurchaseEventManager::GetPurchasedEventReadableHandle, "GetPurchasedEventReadableHandle"},
- {3, nullptr, "PopPurchasedProductInfo"},
- {4, nullptr, "PopPurchasedProductInfoWithUid"},
+ {3, &IPurchaseEventManager::PopPurchasedProductInfo, "PopPurchasedProductInfo"},
+ {4, &IPurchaseEventManager::PopPurchasedProductInfoWithUid, "PopPurchasedProductInfoWithUid"},
};
// clang-format on
@@ -101,6 +103,20 @@ private:
rb.PushCopyObjects(purchased_event->GetReadableEvent());
}
+ void PopPurchasedProductInfo(HLERequestContext& ctx) {
+ LOG_DEBUG(Service_AOC, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultNoPurchasedProductInfoAvailable);
+ }
+
+ void PopPurchasedProductInfoWithUid(HLERequestContext& ctx) {
+ LOG_DEBUG(Service_AOC, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultNoPurchasedProductInfoAvailable);
+ }
+
KernelHelpers::ServiceContext service_context;
Kernel::KEvent* purchased_event;
diff --git a/src/core/hle/service/apm/apm_controller.cpp b/src/core/hle/service/apm/apm_controller.cpp
index 227fdd0cf..4f1aa5cc2 100644
--- a/src/core/hle/service/apm/apm_controller.cpp
+++ b/src/core/hle/service/apm/apm_controller.cpp
@@ -7,6 +7,7 @@
#include "common/logging/log.h"
#include "common/settings.h"
+#include "common/settings_enums.h"
#include "core/core_timing.h"
#include "core/hle/service/apm/apm_controller.h"
@@ -67,8 +68,7 @@ void Controller::SetFromCpuBoostMode(CpuBoostMode mode) {
}
PerformanceMode Controller::GetCurrentPerformanceMode() const {
- return Settings::values.use_docked_mode.GetValue() ? PerformanceMode::Boost
- : PerformanceMode::Normal;
+ return Settings::IsDockedMode() ? PerformanceMode::Boost : PerformanceMode::Normal;
}
PerformanceConfiguration Controller::GetCurrentPerformanceConfiguration(PerformanceMode mode) {
diff --git a/src/core/hle/service/audio/audctl.cpp b/src/core/hle/service/audio/audctl.cpp
index 7ad93be6b..66dd64fd1 100644
--- a/src/core/hle/service/audio/audctl.cpp
+++ b/src/core/hle/service/audio/audctl.cpp
@@ -22,13 +22,13 @@ AudCtl::AudCtl(Core::System& system_) : ServiceFramework{system_, "audctl"} {
{9, nullptr, "GetAudioOutputMode"},
{10, nullptr, "SetAudioOutputMode"},
{11, nullptr, "SetForceMutePolicy"},
- {12, nullptr, "GetForceMutePolicy"},
- {13, nullptr, "GetOutputModeSetting"},
+ {12, &AudCtl::GetForceMutePolicy, "GetForceMutePolicy"},
+ {13, &AudCtl::GetOutputModeSetting, "GetOutputModeSetting"},
{14, nullptr, "SetOutputModeSetting"},
{15, nullptr, "SetOutputTarget"},
{16, nullptr, "SetInputTargetForceEnabled"},
{17, nullptr, "SetHeadphoneOutputLevelMode"},
- {18, nullptr, "GetHeadphoneOutputLevelMode"},
+ {18, &AudCtl::GetHeadphoneOutputLevelMode, "GetHeadphoneOutputLevelMode"},
{19, nullptr, "AcquireAudioVolumeUpdateEventForPlayReport"},
{20, nullptr, "AcquireAudioOutputDeviceUpdateEventForPlayReport"},
{21, nullptr, "GetAudioOutputTargetForPlayReport"},
@@ -41,7 +41,7 @@ AudCtl::AudCtl(Core::System& system_) : ServiceFramework{system_, "audctl"} {
{28, nullptr, "GetAudioOutputChannelCountForPlayReport"},
{29, nullptr, "BindAudioOutputChannelCountUpdateEventForPlayReport"},
{30, nullptr, "SetSpeakerAutoMuteEnabled"},
- {31, nullptr, "IsSpeakerAutoMuteEnabled"},
+ {31, &AudCtl::IsSpeakerAutoMuteEnabled, "IsSpeakerAutoMuteEnabled"},
{32, nullptr, "GetActiveOutputTarget"},
{33, nullptr, "GetTargetDeviceInfo"},
{34, nullptr, "AcquireTargetNotification"},
@@ -96,4 +96,42 @@ void AudCtl::GetTargetVolumeMax(HLERequestContext& ctx) {
rb.Push(target_max_volume);
}
+void AudCtl::GetForceMutePolicy(HLERequestContext& ctx) {
+ LOG_WARNING(Audio, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.PushEnum(ForceMutePolicy::Disable);
+}
+
+void AudCtl::GetOutputModeSetting(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto value = rp.Pop<u32>();
+
+ LOG_WARNING(Audio, "(STUBBED) called, value={}", value);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.PushEnum(AudioOutputMode::PcmAuto);
+}
+
+void AudCtl::GetHeadphoneOutputLevelMode(HLERequestContext& ctx) {
+ LOG_WARNING(Audio, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.PushEnum(HeadphoneOutputLevelMode::Normal);
+}
+
+void AudCtl::IsSpeakerAutoMuteEnabled(HLERequestContext& ctx) {
+ const bool is_speaker_auto_mute_enabled = false;
+
+ LOG_WARNING(Audio, "(STUBBED) called, is_speaker_auto_mute_enabled={}",
+ is_speaker_auto_mute_enabled);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push<u8>(is_speaker_auto_mute_enabled);
+}
+
} // namespace Service::Audio
diff --git a/src/core/hle/service/audio/audctl.h b/src/core/hle/service/audio/audctl.h
index 8e31ac237..d57abb383 100644
--- a/src/core/hle/service/audio/audctl.h
+++ b/src/core/hle/service/audio/audctl.h
@@ -17,8 +17,30 @@ public:
~AudCtl() override;
private:
+ enum class AudioOutputMode {
+ Invalid,
+ Pcm1ch,
+ Pcm2ch,
+ Pcm6ch,
+ PcmAuto,
+ };
+
+ enum class ForceMutePolicy {
+ Disable,
+ SpeakerMuteOnHeadphoneUnplugged,
+ };
+
+ enum class HeadphoneOutputLevelMode {
+ Normal,
+ HighPower,
+ };
+
void GetTargetVolumeMin(HLERequestContext& ctx);
void GetTargetVolumeMax(HLERequestContext& ctx);
+ void GetForceMutePolicy(HLERequestContext& ctx);
+ void GetOutputModeSetting(HLERequestContext& ctx);
+ void GetHeadphoneOutputLevelMode(HLERequestContext& ctx);
+ void IsSpeakerAutoMuteEnabled(HLERequestContext& ctx);
};
} // namespace Service::Audio
diff --git a/src/core/hle/service/audio/audin_u.cpp b/src/core/hle/service/audio/audin_u.cpp
index 526a39130..56fee4591 100644
--- a/src/core/hle/service/audio/audin_u.cpp
+++ b/src/core/hle/service/audio/audin_u.cpp
@@ -220,7 +220,7 @@ AudInU::AudInU(Core::System& system_)
AudInU::~AudInU() = default;
void AudInU::ListAudioIns(HLERequestContext& ctx) {
- using namespace AudioCore::AudioRenderer;
+ using namespace AudioCore::Renderer;
LOG_DEBUG(Service_Audio, "called");
@@ -240,7 +240,7 @@ void AudInU::ListAudioIns(HLERequestContext& ctx) {
}
void AudInU::ListAudioInsAutoFiltered(HLERequestContext& ctx) {
- using namespace AudioCore::AudioRenderer;
+ using namespace AudioCore::Renderer;
LOG_DEBUG(Service_Audio, "called");
diff --git a/src/core/hle/service/audio/audout_u.cpp b/src/core/hle/service/audio/audout_u.cpp
index 23f84a29f..ca683d72c 100644
--- a/src/core/hle/service/audio/audout_u.cpp
+++ b/src/core/hle/service/audio/audout_u.cpp
@@ -228,7 +228,7 @@ AudOutU::AudOutU(Core::System& system_)
AudOutU::~AudOutU() = default;
void AudOutU::ListAudioOuts(HLERequestContext& ctx) {
- using namespace AudioCore::AudioRenderer;
+ using namespace AudioCore::Renderer;
std::scoped_lock l{impl->mutex};
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp
index 003870176..2f09cade5 100644
--- a/src/core/hle/service/audio/audren_u.cpp
+++ b/src/core/hle/service/audio/audren_u.cpp
@@ -26,7 +26,7 @@
#include "core/hle/service/ipc_helpers.h"
#include "core/memory.h"
-using namespace AudioCore::AudioRenderer;
+using namespace AudioCore::Renderer;
namespace Service::Audio {
@@ -441,10 +441,11 @@ void AudRenU::OpenAudioRenderer(HLERequestContext& ctx) {
AudioCore::AudioRendererParameterInternal params;
rp.PopRaw<AudioCore::AudioRendererParameterInternal>(params);
- auto transfer_memory_handle = ctx.GetCopyHandle(0);
- auto process_handle = ctx.GetCopyHandle(1);
+ rp.Skip(1, false);
auto transfer_memory_size = rp.Pop<u64>();
auto applet_resource_user_id = rp.Pop<u64>();
+ auto transfer_memory_handle = ctx.GetCopyHandle(0);
+ auto process_handle = ctx.GetCopyHandle(1);
if (impl->GetSessionCount() + 1 > AudioCore::MaxRendererSessions) {
LOG_ERROR(Service_Audio, "Too many AudioRenderer sessions open!");
diff --git a/src/core/hle/service/audio/audren_u.h b/src/core/hle/service/audio/audren_u.h
index d8e9c8719..3d7993a16 100644
--- a/src/core/hle/service/audio/audren_u.h
+++ b/src/core/hle/service/audio/audren_u.h
@@ -28,7 +28,7 @@ private:
void GetAudioDeviceServiceWithRevisionInfo(HLERequestContext& ctx);
KernelHelpers::ServiceContext service_context;
- std::unique_ptr<AudioCore::AudioRenderer::Manager> impl;
+ std::unique_ptr<AudioCore::Renderer::Manager> impl;
u32 num_audio_devices{0};
};
diff --git a/src/core/hle/service/audio/errors.h b/src/core/hle/service/audio/errors.h
index 3d3d3d97a..c41345f7e 100644
--- a/src/core/hle/service/audio/errors.h
+++ b/src/core/hle/service/audio/errors.h
@@ -20,4 +20,16 @@ constexpr Result ResultNotSupported{ErrorModule::Audio, 513};
constexpr Result ResultInvalidHandle{ErrorModule::Audio, 1536};
constexpr Result ResultInvalidRevision{ErrorModule::Audio, 1537};
+constexpr Result ResultLibOpusAllocFail{ErrorModule::HwOpus, 7};
+constexpr Result ResultInputDataTooSmall{ErrorModule::HwOpus, 8};
+constexpr Result ResultLibOpusInvalidState{ErrorModule::HwOpus, 6};
+constexpr Result ResultLibOpusUnimplemented{ErrorModule::HwOpus, 5};
+constexpr Result ResultLibOpusInvalidPacket{ErrorModule::HwOpus, 17};
+constexpr Result ResultLibOpusInternalError{ErrorModule::HwOpus, 4};
+constexpr Result ResultBufferTooSmall{ErrorModule::HwOpus, 3};
+constexpr Result ResultLibOpusBadArg{ErrorModule::HwOpus, 2};
+constexpr Result ResultInvalidOpusDSPReturnCode{ErrorModule::HwOpus, 259};
+constexpr Result ResultInvalidOpusSampleRate{ErrorModule::HwOpus, 1001};
+constexpr Result ResultInvalidOpusChannelCount{ErrorModule::HwOpus, 1002};
+
} // namespace Service::Audio
diff --git a/src/core/hle/service/audio/hwopus.cpp b/src/core/hle/service/audio/hwopus.cpp
index fa77007f3..6a7bf9416 100644
--- a/src/core/hle/service/audio/hwopus.cpp
+++ b/src/core/hle/service/audio/hwopus.cpp
@@ -1,371 +1,506 @@
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include <chrono>
-#include <cstring>
#include <memory>
#include <vector>
-#include <opus.h>
-#include <opus_multistream.h>
-
+#include "audio_core/opus/decoder.h"
+#include "audio_core/opus/parameters.h"
#include "common/assert.h"
#include "common/logging/log.h"
#include "common/scratch_buffer.h"
+#include "core/core.h"
#include "core/hle/service/audio/hwopus.h"
#include "core/hle/service/ipc_helpers.h"
namespace Service::Audio {
-namespace {
-struct OpusDeleter {
- void operator()(OpusMSDecoder* ptr) const {
- opus_multistream_decoder_destroy(ptr);
+using namespace AudioCore::OpusDecoder;
+
+class IHardwareOpusDecoder final : public ServiceFramework<IHardwareOpusDecoder> {
+public:
+ explicit IHardwareOpusDecoder(Core::System& system_, HardwareOpus& hardware_opus)
+ : ServiceFramework{system_, "IHardwareOpusDecoder"},
+ impl{std::make_unique<AudioCore::OpusDecoder::OpusDecoder>(system_, hardware_opus)} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, &IHardwareOpusDecoder::DecodeInterleavedOld, "DecodeInterleavedOld"},
+ {1, &IHardwareOpusDecoder::SetContext, "SetContext"},
+ {2, &IHardwareOpusDecoder::DecodeInterleavedForMultiStreamOld, "DecodeInterleavedForMultiStreamOld"},
+ {3, &IHardwareOpusDecoder::SetContextForMultiStream, "SetContextForMultiStream"},
+ {4, &IHardwareOpusDecoder::DecodeInterleavedWithPerfOld, "DecodeInterleavedWithPerfOld"},
+ {5, &IHardwareOpusDecoder::DecodeInterleavedForMultiStreamWithPerfOld, "DecodeInterleavedForMultiStreamWithPerfOld"},
+ {6, &IHardwareOpusDecoder::DecodeInterleavedWithPerfAndResetOld, "DecodeInterleavedWithPerfAndResetOld"},
+ {7, &IHardwareOpusDecoder::DecodeInterleavedForMultiStreamWithPerfAndResetOld, "DecodeInterleavedForMultiStreamWithPerfAndResetOld"},
+ {8, &IHardwareOpusDecoder::DecodeInterleaved, "DecodeInterleaved"},
+ {9, &IHardwareOpusDecoder::DecodeInterleavedForMultiStream, "DecodeInterleavedForMultiStream"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
}
-};
-using OpusDecoderPtr = std::unique_ptr<OpusMSDecoder, OpusDeleter>;
+ Result Initialize(OpusParametersEx& params, Kernel::KTransferMemory* transfer_memory,
+ u64 transfer_memory_size) {
+ return impl->Initialize(params, transfer_memory, transfer_memory_size);
+ }
-struct OpusPacketHeader {
- // Packet size in bytes.
- u32_be size;
- // Indicates the final range of the codec's entropy coder.
- u32_be final_range;
-};
-static_assert(sizeof(OpusPacketHeader) == 0x8, "OpusHeader is an invalid size");
+ Result Initialize(OpusMultiStreamParametersEx& params, Kernel::KTransferMemory* transfer_memory,
+ u64 transfer_memory_size) {
+ return impl->Initialize(params, transfer_memory, transfer_memory_size);
+ }
-class OpusDecoderState {
-public:
- /// Describes extra behavior that may be asked of the decoding context.
- enum class ExtraBehavior {
- /// No extra behavior.
- None,
+private:
+ void DecodeInterleavedOld(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
- /// Resets the decoder context back to a freshly initialized state.
- ResetContext,
- };
+ auto input_data{ctx.ReadBuffer(0)};
+ output_data.resize_destructive(ctx.GetWriteBufferSize());
- enum class PerfTime {
- Disabled,
- Enabled,
- };
+ u32 size{};
+ u32 sample_count{};
+ auto result =
+ impl->DecodeInterleaved(&size, nullptr, &sample_count, input_data, output_data, false);
+
+ LOG_DEBUG(Service_Audio, "bytes read 0x{:X} samples generated {}", size, sample_count);
+
+ ctx.WriteBuffer(output_data);
- explicit OpusDecoderState(OpusDecoderPtr decoder_, u32 sample_rate_, u32 channel_count_)
- : decoder{std::move(decoder_)}, sample_rate{sample_rate_}, channel_count{channel_count_} {}
-
- // Decodes interleaved Opus packets. Optionally allows reporting time taken to
- // perform the decoding, as well as any relevant extra behavior.
- void DecodeInterleaved(HLERequestContext& ctx, PerfTime perf_time,
- ExtraBehavior extra_behavior) {
- if (perf_time == PerfTime::Disabled) {
- DecodeInterleavedHelper(ctx, nullptr, extra_behavior);
- } else {
- u64 performance = 0;
- DecodeInterleavedHelper(ctx, &performance, extra_behavior);
- }
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(result);
+ rb.Push(size);
+ rb.Push(sample_count);
}
-private:
- void DecodeInterleavedHelper(HLERequestContext& ctx, u64* performance,
- ExtraBehavior extra_behavior) {
- u32 consumed = 0;
- u32 sample_count = 0;
- samples.resize_destructive(ctx.GetWriteBufferNumElements<opus_int16>());
-
- if (extra_behavior == ExtraBehavior::ResetContext) {
- ResetDecoderContext();
- }
-
- if (!DecodeOpusData(consumed, sample_count, ctx.ReadBuffer(), samples, performance)) {
- LOG_ERROR(Audio, "Failed to decode opus data");
- IPC::ResponseBuilder rb{ctx, 2};
- // TODO(ogniK): Use correct error code
- rb.Push(ResultUnknown);
- return;
- }
-
- const u32 param_size = performance != nullptr ? 6 : 4;
- IPC::ResponseBuilder rb{ctx, param_size};
- rb.Push(ResultSuccess);
- rb.Push<u32>(consumed);
- rb.Push<u32>(sample_count);
- if (performance) {
- rb.Push<u64>(*performance);
- }
- ctx.WriteBuffer(samples);
+ void SetContext(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+
+ LOG_DEBUG(Service_Audio, "called");
+
+ auto input_data{ctx.ReadBuffer(0)};
+ auto result = impl->SetContext(input_data);
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(result);
}
- bool DecodeOpusData(u32& consumed, u32& sample_count, std::span<const u8> input,
- std::span<opus_int16> output, u64* out_performance_time) const {
- const auto start_time = std::chrono::steady_clock::now();
- const std::size_t raw_output_sz = output.size() * sizeof(opus_int16);
- if (sizeof(OpusPacketHeader) > input.size()) {
- LOG_ERROR(Audio, "Input is smaller than the header size, header_sz={}, input_sz={}",
- sizeof(OpusPacketHeader), input.size());
- return false;
- }
-
- OpusPacketHeader hdr{};
- std::memcpy(&hdr, input.data(), sizeof(OpusPacketHeader));
- if (sizeof(OpusPacketHeader) + static_cast<u32>(hdr.size) > input.size()) {
- LOG_ERROR(Audio, "Input does not fit in the opus header size. data_sz={}, input_sz={}",
- sizeof(OpusPacketHeader) + static_cast<u32>(hdr.size), input.size());
- return false;
- }
-
- const auto frame = input.data() + sizeof(OpusPacketHeader);
- const auto decoded_sample_count = opus_packet_get_nb_samples(
- frame, static_cast<opus_int32>(input.size() - sizeof(OpusPacketHeader)),
- static_cast<opus_int32>(sample_rate));
- if (decoded_sample_count * channel_count * sizeof(u16) > raw_output_sz) {
- LOG_ERROR(
- Audio,
- "Decoded data does not fit into the output data, decoded_sz={}, raw_output_sz={}",
- decoded_sample_count * channel_count * sizeof(u16), raw_output_sz);
- return false;
- }
-
- const int frame_size = (static_cast<int>(raw_output_sz / sizeof(s16) / channel_count));
- const auto out_sample_count =
- opus_multistream_decode(decoder.get(), frame, hdr.size, output.data(), frame_size, 0);
- if (out_sample_count < 0) {
- LOG_ERROR(Audio,
- "Incorrect sample count received from opus_decode, "
- "output_sample_count={}, frame_size={}, data_sz_from_hdr={}",
- out_sample_count, frame_size, static_cast<u32>(hdr.size));
- return false;
- }
-
- const auto end_time = std::chrono::steady_clock::now() - start_time;
- sample_count = out_sample_count;
- consumed = static_cast<u32>(sizeof(OpusPacketHeader) + hdr.size);
- if (out_performance_time != nullptr) {
- *out_performance_time =
- std::chrono::duration_cast<std::chrono::milliseconds>(end_time).count();
- }
-
- return true;
+ void DecodeInterleavedForMultiStreamOld(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+
+ auto input_data{ctx.ReadBuffer(0)};
+ output_data.resize_destructive(ctx.GetWriteBufferSize());
+
+ u32 size{};
+ u32 sample_count{};
+ auto result = impl->DecodeInterleavedForMultiStream(&size, nullptr, &sample_count,
+ input_data, output_data, false);
+
+ LOG_DEBUG(Service_Audio, "bytes read 0x{:X} samples generated {}", size, sample_count);
+
+ ctx.WriteBuffer(output_data);
+
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(result);
+ rb.Push(size);
+ rb.Push(sample_count);
}
- void ResetDecoderContext() {
- ASSERT(decoder != nullptr);
+ void SetContextForMultiStream(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+
+ LOG_DEBUG(Service_Audio, "called");
+
+ auto input_data{ctx.ReadBuffer(0)};
+ auto result = impl->SetContext(input_data);
- opus_multistream_decoder_ctl(decoder.get(), OPUS_RESET_STATE);
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(result);
}
- OpusDecoderPtr decoder;
- u32 sample_rate;
- u32 channel_count;
- Common::ScratchBuffer<opus_int16> samples;
-};
+ void DecodeInterleavedWithPerfOld(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
-class IHardwareOpusDecoderManager final : public ServiceFramework<IHardwareOpusDecoderManager> {
-public:
- explicit IHardwareOpusDecoderManager(Core::System& system_, OpusDecoderState decoder_state_)
- : ServiceFramework{system_, "IHardwareOpusDecoderManager"}, decoder_state{
- std::move(decoder_state_)} {
- // clang-format off
- static const FunctionInfo functions[] = {
- {0, &IHardwareOpusDecoderManager::DecodeInterleavedOld, "DecodeInterleavedOld"},
- {1, nullptr, "SetContext"},
- {2, nullptr, "DecodeInterleavedForMultiStreamOld"},
- {3, nullptr, "SetContextForMultiStream"},
- {4, &IHardwareOpusDecoderManager::DecodeInterleavedWithPerfOld, "DecodeInterleavedWithPerfOld"},
- {5, nullptr, "DecodeInterleavedForMultiStreamWithPerfOld"},
- {6, &IHardwareOpusDecoderManager::DecodeInterleaved, "DecodeInterleavedWithPerfAndResetOld"},
- {7, nullptr, "DecodeInterleavedForMultiStreamWithPerfAndResetOld"},
- {8, &IHardwareOpusDecoderManager::DecodeInterleaved, "DecodeInterleaved"},
- {9, nullptr, "DecodeInterleavedForMultiStream"},
- };
- // clang-format on
+ auto input_data{ctx.ReadBuffer(0)};
+ output_data.resize_destructive(ctx.GetWriteBufferSize());
- RegisterHandlers(functions);
+ u32 size{};
+ u32 sample_count{};
+ u64 time_taken{};
+ auto result = impl->DecodeInterleaved(&size, &time_taken, &sample_count, input_data,
+ output_data, false);
+
+ LOG_DEBUG(Service_Audio, "bytes read 0x{:X} samples generated {} time taken {}", size,
+ sample_count, time_taken);
+
+ ctx.WriteBuffer(output_data);
+
+ IPC::ResponseBuilder rb{ctx, 6};
+ rb.Push(result);
+ rb.Push(size);
+ rb.Push(sample_count);
+ rb.Push(time_taken);
}
-private:
- void DecodeInterleavedOld(HLERequestContext& ctx) {
- LOG_DEBUG(Audio, "called");
+ void DecodeInterleavedForMultiStreamWithPerfOld(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+
+ auto input_data{ctx.ReadBuffer(0)};
+ output_data.resize_destructive(ctx.GetWriteBufferSize());
+
+ u32 size{};
+ u32 sample_count{};
+ u64 time_taken{};
+ auto result = impl->DecodeInterleavedForMultiStream(&size, &time_taken, &sample_count,
+ input_data, output_data, false);
- decoder_state.DecodeInterleaved(ctx, OpusDecoderState::PerfTime::Disabled,
- OpusDecoderState::ExtraBehavior::None);
+ LOG_DEBUG(Service_Audio, "bytes read 0x{:X} samples generated {} time taken {}", size,
+ sample_count, time_taken);
+
+ ctx.WriteBuffer(output_data);
+
+ IPC::ResponseBuilder rb{ctx, 6};
+ rb.Push(result);
+ rb.Push(size);
+ rb.Push(sample_count);
+ rb.Push(time_taken);
}
- void DecodeInterleavedWithPerfOld(HLERequestContext& ctx) {
- LOG_DEBUG(Audio, "called");
+ void DecodeInterleavedWithPerfAndResetOld(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+
+ auto reset{rp.Pop<bool>()};
+
+ auto input_data{ctx.ReadBuffer(0)};
+ output_data.resize_destructive(ctx.GetWriteBufferSize());
+
+ u32 size{};
+ u32 sample_count{};
+ u64 time_taken{};
+ auto result = impl->DecodeInterleaved(&size, &time_taken, &sample_count, input_data,
+ output_data, reset);
+
+ LOG_DEBUG(Service_Audio, "reset {} bytes read 0x{:X} samples generated {} time taken {}",
+ reset, size, sample_count, time_taken);
+
+ ctx.WriteBuffer(output_data);
+
+ IPC::ResponseBuilder rb{ctx, 6};
+ rb.Push(result);
+ rb.Push(size);
+ rb.Push(sample_count);
+ rb.Push(time_taken);
+ }
+
+ void DecodeInterleavedForMultiStreamWithPerfAndResetOld(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+
+ auto reset{rp.Pop<bool>()};
+
+ auto input_data{ctx.ReadBuffer(0)};
+ output_data.resize_destructive(ctx.GetWriteBufferSize());
+
+ u32 size{};
+ u32 sample_count{};
+ u64 time_taken{};
+ auto result = impl->DecodeInterleavedForMultiStream(&size, &time_taken, &sample_count,
+ input_data, output_data, reset);
+
+ LOG_DEBUG(Service_Audio, "reset {} bytes read 0x{:X} samples generated {} time taken {}",
+ reset, size, sample_count, time_taken);
- decoder_state.DecodeInterleaved(ctx, OpusDecoderState::PerfTime::Enabled,
- OpusDecoderState::ExtraBehavior::None);
+ ctx.WriteBuffer(output_data);
+
+ IPC::ResponseBuilder rb{ctx, 6};
+ rb.Push(result);
+ rb.Push(size);
+ rb.Push(sample_count);
+ rb.Push(time_taken);
}
void DecodeInterleaved(HLERequestContext& ctx) {
- LOG_DEBUG(Audio, "called");
+ IPC::RequestParser rp{ctx};
+
+ auto reset{rp.Pop<bool>()};
+
+ auto input_data{ctx.ReadBuffer(0)};
+ output_data.resize_destructive(ctx.GetWriteBufferSize());
+
+ u32 size{};
+ u32 sample_count{};
+ u64 time_taken{};
+ auto result = impl->DecodeInterleaved(&size, &time_taken, &sample_count, input_data,
+ output_data, reset);
+
+ LOG_DEBUG(Service_Audio, "reset {} bytes read 0x{:X} samples generated {} time taken {}",
+ reset, size, sample_count, time_taken);
+
+ ctx.WriteBuffer(output_data);
+
+ IPC::ResponseBuilder rb{ctx, 6};
+ rb.Push(result);
+ rb.Push(size);
+ rb.Push(sample_count);
+ rb.Push(time_taken);
+ }
+ void DecodeInterleavedForMultiStream(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
- const auto extra_behavior = rp.Pop<bool>() ? OpusDecoderState::ExtraBehavior::ResetContext
- : OpusDecoderState::ExtraBehavior::None;
- decoder_state.DecodeInterleaved(ctx, OpusDecoderState::PerfTime::Enabled, extra_behavior);
+ auto reset{rp.Pop<bool>()};
+
+ auto input_data{ctx.ReadBuffer(0)};
+ output_data.resize_destructive(ctx.GetWriteBufferSize());
+
+ u32 size{};
+ u32 sample_count{};
+ u64 time_taken{};
+ auto result = impl->DecodeInterleavedForMultiStream(&size, &time_taken, &sample_count,
+ input_data, output_data, reset);
+
+ LOG_DEBUG(Service_Audio, "reset {} bytes read 0x{:X} samples generated {} time taken {}",
+ reset, size, sample_count, time_taken);
+
+ ctx.WriteBuffer(output_data);
+
+ IPC::ResponseBuilder rb{ctx, 6};
+ rb.Push(result);
+ rb.Push(size);
+ rb.Push(sample_count);
+ rb.Push(time_taken);
}
- OpusDecoderState decoder_state;
+ std::unique_ptr<AudioCore::OpusDecoder::OpusDecoder> impl;
+ Common::ScratchBuffer<u8> output_data;
};
-std::size_t WorkerBufferSize(u32 channel_count) {
- ASSERT_MSG(channel_count == 1 || channel_count == 2, "Invalid channel count");
- constexpr int num_streams = 1;
- const int num_stereo_streams = channel_count == 2 ? 1 : 0;
- return opus_multistream_decoder_get_size(num_streams, num_stereo_streams);
-}
+void HwOpus::OpenHardwareOpusDecoder(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
-// Creates the mapping table that maps the input channels to the particular
-// output channels. In the stereo case, we map the left and right input channels
-// to the left and right output channels respectively.
-//
-// However, in the monophonic case, we only map the one available channel
-// to the sole output channel. We specify 255 for the would-be right channel
-// as this is a special value defined by Opus to indicate to the decoder to
-// ignore that channel.
-std::array<u8, 2> CreateMappingTable(u32 channel_count) {
- if (channel_count == 2) {
- return {{0, 1}};
- }
+ auto params = rp.PopRaw<OpusParameters>();
+ auto transfer_memory_size{rp.Pop<u32>()};
+ auto transfer_memory_handle{ctx.GetCopyHandle(0)};
+ auto transfer_memory{
+ system.ApplicationProcess()->GetHandleTable().GetObject<Kernel::KTransferMemory>(
+ transfer_memory_handle)};
- return {{0, 255}};
+ LOG_DEBUG(Service_Audio, "sample_rate {} channel_count {} transfer_memory_size 0x{:X}",
+ params.sample_rate, params.channel_count, transfer_memory_size);
+
+ auto decoder{std::make_shared<IHardwareOpusDecoder>(system, impl.GetHardwareOpus())};
+
+ OpusParametersEx ex{
+ .sample_rate = params.sample_rate,
+ .channel_count = params.channel_count,
+ .use_large_frame_size = false,
+ };
+ auto result = decoder->Initialize(ex, transfer_memory.GetPointerUnsafe(), transfer_memory_size);
+
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(result);
+ rb.PushIpcInterface(decoder);
}
-} // Anonymous namespace
void HwOpus::GetWorkBufferSize(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
- const auto sample_rate = rp.Pop<u32>();
- const auto channel_count = rp.Pop<u32>();
+ auto params = rp.PopRaw<OpusParameters>();
- LOG_DEBUG(Audio, "called with sample_rate={}, channel_count={}", sample_rate, channel_count);
+ u64 size{};
+ auto result = impl.GetWorkBufferSize(params, size);
- ASSERT_MSG(sample_rate == 48000 || sample_rate == 24000 || sample_rate == 16000 ||
- sample_rate == 12000 || sample_rate == 8000,
- "Invalid sample rate");
- ASSERT_MSG(channel_count == 1 || channel_count == 2, "Invalid channel count");
+ LOG_DEBUG(Service_Audio, "sample_rate {} channel_count {} -- returned size 0x{:X}",
+ params.sample_rate, params.channel_count, size);
+
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(result);
+ rb.Push(size);
+}
+
+void HwOpus::OpenHardwareOpusDecoderForMultiStream(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
- const u32 worker_buffer_sz = static_cast<u32>(WorkerBufferSize(channel_count));
- LOG_DEBUG(Audio, "worker_buffer_sz={}", worker_buffer_sz);
+ auto input{ctx.ReadBuffer()};
+ OpusMultiStreamParameters params;
+ std::memcpy(&params, input.data(), sizeof(OpusMultiStreamParameters));
+
+ auto transfer_memory_size{rp.Pop<u32>()};
+ auto transfer_memory_handle{ctx.GetCopyHandle(0)};
+ auto transfer_memory{
+ system.ApplicationProcess()->GetHandleTable().GetObject<Kernel::KTransferMemory>(
+ transfer_memory_handle)};
+
+ LOG_DEBUG(Service_Audio,
+ "sample_rate {} channel_count {} total_stream_count {} stereo_stream_count {} "
+ "transfer_memory_size 0x{:X}",
+ params.sample_rate, params.channel_count, params.total_stream_count,
+ params.stereo_stream_count, transfer_memory_size);
+
+ auto decoder{std::make_shared<IHardwareOpusDecoder>(system, impl.GetHardwareOpus())};
+
+ OpusMultiStreamParametersEx ex{
+ .sample_rate = params.sample_rate,
+ .channel_count = params.channel_count,
+ .total_stream_count = params.total_stream_count,
+ .stereo_stream_count = params.stereo_stream_count,
+ .use_large_frame_size = false,
+ .mappings{},
+ };
+ std::memcpy(ex.mappings.data(), params.mappings.data(), sizeof(params.mappings));
+ auto result = decoder->Initialize(ex, transfer_memory.GetPointerUnsafe(), transfer_memory_size);
- IPC::ResponseBuilder rb{ctx, 3};
- rb.Push(ResultSuccess);
- rb.Push<u32>(worker_buffer_sz);
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(result);
+ rb.PushIpcInterface(decoder);
}
-void HwOpus::GetWorkBufferSizeEx(HLERequestContext& ctx) {
- GetWorkBufferSize(ctx);
+void HwOpus::GetWorkBufferSizeForMultiStream(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+
+ auto input{ctx.ReadBuffer()};
+ OpusMultiStreamParameters params;
+ std::memcpy(&params, input.data(), sizeof(OpusMultiStreamParameters));
+
+ u64 size{};
+ auto result = impl.GetWorkBufferSizeForMultiStream(params, size);
+
+ LOG_DEBUG(Service_Audio, "size 0x{:X}", size);
+
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(result);
+ rb.Push(size);
}
-void HwOpus::GetWorkBufferSizeForMultiStreamEx(HLERequestContext& ctx) {
- OpusMultiStreamParametersEx param;
- std::memcpy(&param, ctx.ReadBuffer().data(), ctx.GetReadBufferSize());
+void HwOpus::OpenHardwareOpusDecoderEx(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
- const auto sample_rate = param.sample_rate;
- const auto channel_count = param.channel_count;
- const auto number_streams = param.number_streams;
- const auto number_stereo_streams = param.number_stereo_streams;
+ auto params = rp.PopRaw<OpusParametersEx>();
+ auto transfer_memory_size{rp.Pop<u32>()};
+ auto transfer_memory_handle{ctx.GetCopyHandle(0)};
+ auto transfer_memory{
+ system.ApplicationProcess()->GetHandleTable().GetObject<Kernel::KTransferMemory>(
+ transfer_memory_handle)};
- LOG_DEBUG(
- Audio,
- "called with sample_rate={}, channel_count={}, number_streams={}, number_stereo_streams={}",
- sample_rate, channel_count, number_streams, number_stereo_streams);
+ LOG_DEBUG(Service_Audio, "sample_rate {} channel_count {} transfer_memory_size 0x{:X}",
+ params.sample_rate, params.channel_count, transfer_memory_size);
- ASSERT_MSG(sample_rate == 48000 || sample_rate == 24000 || sample_rate == 16000 ||
- sample_rate == 12000 || sample_rate == 8000,
- "Invalid sample rate");
+ auto decoder{std::make_shared<IHardwareOpusDecoder>(system, impl.GetHardwareOpus())};
- const u32 worker_buffer_sz =
- static_cast<u32>(opus_multistream_decoder_get_size(number_streams, number_stereo_streams));
+ auto result =
+ decoder->Initialize(params, transfer_memory.GetPointerUnsafe(), transfer_memory_size);
- IPC::ResponseBuilder rb{ctx, 3};
- rb.Push(ResultSuccess);
- rb.Push<u32>(worker_buffer_sz);
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(result);
+ rb.PushIpcInterface(decoder);
}
-void HwOpus::OpenHardwareOpusDecoder(HLERequestContext& ctx) {
+void HwOpus::GetWorkBufferSizeEx(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
- const auto sample_rate = rp.Pop<u32>();
- const auto channel_count = rp.Pop<u32>();
- const auto buffer_sz = rp.Pop<u32>();
-
- LOG_DEBUG(Audio, "called sample_rate={}, channel_count={}, buffer_size={}", sample_rate,
- channel_count, buffer_sz);
-
- ASSERT_MSG(sample_rate == 48000 || sample_rate == 24000 || sample_rate == 16000 ||
- sample_rate == 12000 || sample_rate == 8000,
- "Invalid sample rate");
- ASSERT_MSG(channel_count == 1 || channel_count == 2, "Invalid channel count");
-
- const std::size_t worker_sz = WorkerBufferSize(channel_count);
- ASSERT_MSG(buffer_sz >= worker_sz, "Worker buffer too large");
-
- const int num_stereo_streams = channel_count == 2 ? 1 : 0;
- const auto mapping_table = CreateMappingTable(channel_count);
-
- int error = 0;
- OpusDecoderPtr decoder{
- opus_multistream_decoder_create(sample_rate, static_cast<int>(channel_count), 1,
- num_stereo_streams, mapping_table.data(), &error)};
- if (error != OPUS_OK || decoder == nullptr) {
- LOG_ERROR(Audio, "Failed to create Opus decoder (error={}).", error);
- IPC::ResponseBuilder rb{ctx, 2};
- // TODO(ogniK): Use correct error code
- rb.Push(ResultUnknown);
- return;
- }
+ auto params = rp.PopRaw<OpusParametersEx>();
- IPC::ResponseBuilder rb{ctx, 2, 0, 1};
- rb.Push(ResultSuccess);
- rb.PushIpcInterface<IHardwareOpusDecoderManager>(
- system, OpusDecoderState{std::move(decoder), sample_rate, channel_count});
+ u64 size{};
+ auto result = impl.GetWorkBufferSizeEx(params, size);
+
+ LOG_DEBUG(Service_Audio, "size 0x{:X}", size);
+
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(result);
+ rb.Push(size);
}
-void HwOpus::OpenHardwareOpusDecoderEx(HLERequestContext& ctx) {
+void HwOpus::OpenHardwareOpusDecoderForMultiStreamEx(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
- const auto sample_rate = rp.Pop<u32>();
- const auto channel_count = rp.Pop<u32>();
- LOG_DEBUG(Audio, "called sample_rate={}, channel_count={}", sample_rate, channel_count);
+ auto input{ctx.ReadBuffer()};
+ OpusMultiStreamParametersEx params;
+ std::memcpy(&params, input.data(), sizeof(OpusMultiStreamParametersEx));
- ASSERT_MSG(sample_rate == 48000 || sample_rate == 24000 || sample_rate == 16000 ||
- sample_rate == 12000 || sample_rate == 8000,
- "Invalid sample rate");
- ASSERT_MSG(channel_count == 1 || channel_count == 2, "Invalid channel count");
+ auto transfer_memory_size{rp.Pop<u32>()};
+ auto transfer_memory_handle{ctx.GetCopyHandle(0)};
+ auto transfer_memory{
+ system.ApplicationProcess()->GetHandleTable().GetObject<Kernel::KTransferMemory>(
+ transfer_memory_handle)};
- const int num_stereo_streams = channel_count == 2 ? 1 : 0;
- const auto mapping_table = CreateMappingTable(channel_count);
+ LOG_DEBUG(Service_Audio,
+ "sample_rate {} channel_count {} total_stream_count {} stereo_stream_count {} "
+ "use_large_frame_size {}"
+ "transfer_memory_size 0x{:X}",
+ params.sample_rate, params.channel_count, params.total_stream_count,
+ params.stereo_stream_count, params.use_large_frame_size, transfer_memory_size);
- int error = 0;
- OpusDecoderPtr decoder{
- opus_multistream_decoder_create(sample_rate, static_cast<int>(channel_count), 1,
- num_stereo_streams, mapping_table.data(), &error)};
- if (error != OPUS_OK || decoder == nullptr) {
- LOG_ERROR(Audio, "Failed to create Opus decoder (error={}).", error);
- IPC::ResponseBuilder rb{ctx, 2};
- // TODO(ogniK): Use correct error code
- rb.Push(ResultUnknown);
- return;
- }
+ auto decoder{std::make_shared<IHardwareOpusDecoder>(system, impl.GetHardwareOpus())};
+
+ auto result =
+ decoder->Initialize(params, transfer_memory.GetPointerUnsafe(), transfer_memory_size);
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
- rb.Push(ResultSuccess);
- rb.PushIpcInterface<IHardwareOpusDecoderManager>(
- system, OpusDecoderState{std::move(decoder), sample_rate, channel_count});
+ rb.Push(result);
+ rb.PushIpcInterface(decoder);
+}
+
+void HwOpus::GetWorkBufferSizeForMultiStreamEx(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+
+ auto input{ctx.ReadBuffer()};
+ OpusMultiStreamParametersEx params;
+ std::memcpy(&params, input.data(), sizeof(OpusMultiStreamParametersEx));
+
+ u64 size{};
+ auto result = impl.GetWorkBufferSizeForMultiStreamEx(params, size);
+
+ LOG_DEBUG(Service_Audio,
+ "sample_rate {} channel_count {} total_stream_count {} stereo_stream_count {} "
+ "use_large_frame_size {} -- returned size 0x{:X}",
+ params.sample_rate, params.channel_count, params.total_stream_count,
+ params.stereo_stream_count, params.use_large_frame_size, size);
+
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(result);
+ rb.Push(size);
+}
+
+void HwOpus::GetWorkBufferSizeExEx(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ auto params = rp.PopRaw<OpusParametersEx>();
+
+ u64 size{};
+ auto result = impl.GetWorkBufferSizeExEx(params, size);
+
+ LOG_DEBUG(Service_Audio, "size 0x{:X}", size);
+
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(result);
+ rb.Push(size);
+}
+
+void HwOpus::GetWorkBufferSizeForMultiStreamExEx(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+
+ auto input{ctx.ReadBuffer()};
+ OpusMultiStreamParametersEx params;
+ std::memcpy(&params, input.data(), sizeof(OpusMultiStreamParametersEx));
+
+ u64 size{};
+ auto result = impl.GetWorkBufferSizeForMultiStreamExEx(params, size);
+
+ LOG_DEBUG(Service_Audio, "size 0x{:X}", size);
+
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(result);
+ rb.Push(size);
}
-HwOpus::HwOpus(Core::System& system_) : ServiceFramework{system_, "hwopus"} {
+HwOpus::HwOpus(Core::System& system_)
+ : ServiceFramework{system_, "hwopus"}, system{system_}, impl{system} {
static const FunctionInfo functions[] = {
{0, &HwOpus::OpenHardwareOpusDecoder, "OpenHardwareOpusDecoder"},
{1, &HwOpus::GetWorkBufferSize, "GetWorkBufferSize"},
- {2, nullptr, "OpenOpusDecoderForMultiStream"},
- {3, nullptr, "GetWorkBufferSizeForMultiStream"},
+ {2, &HwOpus::OpenHardwareOpusDecoderForMultiStream, "OpenOpusDecoderForMultiStream"},
+ {3, &HwOpus::GetWorkBufferSizeForMultiStream, "GetWorkBufferSizeForMultiStream"},
{4, &HwOpus::OpenHardwareOpusDecoderEx, "OpenHardwareOpusDecoderEx"},
{5, &HwOpus::GetWorkBufferSizeEx, "GetWorkBufferSizeEx"},
- {6, nullptr, "OpenHardwareOpusDecoderForMultiStreamEx"},
+ {6, &HwOpus::OpenHardwareOpusDecoderForMultiStreamEx,
+ "OpenHardwareOpusDecoderForMultiStreamEx"},
{7, &HwOpus::GetWorkBufferSizeForMultiStreamEx, "GetWorkBufferSizeForMultiStreamEx"},
- {8, nullptr, "GetWorkBufferSizeExEx"},
- {9, nullptr, "GetWorkBufferSizeForMultiStreamExEx"},
+ {8, &HwOpus::GetWorkBufferSizeExEx, "GetWorkBufferSizeExEx"},
+ {9, &HwOpus::GetWorkBufferSizeForMultiStreamExEx, "GetWorkBufferSizeForMultiStreamExEx"},
};
RegisterHandlers(functions);
}
diff --git a/src/core/hle/service/audio/hwopus.h b/src/core/hle/service/audio/hwopus.h
index ece65c02c..d3960065e 100644
--- a/src/core/hle/service/audio/hwopus.h
+++ b/src/core/hle/service/audio/hwopus.h
@@ -3,6 +3,7 @@
#pragma once
+#include "audio_core/opus/decoder_manager.h"
#include "core/hle/service/service.h"
namespace Core {
@@ -11,16 +12,6 @@ class System;
namespace Service::Audio {
-struct OpusMultiStreamParametersEx {
- u32 sample_rate;
- u32 channel_count;
- u32 number_streams;
- u32 number_stereo_streams;
- u32 use_large_frame_size;
- u32 padding;
- std::array<u32, 64> channel_mappings;
-};
-
class HwOpus final : public ServiceFramework<HwOpus> {
public:
explicit HwOpus(Core::System& system_);
@@ -28,10 +19,18 @@ public:
private:
void OpenHardwareOpusDecoder(HLERequestContext& ctx);
- void OpenHardwareOpusDecoderEx(HLERequestContext& ctx);
void GetWorkBufferSize(HLERequestContext& ctx);
+ void OpenHardwareOpusDecoderForMultiStream(HLERequestContext& ctx);
+ void GetWorkBufferSizeForMultiStream(HLERequestContext& ctx);
+ void OpenHardwareOpusDecoderEx(HLERequestContext& ctx);
void GetWorkBufferSizeEx(HLERequestContext& ctx);
+ void OpenHardwareOpusDecoderForMultiStreamEx(HLERequestContext& ctx);
void GetWorkBufferSizeForMultiStreamEx(HLERequestContext& ctx);
+ void GetWorkBufferSizeExEx(HLERequestContext& ctx);
+ void GetWorkBufferSizeForMultiStreamExEx(HLERequestContext& ctx);
+
+ Core::System& system;
+ AudioCore::OpusDecoder::OpusDecoderManager impl;
};
} // namespace Service::Audio
diff --git a/src/core/hle/service/caps/caps.cpp b/src/core/hle/service/caps/caps.cpp
index 610fe9940..286f9fd10 100644
--- a/src/core/hle/service/caps/caps.cpp
+++ b/src/core/hle/service/caps/caps.cpp
@@ -4,6 +4,7 @@
#include "core/hle/service/caps/caps.h"
#include "core/hle/service/caps/caps_a.h"
#include "core/hle/service/caps/caps_c.h"
+#include "core/hle/service/caps/caps_manager.h"
#include "core/hle/service/caps/caps_sc.h"
#include "core/hle/service/caps/caps_ss.h"
#include "core/hle/service/caps/caps_su.h"
@@ -15,13 +16,21 @@ namespace Service::Capture {
void LoopProcess(Core::System& system) {
auto server_manager = std::make_unique<ServerManager>(system);
+ auto album_manager = std::make_shared<AlbumManager>();
+
+ server_manager->RegisterNamedService(
+ "caps:a", std::make_shared<IAlbumAccessorService>(system, album_manager));
+ server_manager->RegisterNamedService(
+ "caps:c", std::make_shared<IAlbumControlService>(system, album_manager));
+ server_manager->RegisterNamedService(
+ "caps:u", std::make_shared<IAlbumApplicationService>(system, album_manager));
+
+ server_manager->RegisterNamedService("caps:ss", std::make_shared<IScreenShotService>(system));
+ server_manager->RegisterNamedService("caps:sc",
+ std::make_shared<IScreenShotControlService>(system));
+ server_manager->RegisterNamedService("caps:su",
+ std::make_shared<IScreenShotApplicationService>(system));
- server_manager->RegisterNamedService("caps:a", std::make_shared<CAPS_A>(system));
- server_manager->RegisterNamedService("caps:c", std::make_shared<CAPS_C>(system));
- server_manager->RegisterNamedService("caps:u", std::make_shared<CAPS_U>(system));
- server_manager->RegisterNamedService("caps:sc", std::make_shared<CAPS_SC>(system));
- server_manager->RegisterNamedService("caps:ss", std::make_shared<CAPS_SS>(system));
- server_manager->RegisterNamedService("caps:su", std::make_shared<CAPS_SU>(system));
ServerManager::RunServer(std::move(server_manager));
}
diff --git a/src/core/hle/service/caps/caps.h b/src/core/hle/service/caps/caps.h
index 15f0ecfaa..58e9725b8 100644
--- a/src/core/hle/service/caps/caps.h
+++ b/src/core/hle/service/caps/caps.h
@@ -3,93 +3,12 @@
#pragma once
-#include "common/common_funcs.h"
-#include "common/common_types.h"
-
namespace Core {
class System;
}
-namespace Service::SM {
-class ServiceManager;
-}
-
namespace Service::Capture {
-enum class AlbumImageOrientation {
- Orientation0 = 0,
- Orientation1 = 1,
- Orientation2 = 2,
- Orientation3 = 3,
-};
-
-enum class AlbumReportOption : s32 {
- Disable = 0,
- Enable = 1,
-};
-
-enum class ContentType : u8 {
- Screenshot = 0,
- Movie = 1,
- ExtraMovie = 3,
-};
-
-enum class AlbumStorage : u8 {
- NAND = 0,
- SD = 1,
-};
-
-struct AlbumFileDateTime {
- s16 year{};
- s8 month{};
- s8 day{};
- s8 hour{};
- s8 minute{};
- s8 second{};
- s8 uid{};
-};
-static_assert(sizeof(AlbumFileDateTime) == 0x8, "AlbumFileDateTime has incorrect size.");
-
-struct AlbumEntry {
- u64 size{};
- u64 application_id{};
- AlbumFileDateTime datetime{};
- AlbumStorage storage{};
- ContentType content{};
- INSERT_PADDING_BYTES(6);
-};
-static_assert(sizeof(AlbumEntry) == 0x20, "AlbumEntry has incorrect size.");
-
-struct AlbumFileEntry {
- u64 size{}; // Size of the entry
- u64 hash{}; // AES256 with hardcoded key over AlbumEntry
- AlbumFileDateTime datetime{};
- AlbumStorage storage{};
- ContentType content{};
- INSERT_PADDING_BYTES(5);
- u8 unknown{1}; // Set to 1 on official SW
-};
-static_assert(sizeof(AlbumFileEntry) == 0x20, "AlbumFileEntry has incorrect size.");
-
-struct ApplicationAlbumEntry {
- u64 size{}; // Size of the entry
- u64 hash{}; // AES256 with hardcoded key over AlbumEntry
- AlbumFileDateTime datetime{};
- AlbumStorage storage{};
- ContentType content{};
- INSERT_PADDING_BYTES(5);
- u8 unknown{1}; // Set to 1 on official SW
-};
-static_assert(sizeof(ApplicationAlbumEntry) == 0x20, "ApplicationAlbumEntry has incorrect size.");
-
-struct ApplicationAlbumFileEntry {
- ApplicationAlbumEntry entry{};
- AlbumFileDateTime datetime{};
- u64 unknown{};
-};
-static_assert(sizeof(ApplicationAlbumFileEntry) == 0x30,
- "ApplicationAlbumFileEntry has incorrect size.");
-
void LoopProcess(Core::System& system);
} // namespace Service::Capture
diff --git a/src/core/hle/service/caps/caps_a.cpp b/src/core/hle/service/caps/caps_a.cpp
index 44267b284..e22f72bf6 100644
--- a/src/core/hle/service/caps/caps_a.cpp
+++ b/src/core/hle/service/caps/caps_a.cpp
@@ -1,40 +1,26 @@
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include "common/logging/log.h"
#include "core/hle/service/caps/caps_a.h"
+#include "core/hle/service/caps/caps_manager.h"
+#include "core/hle/service/caps/caps_result.h"
+#include "core/hle/service/caps/caps_types.h"
+#include "core/hle/service/ipc_helpers.h"
namespace Service::Capture {
-class IAlbumAccessorSession final : public ServiceFramework<IAlbumAccessorSession> {
-public:
- explicit IAlbumAccessorSession(Core::System& system_)
- : ServiceFramework{system_, "IAlbumAccessorSession"} {
- // clang-format off
- static const FunctionInfo functions[] = {
- {2001, nullptr, "OpenAlbumMovieReadStream"},
- {2002, nullptr, "CloseAlbumMovieReadStream"},
- {2003, nullptr, "GetAlbumMovieReadStreamMovieDataSize"},
- {2004, nullptr, "ReadMovieDataFromAlbumMovieReadStream"},
- {2005, nullptr, "GetAlbumMovieReadStreamBrokenReason"},
- {2006, nullptr, "GetAlbumMovieReadStreamImageDataSize"},
- {2007, nullptr, "ReadImageDataFromAlbumMovieReadStream"},
- {2008, nullptr, "ReadFileAttributeFromAlbumMovieReadStream"},
- };
- // clang-format on
-
- RegisterHandlers(functions);
- }
-};
-
-CAPS_A::CAPS_A(Core::System& system_) : ServiceFramework{system_, "caps:a"} {
+IAlbumAccessorService::IAlbumAccessorService(Core::System& system_,
+ std::shared_ptr<AlbumManager> album_manager)
+ : ServiceFramework{system_, "caps:a"}, manager{album_manager} {
// clang-format off
static const FunctionInfo functions[] = {
{0, nullptr, "GetAlbumFileCount"},
{1, nullptr, "GetAlbumFileList"},
{2, nullptr, "LoadAlbumFile"},
- {3, nullptr, "DeleteAlbumFile"},
+ {3, &IAlbumAccessorService::DeleteAlbumFile, "DeleteAlbumFile"},
{4, nullptr, "StorageCopyAlbumFile"},
- {5, nullptr, "IsAlbumMounted"},
+ {5, &IAlbumAccessorService::IsAlbumMounted, "IsAlbumMounted"},
{6, nullptr, "GetAlbumUsage"},
{7, nullptr, "GetAlbumFileSize"},
{8, nullptr, "LoadAlbumFileThumbnail"},
@@ -47,18 +33,18 @@ CAPS_A::CAPS_A(Core::System& system_) : ServiceFramework{system_, "caps:a"} {
{15, nullptr, "GetAlbumUsage3"},
{16, nullptr, "GetAlbumMountResult"},
{17, nullptr, "GetAlbumUsage16"},
- {18, nullptr, "Unknown18"},
+ {18, &IAlbumAccessorService::Unknown18, "Unknown18"},
{19, nullptr, "Unknown19"},
{100, nullptr, "GetAlbumFileCountEx0"},
- {101, nullptr, "GetAlbumFileListEx0"},
+ {101, &IAlbumAccessorService::GetAlbumFileListEx0, "GetAlbumFileListEx0"},
{202, nullptr, "SaveEditedScreenShot"},
{301, nullptr, "GetLastThumbnail"},
{302, nullptr, "GetLastOverlayMovieThumbnail"},
- {401, nullptr, "GetAutoSavingStorage"},
+ {401, &IAlbumAccessorService::GetAutoSavingStorage, "GetAutoSavingStorage"},
{501, nullptr, "GetRequiredStorageSpaceSizeToCopyAll"},
{1001, nullptr, "LoadAlbumScreenShotThumbnailImageEx0"},
- {1002, nullptr, "LoadAlbumScreenShotImageEx1"},
- {1003, nullptr, "LoadAlbumScreenShotThumbnailImageEx1"},
+ {1002, &IAlbumAccessorService::LoadAlbumScreenShotImageEx1, "LoadAlbumScreenShotImageEx1"},
+ {1003, &IAlbumAccessorService::LoadAlbumScreenShotThumbnailImageEx1, "LoadAlbumScreenShotThumbnailImageEx1"},
{8001, nullptr, "ForceAlbumUnmounted"},
{8002, nullptr, "ResetAlbumMountStatus"},
{8011, nullptr, "RefreshAlbumCache"},
@@ -74,6 +60,199 @@ CAPS_A::CAPS_A(Core::System& system_) : ServiceFramework{system_, "caps:a"} {
RegisterHandlers(functions);
}
-CAPS_A::~CAPS_A() = default;
+IAlbumAccessorService::~IAlbumAccessorService() = default;
+
+void IAlbumAccessorService::DeleteAlbumFile(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto file_id{rp.PopRaw<AlbumFileId>()};
+
+ LOG_INFO(Service_Capture, "called, application_id=0x{:0x}, storage={}, type={}",
+ file_id.application_id, file_id.storage, file_id.type);
+
+ Result result = manager->DeleteAlbumFile(file_id);
+ result = TranslateResult(result);
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(result);
+}
+
+void IAlbumAccessorService::IsAlbumMounted(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto storage{rp.PopEnum<AlbumStorage>()};
+
+ LOG_INFO(Service_Capture, "called, storage={}", storage);
+
+ Result result = manager->IsAlbumMounted(storage);
+ const bool is_mounted = result.IsSuccess();
+ result = TranslateResult(result);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(result);
+ rb.Push<u8>(is_mounted);
+}
+
+void IAlbumAccessorService::Unknown18(HLERequestContext& ctx) {
+ struct UnknownBuffer {
+ INSERT_PADDING_BYTES(0x10);
+ };
+ static_assert(sizeof(UnknownBuffer) == 0x10, "UnknownBuffer is an invalid size");
+
+ LOG_WARNING(Service_Capture, "(STUBBED) called");
+
+ std::vector<UnknownBuffer> buffer{};
+
+ if (!buffer.empty()) {
+ ctx.WriteBuffer(buffer);
+ }
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(static_cast<u32>(buffer.size()));
+}
+
+void IAlbumAccessorService::GetAlbumFileListEx0(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto storage{rp.PopEnum<AlbumStorage>()};
+ const auto flags{rp.Pop<u8>()};
+ const auto album_entry_size{ctx.GetWriteBufferNumElements<AlbumEntry>()};
+
+ LOG_INFO(Service_Capture, "called, storage={}, flags={}", storage, flags);
+
+ std::vector<AlbumEntry> entries;
+ Result result = manager->GetAlbumFileList(entries, storage, flags);
+ result = TranslateResult(result);
+
+ entries.resize(std::min(album_entry_size, entries.size()));
+
+ if (!entries.empty()) {
+ ctx.WriteBuffer(entries);
+ }
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(result);
+ rb.Push(entries.size());
+}
+
+void IAlbumAccessorService::GetAutoSavingStorage(HLERequestContext& ctx) {
+ LOG_WARNING(Service_Capture, "(STUBBED) called");
+
+ bool is_autosaving{};
+ Result result = manager->GetAutoSavingStorage(is_autosaving);
+ result = TranslateResult(result);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(result);
+ rb.Push<u8>(is_autosaving);
+}
+
+void IAlbumAccessorService::LoadAlbumScreenShotImageEx1(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto file_id{rp.PopRaw<AlbumFileId>()};
+ const auto decoder_options{rp.PopRaw<ScreenShotDecodeOption>()};
+ const auto image_buffer_size{ctx.GetWriteBufferSize(1)};
+
+ LOG_INFO(Service_Capture, "called, application_id=0x{:0x}, storage={}, type={}, flags={}",
+ file_id.application_id, file_id.storage, file_id.type, decoder_options.flags);
+
+ std::vector<u8> image;
+ LoadAlbumScreenShotImageOutput image_output;
+ Result result =
+ manager->LoadAlbumScreenShotImage(image_output, image, file_id, decoder_options);
+ result = TranslateResult(result);
+
+ if (image.size() > image_buffer_size) {
+ result = ResultWorkMemoryError;
+ }
+
+ if (result.IsSuccess()) {
+ ctx.WriteBuffer(image_output, 0);
+ ctx.WriteBuffer(image, 1);
+ }
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(result);
+}
+
+void IAlbumAccessorService::LoadAlbumScreenShotThumbnailImageEx1(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto file_id{rp.PopRaw<AlbumFileId>()};
+ const auto decoder_options{rp.PopRaw<ScreenShotDecodeOption>()};
+
+ LOG_INFO(Service_Capture, "called, application_id=0x{:0x}, storage={}, type={}, flags={}",
+ file_id.application_id, file_id.storage, file_id.type, decoder_options.flags);
+
+ std::vector<u8> image(ctx.GetWriteBufferSize(1));
+ LoadAlbumScreenShotImageOutput image_output;
+ Result result =
+ manager->LoadAlbumScreenShotThumbnail(image_output, image, file_id, decoder_options);
+ result = TranslateResult(result);
+
+ if (result.IsSuccess()) {
+ ctx.WriteBuffer(image_output, 0);
+ ctx.WriteBuffer(image, 1);
+ }
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(result);
+}
+
+Result IAlbumAccessorService::TranslateResult(Result in_result) {
+ if (in_result.IsSuccess()) {
+ return in_result;
+ }
+
+ if ((in_result.raw & 0x3801ff) == ResultUnknown1024.raw) {
+ if (in_result.description - 0x514 < 100) {
+ return ResultInvalidFileData;
+ }
+ if (in_result.description - 0x5dc < 100) {
+ return ResultInvalidFileData;
+ }
+
+ if (in_result.description - 0x578 < 100) {
+ if (in_result == ResultFileCountLimit) {
+ return ResultUnknown22;
+ }
+ return ResultUnknown25;
+ }
+
+ if (in_result.raw < ResultUnknown1801.raw) {
+ if (in_result == ResultUnknown1202) {
+ return ResultUnknown810;
+ }
+ if (in_result == ResultUnknown1203) {
+ return ResultUnknown810;
+ }
+ if (in_result == ResultUnknown1701) {
+ return ResultUnknown5;
+ }
+ } else if (in_result.raw < ResultUnknown1803.raw) {
+ if (in_result == ResultUnknown1801) {
+ return ResultUnknown5;
+ }
+ if (in_result == ResultUnknown1802) {
+ return ResultUnknown6;
+ }
+ } else {
+ if (in_result == ResultUnknown1803) {
+ return ResultUnknown7;
+ }
+ if (in_result == ResultUnknown1804) {
+ return ResultOutOfRange;
+ }
+ }
+ return ResultUnknown1024;
+ }
+
+ if (in_result.module == ErrorModule::FS) {
+ if ((in_result.description >> 0xc < 0x7d) || (in_result.description - 1000 < 2000) ||
+ (((in_result.description - 3000) >> 3) < 0x271)) {
+ // TODO: Translate FS error
+ return in_result;
+ }
+ }
+
+ return in_result;
+}
} // namespace Service::Capture
diff --git a/src/core/hle/service/caps/caps_a.h b/src/core/hle/service/caps/caps_a.h
index 98a21a5ad..c90cff71e 100644
--- a/src/core/hle/service/caps/caps_a.h
+++ b/src/core/hle/service/caps/caps_a.h
@@ -10,11 +10,26 @@ class System;
}
namespace Service::Capture {
+class AlbumManager;
-class CAPS_A final : public ServiceFramework<CAPS_A> {
+class IAlbumAccessorService final : public ServiceFramework<IAlbumAccessorService> {
public:
- explicit CAPS_A(Core::System& system_);
- ~CAPS_A() override;
+ explicit IAlbumAccessorService(Core::System& system_,
+ std::shared_ptr<AlbumManager> album_manager);
+ ~IAlbumAccessorService() override;
+
+private:
+ void DeleteAlbumFile(HLERequestContext& ctx);
+ void IsAlbumMounted(HLERequestContext& ctx);
+ void Unknown18(HLERequestContext& ctx);
+ void GetAlbumFileListEx0(HLERequestContext& ctx);
+ void GetAutoSavingStorage(HLERequestContext& ctx);
+ void LoadAlbumScreenShotImageEx1(HLERequestContext& ctx);
+ void LoadAlbumScreenShotThumbnailImageEx1(HLERequestContext& ctx);
+
+ Result TranslateResult(Result in_result);
+
+ std::shared_ptr<AlbumManager> manager = nullptr;
};
} // namespace Service::Capture
diff --git a/src/core/hle/service/caps/caps_c.cpp b/src/core/hle/service/caps/caps_c.cpp
index fc77e35cd..1e7fe6474 100644
--- a/src/core/hle/service/caps/caps_c.cpp
+++ b/src/core/hle/service/caps/caps_c.cpp
@@ -3,53 +3,21 @@
#include "common/logging/log.h"
#include "core/hle/service/caps/caps_c.h"
+#include "core/hle/service/caps/caps_manager.h"
+#include "core/hle/service/caps/caps_result.h"
+#include "core/hle/service/caps/caps_types.h"
#include "core/hle/service/ipc_helpers.h"
namespace Service::Capture {
-class IAlbumControlSession final : public ServiceFramework<IAlbumControlSession> {
-public:
- explicit IAlbumControlSession(Core::System& system_)
- : ServiceFramework{system_, "IAlbumControlSession"} {
- // clang-format off
- static const FunctionInfo functions[] = {
- {2001, nullptr, "OpenAlbumMovieReadStream"},
- {2002, nullptr, "CloseAlbumMovieReadStream"},
- {2003, nullptr, "GetAlbumMovieReadStreamMovieDataSize"},
- {2004, nullptr, "ReadMovieDataFromAlbumMovieReadStream"},
- {2005, nullptr, "GetAlbumMovieReadStreamBrokenReason"},
- {2006, nullptr, "GetAlbumMovieReadStreamImageDataSize"},
- {2007, nullptr, "ReadImageDataFromAlbumMovieReadStream"},
- {2008, nullptr, "ReadFileAttributeFromAlbumMovieReadStream"},
- {2401, nullptr, "OpenAlbumMovieWriteStream"},
- {2402, nullptr, "FinishAlbumMovieWriteStream"},
- {2403, nullptr, "CommitAlbumMovieWriteStream"},
- {2404, nullptr, "DiscardAlbumMovieWriteStream"},
- {2405, nullptr, "DiscardAlbumMovieWriteStreamNoDelete"},
- {2406, nullptr, "CommitAlbumMovieWriteStreamEx"},
- {2411, nullptr, "StartAlbumMovieWriteStreamDataSection"},
- {2412, nullptr, "EndAlbumMovieWriteStreamDataSection"},
- {2413, nullptr, "StartAlbumMovieWriteStreamMetaSection"},
- {2414, nullptr, "EndAlbumMovieWriteStreamMetaSection"},
- {2421, nullptr, "ReadDataFromAlbumMovieWriteStream"},
- {2422, nullptr, "WriteDataToAlbumMovieWriteStream"},
- {2424, nullptr, "WriteMetaToAlbumMovieWriteStream"},
- {2431, nullptr, "GetAlbumMovieWriteStreamBrokenReason"},
- {2433, nullptr, "GetAlbumMovieWriteStreamDataSize"},
- {2434, nullptr, "SetAlbumMovieWriteStreamDataSize"},
- };
- // clang-format on
-
- RegisterHandlers(functions);
- }
-};
-
-CAPS_C::CAPS_C(Core::System& system_) : ServiceFramework{system_, "caps:c"} {
+IAlbumControlService::IAlbumControlService(Core::System& system_,
+ std::shared_ptr<AlbumManager> album_manager)
+ : ServiceFramework{system_, "caps:c"}, manager{album_manager} {
// clang-format off
static const FunctionInfo functions[] = {
{1, nullptr, "CaptureRawImage"},
{2, nullptr, "CaptureRawImageWithTimeout"},
- {33, &CAPS_C::SetShimLibraryVersion, "SetShimLibraryVersion"},
+ {33, &IAlbumControlService::SetShimLibraryVersion, "SetShimLibraryVersion"},
{1001, nullptr, "RequestTakingScreenShot"},
{1002, nullptr, "RequestTakingScreenShotWithTimeout"},
{1011, nullptr, "NotifyTakingScreenShotRefused"},
@@ -72,9 +40,9 @@ CAPS_C::CAPS_C(Core::System& system_) : ServiceFramework{system_, "caps:c"} {
RegisterHandlers(functions);
}
-CAPS_C::~CAPS_C() = default;
+IAlbumControlService::~IAlbumControlService() = default;
-void CAPS_C::SetShimLibraryVersion(HLERequestContext& ctx) {
+void IAlbumControlService::SetShimLibraryVersion(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto library_version{rp.Pop<u64>()};
const auto applet_resource_user_id{rp.Pop<u64>()};
diff --git a/src/core/hle/service/caps/caps_c.h b/src/core/hle/service/caps/caps_c.h
index 537b3a2e3..92ba242db 100644
--- a/src/core/hle/service/caps/caps_c.h
+++ b/src/core/hle/service/caps/caps_c.h
@@ -10,14 +10,18 @@ class System;
}
namespace Service::Capture {
+class AlbumManager;
-class CAPS_C final : public ServiceFramework<CAPS_C> {
+class IAlbumControlService final : public ServiceFramework<IAlbumControlService> {
public:
- explicit CAPS_C(Core::System& system_);
- ~CAPS_C() override;
+ explicit IAlbumControlService(Core::System& system_,
+ std::shared_ptr<AlbumManager> album_manager);
+ ~IAlbumControlService() override;
private:
void SetShimLibraryVersion(HLERequestContext& ctx);
+
+ std::shared_ptr<AlbumManager> manager = nullptr;
};
} // namespace Service::Capture
diff --git a/src/core/hle/service/caps/caps_manager.cpp b/src/core/hle/service/caps/caps_manager.cpp
new file mode 100644
index 000000000..2df6a930a
--- /dev/null
+++ b/src/core/hle/service/caps/caps_manager.cpp
@@ -0,0 +1,342 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include <sstream>
+#include <stb_image.h>
+#include <stb_image_resize.h>
+
+#include "common/fs/file.h"
+#include "common/fs/path_util.h"
+#include "common/logging/log.h"
+#include "core/hle/service/caps/caps_manager.h"
+#include "core/hle/service/caps/caps_result.h"
+
+namespace Service::Capture {
+
+AlbumManager::AlbumManager() {}
+
+AlbumManager::~AlbumManager() = default;
+
+Result AlbumManager::DeleteAlbumFile(const AlbumFileId& file_id) {
+ if (file_id.storage > AlbumStorage::Sd) {
+ return ResultInvalidStorage;
+ }
+
+ if (!is_mounted) {
+ return ResultIsNotMounted;
+ }
+
+ std::filesystem::path path;
+ const auto result = GetFile(path, file_id);
+
+ if (result.IsError()) {
+ return result;
+ }
+
+ if (!Common::FS::RemoveFile(path)) {
+ return ResultFileNotFound;
+ }
+
+ return ResultSuccess;
+}
+
+Result AlbumManager::IsAlbumMounted(AlbumStorage storage) {
+ if (storage > AlbumStorage::Sd) {
+ return ResultInvalidStorage;
+ }
+
+ is_mounted = true;
+
+ if (storage == AlbumStorage::Sd) {
+ FindScreenshots();
+ }
+
+ return is_mounted ? ResultSuccess : ResultIsNotMounted;
+}
+
+Result AlbumManager::GetAlbumFileList(std::vector<AlbumEntry>& out_entries, AlbumStorage storage,
+ u8 flags) const {
+ if (storage > AlbumStorage::Sd) {
+ return ResultInvalidStorage;
+ }
+
+ if (!is_mounted) {
+ return ResultIsNotMounted;
+ }
+
+ for (auto& [file_id, path] : album_files) {
+ if (file_id.storage != storage) {
+ continue;
+ }
+ if (out_entries.size() >= SdAlbumFileLimit) {
+ break;
+ }
+
+ const auto entry_size = Common::FS::GetSize(path);
+ out_entries.push_back({
+ .entry_size = entry_size,
+ .file_id = file_id,
+ });
+ }
+
+ return ResultSuccess;
+}
+
+Result AlbumManager::GetAlbumFileList(std::vector<ApplicationAlbumFileEntry>& out_entries,
+ ContentType contex_type, AlbumFileDateTime start_date,
+ AlbumFileDateTime end_date, u64 aruid) const {
+ if (!is_mounted) {
+ return ResultIsNotMounted;
+ }
+
+ for (auto& [file_id, path] : album_files) {
+ if (file_id.type != contex_type) {
+ continue;
+ }
+
+ if (file_id.date > start_date) {
+ continue;
+ }
+
+ if (file_id.date < end_date) {
+ continue;
+ }
+
+ if (out_entries.size() >= SdAlbumFileLimit) {
+ break;
+ }
+
+ const auto entry_size = Common::FS::GetSize(path);
+ ApplicationAlbumFileEntry entry{.entry =
+ {
+ .size = entry_size,
+ .hash{},
+ .datetime = file_id.date,
+ .storage = file_id.storage,
+ .content = contex_type,
+ .unknown = 1,
+ },
+ .datetime = file_id.date,
+ .unknown = {}};
+ out_entries.push_back(entry);
+ }
+
+ return ResultSuccess;
+}
+
+Result AlbumManager::GetAutoSavingStorage(bool& out_is_autosaving) const {
+ out_is_autosaving = false;
+ return ResultSuccess;
+}
+
+Result AlbumManager::LoadAlbumScreenShotImage(LoadAlbumScreenShotImageOutput& out_image_output,
+ std::vector<u8>& out_image,
+ const AlbumFileId& file_id,
+ const ScreenShotDecodeOption& decoder_options) const {
+ if (file_id.storage > AlbumStorage::Sd) {
+ return ResultInvalidStorage;
+ }
+
+ if (!is_mounted) {
+ return ResultIsNotMounted;
+ }
+
+ out_image_output = {
+ .width = 1280,
+ .height = 720,
+ .attribute =
+ {
+ .unknown_0{},
+ .orientation = AlbumImageOrientation::None,
+ .unknown_1{},
+ .unknown_2{},
+ },
+ };
+
+ std::filesystem::path path;
+ const auto result = GetFile(path, file_id);
+
+ if (result.IsError()) {
+ return result;
+ }
+
+ out_image.resize(out_image_output.height * out_image_output.width * STBI_rgb_alpha);
+
+ return LoadImage(out_image, path, static_cast<int>(out_image_output.width),
+ +static_cast<int>(out_image_output.height), decoder_options.flags);
+}
+
+Result AlbumManager::LoadAlbumScreenShotThumbnail(
+ LoadAlbumScreenShotImageOutput& out_image_output, std::vector<u8>& out_image,
+ const AlbumFileId& file_id, const ScreenShotDecodeOption& decoder_options) const {
+ if (file_id.storage > AlbumStorage::Sd) {
+ return ResultInvalidStorage;
+ }
+
+ if (!is_mounted) {
+ return ResultIsNotMounted;
+ }
+
+ out_image_output = {
+ .width = 320,
+ .height = 180,
+ .attribute =
+ {
+ .unknown_0{},
+ .orientation = AlbumImageOrientation::None,
+ .unknown_1{},
+ .unknown_2{},
+ },
+ };
+
+ std::filesystem::path path;
+ const auto result = GetFile(path, file_id);
+
+ if (result.IsError()) {
+ return result;
+ }
+
+ out_image.resize(out_image_output.height * out_image_output.width * STBI_rgb_alpha);
+
+ return LoadImage(out_image, path, static_cast<int>(out_image_output.width),
+ +static_cast<int>(out_image_output.height), decoder_options.flags);
+}
+
+Result AlbumManager::GetFile(std::filesystem::path& out_path, const AlbumFileId& file_id) const {
+ const auto file = album_files.find(file_id);
+
+ if (file == album_files.end()) {
+ return ResultFileNotFound;
+ }
+
+ out_path = file->second;
+ return ResultSuccess;
+}
+
+void AlbumManager::FindScreenshots() {
+ is_mounted = false;
+ album_files.clear();
+
+ // TODO: Swap this with a blocking operation.
+ const auto screenshots_dir = Common::FS::GetYuzuPath(Common::FS::YuzuPath::ScreenshotsDir);
+ Common::FS::IterateDirEntries(
+ screenshots_dir,
+ [this](const std::filesystem::path& full_path) {
+ AlbumEntry entry;
+ if (GetAlbumEntry(entry, full_path).IsError()) {
+ return true;
+ }
+ while (album_files.contains(entry.file_id)) {
+ if (++entry.file_id.date.unique_id == 0) {
+ break;
+ }
+ }
+ album_files[entry.file_id] = full_path;
+ return true;
+ },
+ Common::FS::DirEntryFilter::File);
+
+ is_mounted = true;
+}
+
+Result AlbumManager::GetAlbumEntry(AlbumEntry& out_entry, const std::filesystem::path& path) const {
+ std::istringstream line_stream(path.filename().string());
+ std::string date;
+ std::string application;
+ std::string time;
+
+ // Parse filename to obtain entry properties
+ std::getline(line_stream, application, '_');
+ std::getline(line_stream, date, '_');
+ std::getline(line_stream, time, '_');
+
+ std::istringstream date_stream(date);
+ std::istringstream time_stream(time);
+ std::string year;
+ std::string month;
+ std::string day;
+ std::string hour;
+ std::string minute;
+ std::string second;
+
+ std::getline(date_stream, year, '-');
+ std::getline(date_stream, month, '-');
+ std::getline(date_stream, day, '-');
+
+ std::getline(time_stream, hour, '-');
+ std::getline(time_stream, minute, '-');
+ std::getline(time_stream, second, '-');
+
+ try {
+ out_entry = {
+ .entry_size = 1,
+ .file_id{
+ .application_id = static_cast<u64>(std::stoll(application, 0, 16)),
+ .date =
+ {
+ .year = static_cast<u16>(std::stoi(year)),
+ .month = static_cast<u8>(std::stoi(month)),
+ .day = static_cast<u8>(std::stoi(day)),
+ .hour = static_cast<u8>(std::stoi(hour)),
+ .minute = static_cast<u8>(std::stoi(minute)),
+ .second = static_cast<u8>(std::stoi(second)),
+ .unique_id = 0,
+ },
+ .storage = AlbumStorage::Sd,
+ .type = ContentType::Screenshot,
+ .unknown = 1,
+ },
+ };
+ } catch (const std::invalid_argument&) {
+ return ResultUnknown;
+ } catch (const std::out_of_range&) {
+ return ResultUnknown;
+ } catch (const std::exception&) {
+ return ResultUnknown;
+ }
+
+ return ResultSuccess;
+}
+
+Result AlbumManager::LoadImage(std::span<u8> out_image, const std::filesystem::path& path,
+ int width, int height, ScreenShotDecoderFlag flag) const {
+ if (out_image.size() != static_cast<std::size_t>(width * height * STBI_rgb_alpha)) {
+ return ResultUnknown;
+ }
+
+ const Common::FS::IOFile db_file{path, Common::FS::FileAccessMode::Read,
+ Common::FS::FileType::BinaryFile};
+
+ std::vector<u8> raw_file(db_file.GetSize());
+ if (db_file.Read(raw_file) != raw_file.size()) {
+ return ResultUnknown;
+ }
+
+ int filter_flag = STBIR_FILTER_DEFAULT;
+ int original_width, original_height, color_channels;
+ const auto dbi_image =
+ stbi_load_from_memory(raw_file.data(), static_cast<int>(raw_file.size()), &original_width,
+ &original_height, &color_channels, STBI_rgb_alpha);
+
+ if (dbi_image == nullptr) {
+ return ResultUnknown;
+ }
+
+ switch (flag) {
+ case ScreenShotDecoderFlag::EnableFancyUpsampling:
+ filter_flag = STBIR_FILTER_TRIANGLE;
+ break;
+ case ScreenShotDecoderFlag::EnableBlockSmoothing:
+ filter_flag = STBIR_FILTER_BOX;
+ break;
+ default:
+ filter_flag = STBIR_FILTER_DEFAULT;
+ break;
+ }
+
+ stbir_resize_uint8_srgb(dbi_image, original_width, original_height, 0, out_image.data(), width,
+ height, 0, STBI_rgb_alpha, 3, filter_flag);
+
+ return ResultSuccess;
+}
+} // namespace Service::Capture
diff --git a/src/core/hle/service/caps/caps_manager.h b/src/core/hle/service/caps/caps_manager.h
new file mode 100644
index 000000000..8337c655c
--- /dev/null
+++ b/src/core/hle/service/caps/caps_manager.h
@@ -0,0 +1,72 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <unordered_map>
+
+#include "common/fs/fs.h"
+#include "core/hle/result.h"
+#include "core/hle/service/caps/caps_types.h"
+
+namespace Core {
+class System;
+}
+
+namespace std {
+// Hash used to create lists from AlbumFileId data
+template <>
+struct hash<Service::Capture::AlbumFileId> {
+ size_t operator()(const Service::Capture::AlbumFileId& pad_id) const noexcept {
+ u64 hash_value = (static_cast<u64>(pad_id.date.year) << 8);
+ hash_value ^= (static_cast<u64>(pad_id.date.month) << 7);
+ hash_value ^= (static_cast<u64>(pad_id.date.day) << 6);
+ hash_value ^= (static_cast<u64>(pad_id.date.hour) << 5);
+ hash_value ^= (static_cast<u64>(pad_id.date.minute) << 4);
+ hash_value ^= (static_cast<u64>(pad_id.date.second) << 3);
+ hash_value ^= (static_cast<u64>(pad_id.date.unique_id) << 2);
+ hash_value ^= (static_cast<u64>(pad_id.storage) << 1);
+ hash_value ^= static_cast<u64>(pad_id.type);
+ return static_cast<size_t>(hash_value);
+ }
+};
+
+} // namespace std
+
+namespace Service::Capture {
+
+class AlbumManager {
+public:
+ explicit AlbumManager();
+ ~AlbumManager();
+
+ Result DeleteAlbumFile(const AlbumFileId& file_id);
+ Result IsAlbumMounted(AlbumStorage storage);
+ Result GetAlbumFileList(std::vector<AlbumEntry>& out_entries, AlbumStorage storage,
+ u8 flags) const;
+ Result GetAlbumFileList(std::vector<ApplicationAlbumFileEntry>& out_entries,
+ ContentType contex_type, AlbumFileDateTime start_date,
+ AlbumFileDateTime end_date, u64 aruid) const;
+ Result GetAutoSavingStorage(bool& out_is_autosaving) const;
+ Result LoadAlbumScreenShotImage(LoadAlbumScreenShotImageOutput& out_image_output,
+ std::vector<u8>& out_image, const AlbumFileId& file_id,
+ const ScreenShotDecodeOption& decoder_options) const;
+ Result LoadAlbumScreenShotThumbnail(LoadAlbumScreenShotImageOutput& out_image_output,
+ std::vector<u8>& out_image, const AlbumFileId& file_id,
+ const ScreenShotDecodeOption& decoder_options) const;
+
+private:
+ static constexpr std::size_t NandAlbumFileLimit = 1000;
+ static constexpr std::size_t SdAlbumFileLimit = 10000;
+
+ void FindScreenshots();
+ Result GetFile(std::filesystem::path& out_path, const AlbumFileId& file_id) const;
+ Result GetAlbumEntry(AlbumEntry& out_entry, const std::filesystem::path& path) const;
+ Result LoadImage(std::span<u8> out_image, const std::filesystem::path& path, int width,
+ int height, ScreenShotDecoderFlag flag) const;
+
+ bool is_mounted{};
+ std::unordered_map<AlbumFileId, std::filesystem::path> album_files;
+};
+
+} // namespace Service::Capture
diff --git a/src/core/hle/service/caps/caps_result.h b/src/core/hle/service/caps/caps_result.h
new file mode 100644
index 000000000..c65e5fb9a
--- /dev/null
+++ b/src/core/hle/service/caps/caps_result.h
@@ -0,0 +1,35 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/hle/result.h"
+
+namespace Service::Capture {
+
+constexpr Result ResultWorkMemoryError(ErrorModule::Capture, 3);
+constexpr Result ResultUnknown5(ErrorModule::Capture, 5);
+constexpr Result ResultUnknown6(ErrorModule::Capture, 6);
+constexpr Result ResultUnknown7(ErrorModule::Capture, 7);
+constexpr Result ResultOutOfRange(ErrorModule::Capture, 8);
+constexpr Result ResulInvalidTimestamp(ErrorModule::Capture, 12);
+constexpr Result ResultInvalidStorage(ErrorModule::Capture, 13);
+constexpr Result ResultInvalidFileContents(ErrorModule::Capture, 14);
+constexpr Result ResultIsNotMounted(ErrorModule::Capture, 21);
+constexpr Result ResultUnknown22(ErrorModule::Capture, 22);
+constexpr Result ResultFileNotFound(ErrorModule::Capture, 23);
+constexpr Result ResultInvalidFileData(ErrorModule::Capture, 24);
+constexpr Result ResultUnknown25(ErrorModule::Capture, 25);
+constexpr Result ResultReadBufferShortage(ErrorModule::Capture, 30);
+constexpr Result ResultUnknown810(ErrorModule::Capture, 810);
+constexpr Result ResultUnknown1024(ErrorModule::Capture, 1024);
+constexpr Result ResultUnknown1202(ErrorModule::Capture, 1202);
+constexpr Result ResultUnknown1203(ErrorModule::Capture, 1203);
+constexpr Result ResultFileCountLimit(ErrorModule::Capture, 1401);
+constexpr Result ResultUnknown1701(ErrorModule::Capture, 1701);
+constexpr Result ResultUnknown1801(ErrorModule::Capture, 1801);
+constexpr Result ResultUnknown1802(ErrorModule::Capture, 1802);
+constexpr Result ResultUnknown1803(ErrorModule::Capture, 1803);
+constexpr Result ResultUnknown1804(ErrorModule::Capture, 1804);
+
+} // namespace Service::Capture
diff --git a/src/core/hle/service/caps/caps_sc.cpp b/src/core/hle/service/caps/caps_sc.cpp
index 395b13da7..6117cb7c6 100644
--- a/src/core/hle/service/caps/caps_sc.cpp
+++ b/src/core/hle/service/caps/caps_sc.cpp
@@ -5,7 +5,8 @@
namespace Service::Capture {
-CAPS_SC::CAPS_SC(Core::System& system_) : ServiceFramework{system_, "caps:sc"} {
+IScreenShotControlService::IScreenShotControlService(Core::System& system_)
+ : ServiceFramework{system_, "caps:sc"} {
// clang-format off
static const FunctionInfo functions[] = {
{1, nullptr, "CaptureRawImage"},
@@ -34,6 +35,6 @@ CAPS_SC::CAPS_SC(Core::System& system_) : ServiceFramework{system_, "caps:sc"} {
RegisterHandlers(functions);
}
-CAPS_SC::~CAPS_SC() = default;
+IScreenShotControlService::~IScreenShotControlService() = default;
} // namespace Service::Capture
diff --git a/src/core/hle/service/caps/caps_sc.h b/src/core/hle/service/caps/caps_sc.h
index e5600f6d7..d555f4979 100644
--- a/src/core/hle/service/caps/caps_sc.h
+++ b/src/core/hle/service/caps/caps_sc.h
@@ -11,10 +11,10 @@ class System;
namespace Service::Capture {
-class CAPS_SC final : public ServiceFramework<CAPS_SC> {
+class IScreenShotControlService final : public ServiceFramework<IScreenShotControlService> {
public:
- explicit CAPS_SC(Core::System& system_);
- ~CAPS_SC() override;
+ explicit IScreenShotControlService(Core::System& system_);
+ ~IScreenShotControlService() override;
};
} // namespace Service::Capture
diff --git a/src/core/hle/service/caps/caps_ss.cpp b/src/core/hle/service/caps/caps_ss.cpp
index 62b9edd41..d0d1b5425 100644
--- a/src/core/hle/service/caps/caps_ss.cpp
+++ b/src/core/hle/service/caps/caps_ss.cpp
@@ -5,7 +5,8 @@
namespace Service::Capture {
-CAPS_SS::CAPS_SS(Core::System& system_) : ServiceFramework{system_, "caps:ss"} {
+IScreenShotService::IScreenShotService(Core::System& system_)
+ : ServiceFramework{system_, "caps:ss"} {
// clang-format off
static const FunctionInfo functions[] = {
{201, nullptr, "SaveScreenShot"},
@@ -21,6 +22,6 @@ CAPS_SS::CAPS_SS(Core::System& system_) : ServiceFramework{system_, "caps:ss"} {
RegisterHandlers(functions);
}
-CAPS_SS::~CAPS_SS() = default;
+IScreenShotService::~IScreenShotService() = default;
} // namespace Service::Capture
diff --git a/src/core/hle/service/caps/caps_ss.h b/src/core/hle/service/caps/caps_ss.h
index 718ade485..381e44fd4 100644
--- a/src/core/hle/service/caps/caps_ss.h
+++ b/src/core/hle/service/caps/caps_ss.h
@@ -11,10 +11,10 @@ class System;
namespace Service::Capture {
-class CAPS_SS final : public ServiceFramework<CAPS_SS> {
+class IScreenShotService final : public ServiceFramework<IScreenShotService> {
public:
- explicit CAPS_SS(Core::System& system_);
- ~CAPS_SS() override;
+ explicit IScreenShotService(Core::System& system_);
+ ~IScreenShotService() override;
};
} // namespace Service::Capture
diff --git a/src/core/hle/service/caps/caps_su.cpp b/src/core/hle/service/caps/caps_su.cpp
index 3b11cc95c..cad173dc7 100644
--- a/src/core/hle/service/caps/caps_su.cpp
+++ b/src/core/hle/service/caps/caps_su.cpp
@@ -7,10 +7,11 @@
namespace Service::Capture {
-CAPS_SU::CAPS_SU(Core::System& system_) : ServiceFramework{system_, "caps:su"} {
+IScreenShotApplicationService::IScreenShotApplicationService(Core::System& system_)
+ : ServiceFramework{system_, "caps:su"} {
// clang-format off
static const FunctionInfo functions[] = {
- {32, &CAPS_SU::SetShimLibraryVersion, "SetShimLibraryVersion"},
+ {32, &IScreenShotApplicationService::SetShimLibraryVersion, "SetShimLibraryVersion"},
{201, nullptr, "SaveScreenShot"},
{203, nullptr, "SaveScreenShotEx0"},
{205, nullptr, "SaveScreenShotEx1"},
@@ -21,9 +22,9 @@ CAPS_SU::CAPS_SU(Core::System& system_) : ServiceFramework{system_, "caps:su"} {
RegisterHandlers(functions);
}
-CAPS_SU::~CAPS_SU() = default;
+IScreenShotApplicationService::~IScreenShotApplicationService() = default;
-void CAPS_SU::SetShimLibraryVersion(HLERequestContext& ctx) {
+void IScreenShotApplicationService::SetShimLibraryVersion(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto library_version{rp.Pop<u64>()};
const auto applet_resource_user_id{rp.Pop<u64>()};
diff --git a/src/core/hle/service/caps/caps_su.h b/src/core/hle/service/caps/caps_su.h
index c6398858d..647e3059d 100644
--- a/src/core/hle/service/caps/caps_su.h
+++ b/src/core/hle/service/caps/caps_su.h
@@ -11,10 +11,10 @@ class System;
namespace Service::Capture {
-class CAPS_SU final : public ServiceFramework<CAPS_SU> {
+class IScreenShotApplicationService final : public ServiceFramework<IScreenShotApplicationService> {
public:
- explicit CAPS_SU(Core::System& system_);
- ~CAPS_SU() override;
+ explicit IScreenShotApplicationService(Core::System& system_);
+ ~IScreenShotApplicationService() override;
private:
void SetShimLibraryVersion(HLERequestContext& ctx);
diff --git a/src/core/hle/service/caps/caps_types.h b/src/core/hle/service/caps/caps_types.h
new file mode 100644
index 000000000..bf6061273
--- /dev/null
+++ b/src/core/hle/service/caps/caps_types.h
@@ -0,0 +1,184 @@
+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "common/common_funcs.h"
+#include "common/common_types.h"
+
+namespace Service::Capture {
+
+// This is nn::album::ImageOrientation
+enum class AlbumImageOrientation {
+ None,
+ Rotate90,
+ Rotate180,
+ Rotate270,
+};
+
+// This is nn::album::AlbumReportOption
+enum class AlbumReportOption : s32 {
+ Disable,
+ Enable,
+};
+
+enum class ContentType : u8 {
+ Screenshot = 0,
+ Movie = 1,
+ ExtraMovie = 3,
+};
+
+enum class AlbumStorage : u8 {
+ Nand,
+ Sd,
+};
+
+enum class ScreenShotDecoderFlag : u64 {
+ None = 0,
+ EnableFancyUpsampling = 1 << 0,
+ EnableBlockSmoothing = 1 << 1,
+};
+
+// This is nn::capsrv::AlbumFileDateTime
+struct AlbumFileDateTime {
+ u16 year{};
+ u8 month{};
+ u8 day{};
+ u8 hour{};
+ u8 minute{};
+ u8 second{};
+ u8 unique_id{};
+
+ friend constexpr bool operator==(const AlbumFileDateTime&, const AlbumFileDateTime&) = default;
+ friend constexpr bool operator>(const AlbumFileDateTime& a, const AlbumFileDateTime& b) {
+ if (a.year > b.year) {
+ return true;
+ }
+ if (a.month > b.month) {
+ return true;
+ }
+ if (a.day > b.day) {
+ return true;
+ }
+ if (a.hour > b.hour) {
+ return true;
+ }
+ if (a.minute > b.minute) {
+ return true;
+ }
+ return a.second > b.second;
+ };
+ friend constexpr bool operator<(const AlbumFileDateTime& a, const AlbumFileDateTime& b) {
+ if (a.year < b.year) {
+ return true;
+ }
+ if (a.month < b.month) {
+ return true;
+ }
+ if (a.day < b.day) {
+ return true;
+ }
+ if (a.hour < b.hour) {
+ return true;
+ }
+ if (a.minute < b.minute) {
+ return true;
+ }
+ return a.second < b.second;
+ };
+};
+static_assert(sizeof(AlbumFileDateTime) == 0x8, "AlbumFileDateTime has incorrect size.");
+
+// This is nn::album::AlbumEntry
+struct AlbumFileEntry {
+ u64 size{}; // Size of the entry
+ u64 hash{}; // AES256 with hardcoded key over AlbumEntry
+ AlbumFileDateTime datetime{};
+ AlbumStorage storage{};
+ ContentType content{};
+ INSERT_PADDING_BYTES(5);
+ u8 unknown{}; // Set to 1 on official SW
+};
+static_assert(sizeof(AlbumFileEntry) == 0x20, "AlbumFileEntry has incorrect size.");
+
+struct AlbumFileId {
+ u64 application_id{};
+ AlbumFileDateTime date{};
+ AlbumStorage storage{};
+ ContentType type{};
+ INSERT_PADDING_BYTES(0x5);
+ u8 unknown{};
+
+ friend constexpr bool operator==(const AlbumFileId&, const AlbumFileId&) = default;
+};
+static_assert(sizeof(AlbumFileId) == 0x18, "AlbumFileId is an invalid size");
+
+// This is nn::capsrv::AlbumEntry
+struct AlbumEntry {
+ u64 entry_size{};
+ AlbumFileId file_id{};
+};
+static_assert(sizeof(AlbumEntry) == 0x20, "AlbumEntry has incorrect size.");
+
+// This is nn::capsrv::ApplicationAlbumEntry
+struct ApplicationAlbumEntry {
+ u64 size{}; // Size of the entry
+ u64 hash{}; // AES256 with hardcoded key over AlbumEntry
+ AlbumFileDateTime datetime{};
+ AlbumStorage storage{};
+ ContentType content{};
+ INSERT_PADDING_BYTES(5);
+ u8 unknown{1}; // Set to 1 on official SW
+};
+static_assert(sizeof(ApplicationAlbumEntry) == 0x20, "ApplicationAlbumEntry has incorrect size.");
+
+// This is nn::capsrv::ApplicationAlbumFileEntry
+struct ApplicationAlbumFileEntry {
+ ApplicationAlbumEntry entry{};
+ AlbumFileDateTime datetime{};
+ u64 unknown{};
+};
+static_assert(sizeof(ApplicationAlbumFileEntry) == 0x30,
+ "ApplicationAlbumFileEntry has incorrect size.");
+
+struct ApplicationData {
+ std::array<u8, 0x400> data{};
+ u32 data_size{};
+};
+static_assert(sizeof(ApplicationData) == 0x404, "ApplicationData is an invalid size");
+
+struct ScreenShotAttribute {
+ u32 unknown_0{};
+ AlbumImageOrientation orientation{};
+ u32 unknown_1{};
+ u32 unknown_2{};
+ INSERT_PADDING_BYTES(0x30);
+};
+static_assert(sizeof(ScreenShotAttribute) == 0x40, "ScreenShotAttribute is an invalid size");
+
+struct ScreenShotDecodeOption {
+ ScreenShotDecoderFlag flags{};
+ INSERT_PADDING_BYTES(0x18);
+};
+static_assert(sizeof(ScreenShotDecodeOption) == 0x20, "ScreenShotDecodeOption is an invalid size");
+
+struct LoadAlbumScreenShotImageOutput {
+ s64 width{};
+ s64 height{};
+ ScreenShotAttribute attribute{};
+ INSERT_PADDING_BYTES(0x400);
+};
+static_assert(sizeof(LoadAlbumScreenShotImageOutput) == 0x450,
+ "LoadAlbumScreenShotImageOutput is an invalid size");
+
+struct LoadAlbumScreenShotImageOutputForApplication {
+ s64 width{};
+ s64 height{};
+ ScreenShotAttribute attribute{};
+ ApplicationData data{};
+ INSERT_PADDING_BYTES(0xAC);
+};
+static_assert(sizeof(LoadAlbumScreenShotImageOutputForApplication) == 0x500,
+ "LoadAlbumScreenShotImageOutput is an invalid size");
+
+} // namespace Service::Capture
diff --git a/src/core/hle/service/caps/caps_u.cpp b/src/core/hle/service/caps/caps_u.cpp
index bffe0f8d0..260f25490 100644
--- a/src/core/hle/service/caps/caps_u.cpp
+++ b/src/core/hle/service/caps/caps_u.cpp
@@ -2,45 +2,29 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#include "common/logging/log.h"
-#include "core/hle/service/caps/caps.h"
+#include "core/hle/service/caps/caps_manager.h"
+#include "core/hle/service/caps/caps_types.h"
#include "core/hle/service/caps/caps_u.h"
#include "core/hle/service/ipc_helpers.h"
namespace Service::Capture {
-class IAlbumAccessorApplicationSession final
- : public ServiceFramework<IAlbumAccessorApplicationSession> {
-public:
- explicit IAlbumAccessorApplicationSession(Core::System& system_)
- : ServiceFramework{system_, "IAlbumAccessorApplicationSession"} {
- // clang-format off
- static const FunctionInfo functions[] = {
- {2001, nullptr, "OpenAlbumMovieReadStream"},
- {2002, nullptr, "CloseAlbumMovieReadStream"},
- {2003, nullptr, "GetAlbumMovieReadStreamMovieDataSize"},
- {2004, nullptr, "ReadMovieDataFromAlbumMovieReadStream"},
- {2005, nullptr, "GetAlbumMovieReadStreamBrokenReason"},
- };
- // clang-format on
-
- RegisterHandlers(functions);
- }
-};
-
-CAPS_U::CAPS_U(Core::System& system_) : ServiceFramework{system_, "caps:u"} {
+IAlbumApplicationService::IAlbumApplicationService(Core::System& system_,
+ std::shared_ptr<AlbumManager> album_manager)
+ : ServiceFramework{system_, "caps:u"}, manager{album_manager} {
// clang-format off
static const FunctionInfo functions[] = {
- {32, &CAPS_U::SetShimLibraryVersion, "SetShimLibraryVersion"},
- {102, &CAPS_U::GetAlbumContentsFileListForApplication, "GetAlbumContentsFileListForApplication"},
- {103, nullptr, "DeleteAlbumContentsFileForApplication"},
- {104, nullptr, "GetAlbumContentsFileSizeForApplication"},
+ {32, &IAlbumApplicationService::SetShimLibraryVersion, "SetShimLibraryVersion"},
+ {102, &IAlbumApplicationService::GetAlbumFileList0AafeAruidDeprecated, "GetAlbumFileList0AafeAruidDeprecated"},
+ {103, nullptr, "DeleteAlbumFileByAruid"},
+ {104, nullptr, "GetAlbumFileSizeByAruid"},
{105, nullptr, "DeleteAlbumFileByAruidForDebug"},
- {110, nullptr, "LoadAlbumContentsFileScreenShotImageForApplication"},
- {120, nullptr, "LoadAlbumContentsFileThumbnailImageForApplication"},
- {130, nullptr, "PrecheckToCreateContentsForApplication"},
+ {110, nullptr, "LoadAlbumScreenShotImageByAruid"},
+ {120, nullptr, "LoadAlbumScreenShotThumbnailImageByAruid"},
+ {130, nullptr, "PrecheckToCreateContentsByAruid"},
{140, nullptr, "GetAlbumFileList1AafeAruidDeprecated"},
{141, nullptr, "GetAlbumFileList2AafeUidAruidDeprecated"},
- {142, &CAPS_U::GetAlbumFileList3AaeAruid, "GetAlbumFileList3AaeAruid"},
+ {142, &IAlbumApplicationService::GetAlbumFileList3AaeAruid, "GetAlbumFileList3AaeAruid"},
{143, nullptr, "GetAlbumFileList4AaeUidAruid"},
{144, nullptr, "GetAllAlbumFileList3AaeAruid"},
{60002, nullptr, "OpenAccessorSessionForApplication"},
@@ -50,9 +34,9 @@ CAPS_U::CAPS_U(Core::System& system_) : ServiceFramework{system_, "caps:u"} {
RegisterHandlers(functions);
}
-CAPS_U::~CAPS_U() = default;
+IAlbumApplicationService::~IAlbumApplicationService() = default;
-void CAPS_U::SetShimLibraryVersion(HLERequestContext& ctx) {
+void IAlbumApplicationService::SetShimLibraryVersion(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto library_version{rp.Pop<u64>()};
const auto applet_resource_user_id{rp.Pop<u64>()};
@@ -64,10 +48,7 @@ void CAPS_U::SetShimLibraryVersion(HLERequestContext& ctx) {
rb.Push(ResultSuccess);
}
-void CAPS_U::GetAlbumContentsFileListForApplication(HLERequestContext& ctx) {
- // Takes a type-0x6 output buffer containing an array of ApplicationAlbumFileEntry, a PID, an
- // u8 ContentType, two s64s, and an u64 AppletResourceUserId. Returns an output u64 for total
- // output entries (which is copied to a s32 by official SW).
+void IAlbumApplicationService::GetAlbumFileList0AafeAruidDeprecated(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto pid{rp.Pop<s32>()};
const auto content_type{rp.PopEnum<ContentType>()};
@@ -75,26 +56,49 @@ void CAPS_U::GetAlbumContentsFileListForApplication(HLERequestContext& ctx) {
const auto end_posix_time{rp.Pop<s64>()};
const auto applet_resource_user_id{rp.Pop<u64>()};
- // TODO: Update this when we implement the album.
- // Currently we do not have a method of accessing album entries, set this to 0 for now.
- constexpr u32 total_entries_1{};
- constexpr u32 total_entries_2{};
+ LOG_WARNING(Service_Capture,
+ "(STUBBED) called. pid={}, content_type={}, start_posix_time={}, "
+ "end_posix_time={}, applet_resource_user_id={}",
+ pid, content_type, start_posix_time, end_posix_time, applet_resource_user_id);
+
+ // TODO: Translate posix to DateTime
+
+ std::vector<ApplicationAlbumFileEntry> entries;
+ const Result result =
+ manager->GetAlbumFileList(entries, content_type, {}, {}, applet_resource_user_id);
- LOG_WARNING(
- Service_Capture,
- "(STUBBED) called. pid={}, content_type={}, start_posix_time={}, "
- "end_posix_time={}, applet_resource_user_id={}, total_entries_1={}, total_entries_2={}",
- pid, content_type, start_posix_time, end_posix_time, applet_resource_user_id,
- total_entries_1, total_entries_2);
+ if (!entries.empty()) {
+ ctx.WriteBuffer(entries);
+ }
IPC::ResponseBuilder rb{ctx, 4};
- rb.Push(ResultSuccess);
- rb.Push(total_entries_1);
- rb.Push(total_entries_2);
+ rb.Push(result);
+ rb.Push<u64>(entries.size());
}
-void CAPS_U::GetAlbumFileList3AaeAruid(HLERequestContext& ctx) {
- GetAlbumContentsFileListForApplication(ctx);
+void IAlbumApplicationService::GetAlbumFileList3AaeAruid(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto pid{rp.Pop<s32>()};
+ const auto content_type{rp.PopEnum<ContentType>()};
+ const auto start_date_time{rp.PopRaw<AlbumFileDateTime>()};
+ const auto end_date_time{rp.PopRaw<AlbumFileDateTime>()};
+ const auto applet_resource_user_id{rp.Pop<u64>()};
+
+ LOG_WARNING(Service_Capture,
+ "(STUBBED) called. pid={}, content_type={}, applet_resource_user_id={}", pid,
+ content_type, applet_resource_user_id);
+
+ std::vector<ApplicationAlbumFileEntry> entries;
+ const Result result = manager->GetAlbumFileList(entries, content_type, start_date_time,
+ end_date_time, applet_resource_user_id);
+
+ if (!entries.empty()) {
+ ctx.WriteBuffer(entries);
+ }
+
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(result);
+ rb.Push<u64>(entries.size());
}
} // namespace Service::Capture
diff --git a/src/core/hle/service/caps/caps_u.h b/src/core/hle/service/caps/caps_u.h
index e8dd037d7..9458c128e 100644
--- a/src/core/hle/service/caps/caps_u.h
+++ b/src/core/hle/service/caps/caps_u.h
@@ -10,16 +10,20 @@ class System;
}
namespace Service::Capture {
+class AlbumManager;
-class CAPS_U final : public ServiceFramework<CAPS_U> {
+class IAlbumApplicationService final : public ServiceFramework<IAlbumApplicationService> {
public:
- explicit CAPS_U(Core::System& system_);
- ~CAPS_U() override;
+ explicit IAlbumApplicationService(Core::System& system_,
+ std::shared_ptr<AlbumManager> album_manager);
+ ~IAlbumApplicationService() override;
private:
void SetShimLibraryVersion(HLERequestContext& ctx);
- void GetAlbumContentsFileListForApplication(HLERequestContext& ctx);
+ void GetAlbumFileList0AafeAruidDeprecated(HLERequestContext& ctx);
void GetAlbumFileList3AaeAruid(HLERequestContext& ctx);
+
+ std::shared_ptr<AlbumManager> manager = nullptr;
};
} // namespace Service::Capture
diff --git a/src/core/hle/service/es/es.cpp b/src/core/hle/service/es/es.cpp
index 446f46b3c..9eaae4c4b 100644
--- a/src/core/hle/service/es/es.cpp
+++ b/src/core/hle/service/es/es.cpp
@@ -122,20 +122,18 @@ private:
}
void ImportTicket(HLERequestContext& ctx) {
- const auto ticket = ctx.ReadBuffer();
+ const auto raw_ticket = ctx.ReadBuffer();
[[maybe_unused]] const auto cert = ctx.ReadBuffer(1);
- if (ticket.size() < sizeof(Core::Crypto::Ticket)) {
+ if (raw_ticket.size() < sizeof(Core::Crypto::Ticket)) {
LOG_ERROR(Service_ETicket, "The input buffer is not large enough!");
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ERROR_INVALID_ARGUMENT);
return;
}
- Core::Crypto::Ticket raw{};
- std::memcpy(&raw, ticket.data(), sizeof(Core::Crypto::Ticket));
-
- if (!keys.AddTicketPersonalized(raw)) {
+ Core::Crypto::Ticket ticket = Core::Crypto::Ticket::Read(raw_ticket);
+ if (!keys.AddTicket(ticket)) {
LOG_ERROR(Service_ETicket, "The ticket could not be imported!");
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ERROR_INVALID_ARGUMENT);
diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp
index dfcdd3ada..508db7360 100644
--- a/src/core/hle/service/filesystem/filesystem.cpp
+++ b/src/core/hle/service/filesystem/filesystem.cpp
@@ -4,6 +4,7 @@
#include <utility>
#include "common/assert.h"
+#include "common/fs/fs.h"
#include "common/fs/path_util.h"
#include "common/settings.h"
#include "core/core.h"
@@ -57,8 +58,8 @@ Result VfsDirectoryServiceWrapper::CreateFile(const std::string& path_, u64 size
return FileSys::ERROR_PATH_NOT_FOUND;
}
- const auto entry_type = GetEntryType(path);
- if (entry_type.Code() == ResultSuccess) {
+ FileSys::EntryType entry_type{};
+ if (GetEntryType(&entry_type, path) == ResultSuccess) {
return FileSys::ERROR_PATH_ALREADY_EXISTS;
}
@@ -154,10 +155,18 @@ Result VfsDirectoryServiceWrapper::RenameFile(const std::string& src_path_,
std::string src_path(Common::FS::SanitizePath(src_path_));
std::string dest_path(Common::FS::SanitizePath(dest_path_));
auto src = backing->GetFileRelative(src_path);
+ auto dst = backing->GetFileRelative(dest_path);
if (Common::FS::GetParentPath(src_path) == Common::FS::GetParentPath(dest_path)) {
// Use more-optimized vfs implementation rename.
- if (src == nullptr)
+ if (src == nullptr) {
return FileSys::ERROR_PATH_NOT_FOUND;
+ }
+
+ if (dst && Common::FS::Exists(dst->GetFullPath())) {
+ LOG_ERROR(Service_FS, "File at new_path={} already exists", dst->GetFullPath());
+ return FileSys::ERROR_PATH_ALREADY_EXISTS;
+ }
+
if (!src->Rename(Common::FS::GetFilename(dest_path))) {
// TODO(DarkLordZach): Find a better error code for this
return ResultUnknown;
@@ -210,8 +219,8 @@ Result VfsDirectoryServiceWrapper::RenameDirectory(const std::string& src_path_,
return ResultUnknown;
}
-ResultVal<FileSys::VirtualFile> VfsDirectoryServiceWrapper::OpenFile(const std::string& path_,
- FileSys::Mode mode) const {
+Result VfsDirectoryServiceWrapper::OpenFile(FileSys::VirtualFile* out_file,
+ const std::string& path_, FileSys::Mode mode) const {
const std::string path(Common::FS::SanitizePath(path_));
std::string_view npath = path;
while (!npath.empty() && (npath[0] == '/' || npath[0] == '\\')) {
@@ -224,50 +233,68 @@ ResultVal<FileSys::VirtualFile> VfsDirectoryServiceWrapper::OpenFile(const std::
}
if (mode == FileSys::Mode::Append) {
- return std::make_shared<FileSys::OffsetVfsFile>(file, 0, file->GetSize());
+ *out_file = std::make_shared<FileSys::OffsetVfsFile>(file, 0, file->GetSize());
+ } else {
+ *out_file = file;
}
- return file;
+ return ResultSuccess;
}
-ResultVal<FileSys::VirtualDir> VfsDirectoryServiceWrapper::OpenDirectory(const std::string& path_) {
+Result VfsDirectoryServiceWrapper::OpenDirectory(FileSys::VirtualDir* out_directory,
+ const std::string& path_) {
std::string path(Common::FS::SanitizePath(path_));
auto dir = GetDirectoryRelativeWrapped(backing, path);
if (dir == nullptr) {
// TODO(DarkLordZach): Find a better error code for this
return FileSys::ERROR_PATH_NOT_FOUND;
}
- return dir;
+ *out_directory = dir;
+ return ResultSuccess;
}
-ResultVal<FileSys::EntryType> VfsDirectoryServiceWrapper::GetEntryType(
- const std::string& path_) const {
+Result VfsDirectoryServiceWrapper::GetEntryType(FileSys::EntryType* out_entry_type,
+ const std::string& path_) const {
std::string path(Common::FS::SanitizePath(path_));
auto dir = GetDirectoryRelativeWrapped(backing, Common::FS::GetParentPath(path));
- if (dir == nullptr)
+ if (dir == nullptr) {
return FileSys::ERROR_PATH_NOT_FOUND;
+ }
+
auto filename = Common::FS::GetFilename(path);
// TODO(Subv): Some games use the '/' path, find out what this means.
- if (filename.empty())
- return FileSys::EntryType::Directory;
+ if (filename.empty()) {
+ *out_entry_type = FileSys::EntryType::Directory;
+ return ResultSuccess;
+ }
+
+ if (dir->GetFile(filename) != nullptr) {
+ *out_entry_type = FileSys::EntryType::File;
+ return ResultSuccess;
+ }
+
+ if (dir->GetSubdirectory(filename) != nullptr) {
+ *out_entry_type = FileSys::EntryType::Directory;
+ return ResultSuccess;
+ }
- if (dir->GetFile(filename) != nullptr)
- return FileSys::EntryType::File;
- if (dir->GetSubdirectory(filename) != nullptr)
- return FileSys::EntryType::Directory;
return FileSys::ERROR_PATH_NOT_FOUND;
}
-ResultVal<FileSys::FileTimeStampRaw> VfsDirectoryServiceWrapper::GetFileTimeStampRaw(
- const std::string& path) const {
+Result VfsDirectoryServiceWrapper::GetFileTimeStampRaw(
+ FileSys::FileTimeStampRaw* out_file_time_stamp_raw, const std::string& path) const {
auto dir = GetDirectoryRelativeWrapped(backing, Common::FS::GetParentPath(path));
if (dir == nullptr) {
return FileSys::ERROR_PATH_NOT_FOUND;
}
- if (GetEntryType(path).Failed()) {
+
+ FileSys::EntryType entry_type;
+ if (GetEntryType(&entry_type, path) != ResultSuccess) {
return FileSys::ERROR_PATH_NOT_FOUND;
}
- return dir->GetFileTimeStamp(Common::FS::GetFilename(path));
+
+ *out_file_time_stamp_raw = dir->GetFileTimeStamp(Common::FS::GetFilename(path));
+ return ResultSuccess;
}
FileSystemController::FileSystemController(Core::System& system_) : system{system_} {}
@@ -310,57 +337,59 @@ void FileSystemController::SetPackedUpdate(FileSys::VirtualFile update_raw) {
romfs_factory->SetPackedUpdate(std::move(update_raw));
}
-ResultVal<FileSys::VirtualFile> FileSystemController::OpenRomFSCurrentProcess() const {
+FileSys::VirtualFile FileSystemController::OpenRomFSCurrentProcess() const {
LOG_TRACE(Service_FS, "Opening RomFS for current process");
if (romfs_factory == nullptr) {
- // TODO(bunnei): Find a better error code for this
- return ResultUnknown;
+ return nullptr;
}
return romfs_factory->OpenCurrentProcess(system.GetApplicationProcessProgramID());
}
-ResultVal<FileSys::VirtualFile> FileSystemController::OpenPatchedRomFS(
- u64 title_id, FileSys::ContentRecordType type) const {
+FileSys::VirtualFile FileSystemController::OpenPatchedRomFS(u64 title_id,
+ FileSys::ContentRecordType type) const {
LOG_TRACE(Service_FS, "Opening patched RomFS for title_id={:016X}", title_id);
if (romfs_factory == nullptr) {
- // TODO: Find a better error code for this
- return ResultUnknown;
+ return nullptr;
}
return romfs_factory->OpenPatchedRomFS(title_id, type);
}
-ResultVal<FileSys::VirtualFile> FileSystemController::OpenPatchedRomFSWithProgramIndex(
+FileSys::VirtualFile FileSystemController::OpenPatchedRomFSWithProgramIndex(
u64 title_id, u8 program_index, FileSys::ContentRecordType type) const {
LOG_TRACE(Service_FS, "Opening patched RomFS for title_id={:016X}, program_index={}", title_id,
program_index);
if (romfs_factory == nullptr) {
- // TODO: Find a better error code for this
- return ResultUnknown;
+ return nullptr;
}
return romfs_factory->OpenPatchedRomFSWithProgramIndex(title_id, program_index, type);
}
-ResultVal<FileSys::VirtualFile> FileSystemController::OpenRomFS(
- u64 title_id, FileSys::StorageId storage_id, FileSys::ContentRecordType type) const {
+FileSys::VirtualFile FileSystemController::OpenRomFS(u64 title_id, FileSys::StorageId storage_id,
+ FileSys::ContentRecordType type) const {
LOG_TRACE(Service_FS, "Opening RomFS for title_id={:016X}, storage_id={:02X}, type={:02X}",
title_id, storage_id, type);
if (romfs_factory == nullptr) {
- // TODO(bunnei): Find a better error code for this
- return ResultUnknown;
+ return nullptr;
}
return romfs_factory->Open(title_id, storage_id, type);
}
-ResultVal<FileSys::VirtualDir> FileSystemController::CreateSaveData(
- FileSys::SaveDataSpaceId space, const FileSys::SaveDataAttribute& save_struct) const {
+std::shared_ptr<FileSys::NCA> FileSystemController::OpenBaseNca(
+ u64 title_id, FileSys::StorageId storage_id, FileSys::ContentRecordType type) const {
+ return romfs_factory->GetEntry(title_id, storage_id, type);
+}
+
+Result FileSystemController::CreateSaveData(FileSys::VirtualDir* out_save_data,
+ FileSys::SaveDataSpaceId space,
+ const FileSys::SaveDataAttribute& save_struct) const {
LOG_TRACE(Service_FS, "Creating Save Data for space_id={:01X}, save_struct={}", space,
save_struct.DebugInfo());
@@ -368,11 +397,18 @@ ResultVal<FileSys::VirtualDir> FileSystemController::CreateSaveData(
return FileSys::ERROR_ENTITY_NOT_FOUND;
}
- return save_data_factory->Create(space, save_struct);
+ auto save_data = save_data_factory->Create(space, save_struct);
+ if (save_data == nullptr) {
+ return FileSys::ERROR_ENTITY_NOT_FOUND;
+ }
+
+ *out_save_data = save_data;
+ return ResultSuccess;
}
-ResultVal<FileSys::VirtualDir> FileSystemController::OpenSaveData(
- FileSys::SaveDataSpaceId space, const FileSys::SaveDataAttribute& attribute) const {
+Result FileSystemController::OpenSaveData(FileSys::VirtualDir* out_save_data,
+ FileSys::SaveDataSpaceId space,
+ const FileSys::SaveDataAttribute& attribute) const {
LOG_TRACE(Service_FS, "Opening Save Data for space_id={:01X}, save_struct={}", space,
attribute.DebugInfo());
@@ -380,32 +416,50 @@ ResultVal<FileSys::VirtualDir> FileSystemController::OpenSaveData(
return FileSys::ERROR_ENTITY_NOT_FOUND;
}
- return save_data_factory->Open(space, attribute);
+ auto save_data = save_data_factory->Open(space, attribute);
+ if (save_data == nullptr) {
+ return FileSys::ERROR_ENTITY_NOT_FOUND;
+ }
+
+ *out_save_data = save_data;
+ return ResultSuccess;
}
-ResultVal<FileSys::VirtualDir> FileSystemController::OpenSaveDataSpace(
- FileSys::SaveDataSpaceId space) const {
+Result FileSystemController::OpenSaveDataSpace(FileSys::VirtualDir* out_save_data_space,
+ FileSys::SaveDataSpaceId space) const {
LOG_TRACE(Service_FS, "Opening Save Data Space for space_id={:01X}", space);
if (save_data_factory == nullptr) {
return FileSys::ERROR_ENTITY_NOT_FOUND;
}
- return save_data_factory->GetSaveDataSpaceDirectory(space);
+ auto save_data_space = save_data_factory->GetSaveDataSpaceDirectory(space);
+ if (save_data_space == nullptr) {
+ return FileSys::ERROR_ENTITY_NOT_FOUND;
+ }
+
+ *out_save_data_space = save_data_space;
+ return ResultSuccess;
}
-ResultVal<FileSys::VirtualDir> FileSystemController::OpenSDMC() const {
+Result FileSystemController::OpenSDMC(FileSys::VirtualDir* out_sdmc) const {
LOG_TRACE(Service_FS, "Opening SDMC");
if (sdmc_factory == nullptr) {
return FileSys::ERROR_SD_CARD_NOT_FOUND;
}
- return sdmc_factory->Open();
+ auto sdmc = sdmc_factory->Open();
+ if (sdmc == nullptr) {
+ return FileSys::ERROR_SD_CARD_NOT_FOUND;
+ }
+
+ *out_sdmc = sdmc;
+ return ResultSuccess;
}
-ResultVal<FileSys::VirtualDir> FileSystemController::OpenBISPartition(
- FileSys::BisPartitionId id) const {
+Result FileSystemController::OpenBISPartition(FileSys::VirtualDir* out_bis_partition,
+ FileSys::BisPartitionId id) const {
LOG_TRACE(Service_FS, "Opening BIS Partition with id={:08X}", id);
if (bis_factory == nullptr) {
@@ -417,11 +471,12 @@ ResultVal<FileSys::VirtualDir> FileSystemController::OpenBISPartition(
return FileSys::ERROR_INVALID_ARGUMENT;
}
- return part;
+ *out_bis_partition = part;
+ return ResultSuccess;
}
-ResultVal<FileSys::VirtualFile> FileSystemController::OpenBISPartitionStorage(
- FileSys::BisPartitionId id) const {
+Result FileSystemController::OpenBISPartitionStorage(
+ FileSys::VirtualFile* out_bis_partition_storage, FileSys::BisPartitionId id) const {
LOG_TRACE(Service_FS, "Opening BIS Partition Storage with id={:08X}", id);
if (bis_factory == nullptr) {
@@ -433,7 +488,8 @@ ResultVal<FileSys::VirtualFile> FileSystemController::OpenBISPartitionStorage(
return FileSys::ERROR_INVALID_ARGUMENT;
}
- return part;
+ *out_bis_partition_storage = part;
+ return ResultSuccess;
}
u64 FileSystemController::GetFreeSpaceSize(FileSys::StorageId id) const {
diff --git a/src/core/hle/service/filesystem/filesystem.h b/src/core/hle/service/filesystem/filesystem.h
index a5c1c9d3e..e7e7c4c28 100644
--- a/src/core/hle/service/filesystem/filesystem.h
+++ b/src/core/hle/service/filesystem/filesystem.h
@@ -15,6 +15,7 @@ class System;
namespace FileSys {
class BISFactory;
+class NCA;
class RegisteredCache;
class RegisteredCacheUnion;
class PlaceholderCache;
@@ -64,21 +65,26 @@ public:
Result RegisterBIS(std::unique_ptr<FileSys::BISFactory>&& factory);
void SetPackedUpdate(FileSys::VirtualFile update_raw);
- ResultVal<FileSys::VirtualFile> OpenRomFSCurrentProcess() const;
- ResultVal<FileSys::VirtualFile> OpenPatchedRomFS(u64 title_id,
- FileSys::ContentRecordType type) const;
- ResultVal<FileSys::VirtualFile> OpenPatchedRomFSWithProgramIndex(
- u64 title_id, u8 program_index, FileSys::ContentRecordType type) const;
- ResultVal<FileSys::VirtualFile> OpenRomFS(u64 title_id, FileSys::StorageId storage_id,
+ FileSys::VirtualFile OpenRomFSCurrentProcess() const;
+ FileSys::VirtualFile OpenPatchedRomFS(u64 title_id, FileSys::ContentRecordType type) const;
+ FileSys::VirtualFile OpenPatchedRomFSWithProgramIndex(u64 title_id, u8 program_index,
+ FileSys::ContentRecordType type) const;
+ FileSys::VirtualFile OpenRomFS(u64 title_id, FileSys::StorageId storage_id,
+ FileSys::ContentRecordType type) const;
+ std::shared_ptr<FileSys::NCA> OpenBaseNca(u64 title_id, FileSys::StorageId storage_id,
FileSys::ContentRecordType type) const;
- ResultVal<FileSys::VirtualDir> CreateSaveData(
- FileSys::SaveDataSpaceId space, const FileSys::SaveDataAttribute& save_struct) const;
- ResultVal<FileSys::VirtualDir> OpenSaveData(
- FileSys::SaveDataSpaceId space, const FileSys::SaveDataAttribute& save_struct) const;
- ResultVal<FileSys::VirtualDir> OpenSaveDataSpace(FileSys::SaveDataSpaceId space) const;
- ResultVal<FileSys::VirtualDir> OpenSDMC() const;
- ResultVal<FileSys::VirtualDir> OpenBISPartition(FileSys::BisPartitionId id) const;
- ResultVal<FileSys::VirtualFile> OpenBISPartitionStorage(FileSys::BisPartitionId id) const;
+
+ Result CreateSaveData(FileSys::VirtualDir* out_save_data, FileSys::SaveDataSpaceId space,
+ const FileSys::SaveDataAttribute& save_struct) const;
+ Result OpenSaveData(FileSys::VirtualDir* out_save_data, FileSys::SaveDataSpaceId space,
+ const FileSys::SaveDataAttribute& save_struct) const;
+ Result OpenSaveDataSpace(FileSys::VirtualDir* out_save_data_space,
+ FileSys::SaveDataSpaceId space) const;
+ Result OpenSDMC(FileSys::VirtualDir* out_sdmc) const;
+ Result OpenBISPartition(FileSys::VirtualDir* out_bis_partition,
+ FileSys::BisPartitionId id) const;
+ Result OpenBISPartitionStorage(FileSys::VirtualFile* out_bis_partition_storage,
+ FileSys::BisPartitionId id) const;
u64 GetFreeSpaceSize(FileSys::StorageId id) const;
u64 GetTotalSpaceSize(FileSys::StorageId id) const;
@@ -224,26 +230,28 @@ public:
* @param mode Mode to open the file with
* @return Opened file, or error code
*/
- ResultVal<FileSys::VirtualFile> OpenFile(const std::string& path, FileSys::Mode mode) const;
+ Result OpenFile(FileSys::VirtualFile* out_file, const std::string& path,
+ FileSys::Mode mode) const;
/**
* Open a directory specified by its path
* @param path Path relative to the archive
* @return Opened directory, or error code
*/
- ResultVal<FileSys::VirtualDir> OpenDirectory(const std::string& path);
+ Result OpenDirectory(FileSys::VirtualDir* out_directory, const std::string& path);
/**
* Get the type of the specified path
* @return The type of the specified path or error code
*/
- ResultVal<FileSys::EntryType> GetEntryType(const std::string& path) const;
+ Result GetEntryType(FileSys::EntryType* out_entry_type, const std::string& path) const;
/**
* Get the timestamp of the specified path
* @return The timestamp of the specified path or error code
*/
- ResultVal<FileSys::FileTimeStampRaw> GetFileTimeStampRaw(const std::string& path) const;
+ Result GetFileTimeStampRaw(FileSys::FileTimeStampRaw* out_time_stamp_raw,
+ const std::string& path) const;
private:
FileSys::VirtualDir backing;
diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp
index 427dbc8b3..126cd6ffd 100644
--- a/src/core/hle/service/filesystem/fsp_srv.cpp
+++ b/src/core/hle/service/filesystem/fsp_srv.cpp
@@ -329,6 +329,7 @@ public:
{13, &IFileSystem::CleanDirectoryRecursively, "CleanDirectoryRecursively"},
{14, &IFileSystem::GetFileTimeStampRaw, "GetFileTimeStampRaw"},
{15, nullptr, "QueryEntry"},
+ {16, &IFileSystem::GetFileSystemAttribute, "GetFileSystemAttribute"},
};
RegisterHandlers(functions);
}
@@ -419,14 +420,15 @@ public:
LOG_DEBUG(Service_FS, "called. file={}, mode={}", name, mode);
- auto result = backend.OpenFile(name, mode);
- if (result.Failed()) {
+ FileSys::VirtualFile vfs_file{};
+ auto result = backend.OpenFile(&vfs_file, name, mode);
+ if (result != ResultSuccess) {
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(result.Code());
+ rb.Push(result);
return;
}
- auto file = std::make_shared<IFile>(system, result.Unwrap());
+ auto file = std::make_shared<IFile>(system, vfs_file);
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
rb.Push(ResultSuccess);
@@ -444,14 +446,15 @@ public:
LOG_DEBUG(Service_FS, "called. directory={}, filter={}", name, filter_flags);
- auto result = backend.OpenDirectory(name);
- if (result.Failed()) {
+ FileSys::VirtualDir vfs_dir{};
+ auto result = backend.OpenDirectory(&vfs_dir, name);
+ if (result != ResultSuccess) {
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(result.Code());
+ rb.Push(result);
return;
}
- auto directory = std::make_shared<IDirectory>(system, result.Unwrap());
+ auto directory = std::make_shared<IDirectory>(system, vfs_dir);
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
rb.Push(ResultSuccess);
@@ -464,16 +467,17 @@ public:
LOG_DEBUG(Service_FS, "called. file={}", name);
- auto result = backend.GetEntryType(name);
- if (result.Failed()) {
+ FileSys::EntryType vfs_entry_type{};
+ auto result = backend.GetEntryType(&vfs_entry_type, name);
+ if (result != ResultSuccess) {
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(result.Code());
+ rb.Push(result);
return;
}
IPC::ResponseBuilder rb{ctx, 3};
rb.Push(ResultSuccess);
- rb.Push<u32>(static_cast<u32>(*result));
+ rb.Push<u32>(static_cast<u32>(vfs_entry_type));
}
void Commit(HLERequestContext& ctx) {
@@ -505,16 +509,57 @@ public:
LOG_WARNING(Service_FS, "(Partial Implementation) called. file={}", name);
- auto result = backend.GetFileTimeStampRaw(name);
- if (result.Failed()) {
+ FileSys::FileTimeStampRaw vfs_timestamp{};
+ auto result = backend.GetFileTimeStampRaw(&vfs_timestamp, name);
+ if (result != ResultSuccess) {
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(result.Code());
+ rb.Push(result);
return;
}
IPC::ResponseBuilder rb{ctx, 10};
rb.Push(ResultSuccess);
- rb.PushRaw(*result);
+ rb.PushRaw(vfs_timestamp);
+ }
+
+ void GetFileSystemAttribute(HLERequestContext& ctx) {
+ LOG_WARNING(Service_FS, "(STUBBED) called");
+
+ struct FileSystemAttribute {
+ u8 dir_entry_name_length_max_defined;
+ u8 file_entry_name_length_max_defined;
+ u8 dir_path_name_length_max_defined;
+ u8 file_path_name_length_max_defined;
+ INSERT_PADDING_BYTES_NOINIT(0x5);
+ u8 utf16_dir_entry_name_length_max_defined;
+ u8 utf16_file_entry_name_length_max_defined;
+ u8 utf16_dir_path_name_length_max_defined;
+ u8 utf16_file_path_name_length_max_defined;
+ INSERT_PADDING_BYTES_NOINIT(0x18);
+ s32 dir_entry_name_length_max;
+ s32 file_entry_name_length_max;
+ s32 dir_path_name_length_max;
+ s32 file_path_name_length_max;
+ INSERT_PADDING_WORDS_NOINIT(0x5);
+ s32 utf16_dir_entry_name_length_max;
+ s32 utf16_file_entry_name_length_max;
+ s32 utf16_dir_path_name_length_max;
+ s32 utf16_file_path_name_length_max;
+ INSERT_PADDING_WORDS_NOINIT(0x18);
+ INSERT_PADDING_WORDS_NOINIT(0x1);
+ };
+ static_assert(sizeof(FileSystemAttribute) == 0xc0,
+ "FileSystemAttribute has incorrect size");
+
+ FileSystemAttribute savedata_attribute{};
+ savedata_attribute.dir_entry_name_length_max_defined = true;
+ savedata_attribute.file_entry_name_length_max_defined = true;
+ savedata_attribute.dir_entry_name_length_max = 0x40;
+ savedata_attribute.file_entry_name_length_max = 0x40;
+
+ IPC::ResponseBuilder rb{ctx, 50};
+ rb.Push(ResultSuccess);
+ rb.PushRaw(savedata_attribute);
}
private:
@@ -572,14 +617,15 @@ private:
}
void FindAllSaves(FileSys::SaveDataSpaceId space) {
- const auto save_root = fsc.OpenSaveDataSpace(space);
+ FileSys::VirtualDir save_root{};
+ const auto result = fsc.OpenSaveDataSpace(&save_root, space);
- if (save_root.Failed() || *save_root == nullptr) {
+ if (result != ResultSuccess || save_root == nullptr) {
LOG_ERROR(Service_FS, "The save root for the space_id={:02X} was invalid!", space);
return;
}
- for (const auto& type : (*save_root)->GetSubdirectories()) {
+ for (const auto& type : save_root->GetSubdirectories()) {
if (type->GetName() == "save") {
for (const auto& save_id : type->GetSubdirectories()) {
for (const auto& user_id : save_id->GetSubdirectories()) {
@@ -693,7 +739,7 @@ FSP_SRV::FSP_SRV(Core::System& system_)
{19, nullptr, "FormatSdCardFileSystem"},
{21, nullptr, "DeleteSaveDataFileSystem"},
{22, &FSP_SRV::CreateSaveDataFileSystem, "CreateSaveDataFileSystem"},
- {23, nullptr, "CreateSaveDataFileSystemBySystemSaveDataId"},
+ {23, &FSP_SRV::CreateSaveDataFileSystemBySystemSaveDataId, "CreateSaveDataFileSystemBySystemSaveDataId"},
{24, nullptr, "RegisterSaveDataFileSystemAtomicDeletion"},
{25, nullptr, "DeleteSaveDataFileSystemBySaveDataSpaceId"},
{26, nullptr, "FormatSdCardDryRun"},
@@ -707,7 +753,7 @@ FSP_SRV::FSP_SRV(Core::System& system_)
{35, nullptr, "CreateSaveDataFileSystemByHashSalt"},
{36, nullptr, "OpenHostFileSystemWithOption"},
{51, &FSP_SRV::OpenSaveDataFileSystem, "OpenSaveDataFileSystem"},
- {52, nullptr, "OpenSaveDataFileSystemBySystemSaveDataId"},
+ {52, &FSP_SRV::OpenSaveDataFileSystemBySystemSaveDataId, "OpenSaveDataFileSystemBySystemSaveDataId"},
{53, &FSP_SRV::OpenReadOnlySaveDataFileSystem, "OpenReadOnlySaveDataFileSystem"},
{57, nullptr, "ReadSaveDataFileSystemExtraDataBySaveDataSpaceId"},
{58, nullptr, "ReadSaveDataFileSystemExtraData"},
@@ -809,6 +855,9 @@ FSP_SRV::FSP_SRV(Core::System& system_)
if (Settings::values.enable_fs_access_log) {
access_log_mode = AccessLogMode::SdCard;
}
+
+ // This should be true on creation
+ fsc.SetAutoSaveDataCreation(true);
}
FSP_SRV::~FSP_SRV() = default;
@@ -837,9 +886,11 @@ void FSP_SRV::OpenFileSystemWithPatch(HLERequestContext& ctx) {
void FSP_SRV::OpenSdCardFileSystem(HLERequestContext& ctx) {
LOG_DEBUG(Service_FS, "called");
- auto filesystem =
- std::make_shared<IFileSystem>(system, fsc.OpenSDMC().Unwrap(),
- SizeGetter::FromStorageId(fsc, FileSys::StorageId::SdCard));
+ FileSys::VirtualDir sdmc_dir{};
+ fsc.OpenSDMC(&sdmc_dir);
+
+ auto filesystem = std::make_shared<IFileSystem>(
+ system, sdmc_dir, SizeGetter::FromStorageId(fsc, FileSys::StorageId::SdCard));
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
rb.Push(ResultSuccess);
@@ -856,7 +907,23 @@ void FSP_SRV::CreateSaveDataFileSystem(HLERequestContext& ctx) {
LOG_DEBUG(Service_FS, "called save_struct = {}, uid = {:016X}{:016X}", save_struct.DebugInfo(),
uid[1], uid[0]);
- fsc.CreateSaveData(FileSys::SaveDataSpaceId::NandUser, save_struct);
+ FileSys::VirtualDir save_data_dir{};
+ fsc.CreateSaveData(&save_data_dir, FileSys::SaveDataSpaceId::NandUser, save_struct);
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
+void FSP_SRV::CreateSaveDataFileSystemBySystemSaveDataId(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+
+ auto save_struct = rp.PopRaw<FileSys::SaveDataAttribute>();
+ [[maybe_unused]] auto save_create_struct = rp.PopRaw<std::array<u8, 0x40>>();
+
+ LOG_DEBUG(Service_FS, "called save_struct = {}", save_struct.DebugInfo());
+
+ FileSys::VirtualDir save_data_dir{};
+ fsc.CreateSaveData(&save_data_dir, FileSys::SaveDataSpaceId::NandSystem, save_struct);
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);
@@ -874,8 +941,9 @@ void FSP_SRV::OpenSaveDataFileSystem(HLERequestContext& ctx) {
LOG_INFO(Service_FS, "called.");
- auto dir = fsc.OpenSaveData(parameters.space_id, parameters.attribute);
- if (dir.Failed()) {
+ FileSys::VirtualDir dir{};
+ auto result = fsc.OpenSaveData(&dir, parameters.space_id, parameters.attribute);
+ if (result != ResultSuccess) {
IPC::ResponseBuilder rb{ctx, 2, 0, 0};
rb.Push(FileSys::ERROR_ENTITY_NOT_FOUND);
return;
@@ -899,14 +967,19 @@ void FSP_SRV::OpenSaveDataFileSystem(HLERequestContext& ctx) {
ASSERT(false);
}
- auto filesystem = std::make_shared<IFileSystem>(system, std::move(dir.Unwrap()),
- SizeGetter::FromStorageId(fsc, id));
+ auto filesystem =
+ std::make_shared<IFileSystem>(system, std::move(dir), SizeGetter::FromStorageId(fsc, id));
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
rb.Push(ResultSuccess);
rb.PushIpcInterface<IFileSystem>(std::move(filesystem));
}
+void FSP_SRV::OpenSaveDataFileSystemBySystemSaveDataId(HLERequestContext& ctx) {
+ LOG_WARNING(Service_FS, "(STUBBED) called, delegating to 51 OpenSaveDataFilesystem");
+ OpenSaveDataFileSystem(ctx);
+}
+
void FSP_SRV::OpenReadOnlySaveDataFileSystem(HLERequestContext& ctx) {
LOG_WARNING(Service_FS, "(STUBBED) called, delegating to 51 OpenSaveDataFilesystem");
OpenSaveDataFileSystem(ctx);
@@ -970,7 +1043,7 @@ void FSP_SRV::OpenDataStorageByCurrentProcess(HLERequestContext& ctx) {
if (!romfs) {
auto current_romfs = fsc.OpenRomFSCurrentProcess();
- if (current_romfs.Failed()) {
+ if (!current_romfs) {
// TODO (bunnei): Find the right error code to use here
LOG_CRITICAL(Service_FS, "no file system interface available!");
IPC::ResponseBuilder rb{ctx, 2};
@@ -978,7 +1051,7 @@ void FSP_SRV::OpenDataStorageByCurrentProcess(HLERequestContext& ctx) {
return;
}
- romfs = current_romfs.Unwrap();
+ romfs = current_romfs;
}
auto storage = std::make_shared<IStorage>(system, romfs);
@@ -999,7 +1072,7 @@ void FSP_SRV::OpenDataStorageByDataId(HLERequestContext& ctx) {
auto data = fsc.OpenRomFS(title_id, storage_id, FileSys::ContentRecordType::Data);
- if (data.Failed()) {
+ if (!data) {
const auto archive = FileSys::SystemArchive::SynthesizeSystemArchive(title_id);
if (archive != nullptr) {
@@ -1020,8 +1093,9 @@ void FSP_SRV::OpenDataStorageByDataId(HLERequestContext& ctx) {
const FileSys::PatchManager pm{title_id, fsc, content_provider};
+ auto base = fsc.OpenBaseNca(title_id, storage_id, FileSys::ContentRecordType::Data);
auto storage = std::make_shared<IStorage>(
- system, pm.PatchRomFS(std::move(data.Unwrap()), 0, FileSys::ContentRecordType::Data));
+ system, pm.PatchRomFS(base.get(), std::move(data), FileSys::ContentRecordType::Data));
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
rb.Push(ResultSuccess);
@@ -1051,7 +1125,7 @@ void FSP_SRV::OpenDataStorageWithProgramIndex(HLERequestContext& ctx) {
fsc.OpenPatchedRomFSWithProgramIndex(system.GetApplicationProcessProgramID(), program_index,
FileSys::ContentRecordType::Program);
- if (patched_romfs.Failed()) {
+ if (!patched_romfs) {
// TODO: Find the right error code to use here
LOG_ERROR(Service_FS, "could not open storage with program_index={}", program_index);
@@ -1060,7 +1134,7 @@ void FSP_SRV::OpenDataStorageWithProgramIndex(HLERequestContext& ctx) {
return;
}
- auto storage = std::make_shared<IStorage>(system, std::move(patched_romfs.Unwrap()));
+ auto storage = std::make_shared<IStorage>(system, std::move(patched_romfs));
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
rb.Push(ResultSuccess);
diff --git a/src/core/hle/service/filesystem/fsp_srv.h b/src/core/hle/service/filesystem/fsp_srv.h
index 4f3c2f6de..280bc9867 100644
--- a/src/core/hle/service/filesystem/fsp_srv.h
+++ b/src/core/hle/service/filesystem/fsp_srv.h
@@ -39,7 +39,9 @@ private:
void OpenFileSystemWithPatch(HLERequestContext& ctx);
void OpenSdCardFileSystem(HLERequestContext& ctx);
void CreateSaveDataFileSystem(HLERequestContext& ctx);
+ void CreateSaveDataFileSystemBySystemSaveDataId(HLERequestContext& ctx);
void OpenSaveDataFileSystem(HLERequestContext& ctx);
+ void OpenSaveDataFileSystemBySystemSaveDataId(HLERequestContext& ctx);
void OpenReadOnlySaveDataFileSystem(HLERequestContext& ctx);
void OpenSaveDataInfoReaderBySaveDataSpaceId(HLERequestContext& ctx);
void OpenSaveDataInfoReaderOnlyCacheStorage(HLERequestContext& ctx);
diff --git a/src/core/hle/service/glue/arp.cpp b/src/core/hle/service/glue/arp.cpp
index ed6fcb5f6..6f1151b03 100644
--- a/src/core/hle/service/glue/arp.cpp
+++ b/src/core/hle/service/glue/arp.cpp
@@ -65,18 +65,19 @@ void ARP_R::GetApplicationLaunchProperty(HLERequestContext& ctx) {
return;
}
- const auto res = manager.GetLaunchProperty(*title_id);
+ ApplicationLaunchProperty launch_property{};
+ const auto res = manager.GetLaunchProperty(&launch_property, *title_id);
- if (res.Failed()) {
+ if (res != ResultSuccess) {
LOG_ERROR(Service_ARP, "Failed to get launch property!");
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(res.Code());
+ rb.Push(res);
return;
}
IPC::ResponseBuilder rb{ctx, 6};
rb.Push(ResultSuccess);
- rb.PushRaw(*res);
+ rb.PushRaw(launch_property);
}
void ARP_R::GetApplicationLaunchPropertyWithApplicationId(HLERequestContext& ctx) {
@@ -85,18 +86,19 @@ void ARP_R::GetApplicationLaunchPropertyWithApplicationId(HLERequestContext& ctx
LOG_DEBUG(Service_ARP, "called, title_id={:016X}", title_id);
- const auto res = manager.GetLaunchProperty(title_id);
+ ApplicationLaunchProperty launch_property{};
+ const auto res = manager.GetLaunchProperty(&launch_property, title_id);
- if (res.Failed()) {
+ if (res != ResultSuccess) {
LOG_ERROR(Service_ARP, "Failed to get launch property!");
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(res.Code());
+ rb.Push(res);
return;
}
IPC::ResponseBuilder rb{ctx, 6};
rb.Push(ResultSuccess);
- rb.PushRaw(*res);
+ rb.PushRaw(launch_property);
}
void ARP_R::GetApplicationControlProperty(HLERequestContext& ctx) {
@@ -113,16 +115,17 @@ void ARP_R::GetApplicationControlProperty(HLERequestContext& ctx) {
return;
}
- const auto res = manager.GetControlProperty(*title_id);
+ std::vector<u8> nacp_data;
+ const auto res = manager.GetControlProperty(&nacp_data, *title_id);
- if (res.Failed()) {
+ if (res != ResultSuccess) {
LOG_ERROR(Service_ARP, "Failed to get control property!");
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(res.Code());
+ rb.Push(res);
return;
}
- ctx.WriteBuffer(*res);
+ ctx.WriteBuffer(nacp_data);
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);
@@ -134,16 +137,17 @@ void ARP_R::GetApplicationControlPropertyWithApplicationId(HLERequestContext& ct
LOG_DEBUG(Service_ARP, "called, title_id={:016X}", title_id);
- const auto res = manager.GetControlProperty(title_id);
+ std::vector<u8> nacp_data;
+ const auto res = manager.GetControlProperty(&nacp_data, title_id);
- if (res.Failed()) {
+ if (res != ResultSuccess) {
LOG_ERROR(Service_ARP, "Failed to get control property!");
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(res.Code());
+ rb.Push(res);
return;
}
- ctx.WriteBuffer(*res);
+ ctx.WriteBuffer(nacp_data);
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);
diff --git a/src/core/hle/service/glue/glue_manager.cpp b/src/core/hle/service/glue/glue_manager.cpp
index 4bf67921b..22f001704 100644
--- a/src/core/hle/service/glue/glue_manager.cpp
+++ b/src/core/hle/service/glue/glue_manager.cpp
@@ -15,7 +15,8 @@ ARPManager::ARPManager() = default;
ARPManager::~ARPManager() = default;
-ResultVal<ApplicationLaunchProperty> ARPManager::GetLaunchProperty(u64 title_id) const {
+Result ARPManager::GetLaunchProperty(ApplicationLaunchProperty* out_launch_property,
+ u64 title_id) const {
if (title_id == 0) {
return Glue::ResultInvalidProcessId;
}
@@ -25,10 +26,11 @@ ResultVal<ApplicationLaunchProperty> ARPManager::GetLaunchProperty(u64 title_id)
return Glue::ResultProcessIdNotRegistered;
}
- return iter->second.launch;
+ *out_launch_property = iter->second.launch;
+ return ResultSuccess;
}
-ResultVal<std::vector<u8>> ARPManager::GetControlProperty(u64 title_id) const {
+Result ARPManager::GetControlProperty(std::vector<u8>* out_control_property, u64 title_id) const {
if (title_id == 0) {
return Glue::ResultInvalidProcessId;
}
@@ -38,7 +40,8 @@ ResultVal<std::vector<u8>> ARPManager::GetControlProperty(u64 title_id) const {
return Glue::ResultProcessIdNotRegistered;
}
- return iter->second.control;
+ *out_control_property = iter->second.control;
+ return ResultSuccess;
}
Result ARPManager::Register(u64 title_id, ApplicationLaunchProperty launch,
diff --git a/src/core/hle/service/glue/glue_manager.h b/src/core/hle/service/glue/glue_manager.h
index 1cf53d9d9..216aa34c1 100644
--- a/src/core/hle/service/glue/glue_manager.h
+++ b/src/core/hle/service/glue/glue_manager.h
@@ -32,12 +32,12 @@ public:
// Returns the ApplicationLaunchProperty corresponding to the provided title ID if it was
// previously registered, otherwise ResultProcessIdNotRegistered if it was never registered or
// ResultInvalidProcessId if the title ID is 0.
- ResultVal<ApplicationLaunchProperty> GetLaunchProperty(u64 title_id) const;
+ Result GetLaunchProperty(ApplicationLaunchProperty* out_launch_property, u64 title_id) const;
// Returns a vector of the raw bytes of NACP data (necessarily 0x4000 in size) corresponding to
// the provided title ID if it was previously registered, otherwise ResultProcessIdNotRegistered
// if it was never registered or ResultInvalidProcessId if the title ID is 0.
- ResultVal<std::vector<u8>> GetControlProperty(u64 title_id) const;
+ Result GetControlProperty(std::vector<u8>* out_control_property, u64 title_id) const;
// Adds a new entry to the internal database with the provided parameters, returning
// ResultProcessIdNotRegistered if attempting to re-register a title ID without an intermediate
diff --git a/src/core/hle/service/hid/controllers/gesture.cpp b/src/core/hle/service/hid/controllers/gesture.cpp
index 03432f7cb..63eecd42b 100644
--- a/src/core/hle/service/hid/controllers/gesture.cpp
+++ b/src/core/hle/service/hid/controllers/gesture.cpp
@@ -331,7 +331,7 @@ Controller_Gesture::GestureProperties Controller_Gesture::GetGestureProperties()
};
// Hack: There is no touch in docked but games still allow it
- if (Settings::values.use_docked_mode.GetValue()) {
+ if (Settings::IsDockedMode()) {
gesture.points[id] = {
.x = static_cast<s32>(active_x * Layout::ScreenDocked::Width),
.y = static_cast<s32>(active_y * Layout::ScreenDocked::Height),
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp
index 28818c813..bc822f19e 100644
--- a/src/core/hle/service/hid/controllers/npad.cpp
+++ b/src/core/hle/service/hid/controllers/npad.cpp
@@ -193,7 +193,7 @@ void Controller_NPad::InitNewlyAddedController(Core::HID::NpadIdType npad_id) {
shared_memory->system_properties.use_minus.Assign(1);
shared_memory->system_properties.is_charging_joy_dual.Assign(
battery_level.dual.is_charging);
- shared_memory->applet_nfc_xcd.applet_footer.type = AppletFooterUiType::SwitchProController;
+ shared_memory->applet_footer_type = AppletFooterUiType::SwitchProController;
shared_memory->sixaxis_fullkey_properties.is_newly_assigned.Assign(1);
break;
case Core::HID::NpadStyleIndex::Handheld:
@@ -216,8 +216,7 @@ void Controller_NPad::InitNewlyAddedController(Core::HID::NpadIdType npad_id) {
shared_memory->system_properties.is_charging_joy_right.Assign(
battery_level.right.is_charging);
shared_memory->assignment_mode = NpadJoyAssignmentMode::Dual;
- shared_memory->applet_nfc_xcd.applet_footer.type =
- AppletFooterUiType::HandheldJoyConLeftJoyConRight;
+ shared_memory->applet_footer_type = AppletFooterUiType::HandheldJoyConLeftJoyConRight;
shared_memory->sixaxis_handheld_properties.is_newly_assigned.Assign(1);
break;
case Core::HID::NpadStyleIndex::JoyconDual:
@@ -247,19 +246,19 @@ void Controller_NPad::InitNewlyAddedController(Core::HID::NpadIdType npad_id) {
shared_memory->assignment_mode = NpadJoyAssignmentMode::Dual;
if (controller.is_dual_left_connected && controller.is_dual_right_connected) {
- shared_memory->applet_nfc_xcd.applet_footer.type = AppletFooterUiType::JoyDual;
+ shared_memory->applet_footer_type = AppletFooterUiType::JoyDual;
shared_memory->fullkey_color.fullkey = body_colors.left;
shared_memory->battery_level_dual = battery_level.left.battery_level;
shared_memory->system_properties.is_charging_joy_dual.Assign(
battery_level.left.is_charging);
} else if (controller.is_dual_left_connected) {
- shared_memory->applet_nfc_xcd.applet_footer.type = AppletFooterUiType::JoyDualLeftOnly;
+ shared_memory->applet_footer_type = AppletFooterUiType::JoyDualLeftOnly;
shared_memory->fullkey_color.fullkey = body_colors.left;
shared_memory->battery_level_dual = battery_level.left.battery_level;
shared_memory->system_properties.is_charging_joy_dual.Assign(
battery_level.left.is_charging);
} else {
- shared_memory->applet_nfc_xcd.applet_footer.type = AppletFooterUiType::JoyDualRightOnly;
+ shared_memory->applet_footer_type = AppletFooterUiType::JoyDualRightOnly;
shared_memory->fullkey_color.fullkey = body_colors.right;
shared_memory->battery_level_dual = battery_level.right.battery_level;
shared_memory->system_properties.is_charging_joy_dual.Assign(
@@ -278,7 +277,7 @@ void Controller_NPad::InitNewlyAddedController(Core::HID::NpadIdType npad_id) {
shared_memory->system_properties.use_minus.Assign(1);
shared_memory->system_properties.is_charging_joy_left.Assign(
battery_level.left.is_charging);
- shared_memory->applet_nfc_xcd.applet_footer.type = AppletFooterUiType::JoyLeftHorizontal;
+ shared_memory->applet_footer_type = AppletFooterUiType::JoyLeftHorizontal;
shared_memory->sixaxis_left_properties.is_newly_assigned.Assign(1);
break;
case Core::HID::NpadStyleIndex::JoyconRight:
@@ -293,7 +292,7 @@ void Controller_NPad::InitNewlyAddedController(Core::HID::NpadIdType npad_id) {
shared_memory->system_properties.use_plus.Assign(1);
shared_memory->system_properties.is_charging_joy_right.Assign(
battery_level.right.is_charging);
- shared_memory->applet_nfc_xcd.applet_footer.type = AppletFooterUiType::JoyRightHorizontal;
+ shared_memory->applet_footer_type = AppletFooterUiType::JoyRightHorizontal;
shared_memory->sixaxis_right_properties.is_newly_assigned.Assign(1);
break;
case Core::HID::NpadStyleIndex::GameCube:
@@ -314,12 +313,12 @@ void Controller_NPad::InitNewlyAddedController(Core::HID::NpadIdType npad_id) {
case Core::HID::NpadStyleIndex::SNES:
shared_memory->style_tag.lucia.Assign(1);
shared_memory->device_type.fullkey.Assign(1);
- shared_memory->applet_nfc_xcd.applet_footer.type = AppletFooterUiType::Lucia;
+ shared_memory->applet_footer_type = AppletFooterUiType::Lucia;
break;
case Core::HID::NpadStyleIndex::N64:
shared_memory->style_tag.lagoon.Assign(1);
shared_memory->device_type.fullkey.Assign(1);
- shared_memory->applet_nfc_xcd.applet_footer.type = AppletFooterUiType::Lagon;
+ shared_memory->applet_footer_type = AppletFooterUiType::Lagon;
break;
case Core::HID::NpadStyleIndex::SegaGenesis:
shared_memory->style_tag.lager.Assign(1);
@@ -347,6 +346,7 @@ void Controller_NPad::InitNewlyAddedController(Core::HID::NpadIdType npad_id) {
}
SignalStyleSetChangedEvent(npad_id);
WriteEmptyEntry(controller.shared_memory);
+ hid_core.SetLastActiveController(npad_id);
}
void Controller_NPad::OnInit() {
@@ -419,9 +419,17 @@ void Controller_NPad::RequestPadStateUpdate(Core::HID::NpadIdType npad_id) {
std::scoped_lock lock{mutex};
auto& controller = GetControllerFromNpadIdType(npad_id);
const auto controller_type = controller.device->GetNpadStyleIndex();
+
+ if (!controller.device->IsConnected() && controller.is_connected) {
+ DisconnectNpad(npad_id);
+ return;
+ }
if (!controller.device->IsConnected()) {
return;
}
+ if (controller.device->IsConnected() && !controller.is_connected) {
+ InitNewlyAddedController(npad_id);
+ }
// This function is unique to yuzu for the turbo buttons and motion to work properly
controller.device->StatusUpdate();
@@ -468,6 +476,10 @@ void Controller_NPad::RequestPadStateUpdate(Core::HID::NpadIdType npad_id) {
pad_entry.npad_buttons.l.Assign(button_state.zl);
pad_entry.npad_buttons.r.Assign(button_state.zr);
}
+
+ if (pad_entry.npad_buttons.raw != Core::HID::NpadButton::None) {
+ hid_core.SetLastActiveController(npad_id);
+ }
}
void Controller_NPad::OnUpdate(const Core::Timing::CoreTiming& core_timing) {
@@ -736,14 +748,6 @@ void Controller_NPad::SetSupportedStyleSet(Core::HID::NpadStyleTag style_set) {
// Once SetSupportedStyleSet is called controllers are fully initialized
is_controller_initialized = true;
-
- // Connect all active controllers
- for (auto& controller : controller_data) {
- const auto& device = controller.device;
- if (device->IsConnected()) {
- AddNewControllerAt(device->GetNpadStyleIndex(), device->GetNpadIdType());
- }
- }
}
Core::HID::NpadStyleTag Controller_NPad::GetSupportedStyleSet() const {
@@ -1116,7 +1120,7 @@ Result Controller_NPad::DisconnectNpad(Core::HID::NpadIdType npad_id) {
.left = {},
.right = {},
};
- shared_memory->applet_nfc_xcd.applet_footer.type = AppletFooterUiType::None;
+ shared_memory->applet_footer_type = AppletFooterUiType::None;
controller.is_dual_left_connected = true;
controller.is_dual_right_connected = true;
@@ -1508,6 +1512,31 @@ Core::HID::NpadButton Controller_NPad::GetAndResetPressState() {
return static_cast<Core::HID::NpadButton>(press_state.exchange(0));
}
+void Controller_NPad::ApplyNpadSystemCommonPolicy() {
+ Core::HID::NpadStyleTag styletag{};
+ styletag.fullkey.Assign(1);
+ styletag.handheld.Assign(1);
+ styletag.joycon_dual.Assign(1);
+ styletag.system_ext.Assign(1);
+ styletag.system.Assign(1);
+ SetSupportedStyleSet(styletag);
+
+ SetNpadHandheldActivationMode(NpadHandheldActivationMode::Dual);
+
+ supported_npad_id_types.clear();
+ supported_npad_id_types.resize(10);
+ supported_npad_id_types[0] = Core::HID::NpadIdType::Player1;
+ supported_npad_id_types[1] = Core::HID::NpadIdType::Player2;
+ supported_npad_id_types[2] = Core::HID::NpadIdType::Player3;
+ supported_npad_id_types[3] = Core::HID::NpadIdType::Player4;
+ supported_npad_id_types[4] = Core::HID::NpadIdType::Player5;
+ supported_npad_id_types[5] = Core::HID::NpadIdType::Player6;
+ supported_npad_id_types[6] = Core::HID::NpadIdType::Player7;
+ supported_npad_id_types[7] = Core::HID::NpadIdType::Player8;
+ supported_npad_id_types[8] = Core::HID::NpadIdType::Other;
+ supported_npad_id_types[9] = Core::HID::NpadIdType::Handheld;
+}
+
bool Controller_NPad::IsControllerSupported(Core::HID::NpadStyleIndex controller) const {
if (controller == Core::HID::NpadStyleIndex::Handheld) {
const bool support_handheld =
@@ -1518,7 +1547,7 @@ bool Controller_NPad::IsControllerSupported(Core::HID::NpadStyleIndex controller
return false;
}
// Handheld shouldn't be supported in docked mode
- if (Settings::values.use_docked_mode.GetValue()) {
+ if (Settings::IsDockedMode()) {
return false;
}
diff --git a/src/core/hle/service/hid/controllers/npad.h b/src/core/hle/service/hid/controllers/npad.h
index 776411261..949e58a4c 100644
--- a/src/core/hle/service/hid/controllers/npad.h
+++ b/src/core/hle/service/hid/controllers/npad.h
@@ -190,6 +190,8 @@ public:
// Specifically for cheat engine and other features.
Core::HID::NpadButton GetAndResetPressState();
+ void ApplyNpadSystemCommonPolicy();
+
static bool IsNpadIdValid(Core::HID::NpadIdType npad_id);
static Result IsDeviceHandleValid(const Core::HID::VibrationDeviceHandle& device_handle);
static Result VerifyValidSixAxisSensorHandle(
@@ -360,7 +362,7 @@ private:
enum class AppletFooterUiType : u8 {
None = 0,
HandheldNone = 1,
- HandheldJoyConLeftOnly = 1,
+ HandheldJoyConLeftOnly = 2,
HandheldJoyConRightOnly = 3,
HandheldJoyConLeftJoyConRight = 4,
JoyDual = 5,
@@ -382,13 +384,6 @@ private:
Lagon = 21,
};
- struct AppletFooterUi {
- AppletFooterUiAttributes attributes{};
- AppletFooterUiType type{AppletFooterUiType::None};
- INSERT_PADDING_BYTES(0x5B); // Reserved
- };
- static_assert(sizeof(AppletFooterUi) == 0x60, "AppletFooterUi is an invalid size");
-
// This is nn::hid::NpadLarkType
enum class NpadLarkType : u32 {
Invalid,
@@ -419,13 +414,6 @@ private:
U,
};
- struct AppletNfcXcd {
- union {
- AppletFooterUi applet_footer{};
- Lifo<NfcXcdDeviceHandleStateImpl, 0x2> nfc_xcd_device_lifo;
- };
- };
-
// This is nn::hid::detail::NpadInternalState
struct NpadInternalState {
Core::HID::NpadStyleTag style_tag{Core::HID::NpadStyleSet::None};
@@ -452,7 +440,9 @@ private:
Core::HID::NpadBatteryLevel battery_level_dual{};
Core::HID::NpadBatteryLevel battery_level_left{};
Core::HID::NpadBatteryLevel battery_level_right{};
- AppletNfcXcd applet_nfc_xcd{};
+ AppletFooterUiAttributes applet_footer_attributes{};
+ AppletFooterUiType applet_footer_type{AppletFooterUiType::None};
+ INSERT_PADDING_BYTES(0x5B); // Reserved
INSERT_PADDING_BYTES(0x20); // Unknown
Lifo<NpadGcTriggerState, hid_entry_count> gc_trigger_lifo{};
NpadLarkType lark_type_l_and_main{};
diff --git a/src/core/hle/service/hid/controllers/touchscreen.h b/src/core/hle/service/hid/controllers/touchscreen.h
index e57a3a80e..dd00921fd 100644
--- a/src/core/hle/service/hid/controllers/touchscreen.h
+++ b/src/core/hle/service/hid/controllers/touchscreen.h
@@ -16,22 +16,6 @@ class EmulatedConsole;
namespace Service::HID {
class Controller_Touchscreen final : public ControllerBase {
public:
- // This is nn::hid::TouchScreenModeForNx
- enum class TouchScreenModeForNx : u8 {
- UseSystemSetting,
- Finger,
- Heat2,
- };
-
- // This is nn::hid::TouchScreenConfigurationForNx
- struct TouchScreenConfigurationForNx {
- TouchScreenModeForNx mode{TouchScreenModeForNx::UseSystemSetting};
- INSERT_PADDING_BYTES_NOINIT(0x7);
- INSERT_PADDING_BYTES_NOINIT(0xF); // Reserved
- };
- static_assert(sizeof(TouchScreenConfigurationForNx) == 0x17,
- "TouchScreenConfigurationForNx is an invalid size");
-
explicit Controller_Touchscreen(Core::HID::HIDCore& hid_core_, u8* raw_shared_memory_);
~Controller_Touchscreen() override;
diff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cpp
index 2bf1d8a27..4d70006c1 100644
--- a/src/core/hle/service/hid/hid.cpp
+++ b/src/core/hle/service/hid/hid.cpp
@@ -231,8 +231,10 @@ std::shared_ptr<IAppletResource> Hid::GetAppletResource() {
return applet_resource;
}
-Hid::Hid(Core::System& system_)
- : ServiceFramework{system_, "hid"}, service_context{system_, service_name} {
+Hid::Hid(Core::System& system_, std::shared_ptr<IAppletResource> applet_resource_)
+ : ServiceFramework{system_, "hid"}, applet_resource{applet_resource_}, service_context{
+ system_,
+ service_name} {
// clang-format off
static const FunctionInfo functions[] = {
{0, &Hid::CreateAppletResource, "CreateAppletResource"},
@@ -2368,7 +2370,7 @@ void Hid::GetNpadCommunicationMode(HLERequestContext& ctx) {
void Hid::SetTouchScreenConfiguration(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
- const auto touchscreen_mode{rp.PopRaw<Controller_Touchscreen::TouchScreenConfigurationForNx>()};
+ const auto touchscreen_mode{rp.PopRaw<Core::HID::TouchScreenConfigurationForNx>()};
const auto applet_resource_user_id{rp.Pop<u64>()};
LOG_WARNING(Service_HID, "(STUBBED) called, touchscreen_mode={}, applet_resource_user_id={}",
@@ -2543,7 +2545,9 @@ public:
class HidSys final : public ServiceFramework<HidSys> {
public:
- explicit HidSys(Core::System& system_) : ServiceFramework{system_, "hid:sys"} {
+ explicit HidSys(Core::System& system_, std::shared_ptr<IAppletResource> applet_resource_)
+ : ServiceFramework{system_, "hid:sys"}, service_context{system_, "hid:sys"},
+ applet_resource{applet_resource_} {
// clang-format off
static const FunctionInfo functions[] = {
{31, nullptr, "SendKeyboardLockKeyEvent"},
@@ -2568,7 +2572,7 @@ public:
{303, &HidSys::ApplyNpadSystemCommonPolicy, "ApplyNpadSystemCommonPolicy"},
{304, nullptr, "EnableAssigningSingleOnSlSrPress"},
{305, nullptr, "DisableAssigningSingleOnSlSrPress"},
- {306, nullptr, "GetLastActiveNpad"},
+ {306, &HidSys::GetLastActiveNpad, "GetLastActiveNpad"},
{307, nullptr, "GetNpadSystemExtStyle"},
{308, nullptr, "ApplyNpadSystemCommonPolicyFull"},
{309, nullptr, "GetNpadFullKeyGripColor"},
@@ -2624,7 +2628,7 @@ public:
{700, nullptr, "ActivateUniquePad"},
{702, nullptr, "AcquireUniquePadConnectionEventHandle"},
{703, nullptr, "GetUniquePadIds"},
- {751, nullptr, "AcquireJoyDetachOnBluetoothOffEventHandle"},
+ {751, &HidSys::AcquireJoyDetachOnBluetoothOffEventHandle, "AcquireJoyDetachOnBluetoothOffEventHandle"},
{800, nullptr, "ListSixAxisSensorHandles"},
{801, nullptr, "IsSixAxisSensorUserCalibrationSupported"},
{802, nullptr, "ResetSixAxisSensorCalibrationValues"},
@@ -2650,7 +2654,7 @@ public:
{830, nullptr, "SetNotificationLedPattern"},
{831, nullptr, "SetNotificationLedPatternWithTimeout"},
{832, nullptr, "PrepareHidsForNotificationWake"},
- {850, nullptr, "IsUsbFullKeyControllerEnabled"},
+ {850, &HidSys::IsUsbFullKeyControllerEnabled, "IsUsbFullKeyControllerEnabled"},
{851, nullptr, "EnableUsbFullKeyController"},
{852, nullptr, "IsUsbConnected"},
{870, nullptr, "IsHandheldButtonPressedOnConsoleMode"},
@@ -2682,7 +2686,7 @@ public:
{1150, nullptr, "SetTouchScreenMagnification"},
{1151, nullptr, "GetTouchScreenFirmwareVersion"},
{1152, nullptr, "SetTouchScreenDefaultConfiguration"},
- {1153, nullptr, "GetTouchScreenDefaultConfiguration"},
+ {1153, &HidSys::GetTouchScreenDefaultConfiguration, "GetTouchScreenDefaultConfiguration"},
{1154, nullptr, "IsFirmwareAvailableForNotification"},
{1155, nullptr, "SetForceHandheldStyleVibration"},
{1156, nullptr, "SendConnectionTriggerWithoutTimeoutEvent"},
@@ -2749,37 +2753,102 @@ public:
// clang-format on
RegisterHandlers(functions);
+
+ joy_detach_event = service_context.CreateEvent("HidSys::JoyDetachEvent");
}
private:
void ApplyNpadSystemCommonPolicy(HLERequestContext& ctx) {
- // We already do this for homebrew so we can just stub it out
LOG_WARNING(Service_HID, "called");
+ GetAppletResource()
+ ->GetController<Controller_NPad>(HidController::NPad)
+ .ApplyNpadSystemCommonPolicy();
+
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);
}
+ void GetLastActiveNpad(HLERequestContext& ctx) {
+ LOG_DEBUG(Service_HID, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.PushEnum(system.HIDCore().GetLastActiveController());
+ }
+
void GetUniquePadsFromNpad(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto npad_id_type{rp.PopEnum<Core::HID::NpadIdType>()};
- const s64 total_entries = 0;
LOG_WARNING(Service_HID, "(STUBBED) called, npad_id_type={}", npad_id_type);
+ const std::vector<Core::HID::UniquePadId> unique_pads{};
+
+ ctx.WriteBuffer(unique_pads);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(static_cast<u32>(unique_pads.size()));
+ }
+
+ void AcquireJoyDetachOnBluetoothOffEventHandle(HLERequestContext& ctx) {
+ LOG_INFO(Service_AM, "called");
+
+ IPC::ResponseBuilder rb{ctx, 2, 1};
+ rb.Push(ResultSuccess);
+ rb.PushCopyObjects(joy_detach_event->GetReadableEvent());
+ }
+
+ void IsUsbFullKeyControllerEnabled(HLERequestContext& ctx) {
+ const bool is_enabled = false;
+
+ LOG_WARNING(Service_HID, "(STUBBED) called, is_enabled={}", is_enabled);
+
IPC::ResponseBuilder rb{ctx, 3};
rb.Push(ResultSuccess);
- rb.Push(total_entries);
+ rb.Push(is_enabled);
}
+
+ void GetTouchScreenDefaultConfiguration(HLERequestContext& ctx) {
+ LOG_WARNING(Service_HID, "(STUBBED) called");
+
+ Core::HID::TouchScreenConfigurationForNx touchscreen_config{
+ .mode = Core::HID::TouchScreenModeForNx::Finger,
+ };
+
+ if (touchscreen_config.mode != Core::HID::TouchScreenModeForNx::Heat2 &&
+ touchscreen_config.mode != Core::HID::TouchScreenModeForNx::Finger) {
+ touchscreen_config.mode = Core::HID::TouchScreenModeForNx::UseSystemSetting;
+ }
+
+ IPC::ResponseBuilder rb{ctx, 6};
+ rb.Push(ResultSuccess);
+ rb.PushRaw(touchscreen_config);
+ }
+
+ std::shared_ptr<IAppletResource> GetAppletResource() {
+ if (applet_resource == nullptr) {
+ applet_resource = std::make_shared<IAppletResource>(system, service_context);
+ }
+
+ return applet_resource;
+ }
+
+ Kernel::KEvent* joy_detach_event;
+ KernelHelpers::ServiceContext service_context;
+ std::shared_ptr<IAppletResource> applet_resource;
};
void LoopProcess(Core::System& system) {
auto server_manager = std::make_unique<ServerManager>(system);
+ std::shared_ptr<IAppletResource> applet_resource;
- server_manager->RegisterNamedService("hid", std::make_shared<Hid>(system));
+ server_manager->RegisterNamedService("hid", std::make_shared<Hid>(system, applet_resource));
server_manager->RegisterNamedService("hidbus", std::make_shared<HidBus>(system));
server_manager->RegisterNamedService("hid:dbg", std::make_shared<HidDbg>(system));
- server_manager->RegisterNamedService("hid:sys", std::make_shared<HidSys>(system));
+ server_manager->RegisterNamedService("hid:sys",
+ std::make_shared<HidSys>(system, applet_resource));
server_manager->RegisterNamedService("irs", std::make_shared<Service::IRS::IRS>(system));
server_manager->RegisterNamedService("irs:sys",
diff --git a/src/core/hle/service/hid/hid.h b/src/core/hle/service/hid/hid.h
index f247b83c2..0ca43de93 100644
--- a/src/core/hle/service/hid/hid.h
+++ b/src/core/hle/service/hid/hid.h
@@ -95,7 +95,7 @@ private:
class Hid final : public ServiceFramework<Hid> {
public:
- explicit Hid(Core::System& system_);
+ explicit Hid(Core::System& system_, std::shared_ptr<IAppletResource> applet_resource_);
~Hid() override;
std::shared_ptr<IAppletResource> GetAppletResource();
diff --git a/src/core/hle/service/ldn/ldn.cpp b/src/core/hle/service/ldn/ldn.cpp
index 9d149a7cd..7927f8264 100644
--- a/src/core/hle/service/ldn/ldn.cpp
+++ b/src/core/hle/service/ldn/ldn.cpp
@@ -23,19 +23,39 @@ public:
explicit IMonitorService(Core::System& system_) : ServiceFramework{system_, "IMonitorService"} {
// clang-format off
static const FunctionInfo functions[] = {
- {0, nullptr, "GetStateForMonitor"},
+ {0, &IMonitorService::GetStateForMonitor, "GetStateForMonitor"},
{1, nullptr, "GetNetworkInfoForMonitor"},
{2, nullptr, "GetIpv4AddressForMonitor"},
{3, nullptr, "GetDisconnectReasonForMonitor"},
{4, nullptr, "GetSecurityParameterForMonitor"},
{5, nullptr, "GetNetworkConfigForMonitor"},
- {100, nullptr, "InitializeMonitor"},
+ {100, &IMonitorService::InitializeMonitor, "InitializeMonitor"},
{101, nullptr, "FinalizeMonitor"},
};
// clang-format on
RegisterHandlers(functions);
}
+
+private:
+ void GetStateForMonitor(HLERequestContext& ctx) {
+ LOG_INFO(Service_LDN, "called");
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.PushEnum(state);
+ }
+
+ void InitializeMonitor(HLERequestContext& ctx) {
+ LOG_INFO(Service_LDN, "called");
+
+ state = State::Initialized;
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+ }
+
+ State state{State::None};
};
class LDNM final : public ServiceFramework<LDNM> {
@@ -731,14 +751,81 @@ public:
}
};
+class ISfMonitorService final : public ServiceFramework<ISfMonitorService> {
+public:
+ explicit ISfMonitorService(Core::System& system_)
+ : ServiceFramework{system_, "ISfMonitorService"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, &ISfMonitorService::Initialize, "Initialize"},
+ {288, &ISfMonitorService::GetGroupInfo, "GetGroupInfo"},
+ {320, nullptr, "GetLinkLevel"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+ }
+
+private:
+ void Initialize(HLERequestContext& ctx) {
+ LOG_WARNING(Service_LDN, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(0);
+ }
+
+ void GetGroupInfo(HLERequestContext& ctx) {
+ LOG_WARNING(Service_LDN, "(STUBBED) called");
+
+ struct GroupInfo {
+ std::array<u8, 0x200> info;
+ };
+
+ GroupInfo group_info{};
+
+ ctx.WriteBuffer(group_info);
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+ }
+};
+
+class LP2PM final : public ServiceFramework<LP2PM> {
+public:
+ explicit LP2PM(Core::System& system_) : ServiceFramework{system_, "lp2p:m"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, &LP2PM::CreateMonitorService, "CreateMonitorService"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+ }
+
+private:
+ void CreateMonitorService(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const u64 reserved_input = rp.Pop<u64>();
+
+ LOG_INFO(Service_LDN, "called, reserved_input={}", reserved_input);
+
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(ResultSuccess);
+ rb.PushIpcInterface<ISfMonitorService>(system);
+ }
+};
+
void LoopProcess(Core::System& system) {
auto server_manager = std::make_unique<ServerManager>(system);
server_manager->RegisterNamedService("ldn:m", std::make_shared<LDNM>(system));
server_manager->RegisterNamedService("ldn:s", std::make_shared<LDNS>(system));
server_manager->RegisterNamedService("ldn:u", std::make_shared<LDNU>(system));
+
server_manager->RegisterNamedService("lp2p:app", std::make_shared<LP2PAPP>(system));
server_manager->RegisterNamedService("lp2p:sys", std::make_shared<LP2PSYS>(system));
+ server_manager->RegisterNamedService("lp2p:m", std::make_shared<LP2PM>(system));
+
ServerManager::RunServer(std::move(server_manager));
}
diff --git a/src/core/hle/service/ldr/ldr.cpp b/src/core/hle/service/ldr/ldr.cpp
index 055c0a2db..c73035c77 100644
--- a/src/core/hle/service/ldr/ldr.cpp
+++ b/src/core/hle/service/ldr/ldr.cpp
@@ -357,7 +357,8 @@ public:
return ResultSuccess;
}
- ResultVal<VAddr> MapProcessCodeMemory(Kernel::KProcess* process, VAddr base_addr, u64 size) {
+ Result MapProcessCodeMemory(VAddr* out_map_location, Kernel::KProcess* process, VAddr base_addr,
+ u64 size) {
auto& page_table{process->GetPageTable()};
VAddr addr{};
@@ -372,20 +373,21 @@ public:
R_TRY(result);
if (ValidateRegionForMap(page_table, addr, size)) {
- return addr;
+ *out_map_location = addr;
+ return ResultSuccess;
}
}
return ERROR_INSUFFICIENT_ADDRESS_SPACE;
}
- ResultVal<VAddr> MapNro(Kernel::KProcess* process, VAddr nro_addr, std::size_t nro_size,
- VAddr bss_addr, std::size_t bss_size, std::size_t size) {
+ Result MapNro(VAddr* out_map_location, Kernel::KProcess* process, VAddr nro_addr,
+ std::size_t nro_size, VAddr bss_addr, std::size_t bss_size, std::size_t size) {
for (std::size_t retry = 0; retry < MAXIMUM_MAP_RETRIES; retry++) {
auto& page_table{process->GetPageTable()};
VAddr addr{};
- CASCADE_RESULT(addr, MapProcessCodeMemory(process, nro_addr, nro_size));
+ R_TRY(MapProcessCodeMemory(&addr, process, nro_addr, nro_size));
if (bss_size) {
auto block_guard = detail::ScopeExit([&] {
@@ -411,7 +413,8 @@ public:
}
if (ValidateRegionForMap(page_table, addr, size)) {
- return addr;
+ *out_map_location = addr;
+ return ResultSuccess;
}
}
@@ -437,9 +440,9 @@ public:
CopyCode(nro_addr + nro_header.segment_headers[DATA_INDEX].memory_offset, data_start,
nro_header.segment_headers[DATA_INDEX].memory_size);
- CASCADE_CODE(process->GetPageTable().SetProcessMemoryPermission(
+ R_TRY(process->GetPageTable().SetProcessMemoryPermission(
text_start, ro_start - text_start, Kernel::Svc::MemoryPermission::ReadExecute));
- CASCADE_CODE(process->GetPageTable().SetProcessMemoryPermission(
+ R_TRY(process->GetPageTable().SetProcessMemoryPermission(
ro_start, data_start - ro_start, Kernel::Svc::MemoryPermission::Read));
return process->GetPageTable().SetProcessMemoryPermission(
@@ -542,31 +545,32 @@ public:
}
// Map memory for the NRO
- const auto map_result{MapNro(system.ApplicationProcess(), nro_address, nro_size,
- bss_address, bss_size, nro_size + bss_size)};
- if (map_result.Failed()) {
+ VAddr map_location{};
+ const auto map_result{MapNro(&map_location, system.ApplicationProcess(), nro_address,
+ nro_size, bss_address, bss_size, nro_size + bss_size)};
+ if (map_result != ResultSuccess) {
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(map_result.Code());
+ rb.Push(map_result);
}
// Load the NRO into the mapped memory
if (const auto result{
- LoadNro(system.ApplicationProcess(), header, nro_address, *map_result)};
+ LoadNro(system.ApplicationProcess(), header, nro_address, map_location)};
result.IsError()) {
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(map_result.Code());
+ rb.Push(result);
}
// Track the loaded NRO
- nro.insert_or_assign(*map_result,
- NROInfo{hash, *map_result, nro_size, bss_address, bss_size,
+ nro.insert_or_assign(map_location,
+ NROInfo{hash, map_location, nro_size, bss_address, bss_size,
header.segment_headers[TEXT_INDEX].memory_size,
header.segment_headers[RO_INDEX].memory_size,
header.segment_headers[DATA_INDEX].memory_size, nro_address});
IPC::ResponseBuilder rb{ctx, 4};
rb.Push(ResultSuccess);
- rb.Push(*map_result);
+ rb.Push(map_location);
}
Result UnmapNro(const NROInfo& info) {
@@ -574,19 +578,19 @@ public:
auto& page_table{system.ApplicationProcess()->GetPageTable()};
if (info.bss_size != 0) {
- CASCADE_CODE(page_table.UnmapCodeMemory(
+ R_TRY(page_table.UnmapCodeMemory(
info.nro_address + info.text_size + info.ro_size + info.data_size, info.bss_address,
info.bss_size, Kernel::KPageTable::ICacheInvalidationStrategy::InvalidateRange));
}
- CASCADE_CODE(page_table.UnmapCodeMemory(
+ R_TRY(page_table.UnmapCodeMemory(
info.nro_address + info.text_size + info.ro_size,
info.src_addr + info.text_size + info.ro_size, info.data_size,
Kernel::KPageTable::ICacheInvalidationStrategy::InvalidateRange));
- CASCADE_CODE(page_table.UnmapCodeMemory(
+ R_TRY(page_table.UnmapCodeMemory(
info.nro_address + info.text_size, info.src_addr + info.text_size, info.ro_size,
Kernel::KPageTable::ICacheInvalidationStrategy::InvalidateRange));
- CASCADE_CODE(page_table.UnmapCodeMemory(
+ R_TRY(page_table.UnmapCodeMemory(
info.nro_address, info.src_addr, info.text_size,
Kernel::KPageTable::ICacheInvalidationStrategy::InvalidateRange));
return ResultSuccess;
diff --git a/src/core/hle/service/mii/mii.cpp b/src/core/hle/service/mii/mii.cpp
index 5c7adf97d..c28eed926 100644
--- a/src/core/hle/service/mii/mii.cpp
+++ b/src/core/hle/service/mii/mii.cpp
@@ -7,17 +7,21 @@
#include "core/hle/service/ipc_helpers.h"
#include "core/hle/service/mii/mii.h"
#include "core/hle/service/mii/mii_manager.h"
+#include "core/hle/service/mii/mii_result.h"
+#include "core/hle/service/mii/types/char_info.h"
+#include "core/hle/service/mii/types/store_data.h"
+#include "core/hle/service/mii/types/ver3_store_data.h"
#include "core/hle/service/server_manager.h"
#include "core/hle/service/service.h"
namespace Service::Mii {
-constexpr Result ERROR_INVALID_ARGUMENT{ErrorModule::Mii, 1};
-
class IDatabaseService final : public ServiceFramework<IDatabaseService> {
public:
- explicit IDatabaseService(Core::System& system_)
- : ServiceFramework{system_, "IDatabaseService"} {
+ explicit IDatabaseService(Core::System& system_, std::shared_ptr<MiiManager> mii_manager,
+ bool is_system_)
+ : ServiceFramework{system_, "IDatabaseService"}, manager{mii_manager}, is_system{
+ is_system_} {
// clang-format off
static const FunctionInfo functions[] = {
{0, &IDatabaseService::IsUpdated, "IsUpdated"},
@@ -28,142 +32,134 @@ public:
{5, &IDatabaseService::UpdateLatest, "UpdateLatest"},
{6, &IDatabaseService::BuildRandom, "BuildRandom"},
{7, &IDatabaseService::BuildDefault, "BuildDefault"},
- {8, nullptr, "Get2"},
- {9, nullptr, "Get3"},
- {10, nullptr, "UpdateLatest1"},
- {11, nullptr, "FindIndex"},
- {12, nullptr, "Move"},
- {13, nullptr, "AddOrReplace"},
- {14, nullptr, "Delete"},
- {15, nullptr, "DestroyFile"},
- {16, nullptr, "DeleteFile"},
- {17, nullptr, "Format"},
+ {8, &IDatabaseService::Get2, "Get2"},
+ {9, &IDatabaseService::Get3, "Get3"},
+ {10, &IDatabaseService::UpdateLatest1, "UpdateLatest1"},
+ {11, &IDatabaseService::FindIndex, "FindIndex"},
+ {12, &IDatabaseService::Move, "Move"},
+ {13, &IDatabaseService::AddOrReplace, "AddOrReplace"},
+ {14, &IDatabaseService::Delete, "Delete"},
+ {15, &IDatabaseService::DestroyFile, "DestroyFile"},
+ {16, &IDatabaseService::DeleteFile, "DeleteFile"},
+ {17, &IDatabaseService::Format, "Format"},
{18, nullptr, "Import"},
{19, nullptr, "Export"},
- {20, nullptr, "IsBrokenDatabaseWithClearFlag"},
+ {20, &IDatabaseService::IsBrokenDatabaseWithClearFlag, "IsBrokenDatabaseWithClearFlag"},
{21, &IDatabaseService::GetIndex, "GetIndex"},
{22, &IDatabaseService::SetInterfaceVersion, "SetInterfaceVersion"},
{23, &IDatabaseService::Convert, "Convert"},
- {24, nullptr, "ConvertCoreDataToCharInfo"},
- {25, nullptr, "ConvertCharInfoToCoreData"},
- {26, nullptr, "Append"},
+ {24, &IDatabaseService::ConvertCoreDataToCharInfo, "ConvertCoreDataToCharInfo"},
+ {25, &IDatabaseService::ConvertCharInfoToCoreData, "ConvertCharInfoToCoreData"},
+ {26, &IDatabaseService::Append, "Append"},
};
// clang-format on
RegisterHandlers(functions);
- }
-private:
- template <typename T>
- std::vector<u8> SerializeArray(const std::vector<T>& values) {
- std::vector<u8> out(values.size() * sizeof(T));
- std::size_t offset{};
- for (const auto& value : values) {
- std::memcpy(out.data() + offset, &value, sizeof(T));
- offset += sizeof(T);
- }
- return out;
+ manager->Initialize(metadata);
}
+private:
void IsUpdated(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto source_flag{rp.PopRaw<SourceFlag>()};
LOG_DEBUG(Service_Mii, "called with source_flag={}", source_flag);
+ const bool is_updated = manager->IsUpdated(metadata, source_flag);
+
IPC::ResponseBuilder rb{ctx, 3};
rb.Push(ResultSuccess);
- rb.Push(manager.CheckAndResetUpdateCounter(source_flag, current_update_counter));
+ rb.Push<u8>(is_updated);
}
void IsFullDatabase(HLERequestContext& ctx) {
LOG_DEBUG(Service_Mii, "called");
+ const bool is_full_database = manager->IsFullDatabase();
+
IPC::ResponseBuilder rb{ctx, 3};
rb.Push(ResultSuccess);
- rb.Push(manager.IsFullDatabase());
+ rb.Push<u8>(is_full_database);
}
void GetCount(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto source_flag{rp.PopRaw<SourceFlag>()};
- LOG_DEBUG(Service_Mii, "called with source_flag={}", source_flag);
+ const u32 mii_count = manager->GetCount(metadata, source_flag);
+
+ LOG_DEBUG(Service_Mii, "called with source_flag={}, mii_count={}", source_flag, mii_count);
IPC::ResponseBuilder rb{ctx, 3};
rb.Push(ResultSuccess);
- rb.Push<u32>(manager.GetCount(source_flag));
+ rb.Push(mii_count);
}
void Get(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto source_flag{rp.PopRaw<SourceFlag>()};
+ const auto output_size{ctx.GetWriteBufferNumElements<CharInfoElement>()};
- LOG_DEBUG(Service_Mii, "called with source_flag={}", source_flag);
+ u32 mii_count{};
+ std::vector<CharInfoElement> char_info_elements(output_size);
+ const auto result = manager->Get(metadata, char_info_elements, mii_count, source_flag);
- const auto result{manager.GetDefault(source_flag)};
- if (result.Failed()) {
- IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(result.Code());
- return;
+ if (mii_count != 0) {
+ ctx.WriteBuffer(char_info_elements);
}
- if (result->size() > 0) {
- ctx.WriteBuffer(SerializeArray(*result));
- }
+ LOG_INFO(Service_Mii, "called with source_flag={}, out_size={}, mii_count={}", source_flag,
+ output_size, mii_count);
IPC::ResponseBuilder rb{ctx, 3};
- rb.Push(ResultSuccess);
- rb.Push<u32>(static_cast<u32>(result->size()));
+ rb.Push(result);
+ rb.Push(mii_count);
}
void Get1(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto source_flag{rp.PopRaw<SourceFlag>()};
+ const auto output_size{ctx.GetWriteBufferNumElements<CharInfo>()};
- LOG_DEBUG(Service_Mii, "called with source_flag={}", source_flag);
-
- const auto result{manager.GetDefault(source_flag)};
- if (result.Failed()) {
- IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(result.Code());
- return;
- }
+ u32 mii_count{};
+ std::vector<CharInfo> char_info(output_size);
+ const auto result = manager->Get(metadata, char_info, mii_count, source_flag);
- std::vector<CharInfo> values;
- for (const auto& element : *result) {
- values.emplace_back(element.info);
+ if (mii_count != 0) {
+ ctx.WriteBuffer(char_info);
}
- ctx.WriteBuffer(SerializeArray(values));
+ LOG_INFO(Service_Mii, "called with source_flag={}, out_size={}, mii_count={}", source_flag,
+ output_size, mii_count);
IPC::ResponseBuilder rb{ctx, 3};
- rb.Push(ResultSuccess);
- rb.Push<u32>(static_cast<u32>(result->size()));
+ rb.Push(result);
+ rb.Push(mii_count);
}
void UpdateLatest(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
- const auto info{rp.PopRaw<CharInfo>()};
+ const auto char_info{rp.PopRaw<CharInfo>()};
const auto source_flag{rp.PopRaw<SourceFlag>()};
- LOG_DEBUG(Service_Mii, "called with source_flag={}", source_flag);
+ LOG_INFO(Service_Mii, "called with source_flag={}", source_flag);
- const auto result{manager.UpdateLatest(info, source_flag)};
- if (result.Failed()) {
+ CharInfo new_char_info{};
+ const auto result = manager->UpdateLatest(metadata, new_char_info, char_info, source_flag);
+ if (result.IsFailure()) {
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(result.Code());
+ rb.Push(result);
return;
}
IPC::ResponseBuilder rb{ctx, 2 + sizeof(CharInfo) / sizeof(u32)};
rb.Push(ResultSuccess);
- rb.PushRaw<CharInfo>(*result);
+ rb.PushRaw(new_char_info);
}
void BuildRandom(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
-
const auto age{rp.PopRaw<Age>()};
const auto gender{rp.PopRaw<Gender>()};
const auto race{rp.PopRaw<Race>()};
@@ -172,28 +168,28 @@ private:
if (age > Age::All) {
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(ERROR_INVALID_ARGUMENT);
- LOG_ERROR(Service_Mii, "invalid age={}", age);
+ rb.Push(ResultInvalidArgument);
return;
}
if (gender > Gender::All) {
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(ERROR_INVALID_ARGUMENT);
- LOG_ERROR(Service_Mii, "invalid gender={}", gender);
+ rb.Push(ResultInvalidArgument);
return;
}
if (race > Race::All) {
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(ERROR_INVALID_ARGUMENT);
- LOG_ERROR(Service_Mii, "invalid race={}", race);
+ rb.Push(ResultInvalidArgument);
return;
}
+ CharInfo char_info{};
+ manager->BuildRandom(char_info, age, gender, race);
+
IPC::ResponseBuilder rb{ctx, 2 + sizeof(CharInfo) / sizeof(u32)};
rb.Push(ResultSuccess);
- rb.PushRaw<CharInfo>(manager.BuildRandom(age, gender, race));
+ rb.PushRaw(char_info);
}
void BuildDefault(HLERequestContext& ctx) {
@@ -203,16 +199,249 @@ private:
LOG_DEBUG(Service_Mii, "called with index={}", index);
if (index > 5) {
- LOG_ERROR(Service_Mii, "invalid argument, index cannot be greater than 5 but is {:08X}",
- index);
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(ERROR_INVALID_ARGUMENT);
+ rb.Push(ResultInvalidArgument);
return;
}
+ CharInfo char_info{};
+ manager->BuildDefault(char_info, index);
+
IPC::ResponseBuilder rb{ctx, 2 + sizeof(CharInfo) / sizeof(u32)};
rb.Push(ResultSuccess);
- rb.PushRaw<CharInfo>(manager.BuildDefault(index));
+ rb.PushRaw(char_info);
+ }
+
+ void Get2(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto source_flag{rp.PopRaw<SourceFlag>()};
+ const auto output_size{ctx.GetWriteBufferNumElements<StoreDataElement>()};
+
+ u32 mii_count{};
+ std::vector<StoreDataElement> store_data_elements(output_size);
+ const auto result = manager->Get(metadata, store_data_elements, mii_count, source_flag);
+
+ if (mii_count != 0) {
+ ctx.WriteBuffer(store_data_elements);
+ }
+
+ LOG_INFO(Service_Mii, "called with source_flag={}, out_size={}, mii_count={}", source_flag,
+ output_size, mii_count);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(result);
+ rb.Push(mii_count);
+ }
+
+ void Get3(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto source_flag{rp.PopRaw<SourceFlag>()};
+ const auto output_size{ctx.GetWriteBufferNumElements<StoreData>()};
+
+ u32 mii_count{};
+ std::vector<StoreData> store_data(output_size);
+ const auto result = manager->Get(metadata, store_data, mii_count, source_flag);
+
+ if (mii_count != 0) {
+ ctx.WriteBuffer(store_data);
+ }
+
+ LOG_INFO(Service_Mii, "called with source_flag={}, out_size={}, mii_count={}", source_flag,
+ output_size, mii_count);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(result);
+ rb.Push(mii_count);
+ }
+
+ void UpdateLatest1(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto store_data{rp.PopRaw<StoreData>()};
+ const auto source_flag{rp.PopRaw<SourceFlag>()};
+
+ LOG_INFO(Service_Mii, "called with source_flag={}", source_flag);
+
+ Result result = ResultSuccess;
+ if (!is_system) {
+ result = ResultPermissionDenied;
+ }
+
+ StoreData new_store_data{};
+ if (result.IsSuccess()) {
+ result = manager->UpdateLatest(metadata, new_store_data, store_data, source_flag);
+ }
+
+ if (result.IsFailure()) {
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(result);
+ return;
+ }
+
+ IPC::ResponseBuilder rb{ctx, 2 + sizeof(StoreData) / sizeof(u32)};
+ rb.Push(ResultSuccess);
+ rb.PushRaw<StoreData>(new_store_data);
+ }
+
+ void FindIndex(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto create_id{rp.PopRaw<Common::UUID>()};
+ const auto is_special{rp.PopRaw<bool>()};
+
+ LOG_INFO(Service_Mii, "called with create_id={}, is_special={}",
+ create_id.FormattedString(), is_special);
+
+ const s32 index = manager->FindIndex(create_id, is_special);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(index);
+ }
+
+ void Move(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto create_id{rp.PopRaw<Common::UUID>()};
+ const auto new_index{rp.PopRaw<s32>()};
+
+ LOG_INFO(Service_Mii, "called with create_id={}, new_index={}", create_id.FormattedString(),
+ new_index);
+
+ Result result = ResultSuccess;
+ if (!is_system) {
+ result = ResultPermissionDenied;
+ }
+
+ if (result.IsSuccess()) {
+ const u32 count = manager->GetCount(metadata, SourceFlag::Database);
+ if (new_index < 0 || new_index >= static_cast<s32>(count)) {
+ result = ResultInvalidArgument;
+ }
+ }
+
+ if (result.IsSuccess()) {
+ result = manager->Move(metadata, new_index, create_id);
+ }
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(result);
+ }
+
+ void AddOrReplace(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto store_data{rp.PopRaw<StoreData>()};
+
+ LOG_INFO(Service_Mii, "called");
+
+ Result result = ResultSuccess;
+
+ if (!is_system) {
+ result = ResultPermissionDenied;
+ }
+
+ if (result.IsSuccess()) {
+ result = manager->AddOrReplace(metadata, store_data);
+ }
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(result);
+ }
+
+ void Delete(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto create_id{rp.PopRaw<Common::UUID>()};
+
+ LOG_INFO(Service_Mii, "called, create_id={}", create_id.FormattedString());
+
+ Result result = ResultSuccess;
+
+ if (!is_system) {
+ result = ResultPermissionDenied;
+ }
+
+ if (result.IsSuccess()) {
+ result = manager->Delete(metadata, create_id);
+ }
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(result);
+ }
+
+ void DestroyFile(HLERequestContext& ctx) {
+ // This calls nn::settings::fwdbg::GetSettingsItemValue("is_db_test_mode_enabled");
+ const bool is_db_test_mode_enabled = false;
+
+ LOG_INFO(Service_Mii, "called is_db_test_mode_enabled={}", is_db_test_mode_enabled);
+
+ Result result = ResultSuccess;
+
+ if (!is_db_test_mode_enabled) {
+ result = ResultTestModeOnly;
+ }
+
+ if (result.IsSuccess()) {
+ result = manager->DestroyFile(metadata);
+ }
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(result);
+ }
+
+ void DeleteFile(HLERequestContext& ctx) {
+ // This calls nn::settings::fwdbg::GetSettingsItemValue("is_db_test_mode_enabled");
+ const bool is_db_test_mode_enabled = false;
+
+ LOG_INFO(Service_Mii, "called is_db_test_mode_enabled={}", is_db_test_mode_enabled);
+
+ Result result = ResultSuccess;
+
+ if (!is_db_test_mode_enabled) {
+ result = ResultTestModeOnly;
+ }
+
+ if (result.IsSuccess()) {
+ result = manager->DeleteFile();
+ }
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(result);
+ }
+
+ void Format(HLERequestContext& ctx) {
+ // This calls nn::settings::fwdbg::GetSettingsItemValue("is_db_test_mode_enabled");
+ const bool is_db_test_mode_enabled = false;
+
+ LOG_INFO(Service_Mii, "called is_db_test_mode_enabled={}", is_db_test_mode_enabled);
+
+ Result result = ResultSuccess;
+
+ if (!is_db_test_mode_enabled) {
+ result = ResultTestModeOnly;
+ }
+
+ if (result.IsSuccess()) {
+ result = manager->Format(metadata);
+ }
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(result);
+ }
+
+ void IsBrokenDatabaseWithClearFlag(HLERequestContext& ctx) {
+ LOG_DEBUG(Service_Mii, "called");
+
+ bool is_broken_with_clear_flag = false;
+ Result result = ResultSuccess;
+
+ if (!is_system) {
+ result = ResultPermissionDenied;
+ }
+
+ if (result.IsSuccess()) {
+ is_broken_with_clear_flag = manager->IsBrokenWithClearFlag(metadata);
+ }
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(result);
+ rb.Push<u8>(is_broken_with_clear_flag);
}
void GetIndex(HLERequestContext& ctx) {
@@ -221,19 +450,21 @@ private:
LOG_DEBUG(Service_Mii, "called");
- u32 index{};
+ s32 index{};
+ const auto result = manager->GetIndex(metadata, info, index);
+
IPC::ResponseBuilder rb{ctx, 3};
- rb.Push(manager.GetIndex(info, index));
+ rb.Push(result);
rb.Push(index);
}
void SetInterfaceVersion(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
- current_interface_version = rp.PopRaw<u32>();
+ const auto interface_version{rp.PopRaw<u32>()};
- LOG_DEBUG(Service_Mii, "called, interface_version={:08X}", current_interface_version);
+ LOG_INFO(Service_Mii, "called, interface_version={:08X}", interface_version);
- UNIMPLEMENTED_IF(current_interface_version != 1);
+ manager->SetInterfaceVersion(metadata, interface_version);
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);
@@ -241,57 +472,101 @@ private:
void Convert(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
-
const auto mii_v3{rp.PopRaw<Ver3StoreData>()};
LOG_INFO(Service_Mii, "called");
+ CharInfo char_info{};
+ const auto result = manager->ConvertV3ToCharInfo(char_info, mii_v3);
+
IPC::ResponseBuilder rb{ctx, 2 + sizeof(CharInfo) / sizeof(u32)};
- rb.Push(ResultSuccess);
- rb.PushRaw<CharInfo>(manager.ConvertV3ToCharInfo(mii_v3));
+ rb.Push(result);
+ rb.PushRaw<CharInfo>(char_info);
}
- constexpr bool IsInterfaceVersionSupported(u32 interface_version) const {
- return current_interface_version >= interface_version;
+ void ConvertCoreDataToCharInfo(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto core_data{rp.PopRaw<CoreData>()};
+
+ LOG_INFO(Service_Mii, "called");
+
+ CharInfo char_info{};
+ const auto result = manager->ConvertCoreDataToCharInfo(char_info, core_data);
+
+ IPC::ResponseBuilder rb{ctx, 2 + sizeof(CharInfo) / sizeof(u32)};
+ rb.Push(result);
+ rb.PushRaw<CharInfo>(char_info);
}
- MiiManager manager;
+ void ConvertCharInfoToCoreData(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto char_info{rp.PopRaw<CharInfo>()};
- u32 current_interface_version{};
- u64 current_update_counter{};
-};
+ LOG_INFO(Service_Mii, "called");
-class MiiDBModule final : public ServiceFramework<MiiDBModule> {
-public:
- explicit MiiDBModule(Core::System& system_, const char* name_)
- : ServiceFramework{system_, name_} {
- // clang-format off
- static const FunctionInfo functions[] = {
- {0, &MiiDBModule::GetDatabaseService, "GetDatabaseService"},
- };
- // clang-format on
+ CoreData core_data{};
+ const auto result = manager->ConvertCharInfoToCoreData(core_data, char_info);
- RegisterHandlers(functions);
+ IPC::ResponseBuilder rb{ctx, 2 + sizeof(CoreData) / sizeof(u32)};
+ rb.Push(result);
+ rb.PushRaw<CoreData>(core_data);
}
-private:
- void GetDatabaseService(HLERequestContext& ctx) {
- IPC::ResponseBuilder rb{ctx, 2, 0, 1};
- rb.Push(ResultSuccess);
- rb.PushIpcInterface<IDatabaseService>(system);
+ void Append(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto char_info{rp.PopRaw<CharInfo>()};
- LOG_DEBUG(Service_Mii, "called");
+ LOG_INFO(Service_Mii, "called");
+
+ const auto result = manager->Append(metadata, char_info);
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(result);
}
+
+ std::shared_ptr<MiiManager> manager = nullptr;
+ DatabaseSessionMetadata metadata{};
+ bool is_system{};
};
+MiiDBModule::MiiDBModule(Core::System& system_, const char* name_,
+ std::shared_ptr<MiiManager> mii_manager, bool is_system_)
+ : ServiceFramework{system_, name_}, manager{mii_manager}, is_system{is_system_} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, &MiiDBModule::GetDatabaseService, "GetDatabaseService"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+
+ if (manager == nullptr) {
+ manager = std::make_shared<MiiManager>();
+ }
+}
+
+MiiDBModule::~MiiDBModule() = default;
+
+void MiiDBModule::GetDatabaseService(HLERequestContext& ctx) {
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(ResultSuccess);
+ rb.PushIpcInterface<IDatabaseService>(system, manager, is_system);
+
+ LOG_DEBUG(Service_Mii, "called");
+}
+
+std::shared_ptr<MiiManager> MiiDBModule::GetMiiManager() {
+ return manager;
+}
+
class MiiImg final : public ServiceFramework<MiiImg> {
public:
explicit MiiImg(Core::System& system_) : ServiceFramework{system_, "miiimg"} {
// clang-format off
static const FunctionInfo functions[] = {
- {0, nullptr, "Initialize"},
+ {0, &MiiImg::Initialize, "Initialize"},
{10, nullptr, "Reload"},
- {11, nullptr, "GetCount"},
+ {11, &MiiImg::GetCount, "GetCount"},
{12, nullptr, "IsEmpty"},
{13, nullptr, "IsFull"},
{14, nullptr, "GetAttribute"},
@@ -308,13 +583,32 @@ public:
RegisterHandlers(functions);
}
+
+private:
+ void Initialize(HLERequestContext& ctx) {
+ LOG_INFO(Service_Mii, "called");
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+ }
+
+ void GetCount(HLERequestContext& ctx) {
+ LOG_DEBUG(Service_Mii, "called");
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(0);
+ }
};
void LoopProcess(Core::System& system) {
auto server_manager = std::make_unique<ServerManager>(system);
+ std::shared_ptr<MiiManager> manager = nullptr;
- server_manager->RegisterNamedService("mii:e", std::make_shared<MiiDBModule>(system, "mii:e"));
- server_manager->RegisterNamedService("mii:u", std::make_shared<MiiDBModule>(system, "mii:u"));
+ server_manager->RegisterNamedService(
+ "mii:e", std::make_shared<MiiDBModule>(system, "mii:e", manager, true));
+ server_manager->RegisterNamedService(
+ "mii:u", std::make_shared<MiiDBModule>(system, "mii:u", manager, false));
server_manager->RegisterNamedService("miiimg", std::make_shared<MiiImg>(system));
ServerManager::RunServer(std::move(server_manager));
}
diff --git a/src/core/hle/service/mii/mii.h b/src/core/hle/service/mii/mii.h
index ed4e3f62b..9aa4426f6 100644
--- a/src/core/hle/service/mii/mii.h
+++ b/src/core/hle/service/mii/mii.h
@@ -3,11 +3,29 @@
#pragma once
+#include "core/hle/service/service.h"
+
namespace Core {
class System;
}
namespace Service::Mii {
+class MiiManager;
+
+class MiiDBModule final : public ServiceFramework<MiiDBModule> {
+public:
+ explicit MiiDBModule(Core::System& system_, const char* name_,
+ std::shared_ptr<MiiManager> mii_manager, bool is_system_);
+ ~MiiDBModule() override;
+
+ std::shared_ptr<MiiManager> GetMiiManager();
+
+private:
+ void GetDatabaseService(HLERequestContext& ctx);
+
+ std::shared_ptr<MiiManager> manager = nullptr;
+ bool is_system{};
+};
void LoopProcess(Core::System& system);
diff --git a/src/core/hle/service/mii/mii_database.cpp b/src/core/hle/service/mii/mii_database.cpp
new file mode 100644
index 000000000..3803e58e2
--- /dev/null
+++ b/src/core/hle/service/mii/mii_database.cpp
@@ -0,0 +1,142 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/hle/service/mii/mii_database.h"
+#include "core/hle/service/mii/mii_result.h"
+#include "core/hle/service/mii/mii_util.h"
+
+namespace Service::Mii {
+
+u8 NintendoFigurineDatabase::GetDatabaseLength() const {
+ return database_length;
+}
+
+bool NintendoFigurineDatabase::IsFull() const {
+ return database_length >= MaxDatabaseLength;
+}
+
+StoreData NintendoFigurineDatabase::Get(std::size_t index) const {
+ StoreData store_data = miis.at(index);
+
+ // This hack is to make external database dumps compatible
+ store_data.SetDeviceChecksum();
+
+ return store_data;
+}
+
+u32 NintendoFigurineDatabase::GetCount(const DatabaseSessionMetadata& metadata) const {
+ if (magic == MiiMagic) {
+ return GetDatabaseLength();
+ }
+
+ u32 mii_count{};
+ for (std::size_t index = 0; index < mii_count; ++index) {
+ const auto& store_data = Get(index);
+ if (!store_data.IsSpecial()) {
+ mii_count++;
+ }
+ }
+
+ return mii_count;
+}
+
+bool NintendoFigurineDatabase::GetIndexByCreatorId(u32& out_index,
+ const Common::UUID& create_id) const {
+ for (std::size_t index = 0; index < database_length; ++index) {
+ if (miis[index].GetCreateId() == create_id) {
+ out_index = static_cast<u32>(index);
+ return true;
+ }
+ }
+
+ return false;
+}
+
+Result NintendoFigurineDatabase::Move(u32 current_index, u32 new_index) {
+ if (current_index == new_index) {
+ return ResultNotUpdated;
+ }
+
+ const StoreData store_data = miis[current_index];
+
+ if (new_index > current_index) {
+ // Shift left
+ const u32 index_diff = new_index - current_index;
+ for (std::size_t i = 0; i < index_diff; i++) {
+ miis[current_index + i] = miis[current_index + i + 1];
+ }
+ } else {
+ // Shift right
+ const u32 index_diff = current_index - new_index;
+ for (std::size_t i = 0; i < index_diff; i++) {
+ miis[current_index - i] = miis[current_index - i - 1];
+ }
+ }
+
+ miis[new_index] = store_data;
+ crc = GenerateDatabaseCrc();
+ return ResultSuccess;
+}
+
+void NintendoFigurineDatabase::Replace(u32 index, const StoreData& store_data) {
+ miis[index] = store_data;
+ crc = GenerateDatabaseCrc();
+}
+
+void NintendoFigurineDatabase::Add(const StoreData& store_data) {
+ miis[database_length] = store_data;
+ database_length++;
+ crc = GenerateDatabaseCrc();
+}
+
+void NintendoFigurineDatabase::Delete(u32 index) {
+ // Shift left
+ const s32 new_database_size = database_length - 1;
+ if (static_cast<s32>(index) < new_database_size) {
+ for (std::size_t i = index; i < static_cast<std::size_t>(new_database_size); i++) {
+ miis[i] = miis[i + 1];
+ }
+ }
+
+ database_length = static_cast<u8>(new_database_size);
+ crc = GenerateDatabaseCrc();
+}
+
+void NintendoFigurineDatabase::CleanDatabase() {
+ miis = {};
+ version = 1;
+ magic = DatabaseMagic;
+ database_length = 0;
+ crc = GenerateDatabaseCrc();
+}
+
+void NintendoFigurineDatabase::CorruptCrc() {
+ crc = GenerateDatabaseCrc();
+ crc = ~crc;
+}
+
+Result NintendoFigurineDatabase::CheckIntegrity() {
+ if (magic != DatabaseMagic) {
+ return ResultInvalidDatabaseSignature;
+ }
+
+ if (version != 1) {
+ return ResultInvalidDatabaseVersion;
+ }
+
+ if (crc != GenerateDatabaseCrc()) {
+ return ResultInvalidDatabaseChecksum;
+ }
+
+ if (database_length >= MaxDatabaseLength) {
+ return ResultInvalidDatabaseLength;
+ }
+
+ return ResultSuccess;
+}
+
+u16 NintendoFigurineDatabase::GenerateDatabaseCrc() {
+ return MiiUtil::CalculateCrc16(&magic, sizeof(NintendoFigurineDatabase) - sizeof(crc));
+}
+
+} // namespace Service::Mii
diff --git a/src/core/hle/service/mii/mii_database.h b/src/core/hle/service/mii/mii_database.h
new file mode 100644
index 000000000..3bd240f93
--- /dev/null
+++ b/src/core/hle/service/mii/mii_database.h
@@ -0,0 +1,66 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/hle/result.h"
+#include "core/hle/service/mii/types/store_data.h"
+
+namespace Service::Mii {
+
+constexpr std::size_t MaxDatabaseLength{100};
+constexpr u32 MiiMagic{0xa523b78f};
+constexpr u32 DatabaseMagic{0x4244464e}; // NFDB
+
+class NintendoFigurineDatabase {
+public:
+ /// Returns the total mii count.
+ u8 GetDatabaseLength() const;
+
+ /// Returns true if database is full.
+ bool IsFull() const;
+
+ /// Returns the mii of the specified index.
+ StoreData Get(std::size_t index) const;
+
+ /// Returns the total mii count. Ignoring special mii.
+ u32 GetCount(const DatabaseSessionMetadata& metadata) const;
+
+ /// Returns the index of a mii. If the mii isn't found returns false.
+ bool GetIndexByCreatorId(u32& out_index, const Common::UUID& create_id) const;
+
+ /// Moves the location of a specific mii.
+ Result Move(u32 current_index, u32 new_index);
+
+ /// Replaces mii with new data.
+ void Replace(u32 index, const StoreData& store_data);
+
+ /// Adds a new mii to the end of the database.
+ void Add(const StoreData& store_data);
+
+ /// Removes mii from database and shifts left the remainding data.
+ void Delete(u32 index);
+
+ /// Deletes all contents with a fresh database
+ void CleanDatabase();
+
+ /// Intentionally sets a bad checksum
+ void CorruptCrc();
+
+ /// Returns success if database is valid otherwise returns the corresponding error code.
+ Result CheckIntegrity();
+
+private:
+ /// Returns the checksum of the database
+ u16 GenerateDatabaseCrc();
+
+ u32 magic{}; // 'NFDB'
+ std::array<StoreData, MaxDatabaseLength> miis{};
+ u8 version{};
+ u8 database_length{};
+ u16 crc{};
+};
+static_assert(sizeof(NintendoFigurineDatabase) == 0x1A98,
+ "NintendoFigurineDatabase has incorrect size.");
+
+}; // namespace Service::Mii
diff --git a/src/core/hle/service/mii/mii_database_manager.cpp b/src/core/hle/service/mii/mii_database_manager.cpp
new file mode 100644
index 000000000..0080b6705
--- /dev/null
+++ b/src/core/hle/service/mii/mii_database_manager.cpp
@@ -0,0 +1,420 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "common/assert.h"
+#include "common/fs/file.h"
+#include "common/fs/fs.h"
+#include "common/fs/path_util.h"
+#include "common/logging/log.h"
+#include "common/string_util.h"
+
+#include "core/hle/service/mii/mii_database_manager.h"
+#include "core/hle/service/mii/mii_result.h"
+#include "core/hle/service/mii/mii_util.h"
+#include "core/hle/service/mii/types/char_info.h"
+#include "core/hle/service/mii/types/store_data.h"
+
+namespace Service::Mii {
+const char* DbFileName = "MiiDatabase.dat";
+
+DatabaseManager::DatabaseManager() {}
+
+Result DatabaseManager::MountSaveData() {
+ if (!is_save_data_mounted) {
+ system_save_dir =
+ Common::FS::GetYuzuPath(Common::FS::YuzuPath::NANDDir) / "system/save/8000000000000030";
+ if (is_test_db) {
+ system_save_dir = Common::FS::GetYuzuPath(Common::FS::YuzuPath::NANDDir) /
+ "system/save/8000000000000031";
+ }
+
+ // mount point should be "mii:"
+
+ if (!Common::FS::CreateDirs(system_save_dir)) {
+ return ResultUnknown;
+ }
+ }
+
+ is_save_data_mounted = true;
+ return ResultSuccess;
+}
+
+Result DatabaseManager::Initialize(DatabaseSessionMetadata& metadata, bool& is_database_broken) {
+ is_database_broken = false;
+ if (!is_save_data_mounted) {
+ return ResultInvalidArgument;
+ }
+
+ database.CleanDatabase();
+ update_counter++;
+ metadata.update_counter = update_counter;
+
+ const Common::FS::IOFile db_file{system_save_dir / DbFileName, Common::FS::FileAccessMode::Read,
+ Common::FS::FileType::BinaryFile};
+
+ if (!db_file.IsOpen()) {
+ return SaveDatabase();
+ }
+
+ if (Common::FS::GetSize(system_save_dir / DbFileName) != sizeof(NintendoFigurineDatabase)) {
+ is_database_broken = true;
+ }
+
+ if (db_file.Read(database) != 1) {
+ is_database_broken = true;
+ }
+
+ if (is_database_broken) {
+ // Dragons happen here for simplicity just clean the database
+ LOG_ERROR(Service_Mii, "Mii database is corrupted");
+ database.CleanDatabase();
+ return ResultUnknown;
+ }
+
+ const auto result = database.CheckIntegrity();
+
+ if (result.IsError()) {
+ LOG_ERROR(Service_Mii, "Mii database is corrupted 0x{:0x}", result.raw);
+ database.CleanDatabase();
+ return ResultSuccess;
+ }
+
+ LOG_INFO(Service_Mii, "Successfully loaded mii database. size={}",
+ database.GetDatabaseLength());
+ return ResultSuccess;
+}
+
+bool DatabaseManager::IsFullDatabase() const {
+ return database.GetDatabaseLength() == MaxDatabaseLength;
+}
+
+bool DatabaseManager::IsModified() const {
+ return is_moddified;
+}
+
+u64 DatabaseManager::GetUpdateCounter() const {
+ return update_counter;
+}
+
+u32 DatabaseManager::GetCount(const DatabaseSessionMetadata& metadata) const {
+ const u32 database_size = database.GetDatabaseLength();
+ if (metadata.magic == MiiMagic) {
+ return database_size;
+ }
+
+ // Special mii can't be used. Skip those.
+
+ u32 mii_count{};
+ for (std::size_t index = 0; index < database_size; ++index) {
+ const auto& store_data = database.Get(index);
+ if (store_data.IsSpecial()) {
+ continue;
+ }
+ mii_count++;
+ }
+
+ return mii_count;
+}
+
+void DatabaseManager::Get(StoreData& out_store_data, std::size_t index,
+ const DatabaseSessionMetadata& metadata) const {
+ if (metadata.magic == MiiMagic) {
+ out_store_data = database.Get(index);
+ return;
+ }
+
+ // The index refeers to the mii index without special mii.
+ // Search on the database until we find it
+
+ u32 virtual_index = 0;
+ const u32 database_size = database.GetDatabaseLength();
+ for (std::size_t i = 0; i < database_size; ++i) {
+ const auto& store_data = database.Get(i);
+ if (store_data.IsSpecial()) {
+ continue;
+ }
+ if (virtual_index == index) {
+ out_store_data = store_data;
+ return;
+ }
+ virtual_index++;
+ }
+
+ // This function doesn't fail. It returns the first mii instead
+ out_store_data = database.Get(0);
+}
+
+Result DatabaseManager::FindIndex(s32& out_index, const Common::UUID& create_id,
+ bool is_special) const {
+ u32 index{};
+ const bool is_found = database.GetIndexByCreatorId(index, create_id);
+
+ if (!is_found) {
+ return ResultNotFound;
+ }
+
+ if (is_special) {
+ out_index = index;
+ return ResultSuccess;
+ }
+
+ if (database.Get(index).IsSpecial()) {
+ return ResultNotFound;
+ }
+
+ out_index = 0;
+
+ if (index < 1) {
+ return ResultSuccess;
+ }
+
+ for (std::size_t i = 0; i < index; ++i) {
+ if (database.Get(i).IsSpecial()) {
+ continue;
+ }
+ out_index++;
+ }
+ return ResultSuccess;
+}
+
+Result DatabaseManager::FindIndex(const DatabaseSessionMetadata& metadata, u32& out_index,
+ const Common::UUID& create_id) const {
+ u32 index{};
+ const bool is_found = database.GetIndexByCreatorId(index, create_id);
+
+ if (!is_found) {
+ return ResultNotFound;
+ }
+
+ if (metadata.magic == MiiMagic) {
+ out_index = index;
+ return ResultSuccess;
+ }
+
+ if (database.Get(index).IsSpecial()) {
+ return ResultNotFound;
+ }
+
+ out_index = 0;
+
+ if (index < 1) {
+ return ResultSuccess;
+ }
+
+ // The index refeers to the mii index without special mii.
+ // Search on the database until we find it
+
+ for (std::size_t i = 0; i <= index; ++i) {
+ const auto& store_data = database.Get(i);
+ if (store_data.IsSpecial()) {
+ continue;
+ }
+ out_index++;
+ }
+ return ResultSuccess;
+}
+
+Result DatabaseManager::FindMoveIndex(u32& out_index, u32 new_index,
+ const Common::UUID& create_id) const {
+ const auto database_size = database.GetDatabaseLength();
+
+ if (database_size >= 1) {
+ u32 virtual_index{};
+ for (std::size_t i = 0; i < database_size; ++i) {
+ const StoreData& store_data = database.Get(i);
+ if (store_data.IsSpecial()) {
+ continue;
+ }
+ if (virtual_index == new_index) {
+ const bool is_found = database.GetIndexByCreatorId(out_index, create_id);
+ if (!is_found) {
+ return ResultNotFound;
+ }
+ if (store_data.IsSpecial()) {
+ return ResultInvalidOperation;
+ }
+ return ResultSuccess;
+ }
+ virtual_index++;
+ }
+ }
+
+ const bool is_found = database.GetIndexByCreatorId(out_index, create_id);
+ if (!is_found) {
+ return ResultNotFound;
+ }
+ const StoreData& store_data = database.Get(out_index);
+ if (store_data.IsSpecial()) {
+ return ResultInvalidOperation;
+ }
+ return ResultSuccess;
+}
+
+Result DatabaseManager::Move(DatabaseSessionMetadata& metadata, u32 new_index,
+ const Common::UUID& create_id) {
+ u32 current_index{};
+ if (metadata.magic == MiiMagic) {
+ const bool is_found = database.GetIndexByCreatorId(current_index, create_id);
+ if (!is_found) {
+ return ResultNotFound;
+ }
+ } else {
+ const auto result = FindMoveIndex(current_index, new_index, create_id);
+ if (result.IsError()) {
+ return result;
+ }
+ }
+
+ const auto result = database.Move(current_index, new_index);
+ if (result.IsFailure()) {
+ return result;
+ }
+
+ is_moddified = true;
+ update_counter++;
+ metadata.update_counter = update_counter;
+ return ResultSuccess;
+}
+
+Result DatabaseManager::AddOrReplace(DatabaseSessionMetadata& metadata,
+ const StoreData& store_data) {
+ if (store_data.IsValid() != ValidationResult::NoErrors) {
+ return ResultInvalidStoreData;
+ }
+ if (metadata.magic != MiiMagic && store_data.IsSpecial()) {
+ return ResultInvalidOperation;
+ }
+
+ u32 index{};
+ const bool is_found = database.GetIndexByCreatorId(index, store_data.GetCreateId());
+ if (is_found) {
+ const StoreData& old_store_data = database.Get(index);
+
+ if (store_data.IsSpecial() != old_store_data.IsSpecial()) {
+ return ResultInvalidOperation;
+ }
+
+ database.Replace(index, store_data);
+ } else {
+ if (database.IsFull()) {
+ return ResultDatabaseFull;
+ }
+
+ database.Add(store_data);
+ }
+
+ is_moddified = true;
+ update_counter++;
+ metadata.update_counter = update_counter;
+ return ResultSuccess;
+}
+
+Result DatabaseManager::Delete(DatabaseSessionMetadata& metadata, const Common::UUID& create_id) {
+ u32 index{};
+ const bool is_found = database.GetIndexByCreatorId(index, create_id);
+ if (!is_found) {
+ return ResultNotFound;
+ }
+
+ if (metadata.magic != MiiMagic) {
+ const auto& store_data = database.Get(index);
+ if (store_data.IsSpecial()) {
+ return ResultInvalidOperation;
+ }
+ }
+
+ database.Delete(index);
+
+ is_moddified = true;
+ update_counter++;
+ metadata.update_counter = update_counter;
+ return ResultSuccess;
+}
+
+Result DatabaseManager::Append(DatabaseSessionMetadata& metadata, const CharInfo& char_info) {
+ if (char_info.Verify() != ValidationResult::NoErrors) {
+ return ResultInvalidCharInfo2;
+ }
+ if (char_info.GetType() == 1) {
+ return ResultInvalidCharInfoType;
+ }
+
+ u32 index{};
+ StoreData store_data{};
+
+ // Loop until the mii we created is not on the database
+ do {
+ store_data.BuildWithCharInfo(char_info);
+ } while (database.GetIndexByCreatorId(index, store_data.GetCreateId()));
+
+ const Result result = store_data.Restore();
+
+ if (result.IsSuccess() || result == ResultNotUpdated) {
+ return AddOrReplace(metadata, store_data);
+ }
+
+ return result;
+}
+
+Result DatabaseManager::DestroyFile(DatabaseSessionMetadata& metadata) {
+ database.CorruptCrc();
+
+ is_moddified = true;
+ update_counter++;
+ metadata.update_counter = update_counter;
+
+ const auto result = SaveDatabase();
+ database.CleanDatabase();
+
+ return result;
+}
+
+Result DatabaseManager::DeleteFile() {
+ const bool result = Common::FS::RemoveFile(system_save_dir / DbFileName);
+ // TODO: Return proper FS error here
+ return result ? ResultSuccess : ResultUnknown;
+}
+
+void DatabaseManager::Format(DatabaseSessionMetadata& metadata) {
+ database.CleanDatabase();
+ is_moddified = true;
+ update_counter++;
+ metadata.update_counter = update_counter;
+}
+
+Result DatabaseManager::SaveDatabase() {
+ // TODO: Replace unknown error codes with proper FS error codes when available
+
+ if (!Common::FS::Exists(system_save_dir / DbFileName)) {
+ if (!Common::FS::NewFile(system_save_dir / DbFileName)) {
+ LOG_ERROR(Service_Mii, "Failed to create mii database");
+ return ResultUnknown;
+ }
+ }
+
+ const auto file_size = Common::FS::GetSize(system_save_dir / DbFileName);
+ if (file_size != 0 && file_size != sizeof(NintendoFigurineDatabase)) {
+ if (!Common::FS::RemoveFile(system_save_dir / DbFileName)) {
+ LOG_ERROR(Service_Mii, "Failed to delete mii database");
+ return ResultUnknown;
+ }
+ if (!Common::FS::NewFile(system_save_dir / DbFileName)) {
+ LOG_ERROR(Service_Mii, "Failed to create mii database");
+ return ResultUnknown;
+ }
+ }
+
+ const Common::FS::IOFile db_file{system_save_dir / DbFileName,
+ Common::FS::FileAccessMode::ReadWrite,
+ Common::FS::FileType::BinaryFile};
+
+ if (db_file.Write(database) != 1) {
+ LOG_ERROR(Service_Mii, "Failed to save mii database");
+ return ResultUnknown;
+ }
+
+ is_moddified = false;
+ return ResultSuccess;
+}
+
+} // namespace Service::Mii
diff --git a/src/core/hle/service/mii/mii_database_manager.h b/src/core/hle/service/mii/mii_database_manager.h
new file mode 100644
index 000000000..52c32be82
--- /dev/null
+++ b/src/core/hle/service/mii/mii_database_manager.h
@@ -0,0 +1,58 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "common/fs/fs.h"
+#include "core/hle/result.h"
+#include "core/hle/service/mii/mii_database.h"
+
+namespace Service::Mii {
+class CharInfo;
+class StoreData;
+
+class DatabaseManager {
+public:
+ DatabaseManager();
+ Result MountSaveData();
+ Result Initialize(DatabaseSessionMetadata& metadata, bool& is_database_broken);
+
+ bool IsFullDatabase() const;
+ bool IsModified() const;
+ u64 GetUpdateCounter() const;
+
+ void Get(StoreData& out_store_data, std::size_t index,
+ const DatabaseSessionMetadata& metadata) const;
+ u32 GetCount(const DatabaseSessionMetadata& metadata) const;
+
+ Result FindIndex(s32& out_index, const Common::UUID& create_id, bool is_special) const;
+ Result FindIndex(const DatabaseSessionMetadata& metadata, u32& out_index,
+ const Common::UUID& create_id) const;
+ Result FindMoveIndex(u32& out_index, u32 new_index, const Common::UUID& create_id) const;
+
+ Result Move(DatabaseSessionMetadata& metadata, u32 current_index,
+ const Common::UUID& create_id);
+ Result AddOrReplace(DatabaseSessionMetadata& metadata, const StoreData& out_store_data);
+ Result Delete(DatabaseSessionMetadata& metadata, const Common::UUID& create_id);
+ Result Append(DatabaseSessionMetadata& metadata, const CharInfo& char_info);
+
+ Result DestroyFile(DatabaseSessionMetadata& metadata);
+ Result DeleteFile();
+ void Format(DatabaseSessionMetadata& metadata);
+
+ Result SaveDatabase();
+
+private:
+ // This is the global value of
+ // nn::settings::fwdbg::GetSettingsItemValue("is_db_test_mode_enabled");
+ bool is_test_db{};
+
+ bool is_moddified{};
+ bool is_save_data_mounted{};
+ u64 update_counter{};
+ NintendoFigurineDatabase database{};
+
+ std::filesystem::path system_save_dir{};
+};
+
+}; // namespace Service::Mii
diff --git a/src/core/hle/service/mii/mii_manager.cpp b/src/core/hle/service/mii/mii_manager.cpp
index c920650f5..dcfd6b2e2 100644
--- a/src/core/hle/service/mii/mii_manager.cpp
+++ b/src/core/hle/service/mii/mii_manager.cpp
@@ -1,698 +1,486 @@
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include <cstring>
-#include <random>
-
-#include "common/assert.h"
#include "common/logging/log.h"
-#include "common/string_util.h"
-
-#include "core/hle/service/acc/profile_manager.h"
+#include "core/hle/service/mii/mii_database_manager.h"
#include "core/hle/service/mii/mii_manager.h"
-#include "core/hle/service/mii/raw_data.h"
+#include "core/hle/service/mii/mii_result.h"
+#include "core/hle/service/mii/mii_util.h"
+#include "core/hle/service/mii/types/char_info.h"
+#include "core/hle/service/mii/types/core_data.h"
+#include "core/hle/service/mii/types/raw_data.h"
+#include "core/hle/service/mii/types/store_data.h"
+#include "core/hle/service/mii/types/ver3_store_data.h"
namespace Service::Mii {
+constexpr std::size_t DefaultMiiCount{RawData::DefaultMii.size()};
-namespace {
+MiiManager::MiiManager() {}
-constexpr Result ERROR_CANNOT_FIND_ENTRY{ErrorModule::Mii, 4};
+Result MiiManager::Initialize(DatabaseSessionMetadata& metadata) {
+ database_manager.MountSaveData();
+ database_manager.Initialize(metadata, is_broken_with_clear_flag);
+ return ResultSuccess;
+}
-constexpr std::size_t BaseMiiCount{2};
-constexpr std::size_t DefaultMiiCount{RawData::DefaultMii.size()};
+void MiiManager::BuildDefault(CharInfo& out_char_info, u32 index) const {
+ StoreData store_data{};
+ store_data.BuildDefault(index);
+ out_char_info.SetFromStoreData(store_data);
+}
-constexpr MiiStoreData::Name DefaultMiiName{u'y', u'u', u'z', u'u'};
-constexpr std::array<u8, 8> HairColorLookup{8, 1, 2, 3, 4, 5, 6, 7};
-constexpr std::array<u8, 6> EyeColorLookup{8, 9, 10, 11, 12, 13};
-constexpr std::array<u8, 5> MouthColorLookup{19, 20, 21, 22, 23};
-constexpr std::array<u8, 7> GlassesColorLookup{8, 14, 15, 16, 17, 18, 0};
-constexpr std::array<u8, 62> EyeRotateLookup{
- {0x03, 0x04, 0x04, 0x04, 0x03, 0x04, 0x04, 0x04, 0x03, 0x04, 0x04, 0x04, 0x04, 0x03, 0x03, 0x04,
- 0x04, 0x04, 0x03, 0x03, 0x04, 0x03, 0x04, 0x03, 0x03, 0x04, 0x03, 0x04, 0x04, 0x03, 0x04, 0x04,
- 0x04, 0x03, 0x03, 0x03, 0x04, 0x04, 0x03, 0x03, 0x03, 0x04, 0x04, 0x03, 0x03, 0x03, 0x03, 0x03,
- 0x03, 0x03, 0x03, 0x03, 0x04, 0x04, 0x04, 0x04, 0x03, 0x04, 0x04, 0x03, 0x04, 0x04}};
-constexpr std::array<u8, 24> EyebrowRotateLookup{{0x06, 0x06, 0x05, 0x07, 0x06, 0x07, 0x06, 0x07,
- 0x04, 0x07, 0x06, 0x08, 0x05, 0x05, 0x06, 0x06,
- 0x07, 0x07, 0x06, 0x06, 0x05, 0x06, 0x07, 0x05}};
-
-template <typename T, std::size_t SourceArraySize, std::size_t DestArraySize>
-std::array<T, DestArraySize> ResizeArray(const std::array<T, SourceArraySize>& in) {
- std::array<T, DestArraySize> out{};
- std::memcpy(out.data(), in.data(), sizeof(T) * std::min(SourceArraySize, DestArraySize));
- return out;
+void MiiManager::BuildBase(CharInfo& out_char_info, Gender gender) const {
+ StoreData store_data{};
+ store_data.BuildBase(gender);
+ out_char_info.SetFromStoreData(store_data);
}
-CharInfo ConvertStoreDataToInfo(const MiiStoreData& data) {
- MiiStoreBitFields bf;
- std::memcpy(&bf, data.data.data.data(), sizeof(MiiStoreBitFields));
-
- return {
- .uuid = data.data.uuid,
- .name = ResizeArray<char16_t, 10, 11>(data.data.name),
- .font_region = static_cast<u8>(bf.font_region.Value()),
- .favorite_color = static_cast<u8>(bf.favorite_color.Value()),
- .gender = static_cast<u8>(bf.gender.Value()),
- .height = static_cast<u8>(bf.height.Value()),
- .build = static_cast<u8>(bf.build.Value()),
- .type = static_cast<u8>(bf.type.Value()),
- .region_move = static_cast<u8>(bf.region_move.Value()),
- .faceline_type = static_cast<u8>(bf.faceline_type.Value()),
- .faceline_color = static_cast<u8>(bf.faceline_color.Value()),
- .faceline_wrinkle = static_cast<u8>(bf.faceline_wrinkle.Value()),
- .faceline_make = static_cast<u8>(bf.faceline_makeup.Value()),
- .hair_type = static_cast<u8>(bf.hair_type.Value()),
- .hair_color = static_cast<u8>(bf.hair_color.Value()),
- .hair_flip = static_cast<u8>(bf.hair_flip.Value()),
- .eye_type = static_cast<u8>(bf.eye_type.Value()),
- .eye_color = static_cast<u8>(bf.eye_color.Value()),
- .eye_scale = static_cast<u8>(bf.eye_scale.Value()),
- .eye_aspect = static_cast<u8>(bf.eye_aspect.Value()),
- .eye_rotate = static_cast<u8>(bf.eye_rotate.Value()),
- .eye_x = static_cast<u8>(bf.eye_x.Value()),
- .eye_y = static_cast<u8>(bf.eye_y.Value()),
- .eyebrow_type = static_cast<u8>(bf.eyebrow_type.Value()),
- .eyebrow_color = static_cast<u8>(bf.eyebrow_color.Value()),
- .eyebrow_scale = static_cast<u8>(bf.eyebrow_scale.Value()),
- .eyebrow_aspect = static_cast<u8>(bf.eyebrow_aspect.Value()),
- .eyebrow_rotate = static_cast<u8>(bf.eyebrow_rotate.Value()),
- .eyebrow_x = static_cast<u8>(bf.eyebrow_x.Value()),
- .eyebrow_y = static_cast<u8>(bf.eyebrow_y.Value() + 3),
- .nose_type = static_cast<u8>(bf.nose_type.Value()),
- .nose_scale = static_cast<u8>(bf.nose_scale.Value()),
- .nose_y = static_cast<u8>(bf.nose_y.Value()),
- .mouth_type = static_cast<u8>(bf.mouth_type.Value()),
- .mouth_color = static_cast<u8>(bf.mouth_color.Value()),
- .mouth_scale = static_cast<u8>(bf.mouth_scale.Value()),
- .mouth_aspect = static_cast<u8>(bf.mouth_aspect.Value()),
- .mouth_y = static_cast<u8>(bf.mouth_y.Value()),
- .beard_color = static_cast<u8>(bf.beard_color.Value()),
- .beard_type = static_cast<u8>(bf.beard_type.Value()),
- .mustache_type = static_cast<u8>(bf.mustache_type.Value()),
- .mustache_scale = static_cast<u8>(bf.mustache_scale.Value()),
- .mustache_y = static_cast<u8>(bf.mustache_y.Value()),
- .glasses_type = static_cast<u8>(bf.glasses_type.Value()),
- .glasses_color = static_cast<u8>(bf.glasses_color.Value()),
- .glasses_scale = static_cast<u8>(bf.glasses_scale.Value()),
- .glasses_y = static_cast<u8>(bf.glasses_y.Value()),
- .mole_type = static_cast<u8>(bf.mole_type.Value()),
- .mole_scale = static_cast<u8>(bf.mole_scale.Value()),
- .mole_x = static_cast<u8>(bf.mole_x.Value()),
- .mole_y = static_cast<u8>(bf.mole_y.Value()),
- .padding = 0,
- };
+void MiiManager::BuildRandom(CharInfo& out_char_info, Age age, Gender gender, Race race) const {
+ StoreData store_data{};
+ store_data.BuildRandom(age, gender, race);
+ out_char_info.SetFromStoreData(store_data);
}
-u16 GenerateCrc16(const void* data, std::size_t size) {
- s32 crc{};
- for (std::size_t i = 0; i < size; i++) {
- crc ^= static_cast<const u8*>(data)[i] << 8;
- for (std::size_t j = 0; j < 8; j++) {
- crc <<= 1;
- if ((crc & 0x10000) != 0) {
- crc = (crc ^ 0x1021) & 0xFFFF;
- }
- }
- }
- return Common::swap16(static_cast<u16>(crc));
+bool MiiManager::IsFullDatabase() const {
+ return database_manager.IsFullDatabase();
}
-template <typename T>
-T GetRandomValue(T min, T max) {
- std::random_device device;
- std::mt19937 gen(device());
- std::uniform_int_distribution<u64> distribution(static_cast<u64>(min), static_cast<u64>(max));
- return static_cast<T>(distribution(gen));
+void MiiManager::SetInterfaceVersion(DatabaseSessionMetadata& metadata, u32 version) const {
+ metadata.interface_version = version;
}
-template <typename T>
-T GetRandomValue(T max) {
- return GetRandomValue<T>({}, max);
+bool MiiManager::IsUpdated(DatabaseSessionMetadata& metadata, SourceFlag source_flag) const {
+ if ((source_flag & SourceFlag::Database) == SourceFlag::None) {
+ return false;
+ }
+
+ const u64 metadata_update_counter = metadata.update_counter;
+ const u64 database_update_counter = database_manager.GetUpdateCounter();
+ metadata.update_counter = database_update_counter;
+ return metadata_update_counter != database_update_counter;
}
-MiiStoreData BuildRandomStoreData(Age age, Gender gender, Race race, const Common::UUID& user_id) {
- MiiStoreBitFields bf{};
-
- if (gender == Gender::All) {
- gender = GetRandomValue<Gender>(Gender::Maximum);
- }
-
- bf.gender.Assign(gender);
- bf.favorite_color.Assign(GetRandomValue<u8>(11));
- bf.region_move.Assign(0);
- bf.font_region.Assign(FontRegion::Standard);
- bf.type.Assign(0);
- bf.height.Assign(64);
- bf.build.Assign(64);
-
- if (age == Age::All) {
- const auto temp{GetRandomValue<int>(10)};
- if (temp >= 8) {
- age = Age::Old;
- } else if (temp >= 4) {
- age = Age::Normal;
- } else {
- age = Age::Young;
- }
+u32 MiiManager::GetCount(const DatabaseSessionMetadata& metadata, SourceFlag source_flag) const {
+ u32 mii_count{};
+ if ((source_flag & SourceFlag::Default) != SourceFlag::None) {
+ mii_count += DefaultMiiCount;
+ }
+ if ((source_flag & SourceFlag::Database) != SourceFlag::None) {
+ mii_count += database_manager.GetCount(metadata);
}
+ return mii_count;
+}
- if (race == Race::All) {
- const auto temp{GetRandomValue<int>(10)};
- if (temp >= 8) {
- race = Race::Black;
- } else if (temp >= 4) {
- race = Race::White;
- } else {
- race = Race::Asian;
- }
+Result MiiManager::Move(DatabaseSessionMetadata& metadata, u32 index,
+ const Common::UUID& create_id) {
+ const auto result = database_manager.Move(metadata, index, create_id);
+
+ if (result.IsFailure()) {
+ return result;
}
- u32 axis_y{};
- if (gender == Gender::Female && age == Age::Young) {
- axis_y = GetRandomValue<u32>(3);
- }
-
- const std::size_t index{3 * static_cast<std::size_t>(age) +
- 9 * static_cast<std::size_t>(gender) + static_cast<std::size_t>(race)};
-
- const auto faceline_type_info{RawData::RandomMiiFaceline.at(index)};
- const auto faceline_color_info{RawData::RandomMiiFacelineColor.at(
- 3 * static_cast<std::size_t>(gender) + static_cast<std::size_t>(race))};
- const auto faceline_wrinkle_info{RawData::RandomMiiFacelineWrinkle.at(index)};
- const auto faceline_makeup_info{RawData::RandomMiiFacelineMakeup.at(index)};
- const auto hair_type_info{RawData::RandomMiiHairType.at(index)};
- const auto hair_color_info{RawData::RandomMiiHairColor.at(3 * static_cast<std::size_t>(race) +
- static_cast<std::size_t>(age))};
- const auto eye_type_info{RawData::RandomMiiEyeType.at(index)};
- const auto eye_color_info{RawData::RandomMiiEyeColor.at(static_cast<std::size_t>(race))};
- const auto eyebrow_type_info{RawData::RandomMiiEyebrowType.at(index)};
- const auto nose_type_info{RawData::RandomMiiNoseType.at(index)};
- const auto mouth_type_info{RawData::RandomMiiMouthType.at(index)};
- const auto glasses_type_info{RawData::RandomMiiGlassType.at(static_cast<std::size_t>(age))};
-
- bf.faceline_type.Assign(
- faceline_type_info.values[GetRandomValue<std::size_t>(faceline_type_info.values_count)]);
- bf.faceline_color.Assign(
- faceline_color_info.values[GetRandomValue<std::size_t>(faceline_color_info.values_count)]);
- bf.faceline_wrinkle.Assign(
- faceline_wrinkle_info
- .values[GetRandomValue<std::size_t>(faceline_wrinkle_info.values_count)]);
- bf.faceline_makeup.Assign(
- faceline_makeup_info
- .values[GetRandomValue<std::size_t>(faceline_makeup_info.values_count)]);
-
- bf.hair_type.Assign(
- hair_type_info.values[GetRandomValue<std::size_t>(hair_type_info.values_count)]);
- bf.hair_color.Assign(
- HairColorLookup[hair_color_info
- .values[GetRandomValue<std::size_t>(hair_color_info.values_count)]]);
- bf.hair_flip.Assign(GetRandomValue<HairFlip>(HairFlip::Maximum));
-
- bf.eye_type.Assign(
- eye_type_info.values[GetRandomValue<std::size_t>(eye_type_info.values_count)]);
-
- const auto eye_rotate_1{gender != Gender::Male ? 4 : 2};
- const auto eye_rotate_2{gender != Gender::Male ? 3 : 4};
- const auto eye_rotate_offset{32 - EyeRotateLookup[eye_rotate_1] + eye_rotate_2};
- const auto eye_rotate{32 - EyeRotateLookup[bf.eye_type]};
-
- bf.eye_color.Assign(
- EyeColorLookup[eye_color_info
- .values[GetRandomValue<std::size_t>(eye_color_info.values_count)]]);
- bf.eye_scale.Assign(4);
- bf.eye_aspect.Assign(3);
- bf.eye_rotate.Assign(eye_rotate_offset - eye_rotate);
- bf.eye_x.Assign(2);
- bf.eye_y.Assign(axis_y + 12);
-
- bf.eyebrow_type.Assign(
- eyebrow_type_info.values[GetRandomValue<std::size_t>(eyebrow_type_info.values_count)]);
-
- const auto eyebrow_rotate_1{race == Race::Asian ? 6 : 0};
- const auto eyebrow_y{race == Race::Asian ? 9 : 10};
- const auto eyebrow_rotate_offset{32 - EyebrowRotateLookup[eyebrow_rotate_1] + 6};
- const auto eyebrow_rotate{
- 32 - EyebrowRotateLookup[static_cast<std::size_t>(bf.eyebrow_type.Value())]};
-
- bf.eyebrow_color.Assign(bf.hair_color);
- bf.eyebrow_scale.Assign(4);
- bf.eyebrow_aspect.Assign(3);
- bf.eyebrow_rotate.Assign(eyebrow_rotate_offset - eyebrow_rotate);
- bf.eyebrow_x.Assign(2);
- bf.eyebrow_y.Assign(axis_y + eyebrow_y);
-
- const auto nose_scale{gender == Gender::Female ? 3 : 4};
-
- bf.nose_type.Assign(
- nose_type_info.values[GetRandomValue<std::size_t>(nose_type_info.values_count)]);
- bf.nose_scale.Assign(nose_scale);
- bf.nose_y.Assign(axis_y + 9);
-
- const auto mouth_color{gender == Gender::Female ? GetRandomValue<int>(4) : 0};
-
- bf.mouth_type.Assign(
- mouth_type_info.values[GetRandomValue<std::size_t>(mouth_type_info.values_count)]);
- bf.mouth_color.Assign(MouthColorLookup[mouth_color]);
- bf.mouth_scale.Assign(4);
- bf.mouth_aspect.Assign(3);
- bf.mouth_y.Assign(axis_y + 13);
-
- bf.beard_color.Assign(bf.hair_color);
- bf.mustache_scale.Assign(4);
-
- if (gender == Gender::Male && age != Age::Young && GetRandomValue<int>(10) < 2) {
- const auto mustache_and_beard_flag{
- GetRandomValue<BeardAndMustacheFlag>(BeardAndMustacheFlag::All)};
-
- auto beard_type{BeardType::None};
- auto mustache_type{MustacheType::None};
-
- if ((mustache_and_beard_flag & BeardAndMustacheFlag::Beard) ==
- BeardAndMustacheFlag::Beard) {
- beard_type = GetRandomValue<BeardType>(BeardType::Beard1, BeardType::Beard5);
- }
+ if (!database_manager.IsModified()) {
+ return ResultNotUpdated;
+ }
- if ((mustache_and_beard_flag & BeardAndMustacheFlag::Mustache) ==
- BeardAndMustacheFlag::Mustache) {
- mustache_type =
- GetRandomValue<MustacheType>(MustacheType::Mustache1, MustacheType::Mustache5);
- }
+ return database_manager.SaveDatabase();
+}
- bf.mustache_type.Assign(mustache_type);
- bf.beard_type.Assign(beard_type);
- bf.mustache_y.Assign(10);
- } else {
- bf.mustache_type.Assign(MustacheType::None);
- bf.beard_type.Assign(BeardType::None);
- bf.mustache_y.Assign(axis_y + 10);
- }
-
- const auto glasses_type_start{GetRandomValue<std::size_t>(100)};
- u8 glasses_type{};
- while (glasses_type_start < glasses_type_info.values[glasses_type]) {
- if (++glasses_type >= glasses_type_info.values_count) {
- ASSERT(false);
- break;
- }
+Result MiiManager::AddOrReplace(DatabaseSessionMetadata& metadata, const StoreData& store_data) {
+ const auto result = database_manager.AddOrReplace(metadata, store_data);
+
+ if (result.IsFailure()) {
+ return result;
+ }
+
+ if (!database_manager.IsModified()) {
+ return ResultNotUpdated;
}
- bf.glasses_type.Assign(glasses_type);
- bf.glasses_color.Assign(GlassesColorLookup[0]);
- bf.glasses_scale.Assign(4);
- bf.glasses_y.Assign(axis_y + 10);
+ return database_manager.SaveDatabase();
+}
- bf.mole_type.Assign(0);
- bf.mole_scale.Assign(4);
- bf.mole_x.Assign(2);
- bf.mole_y.Assign(20);
+Result MiiManager::Delete(DatabaseSessionMetadata& metadata, const Common::UUID& create_id) {
+ const auto result = database_manager.Delete(metadata, create_id);
- return {DefaultMiiName, bf, user_id};
+ if (result.IsFailure()) {
+ return result;
+ }
+
+ if (!database_manager.IsModified()) {
+ return ResultNotUpdated;
+ }
+
+ return database_manager.SaveDatabase();
}
-MiiStoreData BuildDefaultStoreData(const DefaultMii& info, const Common::UUID& user_id) {
- MiiStoreBitFields bf{};
-
- bf.font_region.Assign(info.font_region);
- bf.favorite_color.Assign(info.favorite_color);
- bf.gender.Assign(info.gender);
- bf.height.Assign(info.height);
- bf.build.Assign(info.weight);
- bf.type.Assign(info.type);
- bf.region_move.Assign(info.region);
- bf.faceline_type.Assign(info.face_type);
- bf.faceline_color.Assign(info.face_color);
- bf.faceline_wrinkle.Assign(info.face_wrinkle);
- bf.faceline_makeup.Assign(info.face_makeup);
- bf.hair_type.Assign(info.hair_type);
- bf.hair_color.Assign(HairColorLookup[info.hair_color]);
- bf.hair_flip.Assign(static_cast<HairFlip>(info.hair_flip));
- bf.eye_type.Assign(info.eye_type);
- bf.eye_color.Assign(EyeColorLookup[info.eye_color]);
- bf.eye_scale.Assign(info.eye_scale);
- bf.eye_aspect.Assign(info.eye_aspect);
- bf.eye_rotate.Assign(info.eye_rotate);
- bf.eye_x.Assign(info.eye_x);
- bf.eye_y.Assign(info.eye_y);
- bf.eyebrow_type.Assign(info.eyebrow_type);
- bf.eyebrow_color.Assign(HairColorLookup[info.eyebrow_color]);
- bf.eyebrow_scale.Assign(info.eyebrow_scale);
- bf.eyebrow_aspect.Assign(info.eyebrow_aspect);
- bf.eyebrow_rotate.Assign(info.eyebrow_rotate);
- bf.eyebrow_x.Assign(info.eyebrow_x);
- bf.eyebrow_y.Assign(info.eyebrow_y - 3);
- bf.nose_type.Assign(info.nose_type);
- bf.nose_scale.Assign(info.nose_scale);
- bf.nose_y.Assign(info.nose_y);
- bf.mouth_type.Assign(info.mouth_type);
- bf.mouth_color.Assign(MouthColorLookup[info.mouth_color]);
- bf.mouth_scale.Assign(info.mouth_scale);
- bf.mouth_aspect.Assign(info.mouth_aspect);
- bf.mouth_y.Assign(info.mouth_y);
- bf.beard_color.Assign(HairColorLookup[info.beard_color]);
- bf.beard_type.Assign(static_cast<BeardType>(info.beard_type));
- bf.mustache_type.Assign(static_cast<MustacheType>(info.mustache_type));
- bf.mustache_scale.Assign(info.mustache_scale);
- bf.mustache_y.Assign(info.mustache_y);
- bf.glasses_type.Assign(info.glasses_type);
- bf.glasses_color.Assign(GlassesColorLookup[info.glasses_color]);
- bf.glasses_scale.Assign(info.glasses_scale);
- bf.glasses_y.Assign(info.glasses_y);
- bf.mole_type.Assign(info.mole_type);
- bf.mole_scale.Assign(info.mole_scale);
- bf.mole_x.Assign(info.mole_x);
- bf.mole_y.Assign(info.mole_y);
-
- return {DefaultMiiName, bf, user_id};
+s32 MiiManager::FindIndex(const Common::UUID& create_id, bool is_special) const {
+ s32 index{};
+ const auto result = database_manager.FindIndex(index, create_id, is_special);
+ if (result.IsError()) {
+ index = -1;
+ }
+ return index;
}
-} // namespace
+Result MiiManager::GetIndex(const DatabaseSessionMetadata& metadata, const CharInfo& char_info,
+ s32& out_index) const {
+ if (char_info.Verify() != ValidationResult::NoErrors) {
+ return ResultInvalidCharInfo;
+ }
+
+ s32 index{};
+ const bool is_special = metadata.magic == MiiMagic;
+ const auto result = database_manager.FindIndex(index, char_info.GetCreateId(), is_special);
-MiiStoreData::MiiStoreData() = default;
+ if (result.IsError()) {
+ index = -1;
+ }
-MiiStoreData::MiiStoreData(const MiiStoreData::Name& name, const MiiStoreBitFields& bit_fields,
- const Common::UUID& user_id) {
- data.name = name;
- data.uuid = Common::UUID::MakeRandomRFC4122V4();
+ if (index == -1) {
+ return ResultNotFound;
+ }
- std::memcpy(data.data.data(), &bit_fields, sizeof(MiiStoreBitFields));
- data_crc = GenerateCrc16(data.data.data(), sizeof(data));
- device_crc = GenerateCrc16(&user_id, sizeof(Common::UUID));
+ out_index = index;
+ return ResultSuccess;
}
-MiiManager::MiiManager() : user_id{Service::Account::ProfileManager().GetLastOpenedUser()} {}
+Result MiiManager::Append(DatabaseSessionMetadata& metadata, const CharInfo& char_info) {
+ const auto result = database_manager.Append(metadata, char_info);
-bool MiiManager::CheckAndResetUpdateCounter(SourceFlag source_flag, u64& current_update_counter) {
- if ((source_flag & SourceFlag::Database) == SourceFlag::None) {
- return false;
+ if (result.IsError()) {
+ return ResultNotFound;
}
- const bool result{current_update_counter != update_counter};
+ if (!database_manager.IsModified()) {
+ return ResultNotUpdated;
+ }
- current_update_counter = update_counter;
+ return database_manager.SaveDatabase();
+}
- return result;
+bool MiiManager::IsBrokenWithClearFlag(DatabaseSessionMetadata& metadata) {
+ const bool is_broken = is_broken_with_clear_flag;
+ if (is_broken_with_clear_flag) {
+ is_broken_with_clear_flag = false;
+ database_manager.Format(metadata);
+ database_manager.SaveDatabase();
+ }
+ return is_broken;
}
-bool MiiManager::IsFullDatabase() const {
- // TODO(bunnei): We don't implement the Mii database, so it cannot be full
- return false;
+Result MiiManager::DestroyFile(DatabaseSessionMetadata& metadata) {
+ is_broken_with_clear_flag = true;
+ return database_manager.DestroyFile(metadata);
}
-u32 MiiManager::GetCount(SourceFlag source_flag) const {
- std::size_t count{};
- if ((source_flag & SourceFlag::Database) != SourceFlag::None) {
- // TODO(bunnei): We don't implement the Mii database, but when we do, update this
- count += 0;
- }
- if ((source_flag & SourceFlag::Default) != SourceFlag::None) {
- count += (DefaultMiiCount - BaseMiiCount);
+Result MiiManager::DeleteFile() {
+ return database_manager.DeleteFile();
+}
+
+Result MiiManager::Format(DatabaseSessionMetadata& metadata) {
+ database_manager.Format(metadata);
+
+ if (!database_manager.IsModified()) {
+ return ResultNotUpdated;
}
- return static_cast<u32>(count);
+ return database_manager.SaveDatabase();
}
-ResultVal<CharInfo> MiiManager::UpdateLatest([[maybe_unused]] const CharInfo& info,
- SourceFlag source_flag) {
- if ((source_flag & SourceFlag::Database) == SourceFlag::None) {
- return ERROR_CANNOT_FIND_ENTRY;
+Result MiiManager::ConvertV3ToCharInfo(CharInfo& out_char_info, const Ver3StoreData& mii_v3) const {
+ if (!mii_v3.IsValid()) {
+ return ResultInvalidCharInfo;
}
- // TODO(bunnei): We don't implement the Mii database, so we can't have an entry
- return ERROR_CANNOT_FIND_ENTRY;
-}
+ StoreData store_data{};
+ mii_v3.BuildToStoreData(store_data);
+ const auto name = store_data.GetNickname();
+ if (!MiiUtil::IsFontRegionValid(store_data.GetFontRegion(), name.data)) {
+ store_data.SetInvalidName();
+ }
-CharInfo MiiManager::BuildRandom(Age age, Gender gender, Race race) {
- return ConvertStoreDataToInfo(BuildRandomStoreData(age, gender, race, user_id));
+ out_char_info.SetFromStoreData(store_data);
+ return ResultSuccess;
}
-CharInfo MiiManager::BuildDefault(std::size_t index) {
- return ConvertStoreDataToInfo(BuildDefaultStoreData(RawData::DefaultMii.at(index), user_id));
+Result MiiManager::ConvertCoreDataToCharInfo(CharInfo& out_char_info,
+ const CoreData& core_data) const {
+ if (core_data.IsValid() != ValidationResult::NoErrors) {
+ return ResultInvalidCharInfo;
+ }
+
+ StoreData store_data{};
+ store_data.BuildWithCoreData(core_data);
+ const auto name = store_data.GetNickname();
+ if (!MiiUtil::IsFontRegionValid(store_data.GetFontRegion(), name.data)) {
+ store_data.SetInvalidName();
+ }
+
+ out_char_info.SetFromStoreData(store_data);
+ return ResultSuccess;
}
-CharInfo MiiManager::ConvertV3ToCharInfo(const Ver3StoreData& mii_v3) const {
- Service::Mii::MiiManager manager;
- auto mii = manager.BuildDefault(0);
+Result MiiManager::ConvertCharInfoToCoreData(CoreData& out_core_data,
+ const CharInfo& char_info) const {
+ if (char_info.Verify() != ValidationResult::NoErrors) {
+ return ResultInvalidCharInfo;
+ }
- if (!ValidateV3Info(mii_v3)) {
- return mii;
+ out_core_data.BuildFromCharInfo(char_info);
+ const auto name = out_core_data.GetNickname();
+ if (!MiiUtil::IsFontRegionValid(out_core_data.GetFontRegion(), name.data)) {
+ out_core_data.SetNickname(out_core_data.GetInvalidNickname());
}
- // TODO: We are ignoring a bunch of data from the mii_v3
+ return ResultSuccess;
+}
- mii.gender = static_cast<u8>(mii_v3.mii_information.gender);
- mii.favorite_color = static_cast<u8>(mii_v3.mii_information.favorite_color);
- mii.height = mii_v3.height;
- mii.build = mii_v3.build;
+Result MiiManager::UpdateLatest(const DatabaseSessionMetadata& metadata, CharInfo& out_char_info,
+ const CharInfo& char_info, SourceFlag source_flag) const {
+ if ((source_flag & SourceFlag::Database) == SourceFlag::None) {
+ return ResultNotFound;
+ }
- // Copy name until string terminator
- mii.name = {};
- for (std::size_t index = 0; index < mii.name.size() - 1; index++) {
- mii.name[index] = mii_v3.mii_name[index];
- if (mii.name[index] == 0) {
- break;
+ if (metadata.IsInterfaceVersionSupported(1)) {
+ if (char_info.Verify() != ValidationResult::NoErrors) {
+ return ResultInvalidCharInfo;
}
}
- mii.font_region = mii_v3.region_information.character_set;
+ u32 index{};
+ Result result = database_manager.FindIndex(metadata, index, char_info.GetCreateId());
- mii.faceline_type = mii_v3.appearance_bits1.face_shape;
- mii.faceline_color = mii_v3.appearance_bits1.skin_color;
- mii.faceline_wrinkle = mii_v3.appearance_bits2.wrinkles;
- mii.faceline_make = mii_v3.appearance_bits2.makeup;
+ if (result.IsError()) {
+ return result;
+ }
+
+ StoreData store_data{};
+ database_manager.Get(store_data, index, metadata);
+
+ if (store_data.GetType() != char_info.GetType()) {
+ return ResultNotFound;
+ }
- mii.hair_type = mii_v3.hair_style;
- mii.hair_color = mii_v3.appearance_bits3.hair_color;
- mii.hair_flip = mii_v3.appearance_bits3.flip_hair;
+ out_char_info.SetFromStoreData(store_data);
- mii.eye_type = static_cast<u8>(mii_v3.appearance_bits4.eye_type);
- mii.eye_color = static_cast<u8>(mii_v3.appearance_bits4.eye_color);
- mii.eye_scale = static_cast<u8>(mii_v3.appearance_bits4.eye_scale);
- mii.eye_aspect = static_cast<u8>(mii_v3.appearance_bits4.eye_vertical_stretch);
- mii.eye_rotate = static_cast<u8>(mii_v3.appearance_bits4.eye_rotation);
- mii.eye_x = static_cast<u8>(mii_v3.appearance_bits4.eye_spacing);
- mii.eye_y = static_cast<u8>(mii_v3.appearance_bits4.eye_y_position);
+ if (char_info == out_char_info) {
+ return ResultNotUpdated;
+ }
- mii.eyebrow_type = static_cast<u8>(mii_v3.appearance_bits5.eyebrow_style);
- mii.eyebrow_color = static_cast<u8>(mii_v3.appearance_bits5.eyebrow_color);
- mii.eyebrow_scale = static_cast<u8>(mii_v3.appearance_bits5.eyebrow_scale);
- mii.eyebrow_aspect = static_cast<u8>(mii_v3.appearance_bits5.eyebrow_yscale);
- mii.eyebrow_rotate = static_cast<u8>(mii_v3.appearance_bits5.eyebrow_rotation);
- mii.eyebrow_x = static_cast<u8>(mii_v3.appearance_bits5.eyebrow_spacing);
- mii.eyebrow_y = static_cast<u8>(mii_v3.appearance_bits5.eyebrow_y_position);
+ return ResultSuccess;
+}
- mii.nose_type = static_cast<u8>(mii_v3.appearance_bits6.nose_type);
- mii.nose_scale = static_cast<u8>(mii_v3.appearance_bits6.nose_scale);
- mii.nose_y = static_cast<u8>(mii_v3.appearance_bits6.nose_y_position);
+Result MiiManager::UpdateLatest(const DatabaseSessionMetadata& metadata, StoreData& out_store_data,
+ const StoreData& store_data, SourceFlag source_flag) const {
+ if ((source_flag & SourceFlag::Database) == SourceFlag::None) {
+ return ResultNotFound;
+ }
- mii.mouth_type = static_cast<u8>(mii_v3.appearance_bits7.mouth_type);
- mii.mouth_color = static_cast<u8>(mii_v3.appearance_bits7.mouth_color);
- mii.mouth_scale = static_cast<u8>(mii_v3.appearance_bits7.mouth_scale);
- mii.mouth_aspect = static_cast<u8>(mii_v3.appearance_bits7.mouth_horizontal_stretch);
- mii.mouth_y = static_cast<u8>(mii_v3.appearance_bits8.mouth_y_position);
+ if (metadata.IsInterfaceVersionSupported(1)) {
+ if (store_data.IsValid() != ValidationResult::NoErrors) {
+ return ResultInvalidCharInfo;
+ }
+ }
- mii.mustache_type = static_cast<u8>(mii_v3.appearance_bits8.mustache_type);
- mii.mustache_scale = static_cast<u8>(mii_v3.appearance_bits9.mustache_scale);
- mii.mustache_y = static_cast<u8>(mii_v3.appearance_bits9.mustache_y_position);
+ u32 index{};
+ Result result = database_manager.FindIndex(metadata, index, store_data.GetCreateId());
- mii.beard_type = static_cast<u8>(mii_v3.appearance_bits9.bear_type);
- mii.beard_color = static_cast<u8>(mii_v3.appearance_bits9.facial_hair_color);
+ if (result.IsError()) {
+ return result;
+ }
- mii.glasses_type = static_cast<u8>(mii_v3.appearance_bits10.glasses_type);
- mii.glasses_color = static_cast<u8>(mii_v3.appearance_bits10.glasses_color);
- mii.glasses_scale = static_cast<u8>(mii_v3.appearance_bits10.glasses_scale);
- mii.glasses_y = static_cast<u8>(mii_v3.appearance_bits10.glasses_y_position);
+ database_manager.Get(out_store_data, index, metadata);
- mii.mole_type = static_cast<u8>(mii_v3.appearance_bits11.mole_enabled);
- mii.mole_scale = static_cast<u8>(mii_v3.appearance_bits11.mole_scale);
- mii.mole_x = static_cast<u8>(mii_v3.appearance_bits11.mole_x_position);
- mii.mole_y = static_cast<u8>(mii_v3.appearance_bits11.mole_y_position);
+ if (out_store_data.GetType() != store_data.GetType()) {
+ return ResultNotFound;
+ }
- // TODO: Validate mii data
+ if (store_data == out_store_data) {
+ return ResultNotUpdated;
+ }
- return mii;
+ return ResultSuccess;
}
-Ver3StoreData MiiManager::BuildFromStoreData(const CharInfo& mii) const {
- Service::Mii::MiiManager manager;
- Ver3StoreData mii_v3{};
-
- // TODO: We are ignoring a bunch of data from the mii_v3
+Result MiiManager::Get(const DatabaseSessionMetadata& metadata,
+ std::span<CharInfoElement> out_elements, u32& out_count,
+ SourceFlag source_flag) const {
+ if ((source_flag & SourceFlag::Database) == SourceFlag::None) {
+ return BuildDefault(out_elements, out_count, source_flag);
+ }
- mii_v3.version = 1;
- mii_v3.mii_information.gender.Assign(mii.gender);
- mii_v3.mii_information.favorite_color.Assign(mii.favorite_color);
- mii_v3.height = mii.height;
- mii_v3.build = mii.build;
+ const auto mii_count = database_manager.GetCount(metadata);
- // Copy name until string terminator
- mii_v3.mii_name = {};
- for (std::size_t index = 0; index < mii.name.size() - 1; index++) {
- mii_v3.mii_name[index] = mii.name[index];
- if (mii_v3.mii_name[index] == 0) {
- break;
+ for (std::size_t index = 0; index < mii_count; ++index) {
+ if (out_elements.size() <= static_cast<std::size_t>(out_count)) {
+ return ResultInvalidArgumentSize;
}
- }
- mii_v3.region_information.character_set.Assign(mii.font_region);
+ StoreData store_data{};
+ database_manager.Get(store_data, index, metadata);
- mii_v3.appearance_bits1.face_shape.Assign(mii.faceline_type);
- mii_v3.appearance_bits2.wrinkles.Assign(mii.faceline_wrinkle);
- mii_v3.appearance_bits2.makeup.Assign(mii.faceline_make);
+ out_elements[out_count].source = Source::Database;
+ out_elements[out_count].char_info.SetFromStoreData(store_data);
+ out_count++;
+ }
- mii_v3.hair_style = mii.hair_type;
- mii_v3.appearance_bits3.flip_hair.Assign(mii.hair_flip);
+ // Include default Mii at the end of the list
+ return BuildDefault(out_elements, out_count, source_flag);
+}
- mii_v3.appearance_bits4.eye_type.Assign(mii.eye_type);
- mii_v3.appearance_bits4.eye_scale.Assign(mii.eye_scale);
- mii_v3.appearance_bits4.eye_vertical_stretch.Assign(mii.eye_aspect);
- mii_v3.appearance_bits4.eye_rotation.Assign(mii.eye_rotate);
- mii_v3.appearance_bits4.eye_spacing.Assign(mii.eye_x);
- mii_v3.appearance_bits4.eye_y_position.Assign(mii.eye_y);
+Result MiiManager::Get(const DatabaseSessionMetadata& metadata, std::span<CharInfo> out_char_info,
+ u32& out_count, SourceFlag source_flag) const {
+ if ((source_flag & SourceFlag::Database) == SourceFlag::None) {
+ return BuildDefault(out_char_info, out_count, source_flag);
+ }
- mii_v3.appearance_bits5.eyebrow_style.Assign(mii.eyebrow_type);
- mii_v3.appearance_bits5.eyebrow_scale.Assign(mii.eyebrow_scale);
- mii_v3.appearance_bits5.eyebrow_yscale.Assign(mii.eyebrow_aspect);
- mii_v3.appearance_bits5.eyebrow_rotation.Assign(mii.eyebrow_rotate);
- mii_v3.appearance_bits5.eyebrow_spacing.Assign(mii.eyebrow_x);
- mii_v3.appearance_bits5.eyebrow_y_position.Assign(mii.eyebrow_y);
+ const auto mii_count = database_manager.GetCount(metadata);
- mii_v3.appearance_bits6.nose_type.Assign(mii.nose_type);
- mii_v3.appearance_bits6.nose_scale.Assign(mii.nose_scale);
- mii_v3.appearance_bits6.nose_y_position.Assign(mii.nose_y);
+ for (std::size_t index = 0; index < mii_count; ++index) {
+ if (out_char_info.size() <= static_cast<std::size_t>(out_count)) {
+ return ResultInvalidArgumentSize;
+ }
- mii_v3.appearance_bits7.mouth_type.Assign(mii.mouth_type);
- mii_v3.appearance_bits7.mouth_scale.Assign(mii.mouth_scale);
- mii_v3.appearance_bits7.mouth_horizontal_stretch.Assign(mii.mouth_aspect);
- mii_v3.appearance_bits8.mouth_y_position.Assign(mii.mouth_y);
+ StoreData store_data{};
+ database_manager.Get(store_data, index, metadata);
- mii_v3.appearance_bits8.mustache_type.Assign(mii.mustache_type);
- mii_v3.appearance_bits9.mustache_scale.Assign(mii.mustache_scale);
- mii_v3.appearance_bits9.mustache_y_position.Assign(mii.mustache_y);
+ out_char_info[out_count].SetFromStoreData(store_data);
+ out_count++;
+ }
- mii_v3.appearance_bits9.bear_type.Assign(mii.beard_type);
+ // Include default Mii at the end of the list
+ return BuildDefault(out_char_info, out_count, source_flag);
+}
- mii_v3.appearance_bits10.glasses_scale.Assign(mii.glasses_scale);
- mii_v3.appearance_bits10.glasses_y_position.Assign(mii.glasses_y);
+Result MiiManager::Get(const DatabaseSessionMetadata& metadata,
+ std::span<StoreDataElement> out_elements, u32& out_count,
+ SourceFlag source_flag) const {
+ if ((source_flag & SourceFlag::Database) == SourceFlag::None) {
+ return BuildDefault(out_elements, out_count, source_flag);
+ }
- mii_v3.appearance_bits11.mole_enabled.Assign(mii.mole_type);
- mii_v3.appearance_bits11.mole_scale.Assign(mii.mole_scale);
- mii_v3.appearance_bits11.mole_x_position.Assign(mii.mole_x);
- mii_v3.appearance_bits11.mole_y_position.Assign(mii.mole_y);
+ const auto mii_count = database_manager.GetCount(metadata);
- // These types are converted to V3 from a table
- mii_v3.appearance_bits1.skin_color.Assign(Ver3FacelineColorTable[mii.faceline_color]);
- mii_v3.appearance_bits3.hair_color.Assign(Ver3HairColorTable[mii.hair_color]);
- mii_v3.appearance_bits4.eye_color.Assign(Ver3EyeColorTable[mii.eye_color]);
- mii_v3.appearance_bits5.eyebrow_color.Assign(Ver3HairColorTable[mii.eyebrow_color]);
- mii_v3.appearance_bits7.mouth_color.Assign(Ver3MouthlineColorTable[mii.mouth_color]);
- mii_v3.appearance_bits9.facial_hair_color.Assign(Ver3HairColorTable[mii.beard_color]);
- mii_v3.appearance_bits10.glasses_color.Assign(Ver3GlassColorTable[mii.glasses_color]);
- mii_v3.appearance_bits10.glasses_type.Assign(Ver3GlassTypeTable[mii.glasses_type]);
+ for (std::size_t index = 0; index < mii_count; ++index) {
+ if (out_elements.size() <= static_cast<std::size_t>(out_count)) {
+ return ResultInvalidArgumentSize;
+ }
- mii_v3.crc = GenerateCrc16(&mii_v3, sizeof(Ver3StoreData) - sizeof(u16));
+ StoreData store_data{};
+ database_manager.Get(store_data, index, metadata);
- // TODO: Validate mii_v3 data
+ out_elements[out_count].store_data = store_data;
+ out_elements[out_count].source = Source::Database;
+ out_count++;
+ }
- return mii_v3;
+ // Include default Mii at the end of the list
+ return BuildDefault(out_elements, out_count, source_flag);
}
-NfpStoreDataExtension MiiManager::SetFromStoreData(const CharInfo& mii) const {
- return {
- .faceline_color = static_cast<u8>(mii.faceline_color & 0xf),
- .hair_color = static_cast<u8>(mii.hair_color & 0x7f),
- .eye_color = static_cast<u8>(mii.eyebrow_color & 0x7f),
- .eyebrow_color = static_cast<u8>(mii.eyebrow_color & 0x7f),
- .mouth_color = static_cast<u8>(mii.mouth_color & 0x7f),
- .beard_color = static_cast<u8>(mii.beard_color & 0x7f),
- .glass_color = static_cast<u8>(mii.glasses_color & 0x7f),
- .glass_type = static_cast<u8>(mii.glasses_type & 0x1f),
- };
+Result MiiManager::Get(const DatabaseSessionMetadata& metadata, std::span<StoreData> out_store_data,
+ u32& out_count, SourceFlag source_flag) const {
+ if ((source_flag & SourceFlag::Database) == SourceFlag::None) {
+ return BuildDefault(out_store_data, out_count, source_flag);
+ }
+
+ const auto mii_count = database_manager.GetCount(metadata);
+
+ for (std::size_t index = 0; index < mii_count; ++index) {
+ if (out_store_data.size() <= static_cast<std::size_t>(out_count)) {
+ return ResultInvalidArgumentSize;
+ }
+
+ StoreData store_data{};
+ database_manager.Get(store_data, index, metadata);
+
+ out_store_data[out_count] = store_data;
+ out_count++;
+ }
+
+ // Include default Mii at the end of the list
+ return BuildDefault(out_store_data, out_count, source_flag);
}
+Result MiiManager::BuildDefault(std::span<CharInfoElement> out_elements, u32& out_count,
+ SourceFlag source_flag) const {
+ if ((source_flag & SourceFlag::Default) == SourceFlag::None) {
+ return ResultSuccess;
+ }
-bool MiiManager::ValidateV3Info(const Ver3StoreData& mii_v3) const {
- bool is_valid = mii_v3.version == 0 || mii_v3.version == 3;
-
- is_valid = is_valid && (mii_v3.mii_name[0] != 0);
-
- is_valid = is_valid && (mii_v3.mii_information.birth_month < 13);
- is_valid = is_valid && (mii_v3.mii_information.birth_day < 32);
- is_valid = is_valid && (mii_v3.mii_information.favorite_color < 12);
- is_valid = is_valid && (mii_v3.height < 128);
- is_valid = is_valid && (mii_v3.build < 128);
-
- is_valid = is_valid && (mii_v3.appearance_bits1.face_shape < 12);
- is_valid = is_valid && (mii_v3.appearance_bits1.skin_color < 7);
- is_valid = is_valid && (mii_v3.appearance_bits2.wrinkles < 12);
- is_valid = is_valid && (mii_v3.appearance_bits2.makeup < 12);
-
- is_valid = is_valid && (mii_v3.hair_style < 132);
- is_valid = is_valid && (mii_v3.appearance_bits3.hair_color < 8);
-
- is_valid = is_valid && (mii_v3.appearance_bits4.eye_type < 60);
- is_valid = is_valid && (mii_v3.appearance_bits4.eye_color < 6);
- is_valid = is_valid && (mii_v3.appearance_bits4.eye_scale < 8);
- is_valid = is_valid && (mii_v3.appearance_bits4.eye_vertical_stretch < 7);
- is_valid = is_valid && (mii_v3.appearance_bits4.eye_rotation < 8);
- is_valid = is_valid && (mii_v3.appearance_bits4.eye_spacing < 13);
- is_valid = is_valid && (mii_v3.appearance_bits4.eye_y_position < 19);
-
- is_valid = is_valid && (mii_v3.appearance_bits5.eyebrow_style < 25);
- is_valid = is_valid && (mii_v3.appearance_bits5.eyebrow_color < 8);
- is_valid = is_valid && (mii_v3.appearance_bits5.eyebrow_scale < 9);
- is_valid = is_valid && (mii_v3.appearance_bits5.eyebrow_yscale < 7);
- is_valid = is_valid && (mii_v3.appearance_bits5.eyebrow_rotation < 12);
- is_valid = is_valid && (mii_v3.appearance_bits5.eyebrow_spacing < 12);
- is_valid = is_valid && (mii_v3.appearance_bits5.eyebrow_y_position < 19);
-
- is_valid = is_valid && (mii_v3.appearance_bits6.nose_type < 18);
- is_valid = is_valid && (mii_v3.appearance_bits6.nose_scale < 9);
- is_valid = is_valid && (mii_v3.appearance_bits6.nose_y_position < 19);
-
- is_valid = is_valid && (mii_v3.appearance_bits7.mouth_type < 36);
- is_valid = is_valid && (mii_v3.appearance_bits7.mouth_color < 5);
- is_valid = is_valid && (mii_v3.appearance_bits7.mouth_scale < 9);
- is_valid = is_valid && (mii_v3.appearance_bits7.mouth_horizontal_stretch < 7);
- is_valid = is_valid && (mii_v3.appearance_bits8.mouth_y_position < 19);
-
- is_valid = is_valid && (mii_v3.appearance_bits8.mustache_type < 6);
- is_valid = is_valid && (mii_v3.appearance_bits9.mustache_scale < 7);
- is_valid = is_valid && (mii_v3.appearance_bits9.mustache_y_position < 17);
-
- is_valid = is_valid && (mii_v3.appearance_bits9.bear_type < 6);
- is_valid = is_valid && (mii_v3.appearance_bits9.facial_hair_color < 8);
-
- is_valid = is_valid && (mii_v3.appearance_bits10.glasses_type < 9);
- is_valid = is_valid && (mii_v3.appearance_bits10.glasses_color < 6);
- is_valid = is_valid && (mii_v3.appearance_bits10.glasses_scale < 8);
- is_valid = is_valid && (mii_v3.appearance_bits10.glasses_y_position < 21);
-
- is_valid = is_valid && (mii_v3.appearance_bits11.mole_enabled < 2);
- is_valid = is_valid && (mii_v3.appearance_bits11.mole_scale < 9);
- is_valid = is_valid && (mii_v3.appearance_bits11.mole_x_position < 17);
- is_valid = is_valid && (mii_v3.appearance_bits11.mole_y_position < 31);
-
- return is_valid;
+ StoreData store_data{};
+
+ for (std::size_t index = 0; index < DefaultMiiCount; ++index) {
+ if (out_elements.size() <= static_cast<std::size_t>(out_count)) {
+ return ResultInvalidArgumentSize;
+ }
+
+ store_data.BuildDefault(static_cast<u32>(index));
+
+ out_elements[out_count].source = Source::Default;
+ out_elements[out_count].char_info.SetFromStoreData(store_data);
+ out_count++;
+ }
+
+ return ResultSuccess;
}
-ResultVal<std::vector<MiiInfoElement>> MiiManager::GetDefault(SourceFlag source_flag) {
- std::vector<MiiInfoElement> result;
+Result MiiManager::BuildDefault(std::span<CharInfo> out_char_info, u32& out_count,
+ SourceFlag source_flag) const {
+ if ((source_flag & SourceFlag::Default) == SourceFlag::None) {
+ return ResultSuccess;
+ }
+
+ StoreData store_data{};
+
+ for (std::size_t index = 0; index < DefaultMiiCount; ++index) {
+ if (out_char_info.size() <= static_cast<std::size_t>(out_count)) {
+ return ResultInvalidArgumentSize;
+ }
+
+ store_data.BuildDefault(static_cast<u32>(index));
+
+ out_char_info[out_count].SetFromStoreData(store_data);
+ out_count++;
+ }
+
+ return ResultSuccess;
+}
+Result MiiManager::BuildDefault(std::span<StoreDataElement> out_elements, u32& out_count,
+ SourceFlag source_flag) const {
if ((source_flag & SourceFlag::Default) == SourceFlag::None) {
- return result;
+ return ResultSuccess;
}
- for (std::size_t index = BaseMiiCount; index < DefaultMiiCount; index++) {
- result.emplace_back(BuildDefault(index), Source::Default);
+ for (std::size_t index = 0; index < DefaultMiiCount; ++index) {
+ if (out_elements.size() <= static_cast<std::size_t>(out_count)) {
+ return ResultInvalidArgumentSize;
+ }
+
+ out_elements[out_count].store_data.BuildDefault(static_cast<u32>(index));
+ out_elements[out_count].source = Source::Default;
+ out_count++;
}
- return result;
+ return ResultSuccess;
}
-Result MiiManager::GetIndex([[maybe_unused]] const CharInfo& info, u32& index) {
- constexpr u32 INVALID_INDEX{0xFFFFFFFF};
+Result MiiManager::BuildDefault(std::span<StoreData> out_char_info, u32& out_count,
+ SourceFlag source_flag) const {
+ if ((source_flag & SourceFlag::Default) == SourceFlag::None) {
+ return ResultSuccess;
+ }
+
+ for (std::size_t index = 0; index < DefaultMiiCount; ++index) {
+ if (out_char_info.size() <= static_cast<std::size_t>(out_count)) {
+ return ResultInvalidArgumentSize;
+ }
- index = INVALID_INDEX;
+ out_char_info[out_count].BuildDefault(static_cast<u32>(index));
+ out_count++;
+ }
- // TODO(bunnei): We don't implement the Mii database, so we can't have an index
- return ERROR_CANNOT_FIND_ENTRY;
+ return ResultSuccess;
}
} // namespace Service::Mii
diff --git a/src/core/hle/service/mii/mii_manager.h b/src/core/hle/service/mii/mii_manager.h
index 5525fcd1c..48d8e8bb7 100644
--- a/src/core/hle/service/mii/mii_manager.h
+++ b/src/core/hle/service/mii/mii_manager.h
@@ -3,39 +3,85 @@
#pragma once
-#include <vector>
+#include <span>
#include "core/hle/result.h"
-#include "core/hle/service/mii/types.h"
+#include "core/hle/service/mii/mii_database_manager.h"
+#include "core/hle/service/mii/mii_types.h"
namespace Service::Mii {
+class CharInfo;
+class CoreData;
+class StoreData;
+class Ver3StoreData;
-// The Mii manager is responsible for loading and storing the Miis to the database in NAND along
-// with providing an easy interface for HLE emulation of the mii service.
+struct CharInfoElement;
+struct StoreDataElement;
+
+// The Mii manager is responsible for handling mii operations along with providing an easy interface
+// for HLE emulation of the mii service.
class MiiManager {
public:
MiiManager();
+ Result Initialize(DatabaseSessionMetadata& metadata);
+
+ // Auto generated mii
+ void BuildDefault(CharInfo& out_char_info, u32 index) const;
+ void BuildBase(CharInfo& out_char_info, Gender gender) const;
+ void BuildRandom(CharInfo& out_char_info, Age age, Gender gender, Race race) const;
- bool CheckAndResetUpdateCounter(SourceFlag source_flag, u64& current_update_counter);
+ // Database operations
bool IsFullDatabase() const;
- u32 GetCount(SourceFlag source_flag) const;
- ResultVal<CharInfo> UpdateLatest(const CharInfo& info, SourceFlag source_flag);
- CharInfo BuildRandom(Age age, Gender gender, Race race);
- CharInfo BuildDefault(std::size_t index);
- CharInfo ConvertV3ToCharInfo(const Ver3StoreData& mii_v3) const;
- bool ValidateV3Info(const Ver3StoreData& mii_v3) const;
- ResultVal<std::vector<MiiInfoElement>> GetDefault(SourceFlag source_flag);
- Result GetIndex(const CharInfo& info, u32& index);
+ void SetInterfaceVersion(DatabaseSessionMetadata& metadata, u32 version) const;
+ bool IsUpdated(DatabaseSessionMetadata& metadata, SourceFlag source_flag) const;
+ u32 GetCount(const DatabaseSessionMetadata& metadata, SourceFlag source_flag) const;
+ Result Move(DatabaseSessionMetadata& metadata, u32 index, const Common::UUID& create_id);
+ Result AddOrReplace(DatabaseSessionMetadata& metadata, const StoreData& store_data);
+ Result Delete(DatabaseSessionMetadata& metadata, const Common::UUID& create_id);
+ s32 FindIndex(const Common::UUID& create_id, bool is_special) const;
+ Result GetIndex(const DatabaseSessionMetadata& metadata, const CharInfo& char_info,
+ s32& out_index) const;
+ Result Append(DatabaseSessionMetadata& metadata, const CharInfo& char_info);
+
+ // Test database operations
+ bool IsBrokenWithClearFlag(DatabaseSessionMetadata& metadata);
+ Result DestroyFile(DatabaseSessionMetadata& metadata);
+ Result DeleteFile();
+ Result Format(DatabaseSessionMetadata& metadata);
- // This is nn::mii::detail::Ver::StoreDataRaw::BuildFromStoreData
- Ver3StoreData BuildFromStoreData(const CharInfo& mii) const;
+ // Mii conversions
+ Result ConvertV3ToCharInfo(CharInfo& out_char_info, const Ver3StoreData& mii_v3) const;
+ Result ConvertCoreDataToCharInfo(CharInfo& out_char_info, const CoreData& core_data) const;
+ Result ConvertCharInfoToCoreData(CoreData& out_core_data, const CharInfo& char_info) const;
+ Result UpdateLatest(const DatabaseSessionMetadata& metadata, CharInfo& out_char_info,
+ const CharInfo& char_info, SourceFlag source_flag) const;
+ Result UpdateLatest(const DatabaseSessionMetadata& metadata, StoreData& out_store_data,
+ const StoreData& store_data, SourceFlag source_flag) const;
- // This is nn::mii::detail::NfpStoreDataExtentionRaw::SetFromStoreData
- NfpStoreDataExtension SetFromStoreData(const CharInfo& mii) const;
+ // Overloaded getters
+ Result Get(const DatabaseSessionMetadata& metadata, std::span<CharInfoElement> out_elements,
+ u32& out_count, SourceFlag source_flag) const;
+ Result Get(const DatabaseSessionMetadata& metadata, std::span<CharInfo> out_char_info,
+ u32& out_count, SourceFlag source_flag) const;
+ Result Get(const DatabaseSessionMetadata& metadata, std::span<StoreDataElement> out_elements,
+ u32& out_count, SourceFlag source_flag) const;
+ Result Get(const DatabaseSessionMetadata& metadata, std::span<StoreData> out_store_data,
+ u32& out_count, SourceFlag source_flag) const;
private:
- const Common::UUID user_id{};
- u64 update_counter{};
+ Result BuildDefault(std::span<CharInfoElement> out_elements, u32& out_count,
+ SourceFlag source_flag) const;
+ Result BuildDefault(std::span<CharInfo> out_char_info, u32& out_count,
+ SourceFlag source_flag) const;
+ Result BuildDefault(std::span<StoreDataElement> out_char_info, u32& out_count,
+ SourceFlag source_flag) const;
+ Result BuildDefault(std::span<StoreData> out_char_info, u32& out_count,
+ SourceFlag source_flag) const;
+
+ DatabaseManager database_manager{};
+
+ // This should be a global value
+ bool is_broken_with_clear_flag{};
};
}; // namespace Service::Mii
diff --git a/src/core/hle/service/mii/mii_result.h b/src/core/hle/service/mii/mii_result.h
new file mode 100644
index 000000000..e2c36e556
--- /dev/null
+++ b/src/core/hle/service/mii/mii_result.h
@@ -0,0 +1,27 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/hle/result.h"
+
+namespace Service::Mii {
+
+constexpr Result ResultInvalidArgument{ErrorModule::Mii, 1};
+constexpr Result ResultInvalidArgumentSize{ErrorModule::Mii, 2};
+constexpr Result ResultNotUpdated{ErrorModule::Mii, 3};
+constexpr Result ResultNotFound{ErrorModule::Mii, 4};
+constexpr Result ResultDatabaseFull{ErrorModule::Mii, 5};
+constexpr Result ResultInvalidCharInfo{ErrorModule::Mii, 100};
+constexpr Result ResultInvalidDatabaseChecksum{ErrorModule::Mii, 101};
+constexpr Result ResultInvalidDatabaseSignature{ErrorModule::Mii, 103};
+constexpr Result ResultInvalidDatabaseVersion{ErrorModule::Mii, 104};
+constexpr Result ResultInvalidDatabaseLength{ErrorModule::Mii, 105};
+constexpr Result ResultInvalidCharInfo2{ErrorModule::Mii, 107};
+constexpr Result ResultInvalidStoreData{ErrorModule::Mii, 109};
+constexpr Result ResultInvalidOperation{ErrorModule::Mii, 202};
+constexpr Result ResultPermissionDenied{ErrorModule::Mii, 203};
+constexpr Result ResultTestModeOnly{ErrorModule::Mii, 204};
+constexpr Result ResultInvalidCharInfoType{ErrorModule::Mii, 205};
+
+}; // namespace Service::Mii
diff --git a/src/core/hle/service/mii/mii_types.h b/src/core/hle/service/mii/mii_types.h
new file mode 100644
index 000000000..08c6029df
--- /dev/null
+++ b/src/core/hle/service/mii/mii_types.h
@@ -0,0 +1,692 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <array>
+#include <type_traits>
+
+#include "common/bit_field.h"
+#include "common/common_funcs.h"
+#include "common/common_types.h"
+#include "common/uuid.h"
+
+namespace Service::Mii {
+
+constexpr std::size_t MaxNameSize = 10;
+constexpr u8 MaxHeight = 127;
+constexpr u8 MaxBuild = 127;
+constexpr u8 MaxType = 1;
+constexpr u8 MaxRegionMove = 3;
+constexpr u8 MaxEyeScale = 7;
+constexpr u8 MaxEyeAspect = 6;
+constexpr u8 MaxEyeRotate = 7;
+constexpr u8 MaxEyeX = 12;
+constexpr u8 MaxEyeY = 18;
+constexpr u8 MaxEyebrowScale = 8;
+constexpr u8 MaxEyebrowAspect = 6;
+constexpr u8 MaxEyebrowRotate = 11;
+constexpr u8 MaxEyebrowX = 12;
+constexpr u8 MaxEyebrowY = 15;
+constexpr u8 MaxNoseScale = 8;
+constexpr u8 MaxNoseY = 18;
+constexpr u8 MaxMouthScale = 8;
+constexpr u8 MaxMoutAspect = 6;
+constexpr u8 MaxMouthY = 18;
+constexpr u8 MaxMustacheScale = 8;
+constexpr u8 MaxMustacheY = 16;
+constexpr u8 MaxGlassScale = 7;
+constexpr u8 MaxGlassY = 20;
+constexpr u8 MaxMoleScale = 8;
+constexpr u8 MaxMoleX = 16;
+constexpr u8 MaxMoleY = 30;
+constexpr u8 MaxVer3CommonColor = 7;
+constexpr u8 MaxVer3GlassType = 8;
+
+enum class Age : u8 {
+ Young,
+ Normal,
+ Old,
+ All, // Default
+
+ Max = All,
+};
+
+enum class Gender : u8 {
+ Male,
+ Female,
+ All, // Default
+
+ Max = Female,
+};
+
+enum class Race : u8 {
+ Black,
+ White,
+ Asian,
+ All, // Default
+
+ Max = All,
+};
+
+enum class HairType : u8 {
+ NormalLong, // Default
+ NormalShort,
+ NormalMedium,
+ NormalExtraLong,
+ NormalLongBottom,
+ NormalTwoPeaks,
+ PartingLong,
+ FrontLock,
+ PartingShort,
+ PartingExtraLongCurved,
+ PartingExtraLong,
+ PartingMiddleLong,
+ PartingSquared,
+ PartingLongBottom,
+ PeaksTop,
+ PeaksSquared,
+ PartingPeaks,
+ PeaksLongBottom,
+ Peaks,
+ PeaksRounded,
+ PeaksSide,
+ PeaksMedium,
+ PeaksLong,
+ PeaksRoundedLong,
+ PartingFrontPeaks,
+ PartingLongFront,
+ PartingLongRounded,
+ PartingFrontPeaksLong,
+ PartingExtraLongRounded,
+ LongRounded,
+ NormalUnknown1,
+ NormalUnknown2,
+ NormalUnknown3,
+ NormalUnknown4,
+ NormalUnknown5,
+ NormalUnknown6,
+ DreadLocks,
+ PlatedMats,
+ Caps,
+ Afro,
+ PlatedMatsLong,
+ Beanie,
+ Short,
+ ShortTopLongSide,
+ ShortUnknown1,
+ ShortUnknown2,
+ MilitaryParting,
+ Military,
+ ShortUnknown3,
+ ShortUnknown4,
+ ShortUnknown5,
+ ShortUnknown6,
+ NoneTop,
+ None,
+ LongUnknown1,
+ LongUnknown2,
+ LongUnknown3,
+ LongUnknown4,
+ LongUnknown5,
+ LongUnknown6,
+ LongUnknown7,
+ LongUnknown8,
+ LongUnknown9,
+ LongUnknown10,
+ LongUnknown11,
+ LongUnknown12,
+ LongUnknown13,
+ LongUnknown14,
+ LongUnknown15,
+ LongUnknown16,
+ LongUnknown17,
+ LongUnknown18,
+ LongUnknown19,
+ LongUnknown20,
+ LongUnknown21,
+ LongUnknown22,
+ LongUnknown23,
+ LongUnknown24,
+ LongUnknown25,
+ LongUnknown26,
+ LongUnknown27,
+ LongUnknown28,
+ LongUnknown29,
+ LongUnknown30,
+ LongUnknown31,
+ LongUnknown32,
+ LongUnknown33,
+ LongUnknown34,
+ LongUnknown35,
+ LongUnknown36,
+ LongUnknown37,
+ LongUnknown38,
+ LongUnknown39,
+ LongUnknown40,
+ LongUnknown41,
+ LongUnknown42,
+ LongUnknown43,
+ LongUnknown44,
+ LongUnknown45,
+ LongUnknown46,
+ LongUnknown47,
+ LongUnknown48,
+ LongUnknown49,
+ LongUnknown50,
+ LongUnknown51,
+ LongUnknown52,
+ LongUnknown53,
+ LongUnknown54,
+ LongUnknown55,
+ LongUnknown56,
+ LongUnknown57,
+ LongUnknown58,
+ LongUnknown59,
+ LongUnknown60,
+ LongUnknown61,
+ LongUnknown62,
+ LongUnknown63,
+ LongUnknown64,
+ LongUnknown65,
+ LongUnknown66,
+ TwoMediumFrontStrandsOneLongBackPonyTail,
+ TwoFrontStrandsLongBackPonyTail,
+ PartingFrontTwoLongBackPonyTails,
+ TwoFrontStrandsOneLongBackPonyTail,
+ LongBackPonyTail,
+ LongFrontTwoLongBackPonyTails,
+ StrandsTwoShortSidedPonyTails,
+ TwoMediumSidedPonyTails,
+ ShortFrontTwoBackPonyTails,
+ TwoShortSidedPonyTails,
+ TwoLongSidedPonyTails,
+ LongFrontTwoBackPonyTails,
+
+ Max = LongFrontTwoBackPonyTails,
+};
+
+enum class MoleType : u8 {
+ None, // Default
+ OneDot,
+
+ Max = OneDot,
+};
+
+enum class HairFlip : u8 {
+ Left, // Default
+ Right,
+
+ Max = Right,
+};
+
+enum class CommonColor : u8 {
+ // For simplicity common colors aren't listed
+ Max = 99,
+ Count = 100,
+};
+
+enum class FavoriteColor : u8 {
+ Red, // Default
+ Orange,
+ Yellow,
+ LimeGreen,
+ Green,
+ Blue,
+ LightBlue,
+ Pink,
+ Purple,
+ Brown,
+ White,
+ Black,
+
+ Max = Black,
+};
+
+enum class EyeType : u8 {
+ Normal, // Default
+ NormalLash,
+ WhiteLash,
+ WhiteNoBottom,
+ OvalAngledWhite,
+ AngryWhite,
+ DotLashType1,
+ Line,
+ DotLine,
+ OvalWhite,
+ RoundedWhite,
+ NormalShadow,
+ CircleWhite,
+ Circle,
+ CircleWhiteStroke,
+ NormalOvalNoBottom,
+ NormalOvalLarge,
+ NormalRoundedNoBottom,
+ SmallLash,
+ Small,
+ TwoSmall,
+ NormalLongLash,
+ WhiteTwoLashes,
+ WhiteThreeLashes,
+ DotAngry,
+ DotAngled,
+ Oval,
+ SmallWhite,
+ WhiteAngledNoBottom,
+ WhiteAngledNoLeft,
+ SmallWhiteTwoLashes,
+ LeafWhiteLash,
+ WhiteLargeNoBottom,
+ Dot,
+ DotLashType2,
+ DotThreeLashes,
+ WhiteOvalTop,
+ WhiteOvalBottom,
+ WhiteOvalBottomFlat,
+ WhiteOvalTwoLashes,
+ WhiteOvalThreeLashes,
+ WhiteOvalNoBottomTwoLashes,
+ DotWhite,
+ WhiteOvalTopFlat,
+ WhiteThinLeaf,
+ StarThreeLashes,
+ LineTwoLashes,
+ CrowsFeet,
+ WhiteNoBottomFlat,
+ WhiteNoBottomRounded,
+ WhiteSmallBottomLine,
+ WhiteNoBottomLash,
+ WhiteNoPartialBottomLash,
+ WhiteOvalBottomLine,
+ WhiteNoBottomLashTopLine,
+ WhiteNoPartialBottomTwoLashes,
+ NormalTopLine,
+ WhiteOvalLash,
+ RoundTired,
+ WhiteLarge,
+
+ Max = WhiteLarge,
+};
+
+enum class MouthType : u8 {
+ Neutral, // Default
+ NeutralLips,
+ Smile,
+ SmileStroke,
+ SmileTeeth,
+ LipsSmall,
+ LipsLarge,
+ Wave,
+ WaveAngrySmall,
+ NeutralStrokeLarge,
+ TeethSurprised,
+ LipsExtraLarge,
+ LipsUp,
+ NeutralDown,
+ Surprised,
+ TeethMiddle,
+ NeutralStroke,
+ LipsExtraSmall,
+ Malicious,
+ LipsDual,
+ NeutralComma,
+ NeutralUp,
+ TeethLarge,
+ WaveAngry,
+ LipsSexy,
+ SmileInverted,
+ LipsSexyOutline,
+ SmileRounded,
+ LipsTeeth,
+ NeutralOpen,
+ TeethRounded,
+ WaveAngrySmallInverted,
+ NeutralCommaInverted,
+ TeethFull,
+ SmileDownLine,
+ Kiss,
+
+ Max = Kiss,
+};
+
+enum class FontRegion : u8 {
+ Standard, // Default
+ China,
+ Korea,
+ Taiwan,
+
+ Max = Taiwan,
+};
+
+enum class FacelineType : u8 {
+ Sharp, // Default
+ Rounded,
+ SharpRounded,
+ SharpRoundedSmall,
+ Large,
+ LargeRounded,
+ SharpSmall,
+ Flat,
+ Bump,
+ Angular,
+ FlatRounded,
+ AngularSmall,
+
+ Max = AngularSmall,
+};
+
+enum class FacelineColor : u8 {
+ Beige, // Default
+ WarmBeige,
+ Natural,
+ Honey,
+ Chestnut,
+ Porcelain,
+ Ivory,
+ WarmIvory,
+ Almond,
+ Espresso,
+
+ Max = Espresso,
+ Count = Max + 1,
+};
+
+enum class FacelineWrinkle : u8 {
+ None, // Default
+ TearTroughs,
+ FacialPain,
+ Cheeks,
+ Folds,
+ UnderTheEyes,
+ SplitChin,
+ Chin,
+ BrowDroop,
+ MouthFrown,
+ CrowsFeet,
+ FoldsCrowsFrown,
+
+ Max = FoldsCrowsFrown,
+};
+
+enum class FacelineMake : u8 {
+ None, // Default
+ CheekPorcelain,
+ CheekNatural,
+ EyeShadowBlue,
+ CheekBlushPorcelain,
+ CheekBlushNatural,
+ CheekPorcelainEyeShadowBlue,
+ CheekPorcelainEyeShadowNatural,
+ CheekBlushPorcelainEyeShadowEspresso,
+ Freckles,
+ LionsManeBeard,
+ StubbleBeard,
+
+ Max = StubbleBeard,
+};
+
+enum class EyebrowType : u8 {
+ FlatAngledLarge, // Default
+ LowArchRoundedThin,
+ SoftAngledLarge,
+ MediumArchRoundedThin,
+ RoundedMedium,
+ LowArchMedium,
+ RoundedThin,
+ UpThin,
+ MediumArchRoundedMedium,
+ RoundedLarge,
+ UpLarge,
+ FlatAngledLargeInverted,
+ MediumArchFlat,
+ AngledThin,
+ HorizontalLarge,
+ HighArchFlat,
+ Flat,
+ MediumArchLarge,
+ LowArchThin,
+ RoundedThinInverted,
+ HighArchLarge,
+ Hairy,
+ Dotted,
+ None,
+
+ Max = None,
+};
+
+enum class NoseType : u8 {
+ Normal, // Default
+ Rounded,
+ Dot,
+ Arrow,
+ Roman,
+ Triangle,
+ Button,
+ RoundedInverted,
+ Potato,
+ Grecian,
+ Snub,
+ Aquiline,
+ ArrowLeft,
+ RoundedLarge,
+ Hooked,
+ Fat,
+ Droopy,
+ ArrowLarge,
+
+ Max = ArrowLarge,
+};
+
+enum class BeardType : u8 {
+ None,
+ Goatee,
+ GoateeLong,
+ LionsManeLong,
+ LionsMane,
+ Full,
+
+ Min = Goatee,
+ Max = Full,
+};
+
+enum class MustacheType : u8 {
+ None,
+ Walrus,
+ Pencil,
+ Horseshoe,
+ Normal,
+ Toothbrush,
+
+ Min = Walrus,
+ Max = Toothbrush,
+};
+
+enum class GlassType : u8 {
+ None,
+ Oval,
+ Wayfarer,
+ Rectangle,
+ TopRimless,
+ Rounded,
+ Oversized,
+ CatEye,
+ Square,
+ BottomRimless,
+ SemiOpaqueRounded,
+ SemiOpaqueCatEye,
+ SemiOpaqueOval,
+ SemiOpaqueRectangle,
+ SemiOpaqueAviator,
+ OpaqueRounded,
+ OpaqueCatEye,
+ OpaqueOval,
+ OpaqueRectangle,
+ OpaqueAviator,
+
+ Max = OpaqueAviator,
+ Count = Max + 1,
+};
+
+enum class BeardAndMustacheFlag : u32 {
+ Beard = 1,
+ Mustache,
+ All = Beard | Mustache,
+};
+DECLARE_ENUM_FLAG_OPERATORS(BeardAndMustacheFlag);
+
+enum class Source : u32 {
+ Database = 0,
+ Default = 1,
+ Account = 2,
+ Friend = 3,
+};
+
+enum class SourceFlag : u32 {
+ None = 0,
+ Database = 1 << 0,
+ Default = 1 << 1,
+};
+DECLARE_ENUM_FLAG_OPERATORS(SourceFlag);
+
+enum class ValidationResult : u32 {
+ NoErrors = 0x0,
+ InvalidBeardColor = 0x1,
+ InvalidBeardType = 0x2,
+ InvalidBuild = 0x3,
+ InvalidEyeAspect = 0x4,
+ InvalidEyeColor = 0x5,
+ InvalidEyeRotate = 0x6,
+ InvalidEyeScale = 0x7,
+ InvalidEyeType = 0x8,
+ InvalidEyeX = 0x9,
+ InvalidEyeY = 0xa,
+ InvalidEyebrowAspect = 0xb,
+ InvalidEyebrowColor = 0xc,
+ InvalidEyebrowRotate = 0xd,
+ InvalidEyebrowScale = 0xe,
+ InvalidEyebrowType = 0xf,
+ InvalidEyebrowX = 0x10,
+ InvalidEyebrowY = 0x11,
+ InvalidFacelineColor = 0x12,
+ InvalidFacelineMake = 0x13,
+ InvalidFacelineWrinkle = 0x14,
+ InvalidFacelineType = 0x15,
+ InvalidColor = 0x16,
+ InvalidFont = 0x17,
+ InvalidGender = 0x18,
+ InvalidGlassColor = 0x19,
+ InvalidGlassScale = 0x1a,
+ InvalidGlassType = 0x1b,
+ InvalidGlassY = 0x1c,
+ InvalidHairColor = 0x1d,
+ InvalidHairFlip = 0x1e,
+ InvalidHairType = 0x1f,
+ InvalidHeight = 0x20,
+ InvalidMoleScale = 0x21,
+ InvalidMoleType = 0x22,
+ InvalidMoleX = 0x23,
+ InvalidMoleY = 0x24,
+ InvalidMouthAspect = 0x25,
+ InvalidMouthColor = 0x26,
+ InvalidMouthScale = 0x27,
+ InvalidMouthType = 0x28,
+ InvalidMouthY = 0x29,
+ InvalidMustacheScale = 0x2a,
+ InvalidMustacheType = 0x2b,
+ InvalidMustacheY = 0x2c,
+ InvalidNoseScale = 0x2e,
+ InvalidNoseType = 0x2f,
+ InvalidNoseY = 0x30,
+ InvalidRegionMove = 0x31,
+ InvalidCreateId = 0x32,
+ InvalidName = 0x33,
+ InvalidChecksum = 0x34,
+ InvalidType = 0x35,
+};
+
+struct Nickname {
+ std::array<char16_t, MaxNameSize> data{};
+
+ // Checks for null or dirty strings
+ bool IsValid() const {
+ if (data[0] == 0) {
+ return false;
+ }
+
+ std::size_t index = 1;
+ while (index < MaxNameSize && data[index] != 0) {
+ index++;
+ }
+ while (index < MaxNameSize && data[index] == 0) {
+ index++;
+ }
+ return index == MaxNameSize;
+ }
+};
+static_assert(sizeof(Nickname) == 0x14, "Nickname is an invalid size");
+
+struct DefaultMii {
+ u32 face_type{};
+ u32 face_color{};
+ u32 face_wrinkle{};
+ u32 face_makeup{};
+ u32 hair_type{};
+ u32 hair_color{};
+ u32 hair_flip{};
+ u32 eye_type{};
+ u32 eye_color{};
+ u32 eye_scale{};
+ u32 eye_aspect{};
+ u32 eye_rotate{};
+ u32 eye_x{};
+ u32 eye_y{};
+ u32 eyebrow_type{};
+ u32 eyebrow_color{};
+ u32 eyebrow_scale{};
+ u32 eyebrow_aspect{};
+ u32 eyebrow_rotate{};
+ u32 eyebrow_x{};
+ u32 eyebrow_y{};
+ u32 nose_type{};
+ u32 nose_scale{};
+ u32 nose_y{};
+ u32 mouth_type{};
+ u32 mouth_color{};
+ u32 mouth_scale{};
+ u32 mouth_aspect{};
+ u32 mouth_y{};
+ u32 mustache_type{};
+ u32 beard_type{};
+ u32 beard_color{};
+ u32 mustache_scale{};
+ u32 mustache_y{};
+ u32 glasses_type{};
+ u32 glasses_color{};
+ u32 glasses_scale{};
+ u32 glasses_y{};
+ u32 mole_type{};
+ u32 mole_scale{};
+ u32 mole_x{};
+ u32 mole_y{};
+ u32 height{};
+ u32 weight{};
+ u32 gender{};
+ u32 favorite_color{};
+ u32 region_move{};
+ u32 font_region{};
+ u32 type{};
+ Nickname nickname;
+};
+static_assert(sizeof(DefaultMii) == 0xd8, "DefaultMii has incorrect size.");
+
+struct DatabaseSessionMetadata {
+ u32 interface_version;
+ u32 magic;
+ u64 update_counter;
+
+ bool IsInterfaceVersionSupported(u32 version) const {
+ return version <= interface_version;
+ }
+};
+
+} // namespace Service::Mii
diff --git a/src/core/hle/service/mii/mii_util.h b/src/core/hle/service/mii/mii_util.h
new file mode 100644
index 000000000..3534fa31d
--- /dev/null
+++ b/src/core/hle/service/mii/mii_util.h
@@ -0,0 +1,85 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <random>
+#include <span>
+
+#include "common/common_types.h"
+#include "common/swap.h"
+#include "common/uuid.h"
+#include "core/hle/service/mii/mii_types.h"
+
+namespace Service::Mii {
+class MiiUtil {
+public:
+ static u16 CalculateCrc16(const void* data, std::size_t size) {
+ s32 crc{};
+ for (std::size_t i = 0; i < size; i++) {
+ crc ^= static_cast<const u8*>(data)[i] << 8;
+ for (std::size_t j = 0; j < 8; j++) {
+ crc <<= 1;
+ if ((crc & 0x10000) != 0) {
+ crc = (crc ^ 0x1021) & 0xFFFF;
+ }
+ }
+ }
+ return Common::swap16(static_cast<u16>(crc));
+ }
+
+ static u16 CalculateDeviceCrc16(const Common::UUID& uuid, std::size_t data_size) {
+ constexpr u16 magic{0x1021};
+ s32 crc{};
+
+ for (std::size_t i = 0; i < uuid.uuid.size(); i++) {
+ for (std::size_t j = 0; j < 8; j++) {
+ crc <<= 1;
+ if ((crc & 0x10000) != 0) {
+ crc = crc ^ magic;
+ }
+ }
+ crc ^= uuid.uuid[i];
+ }
+
+ // As much as this looks wrong this is what N's does
+
+ for (std::size_t i = 0; i < data_size * 8; i++) {
+ crc <<= 1;
+ if ((crc & 0x10000) != 0) {
+ crc = crc ^ magic;
+ }
+ }
+
+ return Common::swap16(static_cast<u16>(crc));
+ }
+
+ static Common::UUID MakeCreateId() {
+ return Common::UUID::MakeRandomRFC4122V4();
+ }
+
+ static Common::UUID GetDeviceId() {
+ // This should be nn::settings::detail::GetMiiAuthorId()
+ return Common::UUID::MakeDefault();
+ }
+
+ template <typename T>
+ static T GetRandomValue(T min, T max) {
+ std::random_device device;
+ std::mt19937 gen(device());
+ std::uniform_int_distribution<u64> distribution(static_cast<u64>(min),
+ static_cast<u64>(max));
+ return static_cast<T>(distribution(gen));
+ }
+
+ template <typename T>
+ static T GetRandomValue(T max) {
+ return GetRandomValue<T>({}, max);
+ }
+
+ static bool IsFontRegionValid(FontRegion font, std::span<const char16_t> text) {
+ // TODO: This function needs to check against the font tables
+ return true;
+ }
+};
+} // namespace Service::Mii
diff --git a/src/core/hle/service/mii/raw_data.h b/src/core/hle/service/mii/raw_data.h
deleted file mode 100644
index c2bec68d4..000000000
--- a/src/core/hle/service/mii/raw_data.h
+++ /dev/null
@@ -1,26 +0,0 @@
-// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#include <array>
-
-#include "core/hle/service/mii/types.h"
-
-namespace Service::Mii::RawData {
-
-extern const std::array<Service::Mii::DefaultMii, 8> DefaultMii;
-extern const std::array<Service::Mii::RandomMiiData4, 18> RandomMiiFaceline;
-extern const std::array<Service::Mii::RandomMiiData3, 6> RandomMiiFacelineColor;
-extern const std::array<Service::Mii::RandomMiiData4, 18> RandomMiiFacelineWrinkle;
-extern const std::array<Service::Mii::RandomMiiData4, 18> RandomMiiFacelineMakeup;
-extern const std::array<Service::Mii::RandomMiiData4, 18> RandomMiiHairType;
-extern const std::array<Service::Mii::RandomMiiData3, 9> RandomMiiHairColor;
-extern const std::array<Service::Mii::RandomMiiData4, 18> RandomMiiEyeType;
-extern const std::array<Service::Mii::RandomMiiData2, 3> RandomMiiEyeColor;
-extern const std::array<Service::Mii::RandomMiiData4, 18> RandomMiiEyebrowType;
-extern const std::array<Service::Mii::RandomMiiData4, 18> RandomMiiNoseType;
-extern const std::array<Service::Mii::RandomMiiData4, 18> RandomMiiMouthType;
-extern const std::array<Service::Mii::RandomMiiData2, 3> RandomMiiGlassType;
-
-} // namespace Service::Mii::RawData
diff --git a/src/core/hle/service/mii/types.h b/src/core/hle/service/mii/types.h
deleted file mode 100644
index c48d08d79..000000000
--- a/src/core/hle/service/mii/types.h
+++ /dev/null
@@ -1,553 +0,0 @@
-// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#pragma once
-
-#include <array>
-#include <type_traits>
-
-#include "common/bit_field.h"
-#include "common/common_funcs.h"
-#include "common/common_types.h"
-#include "common/uuid.h"
-
-namespace Service::Mii {
-
-enum class Age : u32 {
- Young,
- Normal,
- Old,
- All,
-};
-
-enum class BeardType : u32 {
- None,
- Beard1,
- Beard2,
- Beard3,
- Beard4,
- Beard5,
-};
-
-enum class BeardAndMustacheFlag : u32 {
- Beard = 1,
- Mustache,
- All = Beard | Mustache,
-};
-DECLARE_ENUM_FLAG_OPERATORS(BeardAndMustacheFlag);
-
-enum class FontRegion : u32 {
- Standard,
- China,
- Korea,
- Taiwan,
-};
-
-enum class Gender : u32 {
- Male,
- Female,
- All,
- Maximum = Female,
-};
-
-enum class HairFlip : u32 {
- Left,
- Right,
- Maximum = Right,
-};
-
-enum class MustacheType : u32 {
- None,
- Mustache1,
- Mustache2,
- Mustache3,
- Mustache4,
- Mustache5,
-};
-
-enum class Race : u32 {
- Black,
- White,
- Asian,
- All,
-};
-
-enum class Source : u32 {
- Database = 0,
- Default = 1,
- Account = 2,
- Friend = 3,
-};
-
-enum class SourceFlag : u32 {
- None = 0,
- Database = 1 << 0,
- Default = 1 << 1,
-};
-DECLARE_ENUM_FLAG_OPERATORS(SourceFlag);
-
-// nn::mii::CharInfo
-struct CharInfo {
- Common::UUID uuid;
- std::array<char16_t, 11> name;
- u8 font_region;
- u8 favorite_color;
- u8 gender;
- u8 height;
- u8 build;
- u8 type;
- u8 region_move;
- u8 faceline_type;
- u8 faceline_color;
- u8 faceline_wrinkle;
- u8 faceline_make;
- u8 hair_type;
- u8 hair_color;
- u8 hair_flip;
- u8 eye_type;
- u8 eye_color;
- u8 eye_scale;
- u8 eye_aspect;
- u8 eye_rotate;
- u8 eye_x;
- u8 eye_y;
- u8 eyebrow_type;
- u8 eyebrow_color;
- u8 eyebrow_scale;
- u8 eyebrow_aspect;
- u8 eyebrow_rotate;
- u8 eyebrow_x;
- u8 eyebrow_y;
- u8 nose_type;
- u8 nose_scale;
- u8 nose_y;
- u8 mouth_type;
- u8 mouth_color;
- u8 mouth_scale;
- u8 mouth_aspect;
- u8 mouth_y;
- u8 beard_color;
- u8 beard_type;
- u8 mustache_type;
- u8 mustache_scale;
- u8 mustache_y;
- u8 glasses_type;
- u8 glasses_color;
- u8 glasses_scale;
- u8 glasses_y;
- u8 mole_type;
- u8 mole_scale;
- u8 mole_x;
- u8 mole_y;
- u8 padding;
-};
-static_assert(sizeof(CharInfo) == 0x58, "CharInfo has incorrect size.");
-static_assert(std::has_unique_object_representations_v<CharInfo>,
- "All bits of CharInfo must contribute to its value.");
-
-#pragma pack(push, 4)
-
-struct MiiInfoElement {
- MiiInfoElement(const CharInfo& info_, Source source_) : info{info_}, source{source_} {}
-
- CharInfo info{};
- Source source{};
-};
-static_assert(sizeof(MiiInfoElement) == 0x5c, "MiiInfoElement has incorrect size.");
-
-struct MiiStoreBitFields {
- union {
- u32 word_0{};
-
- BitField<0, 8, u32> hair_type;
- BitField<8, 7, u32> height;
- BitField<15, 1, u32> mole_type;
- BitField<16, 7, u32> build;
- BitField<23, 1, HairFlip> hair_flip;
- BitField<24, 7, u32> hair_color;
- BitField<31, 1, u32> type;
- };
-
- union {
- u32 word_1{};
-
- BitField<0, 7, u32> eye_color;
- BitField<7, 1, Gender> gender;
- BitField<8, 7, u32> eyebrow_color;
- BitField<16, 7, u32> mouth_color;
- BitField<24, 7, u32> beard_color;
- };
-
- union {
- u32 word_2{};
-
- BitField<0, 7, u32> glasses_color;
- BitField<8, 6, u32> eye_type;
- BitField<14, 2, u32> region_move;
- BitField<16, 6, u32> mouth_type;
- BitField<22, 2, FontRegion> font_region;
- BitField<24, 5, u32> eye_y;
- BitField<29, 3, u32> glasses_scale;
- };
-
- union {
- u32 word_3{};
-
- BitField<0, 5, u32> eyebrow_type;
- BitField<5, 3, MustacheType> mustache_type;
- BitField<8, 5, u32> nose_type;
- BitField<13, 3, BeardType> beard_type;
- BitField<16, 5, u32> nose_y;
- BitField<21, 3, u32> mouth_aspect;
- BitField<24, 5, u32> mouth_y;
- BitField<29, 3, u32> eyebrow_aspect;
- };
-
- union {
- u32 word_4{};
-
- BitField<0, 5, u32> mustache_y;
- BitField<5, 3, u32> eye_rotate;
- BitField<8, 5, u32> glasses_y;
- BitField<13, 3, u32> eye_aspect;
- BitField<16, 5, u32> mole_x;
- BitField<21, 3, u32> eye_scale;
- BitField<24, 5, u32> mole_y;
- };
-
- union {
- u32 word_5{};
-
- BitField<0, 5, u32> glasses_type;
- BitField<8, 4, u32> favorite_color;
- BitField<12, 4, u32> faceline_type;
- BitField<16, 4, u32> faceline_color;
- BitField<20, 4, u32> faceline_wrinkle;
- BitField<24, 4, u32> faceline_makeup;
- BitField<28, 4, u32> eye_x;
- };
-
- union {
- u32 word_6{};
-
- BitField<0, 4, u32> eyebrow_scale;
- BitField<4, 4, u32> eyebrow_rotate;
- BitField<8, 4, u32> eyebrow_x;
- BitField<12, 4, u32> eyebrow_y;
- BitField<16, 4, u32> nose_scale;
- BitField<20, 4, u32> mouth_scale;
- BitField<24, 4, u32> mustache_scale;
- BitField<28, 4, u32> mole_scale;
- };
-};
-static_assert(sizeof(MiiStoreBitFields) == 0x1c, "MiiStoreBitFields has incorrect size.");
-static_assert(std::is_trivially_copyable_v<MiiStoreBitFields>,
- "MiiStoreBitFields is not trivially copyable.");
-
-// This is nn::mii::Ver3StoreData
-// Based on citra HLE::Applets::MiiData and PretendoNetwork.
-// https://github.com/citra-emu/citra/blob/master/src/core/hle/applets/mii_selector.h#L48
-// https://github.com/PretendoNetwork/mii-js/blob/master/mii.js#L299
-struct Ver3StoreData {
- u8 version;
- union {
- u8 raw;
-
- BitField<0, 1, u8> allow_copying;
- BitField<1, 1, u8> profanity_flag;
- BitField<2, 2, u8> region_lock;
- BitField<4, 2, u8> character_set;
- } region_information;
- u16_be mii_id;
- u64_be system_id;
- u32_be specialness_and_creation_date;
- std::array<u8, 0x6> creator_mac;
- u16_be padding;
- union {
- u16 raw;
-
- BitField<0, 1, u16> gender;
- BitField<1, 4, u16> birth_month;
- BitField<5, 5, u16> birth_day;
- BitField<10, 4, u16> favorite_color;
- BitField<14, 1, u16> favorite;
- } mii_information;
- std::array<char16_t, 0xA> mii_name;
- u8 height;
- u8 build;
- union {
- u8 raw;
-
- BitField<0, 1, u8> disable_sharing;
- BitField<1, 4, u8> face_shape;
- BitField<5, 3, u8> skin_color;
- } appearance_bits1;
- union {
- u8 raw;
-
- BitField<0, 4, u8> wrinkles;
- BitField<4, 4, u8> makeup;
- } appearance_bits2;
- u8 hair_style;
- union {
- u8 raw;
-
- BitField<0, 3, u8> hair_color;
- BitField<3, 1, u8> flip_hair;
- } appearance_bits3;
- union {
- u32 raw;
-
- BitField<0, 6, u32> eye_type;
- BitField<6, 3, u32> eye_color;
- BitField<9, 4, u32> eye_scale;
- BitField<13, 3, u32> eye_vertical_stretch;
- BitField<16, 5, u32> eye_rotation;
- BitField<21, 4, u32> eye_spacing;
- BitField<25, 5, u32> eye_y_position;
- } appearance_bits4;
- union {
- u32 raw;
-
- BitField<0, 5, u32> eyebrow_style;
- BitField<5, 3, u32> eyebrow_color;
- BitField<8, 4, u32> eyebrow_scale;
- BitField<12, 3, u32> eyebrow_yscale;
- BitField<16, 4, u32> eyebrow_rotation;
- BitField<21, 4, u32> eyebrow_spacing;
- BitField<25, 5, u32> eyebrow_y_position;
- } appearance_bits5;
- union {
- u16 raw;
-
- BitField<0, 5, u16> nose_type;
- BitField<5, 4, u16> nose_scale;
- BitField<9, 5, u16> nose_y_position;
- } appearance_bits6;
- union {
- u16 raw;
-
- BitField<0, 6, u16> mouth_type;
- BitField<6, 3, u16> mouth_color;
- BitField<9, 4, u16> mouth_scale;
- BitField<13, 3, u16> mouth_horizontal_stretch;
- } appearance_bits7;
- union {
- u8 raw;
-
- BitField<0, 5, u8> mouth_y_position;
- BitField<5, 3, u8> mustache_type;
- } appearance_bits8;
- u8 allow_copying;
- union {
- u16 raw;
-
- BitField<0, 3, u16> bear_type;
- BitField<3, 3, u16> facial_hair_color;
- BitField<6, 4, u16> mustache_scale;
- BitField<10, 5, u16> mustache_y_position;
- } appearance_bits9;
- union {
- u16 raw;
-
- BitField<0, 4, u16> glasses_type;
- BitField<4, 3, u16> glasses_color;
- BitField<7, 4, u16> glasses_scale;
- BitField<11, 5, u16> glasses_y_position;
- } appearance_bits10;
- union {
- u16 raw;
-
- BitField<0, 1, u16> mole_enabled;
- BitField<1, 4, u16> mole_scale;
- BitField<5, 5, u16> mole_x_position;
- BitField<10, 5, u16> mole_y_position;
- } appearance_bits11;
-
- std::array<u16_le, 0xA> author_name;
- INSERT_PADDING_BYTES(0x2);
- u16_be crc;
-};
-static_assert(sizeof(Ver3StoreData) == 0x60, "Ver3StoreData is an invalid size");
-
-struct NfpStoreDataExtension {
- u8 faceline_color;
- u8 hair_color;
- u8 eye_color;
- u8 eyebrow_color;
- u8 mouth_color;
- u8 beard_color;
- u8 glass_color;
- u8 glass_type;
-};
-static_assert(sizeof(NfpStoreDataExtension) == 0x8, "NfpStoreDataExtension is an invalid size");
-
-constexpr std::array<u8, 0x10> Ver3FacelineColorTable{
- 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x0, 0x1, 0x5, 0x5,
-};
-
-constexpr std::array<u8, 100> Ver3HairColorTable{
- 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x0, 0x4, 0x3, 0x5, 0x4, 0x4, 0x6, 0x2, 0x0,
- 0x6, 0x4, 0x3, 0x2, 0x2, 0x7, 0x3, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2,
- 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x0, 0x0, 0x4,
- 0x4, 0x4, 0x4, 0x4, 0x4, 0x0, 0x0, 0x0, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x5, 0x5, 0x5,
- 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x5, 0x7, 0x5, 0x7, 0x7, 0x7, 0x7, 0x7, 0x6, 0x7,
- 0x7, 0x7, 0x7, 0x7, 0x3, 0x7, 0x7, 0x7, 0x7, 0x7, 0x0, 0x4, 0x4, 0x4, 0x4,
-};
-
-constexpr std::array<u8, 100> Ver3EyeColorTable{
- 0x0, 0x2, 0x2, 0x2, 0x1, 0x3, 0x2, 0x3, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x2, 0x2, 0x4,
- 0x2, 0x1, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2,
- 0x2, 0x2, 0x2, 0x2, 0x0, 0x0, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x1, 0x0, 0x4, 0x4,
- 0x4, 0x4, 0x4, 0x4, 0x4, 0x0, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5,
- 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x2, 0x2,
- 0x3, 0x3, 0x3, 0x3, 0x2, 0x2, 0x2, 0x2, 0x2, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1,
-};
-
-constexpr std::array<u8, 100> Ver3MouthlineColorTable{
- 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x3, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x1, 0x4,
- 0x4, 0x4, 0x0, 0x1, 0x2, 0x3, 0x4, 0x4, 0x2, 0x3, 0x3, 0x4, 0x4, 0x4, 0x4, 0x1, 0x4,
- 0x4, 0x2, 0x3, 0x3, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x3, 0x3, 0x3, 0x4, 0x4, 0x4,
- 0x3, 0x3, 0x3, 0x3, 0x3, 0x4, 0x4, 0x4, 0x4, 0x4, 0x3, 0x3, 0x3, 0x3, 0x4, 0x4, 0x4,
- 0x4, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x4, 0x4, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x4, 0x3,
- 0x3, 0x3, 0x3, 0x3, 0x4, 0x0, 0x3, 0x3, 0x3, 0x3, 0x4, 0x3, 0x3, 0x3, 0x3,
-};
-
-constexpr std::array<u8, 100> Ver3GlassColorTable{
- 0x0, 0x1, 0x1, 0x1, 0x5, 0x1, 0x1, 0x4, 0x0, 0x5, 0x1, 0x1, 0x3, 0x5, 0x1, 0x2, 0x3,
- 0x4, 0x5, 0x4, 0x2, 0x2, 0x4, 0x4, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2,
- 0x2, 0x2, 0x2, 0x2, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3,
- 0x3, 0x3, 0x3, 0x3, 0x3, 0x0, 0x0, 0x0, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x0, 0x5, 0x5,
- 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x1, 0x4,
- 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5,
-};
-
-constexpr std::array<u8, 20> Ver3GlassTypeTable{
- 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x1,
- 0x2, 0x1, 0x3, 0x7, 0x7, 0x6, 0x7, 0x8, 0x7, 0x7,
-};
-
-struct MiiStoreData {
- using Name = std::array<char16_t, 10>;
-
- MiiStoreData();
- MiiStoreData(const Name& name, const MiiStoreBitFields& bit_fields,
- const Common::UUID& user_id);
-
- // This corresponds to the above structure MiiStoreBitFields. I did it like this because the
- // BitField<> type makes this (and any thing that contains it) not trivially copyable, which is
- // not suitable for our uses.
- struct {
- std::array<u8, 0x1C> data{};
- static_assert(sizeof(MiiStoreBitFields) == sizeof(data), "data field has incorrect size.");
-
- Name name{};
- Common::UUID uuid{};
- } data;
-
- u16 data_crc{};
- u16 device_crc{};
-};
-static_assert(sizeof(MiiStoreData) == 0x44, "MiiStoreData has incorrect size.");
-
-struct MiiStoreDataElement {
- MiiStoreData data{};
- Source source{};
-};
-static_assert(sizeof(MiiStoreDataElement) == 0x48, "MiiStoreDataElement has incorrect size.");
-
-struct MiiDatabase {
- u32 magic{}; // 'NFDB'
- std::array<MiiStoreData, 0x64> miis{};
- INSERT_PADDING_BYTES(1);
- u8 count{};
- u16 crc{};
-};
-static_assert(sizeof(MiiDatabase) == 0x1A98, "MiiDatabase has incorrect size.");
-
-struct RandomMiiValues {
- std::array<u8, 0xbc> values{};
-};
-static_assert(sizeof(RandomMiiValues) == 0xbc, "RandomMiiValues has incorrect size.");
-
-struct RandomMiiData4 {
- Gender gender{};
- Age age{};
- Race race{};
- u32 values_count{};
- std::array<u32, 47> values{};
-};
-static_assert(sizeof(RandomMiiData4) == 0xcc, "RandomMiiData4 has incorrect size.");
-
-struct RandomMiiData3 {
- u32 arg_1;
- u32 arg_2;
- u32 values_count;
- std::array<u32, 47> values{};
-};
-static_assert(sizeof(RandomMiiData3) == 0xc8, "RandomMiiData3 has incorrect size.");
-
-struct RandomMiiData2 {
- u32 arg_1;
- u32 values_count;
- std::array<u32, 47> values{};
-};
-static_assert(sizeof(RandomMiiData2) == 0xc4, "RandomMiiData2 has incorrect size.");
-
-struct DefaultMii {
- u32 face_type{};
- u32 face_color{};
- u32 face_wrinkle{};
- u32 face_makeup{};
- u32 hair_type{};
- u32 hair_color{};
- u32 hair_flip{};
- u32 eye_type{};
- u32 eye_color{};
- u32 eye_scale{};
- u32 eye_aspect{};
- u32 eye_rotate{};
- u32 eye_x{};
- u32 eye_y{};
- u32 eyebrow_type{};
- u32 eyebrow_color{};
- u32 eyebrow_scale{};
- u32 eyebrow_aspect{};
- u32 eyebrow_rotate{};
- u32 eyebrow_x{};
- u32 eyebrow_y{};
- u32 nose_type{};
- u32 nose_scale{};
- u32 nose_y{};
- u32 mouth_type{};
- u32 mouth_color{};
- u32 mouth_scale{};
- u32 mouth_aspect{};
- u32 mouth_y{};
- u32 mustache_type{};
- u32 beard_type{};
- u32 beard_color{};
- u32 mustache_scale{};
- u32 mustache_y{};
- u32 glasses_type{};
- u32 glasses_color{};
- u32 glasses_scale{};
- u32 glasses_y{};
- u32 mole_type{};
- u32 mole_scale{};
- u32 mole_x{};
- u32 mole_y{};
- u32 height{};
- u32 weight{};
- Gender gender{};
- u32 favorite_color{};
- u32 region{};
- FontRegion font_region{};
- u32 type{};
- INSERT_PADDING_WORDS(5);
-};
-static_assert(sizeof(DefaultMii) == 0xd8, "MiiStoreData has incorrect size.");
-
-#pragma pack(pop)
-
-} // namespace Service::Mii
diff --git a/src/core/hle/service/mii/types/char_info.cpp b/src/core/hle/service/mii/types/char_info.cpp
new file mode 100644
index 000000000..e90124af4
--- /dev/null
+++ b/src/core/hle/service/mii/types/char_info.cpp
@@ -0,0 +1,482 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/hle/service/mii/types/char_info.h"
+#include "core/hle/service/mii/types/store_data.h"
+
+namespace Service::Mii {
+
+void CharInfo::SetFromStoreData(const StoreData& store_data) {
+ name = store_data.GetNickname();
+ null_terminator = '\0';
+ create_id = store_data.GetCreateId();
+ font_region = store_data.GetFontRegion();
+ favorite_color = store_data.GetFavoriteColor();
+ gender = store_data.GetGender();
+ height = store_data.GetHeight();
+ build = store_data.GetBuild();
+ type = store_data.GetType();
+ region_move = store_data.GetRegionMove();
+ faceline_type = store_data.GetFacelineType();
+ faceline_color = store_data.GetFacelineColor();
+ faceline_wrinkle = store_data.GetFacelineWrinkle();
+ faceline_make = store_data.GetFacelineMake();
+ hair_type = store_data.GetHairType();
+ hair_color = store_data.GetHairColor();
+ hair_flip = store_data.GetHairFlip();
+ eye_type = store_data.GetEyeType();
+ eye_color = store_data.GetEyeColor();
+ eye_scale = store_data.GetEyeScale();
+ eye_aspect = store_data.GetEyeAspect();
+ eye_rotate = store_data.GetEyeRotate();
+ eye_x = store_data.GetEyeX();
+ eye_y = store_data.GetEyeY();
+ eyebrow_type = store_data.GetEyebrowType();
+ eyebrow_color = store_data.GetEyebrowColor();
+ eyebrow_scale = store_data.GetEyebrowScale();
+ eyebrow_aspect = store_data.GetEyebrowAspect();
+ eyebrow_rotate = store_data.GetEyebrowRotate();
+ eyebrow_x = store_data.GetEyebrowX();
+ eyebrow_y = store_data.GetEyebrowY() + 3;
+ nose_type = store_data.GetNoseType();
+ nose_scale = store_data.GetNoseScale();
+ nose_y = store_data.GetNoseY();
+ mouth_type = store_data.GetMouthType();
+ mouth_color = store_data.GetMouthColor();
+ mouth_scale = store_data.GetMouthScale();
+ mouth_aspect = store_data.GetMouthAspect();
+ mouth_y = store_data.GetMouthY();
+ beard_color = store_data.GetBeardColor();
+ beard_type = store_data.GetBeardType();
+ mustache_type = store_data.GetMustacheType();
+ mustache_scale = store_data.GetMustacheScale();
+ mustache_y = store_data.GetMustacheY();
+ glass_type = store_data.GetGlassType();
+ glass_color = store_data.GetGlassColor();
+ glass_scale = store_data.GetGlassScale();
+ glass_y = store_data.GetGlassY();
+ mole_type = store_data.GetMoleType();
+ mole_scale = store_data.GetMoleScale();
+ mole_x = store_data.GetMoleX();
+ mole_y = store_data.GetMoleY();
+ padding = '\0';
+}
+
+ValidationResult CharInfo::Verify() const {
+ if (!create_id.IsValid()) {
+ return ValidationResult::InvalidCreateId;
+ }
+ if (!name.IsValid()) {
+ return ValidationResult::InvalidName;
+ }
+ if (font_region > FontRegion::Max) {
+ return ValidationResult::InvalidFont;
+ }
+ if (favorite_color > FavoriteColor::Max) {
+ return ValidationResult::InvalidColor;
+ }
+ if (gender > Gender::Max) {
+ return ValidationResult::InvalidGender;
+ }
+ if (height > MaxHeight) {
+ return ValidationResult::InvalidHeight;
+ }
+ if (build > MaxBuild) {
+ return ValidationResult::InvalidBuild;
+ }
+ if (type > MaxType) {
+ return ValidationResult::InvalidType;
+ }
+ if (region_move > MaxRegionMove) {
+ return ValidationResult::InvalidRegionMove;
+ }
+ if (faceline_type > FacelineType::Max) {
+ return ValidationResult::InvalidFacelineType;
+ }
+ if (faceline_color > FacelineColor::Max) {
+ return ValidationResult::InvalidFacelineColor;
+ }
+ if (faceline_wrinkle > FacelineWrinkle::Max) {
+ return ValidationResult::InvalidFacelineWrinkle;
+ }
+ if (faceline_make > FacelineMake::Max) {
+ return ValidationResult::InvalidFacelineMake;
+ }
+ if (hair_type > HairType::Max) {
+ return ValidationResult::InvalidHairType;
+ }
+ if (hair_color > CommonColor::Max) {
+ return ValidationResult::InvalidHairColor;
+ }
+ if (hair_flip > HairFlip::Max) {
+ return ValidationResult::InvalidHairFlip;
+ }
+ if (eye_type > EyeType::Max) {
+ return ValidationResult::InvalidEyeType;
+ }
+ if (eye_color > CommonColor::Max) {
+ return ValidationResult::InvalidEyeColor;
+ }
+ if (eye_scale > MaxEyeScale) {
+ return ValidationResult::InvalidEyeScale;
+ }
+ if (eye_aspect > MaxEyeAspect) {
+ return ValidationResult::InvalidEyeAspect;
+ }
+ if (eye_rotate > MaxEyeX) {
+ return ValidationResult::InvalidEyeRotate;
+ }
+ if (eye_x > MaxEyeX) {
+ return ValidationResult::InvalidEyeX;
+ }
+ if (eye_y > MaxEyeY) {
+ return ValidationResult::InvalidEyeY;
+ }
+ if (eyebrow_type > EyebrowType::Max) {
+ return ValidationResult::InvalidEyebrowType;
+ }
+ if (eyebrow_color > CommonColor::Max) {
+ return ValidationResult::InvalidEyebrowColor;
+ }
+ if (eyebrow_scale > MaxEyebrowScale) {
+ return ValidationResult::InvalidEyebrowScale;
+ }
+ if (eyebrow_aspect > MaxEyebrowAspect) {
+ return ValidationResult::InvalidEyebrowAspect;
+ }
+ if (eyebrow_rotate > MaxEyebrowRotate) {
+ return ValidationResult::InvalidEyebrowRotate;
+ }
+ if (eyebrow_x > MaxEyebrowX) {
+ return ValidationResult::InvalidEyebrowX;
+ }
+ if (eyebrow_y - 3 > MaxEyebrowY) {
+ return ValidationResult::InvalidEyebrowY;
+ }
+ if (nose_type > NoseType::Max) {
+ return ValidationResult::InvalidNoseType;
+ }
+ if (nose_scale > MaxNoseScale) {
+ return ValidationResult::InvalidNoseScale;
+ }
+ if (nose_y > MaxNoseY) {
+ return ValidationResult::InvalidNoseY;
+ }
+ if (mouth_type > MouthType::Max) {
+ return ValidationResult::InvalidMouthType;
+ }
+ if (mouth_color > CommonColor::Max) {
+ return ValidationResult::InvalidMouthColor;
+ }
+ if (mouth_scale > MaxMouthScale) {
+ return ValidationResult::InvalidMouthScale;
+ }
+ if (mouth_aspect > MaxMoutAspect) {
+ return ValidationResult::InvalidMouthAspect;
+ }
+ if (mouth_y > MaxMouthY) {
+ return ValidationResult::InvalidMoleY;
+ }
+ if (beard_color > CommonColor::Max) {
+ return ValidationResult::InvalidBeardColor;
+ }
+ if (beard_type > BeardType::Max) {
+ return ValidationResult::InvalidBeardType;
+ }
+ if (mustache_type > MustacheType::Max) {
+ return ValidationResult::InvalidMustacheType;
+ }
+ if (mustache_scale > MaxMustacheScale) {
+ return ValidationResult::InvalidMustacheScale;
+ }
+ if (mustache_y > MaxMustacheY) {
+ return ValidationResult::InvalidMustacheY;
+ }
+ if (glass_type > GlassType::Max) {
+ return ValidationResult::InvalidGlassType;
+ }
+ if (glass_color > CommonColor::Max) {
+ return ValidationResult::InvalidGlassColor;
+ }
+ if (glass_scale > MaxGlassScale) {
+ return ValidationResult::InvalidGlassScale;
+ }
+ if (glass_y > MaxGlassY) {
+ return ValidationResult::InvalidGlassY;
+ }
+ if (mole_type > MoleType::Max) {
+ return ValidationResult::InvalidMoleType;
+ }
+ if (mole_scale > MaxMoleScale) {
+ return ValidationResult::InvalidMoleScale;
+ }
+ if (mole_x > MaxMoleX) {
+ return ValidationResult::InvalidMoleX;
+ }
+ if (mole_y > MaxMoleY) {
+ return ValidationResult::InvalidMoleY;
+ }
+ return ValidationResult::NoErrors;
+}
+
+Common::UUID CharInfo::GetCreateId() const {
+ return create_id;
+}
+
+Nickname CharInfo::GetNickname() const {
+ return name;
+}
+
+FontRegion CharInfo::GetFontRegion() const {
+ return font_region;
+}
+
+FavoriteColor CharInfo::GetFavoriteColor() const {
+ return favorite_color;
+}
+
+Gender CharInfo::GetGender() const {
+ return gender;
+}
+
+u8 CharInfo::GetHeight() const {
+ return height;
+}
+
+u8 CharInfo::GetBuild() const {
+ return build;
+}
+
+u8 CharInfo::GetType() const {
+ return type;
+}
+
+u8 CharInfo::GetRegionMove() const {
+ return region_move;
+}
+
+FacelineType CharInfo::GetFacelineType() const {
+ return faceline_type;
+}
+
+FacelineColor CharInfo::GetFacelineColor() const {
+ return faceline_color;
+}
+
+FacelineWrinkle CharInfo::GetFacelineWrinkle() const {
+ return faceline_wrinkle;
+}
+
+FacelineMake CharInfo::GetFacelineMake() const {
+ return faceline_make;
+}
+
+HairType CharInfo::GetHairType() const {
+ return hair_type;
+}
+
+CommonColor CharInfo::GetHairColor() const {
+ return hair_color;
+}
+
+HairFlip CharInfo::GetHairFlip() const {
+ return hair_flip;
+}
+
+EyeType CharInfo::GetEyeType() const {
+ return eye_type;
+}
+
+CommonColor CharInfo::GetEyeColor() const {
+ return eye_color;
+}
+
+u8 CharInfo::GetEyeScale() const {
+ return eye_scale;
+}
+
+u8 CharInfo::GetEyeAspect() const {
+ return eye_aspect;
+}
+
+u8 CharInfo::GetEyeRotate() const {
+ return eye_rotate;
+}
+
+u8 CharInfo::GetEyeX() const {
+ return eye_x;
+}
+
+u8 CharInfo::GetEyeY() const {
+ return eye_y;
+}
+
+EyebrowType CharInfo::GetEyebrowType() const {
+ return eyebrow_type;
+}
+
+CommonColor CharInfo::GetEyebrowColor() const {
+ return eyebrow_color;
+}
+
+u8 CharInfo::GetEyebrowScale() const {
+ return eyebrow_scale;
+}
+
+u8 CharInfo::GetEyebrowAspect() const {
+ return eyebrow_aspect;
+}
+
+u8 CharInfo::GetEyebrowRotate() const {
+ return eyebrow_rotate;
+}
+
+u8 CharInfo::GetEyebrowX() const {
+ return eyebrow_x;
+}
+
+u8 CharInfo::GetEyebrowY() const {
+ return eyebrow_y;
+}
+
+NoseType CharInfo::GetNoseType() const {
+ return nose_type;
+}
+
+u8 CharInfo::GetNoseScale() const {
+ return nose_scale;
+}
+
+u8 CharInfo::GetNoseY() const {
+ return nose_y;
+}
+
+MouthType CharInfo::GetMouthType() const {
+ return mouth_type;
+}
+
+CommonColor CharInfo::GetMouthColor() const {
+ return mouth_color;
+}
+
+u8 CharInfo::GetMouthScale() const {
+ return mouth_scale;
+}
+
+u8 CharInfo::GetMouthAspect() const {
+ return mouth_aspect;
+}
+
+u8 CharInfo::GetMouthY() const {
+ return mouth_y;
+}
+
+CommonColor CharInfo::GetBeardColor() const {
+ return beard_color;
+}
+
+BeardType CharInfo::GetBeardType() const {
+ return beard_type;
+}
+
+MustacheType CharInfo::GetMustacheType() const {
+ return mustache_type;
+}
+
+u8 CharInfo::GetMustacheScale() const {
+ return mustache_scale;
+}
+
+u8 CharInfo::GetMustacheY() const {
+ return mustache_y;
+}
+
+GlassType CharInfo::GetGlassType() const {
+ return glass_type;
+}
+
+CommonColor CharInfo::GetGlassColor() const {
+ return glass_color;
+}
+
+u8 CharInfo::GetGlassScale() const {
+ return glass_scale;
+}
+
+u8 CharInfo::GetGlassY() const {
+ return glass_y;
+}
+
+MoleType CharInfo::GetMoleType() const {
+ return mole_type;
+}
+
+u8 CharInfo::GetMoleScale() const {
+ return mole_scale;
+}
+
+u8 CharInfo::GetMoleX() const {
+ return mole_x;
+}
+
+u8 CharInfo::GetMoleY() const {
+ return mole_y;
+}
+
+bool CharInfo::operator==(const CharInfo& info) {
+ bool is_identical = info.Verify() == ValidationResult::NoErrors;
+ is_identical &= name.data == info.GetNickname().data;
+ is_identical &= create_id == info.GetCreateId();
+ is_identical &= font_region == info.GetFontRegion();
+ is_identical &= favorite_color == info.GetFavoriteColor();
+ is_identical &= gender == info.GetGender();
+ is_identical &= height == info.GetHeight();
+ is_identical &= build == info.GetBuild();
+ is_identical &= type == info.GetType();
+ is_identical &= region_move == info.GetRegionMove();
+ is_identical &= faceline_type == info.GetFacelineType();
+ is_identical &= faceline_color == info.GetFacelineColor();
+ is_identical &= faceline_wrinkle == info.GetFacelineWrinkle();
+ is_identical &= faceline_make == info.GetFacelineMake();
+ is_identical &= hair_type == info.GetHairType();
+ is_identical &= hair_color == info.GetHairColor();
+ is_identical &= hair_flip == info.GetHairFlip();
+ is_identical &= eye_type == info.GetEyeType();
+ is_identical &= eye_color == info.GetEyeColor();
+ is_identical &= eye_scale == info.GetEyeScale();
+ is_identical &= eye_aspect == info.GetEyeAspect();
+ is_identical &= eye_rotate == info.GetEyeRotate();
+ is_identical &= eye_x == info.GetEyeX();
+ is_identical &= eye_y == info.GetEyeY();
+ is_identical &= eyebrow_type == info.GetEyebrowType();
+ is_identical &= eyebrow_color == info.GetEyebrowColor();
+ is_identical &= eyebrow_scale == info.GetEyebrowScale();
+ is_identical &= eyebrow_aspect == info.GetEyebrowAspect();
+ is_identical &= eyebrow_rotate == info.GetEyebrowRotate();
+ is_identical &= eyebrow_x == info.GetEyebrowX();
+ is_identical &= eyebrow_y == info.GetEyebrowY();
+ is_identical &= nose_type == info.GetNoseType();
+ is_identical &= nose_scale == info.GetNoseScale();
+ is_identical &= nose_y == info.GetNoseY();
+ is_identical &= mouth_type == info.GetMouthType();
+ is_identical &= mouth_color == info.GetMouthColor();
+ is_identical &= mouth_scale == info.GetMouthScale();
+ is_identical &= mouth_aspect == info.GetMouthAspect();
+ is_identical &= mouth_y == info.GetMouthY();
+ is_identical &= beard_color == info.GetBeardColor();
+ is_identical &= beard_type == info.GetBeardType();
+ is_identical &= mustache_type == info.GetMustacheType();
+ is_identical &= mustache_scale == info.GetMustacheScale();
+ is_identical &= mustache_y == info.GetMustacheY();
+ is_identical &= glass_type == info.GetGlassType();
+ is_identical &= glass_color == info.GetGlassColor();
+ is_identical &= glass_scale == info.GetGlassScale();
+ is_identical &= glass_y == info.GetGlassY();
+ is_identical &= mole_type == info.GetMoleType();
+ is_identical &= mole_scale == info.GetMoleScale();
+ is_identical &= mole_x == info.GetMoleX();
+ is_identical &= mole_y == info.GetMoleY();
+ return is_identical;
+}
+
+} // namespace Service::Mii
diff --git a/src/core/hle/service/mii/types/char_info.h b/src/core/hle/service/mii/types/char_info.h
new file mode 100644
index 000000000..d0c457fd5
--- /dev/null
+++ b/src/core/hle/service/mii/types/char_info.h
@@ -0,0 +1,137 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/hle/service/mii/mii_types.h"
+
+namespace Service::Mii {
+class StoreData;
+
+// This is nn::mii::detail::CharInfoRaw
+class CharInfo {
+public:
+ void SetFromStoreData(const StoreData& store_data_raw);
+
+ ValidationResult Verify() const;
+
+ Common::UUID GetCreateId() const;
+ Nickname GetNickname() const;
+ FontRegion GetFontRegion() const;
+ FavoriteColor GetFavoriteColor() const;
+ Gender GetGender() const;
+ u8 GetHeight() const;
+ u8 GetBuild() const;
+ u8 GetType() const;
+ u8 GetRegionMove() const;
+ FacelineType GetFacelineType() const;
+ FacelineColor GetFacelineColor() const;
+ FacelineWrinkle GetFacelineWrinkle() const;
+ FacelineMake GetFacelineMake() const;
+ HairType GetHairType() const;
+ CommonColor GetHairColor() const;
+ HairFlip GetHairFlip() const;
+ EyeType GetEyeType() const;
+ CommonColor GetEyeColor() const;
+ u8 GetEyeScale() const;
+ u8 GetEyeAspect() const;
+ u8 GetEyeRotate() const;
+ u8 GetEyeX() const;
+ u8 GetEyeY() const;
+ EyebrowType GetEyebrowType() const;
+ CommonColor GetEyebrowColor() const;
+ u8 GetEyebrowScale() const;
+ u8 GetEyebrowAspect() const;
+ u8 GetEyebrowRotate() const;
+ u8 GetEyebrowX() const;
+ u8 GetEyebrowY() const;
+ NoseType GetNoseType() const;
+ u8 GetNoseScale() const;
+ u8 GetNoseY() const;
+ MouthType GetMouthType() const;
+ CommonColor GetMouthColor() const;
+ u8 GetMouthScale() const;
+ u8 GetMouthAspect() const;
+ u8 GetMouthY() const;
+ CommonColor GetBeardColor() const;
+ BeardType GetBeardType() const;
+ MustacheType GetMustacheType() const;
+ u8 GetMustacheScale() const;
+ u8 GetMustacheY() const;
+ GlassType GetGlassType() const;
+ CommonColor GetGlassColor() const;
+ u8 GetGlassScale() const;
+ u8 GetGlassY() const;
+ MoleType GetMoleType() const;
+ u8 GetMoleScale() const;
+ u8 GetMoleX() const;
+ u8 GetMoleY() const;
+
+ bool operator==(const CharInfo& info);
+
+private:
+ Common::UUID create_id{};
+ Nickname name{};
+ u16 null_terminator{};
+ FontRegion font_region{};
+ FavoriteColor favorite_color{};
+ Gender gender{};
+ u8 height{};
+ u8 build{};
+ u8 type{};
+ u8 region_move{};
+ FacelineType faceline_type{};
+ FacelineColor faceline_color{};
+ FacelineWrinkle faceline_wrinkle{};
+ FacelineMake faceline_make{};
+ HairType hair_type{};
+ CommonColor hair_color{};
+ HairFlip hair_flip{};
+ EyeType eye_type{};
+ CommonColor eye_color{};
+ u8 eye_scale{};
+ u8 eye_aspect{};
+ u8 eye_rotate{};
+ u8 eye_x{};
+ u8 eye_y{};
+ EyebrowType eyebrow_type{};
+ CommonColor eyebrow_color{};
+ u8 eyebrow_scale{};
+ u8 eyebrow_aspect{};
+ u8 eyebrow_rotate{};
+ u8 eyebrow_x{};
+ u8 eyebrow_y{};
+ NoseType nose_type{};
+ u8 nose_scale{};
+ u8 nose_y{};
+ MouthType mouth_type{};
+ CommonColor mouth_color{};
+ u8 mouth_scale{};
+ u8 mouth_aspect{};
+ u8 mouth_y{};
+ CommonColor beard_color{};
+ BeardType beard_type{};
+ MustacheType mustache_type{};
+ u8 mustache_scale{};
+ u8 mustache_y{};
+ GlassType glass_type{};
+ CommonColor glass_color{};
+ u8 glass_scale{};
+ u8 glass_y{};
+ MoleType mole_type{};
+ u8 mole_scale{};
+ u8 mole_x{};
+ u8 mole_y{};
+ u8 padding{};
+};
+static_assert(sizeof(CharInfo) == 0x58, "CharInfo has incorrect size.");
+static_assert(std::has_unique_object_representations_v<CharInfo>,
+ "All bits of CharInfo must contribute to its value.");
+
+struct CharInfoElement {
+ CharInfo char_info{};
+ Source source{};
+};
+static_assert(sizeof(CharInfoElement) == 0x5c, "CharInfoElement has incorrect size.");
+
+}; // namespace Service::Mii
diff --git a/src/core/hle/service/mii/types/core_data.cpp b/src/core/hle/service/mii/types/core_data.cpp
new file mode 100644
index 000000000..970c748ca
--- /dev/null
+++ b/src/core/hle/service/mii/types/core_data.cpp
@@ -0,0 +1,805 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "common/assert.h"
+#include "core/hle/service/mii/mii_util.h"
+#include "core/hle/service/mii/types/char_info.h"
+#include "core/hle/service/mii/types/core_data.h"
+#include "core/hle/service/mii/types/raw_data.h"
+
+namespace Service::Mii {
+
+void CoreData::SetDefault() {
+ data = {};
+ name = GetDefaultNickname();
+}
+
+void CoreData::BuildRandom(Age age, Gender gender, Race race) {
+ if (gender == Gender::All) {
+ gender = MiiUtil::GetRandomValue(Gender::Max);
+ }
+
+ if (age == Age::All) {
+ const auto random{MiiUtil::GetRandomValue<int>(10)};
+ if (random >= 8) {
+ age = Age::Old;
+ } else if (random >= 4) {
+ age = Age::Normal;
+ } else {
+ age = Age::Young;
+ }
+ }
+
+ if (race == Race::All) {
+ const auto random{MiiUtil::GetRandomValue<int>(10)};
+ if (random >= 8) {
+ race = Race::Black;
+ } else if (random >= 4) {
+ race = Race::White;
+ } else {
+ race = Race::Asian;
+ }
+ }
+
+ SetGender(gender);
+ SetFavoriteColor(MiiUtil::GetRandomValue(FavoriteColor::Max));
+ SetRegionMove(0);
+ SetFontRegion(FontRegion::Standard);
+ SetType(0);
+ SetHeight(64);
+ SetBuild(64);
+
+ u32 axis_y{};
+ if (gender == Gender::Female && age == Age::Young) {
+ axis_y = MiiUtil::GetRandomValue<u32>(3);
+ }
+
+ const std::size_t index{3 * static_cast<std::size_t>(age) +
+ 9 * static_cast<std::size_t>(gender) + static_cast<std::size_t>(race)};
+
+ const auto& faceline_type_info{RawData::RandomMiiFaceline.at(index)};
+ const auto& faceline_color_info{RawData::RandomMiiFacelineColor.at(
+ 3 * static_cast<std::size_t>(gender) + static_cast<std::size_t>(race))};
+ const auto& faceline_wrinkle_info{RawData::RandomMiiFacelineWrinkle.at(index)};
+ const auto& faceline_makeup_info{RawData::RandomMiiFacelineMakeup.at(index)};
+ const auto& hair_type_info{RawData::RandomMiiHairType.at(index)};
+ const auto& hair_color_info{RawData::RandomMiiHairColor.at(3 * static_cast<std::size_t>(race) +
+ static_cast<std::size_t>(age))};
+ const auto& eye_type_info{RawData::RandomMiiEyeType.at(index)};
+ const auto& eye_color_info{RawData::RandomMiiEyeColor.at(static_cast<std::size_t>(race))};
+ const auto& eyebrow_type_info{RawData::RandomMiiEyebrowType.at(index)};
+ const auto& nose_type_info{RawData::RandomMiiNoseType.at(index)};
+ const auto& mouth_type_info{RawData::RandomMiiMouthType.at(index)};
+ const auto& glasses_type_info{RawData::RandomMiiGlassType.at(static_cast<std::size_t>(age))};
+
+ data.faceline_type.Assign(
+ faceline_type_info
+ .values[MiiUtil::GetRandomValue<std::size_t>(faceline_type_info.values_count)]);
+ data.faceline_color.Assign(
+ faceline_color_info
+ .values[MiiUtil::GetRandomValue<std::size_t>(faceline_color_info.values_count)]);
+ data.faceline_wrinkle.Assign(
+ faceline_wrinkle_info
+ .values[MiiUtil::GetRandomValue<std::size_t>(faceline_wrinkle_info.values_count)]);
+ data.faceline_makeup.Assign(
+ faceline_makeup_info
+ .values[MiiUtil::GetRandomValue<std::size_t>(faceline_makeup_info.values_count)]);
+
+ data.hair_type.Assign(
+ hair_type_info.values[MiiUtil::GetRandomValue<std::size_t>(hair_type_info.values_count)]);
+ SetHairColor(RawData::GetHairColorFromVer3(
+ hair_color_info
+ .values[MiiUtil::GetRandomValue<std::size_t>(hair_color_info.values_count)]));
+ SetHairFlip(MiiUtil::GetRandomValue(HairFlip::Max));
+
+ data.eye_type.Assign(
+ eye_type_info.values[MiiUtil::GetRandomValue<std::size_t>(eye_type_info.values_count)]);
+
+ const auto eye_rotate_1{gender != Gender::Male ? 4 : 2};
+ const auto eye_rotate_2{gender != Gender::Male ? 3 : 4};
+ const auto eye_rotate_offset{32 - RawData::EyeRotateLookup[eye_rotate_1] + eye_rotate_2};
+ const auto eye_rotate{32 - RawData::EyeRotateLookup[data.eye_type]};
+
+ SetEyeColor(RawData::GetEyeColorFromVer3(
+ eye_color_info.values[MiiUtil::GetRandomValue<std::size_t>(eye_color_info.values_count)]));
+ SetEyeScale(4);
+ SetEyeAspect(3);
+ SetEyeRotate(static_cast<u8>(eye_rotate_offset - eye_rotate));
+ SetEyeX(2);
+ SetEyeY(static_cast<u8>(axis_y + 12));
+
+ data.eyebrow_type.Assign(
+ eyebrow_type_info
+ .values[MiiUtil::GetRandomValue<std::size_t>(eyebrow_type_info.values_count)]);
+
+ const auto eyebrow_rotate_1{race == Race::Asian ? 6 : 0};
+ const auto eyebrow_y{race == Race::Asian ? 6 : 7};
+ const auto eyebrow_rotate_offset{32 - RawData::EyebrowRotateLookup[eyebrow_rotate_1] + 6};
+ const auto eyebrow_rotate{
+ 32 - RawData::EyebrowRotateLookup[static_cast<std::size_t>(data.eyebrow_type.Value())]};
+
+ SetEyebrowColor(GetHairColor());
+ SetEyebrowScale(4);
+ SetEyebrowAspect(3);
+ SetEyebrowRotate(static_cast<u8>(eyebrow_rotate_offset - eyebrow_rotate));
+ SetEyebrowX(2);
+ SetEyebrowY(static_cast<u8>(axis_y + eyebrow_y));
+
+ data.nose_type.Assign(
+ nose_type_info.values[MiiUtil::GetRandomValue<std::size_t>(nose_type_info.values_count)]);
+ SetNoseScale(gender == Gender::Female ? 3 : 4);
+ SetNoseY(static_cast<u8>(axis_y + 9));
+
+ const auto mouth_color{gender == Gender::Female ? MiiUtil::GetRandomValue<int>(4) : 0};
+
+ data.mouth_type.Assign(
+ mouth_type_info.values[MiiUtil::GetRandomValue<std::size_t>(mouth_type_info.values_count)]);
+ SetMouthColor(RawData::GetMouthColorFromVer3(mouth_color));
+ SetMouthScale(4);
+ SetMouthAspect(3);
+ SetMouthY(static_cast<u8>(axis_y + 13));
+
+ SetBeardColor(GetHairColor());
+ SetMustacheScale(4);
+
+ if (gender == Gender::Male && age != Age::Young && MiiUtil::GetRandomValue<int>(10) < 2) {
+ const auto mustache_and_beard_flag{MiiUtil::GetRandomValue(BeardAndMustacheFlag::All)};
+
+ auto beard_type{BeardType::None};
+ auto mustache_type{MustacheType::None};
+
+ if ((mustache_and_beard_flag & BeardAndMustacheFlag::Beard) ==
+ BeardAndMustacheFlag::Beard) {
+ beard_type = MiiUtil::GetRandomValue(BeardType::Min, BeardType::Max);
+ }
+
+ if ((mustache_and_beard_flag & BeardAndMustacheFlag::Mustache) ==
+ BeardAndMustacheFlag::Mustache) {
+ mustache_type = MiiUtil::GetRandomValue(MustacheType::Min, MustacheType::Max);
+ }
+
+ SetMustacheType(mustache_type);
+ SetBeardType(beard_type);
+ SetMustacheY(10);
+ } else {
+ SetMustacheType(MustacheType::None);
+ SetBeardType(BeardType::None);
+ SetMustacheY(static_cast<u8>(axis_y + 10));
+ }
+
+ const auto glasses_type_start{MiiUtil::GetRandomValue<std::size_t>(100)};
+ u8 glasses_type{};
+ while (glasses_type_start < glasses_type_info.values[glasses_type]) {
+ if (++glasses_type >= glasses_type_info.values_count) {
+ glasses_type = 0;
+ break;
+ }
+ }
+
+ SetGlassType(static_cast<GlassType>(glasses_type));
+ SetGlassColor(RawData::GetGlassColorFromVer3(0));
+ SetGlassScale(4);
+ SetGlassY(static_cast<u8>(axis_y + 10));
+
+ SetMoleType(MoleType::None);
+ SetMoleScale(4);
+ SetMoleX(2);
+ SetMoleY(20);
+}
+
+void CoreData::BuildFromCharInfo(const CharInfo& char_info) {
+ name = char_info.GetNickname();
+ SetFontRegion(char_info.GetFontRegion());
+ SetFavoriteColor(char_info.GetFavoriteColor());
+ SetGender(char_info.GetGender());
+ SetHeight(char_info.GetHeight());
+ SetBuild(char_info.GetBuild());
+ SetType(char_info.GetType());
+ SetRegionMove(char_info.GetRegionMove());
+ SetFacelineType(char_info.GetFacelineType());
+ SetFacelineColor(char_info.GetFacelineColor());
+ SetFacelineWrinkle(char_info.GetFacelineWrinkle());
+ SetFacelineMake(char_info.GetFacelineMake());
+ SetHairType(char_info.GetHairType());
+ SetHairColor(char_info.GetHairColor());
+ SetHairFlip(char_info.GetHairFlip());
+ SetEyeType(char_info.GetEyeType());
+ SetEyeColor(char_info.GetEyeColor());
+ SetEyeScale(char_info.GetEyeScale());
+ SetEyeAspect(char_info.GetEyeAspect());
+ SetEyeRotate(char_info.GetEyeRotate());
+ SetEyeX(char_info.GetEyeX());
+ SetEyeY(char_info.GetEyeY());
+ SetEyebrowType(char_info.GetEyebrowType());
+ SetEyebrowColor(char_info.GetEyebrowColor());
+ SetEyebrowScale(char_info.GetEyebrowScale());
+ SetEyebrowAspect(char_info.GetEyebrowAspect());
+ SetEyebrowRotate(char_info.GetEyebrowRotate());
+ SetEyebrowX(char_info.GetEyebrowX());
+ SetEyebrowY(char_info.GetEyebrowY() - 3);
+ SetNoseType(char_info.GetNoseType());
+ SetNoseScale(char_info.GetNoseScale());
+ SetNoseY(char_info.GetNoseY());
+ SetMouthType(char_info.GetMouthType());
+ SetMouthColor(char_info.GetMouthColor());
+ SetMouthScale(char_info.GetMouthScale());
+ SetMouthAspect(char_info.GetMouthAspect());
+ SetMouthY(char_info.GetMouthY());
+ SetBeardColor(char_info.GetBeardColor());
+ SetBeardType(char_info.GetBeardType());
+ SetMustacheType(char_info.GetMustacheType());
+ SetMustacheScale(char_info.GetMustacheScale());
+ SetMustacheY(char_info.GetMustacheY());
+ SetGlassType(char_info.GetGlassType());
+ SetGlassColor(char_info.GetGlassColor());
+ SetGlassScale(char_info.GetGlassScale());
+ SetGlassY(char_info.GetGlassY());
+ SetMoleType(char_info.GetMoleType());
+ SetMoleScale(char_info.GetMoleScale());
+ SetMoleX(char_info.GetMoleX());
+ SetMoleY(char_info.GetMoleY());
+}
+
+ValidationResult CoreData::IsValid() const {
+ if (!name.IsValid()) {
+ return ValidationResult::InvalidName;
+ }
+ if (GetFontRegion() > FontRegion::Max) {
+ return ValidationResult::InvalidFont;
+ }
+ if (GetFavoriteColor() > FavoriteColor::Max) {
+ return ValidationResult::InvalidColor;
+ }
+ if (GetGender() > Gender::Max) {
+ return ValidationResult::InvalidGender;
+ }
+ if (GetHeight() > MaxHeight) {
+ return ValidationResult::InvalidHeight;
+ }
+ if (GetBuild() > MaxBuild) {
+ return ValidationResult::InvalidBuild;
+ }
+ if (GetType() > MaxType) {
+ return ValidationResult::InvalidType;
+ }
+ if (GetRegionMove() > MaxRegionMove) {
+ return ValidationResult::InvalidRegionMove;
+ }
+ if (GetFacelineType() > FacelineType::Max) {
+ return ValidationResult::InvalidFacelineType;
+ }
+ if (GetFacelineColor() > FacelineColor::Max) {
+ return ValidationResult::InvalidFacelineColor;
+ }
+ if (GetFacelineWrinkle() > FacelineWrinkle::Max) {
+ return ValidationResult::InvalidFacelineWrinkle;
+ }
+ if (GetFacelineMake() > FacelineMake::Max) {
+ return ValidationResult::InvalidFacelineMake;
+ }
+ if (GetHairType() > HairType::Max) {
+ return ValidationResult::InvalidHairType;
+ }
+ if (GetHairColor() > CommonColor::Max) {
+ return ValidationResult::InvalidHairColor;
+ }
+ if (GetHairFlip() > HairFlip::Max) {
+ return ValidationResult::InvalidHairFlip;
+ }
+ if (GetEyeType() > EyeType::Max) {
+ return ValidationResult::InvalidEyeType;
+ }
+ if (GetEyeColor() > CommonColor::Max) {
+ return ValidationResult::InvalidEyeColor;
+ }
+ if (GetEyeScale() > MaxEyeScale) {
+ return ValidationResult::InvalidEyeScale;
+ }
+ if (GetEyeAspect() > MaxEyeAspect) {
+ return ValidationResult::InvalidEyeAspect;
+ }
+ if (GetEyeRotate() > MaxEyeRotate) {
+ return ValidationResult::InvalidEyeRotate;
+ }
+ if (GetEyeX() > MaxEyeX) {
+ return ValidationResult::InvalidEyeX;
+ }
+ if (GetEyeY() > MaxEyeY) {
+ return ValidationResult::InvalidEyeY;
+ }
+ if (GetEyebrowType() > EyebrowType::Max) {
+ return ValidationResult::InvalidEyebrowType;
+ }
+ if (GetEyebrowColor() > CommonColor::Max) {
+ return ValidationResult::InvalidEyebrowColor;
+ }
+ if (GetEyebrowScale() > MaxEyebrowScale) {
+ return ValidationResult::InvalidEyebrowScale;
+ }
+ if (GetEyebrowAspect() > MaxEyebrowAspect) {
+ return ValidationResult::InvalidEyebrowAspect;
+ }
+ if (GetEyebrowRotate() > MaxEyebrowRotate) {
+ return ValidationResult::InvalidEyebrowRotate;
+ }
+ if (GetEyebrowX() > MaxEyebrowX) {
+ return ValidationResult::InvalidEyebrowX;
+ }
+ if (GetEyebrowY() > MaxEyebrowY) {
+ return ValidationResult::InvalidEyebrowY;
+ }
+ if (GetNoseType() > NoseType::Max) {
+ return ValidationResult::InvalidNoseType;
+ }
+ if (GetNoseScale() > MaxNoseScale) {
+ return ValidationResult::InvalidNoseScale;
+ }
+ if (GetNoseY() > MaxNoseY) {
+ return ValidationResult::InvalidNoseY;
+ }
+ if (GetMouthType() > MouthType::Max) {
+ return ValidationResult::InvalidMouthType;
+ }
+ if (GetMouthColor() > CommonColor::Max) {
+ return ValidationResult::InvalidMouthColor;
+ }
+ if (GetMouthScale() > MaxMouthScale) {
+ return ValidationResult::InvalidMouthScale;
+ }
+ if (GetMouthAspect() > MaxMoutAspect) {
+ return ValidationResult::InvalidMouthAspect;
+ }
+ if (GetMouthY() > MaxMouthY) {
+ return ValidationResult::InvalidMouthY;
+ }
+ if (GetBeardColor() > CommonColor::Max) {
+ return ValidationResult::InvalidBeardColor;
+ }
+ if (GetBeardType() > BeardType::Max) {
+ return ValidationResult::InvalidBeardType;
+ }
+ if (GetMustacheType() > MustacheType::Max) {
+ return ValidationResult::InvalidMustacheType;
+ }
+ if (GetMustacheScale() > MaxMustacheScale) {
+ return ValidationResult::InvalidMustacheScale;
+ }
+ if (GetMustacheY() > MaxMustacheY) {
+ return ValidationResult::InvalidMustacheY;
+ }
+ if (GetGlassType() > GlassType::Max) {
+ return ValidationResult::InvalidGlassType;
+ }
+ if (GetGlassColor() > CommonColor::Max) {
+ return ValidationResult::InvalidGlassColor;
+ }
+ if (GetGlassScale() > MaxGlassScale) {
+ return ValidationResult::InvalidGlassScale;
+ }
+ if (GetGlassY() > MaxGlassY) {
+ return ValidationResult::InvalidGlassY;
+ }
+ if (GetMoleType() > MoleType::Max) {
+ return ValidationResult::InvalidMoleType;
+ }
+ if (GetMoleScale() > MaxMoleScale) {
+ return ValidationResult::InvalidMoleScale;
+ }
+ if (GetMoleX() > MaxMoleX) {
+ return ValidationResult::InvalidMoleX;
+ }
+ if (GetMoleY() > MaxMoleY) {
+ return ValidationResult::InvalidMoleY;
+ }
+ return ValidationResult::NoErrors;
+}
+
+void CoreData::SetFontRegion(FontRegion value) {
+ data.font_region.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetFavoriteColor(FavoriteColor value) {
+ data.favorite_color.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetGender(Gender value) {
+ data.gender.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetHeight(u8 value) {
+ data.height.Assign(value);
+}
+
+void CoreData::SetBuild(u8 value) {
+ data.build.Assign(value);
+}
+
+void CoreData::SetType(u8 value) {
+ data.type.Assign(value);
+}
+
+void CoreData::SetRegionMove(u8 value) {
+ data.region_move.Assign(value);
+}
+
+void CoreData::SetFacelineType(FacelineType value) {
+ data.faceline_type.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetFacelineColor(FacelineColor value) {
+ data.faceline_color.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetFacelineWrinkle(FacelineWrinkle value) {
+ data.faceline_wrinkle.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetFacelineMake(FacelineMake value) {
+ data.faceline_makeup.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetHairType(HairType value) {
+ data.hair_type.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetHairColor(CommonColor value) {
+ data.hair_color.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetHairFlip(HairFlip value) {
+ data.hair_flip.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetEyeType(EyeType value) {
+ data.eye_type.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetEyeColor(CommonColor value) {
+ data.eye_color.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetEyeScale(u8 value) {
+ data.eye_scale.Assign(value);
+}
+
+void CoreData::SetEyeAspect(u8 value) {
+ data.eye_aspect.Assign(value);
+}
+
+void CoreData::SetEyeRotate(u8 value) {
+ data.eye_rotate.Assign(value);
+}
+
+void CoreData::SetEyeX(u8 value) {
+ data.eye_x.Assign(value);
+}
+
+void CoreData::SetEyeY(u8 value) {
+ data.eye_y.Assign(value);
+}
+
+void CoreData::SetEyebrowType(EyebrowType value) {
+ data.eyebrow_type.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetEyebrowColor(CommonColor value) {
+ data.eyebrow_color.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetEyebrowScale(u8 value) {
+ data.eyebrow_scale.Assign(value);
+}
+
+void CoreData::SetEyebrowAspect(u8 value) {
+ data.eyebrow_aspect.Assign(value);
+}
+
+void CoreData::SetEyebrowRotate(u8 value) {
+ data.eyebrow_rotate.Assign(value);
+}
+
+void CoreData::SetEyebrowX(u8 value) {
+ data.eyebrow_x.Assign(value);
+}
+
+void CoreData::SetEyebrowY(u8 value) {
+ data.eyebrow_y.Assign(value);
+}
+
+void CoreData::SetNoseType(NoseType value) {
+ data.nose_type.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetNoseScale(u8 value) {
+ data.nose_scale.Assign(value);
+}
+
+void CoreData::SetNoseY(u8 value) {
+ data.nose_y.Assign(value);
+}
+
+void CoreData::SetMouthType(MouthType value) {
+ data.mouth_type.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetMouthColor(CommonColor value) {
+ data.mouth_color.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetMouthScale(u8 value) {
+ data.mouth_scale.Assign(value);
+}
+
+void CoreData::SetMouthAspect(u8 value) {
+ data.mouth_aspect.Assign(value);
+}
+
+void CoreData::SetMouthY(u8 value) {
+ data.mouth_y.Assign(value);
+}
+
+void CoreData::SetBeardColor(CommonColor value) {
+ data.beard_color.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetBeardType(BeardType value) {
+ data.beard_type.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetMustacheType(MustacheType value) {
+ data.mustache_type.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetMustacheScale(u8 value) {
+ data.mustache_scale.Assign(value);
+}
+
+void CoreData::SetMustacheY(u8 value) {
+ data.mustache_y.Assign(value);
+}
+
+void CoreData::SetGlassType(GlassType value) {
+ data.glasses_type.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetGlassColor(CommonColor value) {
+ data.glasses_color.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetGlassScale(u8 value) {
+ data.glasses_scale.Assign(value);
+}
+
+void CoreData::SetGlassY(u8 value) {
+ data.glasses_y.Assign(value);
+}
+
+void CoreData::SetMoleType(MoleType value) {
+ data.mole_type.Assign(static_cast<u32>(value));
+}
+
+void CoreData::SetMoleScale(u8 value) {
+ data.mole_scale.Assign(value);
+}
+
+void CoreData::SetMoleX(u8 value) {
+ data.mole_x.Assign(value);
+}
+
+void CoreData::SetMoleY(u8 value) {
+ data.mole_y.Assign(value);
+}
+
+void CoreData::SetNickname(Nickname nickname) {
+ name = nickname;
+}
+
+FontRegion CoreData::GetFontRegion() const {
+ return static_cast<FontRegion>(data.font_region.Value());
+}
+
+FavoriteColor CoreData::GetFavoriteColor() const {
+ return static_cast<FavoriteColor>(data.favorite_color.Value());
+}
+
+Gender CoreData::GetGender() const {
+ return static_cast<Gender>(data.gender.Value());
+}
+
+u8 CoreData::GetHeight() const {
+ return static_cast<u8>(data.height.Value());
+}
+
+u8 CoreData::GetBuild() const {
+ return static_cast<u8>(data.build.Value());
+}
+
+u8 CoreData::GetType() const {
+ return static_cast<u8>(data.type.Value());
+}
+
+u8 CoreData::GetRegionMove() const {
+ return static_cast<u8>(data.region_move.Value());
+}
+
+FacelineType CoreData::GetFacelineType() const {
+ return static_cast<FacelineType>(data.faceline_type.Value());
+}
+
+FacelineColor CoreData::GetFacelineColor() const {
+ return static_cast<FacelineColor>(data.faceline_color.Value());
+}
+
+FacelineWrinkle CoreData::GetFacelineWrinkle() const {
+ return static_cast<FacelineWrinkle>(data.faceline_wrinkle.Value());
+}
+
+FacelineMake CoreData::GetFacelineMake() const {
+ return static_cast<FacelineMake>(data.faceline_makeup.Value());
+}
+
+HairType CoreData::GetHairType() const {
+ return static_cast<HairType>(data.hair_type.Value());
+}
+
+CommonColor CoreData::GetHairColor() const {
+ return static_cast<CommonColor>(data.hair_color.Value());
+}
+
+HairFlip CoreData::GetHairFlip() const {
+ return static_cast<HairFlip>(data.hair_flip.Value());
+}
+
+EyeType CoreData::GetEyeType() const {
+ return static_cast<EyeType>(data.eye_type.Value());
+}
+
+CommonColor CoreData::GetEyeColor() const {
+ return static_cast<CommonColor>(data.eye_color.Value());
+}
+
+u8 CoreData::GetEyeScale() const {
+ return static_cast<u8>(data.eye_scale.Value());
+}
+
+u8 CoreData::GetEyeAspect() const {
+ return static_cast<u8>(data.eye_aspect.Value());
+}
+
+u8 CoreData::GetEyeRotate() const {
+ return static_cast<u8>(data.eye_rotate.Value());
+}
+
+u8 CoreData::GetEyeX() const {
+ return static_cast<u8>(data.eye_x.Value());
+}
+
+u8 CoreData::GetEyeY() const {
+ return static_cast<u8>(data.eye_y.Value());
+}
+
+EyebrowType CoreData::GetEyebrowType() const {
+ return static_cast<EyebrowType>(data.eyebrow_type.Value());
+}
+
+CommonColor CoreData::GetEyebrowColor() const {
+ return static_cast<CommonColor>(data.eyebrow_color.Value());
+}
+
+u8 CoreData::GetEyebrowScale() const {
+ return static_cast<u8>(data.eyebrow_scale.Value());
+}
+
+u8 CoreData::GetEyebrowAspect() const {
+ return static_cast<u8>(data.eyebrow_aspect.Value());
+}
+
+u8 CoreData::GetEyebrowRotate() const {
+ return static_cast<u8>(data.eyebrow_rotate.Value());
+}
+
+u8 CoreData::GetEyebrowX() const {
+ return static_cast<u8>(data.eyebrow_x.Value());
+}
+
+u8 CoreData::GetEyebrowY() const {
+ return static_cast<u8>(data.eyebrow_y.Value());
+}
+
+NoseType CoreData::GetNoseType() const {
+ return static_cast<NoseType>(data.nose_type.Value());
+}
+
+u8 CoreData::GetNoseScale() const {
+ return static_cast<u8>(data.nose_scale.Value());
+}
+
+u8 CoreData::GetNoseY() const {
+ return static_cast<u8>(data.nose_y.Value());
+}
+
+MouthType CoreData::GetMouthType() const {
+ return static_cast<MouthType>(data.mouth_type.Value());
+}
+
+CommonColor CoreData::GetMouthColor() const {
+ return static_cast<CommonColor>(data.mouth_color.Value());
+}
+
+u8 CoreData::GetMouthScale() const {
+ return static_cast<u8>(data.mouth_scale.Value());
+}
+
+u8 CoreData::GetMouthAspect() const {
+ return static_cast<u8>(data.mouth_aspect.Value());
+}
+
+u8 CoreData::GetMouthY() const {
+ return static_cast<u8>(data.mouth_y.Value());
+}
+
+CommonColor CoreData::GetBeardColor() const {
+ return static_cast<CommonColor>(data.beard_color.Value());
+}
+
+BeardType CoreData::GetBeardType() const {
+ return static_cast<BeardType>(data.beard_type.Value());
+}
+
+MustacheType CoreData::GetMustacheType() const {
+ return static_cast<MustacheType>(data.mustache_type.Value());
+}
+
+u8 CoreData::GetMustacheScale() const {
+ return static_cast<u8>(data.mustache_scale.Value());
+}
+
+u8 CoreData::GetMustacheY() const {
+ return static_cast<u8>(data.mustache_y.Value());
+}
+
+GlassType CoreData::GetGlassType() const {
+ return static_cast<GlassType>(data.glasses_type.Value());
+}
+
+CommonColor CoreData::GetGlassColor() const {
+ return static_cast<CommonColor>(data.glasses_color.Value());
+}
+
+u8 CoreData::GetGlassScale() const {
+ return static_cast<u8>(data.glasses_scale.Value());
+}
+
+u8 CoreData::GetGlassY() const {
+ return static_cast<u8>(data.glasses_y.Value());
+}
+
+MoleType CoreData::GetMoleType() const {
+ return static_cast<MoleType>(data.mole_type.Value());
+}
+
+u8 CoreData::GetMoleScale() const {
+ return static_cast<u8>(data.mole_scale.Value());
+}
+
+u8 CoreData::GetMoleX() const {
+ return static_cast<u8>(data.mole_x.Value());
+}
+
+u8 CoreData::GetMoleY() const {
+ return static_cast<u8>(data.mole_y.Value());
+}
+
+Nickname CoreData::GetNickname() const {
+ return name;
+}
+
+Nickname CoreData::GetDefaultNickname() const {
+ return {u'n', u'o', u' ', u'n', u'a', u'm', u'e'};
+}
+
+Nickname CoreData::GetInvalidNickname() const {
+ return {u'?', u'?', u'?'};
+}
+
+} // namespace Service::Mii
diff --git a/src/core/hle/service/mii/types/core_data.h b/src/core/hle/service/mii/types/core_data.h
new file mode 100644
index 000000000..8897e4f3b
--- /dev/null
+++ b/src/core/hle/service/mii/types/core_data.h
@@ -0,0 +1,219 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/hle/service/mii/mii_types.h"
+
+namespace Service::Mii {
+class CharInfo;
+
+struct StoreDataBitFields {
+ union {
+ u32 word_0{};
+
+ BitField<0, 8, u32> hair_type;
+ BitField<8, 7, u32> height;
+ BitField<15, 1, u32> mole_type;
+ BitField<16, 7, u32> build;
+ BitField<23, 1, u32> hair_flip;
+ BitField<24, 7, u32> hair_color;
+ BitField<31, 1, u32> type;
+ };
+
+ union {
+ u32 word_1{};
+
+ BitField<0, 7, u32> eye_color;
+ BitField<7, 1, u32> gender;
+ BitField<8, 7, u32> eyebrow_color;
+ BitField<16, 7, u32> mouth_color;
+ BitField<24, 7, u32> beard_color;
+ };
+
+ union {
+ u32 word_2{};
+
+ BitField<0, 7, u32> glasses_color;
+ BitField<8, 6, u32> eye_type;
+ BitField<14, 2, u32> region_move;
+ BitField<16, 6, u32> mouth_type;
+ BitField<22, 2, u32> font_region;
+ BitField<24, 5, u32> eye_y;
+ BitField<29, 3, u32> glasses_scale;
+ };
+
+ union {
+ u32 word_3{};
+
+ BitField<0, 5, u32> eyebrow_type;
+ BitField<5, 3, u32> mustache_type;
+ BitField<8, 5, u32> nose_type;
+ BitField<13, 3, u32> beard_type;
+ BitField<16, 5, u32> nose_y;
+ BitField<21, 3, u32> mouth_aspect;
+ BitField<24, 5, u32> mouth_y;
+ BitField<29, 3, u32> eyebrow_aspect;
+ };
+
+ union {
+ u32 word_4{};
+
+ BitField<0, 5, u32> mustache_y;
+ BitField<5, 3, u32> eye_rotate;
+ BitField<8, 5, u32> glasses_y;
+ BitField<13, 3, u32> eye_aspect;
+ BitField<16, 5, u32> mole_x;
+ BitField<21, 3, u32> eye_scale;
+ BitField<24, 5, u32> mole_y;
+ };
+
+ union {
+ u32 word_5{};
+
+ BitField<0, 5, u32> glasses_type;
+ BitField<8, 4, u32> favorite_color;
+ BitField<12, 4, u32> faceline_type;
+ BitField<16, 4, u32> faceline_color;
+ BitField<20, 4, u32> faceline_wrinkle;
+ BitField<24, 4, u32> faceline_makeup;
+ BitField<28, 4, u32> eye_x;
+ };
+
+ union {
+ u32 word_6{};
+
+ BitField<0, 4, u32> eyebrow_scale;
+ BitField<4, 4, u32> eyebrow_rotate;
+ BitField<8, 4, u32> eyebrow_x;
+ BitField<12, 4, u32> eyebrow_y;
+ BitField<16, 4, u32> nose_scale;
+ BitField<20, 4, u32> mouth_scale;
+ BitField<24, 4, u32> mustache_scale;
+ BitField<28, 4, u32> mole_scale;
+ };
+};
+static_assert(sizeof(StoreDataBitFields) == 0x1c, "StoreDataBitFields has incorrect size.");
+static_assert(std::is_trivially_copyable_v<StoreDataBitFields>,
+ "StoreDataBitFields is not trivially copyable.");
+
+class CoreData {
+public:
+ void SetDefault();
+ void BuildRandom(Age age, Gender gender, Race race);
+ void BuildFromCharInfo(const CharInfo& char_info);
+
+ ValidationResult IsValid() const;
+
+ void SetFontRegion(FontRegion value);
+ void SetFavoriteColor(FavoriteColor value);
+ void SetGender(Gender value);
+ void SetHeight(u8 value);
+ void SetBuild(u8 value);
+ void SetType(u8 value);
+ void SetRegionMove(u8 value);
+ void SetFacelineType(FacelineType value);
+ void SetFacelineColor(FacelineColor value);
+ void SetFacelineWrinkle(FacelineWrinkle value);
+ void SetFacelineMake(FacelineMake value);
+ void SetHairType(HairType value);
+ void SetHairColor(CommonColor value);
+ void SetHairFlip(HairFlip value);
+ void SetEyeType(EyeType value);
+ void SetEyeColor(CommonColor value);
+ void SetEyeScale(u8 value);
+ void SetEyeAspect(u8 value);
+ void SetEyeRotate(u8 value);
+ void SetEyeX(u8 value);
+ void SetEyeY(u8 value);
+ void SetEyebrowType(EyebrowType value);
+ void SetEyebrowColor(CommonColor value);
+ void SetEyebrowScale(u8 value);
+ void SetEyebrowAspect(u8 value);
+ void SetEyebrowRotate(u8 value);
+ void SetEyebrowX(u8 value);
+ void SetEyebrowY(u8 value);
+ void SetNoseType(NoseType value);
+ void SetNoseScale(u8 value);
+ void SetNoseY(u8 value);
+ void SetMouthType(MouthType value);
+ void SetMouthColor(CommonColor value);
+ void SetMouthScale(u8 value);
+ void SetMouthAspect(u8 value);
+ void SetMouthY(u8 value);
+ void SetBeardColor(CommonColor value);
+ void SetBeardType(BeardType value);
+ void SetMustacheType(MustacheType value);
+ void SetMustacheScale(u8 value);
+ void SetMustacheY(u8 value);
+ void SetGlassType(GlassType value);
+ void SetGlassColor(CommonColor value);
+ void SetGlassScale(u8 value);
+ void SetGlassY(u8 value);
+ void SetMoleType(MoleType value);
+ void SetMoleScale(u8 value);
+ void SetMoleX(u8 value);
+ void SetMoleY(u8 value);
+ void SetNickname(Nickname nickname);
+
+ FontRegion GetFontRegion() const;
+ FavoriteColor GetFavoriteColor() const;
+ Gender GetGender() const;
+ u8 GetHeight() const;
+ u8 GetBuild() const;
+ u8 GetType() const;
+ u8 GetRegionMove() const;
+ FacelineType GetFacelineType() const;
+ FacelineColor GetFacelineColor() const;
+ FacelineWrinkle GetFacelineWrinkle() const;
+ FacelineMake GetFacelineMake() const;
+ HairType GetHairType() const;
+ CommonColor GetHairColor() const;
+ HairFlip GetHairFlip() const;
+ EyeType GetEyeType() const;
+ CommonColor GetEyeColor() const;
+ u8 GetEyeScale() const;
+ u8 GetEyeAspect() const;
+ u8 GetEyeRotate() const;
+ u8 GetEyeX() const;
+ u8 GetEyeY() const;
+ EyebrowType GetEyebrowType() const;
+ CommonColor GetEyebrowColor() const;
+ u8 GetEyebrowScale() const;
+ u8 GetEyebrowAspect() const;
+ u8 GetEyebrowRotate() const;
+ u8 GetEyebrowX() const;
+ u8 GetEyebrowY() const;
+ NoseType GetNoseType() const;
+ u8 GetNoseScale() const;
+ u8 GetNoseY() const;
+ MouthType GetMouthType() const;
+ CommonColor GetMouthColor() const;
+ u8 GetMouthScale() const;
+ u8 GetMouthAspect() const;
+ u8 GetMouthY() const;
+ CommonColor GetBeardColor() const;
+ BeardType GetBeardType() const;
+ MustacheType GetMustacheType() const;
+ u8 GetMustacheScale() const;
+ u8 GetMustacheY() const;
+ GlassType GetGlassType() const;
+ CommonColor GetGlassColor() const;
+ u8 GetGlassScale() const;
+ u8 GetGlassY() const;
+ MoleType GetMoleType() const;
+ u8 GetMoleScale() const;
+ u8 GetMoleX() const;
+ u8 GetMoleY() const;
+ Nickname GetNickname() const;
+ Nickname GetDefaultNickname() const;
+ Nickname GetInvalidNickname() const;
+
+private:
+ StoreDataBitFields data{};
+ Nickname name{};
+};
+static_assert(sizeof(CoreData) == 0x30, "CoreData has incorrect size.");
+static_assert(std::is_trivially_copyable_v<CoreData>, "CoreData type must be trivially copyable.");
+
+}; // namespace Service::Mii
diff --git a/src/core/hle/service/mii/raw_data.cpp b/src/core/hle/service/mii/types/raw_data.cpp
index 1442280c8..0e1a07fd7 100644
--- a/src/core/hle/service/mii/raw_data.cpp
+++ b/src/core/hle/service/mii/types/raw_data.cpp
@@ -1,11 +1,88 @@
// SPDX-FileCopyrightText: Ryujinx Team and Contributors
// SPDX-License-Identifier: MIT
-#include "core/hle/service/mii/raw_data.h"
+#include "core/hle/service/mii/types/raw_data.h"
namespace Service::Mii::RawData {
-const std::array<Service::Mii::DefaultMii, 8> DefaultMii{
+constexpr std::array<u8, static_cast<u8>(FacelineColor::Count)> FromVer3FacelineColorTable{
+ 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x0, 0x1, 0x5, 0x5,
+};
+
+constexpr std::array<u8, static_cast<u8>(CommonColor::Count)> FromVer3HairColorTable{
+ 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x0, 0x4, 0x3, 0x5, 0x4, 0x4, 0x6, 0x2, 0x0,
+ 0x6, 0x4, 0x3, 0x2, 0x2, 0x7, 0x3, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2,
+ 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x0, 0x0, 0x4,
+ 0x4, 0x4, 0x4, 0x4, 0x4, 0x0, 0x0, 0x0, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x5, 0x5, 0x5,
+ 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x5, 0x7, 0x5, 0x7, 0x7, 0x7, 0x7, 0x7, 0x6, 0x7,
+ 0x7, 0x7, 0x7, 0x7, 0x3, 0x7, 0x7, 0x7, 0x7, 0x7, 0x0, 0x4, 0x4, 0x4, 0x4,
+};
+
+constexpr std::array<u8, static_cast<u8>(CommonColor::Count)> FromVer3EyeColorTable{
+ 0x0, 0x2, 0x2, 0x2, 0x1, 0x3, 0x2, 0x3, 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x2, 0x2, 0x4,
+ 0x2, 0x1, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2,
+ 0x2, 0x2, 0x2, 0x2, 0x0, 0x0, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x1, 0x0, 0x4, 0x4,
+ 0x4, 0x4, 0x4, 0x4, 0x4, 0x0, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5,
+ 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x2, 0x2,
+ 0x3, 0x3, 0x3, 0x3, 0x2, 0x2, 0x2, 0x2, 0x2, 0x1, 0x1, 0x1, 0x1, 0x1, 0x1,
+};
+
+constexpr std::array<u8, static_cast<u8>(CommonColor::Count)> FromVer3MouthlineColorTable{
+ 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x3, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x1, 0x4,
+ 0x4, 0x4, 0x0, 0x1, 0x2, 0x3, 0x4, 0x4, 0x2, 0x3, 0x3, 0x4, 0x4, 0x4, 0x4, 0x1, 0x4,
+ 0x4, 0x2, 0x3, 0x3, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x3, 0x3, 0x3, 0x4, 0x4, 0x4,
+ 0x3, 0x3, 0x3, 0x3, 0x3, 0x4, 0x4, 0x4, 0x4, 0x4, 0x3, 0x3, 0x3, 0x3, 0x4, 0x4, 0x4,
+ 0x4, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x4, 0x4, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x4, 0x3,
+ 0x3, 0x3, 0x3, 0x3, 0x4, 0x0, 0x3, 0x3, 0x3, 0x3, 0x4, 0x3, 0x3, 0x3, 0x3,
+};
+
+constexpr std::array<u8, static_cast<u8>(CommonColor::Count)> FromVer3GlassColorTable{
+ 0x0, 0x1, 0x1, 0x1, 0x5, 0x1, 0x1, 0x4, 0x0, 0x5, 0x1, 0x1, 0x3, 0x5, 0x1, 0x2, 0x3,
+ 0x4, 0x5, 0x4, 0x2, 0x2, 0x4, 0x4, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2, 0x2,
+ 0x2, 0x2, 0x2, 0x2, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3,
+ 0x3, 0x3, 0x3, 0x3, 0x3, 0x0, 0x0, 0x0, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x0, 0x5, 0x5,
+ 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5, 0x1, 0x4,
+ 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x4, 0x5, 0x5, 0x5, 0x5, 0x5, 0x5,
+};
+
+constexpr std::array<u8, static_cast<u8>(GlassType::Count)> FromVer3GlassTypeTable{
+ 0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, 0x1,
+ 0x2, 0x1, 0x3, 0x7, 0x7, 0x6, 0x7, 0x8, 0x7, 0x7,
+};
+
+constexpr std::array<u8, 8> Ver3FacelineColorTable{
+ 0x0, 0x1, 0x2, 0x3, 0x4, 0x5,
+};
+
+constexpr std::array<u8, 8> Ver3HairColorTable{
+ 0x8, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7,
+};
+
+constexpr std::array<u8, 6> Ver3EyeColorTable{
+ 0x8, 0x9, 0xa, 0xb, 0xc, 0xd,
+};
+
+constexpr std::array<u8, 5> Ver3MouthColorTable{
+ 0x13, 0x14, 0x15, 0x16, 0x17,
+};
+
+constexpr std::array<u8, 7> Ver3GlassColorTable{
+ 0x8, 0xe, 0xf, 0x10, 0x11, 0x12, 0x0,
+};
+
+const std::array<u8, 62> EyeRotateLookup{
+ 0x03, 0x04, 0x04, 0x04, 0x03, 0x04, 0x04, 0x04, 0x03, 0x04, 0x04, 0x04, 0x04, 0x03, 0x03, 0x04,
+ 0x04, 0x04, 0x03, 0x03, 0x04, 0x03, 0x04, 0x03, 0x03, 0x04, 0x03, 0x04, 0x04, 0x03, 0x04, 0x04,
+ 0x04, 0x03, 0x03, 0x03, 0x04, 0x04, 0x03, 0x03, 0x03, 0x04, 0x04, 0x03, 0x03, 0x03, 0x03, 0x03,
+ 0x03, 0x03, 0x03, 0x03, 0x04, 0x04, 0x04, 0x04, 0x03, 0x04, 0x04, 0x03, 0x04, 0x04,
+};
+
+const std::array<u8, 24> EyebrowRotateLookup{
+ 0x06, 0x06, 0x05, 0x07, 0x06, 0x07, 0x06, 0x07, 0x04, 0x07, 0x06, 0x08,
+ 0x05, 0x05, 0x06, 0x06, 0x07, 0x07, 0x06, 0x06, 0x05, 0x06, 0x07, 0x05,
+};
+
+const std::array<Service::Mii::DefaultMii, 2> BaseMii{
Service::Mii::DefaultMii{
.face_type = 0,
.face_color = 0,
@@ -51,11 +128,12 @@ const std::array<Service::Mii::DefaultMii, 8> DefaultMii{
.mole_y = 20,
.height = 64,
.weight = 64,
- .gender = Gender::Male,
+ .gender = 0,
.favorite_color = 0,
- .region = 0,
- .font_region = FontRegion::Standard,
+ .region_move = 0,
+ .font_region = 0,
.type = 0,
+ .nickname = {u'n', u'o', u' ', u'n', u'a', u'm', u'e'},
},
Service::Mii::DefaultMii{
.face_type = 0,
@@ -102,12 +180,16 @@ const std::array<Service::Mii::DefaultMii, 8> DefaultMii{
.mole_y = 20,
.height = 64,
.weight = 64,
- .gender = Gender::Female,
+ .gender = 1,
.favorite_color = 0,
- .region = 0,
- .font_region = FontRegion::Standard,
+ .region_move = 0,
+ .font_region = 0,
.type = 0,
+ .nickname = {u'n', u'o', u' ', u'n', u'a', u'm', u'e'},
},
+};
+
+const std::array<Service::Mii::DefaultMii, 6> DefaultMii{
Service::Mii::DefaultMii{
.face_type = 0,
.face_color = 4,
@@ -153,11 +235,12 @@ const std::array<Service::Mii::DefaultMii, 8> DefaultMii{
.mole_y = 20,
.height = 64,
.weight = 64,
- .gender = Gender::Male,
+ .gender = 0,
.favorite_color = 4,
- .region = 0,
- .font_region = FontRegion::Standard,
+ .region_move = 0,
+ .font_region = 0,
.type = 0,
+ .nickname = {u'n', u'o', u' ', u'n', u'a', u'm', u'e'},
},
Service::Mii::DefaultMii{
.face_type = 0,
@@ -204,11 +287,12 @@ const std::array<Service::Mii::DefaultMii, 8> DefaultMii{
.mole_y = 20,
.height = 64,
.weight = 64,
- .gender = Gender::Male,
+ .gender = 0,
.favorite_color = 5,
- .region = 0,
- .font_region = FontRegion::Standard,
+ .region_move = 0,
+ .font_region = 0,
.type = 0,
+ .nickname = {u'n', u'o', u' ', u'n', u'a', u'm', u'e'},
},
Service::Mii::DefaultMii{
.face_type = 0,
@@ -255,11 +339,12 @@ const std::array<Service::Mii::DefaultMii, 8> DefaultMii{
.mole_y = 20,
.height = 64,
.weight = 64,
- .gender = Gender::Male,
+ .gender = 0,
.favorite_color = 0,
- .region = 0,
- .font_region = FontRegion::Standard,
+ .region_move = 0,
+ .font_region = 0,
.type = 0,
+ .nickname = {u'n', u'o', u' ', u'n', u'a', u'm', u'e'},
},
Service::Mii::DefaultMii{
.face_type = 0,
@@ -306,11 +391,12 @@ const std::array<Service::Mii::DefaultMii, 8> DefaultMii{
.mole_y = 20,
.height = 64,
.weight = 64,
- .gender = Gender::Female,
+ .gender = 1,
.favorite_color = 2,
- .region = 0,
- .font_region = FontRegion::Standard,
+ .region_move = 0,
+ .font_region = 0,
.type = 0,
+ .nickname = {u'n', u'o', u' ', u'n', u'a', u'm', u'e'},
},
Service::Mii::DefaultMii{
.face_type = 0,
@@ -357,11 +443,12 @@ const std::array<Service::Mii::DefaultMii, 8> DefaultMii{
.mole_y = 20,
.height = 64,
.weight = 64,
- .gender = Gender::Female,
+ .gender = 1,
.favorite_color = 6,
- .region = 0,
- .font_region = FontRegion::Standard,
+ .region_move = 0,
+ .font_region = 0,
.type = 0,
+ .nickname = {u'n', u'o', u' ', u'n', u'a', u'm', u'e'},
},
Service::Mii::DefaultMii{
.face_type = 0,
@@ -408,176 +495,177 @@ const std::array<Service::Mii::DefaultMii, 8> DefaultMii{
.mole_y = 20,
.height = 64,
.weight = 64,
- .gender = Gender::Female,
+ .gender = 1,
.favorite_color = 7,
- .region = 0,
- .font_region = FontRegion::Standard,
+ .region_move = 0,
+ .font_region = 0,
.type = 0,
+ .nickname = {u'n', u'o', u' ', u'n', u'a', u'm', u'e'},
},
};
-const std::array<Service::Mii::RandomMiiData4, 18> RandomMiiFaceline{
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::Black,
+const std::array<RandomMiiData4, 18> RandomMiiFaceline{
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Black),
.values_count = 10,
.values = {0, 0, 1, 1, 2, 3, 4, 5, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Black),
.values_count = 10,
.values = {0, 0, 1, 1, 2, 3, 4, 5, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Black),
.values_count = 10,
.values = {0, 0, 1, 1, 2, 3, 4, 5, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::White),
.values_count = 12,
.values = {0, 0, 1, 2, 2, 3, 4, 5, 6, 7, 10, 11},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::White),
.values_count = 13,
.values = {0, 1, 2, 2, 3, 4, 5, 6, 6, 7, 7, 10, 11},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::White),
.values_count = 12,
.values = {0, 0, 1, 2, 2, 3, 4, 5, 6, 7, 10, 11},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 12,
.values = {0, 0, 1, 2, 2, 3, 4, 5, 6, 7, 10, 11},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 13,
.values = {0, 1, 2, 2, 3, 4, 5, 6, 6, 7, 7, 10, 11},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 12,
.values = {0, 0, 1, 2, 2, 3, 4, 5, 6, 7, 10, 11},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Black),
.values_count = 10,
.values = {0, 0, 1, 1, 2, 3, 4, 5, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Black),
.values_count = 10,
.values = {0, 0, 1, 1, 2, 3, 4, 5, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Black),
.values_count = 10,
.values = {0, 0, 1, 1, 2, 3, 4, 5, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::White),
.values_count = 12,
.values = {0, 0, 0, 1, 1, 1, 2, 3, 4, 5, 8, 10},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::White),
.values_count = 12,
.values = {0, 0, 0, 1, 1, 1, 2, 3, 4, 5, 8, 10},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::White),
.values_count = 12,
.values = {0, 0, 0, 1, 1, 1, 2, 3, 4, 5, 8, 10},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 12,
.values = {0, 0, 0, 1, 1, 1, 2, 3, 4, 5, 8, 10},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 12,
.values = {0, 0, 0, 1, 1, 1, 2, 3, 4, 5, 8, 10},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 12,
.values = {0, 0, 0, 1, 1, 1, 2, 3, 4, 5, 8, 10},
},
};
-const std::array<Service::Mii::RandomMiiData3, 6> RandomMiiFacelineColor{
- Service::Mii::RandomMiiData3{
+const std::array<RandomMiiData3, 6> RandomMiiFacelineColor{
+ RandomMiiData3{
.arg_1 = 0,
.arg_2 = 0,
.values_count = 10,
.values = {2, 2, 4, 4, 4, 4, 5, 5, 5, 5},
},
- Service::Mii::RandomMiiData3{
+ RandomMiiData3{
.arg_1 = 0,
.arg_2 = 1,
.values_count = 10,
.values = {0, 0, 0, 0, 1, 1, 2, 3, 3, 3},
},
- Service::Mii::RandomMiiData3{
+ RandomMiiData3{
.arg_1 = 0,
.arg_2 = 2,
.values_count = 10,
.values = {0, 0, 1, 1, 1, 1, 1, 1, 1, 2},
},
- Service::Mii::RandomMiiData3{
+ RandomMiiData3{
.arg_1 = 1,
.arg_2 = 0,
.values_count = 10,
.values = {2, 2, 4, 4, 4, 4, 5, 5, 5, 5},
},
- Service::Mii::RandomMiiData3{
+ RandomMiiData3{
.arg_1 = 1,
.arg_2 = 1,
.values_count = 10,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 1, 3},
},
- Service::Mii::RandomMiiData3{
+ RandomMiiData3{
.arg_1 = 1,
.arg_2 = 2,
.values_count = 10,
@@ -585,407 +673,407 @@ const std::array<Service::Mii::RandomMiiData3, 6> RandomMiiFacelineColor{
},
};
-const std::array<Service::Mii::RandomMiiData4, 18> RandomMiiFacelineWrinkle{
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::Black,
+const std::array<RandomMiiData4, 18> RandomMiiFacelineWrinkle{
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Black),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Black),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Black),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 8},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::White),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 3, 4, 5, 6, 7, 8, 8, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::White),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 3, 4, 5, 6, 7, 8, 8, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::White),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 20,
.values = {9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 20,
.values = {9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 20,
.values = {9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Black),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Black),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Black),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::White),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 4, 4, 8, 8},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::White),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 4, 4, 8, 8},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::White),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 4, 4},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 20,
.values = {9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 20,
.values = {9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 20,
.values = {9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11},
},
};
-const std::array<Service::Mii::RandomMiiData4, 18> RandomMiiFacelineMakeup{
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::Black,
+const std::array<RandomMiiData4, 18> RandomMiiFacelineMakeup{
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Black),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Black),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Black),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::White),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::White),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::White),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Black),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 2},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Black),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Black),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::White),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 2, 3, 3, 4, 5, 5, 6, 7, 8, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::White),
.values_count = 20,
.values = {0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::White),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 6, 7, 8, 9, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9},
},
};
-const std::array<Service::Mii::RandomMiiData4, 18> RandomMiiHairType{
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::Black,
+const std::array<RandomMiiData4, 18> RandomMiiHairType{
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Black),
.values_count = 30,
.values = {13, 23, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 43, 44, 45,
47, 48, 49, 50, 51, 52, 54, 56, 57, 64, 66, 75, 76, 86, 89},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Black),
.values_count = 31,
.values = {13, 23, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 43, 44, 45, 47,
48, 49, 50, 51, 52, 54, 56, 57, 64, 66, 73, 75, 81, 86, 87},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Black),
.values_count = 31,
.values = {13, 23, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 43, 44, 45, 47,
48, 49, 50, 51, 52, 54, 56, 57, 64, 66, 73, 75, 81, 86, 87},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::White),
.values_count = 38,
.values = {13, 23, 30, 31, 32, 33, 34, 36, 37, 38, 40, 42, 43, 44, 45, 47, 48, 49, 50,
51, 52, 53, 54, 55, 56, 58, 59, 60, 64, 65, 66, 67, 68, 70, 75, 76, 86, 89},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::White),
.values_count = 39,
.values = {13, 23, 30, 31, 32, 33, 34, 36, 37, 38, 39, 40, 43, 44, 45, 47, 48, 49, 50, 51,
52, 53, 54, 55, 56, 58, 59, 60, 64, 65, 66, 67, 68, 70, 73, 75, 81, 86, 87},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::White),
.values_count = 39,
.values = {13, 23, 30, 31, 32, 33, 34, 36, 37, 38, 39, 40, 43, 44, 45, 47, 48, 49, 50, 51,
52, 53, 54, 55, 56, 58, 59, 60, 64, 65, 66, 67, 68, 70, 73, 75, 81, 86, 87},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 18,
.values = {13, 23, 30, 36, 37, 41, 45, 47, 51, 53, 54, 55, 58, 59, 65, 67, 86, 88},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 19,
.values = {13, 23, 30, 36, 37, 39, 41, 45, 47, 51, 53, 54, 55, 58, 59, 65, 67, 86, 88},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 19,
.values = {13, 23, 30, 36, 37, 39, 41, 45, 47, 51, 53, 54, 55, 58, 59, 65, 67, 86, 88},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Black),
.values_count = 39,
.values = {0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 24, 25, 26, 28, 46, 50, 61, 62, 63, 64, 69, 76, 77, 79, 80, 83, 85},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Black),
.values_count = 42,
.values = {0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 28, 46, 50,
61, 62, 63, 64, 69, 72, 74, 77, 78, 82, 83, 84, 85, 87},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Black),
.values_count = 42,
.values = {0, 1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 28, 46, 50,
61, 62, 63, 64, 69, 72, 74, 77, 78, 82, 83, 84, 85, 87},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::White),
.values_count = 44,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 29, 42, 50,
58, 60, 62, 63, 64, 69, 71, 76, 79, 80, 81, 82, 83, 86},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::White),
.values_count = 44,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 29, 50, 58,
60, 62, 63, 64, 69, 71, 72, 74, 79, 81, 82, 83, 84, 85},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::White),
.values_count = 44,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,
15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 29, 50, 58,
60, 62, 63, 64, 69, 71, 72, 74, 79, 81, 82, 83, 84, 85},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 24,
.values = {0, 1, 2, 3, 4, 5, 6, 10, 11, 12, 13, 14,
16, 17, 18, 20, 21, 24, 25, 58, 62, 69, 76, 83},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 27,
.values = {0, 1, 2, 3, 4, 5, 6, 10, 11, 12, 13, 14, 16, 17,
18, 20, 21, 24, 25, 58, 62, 69, 74, 76, 81, 83, 85},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 27,
.values = {0, 1, 2, 3, 4, 5, 6, 10, 11, 12, 13, 14, 16, 17,
18, 20, 21, 24, 25, 58, 62, 69, 74, 76, 81, 83, 85},
@@ -993,55 +1081,55 @@ const std::array<Service::Mii::RandomMiiData4, 18> RandomMiiHairType{
};
const std::array<RandomMiiData3, 9> RandomMiiHairColor{
- Service::Mii::RandomMiiData3{
+ RandomMiiData3{
.arg_1 = 0,
.arg_2 = 0,
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
},
- Service::Mii::RandomMiiData3{
+ RandomMiiData3{
.arg_1 = 0,
.arg_2 = 1,
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
},
- Service::Mii::RandomMiiData3{
+ RandomMiiData3{
.arg_1 = 0,
.arg_2 = 2,
.values_count = 20,
.values = {0, 0, 0, 0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
},
- Service::Mii::RandomMiiData3{
+ RandomMiiData3{
.arg_1 = 1,
.arg_2 = 0,
.values_count = 20,
.values = {2, 3, 3, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7},
},
- Service::Mii::RandomMiiData3{
+ RandomMiiData3{
.arg_1 = 1,
.arg_2 = 1,
.values_count = 20,
.values = {2, 3, 3, 3, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7},
},
- Service::Mii::RandomMiiData3{
+ RandomMiiData3{
.arg_1 = 1,
.arg_2 = 2,
.values_count = 20,
.values = {2, 3, 3, 4, 4, 4, 4, 4, 4, 5, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7},
},
- Service::Mii::RandomMiiData3{
+ RandomMiiData3{
.arg_1 = 2,
.arg_2 = 0,
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1},
},
- Service::Mii::RandomMiiData3{
+ RandomMiiData3{
.arg_1 = 2,
.arg_2 = 1,
.values_count = 20,
.values = {0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 3, 3, 3, 3},
},
- Service::Mii::RandomMiiData3{
+ RandomMiiData3{
.arg_1 = 2,
.arg_2 = 2,
.values_count = 20,
@@ -1049,598 +1137,642 @@ const std::array<RandomMiiData3, 9> RandomMiiHairColor{
},
};
-const std::array<Service::Mii::RandomMiiData4, 18> RandomMiiEyeType{
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::Black,
+const std::array<RandomMiiData4, 18> RandomMiiEyeType{
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Black),
.values_count = 26,
.values = {2, 3, 5, 7, 8, 9, 11, 12, 13, 15, 16, 18, 27,
29, 32, 34, 36, 38, 39, 41, 43, 47, 49, 51, 53, 57},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Black),
.values_count = 26,
.values = {2, 3, 5, 7, 8, 9, 11, 12, 13, 15, 16, 18, 27,
29, 32, 34, 36, 38, 39, 41, 43, 47, 49, 51, 53, 57},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Black),
.values_count = 27,
.values = {2, 3, 5, 7, 8, 9, 11, 12, 13, 15, 16, 18, 26, 27,
29, 32, 34, 36, 38, 39, 41, 43, 47, 48, 49, 53, 57},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::White),
.values_count = 35,
.values = {2, 3, 5, 6, 7, 8, 9, 11, 12, 13, 15, 16, 17, 18, 21, 22, 27, 29,
31, 32, 34, 36, 37, 38, 39, 41, 43, 44, 47, 49, 51, 53, 55, 56, 57},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::White),
.values_count = 35,
.values = {2, 3, 5, 6, 7, 8, 9, 11, 12, 13, 15, 16, 17, 18, 21, 22, 27, 29,
31, 32, 34, 36, 37, 38, 39, 41, 43, 44, 47, 49, 51, 53, 55, 56, 57},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::White),
.values_count = 35,
.values = {2, 3, 5, 6, 7, 8, 9, 11, 12, 13, 15, 16, 18, 21, 22, 26, 27, 29,
31, 32, 34, 36, 37, 38, 39, 41, 43, 44, 47, 48, 49, 50, 53, 56, 57},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 30,
.values = {2, 3, 5, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 21,
22, 31, 32, 34, 36, 37, 39, 41, 44, 49, 51, 53, 55, 56, 57},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 30,
.values = {2, 3, 5, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 21,
22, 31, 32, 34, 36, 37, 39, 41, 44, 49, 51, 53, 55, 56, 57},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 30,
.values = {2, 3, 5, 7, 8, 9, 11, 12, 13, 14, 15, 16, 18, 21, 22,
26, 31, 32, 34, 36, 37, 39, 41, 44, 48, 49, 50, 51, 53, 57},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Black),
.values_count = 39,
.values = {0, 1, 2, 4, 5, 7, 8, 9, 10, 11, 12, 13, 15, 16, 18, 19, 23, 24, 25, 27,
28, 29, 32, 33, 34, 35, 38, 39, 40, 41, 42, 45, 46, 47, 48, 53, 54, 57, 59},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Black),
.values_count = 39,
.values = {0, 1, 2, 4, 5, 7, 8, 9, 10, 11, 12, 13, 15, 16, 18, 19, 23, 24, 25, 27,
28, 29, 32, 33, 34, 35, 38, 39, 40, 41, 42, 45, 46, 47, 48, 53, 54, 57, 59},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Black),
.values_count = 40,
.values = {0, 1, 2, 4, 5, 7, 8, 9, 10, 11, 12, 13, 15, 16, 18, 19, 23, 24, 25, 26,
27, 28, 29, 32, 33, 34, 35, 38, 39, 40, 41, 42, 45, 46, 47, 48, 53, 54, 57, 59},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::White),
.values_count = 46,
.values = {0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17,
18, 19, 20, 21, 23, 24, 25, 27, 28, 29, 30, 32, 33, 34, 35, 37,
38, 39, 40, 41, 42, 45, 46, 47, 48, 53, 54, 57, 58, 59},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::White),
.values_count = 46,
.values = {0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 17,
18, 19, 20, 21, 23, 24, 25, 27, 28, 29, 30, 32, 33, 34, 35, 37,
38, 39, 40, 41, 42, 45, 46, 47, 48, 53, 54, 57, 58, 59},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::White),
.values_count = 46,
.values = {0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 15, 16, 18,
19, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33, 34, 35, 37,
38, 39, 40, 41, 42, 45, 46, 47, 48, 53, 54, 57, 58, 59},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 34,
.values = {0, 1, 2, 4, 5, 7, 8, 9, 10, 11, 12, 13, 15, 16, 18, 19, 23,
24, 25, 27, 28, 29, 32, 33, 34, 35, 38, 39, 40, 41, 42, 45, 46, 47},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 34,
.values = {0, 1, 2, 4, 5, 7, 8, 9, 10, 11, 12, 13, 15, 16, 18, 19, 23,
24, 25, 27, 28, 29, 32, 33, 34, 35, 38, 39, 40, 41, 42, 45, 46, 47},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 35,
.values = {0, 1, 2, 4, 5, 7, 8, 9, 10, 11, 12, 13, 15, 16, 18, 19, 23, 24,
25, 26, 27, 28, 29, 32, 33, 34, 35, 38, 39, 40, 41, 42, 45, 46, 47},
},
};
-const std::array<Service::Mii::RandomMiiData2, 3> RandomMiiEyeColor{
- Service::Mii::RandomMiiData2{
+const std::array<RandomMiiData2, 3> RandomMiiEyeColor{
+ RandomMiiData2{
.arg_1 = 0,
.values_count = 10,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 1},
},
- Service::Mii::RandomMiiData2{
+ RandomMiiData2{
.arg_1 = 1,
.values_count = 10,
.values = {0, 1, 1, 2, 3, 3, 4, 4, 4, 5},
},
- Service::Mii::RandomMiiData2{
+ RandomMiiData2{
.arg_1 = 2,
.values_count = 10,
.values = {0, 0, 0, 0, 0, 0, 0, 0, 0, 1},
},
};
-const std::array<Service::Mii::RandomMiiData4, 18> RandomMiiEyebrowType{
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::Black,
+const std::array<RandomMiiData4, 18> RandomMiiEyebrowType{
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Black),
.values_count = 18,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 18, 20},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Black),
.values_count = 18,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 18, 20},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Black),
.values_count = 18,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 18, 20},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::White),
.values_count = 23,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::White),
.values_count = 23,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::White),
.values_count = 23,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 21,
.values = {0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 21,
.values = {0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 21,
.values = {0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 20, 21, 22},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Black),
.values_count = 9,
.values = {0, 1, 3, 7, 8, 9, 10, 11, 13},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Black),
.values_count = 9,
.values = {0, 1, 3, 7, 8, 9, 10, 11, 13},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Black),
.values_count = 9,
.values = {0, 1, 3, 7, 8, 9, 10, 11, 13},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::White),
.values_count = 11,
.values = {0, 1, 3, 7, 8, 9, 10, 11, 13, 15, 19},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::White),
.values_count = 11,
.values = {0, 1, 3, 7, 8, 9, 10, 11, 13, 15, 19},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::White),
.values_count = 11,
.values = {0, 1, 3, 7, 8, 9, 10, 11, 13, 15, 19},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 9,
.values = {0, 3, 7, 8, 9, 10, 11, 13, 15},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 9,
.values = {0, 3, 7, 8, 9, 10, 11, 13, 15},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 9,
.values = {0, 3, 7, 8, 9, 10, 11, 13, 15},
},
};
-const std::array<Service::Mii::RandomMiiData4, 18> RandomMiiNoseType{
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::Black,
+const std::array<RandomMiiData4, 18> RandomMiiNoseType{
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Black),
.values_count = 11,
.values = {0, 1, 2, 3, 4, 5, 7, 8, 10, 13, 14},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Black),
.values_count = 11,
.values = {0, 1, 2, 3, 4, 5, 7, 8, 10, 13, 14},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Black),
.values_count = 11,
.values = {0, 1, 2, 3, 4, 5, 7, 8, 10, 13, 14},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::White),
.values_count = 18,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::White),
.values_count = 18,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::White),
.values_count = 15,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 16},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 18,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 18,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 15,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 16},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Black),
.values_count = 8,
.values = {0, 1, 3, 4, 8, 10, 13, 14},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Black),
.values_count = 8,
.values = {0, 1, 3, 4, 8, 10, 13, 14},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Black),
.values_count = 8,
.values = {0, 1, 3, 4, 8, 10, 13, 14},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::White),
.values_count = 12,
.values = {0, 1, 3, 4, 6, 8, 9, 10, 11, 13, 14, 15},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::White),
.values_count = 11,
.values = {0, 1, 3, 4, 6, 8, 9, 10, 11, 13, 15},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::White),
.values_count = 10,
.values = {0, 1, 3, 4, 6, 8, 10, 11, 13, 14},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 12,
.values = {0, 1, 3, 4, 6, 8, 9, 10, 11, 13, 14, 15},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 11,
.values = {0, 1, 3, 4, 6, 8, 9, 10, 11, 13, 15},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 10,
.values = {0, 1, 3, 4, 6, 8, 10, 11, 13, 14},
},
};
-const std::array<Service::Mii::RandomMiiData4, 18> RandomMiiMouthType{
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::Black,
+const std::array<RandomMiiData4, 18> RandomMiiMouthType{
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Black),
.values_count = 25,
.values = {0, 2, 3, 6, 7, 8, 9, 10, 12, 14, 15, 17, 18,
19, 21, 22, 23, 25, 26, 28, 30, 32, 33, 34, 35},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Black),
.values_count = 27,
.values = {0, 2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17,
18, 19, 21, 22, 23, 25, 26, 28, 30, 32, 33, 34, 35},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Black),
.values_count = 28,
.values = {0, 2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17,
18, 19, 21, 22, 23, 25, 26, 28, 30, 31, 32, 33, 34, 35},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::White),
.values_count = 24,
.values = {0, 2, 3, 6, 7, 8, 9, 10, 12, 14, 15, 16,
17, 18, 19, 20, 21, 22, 23, 30, 31, 33, 34, 35},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::White),
.values_count = 26,
.values = {0, 2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 30, 31, 33, 34, 35},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::White),
.values_count = 26,
.values = {0, 2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 30, 31, 33, 34, 35},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Young,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 24,
.values = {0, 2, 3, 6, 7, 8, 9, 10, 12, 14, 15, 16,
17, 18, 19, 20, 21, 22, 23, 30, 31, 33, 34, 35},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Normal,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 26,
.values = {0, 2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 30, 31, 33, 34, 35},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Male,
- .age = Age::Old,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Male),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 26,
.values = {0, 2, 3, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16, 17, 18, 19, 20, 21, 22, 23, 30, 31, 33, 34, 35},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Black),
.values_count = 25,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 14, 15,
17, 18, 19, 21, 22, 23, 25, 26, 30, 33, 34, 35},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Black),
.values_count = 26,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 14,
15, 17, 18, 19, 21, 22, 23, 25, 26, 30, 33, 34, 35},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::Black,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Black),
.values_count = 26,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 14,
15, 17, 18, 19, 21, 22, 23, 25, 26, 30, 33, 34, 35},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::White),
.values_count = 25,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 14, 15,
17, 18, 19, 21, 22, 23, 24, 26, 27, 29, 33, 35},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::White),
.values_count = 26,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 14,
15, 17, 18, 19, 21, 22, 23, 24, 26, 27, 29, 33, 35},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::White,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::White),
.values_count = 25,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 14,
15, 17, 18, 19, 21, 22, 23, 24, 25, 29, 33, 35},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Young,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Young),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 24,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 14,
15, 16, 17, 18, 19, 21, 22, 23, 25, 26, 29, 33},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Normal,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Normal),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 25,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 14,
15, 16, 17, 18, 19, 21, 22, 23, 25, 26, 29, 33},
},
- Service::Mii::RandomMiiData4{
- .gender = Gender::Female,
- .age = Age::Old,
- .race = Race::Asian,
+ RandomMiiData4{
+ .gender = static_cast<u32>(Gender::Female),
+ .age = static_cast<u32>(Age::Old),
+ .race = static_cast<u32>(Race::Asian),
.values_count = 25,
.values = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 14,
15, 16, 17, 18, 19, 21, 22, 23, 25, 26, 29, 33},
},
};
-const std::array<Service::Mii::RandomMiiData2, 3> RandomMiiGlassType{
- Service::Mii::RandomMiiData2{
+const std::array<RandomMiiData2, 3> RandomMiiGlassType{
+ RandomMiiData2{
.arg_1 = 0,
- .values_count = 9,
- .values = {90, 94, 96, 100, 0, 0, 0, 0, 0},
+ .values_count = 4,
+ .values = {90, 94, 96, 100},
},
- Service::Mii::RandomMiiData2{
+ RandomMiiData2{
.arg_1 = 1,
- .values_count = 9,
- .values = {83, 86, 90, 93, 94, 96, 98, 100, 0},
+ .values_count = 8,
+ .values = {83, 86, 90, 93, 94, 96, 98, 100},
},
- Service::Mii::RandomMiiData2{
+ RandomMiiData2{
.arg_1 = 2,
- .values_count = 9,
- .values = {78, 83, 0, 93, 0, 0, 98, 100, 0},
+ .values_count = 8,
+ .values = {78, 83, 0, 93, 0, 0, 98, 100},
},
};
+u8 FromVer3GetFacelineColor(u8 color) {
+ return FromVer3FacelineColorTable[color];
+}
+
+u8 FromVer3GetHairColor(u8 color) {
+ return FromVer3HairColorTable[color];
+}
+
+u8 FromVer3GetEyeColor(u8 color) {
+ return FromVer3EyeColorTable[color];
+}
+
+u8 FromVer3GetMouthlineColor(u8 color) {
+ return FromVer3MouthlineColorTable[color];
+}
+
+u8 FromVer3GetGlassColor(u8 color) {
+ return FromVer3GlassColorTable[color];
+}
+
+u8 FromVer3GetGlassType(u8 type) {
+ return FromVer3GlassTypeTable[type];
+}
+
+FacelineColor GetFacelineColorFromVer3(u32 color) {
+ return static_cast<FacelineColor>(Ver3FacelineColorTable[color]);
+}
+
+CommonColor GetHairColorFromVer3(u32 color) {
+ return static_cast<CommonColor>(Ver3HairColorTable[color]);
+}
+
+CommonColor GetEyeColorFromVer3(u32 color) {
+ return static_cast<CommonColor>(Ver3EyeColorTable[color]);
+}
+
+CommonColor GetMouthColorFromVer3(u32 color) {
+ return static_cast<CommonColor>(Ver3MouthColorTable[color]);
+}
+
+CommonColor GetGlassColorFromVer3(u32 color) {
+ return static_cast<CommonColor>(Ver3GlassColorTable[color]);
+}
+
} // namespace Service::Mii::RawData
diff --git a/src/core/hle/service/mii/types/raw_data.h b/src/core/hle/service/mii/types/raw_data.h
new file mode 100644
index 000000000..9a4cfa738
--- /dev/null
+++ b/src/core/hle/service/mii/types/raw_data.h
@@ -0,0 +1,73 @@
+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <array>
+
+#include "core/hle/service/mii/mii_types.h"
+
+namespace Service::Mii::RawData {
+
+struct RandomMiiValues {
+ std::array<u8, 188> values{};
+};
+static_assert(sizeof(RandomMiiValues) == 0xbc, "RandomMiiValues has incorrect size.");
+
+struct RandomMiiData4 {
+ u32 gender{};
+ u32 age{};
+ u32 race{};
+ u32 values_count{};
+ std::array<u32, 47> values{};
+};
+static_assert(sizeof(RandomMiiData4) == 0xcc, "RandomMiiData4 has incorrect size.");
+
+struct RandomMiiData3 {
+ u32 arg_1;
+ u32 arg_2;
+ u32 values_count;
+ std::array<u32, 47> values{};
+};
+static_assert(sizeof(RandomMiiData3) == 0xc8, "RandomMiiData3 has incorrect size.");
+
+struct RandomMiiData2 {
+ u32 arg_1;
+ u32 values_count;
+ std::array<u32, 47> values{};
+};
+static_assert(sizeof(RandomMiiData2) == 0xc4, "RandomMiiData2 has incorrect size.");
+
+extern const std::array<Service::Mii::DefaultMii, 2> BaseMii;
+extern const std::array<Service::Mii::DefaultMii, 6> DefaultMii;
+
+extern const std::array<u8, 62> EyeRotateLookup;
+extern const std::array<u8, 24> EyebrowRotateLookup;
+
+extern const std::array<RandomMiiData4, 18> RandomMiiFaceline;
+extern const std::array<RandomMiiData3, 6> RandomMiiFacelineColor;
+extern const std::array<RandomMiiData4, 18> RandomMiiFacelineWrinkle;
+extern const std::array<RandomMiiData4, 18> RandomMiiFacelineMakeup;
+extern const std::array<RandomMiiData4, 18> RandomMiiHairType;
+extern const std::array<RandomMiiData3, 9> RandomMiiHairColor;
+extern const std::array<RandomMiiData4, 18> RandomMiiEyeType;
+extern const std::array<RandomMiiData2, 3> RandomMiiEyeColor;
+extern const std::array<RandomMiiData4, 18> RandomMiiEyebrowType;
+extern const std::array<RandomMiiData4, 18> RandomMiiNoseType;
+extern const std::array<RandomMiiData4, 18> RandomMiiMouthType;
+extern const std::array<RandomMiiData2, 3> RandomMiiGlassType;
+
+u8 FromVer3GetFacelineColor(u8 color);
+u8 FromVer3GetHairColor(u8 color);
+u8 FromVer3GetEyeColor(u8 color);
+u8 FromVer3GetMouthlineColor(u8 color);
+u8 FromVer3GetGlassColor(u8 color);
+u8 FromVer3GetGlassType(u8 type);
+
+FacelineColor GetFacelineColorFromVer3(u32 color);
+CommonColor GetHairColorFromVer3(u32 color);
+CommonColor GetEyeColorFromVer3(u32 color);
+CommonColor GetMouthColorFromVer3(u32 color);
+CommonColor GetGlassColorFromVer3(u32 color);
+
+} // namespace Service::Mii::RawData
diff --git a/src/core/hle/service/mii/types/store_data.cpp b/src/core/hle/service/mii/types/store_data.cpp
new file mode 100644
index 000000000..127221fdb
--- /dev/null
+++ b/src/core/hle/service/mii/types/store_data.cpp
@@ -0,0 +1,676 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/hle/service/mii/mii_result.h"
+#include "core/hle/service/mii/mii_util.h"
+#include "core/hle/service/mii/types/raw_data.h"
+#include "core/hle/service/mii/types/store_data.h"
+
+namespace Service::Mii {
+
+void StoreData::BuildDefault(u32 mii_index) {
+ const auto& default_mii = RawData::DefaultMii[mii_index];
+ core_data.SetDefault();
+
+ core_data.SetFacelineType(static_cast<FacelineType>(default_mii.face_type));
+ core_data.SetFacelineColor(
+ RawData::GetFacelineColorFromVer3(static_cast<u8>(default_mii.face_color)));
+ core_data.SetFacelineWrinkle(static_cast<FacelineWrinkle>(default_mii.face_wrinkle));
+ core_data.SetFacelineMake(static_cast<FacelineMake>(default_mii.face_makeup));
+
+ core_data.SetHairType(static_cast<HairType>(default_mii.hair_type));
+ core_data.SetHairColor(RawData::GetHairColorFromVer3(static_cast<u8>(default_mii.hair_color)));
+ core_data.SetHairFlip(static_cast<HairFlip>(default_mii.hair_flip));
+ core_data.SetEyeType(static_cast<EyeType>(default_mii.eye_type));
+ core_data.SetEyeColor(RawData::GetEyeColorFromVer3(static_cast<u8>(default_mii.eye_color)));
+ core_data.SetEyeScale(static_cast<u8>(default_mii.eye_scale));
+ core_data.SetEyeAspect(static_cast<u8>(default_mii.eye_aspect));
+ core_data.SetEyeRotate(static_cast<u8>(default_mii.eye_rotate));
+ core_data.SetEyeX(static_cast<u8>(default_mii.eye_x));
+ core_data.SetEyeY(static_cast<u8>(default_mii.eye_y));
+
+ core_data.SetEyebrowType(static_cast<EyebrowType>(default_mii.eyebrow_type));
+ core_data.SetEyebrowColor(
+ RawData::GetHairColorFromVer3(static_cast<u8>(default_mii.eyebrow_color)));
+ core_data.SetEyebrowScale(static_cast<u8>(default_mii.eyebrow_scale));
+ core_data.SetEyebrowAspect(static_cast<u8>(default_mii.eyebrow_aspect));
+ core_data.SetEyebrowRotate(static_cast<u8>(default_mii.eyebrow_rotate));
+ core_data.SetEyebrowX(static_cast<u8>(default_mii.eyebrow_x));
+ core_data.SetEyebrowY(static_cast<u8>(default_mii.eyebrow_y - 3));
+
+ core_data.SetNoseType(static_cast<NoseType>(default_mii.nose_type));
+ core_data.SetNoseScale(static_cast<u8>(default_mii.nose_scale));
+ core_data.SetNoseY(static_cast<u8>(default_mii.nose_y));
+
+ core_data.SetMouthType(static_cast<MouthType>(default_mii.mouth_type));
+ core_data.SetMouthColor(
+ RawData::GetMouthColorFromVer3(static_cast<u8>(default_mii.mouth_color)));
+ core_data.SetMouthScale(static_cast<u8>(default_mii.mouth_scale));
+ core_data.SetMouthAspect(static_cast<u8>(default_mii.mouth_aspect));
+ core_data.SetMouthY(static_cast<u8>(default_mii.mouth_y));
+
+ core_data.SetMustacheType(static_cast<MustacheType>(default_mii.mustache_type));
+ core_data.SetBeardType(static_cast<BeardType>(default_mii.beard_type));
+ core_data.SetBeardColor(
+ RawData::GetHairColorFromVer3(static_cast<u8>(default_mii.beard_color)));
+ core_data.SetMustacheScale(static_cast<u8>(default_mii.mustache_scale));
+ core_data.SetMustacheY(static_cast<u8>(default_mii.mustache_y));
+
+ core_data.SetGlassType(static_cast<GlassType>(default_mii.glasses_type));
+ core_data.SetGlassColor(
+ RawData::GetGlassColorFromVer3(static_cast<u8>(default_mii.glasses_color)));
+ core_data.SetGlassScale(static_cast<u8>(default_mii.glasses_scale));
+ core_data.SetGlassY(static_cast<u8>(default_mii.glasses_y));
+
+ core_data.SetMoleType(static_cast<MoleType>(default_mii.mole_type));
+ core_data.SetMoleScale(static_cast<u8>(default_mii.mole_scale));
+ core_data.SetMoleX(static_cast<u8>(default_mii.mole_x));
+ core_data.SetMoleY(static_cast<u8>(default_mii.mole_y));
+
+ core_data.SetHeight(static_cast<u8>(default_mii.height));
+ core_data.SetBuild(static_cast<u8>(default_mii.weight));
+ core_data.SetGender(static_cast<Gender>(default_mii.gender));
+ core_data.SetFavoriteColor(static_cast<FavoriteColor>(default_mii.favorite_color));
+ core_data.SetRegionMove(static_cast<u8>(default_mii.region_move));
+ core_data.SetFontRegion(static_cast<FontRegion>(default_mii.font_region));
+ core_data.SetType(static_cast<u8>(default_mii.type));
+ core_data.SetNickname(default_mii.nickname);
+
+ create_id = MiiUtil::MakeCreateId();
+ SetChecksum();
+}
+
+void StoreData::BuildBase(Gender gender) {
+ const auto& default_mii = RawData::BaseMii[gender == Gender::Female ? 1 : 0];
+ core_data.SetDefault();
+
+ core_data.SetFacelineType(static_cast<FacelineType>(default_mii.face_type));
+ core_data.SetFacelineColor(
+ RawData::GetFacelineColorFromVer3(static_cast<u8>(default_mii.face_color)));
+ core_data.SetFacelineWrinkle(static_cast<FacelineWrinkle>(default_mii.face_wrinkle));
+ core_data.SetFacelineMake(static_cast<FacelineMake>(default_mii.face_makeup));
+
+ core_data.SetHairType(static_cast<HairType>(default_mii.hair_type));
+ core_data.SetHairColor(RawData::GetHairColorFromVer3(static_cast<u8>(default_mii.hair_color)));
+ core_data.SetHairFlip(static_cast<HairFlip>(default_mii.hair_flip));
+ core_data.SetEyeType(static_cast<EyeType>(default_mii.eye_type));
+ core_data.SetEyeColor(RawData::GetEyeColorFromVer3(static_cast<u8>(default_mii.eye_color)));
+ core_data.SetEyeScale(static_cast<u8>(default_mii.eye_scale));
+ core_data.SetEyeAspect(static_cast<u8>(default_mii.eye_aspect));
+ core_data.SetEyeRotate(static_cast<u8>(default_mii.eye_rotate));
+ core_data.SetEyeX(static_cast<u8>(default_mii.eye_x));
+ core_data.SetEyeY(static_cast<u8>(default_mii.eye_y));
+
+ core_data.SetEyebrowType(static_cast<EyebrowType>(default_mii.eyebrow_type));
+ core_data.SetEyebrowColor(
+ RawData::GetHairColorFromVer3(static_cast<u8>(default_mii.eyebrow_color)));
+ core_data.SetEyebrowScale(static_cast<u8>(default_mii.eyebrow_scale));
+ core_data.SetEyebrowAspect(static_cast<u8>(default_mii.eyebrow_aspect));
+ core_data.SetEyebrowRotate(static_cast<u8>(default_mii.eyebrow_rotate));
+ core_data.SetEyebrowX(static_cast<u8>(default_mii.eyebrow_x));
+ core_data.SetEyebrowY(static_cast<u8>(default_mii.eyebrow_y - 3));
+
+ core_data.SetNoseType(static_cast<NoseType>(default_mii.nose_type));
+ core_data.SetNoseScale(static_cast<u8>(default_mii.nose_scale));
+ core_data.SetNoseY(static_cast<u8>(default_mii.nose_y));
+
+ core_data.SetMouthType(static_cast<MouthType>(default_mii.mouth_type));
+ core_data.SetMouthColor(
+ RawData::GetMouthColorFromVer3(static_cast<u8>(default_mii.mouth_color)));
+ core_data.SetMouthScale(static_cast<u8>(default_mii.mouth_scale));
+ core_data.SetMouthAspect(static_cast<u8>(default_mii.mouth_aspect));
+ core_data.SetMouthY(static_cast<u8>(default_mii.mouth_y));
+
+ core_data.SetMustacheType(static_cast<MustacheType>(default_mii.mustache_type));
+ core_data.SetBeardType(static_cast<BeardType>(default_mii.beard_type));
+ core_data.SetBeardColor(
+ RawData::GetHairColorFromVer3(static_cast<u8>(default_mii.beard_color)));
+ core_data.SetMustacheScale(static_cast<u8>(default_mii.mustache_scale));
+ core_data.SetMustacheY(static_cast<u8>(default_mii.mustache_y));
+
+ core_data.SetGlassType(static_cast<GlassType>(default_mii.glasses_type));
+ core_data.SetGlassColor(
+ RawData::GetGlassColorFromVer3(static_cast<u8>(default_mii.glasses_color)));
+ core_data.SetGlassScale(static_cast<u8>(default_mii.glasses_scale));
+ core_data.SetGlassY(static_cast<u8>(default_mii.glasses_y));
+
+ core_data.SetMoleType(static_cast<MoleType>(default_mii.mole_type));
+ core_data.SetMoleScale(static_cast<u8>(default_mii.mole_scale));
+ core_data.SetMoleX(static_cast<u8>(default_mii.mole_x));
+ core_data.SetMoleY(static_cast<u8>(default_mii.mole_y));
+
+ core_data.SetHeight(static_cast<u8>(default_mii.height));
+ core_data.SetBuild(static_cast<u8>(default_mii.weight));
+ core_data.SetGender(static_cast<Gender>(default_mii.gender));
+ core_data.SetFavoriteColor(static_cast<FavoriteColor>(default_mii.favorite_color));
+ core_data.SetRegionMove(static_cast<u8>(default_mii.region_move));
+ core_data.SetFontRegion(static_cast<FontRegion>(default_mii.font_region));
+ core_data.SetType(static_cast<u8>(default_mii.type));
+ core_data.SetNickname(default_mii.nickname);
+
+ create_id = MiiUtil::MakeCreateId();
+ SetChecksum();
+}
+
+void StoreData::BuildRandom(Age age, Gender gender, Race race) {
+ core_data.BuildRandom(age, gender, race);
+ create_id = MiiUtil::MakeCreateId();
+ SetChecksum();
+}
+
+void StoreData::BuildWithCharInfo(const CharInfo& char_info) {
+ core_data.BuildFromCharInfo(char_info);
+ create_id = MiiUtil::MakeCreateId();
+ SetChecksum();
+}
+
+void StoreData::BuildWithCoreData(const CoreData& in_core_data) {
+ core_data = in_core_data;
+ create_id = MiiUtil::MakeCreateId();
+ SetChecksum();
+}
+
+Result StoreData::Restore() {
+ // TODO: Implement this
+ return ResultNotUpdated;
+}
+
+ValidationResult StoreData::IsValid() const {
+ if (core_data.IsValid() != ValidationResult::NoErrors) {
+ return core_data.IsValid();
+ }
+ if (data_crc != MiiUtil::CalculateCrc16(&core_data, sizeof(CoreData) + sizeof(Common::UUID))) {
+ return ValidationResult::InvalidChecksum;
+ }
+ const auto device_id = MiiUtil::GetDeviceId();
+ if (device_crc != MiiUtil::CalculateDeviceCrc16(device_id, sizeof(StoreData))) {
+ return ValidationResult::InvalidChecksum;
+ }
+ return ValidationResult::NoErrors;
+}
+
+bool StoreData::IsSpecial() const {
+ return GetType() == 1;
+}
+
+void StoreData::SetFontRegion(FontRegion value) {
+ core_data.SetFontRegion(value);
+}
+
+void StoreData::SetFavoriteColor(FavoriteColor value) {
+ core_data.SetFavoriteColor(value);
+}
+
+void StoreData::SetGender(Gender value) {
+ core_data.SetGender(value);
+}
+
+void StoreData::SetHeight(u8 value) {
+ core_data.SetHeight(value);
+}
+
+void StoreData::SetBuild(u8 value) {
+ core_data.SetBuild(value);
+}
+
+void StoreData::SetType(u8 value) {
+ core_data.SetType(value);
+}
+
+void StoreData::SetRegionMove(u8 value) {
+ core_data.SetRegionMove(value);
+}
+
+void StoreData::SetFacelineType(FacelineType value) {
+ core_data.SetFacelineType(value);
+}
+
+void StoreData::SetFacelineColor(FacelineColor value) {
+ core_data.SetFacelineColor(value);
+}
+
+void StoreData::SetFacelineWrinkle(FacelineWrinkle value) {
+ core_data.SetFacelineWrinkle(value);
+}
+
+void StoreData::SetFacelineMake(FacelineMake value) {
+ core_data.SetFacelineMake(value);
+}
+
+void StoreData::SetHairType(HairType value) {
+ core_data.SetHairType(value);
+}
+
+void StoreData::SetHairColor(CommonColor value) {
+ core_data.SetHairColor(value);
+}
+
+void StoreData::SetHairFlip(HairFlip value) {
+ core_data.SetHairFlip(value);
+}
+
+void StoreData::SetEyeType(EyeType value) {
+ core_data.SetEyeType(value);
+}
+
+void StoreData::SetEyeColor(CommonColor value) {
+ core_data.SetEyeColor(value);
+}
+
+void StoreData::SetEyeScale(u8 value) {
+ core_data.SetEyeScale(value);
+}
+
+void StoreData::SetEyeAspect(u8 value) {
+ core_data.SetEyeAspect(value);
+}
+
+void StoreData::SetEyeRotate(u8 value) {
+ core_data.SetEyeRotate(value);
+}
+
+void StoreData::SetEyeX(u8 value) {
+ core_data.SetEyeX(value);
+}
+
+void StoreData::SetEyeY(u8 value) {
+ core_data.SetEyeY(value);
+}
+
+void StoreData::SetEyebrowType(EyebrowType value) {
+ core_data.SetEyebrowType(value);
+}
+
+void StoreData::SetEyebrowColor(CommonColor value) {
+ core_data.SetEyebrowColor(value);
+}
+
+void StoreData::SetEyebrowScale(u8 value) {
+ core_data.SetEyebrowScale(value);
+}
+
+void StoreData::SetEyebrowAspect(u8 value) {
+ core_data.SetEyebrowAspect(value);
+}
+
+void StoreData::SetEyebrowRotate(u8 value) {
+ core_data.SetEyebrowRotate(value);
+}
+
+void StoreData::SetEyebrowX(u8 value) {
+ core_data.SetEyebrowX(value);
+}
+
+void StoreData::SetEyebrowY(u8 value) {
+ core_data.SetEyebrowY(value);
+}
+
+void StoreData::SetNoseType(NoseType value) {
+ core_data.SetNoseType(value);
+}
+
+void StoreData::SetNoseScale(u8 value) {
+ core_data.SetNoseScale(value);
+}
+
+void StoreData::SetNoseY(u8 value) {
+ core_data.SetNoseY(value);
+}
+
+void StoreData::SetMouthType(MouthType value) {
+ core_data.SetMouthType(value);
+}
+
+void StoreData::SetMouthColor(CommonColor value) {
+ core_data.SetMouthColor(value);
+}
+
+void StoreData::SetMouthScale(u8 value) {
+ core_data.SetMouthScale(value);
+}
+
+void StoreData::SetMouthAspect(u8 value) {
+ core_data.SetMouthAspect(value);
+}
+
+void StoreData::SetMouthY(u8 value) {
+ core_data.SetMouthY(value);
+}
+
+void StoreData::SetBeardColor(CommonColor value) {
+ core_data.SetBeardColor(value);
+}
+
+void StoreData::SetBeardType(BeardType value) {
+ core_data.SetBeardType(value);
+}
+
+void StoreData::SetMustacheType(MustacheType value) {
+ core_data.SetMustacheType(value);
+}
+
+void StoreData::SetMustacheScale(u8 value) {
+ core_data.SetMustacheScale(value);
+}
+
+void StoreData::SetMustacheY(u8 value) {
+ core_data.SetMustacheY(value);
+}
+
+void StoreData::SetGlassType(GlassType value) {
+ core_data.SetGlassType(value);
+}
+
+void StoreData::SetGlassColor(CommonColor value) {
+ core_data.SetGlassColor(value);
+}
+
+void StoreData::SetGlassScale(u8 value) {
+ core_data.SetGlassScale(value);
+}
+
+void StoreData::SetGlassY(u8 value) {
+ core_data.SetGlassY(value);
+}
+
+void StoreData::SetMoleType(MoleType value) {
+ core_data.SetMoleType(value);
+}
+
+void StoreData::SetMoleScale(u8 value) {
+ core_data.SetMoleScale(value);
+}
+
+void StoreData::SetMoleX(u8 value) {
+ core_data.SetMoleX(value);
+}
+
+void StoreData::SetMoleY(u8 value) {
+ core_data.SetMoleY(value);
+}
+
+void StoreData::SetNickname(Nickname value) {
+ core_data.SetNickname(value);
+}
+
+void StoreData::SetInvalidName() {
+ const auto& invalid_name = core_data.GetInvalidNickname();
+ core_data.SetNickname(invalid_name);
+ SetChecksum();
+}
+
+void StoreData::SetChecksum() {
+ SetDataChecksum();
+ SetDeviceChecksum();
+}
+
+void StoreData::SetDataChecksum() {
+ data_crc = MiiUtil::CalculateCrc16(&core_data, sizeof(CoreData) + sizeof(Common::UUID));
+}
+
+void StoreData::SetDeviceChecksum() {
+ const auto device_id = MiiUtil::GetDeviceId();
+ device_crc = MiiUtil::CalculateDeviceCrc16(device_id, sizeof(StoreData));
+}
+
+Common::UUID StoreData::GetCreateId() const {
+ return create_id;
+}
+
+FontRegion StoreData::GetFontRegion() const {
+ return static_cast<FontRegion>(core_data.GetFontRegion());
+}
+
+FavoriteColor StoreData::GetFavoriteColor() const {
+ return core_data.GetFavoriteColor();
+}
+
+Gender StoreData::GetGender() const {
+ return core_data.GetGender();
+}
+
+u8 StoreData::GetHeight() const {
+ return core_data.GetHeight();
+}
+
+u8 StoreData::GetBuild() const {
+ return core_data.GetBuild();
+}
+
+u8 StoreData::GetType() const {
+ return core_data.GetType();
+}
+
+u8 StoreData::GetRegionMove() const {
+ return core_data.GetRegionMove();
+}
+
+FacelineType StoreData::GetFacelineType() const {
+ return core_data.GetFacelineType();
+}
+
+FacelineColor StoreData::GetFacelineColor() const {
+ return core_data.GetFacelineColor();
+}
+
+FacelineWrinkle StoreData::GetFacelineWrinkle() const {
+ return core_data.GetFacelineWrinkle();
+}
+
+FacelineMake StoreData::GetFacelineMake() const {
+ return core_data.GetFacelineMake();
+}
+
+HairType StoreData::GetHairType() const {
+ return core_data.GetHairType();
+}
+
+CommonColor StoreData::GetHairColor() const {
+ return core_data.GetHairColor();
+}
+
+HairFlip StoreData::GetHairFlip() const {
+ return core_data.GetHairFlip();
+}
+
+EyeType StoreData::GetEyeType() const {
+ return core_data.GetEyeType();
+}
+
+CommonColor StoreData::GetEyeColor() const {
+ return core_data.GetEyeColor();
+}
+
+u8 StoreData::GetEyeScale() const {
+ return core_data.GetEyeScale();
+}
+
+u8 StoreData::GetEyeAspect() const {
+ return core_data.GetEyeAspect();
+}
+
+u8 StoreData::GetEyeRotate() const {
+ return core_data.GetEyeRotate();
+}
+
+u8 StoreData::GetEyeX() const {
+ return core_data.GetEyeX();
+}
+
+u8 StoreData::GetEyeY() const {
+ return core_data.GetEyeY();
+}
+
+EyebrowType StoreData::GetEyebrowType() const {
+ return core_data.GetEyebrowType();
+}
+
+CommonColor StoreData::GetEyebrowColor() const {
+ return core_data.GetEyebrowColor();
+}
+
+u8 StoreData::GetEyebrowScale() const {
+ return core_data.GetEyebrowScale();
+}
+
+u8 StoreData::GetEyebrowAspect() const {
+ return core_data.GetEyebrowAspect();
+}
+
+u8 StoreData::GetEyebrowRotate() const {
+ return core_data.GetEyebrowRotate();
+}
+
+u8 StoreData::GetEyebrowX() const {
+ return core_data.GetEyebrowX();
+}
+
+u8 StoreData::GetEyebrowY() const {
+ return core_data.GetEyebrowY();
+}
+
+NoseType StoreData::GetNoseType() const {
+ return core_data.GetNoseType();
+}
+
+u8 StoreData::GetNoseScale() const {
+ return core_data.GetNoseScale();
+}
+
+u8 StoreData::GetNoseY() const {
+ return core_data.GetNoseY();
+}
+
+MouthType StoreData::GetMouthType() const {
+ return core_data.GetMouthType();
+}
+
+CommonColor StoreData::GetMouthColor() const {
+ return core_data.GetMouthColor();
+}
+
+u8 StoreData::GetMouthScale() const {
+ return core_data.GetMouthScale();
+}
+
+u8 StoreData::GetMouthAspect() const {
+ return core_data.GetMouthAspect();
+}
+
+u8 StoreData::GetMouthY() const {
+ return core_data.GetMouthY();
+}
+
+CommonColor StoreData::GetBeardColor() const {
+ return core_data.GetBeardColor();
+}
+
+BeardType StoreData::GetBeardType() const {
+ return core_data.GetBeardType();
+}
+
+MustacheType StoreData::GetMustacheType() const {
+ return core_data.GetMustacheType();
+}
+
+u8 StoreData::GetMustacheScale() const {
+ return core_data.GetMustacheScale();
+}
+
+u8 StoreData::GetMustacheY() const {
+ return core_data.GetMustacheY();
+}
+
+GlassType StoreData::GetGlassType() const {
+ return core_data.GetGlassType();
+}
+
+CommonColor StoreData::GetGlassColor() const {
+ return core_data.GetGlassColor();
+}
+
+u8 StoreData::GetGlassScale() const {
+ return core_data.GetGlassScale();
+}
+
+u8 StoreData::GetGlassY() const {
+ return core_data.GetGlassY();
+}
+
+MoleType StoreData::GetMoleType() const {
+ return core_data.GetMoleType();
+}
+
+u8 StoreData::GetMoleScale() const {
+ return core_data.GetMoleScale();
+}
+
+u8 StoreData::GetMoleX() const {
+ return core_data.GetMoleX();
+}
+
+u8 StoreData::GetMoleY() const {
+ return core_data.GetMoleY();
+}
+
+Nickname StoreData::GetNickname() const {
+ return core_data.GetNickname();
+}
+
+bool StoreData::operator==(const StoreData& data) {
+ bool is_identical = data.core_data.IsValid() == ValidationResult::NoErrors;
+ is_identical &= core_data.GetNickname().data == data.core_data.GetNickname().data;
+ is_identical &= GetCreateId() == data.GetCreateId();
+ is_identical &= GetFontRegion() == data.GetFontRegion();
+ is_identical &= GetFavoriteColor() == data.GetFavoriteColor();
+ is_identical &= GetGender() == data.GetGender();
+ is_identical &= GetHeight() == data.GetHeight();
+ is_identical &= GetBuild() == data.GetBuild();
+ is_identical &= GetType() == data.GetType();
+ is_identical &= GetRegionMove() == data.GetRegionMove();
+ is_identical &= GetFacelineType() == data.GetFacelineType();
+ is_identical &= GetFacelineColor() == data.GetFacelineColor();
+ is_identical &= GetFacelineWrinkle() == data.GetFacelineWrinkle();
+ is_identical &= GetFacelineMake() == data.GetFacelineMake();
+ is_identical &= GetHairType() == data.GetHairType();
+ is_identical &= GetHairColor() == data.GetHairColor();
+ is_identical &= GetHairFlip() == data.GetHairFlip();
+ is_identical &= GetEyeType() == data.GetEyeType();
+ is_identical &= GetEyeColor() == data.GetEyeColor();
+ is_identical &= GetEyeScale() == data.GetEyeScale();
+ is_identical &= GetEyeAspect() == data.GetEyeAspect();
+ is_identical &= GetEyeRotate() == data.GetEyeRotate();
+ is_identical &= GetEyeX() == data.GetEyeX();
+ is_identical &= GetEyeY() == data.GetEyeY();
+ is_identical &= GetEyebrowType() == data.GetEyebrowType();
+ is_identical &= GetEyebrowColor() == data.GetEyebrowColor();
+ is_identical &= GetEyebrowScale() == data.GetEyebrowScale();
+ is_identical &= GetEyebrowAspect() == data.GetEyebrowAspect();
+ is_identical &= GetEyebrowRotate() == data.GetEyebrowRotate();
+ is_identical &= GetEyebrowX() == data.GetEyebrowX();
+ is_identical &= GetEyebrowY() == data.GetEyebrowY();
+ is_identical &= GetNoseType() == data.GetNoseType();
+ is_identical &= GetNoseScale() == data.GetNoseScale();
+ is_identical &= GetNoseY() == data.GetNoseY();
+ is_identical &= GetMouthType() == data.GetMouthType();
+ is_identical &= GetMouthColor() == data.GetMouthColor();
+ is_identical &= GetMouthScale() == data.GetMouthScale();
+ is_identical &= GetMouthAspect() == data.GetMouthAspect();
+ is_identical &= GetMouthY() == data.GetMouthY();
+ is_identical &= GetBeardColor() == data.GetBeardColor();
+ is_identical &= GetBeardType() == data.GetBeardType();
+ is_identical &= GetMustacheType() == data.GetMustacheType();
+ is_identical &= GetMustacheScale() == data.GetMustacheScale();
+ is_identical &= GetMustacheY() == data.GetMustacheY();
+ is_identical &= GetGlassType() == data.GetGlassType();
+ is_identical &= GetGlassColor() == data.GetGlassColor();
+ is_identical &= GetGlassScale() == data.GetGlassScale();
+ is_identical &= GetGlassY() == data.GetGlassY();
+ is_identical &= GetMoleType() == data.GetMoleType();
+ is_identical &= GetMoleScale() == data.GetMoleScale();
+ is_identical &= GetMoleX() == data.GetMoleX();
+ is_identical &= data.GetMoleY() == data.GetMoleY();
+ return is_identical;
+}
+
+} // namespace Service::Mii
diff --git a/src/core/hle/service/mii/types/store_data.h b/src/core/hle/service/mii/types/store_data.h
new file mode 100644
index 000000000..ed5dfb949
--- /dev/null
+++ b/src/core/hle/service/mii/types/store_data.h
@@ -0,0 +1,150 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/hle/result.h"
+#include "core/hle/service/mii/mii_types.h"
+#include "core/hle/service/mii/types/core_data.h"
+
+namespace Service::Mii {
+
+class StoreData {
+public:
+ void BuildDefault(u32 mii_index);
+ void BuildBase(Gender gender);
+ void BuildRandom(Age age, Gender gender, Race race);
+ void BuildWithCharInfo(const CharInfo& char_info);
+ void BuildWithCoreData(const CoreData& in_core_data);
+ Result Restore();
+
+ ValidationResult IsValid() const;
+
+ bool IsSpecial() const;
+
+ void SetFontRegion(FontRegion value);
+ void SetFavoriteColor(FavoriteColor value);
+ void SetGender(Gender value);
+ void SetHeight(u8 value);
+ void SetBuild(u8 value);
+ void SetType(u8 value);
+ void SetRegionMove(u8 value);
+ void SetFacelineType(FacelineType value);
+ void SetFacelineColor(FacelineColor value);
+ void SetFacelineWrinkle(FacelineWrinkle value);
+ void SetFacelineMake(FacelineMake value);
+ void SetHairType(HairType value);
+ void SetHairColor(CommonColor value);
+ void SetHairFlip(HairFlip value);
+ void SetEyeType(EyeType value);
+ void SetEyeColor(CommonColor value);
+ void SetEyeScale(u8 value);
+ void SetEyeAspect(u8 value);
+ void SetEyeRotate(u8 value);
+ void SetEyeX(u8 value);
+ void SetEyeY(u8 value);
+ void SetEyebrowType(EyebrowType value);
+ void SetEyebrowColor(CommonColor value);
+ void SetEyebrowScale(u8 value);
+ void SetEyebrowAspect(u8 value);
+ void SetEyebrowRotate(u8 value);
+ void SetEyebrowX(u8 value);
+ void SetEyebrowY(u8 value);
+ void SetNoseType(NoseType value);
+ void SetNoseScale(u8 value);
+ void SetNoseY(u8 value);
+ void SetMouthType(MouthType value);
+ void SetMouthColor(CommonColor value);
+ void SetMouthScale(u8 value);
+ void SetMouthAspect(u8 value);
+ void SetMouthY(u8 value);
+ void SetBeardColor(CommonColor value);
+ void SetBeardType(BeardType value);
+ void SetMustacheType(MustacheType value);
+ void SetMustacheScale(u8 value);
+ void SetMustacheY(u8 value);
+ void SetGlassType(GlassType value);
+ void SetGlassColor(CommonColor value);
+ void SetGlassScale(u8 value);
+ void SetGlassY(u8 value);
+ void SetMoleType(MoleType value);
+ void SetMoleScale(u8 value);
+ void SetMoleX(u8 value);
+ void SetMoleY(u8 value);
+ void SetNickname(Nickname nickname);
+ void SetInvalidName();
+ void SetChecksum();
+ void SetDataChecksum();
+ void SetDeviceChecksum();
+
+ Common::UUID GetCreateId() const;
+ FontRegion GetFontRegion() const;
+ FavoriteColor GetFavoriteColor() const;
+ Gender GetGender() const;
+ u8 GetHeight() const;
+ u8 GetBuild() const;
+ u8 GetType() const;
+ u8 GetRegionMove() const;
+ FacelineType GetFacelineType() const;
+ FacelineColor GetFacelineColor() const;
+ FacelineWrinkle GetFacelineWrinkle() const;
+ FacelineMake GetFacelineMake() const;
+ HairType GetHairType() const;
+ CommonColor GetHairColor() const;
+ HairFlip GetHairFlip() const;
+ EyeType GetEyeType() const;
+ CommonColor GetEyeColor() const;
+ u8 GetEyeScale() const;
+ u8 GetEyeAspect() const;
+ u8 GetEyeRotate() const;
+ u8 GetEyeX() const;
+ u8 GetEyeY() const;
+ EyebrowType GetEyebrowType() const;
+ CommonColor GetEyebrowColor() const;
+ u8 GetEyebrowScale() const;
+ u8 GetEyebrowAspect() const;
+ u8 GetEyebrowRotate() const;
+ u8 GetEyebrowX() const;
+ u8 GetEyebrowY() const;
+ NoseType GetNoseType() const;
+ u8 GetNoseScale() const;
+ u8 GetNoseY() const;
+ MouthType GetMouthType() const;
+ CommonColor GetMouthColor() const;
+ u8 GetMouthScale() const;
+ u8 GetMouthAspect() const;
+ u8 GetMouthY() const;
+ CommonColor GetBeardColor() const;
+ BeardType GetBeardType() const;
+ MustacheType GetMustacheType() const;
+ u8 GetMustacheScale() const;
+ u8 GetMustacheY() const;
+ GlassType GetGlassType() const;
+ CommonColor GetGlassColor() const;
+ u8 GetGlassScale() const;
+ u8 GetGlassY() const;
+ MoleType GetMoleType() const;
+ u8 GetMoleScale() const;
+ u8 GetMoleX() const;
+ u8 GetMoleY() const;
+ Nickname GetNickname() const;
+
+ bool operator==(const StoreData& data);
+
+private:
+ CoreData core_data{};
+ Common::UUID create_id{};
+ u16 data_crc{};
+ u16 device_crc{};
+};
+static_assert(sizeof(StoreData) == 0x44, "StoreData has incorrect size.");
+static_assert(std::is_trivially_copyable_v<StoreData>,
+ "StoreData type must be trivially copyable.");
+
+struct StoreDataElement {
+ StoreData store_data{};
+ Source source{};
+};
+static_assert(sizeof(StoreDataElement) == 0x48, "StoreDataElement has incorrect size.");
+
+}; // namespace Service::Mii
diff --git a/src/core/hle/service/mii/types/ver3_store_data.cpp b/src/core/hle/service/mii/types/ver3_store_data.cpp
new file mode 100644
index 000000000..a019cc9f7
--- /dev/null
+++ b/src/core/hle/service/mii/types/ver3_store_data.cpp
@@ -0,0 +1,241 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/hle/service/mii/mii_util.h"
+#include "core/hle/service/mii/types/raw_data.h"
+#include "core/hle/service/mii/types/store_data.h"
+#include "core/hle/service/mii/types/ver3_store_data.h"
+
+namespace Service::Mii {
+
+void NfpStoreDataExtension::SetFromStoreData(const StoreData& store_data) {
+ faceline_color = static_cast<u8>(store_data.GetFacelineColor()) & 0xf;
+ hair_color = static_cast<u8>(store_data.GetHairColor()) & 0x7f;
+ eye_color = static_cast<u8>(store_data.GetEyeColor()) & 0x7f;
+ eyebrow_color = static_cast<u8>(store_data.GetEyebrowColor()) & 0x7f;
+ mouth_color = static_cast<u8>(store_data.GetMouthColor()) & 0x7f;
+ beard_color = static_cast<u8>(store_data.GetBeardColor()) & 0x7f;
+ glass_color = static_cast<u8>(store_data.GetGlassColor()) & 0x7f;
+ glass_type = static_cast<u8>(store_data.GetGlassType()) & 0x1f;
+}
+
+void Ver3StoreData::BuildToStoreData(StoreData& out_store_data) const {
+ out_store_data.BuildBase(Gender::Male);
+
+ out_store_data.SetGender(static_cast<Gender>(mii_information.gender.Value()));
+ out_store_data.SetFavoriteColor(
+ static_cast<FavoriteColor>(mii_information.favorite_color.Value()));
+ out_store_data.SetHeight(height);
+ out_store_data.SetBuild(build);
+
+ out_store_data.SetNickname(mii_name);
+ out_store_data.SetFontRegion(
+ static_cast<FontRegion>(static_cast<u8>(region_information.font_region.Value())));
+
+ out_store_data.SetFacelineType(
+ static_cast<FacelineType>(appearance_bits1.faceline_type.Value()));
+ out_store_data.SetFacelineColor(
+ RawData::GetFacelineColorFromVer3(appearance_bits1.faceline_color.Value()));
+ out_store_data.SetFacelineWrinkle(
+ static_cast<FacelineWrinkle>(appearance_bits2.faceline_wrinkle.Value()));
+ out_store_data.SetFacelineMake(
+ static_cast<FacelineMake>(appearance_bits2.faceline_make.Value()));
+
+ out_store_data.SetHairType(static_cast<HairType>(hair_type));
+ out_store_data.SetHairColor(RawData::GetHairColorFromVer3(appearance_bits3.hair_color.Value()));
+ out_store_data.SetHairFlip(static_cast<HairFlip>(appearance_bits3.hair_flip.Value()));
+
+ out_store_data.SetEyeType(static_cast<EyeType>(appearance_bits4.eye_type.Value()));
+ out_store_data.SetEyeColor(RawData::GetEyeColorFromVer3(appearance_bits4.eye_color.Value()));
+ out_store_data.SetEyeScale(static_cast<u8>(appearance_bits4.eye_scale.Value()));
+ out_store_data.SetEyeAspect(static_cast<u8>(appearance_bits4.eye_aspect.Value()));
+ out_store_data.SetEyeRotate(static_cast<u8>(appearance_bits4.eye_rotate.Value()));
+ out_store_data.SetEyeX(static_cast<u8>(appearance_bits4.eye_x.Value()));
+ out_store_data.SetEyeY(static_cast<u8>(appearance_bits4.eye_y.Value()));
+
+ out_store_data.SetEyebrowType(static_cast<EyebrowType>(appearance_bits5.eyebrow_type.Value()));
+ out_store_data.SetEyebrowColor(
+ RawData::GetHairColorFromVer3(appearance_bits5.eyebrow_color.Value()));
+ out_store_data.SetEyebrowScale(static_cast<u8>(appearance_bits5.eyebrow_scale.Value()));
+ out_store_data.SetEyebrowAspect(static_cast<u8>(appearance_bits5.eyebrow_aspect.Value()));
+ out_store_data.SetEyebrowRotate(static_cast<u8>(appearance_bits5.eyebrow_rotate.Value()));
+ out_store_data.SetEyebrowX(static_cast<u8>(appearance_bits5.eyebrow_x.Value()));
+ out_store_data.SetEyebrowY(static_cast<u8>(appearance_bits5.eyebrow_y.Value() - 3));
+
+ out_store_data.SetNoseType(static_cast<NoseType>(appearance_bits6.nose_type.Value()));
+ out_store_data.SetNoseScale(static_cast<u8>(appearance_bits6.nose_scale.Value()));
+ out_store_data.SetNoseY(static_cast<u8>(appearance_bits6.nose_y.Value()));
+
+ out_store_data.SetMouthType(static_cast<MouthType>(appearance_bits7.mouth_type.Value()));
+ out_store_data.SetMouthColor(
+ RawData::GetMouthColorFromVer3(appearance_bits7.mouth_color.Value()));
+ out_store_data.SetMouthScale(static_cast<u8>(appearance_bits7.mouth_scale.Value()));
+ out_store_data.SetMouthAspect(static_cast<u8>(appearance_bits7.mouth_aspect.Value()));
+ out_store_data.SetMouthY(static_cast<u8>(appearance_bits8.mouth_y.Value()));
+
+ out_store_data.SetMustacheType(
+ static_cast<MustacheType>(appearance_bits8.mustache_type.Value()));
+ out_store_data.SetMustacheScale(static_cast<u8>(appearance_bits9.mustache_scale.Value()));
+ out_store_data.SetMustacheY(static_cast<u8>(appearance_bits9.mustache_y.Value()));
+
+ out_store_data.SetBeardType(static_cast<BeardType>(appearance_bits9.beard_type.Value()));
+ out_store_data.SetBeardColor(
+ RawData::GetHairColorFromVer3(appearance_bits9.beard_color.Value()));
+
+ // Glass type is compatible as it is. It doesn't need a table
+ out_store_data.SetGlassType(static_cast<GlassType>(appearance_bits10.glass_type.Value()));
+ out_store_data.SetGlassColor(
+ RawData::GetGlassColorFromVer3(appearance_bits10.glass_color.Value()));
+ out_store_data.SetGlassScale(static_cast<u8>(appearance_bits10.glass_scale.Value()));
+ out_store_data.SetGlassY(static_cast<u8>(appearance_bits10.glass_y.Value()));
+
+ out_store_data.SetMoleType(static_cast<MoleType>(appearance_bits11.mole_type.Value()));
+ out_store_data.SetMoleScale(static_cast<u8>(appearance_bits11.mole_scale.Value()));
+ out_store_data.SetMoleX(static_cast<u8>(appearance_bits11.mole_x.Value()));
+ out_store_data.SetMoleY(static_cast<u8>(appearance_bits11.mole_y.Value()));
+
+ out_store_data.SetChecksum();
+}
+
+void Ver3StoreData::BuildFromStoreData(const StoreData& store_data) {
+ version = 1;
+ mii_information.gender.Assign(static_cast<u8>(store_data.GetGender()));
+ mii_information.favorite_color.Assign(static_cast<u8>(store_data.GetFavoriteColor()));
+ height = store_data.GetHeight();
+ build = store_data.GetBuild();
+
+ mii_name = store_data.GetNickname();
+ region_information.font_region.Assign(static_cast<u8>(store_data.GetFontRegion()));
+
+ appearance_bits1.faceline_type.Assign(static_cast<u8>(store_data.GetFacelineType()));
+ appearance_bits2.faceline_wrinkle.Assign(static_cast<u8>(store_data.GetFacelineWrinkle()));
+ appearance_bits2.faceline_make.Assign(static_cast<u8>(store_data.GetFacelineMake()));
+
+ hair_type = static_cast<u8>(store_data.GetHairType());
+ appearance_bits3.hair_flip.Assign(static_cast<u8>(store_data.GetHairFlip()));
+
+ appearance_bits4.eye_type.Assign(static_cast<u8>(store_data.GetEyeType()));
+ appearance_bits4.eye_scale.Assign(store_data.GetEyeScale());
+ appearance_bits4.eye_aspect.Assign(store_data.GetEyebrowAspect());
+ appearance_bits4.eye_rotate.Assign(store_data.GetEyeRotate());
+ appearance_bits4.eye_x.Assign(store_data.GetEyeX());
+ appearance_bits4.eye_y.Assign(store_data.GetEyeY());
+
+ appearance_bits5.eyebrow_type.Assign(static_cast<u8>(store_data.GetEyebrowType()));
+ appearance_bits5.eyebrow_scale.Assign(store_data.GetEyebrowScale());
+ appearance_bits5.eyebrow_aspect.Assign(store_data.GetEyebrowAspect());
+ appearance_bits5.eyebrow_rotate.Assign(store_data.GetEyebrowRotate());
+ appearance_bits5.eyebrow_x.Assign(store_data.GetEyebrowX());
+ appearance_bits5.eyebrow_y.Assign(store_data.GetEyebrowY());
+
+ appearance_bits6.nose_type.Assign(static_cast<u8>(store_data.GetNoseType()));
+ appearance_bits6.nose_scale.Assign(store_data.GetNoseScale());
+ appearance_bits6.nose_y.Assign(store_data.GetNoseY());
+
+ appearance_bits7.mouth_type.Assign(static_cast<u8>(store_data.GetMouthType()));
+ appearance_bits7.mouth_scale.Assign(store_data.GetMouthScale());
+ appearance_bits7.mouth_aspect.Assign(store_data.GetMouthAspect());
+ appearance_bits8.mouth_y.Assign(store_data.GetMouthY());
+
+ appearance_bits8.mustache_type.Assign(static_cast<u8>(store_data.GetMustacheType()));
+ appearance_bits9.mustache_scale.Assign(store_data.GetMustacheScale());
+ appearance_bits9.mustache_y.Assign(store_data.GetMustacheY());
+
+ appearance_bits9.beard_type.Assign(static_cast<u8>(store_data.GetBeardType()));
+
+ appearance_bits10.glass_scale.Assign(store_data.GetGlassScale());
+ appearance_bits10.glass_y.Assign(store_data.GetGlassY());
+
+ appearance_bits11.mole_type.Assign(static_cast<u8>(store_data.GetMoleType()));
+ appearance_bits11.mole_scale.Assign(store_data.GetMoleScale());
+ appearance_bits11.mole_x.Assign(store_data.GetMoleX());
+ appearance_bits11.mole_y.Assign(store_data.GetMoleY());
+
+ // These types are converted to V3 from a table
+ appearance_bits1.faceline_color.Assign(
+ RawData::FromVer3GetFacelineColor(static_cast<u8>(store_data.GetFacelineColor())));
+ appearance_bits3.hair_color.Assign(
+ RawData::FromVer3GetHairColor(static_cast<u8>(store_data.GetHairColor())));
+ appearance_bits4.eye_color.Assign(
+ RawData::FromVer3GetEyeColor(static_cast<u8>(store_data.GetEyeColor())));
+ appearance_bits5.eyebrow_color.Assign(
+ RawData::FromVer3GetHairColor(static_cast<u8>(store_data.GetEyebrowColor())));
+ appearance_bits7.mouth_color.Assign(
+ RawData::FromVer3GetMouthlineColor(static_cast<u8>(store_data.GetMouthColor())));
+ appearance_bits9.beard_color.Assign(
+ RawData::FromVer3GetHairColor(static_cast<u8>(store_data.GetBeardColor())));
+ appearance_bits10.glass_color.Assign(
+ RawData::FromVer3GetGlassColor(static_cast<u8>(store_data.GetGlassColor())));
+ appearance_bits10.glass_type.Assign(
+ RawData::FromVer3GetGlassType(static_cast<u8>(store_data.GetGlassType())));
+
+ crc = MiiUtil::CalculateCrc16(&version, sizeof(Ver3StoreData) - sizeof(u16));
+}
+
+u32 Ver3StoreData::IsValid() const {
+ bool is_valid = version == 0 || version == 3;
+
+ is_valid = is_valid && (mii_name.data[0] != '\0');
+
+ is_valid = is_valid && (mii_information.birth_month < 13);
+ is_valid = is_valid && (mii_information.birth_day < 32);
+ is_valid = is_valid && (mii_information.favorite_color <= static_cast<u8>(FavoriteColor::Max));
+ is_valid = is_valid && (height <= MaxHeight);
+ is_valid = is_valid && (build <= MaxBuild);
+
+ is_valid = is_valid && (appearance_bits1.faceline_type <= static_cast<u8>(FacelineType::Max));
+ is_valid = is_valid && (appearance_bits1.faceline_color <= MaxVer3CommonColor - 2);
+ is_valid =
+ is_valid && (appearance_bits2.faceline_wrinkle <= static_cast<u8>(FacelineWrinkle::Max));
+ is_valid = is_valid && (appearance_bits2.faceline_make <= static_cast<u8>(FacelineMake::Max));
+
+ is_valid = is_valid && (hair_type <= static_cast<u8>(HairType::Max));
+ is_valid = is_valid && (appearance_bits3.hair_color <= MaxVer3CommonColor);
+
+ is_valid = is_valid && (appearance_bits4.eye_type <= static_cast<u8>(EyeType::Max));
+ is_valid = is_valid && (appearance_bits4.eye_color <= MaxVer3CommonColor - 2);
+ is_valid = is_valid && (appearance_bits4.eye_scale <= MaxEyeScale);
+ is_valid = is_valid && (appearance_bits4.eye_aspect <= MaxEyeAspect);
+ is_valid = is_valid && (appearance_bits4.eye_rotate <= MaxEyeRotate);
+ is_valid = is_valid && (appearance_bits4.eye_x <= MaxEyeX);
+ is_valid = is_valid && (appearance_bits4.eye_y <= MaxEyeY);
+
+ is_valid = is_valid && (appearance_bits5.eyebrow_type <= static_cast<u8>(EyebrowType::Max));
+ is_valid = is_valid && (appearance_bits5.eyebrow_color <= MaxVer3CommonColor);
+ is_valid = is_valid && (appearance_bits5.eyebrow_scale <= MaxEyebrowScale);
+ is_valid = is_valid && (appearance_bits5.eyebrow_aspect <= MaxEyebrowAspect);
+ is_valid = is_valid && (appearance_bits5.eyebrow_rotate <= MaxEyebrowRotate);
+ is_valid = is_valid && (appearance_bits5.eyebrow_x <= MaxEyebrowX);
+ is_valid = is_valid && (appearance_bits5.eyebrow_y <= MaxEyebrowY);
+
+ is_valid = is_valid && (appearance_bits6.nose_type <= static_cast<u8>(NoseType::Max));
+ is_valid = is_valid && (appearance_bits6.nose_scale <= MaxNoseScale);
+ is_valid = is_valid && (appearance_bits6.nose_y <= MaxNoseY);
+
+ is_valid = is_valid && (appearance_bits7.mouth_type <= static_cast<u8>(MouthType::Max));
+ is_valid = is_valid && (appearance_bits7.mouth_color <= MaxVer3CommonColor - 3);
+ is_valid = is_valid && (appearance_bits7.mouth_scale <= MaxMouthScale);
+ is_valid = is_valid && (appearance_bits7.mouth_aspect <= MaxMoutAspect);
+ is_valid = is_valid && (appearance_bits8.mouth_y <= MaxMouthY);
+
+ is_valid = is_valid && (appearance_bits8.mustache_type <= static_cast<u8>(MustacheType::Max));
+ is_valid = is_valid && (appearance_bits9.mustache_scale < MaxMustacheScale);
+ is_valid = is_valid && (appearance_bits9.mustache_y <= MaxMustacheY);
+
+ is_valid = is_valid && (appearance_bits9.beard_type <= static_cast<u8>(BeardType::Max));
+ is_valid = is_valid && (appearance_bits9.beard_color <= MaxVer3CommonColor);
+
+ is_valid = is_valid && (appearance_bits10.glass_type <= MaxVer3GlassType);
+ is_valid = is_valid && (appearance_bits10.glass_color <= MaxVer3CommonColor - 2);
+ is_valid = is_valid && (appearance_bits10.glass_scale <= MaxGlassScale);
+ is_valid = is_valid && (appearance_bits10.glass_y <= MaxGlassY);
+
+ is_valid = is_valid && (appearance_bits11.mole_type <= static_cast<u8>(MoleType::Max));
+ is_valid = is_valid && (appearance_bits11.mole_scale <= MaxMoleScale);
+ is_valid = is_valid && (appearance_bits11.mole_x <= MaxMoleX);
+ is_valid = is_valid && (appearance_bits11.mole_y <= MaxMoleY);
+
+ return is_valid;
+}
+
+} // namespace Service::Mii
diff --git a/src/core/hle/service/mii/types/ver3_store_data.h b/src/core/hle/service/mii/types/ver3_store_data.h
new file mode 100644
index 000000000..47907bf7d
--- /dev/null
+++ b/src/core/hle/service/mii/types/ver3_store_data.h
@@ -0,0 +1,160 @@
+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "core/hle/service/mii/mii_types.h"
+
+namespace Service::Mii {
+class StoreData;
+
+// This is nn::mii::Ver3StoreData
+// Based on citra HLE::Applets::MiiData and PretendoNetwork.
+// https://github.com/citra-emu/citra/blob/master/src/core/hle/applets/mii_selector.h#L48
+// https://github.com/PretendoNetwork/mii-js/blob/master/mii.js#L299
+
+struct NfpStoreDataExtension {
+ void SetFromStoreData(const StoreData& store_data);
+
+ u8 faceline_color;
+ u8 hair_color;
+ u8 eye_color;
+ u8 eyebrow_color;
+ u8 mouth_color;
+ u8 beard_color;
+ u8 glass_color;
+ u8 glass_type;
+};
+static_assert(sizeof(NfpStoreDataExtension) == 0x8, "NfpStoreDataExtension is an invalid size");
+
+#pragma pack(push, 4)
+class Ver3StoreData {
+public:
+ void BuildToStoreData(StoreData& out_store_data) const;
+ void BuildFromStoreData(const StoreData& store_data);
+
+ u32 IsValid() const;
+
+ u8 version;
+ union {
+ u8 raw;
+
+ BitField<0, 1, u8> allow_copying;
+ BitField<1, 1, u8> profanity_flag;
+ BitField<2, 2, u8> region_lock;
+ BitField<4, 2, u8> font_region;
+ } region_information;
+ u16_be mii_id;
+ u64_be system_id;
+ u32_be specialness_and_creation_date;
+ std::array<u8, 6> creator_mac;
+ u16_be padding;
+ union {
+ u16 raw;
+
+ BitField<0, 1, u16> gender;
+ BitField<1, 4, u16> birth_month;
+ BitField<5, 5, u16> birth_day;
+ BitField<10, 4, u16> favorite_color;
+ BitField<14, 1, u16> favorite;
+ } mii_information;
+ Nickname mii_name;
+ u8 height;
+ u8 build;
+ union {
+ u8 raw;
+
+ BitField<0, 1, u8> disable_sharing;
+ BitField<1, 4, u8> faceline_type;
+ BitField<5, 3, u8> faceline_color;
+ } appearance_bits1;
+ union {
+ u8 raw;
+
+ BitField<0, 4, u8> faceline_wrinkle;
+ BitField<4, 4, u8> faceline_make;
+ } appearance_bits2;
+ u8 hair_type;
+ union {
+ u8 raw;
+
+ BitField<0, 3, u8> hair_color;
+ BitField<3, 1, u8> hair_flip;
+ } appearance_bits3;
+ union {
+ u32 raw;
+
+ BitField<0, 6, u32> eye_type;
+ BitField<6, 3, u32> eye_color;
+ BitField<9, 4, u32> eye_scale;
+ BitField<13, 3, u32> eye_aspect;
+ BitField<16, 5, u32> eye_rotate;
+ BitField<21, 4, u32> eye_x;
+ BitField<25, 5, u32> eye_y;
+ } appearance_bits4;
+ union {
+ u32 raw;
+
+ BitField<0, 5, u32> eyebrow_type;
+ BitField<5, 3, u32> eyebrow_color;
+ BitField<8, 4, u32> eyebrow_scale;
+ BitField<12, 3, u32> eyebrow_aspect;
+ BitField<16, 4, u32> eyebrow_rotate;
+ BitField<21, 4, u32> eyebrow_x;
+ BitField<25, 5, u32> eyebrow_y;
+ } appearance_bits5;
+ union {
+ u16 raw;
+
+ BitField<0, 5, u16> nose_type;
+ BitField<5, 4, u16> nose_scale;
+ BitField<9, 5, u16> nose_y;
+ } appearance_bits6;
+ union {
+ u16 raw;
+
+ BitField<0, 6, u16> mouth_type;
+ BitField<6, 3, u16> mouth_color;
+ BitField<9, 4, u16> mouth_scale;
+ BitField<13, 3, u16> mouth_aspect;
+ } appearance_bits7;
+ union {
+ u8 raw;
+
+ BitField<0, 5, u8> mouth_y;
+ BitField<5, 3, u8> mustache_type;
+ } appearance_bits8;
+ u8 allow_copying;
+ union {
+ u16 raw;
+
+ BitField<0, 3, u16> beard_type;
+ BitField<3, 3, u16> beard_color;
+ BitField<6, 4, u16> mustache_scale;
+ BitField<10, 5, u16> mustache_y;
+ } appearance_bits9;
+ union {
+ u16 raw;
+
+ BitField<0, 4, u16> glass_type;
+ BitField<4, 3, u16> glass_color;
+ BitField<7, 4, u16> glass_scale;
+ BitField<11, 5, u16> glass_y;
+ } appearance_bits10;
+ union {
+ u16 raw;
+
+ BitField<0, 1, u16> mole_type;
+ BitField<1, 4, u16> mole_scale;
+ BitField<5, 5, u16> mole_x;
+ BitField<10, 5, u16> mole_y;
+ } appearance_bits11;
+
+ Nickname author_name;
+ INSERT_PADDING_BYTES(0x2);
+ u16_be crc;
+};
+static_assert(sizeof(Ver3StoreData) == 0x60, "Ver3StoreData is an invalid size");
+#pragma pack(pop)
+
+}; // namespace Service::Mii
diff --git a/src/core/hle/service/nfc/common/device.cpp b/src/core/hle/service/nfc/common/device.cpp
index 49446bc42..e7a00deb3 100644
--- a/src/core/hle/service/nfc/common/device.cpp
+++ b/src/core/hle/service/nfc/common/device.cpp
@@ -28,7 +28,6 @@
#include "core/hle/kernel/k_event.h"
#include "core/hle/service/ipc_helpers.h"
#include "core/hle/service/mii/mii_manager.h"
-#include "core/hle/service/mii/types.h"
#include "core/hle/service/nfc/common/amiibo_crypto.h"
#include "core/hle/service/nfc/common/device.h"
#include "core/hle/service/nfc/mifare_result.h"
@@ -440,6 +439,7 @@ Result NfcDevice::Mount(NFP::ModelType model_type, NFP::MountTarget mount_target
device_state = DeviceState::TagMounted;
mount_target = mount_target_;
+
return ResultSuccess;
}
@@ -681,12 +681,16 @@ Result NfcDevice::GetRegisterInfo(NFP::RegisterInfo& register_info) const {
return ResultRegistrationIsNotInitialized;
}
- Service::Mii::MiiManager manager;
+ Mii::CharInfo char_info{};
+ Mii::StoreData store_data{};
+ tag_data.owner_mii.BuildToStoreData(store_data);
+ char_info.SetFromStoreData(store_data);
+
const auto& settings = tag_data.settings;
// TODO: Validate this data
register_info = {
- .mii_char_info = manager.ConvertV3ToCharInfo(tag_data.owner_mii),
+ .mii_char_info = char_info,
.creation_date = settings.init_date.GetWriteDate(),
.amiibo_name = GetAmiiboName(settings),
.font_region = settings.settings.font_region,
@@ -713,12 +717,13 @@ Result NfcDevice::GetRegisterInfoPrivate(NFP::RegisterInfoPrivate& register_info
return ResultRegistrationIsNotInitialized;
}
- Service::Mii::MiiManager manager;
+ Mii::StoreData store_data{};
const auto& settings = tag_data.settings;
+ tag_data.owner_mii.BuildToStoreData(store_data);
// TODO: Validate and complete this data
register_info = {
- .mii_store_data = {},
+ .mii_store_data = store_data,
.creation_date = settings.init_date.GetWriteDate(),
.amiibo_name = GetAmiiboName(settings),
.font_region = settings.settings.font_region,
@@ -825,8 +830,6 @@ Result NfcDevice::SetRegisterInfoPrivate(const NFP::RegisterInfoPrivate& registe
return ResultWrongDeviceState;
}
- Service::Mii::MiiManager manager;
- const auto mii = manager.BuildDefault(0);
auto& settings = tag_data.settings;
if (tag_data.settings.settings.amiibo_initialized == 0) {
@@ -835,8 +838,8 @@ Result NfcDevice::SetRegisterInfoPrivate(const NFP::RegisterInfoPrivate& registe
}
SetAmiiboName(settings, register_info.amiibo_name);
- tag_data.owner_mii = manager.BuildFromStoreData(mii);
- tag_data.mii_extension = manager.SetFromStoreData(mii);
+ tag_data.owner_mii.BuildFromStoreData(register_info.mii_store_data);
+ tag_data.mii_extension.SetFromStoreData(register_info.mii_store_data);
tag_data.unknown = 0;
tag_data.unknown2 = {};
settings.country_code_id = 0;
@@ -868,17 +871,19 @@ Result NfcDevice::RestoreAmiibo() {
}
Result NfcDevice::Format() {
- auto result1 = DeleteApplicationArea();
- auto result2 = DeleteRegisterInfo();
+ Result result = ResultSuccess;
- if (result1.IsError()) {
- return result1;
+ if (device_state == DeviceState::TagFound) {
+ result = Mount(NFP::ModelType::Amiibo, NFP::MountTarget::All);
}
- if (result2.IsError()) {
- return result2;
+ if (result.IsError()) {
+ return result;
}
+ DeleteApplicationArea();
+ DeleteRegisterInfo();
+
return Flush();
}
@@ -1453,7 +1458,7 @@ void NfcDevice::UpdateRegisterInfoCrc() {
void NfcDevice::BuildAmiiboWithoutKeys(NFP::NTAG215File& stubbed_tag_data,
const NFP::EncryptedNTAG215File& encrypted_file) const {
- Service::Mii::MiiManager manager;
+ Service::Mii::StoreData store_data{};
auto& settings = stubbed_tag_data.settings;
stubbed_tag_data = NFP::AmiiboCrypto::NfcDataToEncodedData(encrypted_file);
@@ -1467,7 +1472,8 @@ void NfcDevice::BuildAmiiboWithoutKeys(NFP::NTAG215File& stubbed_tag_data,
SetAmiiboName(settings, {'y', 'u', 'z', 'u', 'A', 'm', 'i', 'i', 'b', 'o'});
settings.settings.font_region.Assign(0);
settings.init_date = GetAmiiboDate(GetCurrentPosixTime());
- stubbed_tag_data.owner_mii = manager.BuildFromStoreData(manager.BuildDefault(0));
+ store_data.BuildBase(Mii::Gender::Male);
+ stubbed_tag_data.owner_mii.BuildFromStoreData(store_data);
// Admin info
settings.settings.amiibo_initialized.Assign(1);
diff --git a/src/core/hle/service/nfp/nfp_types.h b/src/core/hle/service/nfp/nfp_types.h
index aed12a7f8..f96d21220 100644
--- a/src/core/hle/service/nfp/nfp_types.h
+++ b/src/core/hle/service/nfp/nfp_types.h
@@ -6,7 +6,9 @@
#include <array>
#include "common/swap.h"
-#include "core/hle/service/mii/types.h"
+#include "core/hle/service/mii/types/char_info.h"
+#include "core/hle/service/mii/types/store_data.h"
+#include "core/hle/service/mii/types/ver3_store_data.h"
#include "core/hle/service/nfc/nfc_types.h"
namespace Service::NFP {
@@ -322,7 +324,7 @@ static_assert(sizeof(RegisterInfo) == 0x100, "RegisterInfo is an invalid size");
// This is nn::nfp::RegisterInfoPrivate
struct RegisterInfoPrivate {
- Service::Mii::MiiStoreData mii_store_data;
+ Service::Mii::StoreData mii_store_data;
WriteDate creation_date;
AmiiboName amiibo_name;
u8 font_region;
diff --git a/src/core/hle/service/ngc/ngc.cpp b/src/core/hle/service/ngc/ngc.cpp
new file mode 100644
index 000000000..c26019ec0
--- /dev/null
+++ b/src/core/hle/service/ngc/ngc.cpp
@@ -0,0 +1,150 @@
+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "common/string_util.h"
+#include "core/core.h"
+#include "core/hle/service/ipc_helpers.h"
+#include "core/hle/service/ngc/ngc.h"
+#include "core/hle/service/server_manager.h"
+#include "core/hle/service/service.h"
+
+namespace Service::NGC {
+
+class NgctServiceImpl final : public ServiceFramework<NgctServiceImpl> {
+public:
+ explicit NgctServiceImpl(Core::System& system_) : ServiceFramework{system_, "ngct:u"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, &NgctServiceImpl::Match, "Match"},
+ {1, &NgctServiceImpl::Filter, "Filter"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+ }
+
+private:
+ void Match(HLERequestContext& ctx) {
+ const auto buffer = ctx.ReadBuffer();
+ const auto text = Common::StringFromFixedZeroTerminatedBuffer(
+ reinterpret_cast<const char*>(buffer.data()), buffer.size());
+
+ LOG_WARNING(Service_NGC, "(STUBBED) called, text={}", text);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ // Return false since we don't censor anything
+ rb.Push(false);
+ }
+
+ void Filter(HLERequestContext& ctx) {
+ const auto buffer = ctx.ReadBuffer();
+ const auto text = Common::StringFromFixedZeroTerminatedBuffer(
+ reinterpret_cast<const char*>(buffer.data()), buffer.size());
+
+ LOG_WARNING(Service_NGC, "(STUBBED) called, text={}", text);
+
+ // Return the same string since we don't censor anything
+ ctx.WriteBuffer(buffer);
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+ }
+};
+
+class NgcServiceImpl final : public ServiceFramework<NgcServiceImpl> {
+public:
+ explicit NgcServiceImpl(Core::System& system_) : ServiceFramework(system_, "ngc:u") {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, &NgcServiceImpl::GetContentVersion, "GetContentVersion"},
+ {1, &NgcServiceImpl::Check, "Check"},
+ {2, &NgcServiceImpl::Mask, "Mask"},
+ {3, &NgcServiceImpl::Reload, "Reload"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+ }
+
+private:
+ static constexpr u32 NgcContentVersion = 1;
+
+ // This is nn::ngc::detail::ProfanityFilterOption
+ struct ProfanityFilterOption {
+ INSERT_PADDING_BYTES_NOINIT(0x20);
+ };
+ static_assert(sizeof(ProfanityFilterOption) == 0x20,
+ "ProfanityFilterOption has incorrect size");
+
+ void GetContentVersion(HLERequestContext& ctx) {
+ LOG_INFO(Service_NGC, "(STUBBED) called");
+
+ // This calls nn::ngc::ProfanityFilter::GetContentVersion
+ const u32 version = NgcContentVersion;
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(version);
+ }
+
+ void Check(HLERequestContext& ctx) {
+ LOG_INFO(Service_NGC, "(STUBBED) called");
+
+ struct InputParameters {
+ u32 flags;
+ ProfanityFilterOption option;
+ };
+
+ IPC::RequestParser rp{ctx};
+ [[maybe_unused]] const auto params = rp.PopRaw<InputParameters>();
+ [[maybe_unused]] const auto input = ctx.ReadBuffer(0);
+
+ // This calls nn::ngc::ProfanityFilter::CheckProfanityWords
+ const u32 out_flags = 0;
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(out_flags);
+ }
+
+ void Mask(HLERequestContext& ctx) {
+ LOG_INFO(Service_NGC, "(STUBBED) called");
+
+ struct InputParameters {
+ u32 flags;
+ ProfanityFilterOption option;
+ };
+
+ IPC::RequestParser rp{ctx};
+ [[maybe_unused]] const auto params = rp.PopRaw<InputParameters>();
+ const auto input = ctx.ReadBuffer(0);
+
+ // This calls nn::ngc::ProfanityFilter::MaskProfanityWordsInText
+ const u32 out_flags = 0;
+ ctx.WriteBuffer(input);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(out_flags);
+ }
+
+ void Reload(HLERequestContext& ctx) {
+ LOG_INFO(Service_NGC, "(STUBBED) called");
+
+ // This reloads the database.
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+ }
+};
+
+void LoopProcess(Core::System& system) {
+ auto server_manager = std::make_unique<ServerManager>(system);
+
+ server_manager->RegisterNamedService("ngct:u", std::make_shared<NgctServiceImpl>(system));
+ server_manager->RegisterNamedService("ngc:u", std::make_shared<NgcServiceImpl>(system));
+ ServerManager::RunServer(std::move(server_manager));
+}
+
+} // namespace Service::NGC
diff --git a/src/core/hle/service/ngct/ngct.h b/src/core/hle/service/ngc/ngc.h
index 27c34dad4..823b1aa81 100644
--- a/src/core/hle/service/ngct/ngct.h
+++ b/src/core/hle/service/ngc/ngc.h
@@ -7,8 +7,8 @@ namespace Core {
class System;
}
-namespace Service::NGCT {
+namespace Service::NGC {
void LoopProcess(Core::System& system);
-} // namespace Service::NGCT
+} // namespace Service::NGC
diff --git a/src/core/hle/service/ngct/ngct.cpp b/src/core/hle/service/ngct/ngct.cpp
deleted file mode 100644
index 493c80ed2..000000000
--- a/src/core/hle/service/ngct/ngct.cpp
+++ /dev/null
@@ -1,62 +0,0 @@
-// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include "common/string_util.h"
-#include "core/core.h"
-#include "core/hle/service/ipc_helpers.h"
-#include "core/hle/service/ngct/ngct.h"
-#include "core/hle/service/server_manager.h"
-#include "core/hle/service/service.h"
-
-namespace Service::NGCT {
-
-class IService final : public ServiceFramework<IService> {
-public:
- explicit IService(Core::System& system_) : ServiceFramework{system_, "ngct:u"} {
- // clang-format off
- static const FunctionInfo functions[] = {
- {0, &IService::Match, "Match"},
- {1, &IService::Filter, "Filter"},
- };
- // clang-format on
-
- RegisterHandlers(functions);
- }
-
-private:
- void Match(HLERequestContext& ctx) {
- const auto buffer = ctx.ReadBuffer();
- const auto text = Common::StringFromFixedZeroTerminatedBuffer(
- reinterpret_cast<const char*>(buffer.data()), buffer.size());
-
- LOG_WARNING(Service_NGCT, "(STUBBED) called, text={}", text);
-
- IPC::ResponseBuilder rb{ctx, 3};
- rb.Push(ResultSuccess);
- // Return false since we don't censor anything
- rb.Push(false);
- }
-
- void Filter(HLERequestContext& ctx) {
- const auto buffer = ctx.ReadBuffer();
- const auto text = Common::StringFromFixedZeroTerminatedBuffer(
- reinterpret_cast<const char*>(buffer.data()), buffer.size());
-
- LOG_WARNING(Service_NGCT, "(STUBBED) called, text={}", text);
-
- // Return the same string since we don't censor anything
- ctx.WriteBuffer(buffer);
-
- IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(ResultSuccess);
- }
-};
-
-void LoopProcess(Core::System& system) {
- auto server_manager = std::make_unique<ServerManager>(system);
-
- server_manager->RegisterNamedService("ngct:u", std::make_shared<IService>(system));
- ServerManager::RunServer(std::move(server_manager));
-}
-
-} // namespace Service::NGCT
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp
index 21b06d10b..22dc55a6d 100644
--- a/src/core/hle/service/nifm/nifm.cpp
+++ b/src/core/hle/service/nifm/nifm.cpp
@@ -545,6 +545,16 @@ void IGeneralService::IsAnyInternetRequestAccepted(HLERequestContext& ctx) {
}
}
+void IGeneralService::IsAnyForegroundRequestAccepted(HLERequestContext& ctx) {
+ const bool is_accepted{};
+
+ LOG_WARNING(Service_NIFM, "(STUBBED) called, is_accepted={}", is_accepted);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push<u8>(is_accepted);
+}
+
IGeneralService::IGeneralService(Core::System& system_)
: ServiceFramework{system_, "IGeneralService"}, network{system_.GetRoomNetwork()} {
// clang-format off
@@ -569,7 +579,7 @@ IGeneralService::IGeneralService(Core::System& system_)
{19, nullptr, "SetEthernetCommunicationEnabled"},
{20, &IGeneralService::IsEthernetCommunicationEnabled, "IsEthernetCommunicationEnabled"},
{21, &IGeneralService::IsAnyInternetRequestAccepted, "IsAnyInternetRequestAccepted"},
- {22, nullptr, "IsAnyForegroundRequestAccepted"},
+ {22, &IGeneralService::IsAnyForegroundRequestAccepted, "IsAnyForegroundRequestAccepted"},
{23, nullptr, "PutToSleep"},
{24, nullptr, "WakeUp"},
{25, nullptr, "GetSsidListVersion"},
diff --git a/src/core/hle/service/nifm/nifm.h b/src/core/hle/service/nifm/nifm.h
index ae99c4695..b74b66438 100644
--- a/src/core/hle/service/nifm/nifm.h
+++ b/src/core/hle/service/nifm/nifm.h
@@ -35,6 +35,7 @@ private:
void GetInternetConnectionStatus(HLERequestContext& ctx);
void IsEthernetCommunicationEnabled(HLERequestContext& ctx);
void IsAnyInternetRequestAccepted(HLERequestContext& ctx);
+ void IsAnyForegroundRequestAccepted(HLERequestContext& ctx);
Network::RoomNetwork& network;
};
diff --git a/src/core/hle/service/ns/iplatform_service_manager.cpp b/src/core/hle/service/ns/iplatform_service_manager.cpp
index 6c2f5e70b..46268be95 100644
--- a/src/core/hle/service/ns/iplatform_service_manager.cpp
+++ b/src/core/hle/service/ns/iplatform_service_manager.cpp
@@ -144,7 +144,7 @@ IPlatformServiceManager::IPlatformServiceManager(Core::System& system_, const ch
{3, &IPlatformServiceManager::GetSharedMemoryAddressOffset, "GetSharedMemoryAddressOffset"},
{4, &IPlatformServiceManager::GetSharedMemoryNativeHandle, "GetSharedMemoryNativeHandle"},
{5, &IPlatformServiceManager::GetSharedFontInOrderOfPriority, "GetSharedFontInOrderOfPriority"},
- {6, nullptr, "GetSharedFontInOrderOfPriorityForSystem"},
+ {6, &IPlatformServiceManager::GetSharedFontInOrderOfPriority, "GetSharedFontInOrderOfPriorityForSystem"},
{100, nullptr, "RequestApplicationFunctionAuthorization"},
{101, nullptr, "RequestApplicationFunctionAuthorizationByProcessId"},
{102, nullptr, "RequestApplicationFunctionAuthorizationByApplicationId"},
@@ -262,8 +262,17 @@ void IPlatformServiceManager::GetSharedMemoryNativeHandle(HLERequestContext& ctx
}
void IPlatformServiceManager::GetSharedFontInOrderOfPriority(HLERequestContext& ctx) {
+ // The maximum number of elements that can be returned is 6. Regardless of the available fonts
+ // or buffer size.
+ constexpr std::size_t MaxElementCount = 6;
IPC::RequestParser rp{ctx};
const u64 language_code{rp.Pop<u64>()}; // TODO(ogniK): Find out what this is used for
+ const std::size_t font_codes_count =
+ std::min(MaxElementCount, ctx.GetWriteBufferNumElements<u32>(0));
+ const std::size_t font_offsets_count =
+ std::min(MaxElementCount, ctx.GetWriteBufferNumElements<u32>(1));
+ const std::size_t font_sizes_count =
+ std::min(MaxElementCount, ctx.GetWriteBufferNumElements<u32>(2));
LOG_DEBUG(Service_NS, "called, language_code={:X}", language_code);
IPC::ResponseBuilder rb{ctx, 4};
@@ -280,9 +289,9 @@ void IPlatformServiceManager::GetSharedFontInOrderOfPriority(HLERequestContext&
}
// Resize buffers if game requests smaller size output
- font_codes.resize(std::min(font_codes.size(), ctx.GetWriteBufferNumElements<u32>(0)));
- font_offsets.resize(std::min(font_offsets.size(), ctx.GetWriteBufferNumElements<u32>(1)));
- font_sizes.resize(std::min(font_sizes.size(), ctx.GetWriteBufferNumElements<u32>(2)));
+ font_codes.resize(std::min(font_codes.size(), font_codes_count));
+ font_offsets.resize(std::min(font_offsets.size(), font_offsets_count));
+ font_sizes.resize(std::min(font_sizes.size(), font_sizes_count));
ctx.WriteBuffer(font_codes, 0);
ctx.WriteBuffer(font_offsets, 1);
diff --git a/src/core/hle/service/ns/ns.cpp b/src/core/hle/service/ns/ns.cpp
index 376067a95..f9e0e272d 100644
--- a/src/core/hle/service/ns/ns.cpp
+++ b/src/core/hle/service/ns/ns.cpp
@@ -7,6 +7,7 @@
#include "core/file_sys/control_metadata.h"
#include "core/file_sys/patch_manager.h"
#include "core/file_sys/vfs.h"
+#include "core/hle/service/filesystem/filesystem.h"
#include "core/hle/service/glue/glue_manager.h"
#include "core/hle/service/ipc_helpers.h"
#include "core/hle/service/ns/errors.h"
@@ -392,24 +393,25 @@ void IApplicationManagerInterface::GetApplicationDesiredLanguage(HLERequestConte
IPC::RequestParser rp{ctx};
const auto supported_languages = rp.Pop<u32>();
- const auto res = GetApplicationDesiredLanguage(supported_languages);
- if (res.Succeeded()) {
+ u8 desired_language{};
+ const auto res = GetApplicationDesiredLanguage(&desired_language, supported_languages);
+ if (res == ResultSuccess) {
IPC::ResponseBuilder rb{ctx, 3};
rb.Push(ResultSuccess);
- rb.Push<u32>(*res);
+ rb.Push<u32>(desired_language);
} else {
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(res.Code());
+ rb.Push(res);
}
}
-ResultVal<u8> IApplicationManagerInterface::GetApplicationDesiredLanguage(
- const u32 supported_languages) {
+Result IApplicationManagerInterface::GetApplicationDesiredLanguage(u8* out_desired_language,
+ const u32 supported_languages) {
LOG_DEBUG(Service_NS, "called with supported_languages={:08X}", supported_languages);
// Get language code from settings
const auto language_code =
- Set::GetLanguageCodeFromIndex(Settings::values.language_index.GetValue());
+ Set::GetLanguageCodeFromIndex(static_cast<s32>(Settings::values.language_index.GetValue()));
// Convert to application language, get priority list
const auto application_language = ConvertToApplicationLanguage(language_code);
@@ -430,7 +432,8 @@ ResultVal<u8> IApplicationManagerInterface::GetApplicationDesiredLanguage(
for (const auto lang : *priority_list) {
const auto supported_flag = GetSupportedLanguageFlag(lang);
if (supported_languages == 0 || (supported_languages & supported_flag) == supported_flag) {
- return static_cast<u8>(lang);
+ *out_desired_language = static_cast<u8>(lang);
+ return ResultSuccess;
}
}
@@ -444,19 +447,20 @@ void IApplicationManagerInterface::ConvertApplicationLanguageToLanguageCode(
IPC::RequestParser rp{ctx};
const auto application_language = rp.Pop<u8>();
- const auto res = ConvertApplicationLanguageToLanguageCode(application_language);
- if (res.Succeeded()) {
+ u64 language_code{};
+ const auto res = ConvertApplicationLanguageToLanguageCode(&language_code, application_language);
+ if (res == ResultSuccess) {
IPC::ResponseBuilder rb{ctx, 4};
rb.Push(ResultSuccess);
- rb.Push(*res);
+ rb.Push(language_code);
} else {
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(res.Code());
+ rb.Push(res);
}
}
-ResultVal<u64> IApplicationManagerInterface::ConvertApplicationLanguageToLanguageCode(
- u8 application_language) {
+Result IApplicationManagerInterface::ConvertApplicationLanguageToLanguageCode(
+ u64* out_language_code, u8 application_language) {
const auto language_code =
ConvertToLanguageCode(static_cast<ApplicationLanguage>(application_language));
if (language_code == std::nullopt) {
@@ -464,7 +468,8 @@ ResultVal<u64> IApplicationManagerInterface::ConvertApplicationLanguageToLanguag
return Service::NS::ResultApplicationLanguageNotFound;
}
- return static_cast<u64>(*language_code);
+ *out_language_code = static_cast<u64>(*language_code);
+ return ResultSuccess;
}
IApplicationVersionInterface::IApplicationVersionInterface(Core::System& system_)
@@ -498,8 +503,8 @@ IContentManagementInterface::IContentManagementInterface(Core::System& system_)
static const FunctionInfo functions[] = {
{11, nullptr, "CalculateApplicationOccupiedSize"},
{43, nullptr, "CheckSdCardMountStatus"},
- {47, nullptr, "GetTotalSpaceSize"},
- {48, nullptr, "GetFreeSpaceSize"},
+ {47, &IContentManagementInterface::GetTotalSpaceSize, "GetTotalSpaceSize"},
+ {48, &IContentManagementInterface::GetFreeSpaceSize, "GetFreeSpaceSize"},
{600, nullptr, "CountApplicationContentMeta"},
{601, nullptr, "ListApplicationContentMetaStatus"},
{605, nullptr, "ListApplicationContentMetaStatusWithRightsCheck"},
@@ -512,6 +517,28 @@ IContentManagementInterface::IContentManagementInterface(Core::System& system_)
IContentManagementInterface::~IContentManagementInterface() = default;
+void IContentManagementInterface::GetTotalSpaceSize(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto storage{rp.PopEnum<FileSys::StorageId>()};
+
+ LOG_INFO(Service_Capture, "called, storage={}", storage);
+
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(ResultSuccess);
+ rb.Push<u64>(system.GetFileSystemController().GetTotalSpaceSize(storage));
+}
+
+void IContentManagementInterface::GetFreeSpaceSize(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const auto storage{rp.PopEnum<FileSys::StorageId>()};
+
+ LOG_INFO(Service_Capture, "called, storage={}", storage);
+
+ IPC::ResponseBuilder rb{ctx, 4};
+ rb.Push(ResultSuccess);
+ rb.Push<u64>(system.GetFileSystemController().GetFreeSpaceSize(storage));
+}
+
IDocumentInterface::IDocumentInterface(Core::System& system_)
: ServiceFramework{system_, "IDocumentInterface"} {
// clang-format off
@@ -618,12 +645,13 @@ void IReadOnlyApplicationControlDataInterface::GetApplicationControlData(HLERequ
static_assert(sizeof(RequestParameters) == 0x10, "RequestParameters has incorrect size.");
IPC::RequestParser rp{ctx};
+ std::vector<u8> nacp_data{};
const auto parameters{rp.PopRaw<RequestParameters>()};
- const auto nacp_data{system.GetARPManager().GetControlProperty(parameters.application_id)};
- const auto result = nacp_data ? ResultSuccess : ResultUnknown;
+ const auto result =
+ system.GetARPManager().GetControlProperty(&nacp_data, parameters.application_id);
- if (nacp_data) {
- ctx.WriteBuffer(nacp_data->data(), nacp_data->size());
+ if (result == ResultSuccess) {
+ ctx.WriteBuffer(nacp_data.data(), nacp_data.size());
}
IPC::ResponseBuilder rb{ctx, 2};
diff --git a/src/core/hle/service/ns/ns.h b/src/core/hle/service/ns/ns.h
index 203388e1f..34d2a45dc 100644
--- a/src/core/hle/service/ns/ns.h
+++ b/src/core/hle/service/ns/ns.h
@@ -28,8 +28,9 @@ public:
explicit IApplicationManagerInterface(Core::System& system_);
~IApplicationManagerInterface() override;
- ResultVal<u8> GetApplicationDesiredLanguage(u32 supported_languages);
- ResultVal<u64> ConvertApplicationLanguageToLanguageCode(u8 application_language);
+ Result GetApplicationDesiredLanguage(u8* out_desired_language, u32 supported_languages);
+ Result ConvertApplicationLanguageToLanguageCode(u64* out_language_code,
+ u8 application_language);
private:
void GetApplicationControlData(HLERequestContext& ctx);
@@ -47,6 +48,10 @@ class IContentManagementInterface final : public ServiceFramework<IContentManage
public:
explicit IContentManagementInterface(Core::System& system_);
~IContentManagementInterface() override;
+
+private:
+ void GetTotalSpaceSize(HLERequestContext& ctx);
+ void GetFreeSpaceSize(HLERequestContext& ctx);
};
class IDocumentInterface final : public ServiceFramework<IDocumentInterface> {
diff --git a/src/core/hle/service/nvdrv/core/nvmap.cpp b/src/core/hle/service/nvdrv/core/nvmap.cpp
index a51ca5444..0ca05257e 100644
--- a/src/core/hle/service/nvdrv/core/nvmap.cpp
+++ b/src/core/hle/service/nvdrv/core/nvmap.cpp
@@ -160,8 +160,8 @@ u32 NvMap::PinHandle(NvMap::Handle::Id handle) {
u32 address{};
auto& smmu_allocator = host1x.Allocator();
auto& smmu_memory_manager = host1x.MemoryManager();
- while (!(address =
- smmu_allocator.Allocate(static_cast<u32>(handle_description->aligned_size)))) {
+ while ((address = smmu_allocator.Allocate(
+ static_cast<u32>(handle_description->aligned_size))) == 0) {
// Free handles until the allocation succeeds
std::scoped_lock queueLock(unmap_queue_lock);
if (auto freeHandleDesc{unmap_queue.front()}) {
diff --git a/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp
index 07e570a9f..7d7bb8687 100644
--- a/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp
+++ b/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp
@@ -204,9 +204,11 @@ void nvhost_as_gpu::FreeMappingLocked(u64 offset) {
if (!mapping->fixed) {
auto& allocator{mapping->big_page ? *vm.big_page_allocator : *vm.small_page_allocator};
u32 page_size_bits{mapping->big_page ? vm.big_page_size_bits : VM::PAGE_SIZE_BITS};
+ u32 page_size{mapping->big_page ? vm.big_page_size : VM::YUZU_PAGESIZE};
+ u64 aligned_size{Common::AlignUp(mapping->size, page_size)};
allocator.Free(static_cast<u32>(mapping->offset >> page_size_bits),
- static_cast<u32>(mapping->size >> page_size_bits));
+ static_cast<u32>(aligned_size >> page_size_bits));
}
// Sparse mappings shouldn't be fully unmapped, just returned to their sparse state
diff --git a/src/core/hle/service/nvdrv/devices/nvmap.h b/src/core/hle/service/nvdrv/devices/nvmap.h
index 40c65b430..4c0cc71cd 100644
--- a/src/core/hle/service/nvdrv/devices/nvmap.h
+++ b/src/core/hle/service/nvdrv/devices/nvmap.h
@@ -45,13 +45,6 @@ public:
IsSharedMemMapped = 6
};
-private:
- /// Id to use for the next handle that is created.
- u32 next_handle = 0;
-
- /// Id to use for the next object that is created.
- u32 next_id = 0;
-
struct IocCreateParams {
// Input
u32_le size{};
@@ -113,6 +106,13 @@ private:
NvResult IocParam(std::span<const u8> input, std::span<u8> output);
NvResult IocFree(std::span<const u8> input, std::span<u8> output);
+private:
+ /// Id to use for the next handle that is created.
+ u32 next_handle = 0;
+
+ /// Id to use for the next object that is created.
+ u32 next_id = 0;
+
NvCore::Container& container;
NvCore::NvMap& file;
};
diff --git a/src/core/hle/service/nvnflinger/buffer_item.h b/src/core/hle/service/nvnflinger/buffer_item.h
index 7fd808f54..3da8cc3aa 100644
--- a/src/core/hle/service/nvnflinger/buffer_item.h
+++ b/src/core/hle/service/nvnflinger/buffer_item.h
@@ -15,7 +15,7 @@
namespace Service::android {
-class GraphicBuffer;
+struct GraphicBuffer;
class BufferItem final {
public:
diff --git a/src/core/hle/service/nvnflinger/buffer_queue_producer.cpp b/src/core/hle/service/nvnflinger/buffer_queue_producer.cpp
index b16f9933f..dc6917d5d 100644
--- a/src/core/hle/service/nvnflinger/buffer_queue_producer.cpp
+++ b/src/core/hle/service/nvnflinger/buffer_queue_producer.cpp
@@ -449,6 +449,7 @@ Status BufferQueueProducer::QueueBuffer(s32 slot, const QueueBufferInput& input,
case NativeWindowScalingMode::ScaleToWindow:
case NativeWindowScalingMode::ScaleCrop:
case NativeWindowScalingMode::NoScaleCrop:
+ case NativeWindowScalingMode::PreserveAspectRatio:
break;
default:
LOG_ERROR(Service_Nvnflinger, "unknown scaling mode {}", scaling_mode);
diff --git a/src/core/hle/service/nvnflinger/buffer_slot.h b/src/core/hle/service/nvnflinger/buffer_slot.h
index d25bca049..d8c9dec3b 100644
--- a/src/core/hle/service/nvnflinger/buffer_slot.h
+++ b/src/core/hle/service/nvnflinger/buffer_slot.h
@@ -13,7 +13,7 @@
namespace Service::android {
-class GraphicBuffer;
+struct GraphicBuffer;
enum class BufferState : u32 {
Free = 0,
diff --git a/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp b/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp
new file mode 100644
index 000000000..469a53244
--- /dev/null
+++ b/src/core/hle/service/nvnflinger/fb_share_buffer_manager.cpp
@@ -0,0 +1,351 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include <random>
+
+#include "core/core.h"
+#include "core/hle/kernel/k_process.h"
+#include "core/hle/kernel/k_system_resource.h"
+#include "core/hle/service/nvdrv/devices/nvmap.h"
+#include "core/hle/service/nvdrv/nvdrv.h"
+#include "core/hle/service/nvnflinger/buffer_queue_producer.h"
+#include "core/hle/service/nvnflinger/fb_share_buffer_manager.h"
+#include "core/hle/service/nvnflinger/pixel_format.h"
+#include "core/hle/service/nvnflinger/ui/graphic_buffer.h"
+#include "core/hle/service/vi/layer/vi_layer.h"
+#include "core/hle/service/vi/vi_results.h"
+
+namespace Service::Nvnflinger {
+
+namespace {
+
+Result AllocateIoForProcessAddressSpace(Common::ProcessAddress* out_map_address,
+ std::unique_ptr<Kernel::KPageGroup>* out_page_group,
+ Core::System& system, u32 size) {
+ using Core::Memory::YUZU_PAGESIZE;
+
+ // Allocate memory for the system shared buffer.
+ // FIXME: Because the gmmu can only point to cpu addresses, we need
+ // to map this in the application space to allow it to be used.
+ // FIXME: Add proper smmu emulation.
+ // FIXME: This memory belongs to vi's .data section.
+ auto& kernel = system.Kernel();
+ auto* process = system.ApplicationProcess();
+ auto& page_table = process->GetPageTable();
+
+ // Hold a temporary page group reference while we try to map it.
+ auto pg = std::make_unique<Kernel::KPageGroup>(
+ kernel, std::addressof(kernel.GetSystemSystemResource().GetBlockInfoManager()));
+
+ // Allocate memory from secure pool.
+ R_TRY(kernel.MemoryManager().AllocateAndOpen(
+ pg.get(), size / YUZU_PAGESIZE,
+ Kernel::KMemoryManager::EncodeOption(Kernel::KMemoryManager::Pool::Secure,
+ Kernel::KMemoryManager::Direction::FromBack)));
+
+ // Get bounds of where mapping is possible.
+ const VAddr alias_code_begin = GetInteger(page_table.GetAliasCodeRegionStart());
+ const VAddr alias_code_size = page_table.GetAliasCodeRegionSize() / YUZU_PAGESIZE;
+ const auto state = Kernel::KMemoryState::Io;
+ const auto perm = Kernel::KMemoryPermission::UserReadWrite;
+ std::mt19937_64 rng{process->GetRandomEntropy(0)};
+
+ // Retry up to 64 times to map into alias code range.
+ Result res = ResultSuccess;
+ int i;
+ for (i = 0; i < 64; i++) {
+ *out_map_address = alias_code_begin + ((rng() % alias_code_size) * YUZU_PAGESIZE);
+ res = page_table.MapPageGroup(*out_map_address, *pg, state, perm);
+ if (R_SUCCEEDED(res)) {
+ break;
+ }
+ }
+
+ // Return failure, if necessary
+ R_UNLESS(i < 64, res);
+
+ // Return the mapped page group.
+ *out_page_group = std::move(pg);
+
+ // We succeeded.
+ R_SUCCEED();
+}
+
+template <typename T>
+std::span<u8> SerializeIoc(T& params) {
+ return std::span(reinterpret_cast<u8*>(std::addressof(params)), sizeof(T));
+}
+
+Result CreateNvMapHandle(u32* out_nv_map_handle, Nvidia::Devices::nvmap& nvmap, u32 size) {
+ // Create a handle.
+ Nvidia::Devices::nvmap::IocCreateParams create_in_params{
+ .size = size,
+ .handle = 0,
+ };
+ Nvidia::Devices::nvmap::IocCreateParams create_out_params{};
+ R_UNLESS(nvmap.IocCreate(SerializeIoc(create_in_params), SerializeIoc(create_out_params)) ==
+ Nvidia::NvResult::Success,
+ VI::ResultOperationFailed);
+
+ // Assign the output handle.
+ *out_nv_map_handle = create_out_params.handle;
+
+ // We succeeded.
+ R_SUCCEED();
+}
+
+Result FreeNvMapHandle(Nvidia::Devices::nvmap& nvmap, u32 handle) {
+ // Free the handle.
+ Nvidia::Devices::nvmap::IocFreeParams free_in_params{
+ .handle = handle,
+ };
+ Nvidia::Devices::nvmap::IocFreeParams free_out_params{};
+ R_UNLESS(nvmap.IocFree(SerializeIoc(free_in_params), SerializeIoc(free_out_params)) ==
+ Nvidia::NvResult::Success,
+ VI::ResultOperationFailed);
+
+ // We succeeded.
+ R_SUCCEED();
+}
+
+Result AllocNvMapHandle(Nvidia::Devices::nvmap& nvmap, u32 handle, Common::ProcessAddress buffer,
+ u32 size) {
+ // Assign the allocated memory to the handle.
+ Nvidia::Devices::nvmap::IocAllocParams alloc_in_params{
+ .handle = handle,
+ .heap_mask = 0,
+ .flags = {},
+ .align = 0,
+ .kind = 0,
+ .address = GetInteger(buffer),
+ };
+ Nvidia::Devices::nvmap::IocAllocParams alloc_out_params{};
+ R_UNLESS(nvmap.IocAlloc(SerializeIoc(alloc_in_params), SerializeIoc(alloc_out_params)) ==
+ Nvidia::NvResult::Success,
+ VI::ResultOperationFailed);
+
+ // We succeeded.
+ R_SUCCEED();
+}
+
+Result AllocateHandleForBuffer(u32* out_handle, Nvidia::Module& nvdrv,
+ Common::ProcessAddress buffer, u32 size) {
+ // Get the nvmap device.
+ auto nvmap_fd = nvdrv.Open("/dev/nvmap");
+ auto nvmap = nvdrv.GetDevice<Nvidia::Devices::nvmap>(nvmap_fd);
+ ASSERT(nvmap != nullptr);
+
+ // Create a handle.
+ R_TRY(CreateNvMapHandle(out_handle, *nvmap, size));
+
+ // Ensure we maintain a clean state on failure.
+ ON_RESULT_FAILURE {
+ ASSERT(R_SUCCEEDED(FreeNvMapHandle(*nvmap, *out_handle)));
+ };
+
+ // Assign the allocated memory to the handle.
+ R_RETURN(AllocNvMapHandle(*nvmap, *out_handle, buffer, size));
+}
+
+constexpr auto SharedBufferBlockLinearFormat = android::PixelFormat::Rgba8888;
+constexpr u32 SharedBufferBlockLinearBpp = 4;
+
+constexpr u32 SharedBufferBlockLinearWidth = 1280;
+constexpr u32 SharedBufferBlockLinearHeight = 768;
+constexpr u32 SharedBufferBlockLinearStride =
+ SharedBufferBlockLinearWidth * SharedBufferBlockLinearBpp;
+constexpr u32 SharedBufferNumSlots = 7;
+
+constexpr u32 SharedBufferWidth = 1280;
+constexpr u32 SharedBufferHeight = 720;
+constexpr u32 SharedBufferAsync = false;
+
+constexpr u32 SharedBufferSlotSize =
+ SharedBufferBlockLinearWidth * SharedBufferBlockLinearHeight * SharedBufferBlockLinearBpp;
+constexpr u32 SharedBufferSize = SharedBufferSlotSize * SharedBufferNumSlots;
+
+constexpr SharedMemoryPoolLayout SharedBufferPoolLayout = [] {
+ SharedMemoryPoolLayout layout{};
+ layout.num_slots = SharedBufferNumSlots;
+
+ for (u32 i = 0; i < SharedBufferNumSlots; i++) {
+ layout.slots[i].buffer_offset = i * SharedBufferSlotSize;
+ layout.slots[i].size = SharedBufferSlotSize;
+ layout.slots[i].width = SharedBufferWidth;
+ layout.slots[i].height = SharedBufferHeight;
+ }
+
+ return layout;
+}();
+
+void MakeGraphicBuffer(android::BufferQueueProducer& producer, u32 slot, u32 handle) {
+ auto buffer = std::make_shared<android::GraphicBuffer>();
+ buffer->width = SharedBufferWidth;
+ buffer->height = SharedBufferHeight;
+ buffer->stride = SharedBufferBlockLinearStride;
+ buffer->format = SharedBufferBlockLinearFormat;
+ buffer->buffer_id = handle;
+ buffer->offset = slot * SharedBufferSlotSize;
+ ASSERT(producer.SetPreallocatedBuffer(slot, buffer) == android::Status::NoError);
+}
+
+} // namespace
+
+FbShareBufferManager::FbShareBufferManager(Core::System& system, Nvnflinger& flinger,
+ std::shared_ptr<Nvidia::Module> nvdrv)
+ : m_system(system), m_flinger(flinger), m_nvdrv(std::move(nvdrv)) {}
+
+FbShareBufferManager::~FbShareBufferManager() = default;
+
+Result FbShareBufferManager::Initialize(u64* out_buffer_id, u64* out_layer_id, u64 display_id) {
+ std::scoped_lock lk{m_guard};
+
+ // Ensure we have not already created a buffer.
+ R_UNLESS(m_buffer_id == 0, VI::ResultOperationFailed);
+
+ // Allocate memory and space for the shared buffer.
+ Common::ProcessAddress map_address;
+ R_TRY(AllocateIoForProcessAddressSpace(std::addressof(map_address),
+ std::addressof(m_buffer_page_group), m_system,
+ SharedBufferSize));
+
+ // Create an nvmap handle for the buffer and assign the memory to it.
+ R_TRY(AllocateHandleForBuffer(std::addressof(m_buffer_nvmap_handle), *m_nvdrv, map_address,
+ SharedBufferSize));
+
+ // Record the display id.
+ m_display_id = display_id;
+
+ // Create a layer for the display.
+ m_layer_id = m_flinger.CreateLayer(m_display_id).value();
+
+ // Set up the buffer.
+ m_buffer_id = m_next_buffer_id++;
+
+ // Get the layer.
+ VI::Layer* layer = m_flinger.FindLayer(m_display_id, m_layer_id);
+ ASSERT(layer != nullptr);
+
+ // Get the producer and set preallocated buffers.
+ auto& producer = layer->GetBufferQueue();
+ MakeGraphicBuffer(producer, 0, m_buffer_nvmap_handle);
+ MakeGraphicBuffer(producer, 1, m_buffer_nvmap_handle);
+
+ // Assign outputs.
+ *out_buffer_id = m_buffer_id;
+ *out_layer_id = m_layer_id;
+
+ // We succeeded.
+ R_SUCCEED();
+}
+
+Result FbShareBufferManager::GetSharedBufferMemoryHandleId(u64* out_buffer_size,
+ s32* out_nvmap_handle,
+ SharedMemoryPoolLayout* out_pool_layout,
+ u64 buffer_id,
+ u64 applet_resource_user_id) {
+ std::scoped_lock lk{m_guard};
+
+ R_UNLESS(m_buffer_id > 0, VI::ResultNotFound);
+ R_UNLESS(buffer_id == m_buffer_id, VI::ResultNotFound);
+
+ *out_pool_layout = SharedBufferPoolLayout;
+ *out_buffer_size = SharedBufferSize;
+ *out_nvmap_handle = m_buffer_nvmap_handle;
+
+ R_SUCCEED();
+}
+
+Result FbShareBufferManager::GetLayerFromId(VI::Layer** out_layer, u64 layer_id) {
+ // Ensure the layer id is valid.
+ R_UNLESS(m_layer_id > 0 && layer_id == m_layer_id, VI::ResultNotFound);
+
+ // Get the layer.
+ VI::Layer* layer = m_flinger.FindLayer(m_display_id, layer_id);
+ R_UNLESS(layer != nullptr, VI::ResultNotFound);
+
+ // We succeeded.
+ *out_layer = layer;
+ R_SUCCEED();
+}
+
+Result FbShareBufferManager::AcquireSharedFrameBuffer(android::Fence* out_fence,
+ std::array<s32, 4>& out_slot_indexes,
+ s64* out_target_slot, u64 layer_id) {
+ std::scoped_lock lk{m_guard};
+
+ // Get the layer.
+ VI::Layer* layer;
+ R_TRY(this->GetLayerFromId(std::addressof(layer), layer_id));
+
+ // Get the producer.
+ auto& producer = layer->GetBufferQueue();
+
+ // Get the next buffer from the producer.
+ s32 slot;
+ R_UNLESS(producer.DequeueBuffer(std::addressof(slot), out_fence, SharedBufferAsync != 0,
+ SharedBufferWidth, SharedBufferHeight,
+ SharedBufferBlockLinearFormat, 0) == android::Status::NoError,
+ VI::ResultOperationFailed);
+
+ // Assign remaining outputs.
+ *out_target_slot = slot;
+ out_slot_indexes = {0, 1, -1, -1};
+
+ // We succeeded.
+ R_SUCCEED();
+}
+
+Result FbShareBufferManager::PresentSharedFrameBuffer(android::Fence fence,
+ Common::Rectangle<s32> crop_region,
+ u32 transform, s32 swap_interval,
+ u64 layer_id, s64 slot) {
+ std::scoped_lock lk{m_guard};
+
+ // Get the layer.
+ VI::Layer* layer;
+ R_TRY(this->GetLayerFromId(std::addressof(layer), layer_id));
+
+ // Get the producer.
+ auto& producer = layer->GetBufferQueue();
+
+ // Request to queue the buffer.
+ std::shared_ptr<android::GraphicBuffer> buffer;
+ R_UNLESS(producer.RequestBuffer(static_cast<s32>(slot), std::addressof(buffer)) ==
+ android::Status::NoError,
+ VI::ResultOperationFailed);
+
+ // Queue the buffer to the producer.
+ android::QueueBufferInput input{};
+ android::QueueBufferOutput output{};
+ input.crop = crop_region;
+ input.fence = fence;
+ input.transform = static_cast<android::NativeWindowTransform>(transform);
+ input.swap_interval = swap_interval;
+ R_UNLESS(producer.QueueBuffer(static_cast<s32>(slot), input, std::addressof(output)) ==
+ android::Status::NoError,
+ VI::ResultOperationFailed);
+
+ // We succeeded.
+ R_SUCCEED();
+}
+
+Result FbShareBufferManager::GetSharedFrameBufferAcquirableEvent(Kernel::KReadableEvent** out_event,
+ u64 layer_id) {
+ std::scoped_lock lk{m_guard};
+
+ // Get the layer.
+ VI::Layer* layer;
+ R_TRY(this->GetLayerFromId(std::addressof(layer), layer_id));
+
+ // Get the producer.
+ auto& producer = layer->GetBufferQueue();
+
+ // Set the event.
+ *out_event = std::addressof(producer.GetNativeHandle());
+
+ // We succeeded.
+ R_SUCCEED();
+}
+
+} // namespace Service::Nvnflinger
diff --git a/src/core/hle/service/nvnflinger/fb_share_buffer_manager.h b/src/core/hle/service/nvnflinger/fb_share_buffer_manager.h
new file mode 100644
index 000000000..c809c01b4
--- /dev/null
+++ b/src/core/hle/service/nvnflinger/fb_share_buffer_manager.h
@@ -0,0 +1,65 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "common/math_util.h"
+#include "core/hle/service/nvnflinger/nvnflinger.h"
+#include "core/hle/service/nvnflinger/ui/fence.h"
+
+namespace Kernel {
+class KPageGroup;
+}
+
+namespace Service::Nvnflinger {
+
+struct SharedMemorySlot {
+ u64 buffer_offset;
+ u64 size;
+ s32 width;
+ s32 height;
+};
+static_assert(sizeof(SharedMemorySlot) == 0x18, "SharedMemorySlot has wrong size");
+
+struct SharedMemoryPoolLayout {
+ s32 num_slots;
+ std::array<SharedMemorySlot, 0x10> slots;
+};
+static_assert(sizeof(SharedMemoryPoolLayout) == 0x188, "SharedMemoryPoolLayout has wrong size");
+
+class FbShareBufferManager final {
+public:
+ explicit FbShareBufferManager(Core::System& system, Nvnflinger& flinger,
+ std::shared_ptr<Nvidia::Module> nvdrv);
+ ~FbShareBufferManager();
+
+ Result Initialize(u64* out_buffer_id, u64* out_layer_handle, u64 display_id);
+ Result GetSharedBufferMemoryHandleId(u64* out_buffer_size, s32* out_nvmap_handle,
+ SharedMemoryPoolLayout* out_pool_layout, u64 buffer_id,
+ u64 applet_resource_user_id);
+ Result AcquireSharedFrameBuffer(android::Fence* out_fence, std::array<s32, 4>& out_slots,
+ s64* out_target_slot, u64 layer_id);
+ Result PresentSharedFrameBuffer(android::Fence fence, Common::Rectangle<s32> crop_region,
+ u32 transform, s32 swap_interval, u64 layer_id, s64 slot);
+ Result GetSharedFrameBufferAcquirableEvent(Kernel::KReadableEvent** out_event, u64 layer_id);
+
+private:
+ Result GetLayerFromId(VI::Layer** out_layer, u64 layer_id);
+
+private:
+ u64 m_next_buffer_id = 1;
+ u64 m_display_id = 0;
+ u64 m_buffer_id = 0;
+ u64 m_layer_id = 0;
+ u32 m_buffer_nvmap_handle = 0;
+ SharedMemoryPoolLayout m_pool_layout = {};
+
+ std::unique_ptr<Kernel::KPageGroup> m_buffer_page_group;
+
+ std::mutex m_guard;
+ Core::System& m_system;
+ Nvnflinger& m_flinger;
+ std::shared_ptr<Nvidia::Module> m_nvdrv;
+};
+
+} // namespace Service::Nvnflinger
diff --git a/src/core/hle/service/nvnflinger/graphic_buffer_producer.h b/src/core/hle/service/nvnflinger/graphic_buffer_producer.h
index 21d7b31f3..5d7cff7d3 100644
--- a/src/core/hle/service/nvnflinger/graphic_buffer_producer.h
+++ b/src/core/hle/service/nvnflinger/graphic_buffer_producer.h
@@ -19,6 +19,7 @@ class InputParcel;
#pragma pack(push, 1)
struct QueueBufferInput final {
explicit QueueBufferInput(InputParcel& parcel);
+ explicit QueueBufferInput() = default;
void Deflate(s64* timestamp_, bool* is_auto_timestamp_, Common::Rectangle<s32>* crop_,
NativeWindowScalingMode* scaling_mode_, NativeWindowTransform* transform_,
@@ -34,7 +35,6 @@ struct QueueBufferInput final {
*fence_ = fence;
}
-private:
s64 timestamp{};
s32 is_auto_timestamp{};
Common::Rectangle<s32> crop{};
diff --git a/src/core/hle/service/nvnflinger/nvnflinger.cpp b/src/core/hle/service/nvnflinger/nvnflinger.cpp
index 5f55cd31e..a07c621d9 100644
--- a/src/core/hle/service/nvnflinger/nvnflinger.cpp
+++ b/src/core/hle/service/nvnflinger/nvnflinger.cpp
@@ -17,6 +17,7 @@
#include "core/hle/service/nvdrv/nvdrv.h"
#include "core/hle/service/nvnflinger/buffer_item_consumer.h"
#include "core/hle/service/nvnflinger/buffer_queue_core.h"
+#include "core/hle/service/nvnflinger/fb_share_buffer_manager.h"
#include "core/hle/service/nvnflinger/hos_binder_driver_server.h"
#include "core/hle/service/nvnflinger/nvnflinger.h"
#include "core/hle/service/nvnflinger/ui/graphic_buffer.h"
@@ -183,7 +184,7 @@ std::optional<u32> Nvnflinger::FindBufferQueueId(u64 display_id, u64 layer_id) {
return layer->GetBinderId();
}
-ResultVal<Kernel::KReadableEvent*> Nvnflinger::FindVsyncEvent(u64 display_id) {
+Result Nvnflinger::FindVsyncEvent(Kernel::KReadableEvent** out_vsync_event, u64 display_id) {
const auto lock_guard = Lock();
auto* const display = FindDisplay(display_id);
@@ -191,7 +192,7 @@ ResultVal<Kernel::KReadableEvent*> Nvnflinger::FindVsyncEvent(u64 display_id) {
return VI::ResultNotFound;
}
- return display->GetVSyncEvent();
+ return display->GetVSyncEvent(out_vsync_event);
}
VI::Display* Nvnflinger::FindDisplay(u64 display_id) {
@@ -331,4 +332,14 @@ s64 Nvnflinger::GetNextTicks() const {
return static_cast<s64>(speed_scale * (1000000000.f / effective_fps));
}
+FbShareBufferManager& Nvnflinger::GetSystemBufferManager() {
+ const auto lock_guard = Lock();
+
+ if (!system_buffer_manager) {
+ system_buffer_manager = std::make_unique<FbShareBufferManager>(system, *this, nvdrv);
+ }
+
+ return *system_buffer_manager;
+}
+
} // namespace Service::Nvnflinger
diff --git a/src/core/hle/service/nvnflinger/nvnflinger.h b/src/core/hle/service/nvnflinger/nvnflinger.h
index ef236303a..14c783582 100644
--- a/src/core/hle/service/nvnflinger/nvnflinger.h
+++ b/src/core/hle/service/nvnflinger/nvnflinger.h
@@ -45,6 +45,9 @@ class BufferQueueProducer;
namespace Service::Nvnflinger {
+class FbShareBufferManager;
+class HosBinderDriverServer;
+
class Nvnflinger final {
public:
explicit Nvnflinger(Core::System& system_, HosBinderDriverServer& hos_binder_driver_server_);
@@ -82,7 +85,7 @@ public:
///
/// If an invalid display ID is provided, then VI::ResultNotFound is returned.
/// If the vsync event has already been retrieved, then VI::ResultPermissionDenied is returned.
- [[nodiscard]] ResultVal<Kernel::KReadableEvent*> FindVsyncEvent(u64 display_id);
+ [[nodiscard]] Result FindVsyncEvent(Kernel::KReadableEvent** out_vsync_event, u64 display_id);
/// Performs a composition request to the emulated nvidia GPU and triggers the vsync events when
/// finished.
@@ -90,12 +93,16 @@ public:
[[nodiscard]] s64 GetNextTicks() const;
+ FbShareBufferManager& GetSystemBufferManager();
+
private:
struct Layer {
std::unique_ptr<android::BufferQueueCore> core;
std::unique_ptr<android::BufferQueueProducer> producer;
};
+ friend class FbShareBufferManager;
+
private:
[[nodiscard]] std::unique_lock<std::mutex> Lock() const {
return std::unique_lock{*guard};
@@ -140,6 +147,8 @@ private:
std::shared_ptr<Core::Timing::EventType> multi_composition_event;
std::shared_ptr<Core::Timing::EventType> single_composition_event;
+ std::unique_ptr<FbShareBufferManager> system_buffer_manager;
+
std::shared_ptr<std::mutex> guard;
Core::System& system;
diff --git a/src/core/hle/service/nvnflinger/ui/fence.h b/src/core/hle/service/nvnflinger/ui/fence.h
index 536e8156d..177aed758 100644
--- a/src/core/hle/service/nvnflinger/ui/fence.h
+++ b/src/core/hle/service/nvnflinger/ui/fence.h
@@ -20,6 +20,9 @@ public:
static constexpr Fence NoFence() {
Fence fence;
fence.fences[0].id = -1;
+ fence.fences[1].id = -1;
+ fence.fences[2].id = -1;
+ fence.fences[3].id = -1;
return fence;
}
diff --git a/src/core/hle/service/nvnflinger/ui/graphic_buffer.h b/src/core/hle/service/nvnflinger/ui/graphic_buffer.h
index 75d1705a8..3eac5cedd 100644
--- a/src/core/hle/service/nvnflinger/ui/graphic_buffer.h
+++ b/src/core/hle/service/nvnflinger/ui/graphic_buffer.h
@@ -12,8 +12,7 @@
namespace Service::android {
-class GraphicBuffer final {
-public:
+struct GraphicBuffer final {
constexpr GraphicBuffer() = default;
constexpr GraphicBuffer(u32 width_, u32 height_, PixelFormat format_, u32 usage_)
@@ -77,7 +76,6 @@ public:
return false;
}
-private:
u32 magic{};
s32 width{};
s32 height{};
diff --git a/src/core/hle/service/nvnflinger/window.h b/src/core/hle/service/nvnflinger/window.h
index 61cca5b01..36d6cde3d 100644
--- a/src/core/hle/service/nvnflinger/window.h
+++ b/src/core/hle/service/nvnflinger/window.h
@@ -41,6 +41,7 @@ enum class NativeWindowScalingMode : s32 {
ScaleToWindow = 1,
ScaleCrop = 2,
NoScaleCrop = 3,
+ PreserveAspectRatio = 4,
};
/// Transform parameter for QueueBuffer
diff --git a/src/core/hle/service/olsc/olsc.cpp b/src/core/hle/service/olsc/olsc.cpp
index 14ba67b4c..889f27c31 100644
--- a/src/core/hle/service/olsc/olsc.cpp
+++ b/src/core/hle/service/olsc/olsc.cpp
@@ -8,15 +8,16 @@
namespace Service::OLSC {
-class OLSC final : public ServiceFramework<OLSC> {
+class IOlscServiceForApplication final : public ServiceFramework<IOlscServiceForApplication> {
public:
- explicit OLSC(Core::System& system_) : ServiceFramework{system_, "olsc:u"} {
+ explicit IOlscServiceForApplication(Core::System& system_)
+ : ServiceFramework{system_, "olsc:u"} {
// clang-format off
static const FunctionInfo functions[] = {
- {0, &OLSC::Initialize, "Initialize"},
+ {0, &IOlscServiceForApplication::Initialize, "Initialize"},
{10, nullptr, "VerifySaveDataBackupLicenseAsync"},
- {13, &OLSC::GetSaveDataBackupSetting, "GetSaveDataBackupSetting"},
- {14, &OLSC::SetSaveDataBackupSettingEnabled, "SetSaveDataBackupSettingEnabled"},
+ {13, &IOlscServiceForApplication::GetSaveDataBackupSetting, "GetSaveDataBackupSetting"},
+ {14, &IOlscServiceForApplication::SetSaveDataBackupSettingEnabled, "SetSaveDataBackupSettingEnabled"},
{15, nullptr, "SetCustomData"},
{16, nullptr, "DeleteSaveDataBackupSetting"},
{18, nullptr, "GetSaveDataBackupInfoCache"},
@@ -72,10 +73,155 @@ private:
bool initialized{};
};
+class INativeHandleHolder final : public ServiceFramework<INativeHandleHolder> {
+public:
+ explicit INativeHandleHolder(Core::System& system_)
+ : ServiceFramework{system_, "INativeHandleHolder"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, nullptr, "GetNativeHandle"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+ }
+};
+
+class ITransferTaskListController final : public ServiceFramework<ITransferTaskListController> {
+public:
+ explicit ITransferTaskListController(Core::System& system_)
+ : ServiceFramework{system_, "ITransferTaskListController"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, nullptr, "Unknown0"},
+ {1, nullptr, "Unknown1"},
+ {2, nullptr, "Unknown2"},
+ {3, nullptr, "Unknown3"},
+ {4, nullptr, "Unknown4"},
+ {5, &ITransferTaskListController::GetNativeHandleHolder , "GetNativeHandleHolder"},
+ {6, nullptr, "Unknown6"},
+ {7, nullptr, "Unknown7"},
+ {8, nullptr, "GetRemoteStorageController"},
+ {9, &ITransferTaskListController::GetNativeHandleHolder, "GetNativeHandleHolder2"},
+ {10, nullptr, "Unknown10"},
+ {11, nullptr, "Unknown11"},
+ {12, nullptr, "Unknown12"},
+ {13, nullptr, "Unknown13"},
+ {14, nullptr, "Unknown14"},
+ {15, nullptr, "Unknown15"},
+ {16, nullptr, "Unknown16"},
+ {17, nullptr, "Unknown17"},
+ {18, nullptr, "Unknown18"},
+ {19, nullptr, "Unknown19"},
+ {20, nullptr, "Unknown20"},
+ {21, nullptr, "Unknown21"},
+ {22, nullptr, "Unknown22"},
+ {23, nullptr, "Unknown23"},
+ {24, nullptr, "Unknown24"},
+ {25, nullptr, "Unknown25"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+ }
+
+private:
+ void GetNativeHandleHolder(HLERequestContext& ctx) {
+ LOG_INFO(Service_OLSC, "called");
+
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(ResultSuccess);
+ rb.PushIpcInterface<INativeHandleHolder>(system);
+ }
+};
+
+class IOlscServiceForSystemService final : public ServiceFramework<IOlscServiceForSystemService> {
+public:
+ explicit IOlscServiceForSystemService(Core::System& system_)
+ : ServiceFramework{system_, "olsc:s"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, &IOlscServiceForSystemService::OpenTransferTaskListController, "OpenTransferTaskListController"},
+ {1, nullptr, "OpenRemoteStorageController"},
+ {2, nullptr, "OpenDaemonController"},
+ {10, nullptr, "Unknown10"},
+ {11, nullptr, "Unknown11"},
+ {12, nullptr, "Unknown12"},
+ {13, nullptr, "Unknown13"},
+ {100, nullptr, "ListLastTransferTaskErrorInfo"},
+ {101, nullptr, "GetLastErrorInfoCount"},
+ {102, nullptr, "RemoveLastErrorInfoOld"},
+ {103, nullptr, "GetLastErrorInfo"},
+ {104, nullptr, "GetLastErrorEventHolder"},
+ {105, nullptr, "GetLastTransferTaskErrorInfo"},
+ {200, nullptr, "GetDataTransferPolicyInfo"},
+ {201, nullptr, "RemoveDataTransferPolicyInfo"},
+ {202, nullptr, "UpdateDataTransferPolicyOld"},
+ {203, nullptr, "UpdateDataTransferPolicy"},
+ {204, nullptr, "CleanupDataTransferPolicyInfo"},
+ {205, nullptr, "RequestDataTransferPolicy"},
+ {300, nullptr, "GetAutoTransferSeriesInfo"},
+ {301, nullptr, "UpdateAutoTransferSeriesInfo"},
+ {400, nullptr, "CleanupSaveDataArchiveInfoType1"},
+ {900, nullptr, "CleanupTransferTask"},
+ {902, nullptr, "CleanupSeriesInfoType0"},
+ {903, nullptr, "CleanupSaveDataArchiveInfoType0"},
+ {904, nullptr, "CleanupApplicationAutoTransferSetting"},
+ {905, nullptr, "CleanupErrorHistory"},
+ {906, nullptr, "SetLastError"},
+ {907, nullptr, "AddSaveDataArchiveInfoType0"},
+ {908, nullptr, "RemoveSeriesInfoType0"},
+ {909, nullptr, "GetSeriesInfoType0"},
+ {910, nullptr, "RemoveLastErrorInfo"},
+ {911, nullptr, "CleanupSeriesInfoType1"},
+ {912, nullptr, "RemoveSeriesInfoType1"},
+ {913, nullptr, "GetSeriesInfoType1"},
+ {1000, nullptr, "UpdateIssueOld"},
+ {1010, nullptr, "Unknown1010"},
+ {1011, nullptr, "ListIssueInfoOld"},
+ {1012, nullptr, "GetIssueOld"},
+ {1013, nullptr, "GetIssue2Old"},
+ {1014, nullptr, "GetIssue3Old"},
+ {1020, nullptr, "RepairIssueOld"},
+ {1021, nullptr, "RepairIssueWithUserIdOld"},
+ {1022, nullptr, "RepairIssue2Old"},
+ {1023, nullptr, "RepairIssue3Old"},
+ {1024, nullptr, "Unknown1024"},
+ {1100, nullptr, "UpdateIssue"},
+ {1110, nullptr, "Unknown1110"},
+ {1111, nullptr, "ListIssueInfo"},
+ {1112, nullptr, "GetIssue"},
+ {1113, nullptr, "GetIssue2"},
+ {1114, nullptr, "GetIssue3"},
+ {1120, nullptr, "RepairIssue"},
+ {1121, nullptr, "RepairIssueWithUserId"},
+ {1122, nullptr, "RepairIssue2"},
+ {1123, nullptr, "RepairIssue3"},
+ {1124, nullptr, "Unknown1124"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+ }
+
+private:
+ void OpenTransferTaskListController(HLERequestContext& ctx) {
+ LOG_INFO(Service_OLSC, "called");
+
+ IPC::ResponseBuilder rb{ctx, 2, 0, 1};
+ rb.Push(ResultSuccess);
+ rb.PushIpcInterface<ITransferTaskListController>(system);
+ }
+};
+
void LoopProcess(Core::System& system) {
auto server_manager = std::make_unique<ServerManager>(system);
- server_manager->RegisterNamedService("olsc:u", std::make_shared<OLSC>(system));
+ server_manager->RegisterNamedService("olsc:u",
+ std::make_shared<IOlscServiceForApplication>(system));
+ server_manager->RegisterNamedService("olsc:s",
+ std::make_shared<IOlscServiceForSystemService>(system));
+
ServerManager::RunServer(std::move(server_manager));
}
diff --git a/src/core/hle/service/pctl/pctl_module.cpp b/src/core/hle/service/pctl/pctl_module.cpp
index f966c5c8b..938330dd0 100644
--- a/src/core/hle/service/pctl/pctl_module.cpp
+++ b/src/core/hle/service/pctl/pctl_module.cpp
@@ -6,6 +6,7 @@
#include "core/file_sys/control_metadata.h"
#include "core/file_sys/patch_manager.h"
#include "core/hle/service/ipc_helpers.h"
+#include "core/hle/service/kernel_helpers.h"
#include "core/hle/service/pctl/pctl.h"
#include "core/hle/service/pctl/pctl_module.h"
#include "core/hle/service/server_manager.h"
@@ -24,16 +25,17 @@ constexpr Result ResultNoRestrictionEnabled{ErrorModule::PCTL, 181};
class IParentalControlService final : public ServiceFramework<IParentalControlService> {
public:
explicit IParentalControlService(Core::System& system_, Capability capability_)
- : ServiceFramework{system_, "IParentalControlService"}, capability{capability_} {
+ : ServiceFramework{system_, "IParentalControlService"}, capability{capability_},
+ service_context{system_, "IParentalControlService"} {
// clang-format off
static const FunctionInfo functions[] = {
{1, &IParentalControlService::Initialize, "Initialize"},
{1001, &IParentalControlService::CheckFreeCommunicationPermission, "CheckFreeCommunicationPermission"},
{1002, nullptr, "ConfirmLaunchApplicationPermission"},
{1003, nullptr, "ConfirmResumeApplicationPermission"},
- {1004, nullptr, "ConfirmSnsPostPermission"},
+ {1004, &IParentalControlService::ConfirmSnsPostPermission, "ConfirmSnsPostPermission"},
{1005, nullptr, "ConfirmSystemSettingsPermission"},
- {1006, nullptr, "IsRestrictionTemporaryUnlocked"},
+ {1006, &IParentalControlService::IsRestrictionTemporaryUnlocked, "IsRestrictionTemporaryUnlocked"},
{1007, nullptr, "RevertRestrictionTemporaryUnlocked"},
{1008, nullptr, "EnterRestrictedSystemSettings"},
{1009, nullptr, "LeaveRestrictedSystemSettings"},
@@ -47,14 +49,14 @@ public:
{1017, &IParentalControlService::EndFreeCommunication, "EndFreeCommunication"},
{1018, &IParentalControlService::IsFreeCommunicationAvailable, "IsFreeCommunicationAvailable"},
{1031, &IParentalControlService::IsRestrictionEnabled, "IsRestrictionEnabled"},
- {1032, nullptr, "GetSafetyLevel"},
+ {1032, &IParentalControlService::GetSafetyLevel, "GetSafetyLevel"},
{1033, nullptr, "SetSafetyLevel"},
{1034, nullptr, "GetSafetyLevelSettings"},
- {1035, nullptr, "GetCurrentSettings"},
+ {1035, &IParentalControlService::GetCurrentSettings, "GetCurrentSettings"},
{1036, nullptr, "SetCustomSafetyLevelSettings"},
{1037, nullptr, "GetDefaultRatingOrganization"},
{1038, nullptr, "SetDefaultRatingOrganization"},
- {1039, nullptr, "GetFreeCommunicationApplicationListCount"},
+ {1039, &IParentalControlService::GetFreeCommunicationApplicationListCount, "GetFreeCommunicationApplicationListCount"},
{1042, nullptr, "AddToFreeCommunicationApplicationList"},
{1043, nullptr, "DeleteSettings"},
{1044, nullptr, "GetFreeCommunicationApplicationList"},
@@ -76,7 +78,7 @@ public:
{1206, nullptr, "GetPinCodeLength"},
{1207, nullptr, "GetPinCodeChangedEvent"},
{1208, nullptr, "GetPinCode"},
- {1403, nullptr, "IsPairingActive"},
+ {1403, &IParentalControlService::IsPairingActive, "IsPairingActive"},
{1406, nullptr, "GetSettingsLastUpdated"},
{1411, nullptr, "GetPairingAccountInfo"},
{1421, nullptr, "GetAccountNickname"},
@@ -84,18 +86,18 @@ public:
{1425, nullptr, "RequestPostEvents"},
{1426, nullptr, "GetPostEventInterval"},
{1427, nullptr, "SetPostEventInterval"},
- {1432, nullptr, "GetSynchronizationEvent"},
+ {1432, &IParentalControlService::GetSynchronizationEvent, "GetSynchronizationEvent"},
{1451, nullptr, "StartPlayTimer"},
{1452, nullptr, "StopPlayTimer"},
{1453, nullptr, "IsPlayTimerEnabled"},
{1454, nullptr, "GetPlayTimerRemainingTime"},
{1455, nullptr, "IsRestrictedByPlayTimer"},
- {1456, nullptr, "GetPlayTimerSettings"},
- {1457, nullptr, "GetPlayTimerEventToRequestSuspension"},
- {1458, nullptr, "IsPlayTimerAlarmDisabled"},
+ {1456, &IParentalControlService::GetPlayTimerSettings, "GetPlayTimerSettings"},
+ {1457, &IParentalControlService::GetPlayTimerEventToRequestSuspension, "GetPlayTimerEventToRequestSuspension"},
+ {1458, &IParentalControlService::IsPlayTimerAlarmDisabled, "IsPlayTimerAlarmDisabled"},
{1471, nullptr, "NotifyWrongPinCodeInputManyTimes"},
{1472, nullptr, "CancelNetworkRequest"},
- {1473, nullptr, "GetUnlinkedEvent"},
+ {1473, &IParentalControlService::GetUnlinkedEvent, "GetUnlinkedEvent"},
{1474, nullptr, "ClearUnlinkedEvent"},
{1601, nullptr, "DisableAllFeatures"},
{1602, nullptr, "PostEnableAllFeatures"},
@@ -131,6 +133,12 @@ public:
};
// clang-format on
RegisterHandlers(functions);
+
+ synchronization_event =
+ service_context.CreateEvent("IParentalControlService::SynchronizationEvent");
+ unlinked_event = service_context.CreateEvent("IParentalControlService::UnlinkedEvent");
+ request_suspension_event =
+ service_context.CreateEvent("IParentalControlService::RequestSuspensionEvent");
}
private:
@@ -228,6 +236,24 @@ private:
states.free_communication = true;
}
+ void ConfirmSnsPostPermission(HLERequestContext& ctx) {
+ LOG_WARNING(Service_PCTL, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(Error::ResultNoFreeCommunication);
+ }
+
+ void IsRestrictionTemporaryUnlocked(HLERequestContext& ctx) {
+ const bool is_temporary_unlocked = false;
+
+ LOG_WARNING(Service_PCTL, "(STUBBED) called, is_temporary_unlocked={}",
+ is_temporary_unlocked);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push<u8>(is_temporary_unlocked);
+ }
+
void ConfirmStereoVisionPermission(HLERequestContext& ctx) {
LOG_DEBUG(Service_PCTL, "called");
states.stereo_vision = true;
@@ -268,6 +294,34 @@ private:
rb.Push(pin_code[0] != '\0');
}
+ void GetSafetyLevel(HLERequestContext& ctx) {
+ const u32 safety_level = 0;
+
+ LOG_WARNING(Service_PCTL, "(STUBBED) called, safety_level={}", safety_level);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(safety_level);
+ }
+
+ void GetCurrentSettings(HLERequestContext& ctx) {
+ LOG_INFO(Service_PCTL, "called");
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.PushRaw(restriction_settings);
+ }
+
+ void GetFreeCommunicationApplicationListCount(HLERequestContext& ctx) {
+ const u32 count = 4;
+
+ LOG_WARNING(Service_PCTL, "(STUBBED) called, count={}", count);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(count);
+ }
+
void ConfirmStereoVisionRestrictionConfigurable(HLERequestContext& ctx) {
LOG_DEBUG(Service_PCTL, "called");
@@ -300,6 +354,61 @@ private:
}
}
+ void IsPairingActive(HLERequestContext& ctx) {
+ const bool is_pairing_active = false;
+
+ LOG_WARNING(Service_PCTL, "(STUBBED) called, is_pairing_active={}", is_pairing_active);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push<u8>(is_pairing_active);
+ }
+
+ void GetSynchronizationEvent(HLERequestContext& ctx) {
+ LOG_INFO(Service_PCTL, "called");
+
+ IPC::ResponseBuilder rb{ctx, 2, 1};
+ rb.Push(ResultSuccess);
+ rb.PushCopyObjects(synchronization_event->GetReadableEvent());
+ }
+
+ void GetPlayTimerSettings(HLERequestContext& ctx) {
+ LOG_WARNING(Service_PCTL, "(STUBBED) called");
+
+ const PlayTimerSettings timer_settings{};
+
+ IPC::ResponseBuilder rb{ctx, 15};
+ rb.Push(ResultSuccess);
+ rb.PushRaw(timer_settings);
+ }
+
+ void GetPlayTimerEventToRequestSuspension(HLERequestContext& ctx) {
+ LOG_INFO(Service_PCTL, "called");
+
+ IPC::ResponseBuilder rb{ctx, 2, 1};
+ rb.Push(ResultSuccess);
+ rb.PushCopyObjects(request_suspension_event->GetReadableEvent());
+ }
+
+ void IsPlayTimerAlarmDisabled(HLERequestContext& ctx) {
+ const bool is_play_timer_alarm_disabled = false;
+
+ LOG_INFO(Service_PCTL, "called, is_play_timer_alarm_disabled={}",
+ is_play_timer_alarm_disabled);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push<u8>(is_play_timer_alarm_disabled);
+ }
+
+ void GetUnlinkedEvent(HLERequestContext& ctx) {
+ LOG_INFO(Service_PCTL, "called");
+
+ IPC::ResponseBuilder rb{ctx, 2, 1};
+ rb.Push(ResultSuccess);
+ rb.PushCopyObjects(unlinked_event->GetReadableEvent());
+ }
+
void SetStereoVisionRestriction(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const auto can_use = rp.Pop<bool>();
@@ -364,10 +473,30 @@ private:
bool disabled{};
};
+ // This is nn::pctl::RestrictionSettings
+ struct RestrictionSettings {
+ u8 rating_age;
+ bool sns_post_restriction;
+ bool free_communication_restriction;
+ };
+ static_assert(sizeof(RestrictionSettings) == 0x3, "RestrictionSettings has incorrect size.");
+
+ // This is nn::pctl::PlayTimerSettings
+ struct PlayTimerSettings {
+ std::array<u32, 13> settings;
+ };
+ static_assert(sizeof(PlayTimerSettings) == 0x34, "PlayTimerSettings has incorrect size.");
+
States states{};
ParentalControlSettings settings{};
+ RestrictionSettings restriction_settings{};
std::array<char, 8> pin_code{};
Capability capability{};
+
+ Kernel::KEvent* synchronization_event;
+ Kernel::KEvent* unlinked_event;
+ Kernel::KEvent* request_suspension_event;
+ KernelHelpers::ServiceContext service_context;
};
void Module::Interface::CreateService(HLERequestContext& ctx) {
diff --git a/src/core/hle/service/server_manager.cpp b/src/core/hle/service/server_manager.cpp
index d1e99b184..e2e399534 100644
--- a/src/core/hle/service/server_manager.cpp
+++ b/src/core/hle/service/server_manager.cpp
@@ -102,16 +102,17 @@ Result ServerManager::RegisterNamedService(const std::string& service_name,
m_system.ServiceManager().RegisterService(service_name, max_sessions, handler)));
// Get the registered port.
- auto port = m_system.ServiceManager().GetServicePort(service_name);
- ASSERT(port.Succeeded());
+ Kernel::KPort* port{};
+ ASSERT(
+ R_SUCCEEDED(m_system.ServiceManager().GetServicePort(std::addressof(port), service_name)));
// Open a new reference to the server port.
- (*port)->GetServerPort().Open();
+ port->GetServerPort().Open();
// Begin tracking the server port.
{
std::scoped_lock ll{m_list_mutex};
- m_ports.emplace(std::addressof((*port)->GetServerPort()), std::move(handler));
+ m_ports.emplace(std::addressof(port->GetServerPort()), std::move(handler));
}
// Signal the wakeup event.
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp
index 69cdb5918..0ad607391 100644
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.cpp
@@ -43,7 +43,7 @@
#include "core/hle/service/ncm/ncm.h"
#include "core/hle/service/nfc/nfc.h"
#include "core/hle/service/nfp/nfp.h"
-#include "core/hle/service/ngct/ngct.h"
+#include "core/hle/service/ngc/ngc.h"
#include "core/hle/service/nifm/nifm.h"
#include "core/hle/service/nim/nim.h"
#include "core/hle/service/npns/npns.h"
@@ -257,7 +257,7 @@ Services::Services(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system
kernel.RunOnGuestCoreProcess("NCM", [&] { NCM::LoopProcess(system); });
kernel.RunOnGuestCoreProcess("nfc", [&] { NFC::LoopProcess(system); });
kernel.RunOnGuestCoreProcess("nfp", [&] { NFP::LoopProcess(system); });
- kernel.RunOnGuestCoreProcess("ngct", [&] { NGCT::LoopProcess(system); });
+ kernel.RunOnGuestCoreProcess("ngc", [&] { NGC::LoopProcess(system); });
kernel.RunOnGuestCoreProcess("nifm", [&] { NIFM::LoopProcess(system); });
kernel.RunOnGuestCoreProcess("nim", [&] { NIM::LoopProcess(system); });
kernel.RunOnGuestCoreProcess("npns", [&] { NPNS::LoopProcess(system); });
diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h
index 45b2c43b7..d539ed0f4 100644
--- a/src/core/hle/service/service.h
+++ b/src/core/hle/service/service.h
@@ -79,8 +79,8 @@ protected:
using HandlerFnP = void (Self::*)(HLERequestContext&);
/// Used to gain exclusive access to the service members, e.g. from CoreTiming thread.
- [[nodiscard]] std::scoped_lock<std::mutex> LockService() {
- return std::scoped_lock{lock_service};
+ [[nodiscard]] virtual std::unique_lock<std::mutex> LockService() {
+ return std::unique_lock{lock_service};
}
/// System context that the service operates under.
diff --git a/src/core/hle/service/set/set.cpp b/src/core/hle/service/set/set.cpp
index f5788b481..2082b8ef7 100644
--- a/src/core/hle/service/set/set.cpp
+++ b/src/core/hle/service/set/set.cpp
@@ -11,66 +11,6 @@
namespace Service::Set {
namespace {
-constexpr std::array<LanguageCode, 18> available_language_codes = {{
- LanguageCode::JA,
- LanguageCode::EN_US,
- LanguageCode::FR,
- LanguageCode::DE,
- LanguageCode::IT,
- LanguageCode::ES,
- LanguageCode::ZH_CN,
- LanguageCode::KO,
- LanguageCode::NL,
- LanguageCode::PT,
- LanguageCode::RU,
- LanguageCode::ZH_TW,
- LanguageCode::EN_GB,
- LanguageCode::FR_CA,
- LanguageCode::ES_419,
- LanguageCode::ZH_HANS,
- LanguageCode::ZH_HANT,
- LanguageCode::PT_BR,
-}};
-
-enum class KeyboardLayout : u64 {
- Japanese = 0,
- EnglishUs = 1,
- EnglishUsInternational = 2,
- EnglishUk = 3,
- French = 4,
- FrenchCa = 5,
- Spanish = 6,
- SpanishLatin = 7,
- German = 8,
- Italian = 9,
- Portuguese = 10,
- Russian = 11,
- Korean = 12,
- ChineseSimplified = 13,
- ChineseTraditional = 14,
-};
-
-constexpr std::array<std::pair<LanguageCode, KeyboardLayout>, 18> language_to_layout{{
- {LanguageCode::JA, KeyboardLayout::Japanese},
- {LanguageCode::EN_US, KeyboardLayout::EnglishUs},
- {LanguageCode::FR, KeyboardLayout::French},
- {LanguageCode::DE, KeyboardLayout::German},
- {LanguageCode::IT, KeyboardLayout::Italian},
- {LanguageCode::ES, KeyboardLayout::Spanish},
- {LanguageCode::ZH_CN, KeyboardLayout::ChineseSimplified},
- {LanguageCode::KO, KeyboardLayout::Korean},
- {LanguageCode::NL, KeyboardLayout::EnglishUsInternational},
- {LanguageCode::PT, KeyboardLayout::Portuguese},
- {LanguageCode::RU, KeyboardLayout::Russian},
- {LanguageCode::ZH_TW, KeyboardLayout::ChineseTraditional},
- {LanguageCode::EN_GB, KeyboardLayout::EnglishUk},
- {LanguageCode::FR_CA, KeyboardLayout::FrenchCa},
- {LanguageCode::ES_419, KeyboardLayout::SpanishLatin},
- {LanguageCode::ZH_HANS, KeyboardLayout::ChineseSimplified},
- {LanguageCode::ZH_HANT, KeyboardLayout::ChineseTraditional},
- {LanguageCode::PT_BR, KeyboardLayout::Portuguese},
-}};
-
constexpr std::size_t PRE_4_0_0_MAX_ENTRIES = 0xF;
constexpr std::size_t POST_4_0_0_MAX_ENTRIES = 0x40;
@@ -93,7 +33,8 @@ void GetAvailableLanguageCodesImpl(HLERequestContext& ctx, std::size_t max_entri
}
void GetKeyCodeMapImpl(HLERequestContext& ctx) {
- const auto language_code = available_language_codes[Settings::values.language_index.GetValue()];
+ const auto language_code =
+ available_language_codes[static_cast<s32>(Settings::values.language_index.GetValue())];
const auto key_code =
std::find_if(language_to_layout.cbegin(), language_to_layout.cend(),
[=](const auto& element) { return element.first == language_code; });
@@ -162,7 +103,7 @@ void SET::GetQuestFlag(HLERequestContext& ctx) {
IPC::ResponseBuilder rb{ctx, 3};
rb.Push(ResultSuccess);
- rb.Push(static_cast<u32>(Settings::values.quest_flag.GetValue()));
+ rb.Push(static_cast<s32>(Settings::values.quest_flag.GetValue()));
}
void SET::GetLanguageCode(HLERequestContext& ctx) {
@@ -170,7 +111,8 @@ void SET::GetLanguageCode(HLERequestContext& ctx) {
IPC::ResponseBuilder rb{ctx, 4};
rb.Push(ResultSuccess);
- rb.PushEnum(available_language_codes[Settings::values.language_index.GetValue()]);
+ rb.PushEnum(
+ available_language_codes[static_cast<s32>(Settings::values.language_index.GetValue())]);
}
void SET::GetRegionCode(HLERequestContext& ctx) {
@@ -178,7 +120,7 @@ void SET::GetRegionCode(HLERequestContext& ctx) {
IPC::ResponseBuilder rb{ctx, 3};
rb.Push(ResultSuccess);
- rb.Push(Settings::values.region_index.GetValue());
+ rb.Push(static_cast<u32>(Settings::values.region_index.GetValue()));
}
void SET::GetKeyCodeMap(HLERequestContext& ctx) {
diff --git a/src/core/hle/service/set/set.h b/src/core/hle/service/set/set.h
index 7fd3a7654..b61a3560d 100644
--- a/src/core/hle/service/set/set.h
+++ b/src/core/hle/service/set/set.h
@@ -32,6 +32,67 @@ enum class LanguageCode : u64 {
ZH_HANT = 0x00746E61482D687A,
PT_BR = 0x00000052422D7470,
};
+
+enum class KeyboardLayout : u64 {
+ Japanese = 0,
+ EnglishUs = 1,
+ EnglishUsInternational = 2,
+ EnglishUk = 3,
+ French = 4,
+ FrenchCa = 5,
+ Spanish = 6,
+ SpanishLatin = 7,
+ German = 8,
+ Italian = 9,
+ Portuguese = 10,
+ Russian = 11,
+ Korean = 12,
+ ChineseSimplified = 13,
+ ChineseTraditional = 14,
+};
+
+constexpr std::array<LanguageCode, 18> available_language_codes = {{
+ LanguageCode::JA,
+ LanguageCode::EN_US,
+ LanguageCode::FR,
+ LanguageCode::DE,
+ LanguageCode::IT,
+ LanguageCode::ES,
+ LanguageCode::ZH_CN,
+ LanguageCode::KO,
+ LanguageCode::NL,
+ LanguageCode::PT,
+ LanguageCode::RU,
+ LanguageCode::ZH_TW,
+ LanguageCode::EN_GB,
+ LanguageCode::FR_CA,
+ LanguageCode::ES_419,
+ LanguageCode::ZH_HANS,
+ LanguageCode::ZH_HANT,
+ LanguageCode::PT_BR,
+}};
+
+static constexpr std::array<std::pair<LanguageCode, KeyboardLayout>, 18> language_to_layout{{
+ {LanguageCode::JA, KeyboardLayout::Japanese},
+ {LanguageCode::EN_US, KeyboardLayout::EnglishUs},
+ {LanguageCode::FR, KeyboardLayout::French},
+ {LanguageCode::DE, KeyboardLayout::German},
+ {LanguageCode::IT, KeyboardLayout::Italian},
+ {LanguageCode::ES, KeyboardLayout::Spanish},
+ {LanguageCode::ZH_CN, KeyboardLayout::ChineseSimplified},
+ {LanguageCode::KO, KeyboardLayout::Korean},
+ {LanguageCode::NL, KeyboardLayout::EnglishUsInternational},
+ {LanguageCode::PT, KeyboardLayout::Portuguese},
+ {LanguageCode::RU, KeyboardLayout::Russian},
+ {LanguageCode::ZH_TW, KeyboardLayout::ChineseTraditional},
+ {LanguageCode::EN_GB, KeyboardLayout::EnglishUk},
+ {LanguageCode::FR_CA, KeyboardLayout::FrenchCa},
+ {LanguageCode::ES_419, KeyboardLayout::SpanishLatin},
+ {LanguageCode::ZH_HANS, KeyboardLayout::ChineseSimplified},
+ {LanguageCode::ZH_HANT, KeyboardLayout::ChineseTraditional},
+ {LanguageCode::PT_BR, KeyboardLayout::Portuguese},
+}};
+
LanguageCode GetLanguageCodeFromIndex(std::size_t idx);
class SET final : public ServiceFramework<SET> {
diff --git a/src/core/hle/service/set/set_sys.cpp b/src/core/hle/service/set/set_sys.cpp
index 2e38d1cfc..165b97dad 100644
--- a/src/core/hle/service/set/set_sys.cpp
+++ b/src/core/hle/service/set/set_sys.cpp
@@ -4,10 +4,12 @@
#include "common/assert.h"
#include "common/logging/log.h"
#include "common/settings.h"
+#include "common/string_util.h"
#include "core/file_sys/errors.h"
#include "core/file_sys/system_archive/system_version.h"
#include "core/hle/service/filesystem/filesystem.h"
#include "core/hle/service/ipc_helpers.h"
+#include "core/hle/service/set/set.h"
#include "core/hle/service/set/set_sys.h"
namespace Service::Set {
@@ -73,6 +75,16 @@ void GetFirmwareVersionImpl(HLERequestContext& ctx, GetFirmwareVersionType type)
}
} // Anonymous namespace
+void SET_SYS::SetLanguageCode(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ language_code_setting = rp.PopEnum<LanguageCode>();
+
+ LOG_INFO(Service_SET, "called, language_code={}", language_code_setting);
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
void SET_SYS::GetFirmwareVersion(HLERequestContext& ctx) {
LOG_DEBUG(Service_SET, "called");
GetFirmwareVersionImpl(ctx, GetFirmwareVersionType::Version1);
@@ -83,21 +95,113 @@ void SET_SYS::GetFirmwareVersion2(HLERequestContext& ctx) {
GetFirmwareVersionImpl(ctx, GetFirmwareVersionType::Version2);
}
+void SET_SYS::GetAccountSettings(HLERequestContext& ctx) {
+ LOG_INFO(Service_SET, "called");
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.PushRaw(account_settings);
+}
+
+void SET_SYS::SetAccountSettings(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ account_settings = rp.PopRaw<AccountSettings>();
+
+ LOG_INFO(Service_SET, "called, account_settings_flags={}", account_settings.flags);
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
+void SET_SYS::GetEulaVersions(HLERequestContext& ctx) {
+ LOG_INFO(Service_SET, "called");
+
+ ctx.WriteBuffer(eula_versions);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(static_cast<u32>(eula_versions.size()));
+}
+
+void SET_SYS::SetEulaVersions(HLERequestContext& ctx) {
+ const auto elements = ctx.GetReadBufferNumElements<EulaVersion>();
+ const auto buffer_data = ctx.ReadBuffer();
+
+ LOG_INFO(Service_SET, "called, elements={}", elements);
+
+ eula_versions.resize(elements);
+ for (std::size_t index = 0; index < elements; index++) {
+ const std::size_t start_index = index * sizeof(EulaVersion);
+ memcpy(eula_versions.data() + start_index, buffer_data.data() + start_index,
+ sizeof(EulaVersion));
+ }
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
void SET_SYS::GetColorSetId(HLERequestContext& ctx) {
LOG_DEBUG(Service_SET, "called");
IPC::ResponseBuilder rb{ctx, 3};
-
rb.Push(ResultSuccess);
rb.PushEnum(color_set);
}
void SET_SYS::SetColorSetId(HLERequestContext& ctx) {
- LOG_DEBUG(Service_SET, "called");
-
IPC::RequestParser rp{ctx};
color_set = rp.PopEnum<ColorSet>();
+ LOG_DEBUG(Service_SET, "called, color_set={}", color_set);
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
+void SET_SYS::GetNotificationSettings(HLERequestContext& ctx) {
+ LOG_INFO(Service_SET, "called");
+
+ IPC::ResponseBuilder rb{ctx, 8};
+ rb.Push(ResultSuccess);
+ rb.PushRaw(notification_settings);
+}
+
+void SET_SYS::SetNotificationSettings(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ notification_settings = rp.PopRaw<NotificationSettings>();
+
+ LOG_INFO(Service_SET, "called, flags={}, volume={}, head_time={}:{}, tailt_time={}:{}",
+ notification_settings.flags.raw, notification_settings.volume,
+ notification_settings.start_time.hour, notification_settings.start_time.minute,
+ notification_settings.stop_time.hour, notification_settings.stop_time.minute);
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
+void SET_SYS::GetAccountNotificationSettings(HLERequestContext& ctx) {
+ LOG_INFO(Service_SET, "called");
+
+ ctx.WriteBuffer(account_notifications);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(static_cast<u32>(account_notifications.size()));
+}
+
+void SET_SYS::SetAccountNotificationSettings(HLERequestContext& ctx) {
+ const auto elements = ctx.GetReadBufferNumElements<AccountNotificationSettings>();
+ const auto buffer_data = ctx.ReadBuffer();
+
+ LOG_INFO(Service_SET, "called, elements={}", elements);
+
+ account_notifications.resize(elements);
+ for (std::size_t index = 0; index < elements; index++) {
+ const std::size_t start_index = index * sizeof(AccountNotificationSettings);
+ memcpy(account_notifications.data() + start_index, buffer_data.data() + start_index,
+ sizeof(AccountNotificationSettings));
+ }
+
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);
}
@@ -177,17 +281,218 @@ void SET_SYS::GetSettingsItemValue(HLERequestContext& ctx) {
rb.Push(response);
}
+void SET_SYS::GetTvSettings(HLERequestContext& ctx) {
+ LOG_INFO(Service_SET, "called");
+
+ IPC::ResponseBuilder rb{ctx, 10};
+ rb.Push(ResultSuccess);
+ rb.PushRaw(tv_settings);
+}
+
+void SET_SYS::SetTvSettings(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ tv_settings = rp.PopRaw<TvSettings>();
+
+ LOG_INFO(Service_SET,
+ "called, flags={}, cmu_mode={}, constrast_ratio={}, hdmi_content_type={}, "
+ "rgb_range={}, tv_gama={}, tv_resolution={}, tv_underscan={}",
+ tv_settings.flags.raw, tv_settings.cmu_mode, tv_settings.constrast_ratio,
+ tv_settings.hdmi_content_type, tv_settings.rgb_range, tv_settings.tv_gama,
+ tv_settings.tv_resolution, tv_settings.tv_underscan);
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
+void SET_SYS::GetQuestFlag(HLERequestContext& ctx) {
+ LOG_WARNING(Service_SET, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.PushEnum(QuestFlag::Retail);
+}
+
+void SET_SYS::SetRegionCode(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ region_code = rp.PopEnum<RegionCode>();
+
+ LOG_INFO(Service_SET, "called, region_code={}", region_code);
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
+void SET_SYS::GetPrimaryAlbumStorage(HLERequestContext& ctx) {
+ LOG_WARNING(Service_SET, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.PushEnum(PrimaryAlbumStorage::SdCard);
+}
+
+void SET_SYS::GetSleepSettings(HLERequestContext& ctx) {
+ LOG_INFO(Service_SET, "called");
+
+ IPC::ResponseBuilder rb{ctx, 5};
+ rb.Push(ResultSuccess);
+ rb.PushRaw(sleep_settings);
+}
+
+void SET_SYS::SetSleepSettings(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ sleep_settings = rp.PopRaw<SleepSettings>();
+
+ LOG_INFO(Service_SET, "called, flags={}, handheld_sleep_plan={}, console_sleep_plan={}",
+ sleep_settings.flags.raw, sleep_settings.handheld_sleep_plan,
+ sleep_settings.console_sleep_plan);
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
+void SET_SYS::GetInitialLaunchSettings(HLERequestContext& ctx) {
+ LOG_INFO(Service_SET, "called");
+ IPC::ResponseBuilder rb{ctx, 10};
+ rb.Push(ResultSuccess);
+ rb.PushRaw(launch_settings);
+}
+
+void SET_SYS::SetInitialLaunchSettings(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ launch_settings = rp.PopRaw<InitialLaunchSettings>();
+
+ LOG_INFO(Service_SET, "called, flags={}, timestamp={}", launch_settings.flags.raw,
+ launch_settings.timestamp.time_point);
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
void SET_SYS::GetDeviceNickName(HLERequestContext& ctx) {
LOG_DEBUG(Service_SET, "called");
+
+ ctx.WriteBuffer(::Settings::values.device_name.GetValue());
+
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);
- ctx.WriteBuffer(::Settings::values.device_name.GetValue());
+}
+
+void SET_SYS::SetDeviceNickName(HLERequestContext& ctx) {
+ const std::string device_name = Common::StringFromBuffer(ctx.ReadBuffer());
+
+ LOG_INFO(Service_SET, "called, device_name={}", device_name);
+
+ ::Settings::values.device_name = device_name;
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
+void SET_SYS::GetProductModel(HLERequestContext& ctx) {
+ const u32 product_model = 1;
+
+ LOG_WARNING(Service_SET, "(STUBBED) called, product_model={}", product_model);
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(product_model);
+}
+
+void SET_SYS::GetMiiAuthorId(HLERequestContext& ctx) {
+ const auto author_id = Common::UUID::MakeDefault();
+
+ LOG_WARNING(Service_SET, "(STUBBED) called, author_id={}", author_id.FormattedString());
+
+ IPC::ResponseBuilder rb{ctx, 6};
+ rb.Push(ResultSuccess);
+ rb.PushRaw(author_id);
+}
+
+void SET_SYS::GetAutoUpdateEnableFlag(HLERequestContext& ctx) {
+ u8 auto_update_flag{};
+
+ LOG_WARNING(Service_SET, "(STUBBED) called, auto_update_flag={}", auto_update_flag);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(auto_update_flag);
+}
+
+void SET_SYS::GetBatteryPercentageFlag(HLERequestContext& ctx) {
+ u8 battery_percentage_flag{1};
+
+ LOG_WARNING(Service_SET, "(STUBBED) called, battery_percentage_flag={}",
+ battery_percentage_flag);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(battery_percentage_flag);
+}
+
+void SET_SYS::GetErrorReportSharePermission(HLERequestContext& ctx) {
+ LOG_WARNING(Service_SET, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.PushEnum(ErrorReportSharePermission::Denied);
+}
+
+void SET_SYS::GetAppletLaunchFlags(HLERequestContext& ctx) {
+ LOG_INFO(Service_SET, "called, applet_launch_flag={}", applet_launch_flag);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(applet_launch_flag);
+}
+
+void SET_SYS::SetAppletLaunchFlags(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ applet_launch_flag = rp.Pop<u32>();
+
+ LOG_INFO(Service_SET, "called, applet_launch_flag={}", applet_launch_flag);
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+}
+
+void SET_SYS::GetKeyboardLayout(HLERequestContext& ctx) {
+ const auto language_code =
+ available_language_codes[static_cast<s32>(::Settings::values.language_index.GetValue())];
+ const auto key_code =
+ std::find_if(language_to_layout.cbegin(), language_to_layout.cend(),
+ [=](const auto& element) { return element.first == language_code; });
+
+ KeyboardLayout selected_keyboard_layout = KeyboardLayout::EnglishUs;
+ if (key_code != language_to_layout.end()) {
+ selected_keyboard_layout = key_code->second;
+ }
+
+ LOG_INFO(Service_SET, "called, selected_keyboard_layout={}", selected_keyboard_layout);
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push(static_cast<u32>(selected_keyboard_layout));
+}
+
+void SET_SYS::GetChineseTraditionalInputMethod(HLERequestContext& ctx) {
+ LOG_WARNING(Service_SET, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.PushEnum(ChineseTraditionalInputMethod::Unknown0);
+}
+
+void SET_SYS::GetFieldTestingFlag(HLERequestContext& ctx) {
+ LOG_WARNING(Service_SET, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 3};
+ rb.Push(ResultSuccess);
+ rb.Push<u8>(false);
}
SET_SYS::SET_SYS(Core::System& system_) : ServiceFramework{system_, "set:sys"} {
// clang-format off
static const FunctionInfo functions[] = {
- {0, nullptr, "SetLanguageCode"},
+ {0, &SET_SYS::SetLanguageCode, "SetLanguageCode"},
{1, nullptr, "SetNetworkSettings"},
{2, nullptr, "GetNetworkSettings"},
{3, &SET_SYS::GetFirmwareVersion, "GetFirmwareVersion"},
@@ -203,35 +508,35 @@ SET_SYS::SET_SYS(Core::System& system_) : ServiceFramework{system_, "set:sys"} {
{14, nullptr, "SetExternalSteadyClockSourceId"},
{15, nullptr, "GetUserSystemClockContext"},
{16, nullptr, "SetUserSystemClockContext"},
- {17, nullptr, "GetAccountSettings"},
- {18, nullptr, "SetAccountSettings"},
+ {17, &SET_SYS::GetAccountSettings, "GetAccountSettings"},
+ {18, &SET_SYS::SetAccountSettings, "SetAccountSettings"},
{19, nullptr, "GetAudioVolume"},
{20, nullptr, "SetAudioVolume"},
- {21, nullptr, "GetEulaVersions"},
- {22, nullptr, "SetEulaVersions"},
+ {21, &SET_SYS::GetEulaVersions, "GetEulaVersions"},
+ {22, &SET_SYS::SetEulaVersions, "SetEulaVersions"},
{23, &SET_SYS::GetColorSetId, "GetColorSetId"},
{24, &SET_SYS::SetColorSetId, "SetColorSetId"},
{25, nullptr, "GetConsoleInformationUploadFlag"},
{26, nullptr, "SetConsoleInformationUploadFlag"},
{27, nullptr, "GetAutomaticApplicationDownloadFlag"},
{28, nullptr, "SetAutomaticApplicationDownloadFlag"},
- {29, nullptr, "GetNotificationSettings"},
- {30, nullptr, "SetNotificationSettings"},
- {31, nullptr, "GetAccountNotificationSettings"},
- {32, nullptr, "SetAccountNotificationSettings"},
+ {29, &SET_SYS::GetNotificationSettings, "GetNotificationSettings"},
+ {30, &SET_SYS::SetNotificationSettings, "SetNotificationSettings"},
+ {31, &SET_SYS::GetAccountNotificationSettings, "GetAccountNotificationSettings"},
+ {32, &SET_SYS::SetAccountNotificationSettings, "SetAccountNotificationSettings"},
{35, nullptr, "GetVibrationMasterVolume"},
{36, nullptr, "SetVibrationMasterVolume"},
{37, &SET_SYS::GetSettingsItemValueSize, "GetSettingsItemValueSize"},
{38, &SET_SYS::GetSettingsItemValue, "GetSettingsItemValue"},
- {39, nullptr, "GetTvSettings"},
- {40, nullptr, "SetTvSettings"},
+ {39, &SET_SYS::GetTvSettings, "GetTvSettings"},
+ {40, &SET_SYS::SetTvSettings, "SetTvSettings"},
{41, nullptr, "GetEdid"},
{42, nullptr, "SetEdid"},
{43, nullptr, "GetAudioOutputMode"},
{44, nullptr, "SetAudioOutputMode"},
{45, nullptr, "IsForceMuteOnHeadphoneRemoved"},
{46, nullptr, "SetForceMuteOnHeadphoneRemoved"},
- {47, nullptr, "GetQuestFlag"},
+ {47, &SET_SYS::GetQuestFlag, "GetQuestFlag"},
{48, nullptr, "SetQuestFlag"},
{49, nullptr, "GetDataDeletionSettings"},
{50, nullptr, "SetDataDeletionSettings"},
@@ -241,13 +546,13 @@ SET_SYS::SET_SYS(Core::System& system_) : ServiceFramework{system_, "set:sys"} {
{54, nullptr, "SetDeviceTimeZoneLocationName"},
{55, nullptr, "GetWirelessCertificationFileSize"},
{56, nullptr, "GetWirelessCertificationFile"},
- {57, nullptr, "SetRegionCode"},
+ {57, &SET_SYS::SetRegionCode, "SetRegionCode"},
{58, nullptr, "GetNetworkSystemClockContext"},
{59, nullptr, "SetNetworkSystemClockContext"},
{60, nullptr, "IsUserSystemClockAutomaticCorrectionEnabled"},
{61, nullptr, "SetUserSystemClockAutomaticCorrectionEnabled"},
{62, nullptr, "GetDebugModeFlag"},
- {63, nullptr, "GetPrimaryAlbumStorage"},
+ {63, &SET_SYS::GetPrimaryAlbumStorage, "GetPrimaryAlbumStorage"},
{64, nullptr, "SetPrimaryAlbumStorage"},
{65, nullptr, "GetUsb30EnableFlag"},
{66, nullptr, "SetUsb30EnableFlag"},
@@ -255,15 +560,15 @@ SET_SYS::SET_SYS(Core::System& system_) : ServiceFramework{system_, "set:sys"} {
{68, nullptr, "GetSerialNumber"},
{69, nullptr, "GetNfcEnableFlag"},
{70, nullptr, "SetNfcEnableFlag"},
- {71, nullptr, "GetSleepSettings"},
- {72, nullptr, "SetSleepSettings"},
+ {71, &SET_SYS::GetSleepSettings, "GetSleepSettings"},
+ {72, &SET_SYS::SetSleepSettings, "SetSleepSettings"},
{73, nullptr, "GetWirelessLanEnableFlag"},
{74, nullptr, "SetWirelessLanEnableFlag"},
- {75, nullptr, "GetInitialLaunchSettings"},
- {76, nullptr, "SetInitialLaunchSettings"},
+ {75, &SET_SYS::GetInitialLaunchSettings, "GetInitialLaunchSettings"},
+ {76, &SET_SYS::SetInitialLaunchSettings, "SetInitialLaunchSettings"},
{77, &SET_SYS::GetDeviceNickName, "GetDeviceNickName"},
- {78, nullptr, "SetDeviceNickName"},
- {79, nullptr, "GetProductModel"},
+ {78, &SET_SYS::SetDeviceNickName, "SetDeviceNickName"},
+ {79, &SET_SYS::GetProductModel, "GetProductModel"},
{80, nullptr, "GetLdnChannel"},
{81, nullptr, "SetLdnChannel"},
{82, nullptr, "AcquireTelemetryDirtyFlagEventHandle"},
@@ -274,16 +579,16 @@ SET_SYS::SET_SYS(Core::System& system_) : ServiceFramework{system_, "set:sys"} {
{87, nullptr, "SetPtmFuelGaugeParameter"},
{88, nullptr, "GetBluetoothEnableFlag"},
{89, nullptr, "SetBluetoothEnableFlag"},
- {90, nullptr, "GetMiiAuthorId"},
+ {90, &SET_SYS::GetMiiAuthorId, "GetMiiAuthorId"},
{91, nullptr, "SetShutdownRtcValue"},
{92, nullptr, "GetShutdownRtcValue"},
{93, nullptr, "AcquireFatalDirtyFlagEventHandle"},
{94, nullptr, "GetFatalDirtyFlags"},
- {95, nullptr, "GetAutoUpdateEnableFlag"},
+ {95, &SET_SYS::GetAutoUpdateEnableFlag, "GetAutoUpdateEnableFlag"},
{96, nullptr, "SetAutoUpdateEnableFlag"},
{97, nullptr, "GetNxControllerSettings"},
{98, nullptr, "SetNxControllerSettings"},
- {99, nullptr, "GetBatteryPercentageFlag"},
+ {99, &SET_SYS::GetBatteryPercentageFlag, "GetBatteryPercentageFlag"},
{100, nullptr, "SetBatteryPercentageFlag"},
{101, nullptr, "GetExternalRtcResetFlag"},
{102, nullptr, "SetExternalRtcResetFlag"},
@@ -308,10 +613,10 @@ SET_SYS::SET_SYS(Core::System& system_) : ServiceFramework{system_, "set:sys"} {
{121, nullptr, "SetPushNotificationActivityModeOnSleep"},
{122, nullptr, "GetServiceDiscoveryControlSettings"},
{123, nullptr, "SetServiceDiscoveryControlSettings"},
- {124, nullptr, "GetErrorReportSharePermission"},
+ {124, &SET_SYS::GetErrorReportSharePermission, "GetErrorReportSharePermission"},
{125, nullptr, "SetErrorReportSharePermission"},
- {126, nullptr, "GetAppletLaunchFlags"},
- {127, nullptr, "SetAppletLaunchFlags"},
+ {126, &SET_SYS::GetAppletLaunchFlags, "GetAppletLaunchFlags"},
+ {127, &SET_SYS::SetAppletLaunchFlags, "SetAppletLaunchFlags"},
{128, nullptr, "GetConsoleSixAxisSensorAccelerationBias"},
{129, nullptr, "SetConsoleSixAxisSensorAccelerationBias"},
{130, nullptr, "GetConsoleSixAxisSensorAngularVelocityBias"},
@@ -320,7 +625,7 @@ SET_SYS::SET_SYS(Core::System& system_) : ServiceFramework{system_, "set:sys"} {
{133, nullptr, "SetConsoleSixAxisSensorAccelerationGain"},
{134, nullptr, "GetConsoleSixAxisSensorAngularVelocityGain"},
{135, nullptr, "SetConsoleSixAxisSensorAngularVelocityGain"},
- {136, nullptr, "GetKeyboardLayout"},
+ {136, &SET_SYS::GetKeyboardLayout, "GetKeyboardLayout"},
{137, nullptr, "SetKeyboardLayout"},
{138, nullptr, "GetWebInspectorFlag"},
{139, nullptr, "GetAllowedSslHosts"},
@@ -354,7 +659,7 @@ SET_SYS::SET_SYS(Core::System& system_) : ServiceFramework{system_, "set:sys"} {
{167, nullptr, "SetUsb30DeviceEnableFlag"},
{168, nullptr, "GetThemeId"},
{169, nullptr, "SetThemeId"},
- {170, nullptr, "GetChineseTraditionalInputMethod"},
+ {170, &SET_SYS::GetChineseTraditionalInputMethod, "GetChineseTraditionalInputMethod"},
{171, nullptr, "SetChineseTraditionalInputMethod"},
{172, nullptr, "GetPtmCycleCountReliability"},
{173, nullptr, "SetPtmCycleCountReliability"},
@@ -385,12 +690,16 @@ SET_SYS::SET_SYS(Core::System& system_) : ServiceFramework{system_, "set:sys"} {
{198, nullptr, "SetButtonConfigRegisteredSettingsEmbedded"},
{199, nullptr, "GetButtonConfigRegisteredSettings"},
{200, nullptr, "SetButtonConfigRegisteredSettings"},
- {201, nullptr, "GetFieldTestingFlag"},
+ {201, &SET_SYS::GetFieldTestingFlag, "GetFieldTestingFlag"},
{202, nullptr, "SetFieldTestingFlag"},
{203, nullptr, "GetPanelCrcMode"},
{204, nullptr, "SetPanelCrcMode"},
{205, nullptr, "GetNxControllerSettingsEx"},
{206, nullptr, "SetNxControllerSettingsEx"},
+ {207, nullptr, "GetHearingProtectionSafeguardFlag"},
+ {208, nullptr, "SetHearingProtectionSafeguardFlag"},
+ {209, nullptr, "GetHearingProtectionSafeguardRemainingTime"},
+ {210, nullptr, "SetHearingProtectionSafeguardRemainingTime"},
};
// clang-format on
diff --git a/src/core/hle/service/set/set_sys.h b/src/core/hle/service/set/set_sys.h
index 1efbcc97a..c7dba2a9e 100644
--- a/src/core/hle/service/set/set_sys.h
+++ b/src/core/hle/service/set/set_sys.h
@@ -3,7 +3,9 @@
#pragma once
+#include "common/uuid.h"
#include "core/hle/service/service.h"
+#include "core/hle/service/time/clock_types.h"
namespace Core {
class System;
@@ -23,15 +25,331 @@ private:
BasicBlack = 1,
};
- void GetSettingsItemValueSize(HLERequestContext& ctx);
- void GetSettingsItemValue(HLERequestContext& ctx);
+ /// Indicates the current console is a retail or kiosk unit
+ enum class QuestFlag : u8 {
+ Retail = 0,
+ Kiosk = 1,
+ };
+
+ /// This is nn::settings::system::TvResolution
+ enum class TvResolution : u32 {
+ Auto,
+ Resolution1080p,
+ Resolution720p,
+ Resolution480p,
+ };
+
+ /// This is nn::settings::system::HdmiContentType
+ enum class HdmiContentType : u32 {
+ None,
+ Graphics,
+ Cinema,
+ Photo,
+ Game,
+ };
+
+ /// This is nn::settings::system::RgbRange
+ enum class RgbRange : u32 {
+ Auto,
+ Full,
+ Limited,
+ };
+
+ /// This is nn::settings::system::CmuMode
+ enum class CmuMode : u32 {
+ None,
+ ColorInvert,
+ HighContrast,
+ GrayScale,
+ };
+
+ /// This is nn::settings::system::PrimaryAlbumStorage
+ enum class PrimaryAlbumStorage : u32 {
+ Nand,
+ SdCard,
+ };
+
+ /// This is nn::settings::system::NotificationVolume
+ enum class NotificationVolume : u32 {
+ Mute,
+ Low,
+ High,
+ };
+
+ /// This is nn::settings::system::ChineseTraditionalInputMethod
+ enum class ChineseTraditionalInputMethod : u32 {
+ Unknown0 = 0,
+ Unknown1 = 1,
+ Unknown2 = 2,
+ };
+
+ /// This is nn::settings::system::ErrorReportSharePermission
+ enum class ErrorReportSharePermission : u32 {
+ NotConfirmed,
+ Granted,
+ Denied,
+ };
+
+ /// This is nn::settings::system::FriendPresenceOverlayPermission
+ enum class FriendPresenceOverlayPermission : u8 {
+ NotConfirmed,
+ NoDisplay,
+ FavoriteFriends,
+ Friends,
+ };
+
+ /// This is nn::settings::system::HandheldSleepPlan
+ enum class HandheldSleepPlan : u32 {
+ Sleep1Min,
+ Sleep3Min,
+ Sleep5Min,
+ Sleep10Min,
+ Sleep30Min,
+ Never,
+ };
+
+ /// This is nn::settings::system::ConsoleSleepPlan
+ enum class ConsoleSleepPlan : u32 {
+ Sleep1Hour,
+ Sleep2Hour,
+ Sleep3Hour,
+ Sleep6Hour,
+ Sleep12Hour,
+ Never,
+ };
+
+ /// This is nn::settings::system::RegionCode
+ enum class RegionCode : u32 {
+ Japan,
+ Usa,
+ Europe,
+ Australia,
+ HongKongTaiwanKorea,
+ China,
+ };
+
+ /// This is nn::settings::system::EulaVersionClockType
+ enum class EulaVersionClockType : u32 {
+ NetworkSystemClock,
+ SteadyClock,
+ };
+
+ /// This is nn::settings::system::SleepFlag
+ struct SleepFlag {
+ union {
+ u32 raw{};
+
+ BitField<0, 1, u32> SleepsWhilePlayingMedia;
+ BitField<1, 1, u32> WakesAtPowerStateChange;
+ };
+ };
+ static_assert(sizeof(SleepFlag) == 4, "TvFlag is an invalid size");
+
+ /// This is nn::settings::system::TvFlag
+ struct TvFlag {
+ union {
+ u32 raw{};
+
+ BitField<0, 1, u32> Allows4k;
+ BitField<1, 1, u32> Allows3d;
+ BitField<2, 1, u32> AllowsCec;
+ BitField<3, 1, u32> PreventsScreenBurnIn;
+ };
+ };
+ static_assert(sizeof(TvFlag) == 4, "TvFlag is an invalid size");
+
+ /// This is nn::settings::system::InitialLaunchFlag
+ struct InitialLaunchFlag {
+ union {
+ u32 raw{};
+
+ BitField<0, 1, u32> InitialLaunchCompletionFlag;
+ BitField<8, 1, u32> InitialLaunchUserAdditionFlag;
+ BitField<16, 1, u32> InitialLaunchTimestampFlag;
+ };
+ };
+ static_assert(sizeof(InitialLaunchFlag) == 4, "InitialLaunchFlag is an invalid size");
+
+ /// This is nn::settings::system::NotificationFlag
+ struct NotificationFlag {
+ union {
+ u32 raw{};
+
+ BitField<0, 1, u32> RingtoneFlag;
+ BitField<1, 1, u32> DownloadCompletionFlag;
+ BitField<8, 1, u32> EnablesNews;
+ BitField<9, 1, u32> IncomingLampFlag;
+ };
+ };
+ static_assert(sizeof(NotificationFlag) == 4, "NotificationFlag is an invalid size");
+
+ /// This is nn::settings::system::AccountNotificationFlag
+ struct AccountNotificationFlag {
+ union {
+ u32 raw{};
+
+ BitField<0, 1, u32> FriendOnlineFlag;
+ BitField<1, 1, u32> FriendRequestFlag;
+ BitField<8, 1, u32> CoralInvitationFlag;
+ };
+ };
+ static_assert(sizeof(AccountNotificationFlag) == 4,
+ "AccountNotificationFlag is an invalid size");
+
+ /// This is nn::settings::system::TvSettings
+ struct TvSettings {
+ TvFlag flags;
+ TvResolution tv_resolution;
+ HdmiContentType hdmi_content_type;
+ RgbRange rgb_range;
+ CmuMode cmu_mode;
+ u32 tv_underscan;
+ f32 tv_gama;
+ f32 constrast_ratio;
+ };
+ static_assert(sizeof(TvSettings) == 0x20, "TvSettings is an invalid size");
+
+ /// This is nn::settings::system::NotificationTime
+ struct NotificationTime {
+ u32 hour;
+ u32 minute;
+ };
+ static_assert(sizeof(NotificationTime) == 0x8, "NotificationTime is an invalid size");
+
+ /// This is nn::settings::system::NotificationSettings
+ struct NotificationSettings {
+ NotificationFlag flags;
+ NotificationVolume volume;
+ NotificationTime start_time;
+ NotificationTime stop_time;
+ };
+ static_assert(sizeof(NotificationSettings) == 0x18, "NotificationSettings is an invalid size");
+
+ /// This is nn::settings::system::AccountSettings
+ struct AccountSettings {
+ u32 flags;
+ };
+ static_assert(sizeof(AccountSettings) == 0x4, "AccountSettings is an invalid size");
+
+ /// This is nn::settings::system::AccountNotificationSettings
+ struct AccountNotificationSettings {
+ Common::UUID uid;
+ AccountNotificationFlag flags;
+ FriendPresenceOverlayPermission friend_presence_permission;
+ FriendPresenceOverlayPermission friend_invitation_permission;
+ INSERT_PADDING_BYTES(0x2);
+ };
+ static_assert(sizeof(AccountNotificationSettings) == 0x18,
+ "AccountNotificationSettings is an invalid size");
+
+ /// This is nn::settings::system::InitialLaunchSettings
+ struct SleepSettings {
+ SleepFlag flags;
+ HandheldSleepPlan handheld_sleep_plan;
+ ConsoleSleepPlan console_sleep_plan;
+ };
+ static_assert(sizeof(SleepSettings) == 0xc, "SleepSettings is incorrect size");
+
+ /// This is nn::settings::system::InitialLaunchSettings
+ struct InitialLaunchSettings {
+ InitialLaunchFlag flags;
+ INSERT_PADDING_BYTES(0x4);
+ Time::Clock::SteadyClockTimePoint timestamp;
+ };
+ static_assert(sizeof(InitialLaunchSettings) == 0x20, "InitialLaunchSettings is incorrect size");
+
+ /// This is nn::settings::system::InitialLaunchSettings
+ struct EulaVersion {
+ u32 version;
+ RegionCode region_code;
+ EulaVersionClockType clock_type;
+ INSERT_PADDING_BYTES(0x4);
+ s64 posix_time;
+ Time::Clock::SteadyClockTimePoint timestamp;
+ };
+ static_assert(sizeof(EulaVersion) == 0x30, "EulaVersion is incorrect size");
+
+ void SetLanguageCode(HLERequestContext& ctx);
void GetFirmwareVersion(HLERequestContext& ctx);
void GetFirmwareVersion2(HLERequestContext& ctx);
+ void GetAccountSettings(HLERequestContext& ctx);
+ void SetAccountSettings(HLERequestContext& ctx);
+ void GetEulaVersions(HLERequestContext& ctx);
+ void SetEulaVersions(HLERequestContext& ctx);
void GetColorSetId(HLERequestContext& ctx);
void SetColorSetId(HLERequestContext& ctx);
+ void GetNotificationSettings(HLERequestContext& ctx);
+ void SetNotificationSettings(HLERequestContext& ctx);
+ void GetAccountNotificationSettings(HLERequestContext& ctx);
+ void SetAccountNotificationSettings(HLERequestContext& ctx);
+ void GetSettingsItemValueSize(HLERequestContext& ctx);
+ void GetSettingsItemValue(HLERequestContext& ctx);
+ void GetTvSettings(HLERequestContext& ctx);
+ void SetTvSettings(HLERequestContext& ctx);
+ void GetQuestFlag(HLERequestContext& ctx);
+ void SetRegionCode(HLERequestContext& ctx);
+ void GetPrimaryAlbumStorage(HLERequestContext& ctx);
+ void GetSleepSettings(HLERequestContext& ctx);
+ void SetSleepSettings(HLERequestContext& ctx);
+ void GetInitialLaunchSettings(HLERequestContext& ctx);
+ void SetInitialLaunchSettings(HLERequestContext& ctx);
void GetDeviceNickName(HLERequestContext& ctx);
+ void SetDeviceNickName(HLERequestContext& ctx);
+ void GetProductModel(HLERequestContext& ctx);
+ void GetMiiAuthorId(HLERequestContext& ctx);
+ void GetAutoUpdateEnableFlag(HLERequestContext& ctx);
+ void GetBatteryPercentageFlag(HLERequestContext& ctx);
+ void GetErrorReportSharePermission(HLERequestContext& ctx);
+ void GetAppletLaunchFlags(HLERequestContext& ctx);
+ void SetAppletLaunchFlags(HLERequestContext& ctx);
+ void GetKeyboardLayout(HLERequestContext& ctx);
+ void GetChineseTraditionalInputMethod(HLERequestContext& ctx);
+ void GetFieldTestingFlag(HLERequestContext& ctx);
+
+ AccountSettings account_settings{
+ .flags = {},
+ };
ColorSet color_set = ColorSet::BasicWhite;
+
+ NotificationSettings notification_settings{
+ .flags = {0x300},
+ .volume = NotificationVolume::High,
+ .start_time = {.hour = 9, .minute = 0},
+ .stop_time = {.hour = 21, .minute = 0},
+ };
+
+ std::vector<AccountNotificationSettings> account_notifications{};
+
+ TvSettings tv_settings{
+ .flags = {0xc},
+ .tv_resolution = TvResolution::Auto,
+ .hdmi_content_type = HdmiContentType::Game,
+ .rgb_range = RgbRange::Auto,
+ .cmu_mode = CmuMode::None,
+ .tv_underscan = {},
+ .tv_gama = 1.0f,
+ .constrast_ratio = 0.5f,
+ };
+
+ InitialLaunchSettings launch_settings{
+ .flags = {0x10001},
+ .timestamp = {},
+ };
+
+ SleepSettings sleep_settings{
+ .flags = {0x3},
+ .handheld_sleep_plan = HandheldSleepPlan::Sleep10Min,
+ .console_sleep_plan = ConsoleSleepPlan::Sleep1Hour,
+ };
+
+ u32 applet_launch_flag{};
+
+ std::vector<EulaVersion> eula_versions{};
+
+ RegionCode region_code;
+
+ LanguageCode language_code_setting;
};
} // namespace Service::Set
diff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cpp
index 1608fa24c..9ab718e0a 100644
--- a/src/core/hle/service/sm/sm.cpp
+++ b/src/core/hle/service/sm/sm.cpp
@@ -52,8 +52,7 @@ static Result ValidateServiceName(const std::string& name) {
Result ServiceManager::RegisterService(std::string name, u32 max_sessions,
SessionRequestHandlerPtr handler) {
-
- CASCADE_CODE(ValidateServiceName(name));
+ R_TRY(ValidateServiceName(name));
std::scoped_lock lk{lock};
if (registered_services.find(name) != registered_services.end()) {
@@ -77,7 +76,7 @@ Result ServiceManager::RegisterService(std::string name, u32 max_sessions,
}
Result ServiceManager::UnregisterService(const std::string& name) {
- CASCADE_CODE(ValidateServiceName(name));
+ R_TRY(ValidateServiceName(name));
std::scoped_lock lk{lock};
const auto iter = registered_services.find(name);
@@ -92,8 +91,8 @@ Result ServiceManager::UnregisterService(const std::string& name) {
return ResultSuccess;
}
-ResultVal<Kernel::KPort*> ServiceManager::GetServicePort(const std::string& name) {
- CASCADE_CODE(ValidateServiceName(name));
+Result ServiceManager::GetServicePort(Kernel::KPort** out_port, const std::string& name) {
+ R_TRY(ValidateServiceName(name));
std::scoped_lock lk{lock};
auto it = service_ports.find(name);
@@ -102,7 +101,8 @@ ResultVal<Kernel::KPort*> ServiceManager::GetServicePort(const std::string& name
return Service::SM::ResultNotRegistered;
}
- return it->second;
+ *out_port = it->second;
+ return ResultSuccess;
}
/**
@@ -122,32 +122,34 @@ void SM::Initialize(HLERequestContext& ctx) {
}
void SM::GetService(HLERequestContext& ctx) {
- auto result = GetServiceImpl(ctx);
+ Kernel::KClientSession* client_session{};
+ auto result = GetServiceImpl(&client_session, ctx);
if (ctx.GetIsDeferred()) {
// Don't overwrite the command buffer.
return;
}
- if (result.Succeeded()) {
+ if (result == ResultSuccess) {
IPC::ResponseBuilder rb{ctx, 2, 0, 1, IPC::ResponseBuilder::Flags::AlwaysMoveHandles};
- rb.Push(result.Code());
- rb.PushMoveObjects(result.Unwrap());
+ rb.Push(result);
+ rb.PushMoveObjects(client_session);
} else {
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(result.Code());
+ rb.Push(result);
}
}
void SM::GetServiceTipc(HLERequestContext& ctx) {
- auto result = GetServiceImpl(ctx);
+ Kernel::KClientSession* client_session{};
+ auto result = GetServiceImpl(&client_session, ctx);
if (ctx.GetIsDeferred()) {
// Don't overwrite the command buffer.
return;
}
IPC::ResponseBuilder rb{ctx, 2, 0, 1, IPC::ResponseBuilder::Flags::AlwaysMoveHandles};
- rb.Push(result.Code());
- rb.PushMoveObjects(result.Succeeded() ? result.Unwrap() : nullptr);
+ rb.Push(result);
+ rb.PushMoveObjects(result == ResultSuccess ? client_session : nullptr);
}
static std::string PopServiceName(IPC::RequestParser& rp) {
@@ -161,7 +163,7 @@ static std::string PopServiceName(IPC::RequestParser& rp) {
return result;
}
-ResultVal<Kernel::KClientSession*> SM::GetServiceImpl(HLERequestContext& ctx) {
+Result SM::GetServiceImpl(Kernel::KClientSession** out_client_session, HLERequestContext& ctx) {
if (!ctx.GetManager()->GetIsInitializedForSm()) {
return Service::SM::ResultInvalidClient;
}
@@ -170,18 +172,18 @@ ResultVal<Kernel::KClientSession*> SM::GetServiceImpl(HLERequestContext& ctx) {
std::string name(PopServiceName(rp));
// Find the named port.
- auto port_result = service_manager.GetServicePort(name);
- if (port_result.Code() == Service::SM::ResultInvalidServiceName) {
+ Kernel::KPort* port{};
+ auto port_result = service_manager.GetServicePort(&port, name);
+ if (port_result == Service::SM::ResultInvalidServiceName) {
LOG_ERROR(Service_SM, "Invalid service name '{}'", name);
return Service::SM::ResultInvalidServiceName;
}
- if (port_result.Failed()) {
+ if (port_result != ResultSuccess) {
LOG_INFO(Service_SM, "Waiting for service {} to become available", name);
ctx.SetIsDeferred();
return Service::SM::ResultNotRegistered;
}
- auto& port = port_result.Unwrap();
// Create a new session.
Kernel::KClientSession* session{};
@@ -192,7 +194,8 @@ ResultVal<Kernel::KClientSession*> SM::GetServiceImpl(HLERequestContext& ctx) {
LOG_DEBUG(Service_SM, "called service={} -> session={}", name, session->GetId());
- return session;
+ *out_client_session = session;
+ return ResultSuccess;
}
void SM::RegisterService(HLERequestContext& ctx) {
diff --git a/src/core/hle/service/sm/sm.h b/src/core/hle/service/sm/sm.h
index 6697f4007..14bfaf8c2 100644
--- a/src/core/hle/service/sm/sm.h
+++ b/src/core/hle/service/sm/sm.h
@@ -42,7 +42,7 @@ private:
void RegisterService(HLERequestContext& ctx);
void UnregisterService(HLERequestContext& ctx);
- ResultVal<Kernel::KClientSession*> GetServiceImpl(HLERequestContext& ctx);
+ Result GetServiceImpl(Kernel::KClientSession** out_client_session, HLERequestContext& ctx);
ServiceManager& service_manager;
Kernel::KernelCore& kernel;
@@ -55,7 +55,7 @@ public:
Result RegisterService(std::string name, u32 max_sessions, SessionRequestHandlerPtr handler);
Result UnregisterService(const std::string& name);
- ResultVal<Kernel::KPort*> GetServicePort(const std::string& name);
+ Result GetServicePort(Kernel::KPort** out_port, const std::string& name);
template <Common::DerivedFrom<SessionRequestHandler> T>
std::shared_ptr<T> GetService(const std::string& service_name) const {
diff --git a/src/core/hle/service/sockets/bsd.cpp b/src/core/hle/service/sockets/bsd.cpp
index 11f8efbac..85849d5f3 100644
--- a/src/core/hle/service/sockets/bsd.cpp
+++ b/src/core/hle/service/sockets/bsd.cpp
@@ -170,7 +170,7 @@ void BSD::Socket(HLERequestContext& ctx) {
}
void BSD::Select(HLERequestContext& ctx) {
- LOG_WARNING(Service, "(STUBBED) called");
+ LOG_DEBUG(Service, "(STUBBED) called");
IPC::ResponseBuilder rb{ctx, 4};
@@ -1029,6 +1029,11 @@ BSD::~BSD() {
}
}
+std::unique_lock<std::mutex> BSD::LockService() {
+ // Do not lock socket IClient instances.
+ return {};
+}
+
BSDCFG::BSDCFG(Core::System& system_) : ServiceFramework{system_, "bsdcfg"} {
// clang-format off
static const FunctionInfo functions[] = {
diff --git a/src/core/hle/service/sockets/bsd.h b/src/core/hle/service/sockets/bsd.h
index 430edb97c..161f22b9b 100644
--- a/src/core/hle/service/sockets/bsd.h
+++ b/src/core/hle/service/sockets/bsd.h
@@ -186,6 +186,9 @@ private:
// Callback identifier for the OnProxyPacketReceived event.
Network::RoomMember::CallbackHandle<Network::ProxyPacket> proxy_packet_received;
+
+protected:
+ virtual std::unique_lock<std::mutex> LockService() override;
};
class BSDCFG final : public ServiceFramework<BSDCFG> {
diff --git a/src/core/hle/service/sockets/nsd.cpp b/src/core/hle/service/sockets/nsd.cpp
index 5dfcaabb1..491b76d48 100644
--- a/src/core/hle/service/sockets/nsd.cpp
+++ b/src/core/hle/service/sockets/nsd.cpp
@@ -19,6 +19,12 @@ enum class ServerEnvironmentType : u8 {
Dp,
};
+// This is nn::nsd::EnvironmentIdentifier
+struct EnvironmentIdentifier {
+ std::array<u8, 8> identifier;
+};
+static_assert(sizeof(EnvironmentIdentifier) == 0x8);
+
NSD::NSD(Core::System& system_, const char* name) : ServiceFramework{system_, name} {
// clang-format off
static const FunctionInfo functions[] = {
@@ -54,7 +60,7 @@ NSD::NSD(Core::System& system_, const char* name) : ServiceFramework{system_, na
RegisterHandlers(functions);
}
-static ResultVal<std::string> ResolveImpl(const std::string& fqdn_in) {
+static std::string ResolveImpl(const std::string& fqdn_in) {
// The real implementation makes various substitutions.
// For now we just return the string as-is, which is good enough when not
// connecting to real Nintendo servers.
@@ -64,13 +70,10 @@ static ResultVal<std::string> ResolveImpl(const std::string& fqdn_in) {
static Result ResolveCommon(const std::string& fqdn_in, std::array<char, 0x100>& fqdn_out) {
const auto res = ResolveImpl(fqdn_in);
- if (res.Failed()) {
- return res.Code();
- }
- if (res->size() >= fqdn_out.size()) {
+ if (res.size() >= fqdn_out.size()) {
return ResultOverflow;
}
- std::memcpy(fqdn_out.data(), res->c_str(), res->size() + 1);
+ std::memcpy(fqdn_out.data(), res.c_str(), res.size() + 1);
return ResultSuccess;
}
@@ -104,8 +107,9 @@ void NSD::ResolveEx(HLERequestContext& ctx) {
}
void NSD::GetEnvironmentIdentifier(HLERequestContext& ctx) {
- const std::string environment_identifier = "lp1";
- ctx.WriteBuffer(environment_identifier);
+ constexpr EnvironmentIdentifier lp1 = {
+ .identifier = {'l', 'p', '1', '\0', '\0', '\0', '\0', '\0'}};
+ ctx.WriteBuffer(lp1);
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(ResultSuccess);
diff --git a/src/core/hle/service/sockets/sfdnsres.cpp b/src/core/hle/service/sockets/sfdnsres.cpp
index 22e4a6f49..c657c4efd 100644
--- a/src/core/hle/service/sockets/sfdnsres.cpp
+++ b/src/core/hle/service/sockets/sfdnsres.cpp
@@ -150,6 +150,12 @@ static std::pair<u32, GetAddrInfoError> GetHostByNameRequestImpl(HLERequestConte
const std::string host = Common::StringFromBuffer(host_buffer);
// For now, ignore options, which are in input buffer 1 for GetHostByNameRequestWithOptions.
+ // Prevent resolution of Nintendo servers
+ if (host.find("srv.nintendo.net") != std::string::npos) {
+ LOG_WARNING(Network, "Resolution of hostname {} requested, returning EAI_AGAIN", host);
+ return {0, GetAddrInfoError::AGAIN};
+ }
+
auto res = Network::GetAddressInfo(host, /*service*/ std::nullopt);
if (!res.has_value()) {
return {0, Translate(res.error())};
@@ -261,6 +267,12 @@ static std::pair<u32, GetAddrInfoError> GetAddrInfoRequestImpl(HLERequestContext
const auto host_buffer = ctx.ReadBuffer(0);
const std::string host = Common::StringFromBuffer(host_buffer);
+ // Prevent resolution of Nintendo servers
+ if (host.find("srv.nintendo.net") != std::string::npos) {
+ LOG_WARNING(Network, "Resolution of hostname {} requested, returning EAI_AGAIN", host);
+ return {0, GetAddrInfoError::AGAIN};
+ }
+
std::optional<std::string> service = std::nullopt;
if (ctx.CanReadBuffer(1)) {
const std::span<const u8> service_buffer = ctx.ReadBuffer(1);
diff --git a/src/core/hle/service/sockets/sockets.h b/src/core/hle/service/sockets/sockets.h
index 77426c46e..f86af01a4 100644
--- a/src/core/hle/service/sockets/sockets.h
+++ b/src/core/hle/service/sockets/sockets.h
@@ -18,7 +18,9 @@ enum class Errno : u32 {
AGAIN = 11,
INVAL = 22,
MFILE = 24,
+ PIPE = 32,
MSGSIZE = 90,
+ CONNABORTED = 103,
CONNRESET = 104,
NOTCONN = 107,
TIMEDOUT = 110,
diff --git a/src/core/hle/service/sockets/sockets_translate.cpp b/src/core/hle/service/sockets/sockets_translate.cpp
index c1187209f..aed05250c 100644
--- a/src/core/hle/service/sockets/sockets_translate.cpp
+++ b/src/core/hle/service/sockets/sockets_translate.cpp
@@ -23,10 +23,14 @@ Errno Translate(Network::Errno value) {
return Errno::INVAL;
case Network::Errno::MFILE:
return Errno::MFILE;
+ case Network::Errno::PIPE:
+ return Errno::PIPE;
case Network::Errno::NOTCONN:
return Errno::NOTCONN;
case Network::Errno::TIMEDOUT:
return Errno::TIMEDOUT;
+ case Network::Errno::CONNABORTED:
+ return Errno::CONNABORTED;
case Network::Errno::CONNRESET:
return Errno::CONNRESET;
case Network::Errno::INPROGRESS:
diff --git a/src/core/hle/service/spl/spl_module.cpp b/src/core/hle/service/spl/spl_module.cpp
index 0227d4393..549e6f4fa 100644
--- a/src/core/hle/service/spl/spl_module.cpp
+++ b/src/core/hle/service/spl/spl_module.cpp
@@ -19,7 +19,8 @@ namespace Service::SPL {
Module::Interface::Interface(Core::System& system_, std::shared_ptr<Module> module_,
const char* name)
: ServiceFramework{system_, name}, module{std::move(module_)},
- rng(Settings::values.rng_seed.GetValue().value_or(std::time(nullptr))) {}
+ rng(Settings::values.rng_seed_enabled ? Settings::values.rng_seed.GetValue()
+ : static_cast<u32>(std::time(nullptr))) {}
Module::Interface::~Interface() = default;
@@ -29,10 +30,10 @@ void Module::Interface::GetConfig(HLERequestContext& ctx) {
// This should call svcCallSecureMonitor with the appropriate args.
// Since we do not have it implemented yet, we will use this for now.
- const auto smc_result = GetConfigImpl(config_item);
- const auto result_code = smc_result.Code();
+ u64 smc_result{};
+ const auto result_code = GetConfigImpl(&smc_result, config_item);
- if (smc_result.Failed()) {
+ if (result_code != ResultSuccess) {
LOG_ERROR(Service_SPL, "called, config_item={}, result_code={}", config_item,
result_code.raw);
@@ -41,11 +42,11 @@ void Module::Interface::GetConfig(HLERequestContext& ctx) {
}
LOG_DEBUG(Service_SPL, "called, config_item={}, result_code={}, smc_result={}", config_item,
- result_code.raw, *smc_result);
+ result_code.raw, smc_result);
IPC::ResponseBuilder rb{ctx, 4};
rb.Push(result_code);
- rb.Push(*smc_result);
+ rb.Push(smc_result);
}
void Module::Interface::ModularExponentiate(HLERequestContext& ctx) {
@@ -98,7 +99,7 @@ void Module::Interface::GetBootReason(HLERequestContext& ctx) {
rb.Push(ResultSecureMonitorNotImplemented);
}
-ResultVal<u64> Module::Interface::GetConfigImpl(ConfigItem config_item) const {
+Result Module::Interface::GetConfigImpl(u64* out_config, ConfigItem config_item) const {
switch (config_item) {
case ConfigItem::DisableProgramVerification:
case ConfigItem::DramId:
@@ -120,40 +121,50 @@ ResultVal<u64> Module::Interface::GetConfigImpl(ConfigItem config_item) const {
return ResultSecureMonitorNotImplemented;
case ConfigItem::ExosphereApiVersion:
// Get information about the current exosphere version.
- return (u64{HLE::ApiVersion::ATMOSPHERE_RELEASE_VERSION_MAJOR} << 56) |
- (u64{HLE::ApiVersion::ATMOSPHERE_RELEASE_VERSION_MINOR} << 48) |
- (u64{HLE::ApiVersion::ATMOSPHERE_RELEASE_VERSION_MICRO} << 40) |
- (static_cast<u64>(HLE::ApiVersion::GetTargetFirmware()));
+ *out_config = (u64{HLE::ApiVersion::ATMOSPHERE_RELEASE_VERSION_MAJOR} << 56) |
+ (u64{HLE::ApiVersion::ATMOSPHERE_RELEASE_VERSION_MINOR} << 48) |
+ (u64{HLE::ApiVersion::ATMOSPHERE_RELEASE_VERSION_MICRO} << 40) |
+ (static_cast<u64>(HLE::ApiVersion::GetTargetFirmware()));
+ return ResultSuccess;
case ConfigItem::ExosphereNeedsReboot:
// We are executing, so we aren't in the process of rebooting.
- return u64{0};
+ *out_config = u64{0};
+ return ResultSuccess;
case ConfigItem::ExosphereNeedsShutdown:
// We are executing, so we aren't in the process of shutting down.
- return u64{0};
+ *out_config = u64{0};
+ return ResultSuccess;
case ConfigItem::ExosphereGitCommitHash:
// Get information about the current exosphere git commit hash.
- return u64{0};
+ *out_config = u64{0};
+ return ResultSuccess;
case ConfigItem::ExosphereHasRcmBugPatch:
// Get information about whether this unit has the RCM bug patched.
- return u64{0};
+ *out_config = u64{0};
+ return ResultSuccess;
case ConfigItem::ExosphereBlankProdInfo:
// Get whether this unit should simulate a "blanked" PRODINFO.
- return u64{0};
+ *out_config = u64{0};
+ return ResultSuccess;
case ConfigItem::ExosphereAllowCalWrites:
// Get whether this unit should allow writing to the calibration partition.
- return u64{0};
+ *out_config = u64{0};
+ return ResultSuccess;
case ConfigItem::ExosphereEmummcType:
// Get what kind of emummc this unit has active.
- return u64{0};
+ *out_config = u64{0};
+ return ResultSuccess;
case ConfigItem::ExospherePayloadAddress:
// Gets the physical address of the reboot payload buffer, if one exists.
return ResultSecureMonitorNotInitialized;
case ConfigItem::ExosphereLogConfiguration:
// Get the log configuration.
- return u64{0};
+ *out_config = u64{0};
+ return ResultSuccess;
case ConfigItem::ExosphereForceEnableUsb30:
// Get whether usb 3.0 should be force-enabled.
- return u64{0};
+ *out_config = u64{0};
+ return ResultSuccess;
default:
return ResultSecureMonitorInvalidArgument;
}
diff --git a/src/core/hle/service/spl/spl_module.h b/src/core/hle/service/spl/spl_module.h
index e074e115d..06dcffa6c 100644
--- a/src/core/hle/service/spl/spl_module.h
+++ b/src/core/hle/service/spl/spl_module.h
@@ -35,7 +35,7 @@ public:
std::shared_ptr<Module> module;
private:
- ResultVal<u64> GetConfigImpl(ConfigItem config_item) const;
+ Result GetConfigImpl(u64* out_config, ConfigItem config_item) const;
std::mt19937 rng;
};
diff --git a/src/core/hle/service/ssl/ssl.cpp b/src/core/hle/service/ssl/ssl.cpp
index 9c96f9763..6c8427b0d 100644
--- a/src/core/hle/service/ssl/ssl.cpp
+++ b/src/core/hle/service/ssl/ssl.cpp
@@ -4,6 +4,7 @@
#include "common/string_util.h"
#include "core/core.h"
+#include "core/hle/result.h"
#include "core/hle/service/ipc_helpers.h"
#include "core/hle/service/server_manager.h"
#include "core/hle/service/service.h"
@@ -138,15 +139,14 @@ private:
bool do_not_close_socket = false;
bool get_server_cert_chain = false;
std::shared_ptr<Network::SocketBase> socket;
- bool did_set_host_name = false;
bool did_handshake = false;
- ResultVal<s32> SetSocketDescriptorImpl(s32 fd) {
+ Result SetSocketDescriptorImpl(s32* out_fd, s32 fd) {
LOG_DEBUG(Service_SSL, "called, fd={}", fd);
ASSERT(!did_handshake);
auto bsd = system.ServiceManager().GetService<Service::Sockets::BSD>("bsd:u");
ASSERT_OR_EXECUTE(bsd, { return ResultInternalError; });
- s32 ret_fd;
+
// Based on https://switchbrew.org/wiki/SSL_services#SetSocketDescriptor
if (do_not_close_socket) {
auto res = bsd->DuplicateSocketImpl(fd);
@@ -156,9 +156,9 @@ private:
}
fd = *res;
fd_to_close = fd;
- ret_fd = fd;
+ *out_fd = fd;
} else {
- ret_fd = -1;
+ *out_fd = -1;
}
std::optional<std::shared_ptr<Network::SocketBase>> sock = bsd->GetSocket(fd);
if (!sock.has_value()) {
@@ -167,17 +167,13 @@ private:
}
socket = std::move(*sock);
backend->SetSocket(socket);
- return ret_fd;
+ return ResultSuccess;
}
Result SetHostNameImpl(const std::string& hostname) {
LOG_DEBUG(Service_SSL, "called. hostname={}", hostname);
ASSERT(!did_handshake);
- Result res = backend->SetHostName(hostname);
- if (res == ResultSuccess) {
- did_set_host_name = true;
- }
- return res;
+ return backend->SetHostName(hostname);
}
Result SetVerifyOptionImpl(u32 option) {
@@ -207,9 +203,6 @@ private:
Result DoHandshakeImpl() {
ASSERT_OR_EXECUTE(!did_handshake && socket, { return ResultNoSocket; });
- ASSERT_OR_EXECUTE_MSG(
- did_set_host_name, { return ResultInternalError; },
- "Expected SetHostName before DoHandshake");
Result res = backend->DoHandshake();
did_handshake = res.IsSuccess();
return res;
@@ -247,34 +240,36 @@ private:
return ret;
}
- ResultVal<std::vector<u8>> ReadImpl(size_t size) {
+ Result ReadImpl(std::vector<u8>* out_data, size_t size) {
ASSERT_OR_EXECUTE(did_handshake, { return ResultInternalError; });
- std::vector<u8> res(size);
- ResultVal<size_t> actual = backend->Read(res);
- if (actual.Failed()) {
- return actual.Code();
+ size_t actual_size{};
+ Result res = backend->Read(&actual_size, *out_data);
+ if (res != ResultSuccess) {
+ return res;
}
- res.resize(*actual);
+ out_data->resize(actual_size);
return res;
}
- ResultVal<size_t> WriteImpl(std::span<const u8> data) {
+ Result WriteImpl(size_t* out_size, std::span<const u8> data) {
ASSERT_OR_EXECUTE(did_handshake, { return ResultInternalError; });
- return backend->Write(data);
+ return backend->Write(out_size, data);
}
- ResultVal<s32> PendingImpl() {
+ Result PendingImpl(s32* out_pending) {
LOG_WARNING(Service_SSL, "(STUBBED) called.");
- return 0;
+ *out_pending = 0;
+ return ResultSuccess;
}
void SetSocketDescriptor(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
- const s32 fd = rp.Pop<s32>();
- const ResultVal<s32> res = SetSocketDescriptorImpl(fd);
+ const s32 in_fd = rp.Pop<s32>();
+ s32 out_fd{-1};
+ const Result res = SetSocketDescriptorImpl(&out_fd, in_fd);
IPC::ResponseBuilder rb{ctx, 3};
- rb.Push(res.Code());
- rb.Push<s32>(res.ValueOr(-1));
+ rb.Push(res);
+ rb.Push<s32>(out_fd);
}
void SetHostName(HLERequestContext& ctx) {
@@ -313,14 +308,15 @@ private:
};
static_assert(sizeof(OutputParameters) == 0x8);
- const Result res = DoHandshakeImpl();
+ Result res = DoHandshakeImpl();
OutputParameters out{};
if (res == ResultSuccess) {
- auto certs = backend->GetServerCerts();
- if (certs.Succeeded()) {
- const std::vector<u8> certs_buf = SerializeServerCerts(*certs);
+ std::vector<std::vector<u8>> certs;
+ res = backend->GetServerCerts(&certs);
+ if (res == ResultSuccess) {
+ const std::vector<u8> certs_buf = SerializeServerCerts(certs);
ctx.WriteBuffer(certs_buf);
- out.certs_count = static_cast<u32>(certs->size());
+ out.certs_count = static_cast<u32>(certs.size());
out.certs_size = static_cast<u32>(certs_buf.size());
}
}
@@ -330,29 +326,32 @@ private:
}
void Read(HLERequestContext& ctx) {
- const ResultVal<std::vector<u8>> res = ReadImpl(ctx.GetWriteBufferSize());
+ std::vector<u8> output_bytes;
+ const Result res = ReadImpl(&output_bytes, ctx.GetWriteBufferSize());
IPC::ResponseBuilder rb{ctx, 3};
- rb.Push(res.Code());
- if (res.Succeeded()) {
- rb.Push(static_cast<u32>(res->size()));
- ctx.WriteBuffer(*res);
+ rb.Push(res);
+ if (res == ResultSuccess) {
+ rb.Push(static_cast<u32>(output_bytes.size()));
+ ctx.WriteBuffer(output_bytes);
} else {
rb.Push(static_cast<u32>(0));
}
}
void Write(HLERequestContext& ctx) {
- const ResultVal<size_t> res = WriteImpl(ctx.ReadBuffer());
+ size_t write_size{0};
+ const Result res = WriteImpl(&write_size, ctx.ReadBuffer());
IPC::ResponseBuilder rb{ctx, 3};
- rb.Push(res.Code());
- rb.Push(static_cast<u32>(res.ValueOr(0)));
+ rb.Push(res);
+ rb.Push(static_cast<u32>(write_size));
}
void Pending(HLERequestContext& ctx) {
- const ResultVal<s32> res = PendingImpl();
+ s32 pending_size{0};
+ const Result res = PendingImpl(&pending_size);
IPC::ResponseBuilder rb{ctx, 3};
- rb.Push(res.Code());
- rb.Push<s32>(res.ValueOr(0));
+ rb.Push(res);
+ rb.Push<s32>(pending_size);
}
void SetSessionCacheMode(HLERequestContext& ctx) {
@@ -438,13 +437,14 @@ private:
void CreateConnection(HLERequestContext& ctx) {
LOG_WARNING(Service_SSL, "called");
- auto backend_res = CreateSSLConnectionBackend();
+ std::unique_ptr<SSLConnectionBackend> backend;
+ const Result res = CreateSSLConnectionBackend(&backend);
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
- rb.Push(backend_res.Code());
- if (backend_res.Succeeded()) {
+ rb.Push(res);
+ if (res == ResultSuccess) {
rb.PushIpcInterface<ISslConnection>(system, ssl_version, shared_data,
- std::move(*backend_res));
+ std::move(backend));
}
}
diff --git a/src/core/hle/service/ssl/ssl_backend.h b/src/core/hle/service/ssl/ssl_backend.h
index 409f4367c..a2ec8e694 100644
--- a/src/core/hle/service/ssl/ssl_backend.h
+++ b/src/core/hle/service/ssl/ssl_backend.h
@@ -35,11 +35,11 @@ public:
virtual void SetSocket(std::shared_ptr<Network::SocketBase> socket) = 0;
virtual Result SetHostName(const std::string& hostname) = 0;
virtual Result DoHandshake() = 0;
- virtual ResultVal<size_t> Read(std::span<u8> data) = 0;
- virtual ResultVal<size_t> Write(std::span<const u8> data) = 0;
- virtual ResultVal<std::vector<std::vector<u8>>> GetServerCerts() = 0;
+ virtual Result Read(size_t* out_size, std::span<u8> data) = 0;
+ virtual Result Write(size_t* out_size, std::span<const u8> data) = 0;
+ virtual Result GetServerCerts(std::vector<std::vector<u8>>* out_certs) = 0;
};
-ResultVal<std::unique_ptr<SSLConnectionBackend>> CreateSSLConnectionBackend();
+Result CreateSSLConnectionBackend(std::unique_ptr<SSLConnectionBackend>* out_backend);
} // namespace Service::SSL
diff --git a/src/core/hle/service/ssl/ssl_backend_none.cpp b/src/core/hle/service/ssl/ssl_backend_none.cpp
index 2f4f23c42..a7fafd0a3 100644
--- a/src/core/hle/service/ssl/ssl_backend_none.cpp
+++ b/src/core/hle/service/ssl/ssl_backend_none.cpp
@@ -7,7 +7,7 @@
namespace Service::SSL {
-ResultVal<std::unique_ptr<SSLConnectionBackend>> CreateSSLConnectionBackend() {
+Result CreateSSLConnectionBackend(std::unique_ptr<SSLConnectionBackend>* out_backend) {
LOG_ERROR(Service_SSL,
"Can't create SSL connection because no SSL backend is available on this platform");
return ResultInternalError;
diff --git a/src/core/hle/service/ssl/ssl_backend_openssl.cpp b/src/core/hle/service/ssl/ssl_backend_openssl.cpp
index 6ca869dbf..5714e6f3c 100644
--- a/src/core/hle/service/ssl/ssl_backend_openssl.cpp
+++ b/src/core/hle/service/ssl/ssl_backend_openssl.cpp
@@ -105,31 +105,30 @@ public:
return ResultInternalError;
}
}
- return HandleReturn("SSL_do_handshake", 0, ret).Code();
+ return HandleReturn("SSL_do_handshake", 0, ret);
}
- ResultVal<size_t> Read(std::span<u8> data) override {
- size_t actual;
- const int ret = SSL_read_ex(ssl, data.data(), data.size(), &actual);
- return HandleReturn("SSL_read_ex", actual, ret);
+ Result Read(size_t* out_size, std::span<u8> data) override {
+ const int ret = SSL_read_ex(ssl, data.data(), data.size(), out_size);
+ return HandleReturn("SSL_read_ex", out_size, ret);
}
- ResultVal<size_t> Write(std::span<const u8> data) override {
- size_t actual;
- const int ret = SSL_write_ex(ssl, data.data(), data.size(), &actual);
- return HandleReturn("SSL_write_ex", actual, ret);
+ Result Write(size_t* out_size, std::span<const u8> data) override {
+ const int ret = SSL_write_ex(ssl, data.data(), data.size(), out_size);
+ return HandleReturn("SSL_write_ex", out_size, ret);
}
- ResultVal<size_t> HandleReturn(const char* what, size_t actual, int ret) {
+ Result HandleReturn(const char* what, size_t* actual, int ret) {
const int ssl_err = SSL_get_error(ssl, ret);
CheckOpenSSLErrors();
switch (ssl_err) {
case SSL_ERROR_NONE:
- return actual;
+ return ResultSuccess;
case SSL_ERROR_ZERO_RETURN:
LOG_DEBUG(Service_SSL, "{} => SSL_ERROR_ZERO_RETURN", what);
// DoHandshake special-cases this, but for Read and Write:
- return size_t(0);
+ *actual = 0;
+ return ResultSuccess;
case SSL_ERROR_WANT_READ:
LOG_DEBUG(Service_SSL, "{} => SSL_ERROR_WANT_READ", what);
return ResultWouldBlock;
@@ -139,20 +138,20 @@ public:
default:
if (ssl_err == SSL_ERROR_SYSCALL && got_read_eof) {
LOG_DEBUG(Service_SSL, "{} => SSL_ERROR_SYSCALL because server hung up", what);
- return size_t(0);
+ *actual = 0;
+ return ResultSuccess;
}
LOG_ERROR(Service_SSL, "{} => other SSL_get_error return value {}", what, ssl_err);
return ResultInternalError;
}
}
- ResultVal<std::vector<std::vector<u8>>> GetServerCerts() override {
+ Result GetServerCerts(std::vector<std::vector<u8>>* out_certs) override {
STACK_OF(X509)* chain = SSL_get_peer_cert_chain(ssl);
if (!chain) {
LOG_ERROR(Service_SSL, "SSL_get_peer_cert_chain returned nullptr");
return ResultInternalError;
}
- std::vector<std::vector<u8>> ret;
int count = sk_X509_num(chain);
ASSERT(count >= 0);
for (int i = 0; i < count; i++) {
@@ -161,16 +160,15 @@ public:
unsigned char* buf = nullptr;
int len = i2d_X509(x509, &buf);
ASSERT_OR_EXECUTE(len >= 0 && buf, { continue; });
- ret.emplace_back(buf, buf + len);
+ out_certs->emplace_back(buf, buf + len);
OPENSSL_free(buf);
}
- return ret;
+ return ResultSuccess;
}
~SSLConnectionBackendOpenSSL() {
- // these are null-tolerant:
+ // this is null-tolerant:
SSL_free(ssl);
- BIO_free(bio);
}
static void KeyLogCallback(const SSL* ssl, const char* line) {
@@ -253,13 +251,13 @@ public:
std::shared_ptr<Network::SocketBase> socket;
};
-ResultVal<std::unique_ptr<SSLConnectionBackend>> CreateSSLConnectionBackend() {
+Result CreateSSLConnectionBackend(std::unique_ptr<SSLConnectionBackend>* out_backend) {
auto conn = std::make_unique<SSLConnectionBackendOpenSSL>();
- const Result res = conn->Init();
- if (res.IsFailure()) {
- return res;
- }
- return conn;
+
+ R_TRY(conn->Init());
+
+ *out_backend = std::move(conn);
+ return ResultSuccess;
}
namespace {
diff --git a/src/core/hle/service/ssl/ssl_backend_schannel.cpp b/src/core/hle/service/ssl/ssl_backend_schannel.cpp
index d8074339a..212057cfc 100644
--- a/src/core/hle/service/ssl/ssl_backend_schannel.cpp
+++ b/src/core/hle/service/ssl/ssl_backend_schannel.cpp
@@ -31,9 +31,9 @@ CredHandle cred_handle;
static void OneTimeInit() {
schannel_cred.dwVersion = SCHANNEL_CRED_VERSION;
schannel_cred.dwFlags =
- SCH_USE_STRONG_CRYPTO | // don't allow insecure protocols
- SCH_CRED_AUTO_CRED_VALIDATION | // validate certs
- SCH_CRED_NO_DEFAULT_CREDS; // don't automatically present a client certificate
+ SCH_USE_STRONG_CRYPTO | // don't allow insecure protocols
+ SCH_CRED_NO_SERVERNAME_CHECK | // don't validate server names
+ SCH_CRED_NO_DEFAULT_CREDS; // don't automatically present a client certificate
// ^ I'm assuming that nobody would want to connect Yuzu to a
// service that requires some OS-provided corporate client
// certificate, and presenting one to some arbitrary server
@@ -227,16 +227,15 @@ public:
ciphertext_read_buf.size());
}
- const SECURITY_STATUS ret =
- InitializeSecurityContextA(&cred_handle, initial_call_done ? &ctxt : nullptr,
- // Caller ensured we have set a hostname:
- const_cast<char*>(hostname.value().c_str()), req,
- 0, // Reserved1
- 0, // TargetDataRep not used with Schannel
- initial_call_done ? &input_desc : nullptr,
- 0, // Reserved2
- initial_call_done ? nullptr : &ctxt, &output_desc, &attr,
- nullptr); // ptsExpiry
+ char* hostname_ptr = hostname ? const_cast<char*>(hostname->c_str()) : nullptr;
+ const SECURITY_STATUS ret = InitializeSecurityContextA(
+ &cred_handle, initial_call_done ? &ctxt : nullptr, hostname_ptr, req,
+ 0, // Reserved1
+ 0, // TargetDataRep not used with Schannel
+ initial_call_done ? &input_desc : nullptr,
+ 0, // Reserved2
+ initial_call_done ? nullptr : &ctxt, &output_desc, &attr,
+ nullptr); // ptsExpiry
if (output_buffers[0].pvBuffer) {
const std::span span(static_cast<u8*>(output_buffers[0].pvBuffer),
@@ -299,21 +298,22 @@ public:
return ResultSuccess;
}
- ResultVal<size_t> Read(std::span<u8> data) override {
+ Result Read(size_t* out_size, std::span<u8> data) override {
+ *out_size = 0;
if (handshake_state != HandshakeState::Connected) {
LOG_ERROR(Service_SSL, "Called Read but we did not successfully handshake");
return ResultInternalError;
}
if (data.size() == 0 || got_read_eof) {
- return size_t(0);
+ return ResultSuccess;
}
while (1) {
if (!cleartext_read_buf.empty()) {
- const size_t read_size = std::min(cleartext_read_buf.size(), data.size());
- std::memcpy(data.data(), cleartext_read_buf.data(), read_size);
+ *out_size = std::min(cleartext_read_buf.size(), data.size());
+ std::memcpy(data.data(), cleartext_read_buf.data(), *out_size);
cleartext_read_buf.erase(cleartext_read_buf.begin(),
- cleartext_read_buf.begin() + read_size);
- return read_size;
+ cleartext_read_buf.begin() + *out_size);
+ return ResultSuccess;
}
if (!ciphertext_read_buf.empty()) {
SecBuffer empty{
@@ -366,7 +366,8 @@ public:
case SEC_I_CONTEXT_EXPIRED:
// Server hung up by sending close_notify.
got_read_eof = true;
- return size_t(0);
+ *out_size = 0;
+ return ResultSuccess;
default:
LOG_ERROR(Service_SSL, "DecryptMessage failed: {}",
Common::NativeErrorToString(ret));
@@ -379,18 +380,21 @@ public:
}
if (ciphertext_read_buf.empty()) {
got_read_eof = true;
- return size_t(0);
+ *out_size = 0;
+ return ResultSuccess;
}
}
}
- ResultVal<size_t> Write(std::span<const u8> data) override {
+ Result Write(size_t* out_size, std::span<const u8> data) override {
+ *out_size = 0;
+
if (handshake_state != HandshakeState::Connected) {
LOG_ERROR(Service_SSL, "Called Write but we did not successfully handshake");
return ResultInternalError;
}
if (data.size() == 0) {
- return size_t(0);
+ return ResultSuccess;
}
data = data.subspan(0, std::min<size_t>(data.size(), stream_sizes.cbMaximumMessage));
if (!cleartext_write_buf.empty()) {
@@ -402,7 +406,7 @@ public:
LOG_ERROR(Service_SSL, "Called Write but buffer does not match previous buffer");
return ResultInternalError;
}
- return WriteAlreadyEncryptedData();
+ return WriteAlreadyEncryptedData(out_size);
} else {
cleartext_write_buf.assign(data.begin(), data.end());
}
@@ -448,21 +452,21 @@ public:
tmp_data_buf.end());
ciphertext_write_buf.insert(ciphertext_write_buf.end(), trailer_buf.begin(),
trailer_buf.end());
- return WriteAlreadyEncryptedData();
+ return WriteAlreadyEncryptedData(out_size);
}
- ResultVal<size_t> WriteAlreadyEncryptedData() {
+ Result WriteAlreadyEncryptedData(size_t* out_size) {
const Result r = FlushCiphertextWriteBuf();
if (r != ResultSuccess) {
return r;
}
// write buf is empty
- const size_t cleartext_bytes_written = cleartext_write_buf.size();
+ *out_size = cleartext_write_buf.size();
cleartext_write_buf.clear();
- return cleartext_bytes_written;
+ return ResultSuccess;
}
- ResultVal<std::vector<std::vector<u8>>> GetServerCerts() override {
+ Result GetServerCerts(std::vector<std::vector<u8>>* out_certs) override {
PCCERT_CONTEXT returned_cert = nullptr;
const SECURITY_STATUS ret =
QueryContextAttributes(&ctxt, SECPKG_ATTR_REMOTE_CERT_CONTEXT, &returned_cert);
@@ -473,16 +477,16 @@ public:
return ResultInternalError;
}
PCCERT_CONTEXT some_cert = nullptr;
- std::vector<std::vector<u8>> certs;
- while ((some_cert = CertEnumCertificatesInStore(returned_cert->hCertStore, some_cert))) {
- certs.emplace_back(static_cast<u8*>(some_cert->pbCertEncoded),
- static_cast<u8*>(some_cert->pbCertEncoded) +
- some_cert->cbCertEncoded);
+ while ((some_cert = CertEnumCertificatesInStore(returned_cert->hCertStore, some_cert)) !=
+ nullptr) {
+ out_certs->emplace_back(static_cast<u8*>(some_cert->pbCertEncoded),
+ static_cast<u8*>(some_cert->pbCertEncoded) +
+ some_cert->cbCertEncoded);
}
- std::reverse(certs.begin(),
- certs.end()); // Windows returns certs in reverse order from what we want
+ std::reverse(out_certs->begin(),
+ out_certs->end()); // Windows returns certs in reverse order from what we want
CertFreeCertificateContext(returned_cert);
- return certs;
+ return ResultSuccess;
}
~SSLConnectionBackendSchannel() {
@@ -532,13 +536,13 @@ public:
size_t read_buf_fill_size = 0;
};
-ResultVal<std::unique_ptr<SSLConnectionBackend>> CreateSSLConnectionBackend() {
+Result CreateSSLConnectionBackend(std::unique_ptr<SSLConnectionBackend>* out_backend) {
auto conn = std::make_unique<SSLConnectionBackendSchannel>();
- const Result res = conn->Init();
- if (res.IsFailure()) {
- return res;
- }
- return conn;
+
+ R_TRY(conn->Init());
+
+ *out_backend = std::move(conn);
+ return ResultSuccess;
}
} // namespace Service::SSL
diff --git a/src/core/hle/service/ssl/ssl_backend_securetransport.cpp b/src/core/hle/service/ssl/ssl_backend_securetransport.cpp
index b3083cbad..c48914f64 100644
--- a/src/core/hle/service/ssl/ssl_backend_securetransport.cpp
+++ b/src/core/hle/service/ssl/ssl_backend_securetransport.cpp
@@ -100,27 +100,23 @@ public:
Result DoHandshake() override {
OSStatus status = SSLHandshake(context);
- return HandleReturn("SSLHandshake", 0, status).Code();
+ return HandleReturn("SSLHandshake", 0, status);
}
- ResultVal<size_t> Read(std::span<u8> data) override {
- size_t actual;
- OSStatus status = SSLRead(context, data.data(), data.size(), &actual);
- ;
- return HandleReturn("SSLRead", actual, status);
+ Result Read(size_t* out_size, std::span<u8> data) override {
+ OSStatus status = SSLRead(context, data.data(), data.size(), out_size);
+ return HandleReturn("SSLRead", out_size, status);
}
- ResultVal<size_t> Write(std::span<const u8> data) override {
- size_t actual;
- OSStatus status = SSLWrite(context, data.data(), data.size(), &actual);
- ;
- return HandleReturn("SSLWrite", actual, status);
+ Result Write(size_t* out_size, std::span<const u8> data) override {
+ OSStatus status = SSLWrite(context, data.data(), data.size(), out_size);
+ return HandleReturn("SSLWrite", out_size, status);
}
- ResultVal<size_t> HandleReturn(const char* what, size_t actual, OSStatus status) {
+ Result HandleReturn(const char* what, size_t* actual, OSStatus status) {
switch (status) {
case 0:
- return actual;
+ return ResultSuccess;
case errSSLWouldBlock:
return ResultWouldBlock;
default: {
@@ -136,22 +132,21 @@ public:
}
}
- ResultVal<std::vector<std::vector<u8>>> GetServerCerts() override {
+ Result GetServerCerts(std::vector<std::vector<u8>>* out_certs) override {
CFReleaser<SecTrustRef> trust;
OSStatus status = SSLCopyPeerTrust(context, &trust.ptr);
if (status) {
LOG_ERROR(Service_SSL, "SSLCopyPeerTrust failed: {}", OSStatusToString(status));
return ResultInternalError;
}
- std::vector<std::vector<u8>> ret;
for (CFIndex i = 0, count = SecTrustGetCertificateCount(trust); i < count; i++) {
SecCertificateRef cert = SecTrustGetCertificateAtIndex(trust, i);
CFReleaser<CFDataRef> data(SecCertificateCopyData(cert));
ASSERT_OR_EXECUTE(data, { return ResultInternalError; });
const u8* ptr = CFDataGetBytePtr(data);
- ret.emplace_back(ptr, ptr + CFDataGetLength(data));
+ out_certs->emplace_back(ptr, ptr + CFDataGetLength(data));
}
- return ret;
+ return ResultSuccess;
}
static OSStatus ReadCallback(SSLConnectionRef connection, void* data, size_t* dataLength) {
@@ -210,13 +205,13 @@ private:
std::shared_ptr<Network::SocketBase> socket;
};
-ResultVal<std::unique_ptr<SSLConnectionBackend>> CreateSSLConnectionBackend() {
+Result CreateSSLConnectionBackend(std::unique_ptr<SSLConnectionBackend>* out_backend) {
auto conn = std::make_unique<SSLConnectionBackendSecureTransport>();
- const Result res = conn->Init();
- if (res.IsFailure()) {
- return res;
- }
- return conn;
+
+ R_TRY(conn->Init());
+
+ *out_backend = std::move(conn);
+ return ResultSuccess;
}
} // namespace Service::SSL
diff --git a/src/core/hle/service/time/time_zone_content_manager.cpp b/src/core/hle/service/time/time_zone_content_manager.cpp
index 5d60be67a..1b96de37a 100644
--- a/src/core/hle/service/time/time_zone_content_manager.cpp
+++ b/src/core/hle/service/time/time_zone_content_manager.cpp
@@ -3,6 +3,7 @@
#include <chrono>
#include <sstream>
+#include <utility>
#include "common/logging/log.h"
#include "common/settings.h"
@@ -46,14 +47,14 @@ static FileSys::VirtualDir GetTimeZoneBinary(Core::System& system) {
return FileSys::ExtractRomFS(romfs);
}
-static std::vector<std::string> BuildLocationNameCache(Core::System& system) {
- const FileSys::VirtualDir extracted_romfs{GetTimeZoneBinary(system)};
- if (!extracted_romfs) {
+static std::vector<std::string> BuildLocationNameCache(
+ const FileSys::VirtualDir& time_zone_binary) {
+ if (!time_zone_binary) {
LOG_ERROR(Service_Time, "Failed to extract RomFS for {:016X}!", time_zone_binary_titleid);
return {};
}
- const FileSys::VirtualFile binary_list{extracted_romfs->GetFile("binaryList.txt")};
+ const FileSys::VirtualFile binary_list{time_zone_binary->GetFile("binaryList.txt")};
if (!binary_list) {
LOG_ERROR(Service_Time, "{:016X} has no file binaryList.txt!", time_zone_binary_titleid);
return {};
@@ -73,10 +74,12 @@ static std::vector<std::string> BuildLocationNameCache(Core::System& system) {
}
TimeZoneContentManager::TimeZoneContentManager(Core::System& system_)
- : system{system_}, location_name_cache{BuildLocationNameCache(system)} {}
+ : system{system_}, time_zone_binary{GetTimeZoneBinary(system)},
+ location_name_cache{BuildLocationNameCache(time_zone_binary)} {}
void TimeZoneContentManager::Initialize(TimeManager& time_manager) {
- const auto timezone_setting = Settings::GetTimeZoneString();
+ const auto timezone_setting =
+ Settings::GetTimeZoneString(Settings::values.time_zone_index.GetValue());
if (FileSys::VirtualFile vfs_file;
GetTimeZoneInfoFile(timezone_setting, vfs_file) == ResultSuccess) {
@@ -111,13 +114,12 @@ Result TimeZoneContentManager::GetTimeZoneInfoFile(const std::string& location_n
return ERROR_TIME_NOT_FOUND;
}
- const FileSys::VirtualDir extracted_romfs{GetTimeZoneBinary(system)};
- if (!extracted_romfs) {
+ if (!time_zone_binary) {
LOG_ERROR(Service_Time, "Failed to extract RomFS for {:016X}!", time_zone_binary_titleid);
return ERROR_TIME_NOT_FOUND;
}
- const FileSys::VirtualDir zoneinfo_dir{extracted_romfs->GetSubdirectory("zoneinfo")};
+ const FileSys::VirtualDir zoneinfo_dir{time_zone_binary->GetSubdirectory("zoneinfo")};
if (!zoneinfo_dir) {
LOG_ERROR(Service_Time, "{:016X} has no directory zoneinfo!", time_zone_binary_titleid);
return ERROR_TIME_NOT_FOUND;
diff --git a/src/core/hle/service/time/time_zone_content_manager.h b/src/core/hle/service/time/time_zone_content_manager.h
index 3d94b6428..a6f9698bc 100644
--- a/src/core/hle/service/time/time_zone_content_manager.h
+++ b/src/core/hle/service/time/time_zone_content_manager.h
@@ -6,6 +6,7 @@
#include <string>
#include <vector>
+#include "core/file_sys/vfs_types.h"
#include "core/hle/service/time/time_zone_manager.h"
namespace Core {
@@ -41,6 +42,7 @@ private:
Core::System& system;
TimeZoneManager time_zone_manager;
+ const FileSys::VirtualDir time_zone_binary;
const std::vector<std::string> location_name_cache;
};
diff --git a/src/core/hle/service/vi/display/vi_display.cpp b/src/core/hle/service/vi/display/vi_display.cpp
index 69af2868a..f0b5eff8a 100644
--- a/src/core/hle/service/vi/display/vi_display.cpp
+++ b/src/core/hle/service/vi/display/vi_display.cpp
@@ -58,14 +58,15 @@ const Layer& Display::GetLayer(std::size_t index) const {
return *layers.at(index);
}
-ResultVal<Kernel::KReadableEvent*> Display::GetVSyncEvent() {
+Result Display::GetVSyncEvent(Kernel::KReadableEvent** out_vsync_event) {
if (got_vsync_event) {
return ResultPermissionDenied;
}
got_vsync_event = true;
- return GetVSyncEventUnchecked();
+ *out_vsync_event = GetVSyncEventUnchecked();
+ return ResultSuccess;
}
Kernel::KReadableEvent* Display::GetVSyncEventUnchecked() {
diff --git a/src/core/hle/service/vi/display/vi_display.h b/src/core/hle/service/vi/display/vi_display.h
index 3f31d1f32..101cbce20 100644
--- a/src/core/hle/service/vi/display/vi_display.h
+++ b/src/core/hle/service/vi/display/vi_display.h
@@ -85,7 +85,7 @@ public:
* @returns The internal Vsync event if it has not yet been retrieved,
* VI::ResultPermissionDenied otherwise.
*/
- [[nodiscard]] ResultVal<Kernel::KReadableEvent*> GetVSyncEvent();
+ [[nodiscard]] Result GetVSyncEvent(Kernel::KReadableEvent** out_vsync_event);
/// Gets the internal vsync event.
Kernel::KReadableEvent* GetVSyncEventUnchecked();
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp
index 1b193f00c..b1bfb9898 100644
--- a/src/core/hle/service/vi/vi.cpp
+++ b/src/core/hle/service/vi/vi.cpp
@@ -20,9 +20,12 @@
#include "core/hle/kernel/k_readable_event.h"
#include "core/hle/kernel/k_thread.h"
#include "core/hle/service/ipc_helpers.h"
+#include "core/hle/service/nvdrv/devices/nvmap.h"
#include "core/hle/service/nvdrv/nvdata.h"
+#include "core/hle/service/nvdrv/nvdrv.h"
#include "core/hle/service/nvnflinger/binder.h"
#include "core/hle/service/nvnflinger/buffer_queue_producer.h"
+#include "core/hle/service/nvnflinger/fb_share_buffer_manager.h"
#include "core/hle/service/nvnflinger/hos_binder_driver_server.h"
#include "core/hle/service/nvnflinger/nvnflinger.h"
#include "core/hle/service/nvnflinger/parcel.h"
@@ -131,8 +134,9 @@ private:
class ISystemDisplayService final : public ServiceFramework<ISystemDisplayService> {
public:
- explicit ISystemDisplayService(Core::System& system_)
- : ServiceFramework{system_, "ISystemDisplayService"} {
+ explicit ISystemDisplayService(Core::System& system_, Nvnflinger::Nvnflinger& nvnflinger_)
+ : ServiceFramework{system_, "ISystemDisplayService"}, nvnflinger{nvnflinger_} {
+ // clang-format off
static const FunctionInfo functions[] = {
{1200, nullptr, "GetZOrderCountMin"},
{1202, nullptr, "GetZOrderCountMax"},
@@ -170,22 +174,126 @@ public:
{3217, nullptr, "SetDisplayCmuLuma"},
{3218, nullptr, "SetDisplayCrcMode"},
{6013, nullptr, "GetLayerPresentationSubmissionTimestamps"},
- {8225, nullptr, "GetSharedBufferMemoryHandleId"},
- {8250, nullptr, "OpenSharedLayer"},
+ {8225, &ISystemDisplayService::GetSharedBufferMemoryHandleId, "GetSharedBufferMemoryHandleId"},
+ {8250, &ISystemDisplayService::OpenSharedLayer, "OpenSharedLayer"},
{8251, nullptr, "CloseSharedLayer"},
- {8252, nullptr, "ConnectSharedLayer"},
+ {8252, &ISystemDisplayService::ConnectSharedLayer, "ConnectSharedLayer"},
{8253, nullptr, "DisconnectSharedLayer"},
- {8254, nullptr, "AcquireSharedFrameBuffer"},
- {8255, nullptr, "PresentSharedFrameBuffer"},
- {8256, nullptr, "GetSharedFrameBufferAcquirableEvent"},
+ {8254, &ISystemDisplayService::AcquireSharedFrameBuffer, "AcquireSharedFrameBuffer"},
+ {8255, &ISystemDisplayService::PresentSharedFrameBuffer, "PresentSharedFrameBuffer"},
+ {8256, &ISystemDisplayService::GetSharedFrameBufferAcquirableEvent, "GetSharedFrameBufferAcquirableEvent"},
{8257, nullptr, "FillSharedFrameBufferColor"},
{8258, nullptr, "CancelSharedFrameBuffer"},
{9000, nullptr, "GetDp2hdmiController"},
};
+ // clang-format on
RegisterHandlers(functions);
}
private:
+ void GetSharedBufferMemoryHandleId(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const u64 buffer_id = rp.PopRaw<u64>();
+
+ LOG_INFO(Service_VI, "called. buffer_id={:#x}", buffer_id);
+
+ struct OutputParameters {
+ s32 nvmap_handle;
+ u64 size;
+ };
+
+ OutputParameters out{};
+ Nvnflinger::SharedMemoryPoolLayout layout{};
+ const auto result = nvnflinger.GetSystemBufferManager().GetSharedBufferMemoryHandleId(
+ &out.size, &out.nvmap_handle, &layout, buffer_id, 0);
+
+ ctx.WriteBuffer(&layout, sizeof(layout));
+
+ IPC::ResponseBuilder rb{ctx, 6};
+ rb.Push(result);
+ rb.PushRaw(out);
+ }
+
+ void OpenSharedLayer(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const u64 layer_id = rp.PopRaw<u64>();
+
+ LOG_INFO(Service_VI, "(STUBBED) called. layer_id={:#x}", layer_id);
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+ }
+
+ void ConnectSharedLayer(HLERequestContext& ctx) {
+ IPC::RequestParser rp{ctx};
+ const u64 layer_id = rp.PopRaw<u64>();
+
+ LOG_INFO(Service_VI, "(STUBBED) called. layer_id={:#x}", layer_id);
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(ResultSuccess);
+ }
+
+ void GetSharedFrameBufferAcquirableEvent(HLERequestContext& ctx) {
+ LOG_DEBUG(Service_VI, "called");
+
+ IPC::RequestParser rp{ctx};
+ const u64 layer_id = rp.PopRaw<u64>();
+
+ Kernel::KReadableEvent* event{};
+ const auto result = nvnflinger.GetSystemBufferManager().GetSharedFrameBufferAcquirableEvent(
+ &event, layer_id);
+
+ IPC::ResponseBuilder rb{ctx, 2, 1};
+ rb.Push(result);
+ rb.PushCopyObjects(event);
+ }
+
+ void AcquireSharedFrameBuffer(HLERequestContext& ctx) {
+ LOG_DEBUG(Service_VI, "called");
+
+ IPC::RequestParser rp{ctx};
+ const u64 layer_id = rp.PopRaw<u64>();
+
+ struct OutputParameters {
+ android::Fence fence;
+ std::array<s32, 4> slots;
+ s64 target_slot;
+ };
+ static_assert(sizeof(OutputParameters) == 0x40, "OutputParameters has wrong size");
+
+ OutputParameters out{};
+ const auto result = nvnflinger.GetSystemBufferManager().AcquireSharedFrameBuffer(
+ &out.fence, out.slots, &out.target_slot, layer_id);
+
+ IPC::ResponseBuilder rb{ctx, 18};
+ rb.Push(result);
+ rb.PushRaw(out);
+ }
+
+ void PresentSharedFrameBuffer(HLERequestContext& ctx) {
+ LOG_DEBUG(Service_VI, "called");
+
+ struct InputParameters {
+ android::Fence fence;
+ Common::Rectangle<s32> crop_region;
+ u32 window_transform;
+ s32 swap_interval;
+ u64 layer_id;
+ s64 surface_id;
+ };
+ static_assert(sizeof(InputParameters) == 0x50, "InputParameters has wrong size");
+
+ IPC::RequestParser rp{ctx};
+ auto input = rp.PopRaw<InputParameters>();
+
+ const auto result = nvnflinger.GetSystemBufferManager().PresentSharedFrameBuffer(
+ input.fence, input.crop_region, input.window_transform, input.swap_interval,
+ input.layer_id, input.surface_id);
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(result);
+ }
+
void SetLayerZ(HLERequestContext& ctx) {
IPC::RequestParser rp{ctx};
const u64 layer_id = rp.Pop<u64>();
@@ -217,7 +325,7 @@ private:
IPC::ResponseBuilder rb{ctx, 6};
rb.Push(ResultSuccess);
- if (Settings::values.use_docked_mode.GetValue()) {
+ if (Settings::IsDockedMode()) {
rb.Push(static_cast<u32>(Service::VI::DisplayResolution::DockedWidth));
rb.Push(static_cast<u32>(Service::VI::DisplayResolution::DockedHeight));
} else {
@@ -228,6 +336,9 @@ private:
rb.PushRaw<float>(60.0f); // This wouldn't seem to be correct for 30 fps games.
rb.Push<u32>(0);
}
+
+private:
+ Nvnflinger::Nvnflinger& nvnflinger;
};
class IManagerDisplayService final : public ServiceFramework<IManagerDisplayService> {
@@ -453,7 +564,7 @@ private:
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
rb.Push(ResultSuccess);
- rb.PushIpcInterface<ISystemDisplayService>(system);
+ rb.PushIpcInterface<ISystemDisplayService>(system, nv_flinger);
}
void GetManagerDisplayService(HLERequestContext& ctx) {
@@ -683,9 +794,9 @@ private:
LOG_DEBUG(Service_VI, "called. display_id={}", display_id);
- const auto vsync_event = nv_flinger.FindVsyncEvent(display_id);
- if (vsync_event.Failed()) {
- const auto result = vsync_event.Code();
+ Kernel::KReadableEvent* vsync_event{};
+ const auto result = nv_flinger.FindVsyncEvent(&vsync_event, display_id);
+ if (result != ResultSuccess) {
if (result == ResultNotFound) {
LOG_ERROR(Service_VI, "Vsync event was not found for display_id={}", display_id);
}
@@ -697,7 +808,7 @@ private:
IPC::ResponseBuilder rb{ctx, 2, 1};
rb.Push(ResultSuccess);
- rb.PushCopyObjects(*vsync_event);
+ rb.PushCopyObjects(vsync_event);
}
void ConvertScalingMode(HLERequestContext& ctx) {
@@ -705,15 +816,16 @@ private:
const auto mode = rp.PopEnum<NintendoScaleMode>();
LOG_DEBUG(Service_VI, "called mode={}", mode);
- const auto converted_mode = ConvertScalingModeImpl(mode);
+ ConvertedScaleMode converted_mode{};
+ const auto result = ConvertScalingModeImpl(&converted_mode, mode);
- if (converted_mode.Succeeded()) {
+ if (result == ResultSuccess) {
IPC::ResponseBuilder rb{ctx, 4};
rb.Push(ResultSuccess);
- rb.PushEnum(*converted_mode);
+ rb.PushEnum(converted_mode);
} else {
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(converted_mode.Code());
+ rb.Push(result);
}
}
@@ -760,18 +872,24 @@ private:
rb.Push(alignment);
}
- static ResultVal<ConvertedScaleMode> ConvertScalingModeImpl(NintendoScaleMode mode) {
+ static Result ConvertScalingModeImpl(ConvertedScaleMode* out_scaling_mode,
+ NintendoScaleMode mode) {
switch (mode) {
case NintendoScaleMode::None:
- return ConvertedScaleMode::None;
+ *out_scaling_mode = ConvertedScaleMode::None;
+ return ResultSuccess;
case NintendoScaleMode::Freeze:
- return ConvertedScaleMode::Freeze;
+ *out_scaling_mode = ConvertedScaleMode::Freeze;
+ return ResultSuccess;
case NintendoScaleMode::ScaleToWindow:
- return ConvertedScaleMode::ScaleToWindow;
+ *out_scaling_mode = ConvertedScaleMode::ScaleToWindow;
+ return ResultSuccess;
case NintendoScaleMode::ScaleAndCrop:
- return ConvertedScaleMode::ScaleAndCrop;
+ *out_scaling_mode = ConvertedScaleMode::ScaleAndCrop;
+ return ResultSuccess;
case NintendoScaleMode::PreserveAspectRatio:
- return ConvertedScaleMode::PreserveAspectRatio;
+ *out_scaling_mode = ConvertedScaleMode::PreserveAspectRatio;
+ return ResultSuccess;
default:
LOG_ERROR(Service_VI, "Invalid scaling mode specified, mode={}", mode);
return ResultOperationFailed;
diff --git a/src/core/internal_network/network.cpp b/src/core/internal_network/network.cpp
index 28f89c599..a983f23ea 100644
--- a/src/core/internal_network/network.cpp
+++ b/src/core/internal_network/network.cpp
@@ -39,19 +39,41 @@ namespace Network {
namespace {
+enum class CallType {
+ Send,
+ Other,
+};
+
#ifdef _WIN32
using socklen_t = int;
+SOCKET interrupt_socket = static_cast<SOCKET>(-1);
+
+void InterruptSocketOperations() {
+ closesocket(interrupt_socket);
+}
+
+void AcknowledgeInterrupt() {
+ interrupt_socket = socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP);
+}
+
void Initialize() {
WSADATA wsa_data;
(void)WSAStartup(MAKEWORD(2, 2), &wsa_data);
+
+ AcknowledgeInterrupt();
}
void Finalize() {
+ InterruptSocketOperations();
WSACleanup();
}
+SOCKET GetInterruptSocket() {
+ return interrupt_socket;
+}
+
sockaddr TranslateFromSockAddrIn(SockAddrIn input) {
sockaddr_in result;
@@ -96,7 +118,7 @@ bool EnableNonBlock(SOCKET fd, bool enable) {
return ioctlsocket(fd, FIONBIO, &value) != SOCKET_ERROR;
}
-Errno TranslateNativeError(int e) {
+Errno TranslateNativeError(int e, CallType call_type = CallType::Other) {
switch (e) {
case 0:
return Errno::SUCCESS;
@@ -112,6 +134,14 @@ Errno TranslateNativeError(int e) {
return Errno::AGAIN;
case WSAECONNREFUSED:
return Errno::CONNREFUSED;
+ case WSAECONNABORTED:
+ if (call_type == CallType::Send) {
+ // Winsock yields WSAECONNABORTED from `send` in situations where Unix
+ // systems, and actual Switches, yield EPIPE.
+ return Errno::PIPE;
+ } else {
+ return Errno::CONNABORTED;
+ }
case WSAECONNRESET:
return Errno::CONNRESET;
case WSAEHOSTUNREACH:
@@ -144,9 +174,42 @@ constexpr int SD_RECEIVE = SHUT_RD;
constexpr int SD_SEND = SHUT_WR;
constexpr int SD_BOTH = SHUT_RDWR;
-void Initialize() {}
+int interrupt_pipe_fd[2] = {-1, -1};
-void Finalize() {}
+void Initialize() {
+ if (pipe(interrupt_pipe_fd) != 0) {
+ LOG_ERROR(Network, "Failed to create interrupt pipe!");
+ }
+ int flags = fcntl(interrupt_pipe_fd[0], F_GETFL);
+ ASSERT_MSG(fcntl(interrupt_pipe_fd[0], F_SETFL, flags | O_NONBLOCK) == 0,
+ "Failed to set nonblocking state for interrupt pipe");
+}
+
+void Finalize() {
+ if (interrupt_pipe_fd[0] >= 0) {
+ close(interrupt_pipe_fd[0]);
+ }
+ if (interrupt_pipe_fd[1] >= 0) {
+ close(interrupt_pipe_fd[1]);
+ }
+}
+
+void InterruptSocketOperations() {
+ u8 value = 0;
+ ASSERT(write(interrupt_pipe_fd[1], &value, sizeof(value)) == 1);
+}
+
+void AcknowledgeInterrupt() {
+ u8 value = 0;
+ ssize_t ret = read(interrupt_pipe_fd[0], &value, sizeof(value));
+ if (ret != 1 && errno != EAGAIN && errno != EWOULDBLOCK) {
+ LOG_ERROR(Network, "Failed to acknowledge interrupt on shutdown");
+ }
+}
+
+SOCKET GetInterruptSocket() {
+ return interrupt_pipe_fd[0];
+}
sockaddr TranslateFromSockAddrIn(SockAddrIn input) {
sockaddr_in result;
@@ -198,7 +261,7 @@ bool EnableNonBlock(int fd, bool enable) {
return fcntl(fd, F_SETFL, flags) == 0;
}
-Errno TranslateNativeError(int e) {
+Errno TranslateNativeError(int e, CallType call_type = CallType::Other) {
switch (e) {
case 0:
return Errno::SUCCESS;
@@ -208,6 +271,10 @@ Errno TranslateNativeError(int e) {
return Errno::INVAL;
case EMFILE:
return Errno::MFILE;
+ case EPIPE:
+ return Errno::PIPE;
+ case ECONNABORTED:
+ return Errno::CONNABORTED;
case ENOTCONN:
return Errno::NOTCONN;
case EAGAIN:
@@ -236,13 +303,13 @@ Errno TranslateNativeError(int e) {
#endif
-Errno GetAndLogLastError() {
+Errno GetAndLogLastError(CallType call_type = CallType::Other) {
#ifdef _WIN32
int e = WSAGetLastError();
#else
int e = errno;
#endif
- const Errno err = TranslateNativeError(e);
+ const Errno err = TranslateNativeError(e, call_type);
if (err == Errno::AGAIN || err == Errno::TIMEDOUT || err == Errno::INPROGRESS) {
// These happen during normal operation, so only log them at debug level.
LOG_DEBUG(Network, "Socket operation error: {}", Common::NativeErrorToString(e));
@@ -473,10 +540,24 @@ NetworkInstance::~NetworkInstance() {
Finalize();
}
+void CancelPendingSocketOperations() {
+ InterruptSocketOperations();
+}
+
+void RestartSocketOperations() {
+ AcknowledgeInterrupt();
+}
+
std::optional<IPv4Address> GetHostIPv4Address() {
const auto network_interface = Network::GetSelectedNetworkInterface();
if (!network_interface.has_value()) {
- LOG_DEBUG(Network, "GetSelectedNetworkInterface returned no interface");
+ // Only print the error once to avoid log spam
+ static bool print_error = true;
+ if (print_error) {
+ LOG_ERROR(Network, "GetSelectedNetworkInterface returned no interface");
+ print_error = false;
+ }
+
return {};
}
@@ -537,7 +618,14 @@ std::pair<s32, Errno> Poll(std::vector<PollFD>& pollfds, s32 timeout) {
return result;
});
- const int result = WSAPoll(host_pollfds.data(), static_cast<ULONG>(num), timeout);
+ host_pollfds.push_back(WSAPOLLFD{
+ .fd = GetInterruptSocket(),
+ .events = POLLIN,
+ .revents = 0,
+ });
+
+ const int result =
+ WSAPoll(host_pollfds.data(), static_cast<ULONG>(host_pollfds.size()), timeout);
if (result == 0) {
ASSERT(std::all_of(host_pollfds.begin(), host_pollfds.end(),
[](WSAPOLLFD fd) { return fd.revents == 0; }));
@@ -604,6 +692,24 @@ Errno Socket::Initialize(Domain domain, Type type, Protocol protocol) {
std::pair<SocketBase::AcceptResult, Errno> Socket::Accept() {
sockaddr_in addr;
socklen_t addrlen = sizeof(addr);
+
+ std::vector<WSAPOLLFD> host_pollfds{
+ WSAPOLLFD{fd, POLLIN, 0},
+ WSAPOLLFD{GetInterruptSocket(), POLLIN, 0},
+ };
+
+ while (true) {
+ const int pollres =
+ WSAPoll(host_pollfds.data(), static_cast<ULONG>(host_pollfds.size()), -1);
+ if (host_pollfds[1].revents != 0) {
+ // Interrupt signaled before a client could be accepted, break
+ return {AcceptResult{}, Errno::AGAIN};
+ }
+ if (pollres > 0) {
+ break;
+ }
+ }
+
const SOCKET new_socket = accept(fd, reinterpret_cast<sockaddr*>(&addr), &addrlen);
if (new_socket == INVALID_SOCKET) {
@@ -725,13 +831,17 @@ std::pair<s32, Errno> Socket::Send(std::span<const u8> message, int flags) {
ASSERT(message.size() < static_cast<size_t>(std::numeric_limits<int>::max()));
ASSERT(flags == 0);
+ int native_flags = 0;
+#if YUZU_UNIX
+ native_flags |= MSG_NOSIGNAL; // do not send us SIGPIPE
+#endif
const auto result = send(fd, reinterpret_cast<const char*>(message.data()),
- static_cast<int>(message.size()), 0);
+ static_cast<int>(message.size()), native_flags);
if (result != SOCKET_ERROR) {
return {static_cast<s32>(result), Errno::SUCCESS};
}
- return {-1, GetAndLogLastError()};
+ return {-1, GetAndLogLastError(CallType::Send)};
}
std::pair<s32, Errno> Socket::SendTo(u32 flags, std::span<const u8> message,
@@ -753,7 +863,7 @@ std::pair<s32, Errno> Socket::SendTo(u32 flags, std::span<const u8> message,
return {static_cast<s32>(result), Errno::SUCCESS};
}
- return {-1, GetAndLogLastError()};
+ return {-1, GetAndLogLastError(CallType::Send)};
}
Errno Socket::Close() {
diff --git a/src/core/internal_network/network.h b/src/core/internal_network/network.h
index badcb8369..b7b7d773a 100644
--- a/src/core/internal_network/network.h
+++ b/src/core/internal_network/network.h
@@ -33,10 +33,12 @@ enum class Errno {
BADF,
INVAL,
MFILE,
+ PIPE,
NOTCONN,
AGAIN,
CONNREFUSED,
CONNRESET,
+ CONNABORTED,
HOSTUNREACH,
NETDOWN,
NETUNREACH,
@@ -94,6 +96,9 @@ public:
~NetworkInstance();
};
+void CancelPendingSocketOperations();
+void RestartSocketOperations();
+
#ifdef _WIN32
constexpr IPv4Address TranslateIPv4(in_addr addr) {
auto& bytes = addr.S_un.S_un_b;
diff --git a/src/core/internal_network/network_interface.cpp b/src/core/internal_network/network_interface.cpp
index 4c909a6d3..7c37f660b 100644
--- a/src/core/internal_network/network_interface.cpp
+++ b/src/core/internal_network/network_interface.cpp
@@ -200,7 +200,14 @@ std::optional<NetworkInterface> GetSelectedNetworkInterface() {
});
if (res == network_interfaces.end()) {
- LOG_DEBUG(Network, "Couldn't find selected interface \"{}\"", selected_network_interface);
+ // Only print the error once to avoid log spam
+ static bool print_error = true;
+ if (print_error) {
+ LOG_ERROR(Network, "Couldn't find selected interface \"{}\"",
+ selected_network_interface);
+ print_error = false;
+ }
+
return std::nullopt;
}
diff --git a/src/core/loader/deconstructed_rom_directory.cpp b/src/core/loader/deconstructed_rom_directory.cpp
index e04ad19db..5c36b71e5 100644
--- a/src/core/loader/deconstructed_rom_directory.cpp
+++ b/src/core/loader/deconstructed_rom_directory.cpp
@@ -18,7 +18,7 @@ namespace Loader {
AppLoader_DeconstructedRomDirectory::AppLoader_DeconstructedRomDirectory(FileSys::VirtualFile file_,
bool override_update_)
- : AppLoader(std::move(file_)), override_update(override_update_) {
+ : AppLoader(std::move(file_)), override_update(override_update_), is_hbl(false) {
const auto file_dir = file->GetContainingDirectory();
// Title ID
@@ -69,9 +69,9 @@ AppLoader_DeconstructedRomDirectory::AppLoader_DeconstructedRomDirectory(FileSys
}
AppLoader_DeconstructedRomDirectory::AppLoader_DeconstructedRomDirectory(
- FileSys::VirtualDir directory, bool override_update_)
+ FileSys::VirtualDir directory, bool override_update_, bool is_hbl_)
: AppLoader(directory->GetFile("main")), dir(std::move(directory)),
- override_update(override_update_) {}
+ override_update(override_update_), is_hbl(is_hbl_) {}
FileType AppLoader_DeconstructedRomDirectory::IdentifyType(const FileSys::VirtualFile& dir_file) {
if (FileSys::IsDirectoryExeFS(dir_file->GetContainingDirectory())) {
@@ -118,7 +118,7 @@ AppLoader_DeconstructedRomDirectory::LoadResult AppLoader_DeconstructedRomDirect
return {ResultStatus::ErrorMissingNPDM, {}};
}
- const ResultStatus result2 = metadata.Load(npdm);
+ const ResultStatus result2 = metadata.Reload(npdm);
if (result2 != ResultStatus::Success) {
return {result2, {}};
}
@@ -147,13 +147,13 @@ AppLoader_DeconstructedRomDirectory::LoadResult AppLoader_DeconstructedRomDirect
}
// Setup the process code layout
- if (process.LoadFromMetadata(metadata, code_size).IsError()) {
+ if (process.LoadFromMetadata(metadata, code_size, is_hbl).IsError()) {
return {ResultStatus::ErrorUnableToParseKernelMetadata, {}};
}
// Load NSO modules
modules.clear();
- const VAddr base_address{GetInteger(process.GetPageTable().GetCodeRegionStart())};
+ const VAddr base_address{GetInteger(process.GetEntryPoint())};
VAddr next_load_addr{base_address};
const FileSys::PatchManager pm{metadata.GetTitleID(), system.GetFileSystemController(),
system.GetContentProvider()};
diff --git a/src/core/loader/deconstructed_rom_directory.h b/src/core/loader/deconstructed_rom_directory.h
index f7702225e..1e9f765c9 100644
--- a/src/core/loader/deconstructed_rom_directory.h
+++ b/src/core/loader/deconstructed_rom_directory.h
@@ -27,7 +27,8 @@ public:
// Overload to accept exefs directory. Must contain 'main' and 'main.npdm'
explicit AppLoader_DeconstructedRomDirectory(FileSys::VirtualDir directory,
- bool override_update_ = false);
+ bool override_update_ = false,
+ bool is_hbl_ = false);
/**
* Identifies whether or not the given file is a deconstructed ROM directory.
@@ -62,6 +63,7 @@ private:
std::string name;
u64 title_id{};
bool override_update;
+ bool is_hbl;
Modules modules;
};
diff --git a/src/core/loader/kip.cpp b/src/core/loader/kip.cpp
index ffe976b94..bf56a08b4 100644
--- a/src/core/loader/kip.cpp
+++ b/src/core/loader/kip.cpp
@@ -90,13 +90,14 @@ AppLoader::LoadResult AppLoader_KIP::Load(Kernel::KProcess& process,
codeset.DataSegment().size += kip->GetBSSSize();
// Setup the process code layout
- if (process.LoadFromMetadata(FileSys::ProgramMetadata::GetDefault(), program_image.size())
+ if (process
+ .LoadFromMetadata(FileSys::ProgramMetadata::GetDefault(), program_image.size(), false)
.IsError()) {
return {ResultStatus::ErrorNotInitialized, {}};
}
codeset.memory = std::move(program_image);
- const VAddr base_address = GetInteger(process.GetPageTable().GetCodeRegionStart());
+ const VAddr base_address = GetInteger(process.GetEntryPoint());
process.LoadModule(std::move(codeset), base_address);
LOG_DEBUG(Loader, "loaded module {} @ 0x{:X}", kip->GetName(), base_address);
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp
index f24474ed8..b6e355622 100644
--- a/src/core/loader/loader.cpp
+++ b/src/core/loader/loader.cpp
@@ -108,7 +108,7 @@ std::string GetFileTypeString(FileType type) {
return "unknown";
}
-constexpr std::array<const char*, 66> RESULT_MESSAGES{
+constexpr std::array<const char*, 68> RESULT_MESSAGES{
"The operation completed successfully.",
"The loader requested to load is already loaded.",
"The operation is not implemented.",
@@ -135,7 +135,7 @@ constexpr std::array<const char*, 66> RESULT_MESSAGES{
"The titlekey and/or titlekek is incorrect or the section header is invalid.",
"The XCI file is missing a Program-type NCA.",
"The NCA file is not an application.",
- "The ExeFS partition could not be found.",
+ "The Program-type NCA contains no executable. An update may be required.",
"The XCI file has a bad header.",
"The XCI file is missing a partition.",
"The file could not be found or does not exist.",
@@ -169,12 +169,14 @@ constexpr std::array<const char*, 66> RESULT_MESSAGES{
"The BKTR-type NCA has a bad Subsection block.",
"The BKTR-type NCA has a bad Relocation bucket.",
"The BKTR-type NCA has a bad Subsection bucket.",
- "The BKTR-type NCA is missing the base RomFS.",
+ "Game updates cannot be loaded directly. Load the base game instead.",
"The NSP or XCI does not contain an update in addition to the base game.",
"The KIP file has a bad header.",
"The KIP BLZ decompression of the section failed unexpectedly.",
"The INI file has a bad header.",
"The INI file contains more than the maximum allowable number of KIP files.",
+ "Integrity verification could not be performed for this file.",
+ "Integrity verification failed.",
};
std::string GetResultStatusString(ResultStatus status) {
diff --git a/src/core/loader/loader.h b/src/core/loader/loader.h
index 7a2a52fd4..b4828f7cd 100644
--- a/src/core/loader/loader.h
+++ b/src/core/loader/loader.h
@@ -3,6 +3,7 @@
#pragma once
+#include <functional>
#include <iosfwd>
#include <memory>
#include <optional>
@@ -79,8 +80,6 @@ enum class ResultStatus : u16 {
ErrorBadPFSHeader,
ErrorIncorrectPFSFileSize,
ErrorBadNCAHeader,
- ErrorCompressedNCA,
- ErrorSparseNCA,
ErrorMissingProductionKeyFile,
ErrorMissingHeaderKey,
ErrorIncorrectHeaderKey,
@@ -134,6 +133,8 @@ enum class ResultStatus : u16 {
ErrorBLZDecompressionFailed,
ErrorBadINIHeader,
ErrorINITooManyKIPs,
+ ErrorIntegrityVerificationNotImplemented,
+ ErrorIntegrityVerificationFailed,
};
std::string GetResultStatusString(ResultStatus status);
@@ -172,6 +173,13 @@ public:
virtual LoadResult Load(Kernel::KProcess& process, Core::System& system) = 0;
/**
+ * Try to verify the integrity of the file.
+ */
+ virtual ResultStatus VerifyIntegrity(std::function<bool(size_t, size_t)> progress_callback) {
+ return ResultStatus::ErrorIntegrityVerificationNotImplemented;
+ }
+
+ /**
* Get the code (typically .code section) of the application
*
* @param[out] buffer Reference to buffer to store data
@@ -276,16 +284,6 @@ public:
}
/**
- * Gets the difference between the start of the IVFC header and the start of level 6 (RomFS)
- * data. Needed for BKTR patching.
- *
- * @return IVFC offset for RomFS.
- */
- virtual u64 ReadRomFSIVFCOffset() const {
- return 0;
- }
-
- /**
* Get the title of the application
*
* @param[out] title Reference to store the application title into
diff --git a/src/core/loader/nax.cpp b/src/core/loader/nax.cpp
index cf35b1249..3b7b005ff 100644
--- a/src/core/loader/nax.cpp
+++ b/src/core/loader/nax.cpp
@@ -76,10 +76,6 @@ ResultStatus AppLoader_NAX::ReadRomFS(FileSys::VirtualFile& dir) {
return nca_loader->ReadRomFS(dir);
}
-u64 AppLoader_NAX::ReadRomFSIVFCOffset() const {
- return nca_loader->ReadRomFSIVFCOffset();
-}
-
ResultStatus AppLoader_NAX::ReadProgramId(u64& out_program_id) {
return nca_loader->ReadProgramId(out_program_id);
}
diff --git a/src/core/loader/nax.h b/src/core/loader/nax.h
index d7f70db43..81df2bbcd 100644
--- a/src/core/loader/nax.h
+++ b/src/core/loader/nax.h
@@ -39,7 +39,6 @@ public:
LoadResult Load(Kernel::KProcess& process, Core::System& system) override;
ResultStatus ReadRomFS(FileSys::VirtualFile& dir) override;
- u64 ReadRomFSIVFCOffset() const override;
ResultStatus ReadProgramId(u64& out_program_id) override;
ResultStatus ReadBanner(std::vector<u8>& buffer) override;
diff --git a/src/core/loader/nca.cpp b/src/core/loader/nca.cpp
index 513af194d..4feb6968a 100644
--- a/src/core/loader/nca.cpp
+++ b/src/core/loader/nca.cpp
@@ -3,13 +3,18 @@
#include <utility>
+#include "common/hex_util.h"
+#include "common/scope_exit.h"
#include "core/core.h"
#include "core/file_sys/content_archive.h"
+#include "core/file_sys/nca_metadata.h"
+#include "core/file_sys/registered_cache.h"
#include "core/file_sys/romfs_factory.h"
#include "core/hle/kernel/k_process.h"
#include "core/hle/service/filesystem/filesystem.h"
#include "core/loader/deconstructed_rom_directory.h"
#include "core/loader/nca.h"
+#include "mbedtls/sha256.h"
namespace Loader {
@@ -43,9 +48,23 @@ AppLoader_NCA::LoadResult AppLoader_NCA::Load(Kernel::KProcess& process, Core::S
return {ResultStatus::ErrorNCANotProgram, {}};
}
- const auto exefs = nca->GetExeFS();
+ auto exefs = nca->GetExeFS();
if (exefs == nullptr) {
- return {ResultStatus::ErrorNoExeFS, {}};
+ LOG_INFO(Loader, "No ExeFS found in NCA, looking for ExeFS from update");
+
+ // This NCA may be a sparse base of an installed title.
+ // Try to fetch the ExeFS from the installed update.
+ const auto& installed = system.GetContentProvider();
+ const auto update_nca = installed.GetEntry(FileSys::GetUpdateTitleID(nca->GetTitleId()),
+ FileSys::ContentRecordType::Program);
+
+ if (update_nca) {
+ exefs = update_nca->GetExeFS();
+ }
+
+ if (exefs == nullptr) {
+ return {ResultStatus::ErrorNoExeFS, {}};
+ }
}
directory_loader = std::make_unique<AppLoader_DeconstructedRomDirectory>(exefs, true);
@@ -64,6 +83,79 @@ AppLoader_NCA::LoadResult AppLoader_NCA::Load(Kernel::KProcess& process, Core::S
return load_result;
}
+ResultStatus AppLoader_NCA::VerifyIntegrity(std::function<bool(size_t, size_t)> progress_callback) {
+ using namespace Common::Literals;
+
+ constexpr size_t NcaFileNameWithHashLength = 36;
+ constexpr size_t NcaFileNameHashLength = 32;
+ constexpr size_t NcaSha256HashLength = 32;
+ constexpr size_t NcaSha256HalfHashLength = NcaSha256HashLength / 2;
+
+ // Get the file name.
+ const auto name = file->GetName();
+
+ // We won't try to verify meta NCAs.
+ if (name.ends_with(".cnmt.nca")) {
+ return ResultStatus::Success;
+ }
+
+ // Check if we can verify this file. NCAs should be named after their hashes.
+ if (!name.ends_with(".nca") || name.size() != NcaFileNameWithHashLength) {
+ LOG_WARNING(Loader, "Unable to validate NCA with name {}", name);
+ return ResultStatus::ErrorIntegrityVerificationNotImplemented;
+ }
+
+ // Get the expected truncated hash of the NCA.
+ const auto input_hash =
+ Common::HexStringToVector(file->GetName().substr(0, NcaFileNameHashLength), false);
+
+ // Declare buffer to read into.
+ std::vector<u8> buffer(4_MiB);
+
+ // Initialize sha256 verification context.
+ mbedtls_sha256_context ctx;
+ mbedtls_sha256_init(&ctx);
+ mbedtls_sha256_starts_ret(&ctx, 0);
+
+ // Ensure we maintain a clean state on exit.
+ SCOPE_EXIT({ mbedtls_sha256_free(&ctx); });
+
+ // Declare counters.
+ const size_t total_size = file->GetSize();
+ size_t processed_size = 0;
+
+ // Begin iterating the file.
+ while (processed_size < total_size) {
+ // Refill the buffer.
+ const size_t intended_read_size = std::min(buffer.size(), total_size - processed_size);
+ const size_t read_size = file->Read(buffer.data(), intended_read_size, processed_size);
+
+ // Update the hash function with the buffer contents.
+ mbedtls_sha256_update_ret(&ctx, buffer.data(), read_size);
+
+ // Update counters.
+ processed_size += read_size;
+
+ // Call the progress function.
+ if (!progress_callback(processed_size, total_size)) {
+ return ResultStatus::ErrorIntegrityVerificationFailed;
+ }
+ }
+
+ // Finalize context and compute the output hash.
+ std::array<u8, NcaSha256HashLength> output_hash;
+ mbedtls_sha256_finish_ret(&ctx, output_hash.data());
+
+ // Compare to expected.
+ if (std::memcmp(input_hash.data(), output_hash.data(), NcaSha256HalfHashLength) != 0) {
+ LOG_ERROR(Loader, "NCA hash mismatch detected for file {}", name);
+ return ResultStatus::ErrorIntegrityVerificationFailed;
+ }
+
+ // File verified.
+ return ResultStatus::Success;
+}
+
ResultStatus AppLoader_NCA::ReadRomFS(FileSys::VirtualFile& dir) {
if (nca == nullptr) {
return ResultStatus::ErrorNotInitialized;
@@ -77,14 +169,6 @@ ResultStatus AppLoader_NCA::ReadRomFS(FileSys::VirtualFile& dir) {
return ResultStatus::Success;
}
-u64 AppLoader_NCA::ReadRomFSIVFCOffset() const {
- if (nca == nullptr) {
- return 0;
- }
-
- return nca->GetBaseIVFCOffset();
-}
-
ResultStatus AppLoader_NCA::ReadProgramId(u64& out_program_id) {
if (nca == nullptr || nca->GetStatus() != ResultStatus::Success) {
return ResultStatus::ErrorNotInitialized;
diff --git a/src/core/loader/nca.h b/src/core/loader/nca.h
index d22d9146e..96779e27f 100644
--- a/src/core/loader/nca.h
+++ b/src/core/loader/nca.h
@@ -39,8 +39,9 @@ public:
LoadResult Load(Kernel::KProcess& process, Core::System& system) override;
+ ResultStatus VerifyIntegrity(std::function<bool(size_t, size_t)> progress_callback) override;
+
ResultStatus ReadRomFS(FileSys::VirtualFile& dir) override;
- u64 ReadRomFSIVFCOffset() const override;
ResultStatus ReadProgramId(u64& out_program_id) override;
ResultStatus ReadBanner(std::vector<u8>& buffer) override;
diff --git a/src/core/loader/nro.cpp b/src/core/loader/nro.cpp
index 506808b5d..69f1a54ed 100644
--- a/src/core/loader/nro.cpp
+++ b/src/core/loader/nro.cpp
@@ -196,14 +196,15 @@ static bool LoadNroImpl(Kernel::KProcess& process, const std::vector<u8>& data)
program_image.resize(static_cast<u32>(program_image.size()) + bss_size);
// Setup the process code layout
- if (process.LoadFromMetadata(FileSys::ProgramMetadata::GetDefault(), program_image.size())
+ if (process
+ .LoadFromMetadata(FileSys::ProgramMetadata::GetDefault(), program_image.size(), false)
.IsError()) {
return false;
}
// Load codeset for current process
codeset.memory = std::move(program_image);
- process.LoadModule(std::move(codeset), process.GetPageTable().GetCodeRegionStart());
+ process.LoadModule(std::move(codeset), process.GetEntryPoint());
return true;
}
diff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cpp
index 74cc9579f..1350da8dc 100644
--- a/src/core/loader/nso.cpp
+++ b/src/core/loader/nso.cpp
@@ -127,13 +127,14 @@ std::optional<VAddr> AppLoader_NSO::LoadModule(Kernel::KProcess& process, Core::
}
// Apply patches if necessary
- if (pm && (pm->HasNSOPatch(nso_header.build_id) || Settings::values.dump_nso)) {
+ const auto name = nso_file.GetName();
+ if (pm && (pm->HasNSOPatch(nso_header.build_id, name) || Settings::values.dump_nso)) {
std::vector<u8> pi_header(sizeof(NSOHeader) + program_image.size());
std::memcpy(pi_header.data(), &nso_header, sizeof(NSOHeader));
std::memcpy(pi_header.data() + sizeof(NSOHeader), program_image.data(),
program_image.size());
- pi_header = pm->PatchNSO(pi_header, nso_file.GetName());
+ pi_header = pm->PatchNSO(pi_header, name);
std::copy(pi_header.begin() + sizeof(NSOHeader), pi_header.end(), program_image.data());
}
@@ -167,7 +168,7 @@ AppLoader_NSO::LoadResult AppLoader_NSO::Load(Kernel::KProcess& process, Core::S
modules.clear();
// Load module
- const VAddr base_address = GetInteger(process.GetPageTable().GetCodeRegionStart());
+ const VAddr base_address = GetInteger(process.GetEntryPoint());
if (!LoadModule(process, system, *file, base_address, true, true)) {
return {ResultStatus::ErrorLoadingNSO, {}};
}
diff --git a/src/core/loader/nsp.cpp b/src/core/loader/nsp.cpp
index 80663e0e0..f4ab75b77 100644
--- a/src/core/loader/nsp.cpp
+++ b/src/core/loader/nsp.cpp
@@ -30,7 +30,8 @@ AppLoader_NSP::AppLoader_NSP(FileSys::VirtualFile file_,
}
if (nsp->IsExtractedType()) {
- secondary_loader = std::make_unique<AppLoader_DeconstructedRomDirectory>(nsp->GetExeFS());
+ secondary_loader = std::make_unique<AppLoader_DeconstructedRomDirectory>(
+ nsp->GetExeFS(), false, file->GetName() == "hbl.nsp");
} else {
const auto control_nca =
nsp->GetNCA(nsp->GetProgramTitleID(), FileSys::ContentRecordType::Control);
@@ -117,12 +118,44 @@ AppLoader_NSP::LoadResult AppLoader_NSP::Load(Kernel::KProcess& process, Core::S
return result;
}
-ResultStatus AppLoader_NSP::ReadRomFS(FileSys::VirtualFile& out_file) {
- return secondary_loader->ReadRomFS(out_file);
+ResultStatus AppLoader_NSP::VerifyIntegrity(std::function<bool(size_t, size_t)> progress_callback) {
+ // Extracted-type NSPs can't be verified.
+ if (nsp->IsExtractedType()) {
+ return ResultStatus::ErrorIntegrityVerificationNotImplemented;
+ }
+
+ // Get list of all NCAs.
+ const auto ncas = nsp->GetNCAsCollapsed();
+
+ size_t total_size = 0;
+ size_t processed_size = 0;
+
+ // Loop over NCAs, collecting the total size to verify.
+ for (const auto& nca : ncas) {
+ total_size += nca->GetBaseFile()->GetSize();
+ }
+
+ // Loop over NCAs again, verifying each.
+ for (const auto& nca : ncas) {
+ AppLoader_NCA loader_nca(nca->GetBaseFile());
+
+ const auto NcaProgressCallback = [&](size_t nca_processed_size, size_t nca_total_size) {
+ return progress_callback(processed_size + nca_processed_size, total_size);
+ };
+
+ const auto verification_result = loader_nca.VerifyIntegrity(NcaProgressCallback);
+ if (verification_result != ResultStatus::Success) {
+ return verification_result;
+ }
+
+ processed_size += nca->GetBaseFile()->GetSize();
+ }
+
+ return ResultStatus::Success;
}
-u64 AppLoader_NSP::ReadRomFSIVFCOffset() const {
- return secondary_loader->ReadRomFSIVFCOffset();
+ResultStatus AppLoader_NSP::ReadRomFS(FileSys::VirtualFile& out_file) {
+ return secondary_loader->ReadRomFS(out_file);
}
ResultStatus AppLoader_NSP::ReadUpdateRaw(FileSys::VirtualFile& out_file) {
diff --git a/src/core/loader/nsp.h b/src/core/loader/nsp.h
index 003cc345c..7ce436c67 100644
--- a/src/core/loader/nsp.h
+++ b/src/core/loader/nsp.h
@@ -45,8 +45,9 @@ public:
LoadResult Load(Kernel::KProcess& process, Core::System& system) override;
+ ResultStatus VerifyIntegrity(std::function<bool(size_t, size_t)> progress_callback) override;
+
ResultStatus ReadRomFS(FileSys::VirtualFile& out_file) override;
- u64 ReadRomFSIVFCOffset() const override;
ResultStatus ReadUpdateRaw(FileSys::VirtualFile& out_file) override;
ResultStatus ReadProgramId(u64& out_program_id) override;
ResultStatus ReadProgramIds(std::vector<u64>& out_program_ids) override;
diff --git a/src/core/loader/xci.cpp b/src/core/loader/xci.cpp
index c7b1b3815..12d72c380 100644
--- a/src/core/loader/xci.cpp
+++ b/src/core/loader/xci.cpp
@@ -85,12 +85,42 @@ AppLoader_XCI::LoadResult AppLoader_XCI::Load(Kernel::KProcess& process, Core::S
return result;
}
-ResultStatus AppLoader_XCI::ReadRomFS(FileSys::VirtualFile& out_file) {
- return nca_loader->ReadRomFS(out_file);
+ResultStatus AppLoader_XCI::VerifyIntegrity(std::function<bool(size_t, size_t)> progress_callback) {
+ // Verify secure partition, as it is the only thing we can process.
+ auto secure_partition = xci->GetSecurePartitionNSP();
+
+ // Get list of all NCAs.
+ const auto ncas = secure_partition->GetNCAsCollapsed();
+
+ size_t total_size = 0;
+ size_t processed_size = 0;
+
+ // Loop over NCAs, collecting the total size to verify.
+ for (const auto& nca : ncas) {
+ total_size += nca->GetBaseFile()->GetSize();
+ }
+
+ // Loop over NCAs again, verifying each.
+ for (const auto& nca : ncas) {
+ AppLoader_NCA loader_nca(nca->GetBaseFile());
+
+ const auto NcaProgressCallback = [&](size_t nca_processed_size, size_t nca_total_size) {
+ return progress_callback(processed_size + nca_processed_size, total_size);
+ };
+
+ const auto verification_result = loader_nca.VerifyIntegrity(NcaProgressCallback);
+ if (verification_result != ResultStatus::Success) {
+ return verification_result;
+ }
+
+ processed_size += nca->GetBaseFile()->GetSize();
+ }
+
+ return ResultStatus::Success;
}
-u64 AppLoader_XCI::ReadRomFSIVFCOffset() const {
- return nca_loader->ReadRomFSIVFCOffset();
+ResultStatus AppLoader_XCI::ReadRomFS(FileSys::VirtualFile& out_file) {
+ return nca_loader->ReadRomFS(out_file);
}
ResultStatus AppLoader_XCI::ReadUpdateRaw(FileSys::VirtualFile& out_file) {
diff --git a/src/core/loader/xci.h b/src/core/loader/xci.h
index 2affb6c6e..b02e136d3 100644
--- a/src/core/loader/xci.h
+++ b/src/core/loader/xci.h
@@ -45,8 +45,9 @@ public:
LoadResult Load(Kernel::KProcess& process, Core::System& system) override;
+ ResultStatus VerifyIntegrity(std::function<bool(size_t, size_t)> progress_callback) override;
+
ResultStatus ReadRomFS(FileSys::VirtualFile& out_file) override;
- u64 ReadRomFSIVFCOffset() const override;
ResultStatus ReadUpdateRaw(FileSys::VirtualFile& out_file) override;
ResultStatus ReadProgramId(u64& out_program_id) override;
ResultStatus ReadProgramIds(std::vector<u64>& out_program_ids) override;
diff --git a/src/core/memory.cpp b/src/core/memory.cpp
index 179685b72..fa5273402 100644
--- a/src/core/memory.cpp
+++ b/src/core/memory.cpp
@@ -24,6 +24,16 @@
namespace Core::Memory {
+namespace {
+
+bool AddressSpaceContains(const Common::PageTable& table, const Common::ProcessAddress addr,
+ const std::size_t size) {
+ const Common::ProcessAddress max_addr = 1ULL << table.GetAddressSpaceBits();
+ return addr + size >= addr && addr + size <= max_addr;
+}
+
+} // namespace
+
// Implementation class used to keep the specifics of the memory subsystem hidden
// from outside classes. This also allows modification to the internals of the memory
// subsystem without needing to rebuild all files that make use of the memory interface.
@@ -73,7 +83,7 @@ struct Memory::Impl {
return {};
}
- return system.DeviceMemory().GetPointer<u8>(paddr) + vaddr;
+ return system.DeviceMemory().GetPointer<u8>(paddr + vaddr);
}
[[nodiscard]] u8* GetPointerFromDebugMemory(u64 vaddr) const {
@@ -84,7 +94,7 @@ struct Memory::Impl {
return {};
}
- return system.DeviceMemory().GetPointer<u8>(paddr) + vaddr;
+ return system.DeviceMemory().GetPointer<u8>(paddr + vaddr);
}
u8 Read8(const Common::ProcessAddress addr) {
@@ -191,6 +201,11 @@ struct Memory::Impl {
std::size_t page_offset = addr & YUZU_PAGEMASK;
bool user_accessible = true;
+ if (!AddressSpaceContains(page_table, addr, size)) [[unlikely]] {
+ on_unmapped(size, addr);
+ return false;
+ }
+
while (remaining_size) {
const std::size_t copy_amount =
std::min(static_cast<std::size_t>(YUZU_PAGESIZE) - page_offset, remaining_size);
@@ -205,7 +220,8 @@ struct Memory::Impl {
break;
}
case Common::PageType::Memory: {
- u8* mem_ptr = pointer + page_offset + (page_index << YUZU_PAGEBITS);
+ u8* mem_ptr =
+ reinterpret_cast<u8*>(pointer + page_offset + (page_index << YUZU_PAGEBITS));
on_memory(copy_amount, mem_ptr);
break;
}
@@ -420,7 +436,7 @@ struct Memory::Impl {
}
void MarkRegionDebug(u64 vaddr, u64 size, bool debug) {
- if (vaddr == 0) {
+ if (vaddr == 0 || !AddressSpaceContains(*current_page_table, vaddr, size)) {
return;
}
@@ -447,7 +463,7 @@ struct Memory::Impl {
break;
case Common::PageType::Memory:
current_page_table->pointers[vaddr >> YUZU_PAGEBITS].Store(
- nullptr, Common::PageType::DebugMemory);
+ 0, Common::PageType::DebugMemory);
break;
default:
UNREACHABLE();
@@ -465,7 +481,8 @@ struct Memory::Impl {
case Common::PageType::DebugMemory: {
u8* const pointer{GetPointerFromDebugMemory(vaddr & ~YUZU_PAGEMASK)};
current_page_table->pointers[vaddr >> YUZU_PAGEBITS].Store(
- pointer - (vaddr & ~YUZU_PAGEMASK), Common::PageType::Memory);
+ reinterpret_cast<uintptr_t>(pointer) - (vaddr & ~YUZU_PAGEMASK),
+ Common::PageType::Memory);
break;
}
default:
@@ -476,7 +493,7 @@ struct Memory::Impl {
}
void RasterizerMarkRegionCached(u64 vaddr, u64 size, bool cached) {
- if (vaddr == 0) {
+ if (vaddr == 0 || !AddressSpaceContains(*current_page_table, vaddr, size)) {
return;
}
@@ -505,7 +522,7 @@ struct Memory::Impl {
case Common::PageType::DebugMemory:
case Common::PageType::Memory:
current_page_table->pointers[vaddr >> YUZU_PAGEBITS].Store(
- nullptr, Common::PageType::RasterizerCachedMemory);
+ 0, Common::PageType::RasterizerCachedMemory);
break;
case Common::PageType::RasterizerCachedMemory:
// There can be more than one GPU region mapped per CPU region, so it's common
@@ -533,10 +550,11 @@ struct Memory::Impl {
// pagetable after unmapping a VMA. In that case the underlying VMA will no
// longer exist, and we should just leave the pagetable entry blank.
current_page_table->pointers[vaddr >> YUZU_PAGEBITS].Store(
- nullptr, Common::PageType::Unmapped);
+ 0, Common::PageType::Unmapped);
} else {
current_page_table->pointers[vaddr >> YUZU_PAGEBITS].Store(
- pointer - (vaddr & ~YUZU_PAGEMASK), Common::PageType::Memory);
+ reinterpret_cast<uintptr_t>(pointer) - (vaddr & ~YUZU_PAGEMASK),
+ Common::PageType::Memory);
}
break;
}
@@ -583,7 +601,7 @@ struct Memory::Impl {
"Mapping memory page without a pointer @ {:016x}", base * YUZU_PAGESIZE);
while (base != end) {
- page_table.pointers[base].Store(nullptr, type);
+ page_table.pointers[base].Store(0, type);
page_table.backing_addr[base] = 0;
page_table.blocks[base] = 0;
base += 1;
@@ -592,7 +610,8 @@ struct Memory::Impl {
auto orig_base = base;
while (base != end) {
auto host_ptr =
- system.DeviceMemory().GetPointer<u8>(target) - (base << YUZU_PAGEBITS);
+ reinterpret_cast<uintptr_t>(system.DeviceMemory().GetPointer<u8>(target)) -
+ (base << YUZU_PAGEBITS);
auto backing = GetInteger(target) - (base << YUZU_PAGEBITS);
page_table.pointers[base].Store(host_ptr, type);
page_table.backing_addr[base] = backing;
@@ -611,15 +630,15 @@ struct Memory::Impl {
// AARCH64 masks the upper 16 bit of all memory accesses
vaddr = vaddr & 0xffffffffffffULL;
- if (vaddr >= 1uLL << current_page_table->GetAddressSpaceBits()) {
+ if (!AddressSpaceContains(*current_page_table, vaddr, 1)) [[unlikely]] {
on_unmapped();
return nullptr;
}
// Avoid adding any extra logic to this fast-path block
const uintptr_t raw_pointer = current_page_table->pointers[vaddr >> YUZU_PAGEBITS].Raw();
- if (u8* const pointer = Common::PageTable::PageInfo::ExtractPointer(raw_pointer)) {
- return &pointer[vaddr];
+ if (const uintptr_t pointer = Common::PageTable::PageInfo::ExtractPointer(raw_pointer)) {
+ return reinterpret_cast<u8*>(pointer + vaddr);
}
switch (Common::PageTable::PageInfo::ExtractType(raw_pointer)) {
case Common::PageType::Unmapped:
@@ -813,7 +832,7 @@ bool Memory::IsValidVirtualAddress(const Common::ProcessAddress vaddr) const {
return false;
}
const auto [pointer, type] = page_table.pointers[page].PointerType();
- return pointer != nullptr || type == Common::PageType::RasterizerCachedMemory ||
+ return pointer != 0 || type == Common::PageType::RasterizerCachedMemory ||
type == Common::PageType::DebugMemory;
}
diff --git a/src/core/memory.h b/src/core/memory.h
index 2eb61ffd3..13047a545 100644
--- a/src/core/memory.h
+++ b/src/core/memory.h
@@ -509,9 +509,9 @@ class GuestMemory {
public:
GuestMemory() = delete;
- explicit GuestMemory(M& memory_, u64 addr_, std::size_t size_,
+ explicit GuestMemory(M& memory, u64 addr, std::size_t size,
Common::ScratchBuffer<T>* backup = nullptr)
- : memory{memory_}, addr{addr_}, size{size_} {
+ : m_memory{memory}, m_addr{addr}, m_size{size} {
static_assert(FLAGS & GuestMemoryFlags::Read || FLAGS & GuestMemoryFlags::Write);
if constexpr (FLAGS & GuestMemoryFlags::Read) {
Read(addr, size, backup);
@@ -521,89 +521,97 @@ public:
~GuestMemory() = default;
T* data() noexcept {
- return data_span.data();
+ return m_data_span.data();
}
const T* data() const noexcept {
- return data_span.data();
+ return m_data_span.data();
+ }
+
+ size_t size() const noexcept {
+ return m_size;
+ }
+
+ size_t size_bytes() const noexcept {
+ return this->size() * sizeof(T);
}
[[nodiscard]] T* begin() noexcept {
- return data();
+ return this->data();
}
[[nodiscard]] const T* begin() const noexcept {
- return data();
+ return this->data();
}
[[nodiscard]] T* end() noexcept {
- return data() + size;
+ return this->data() + this->size();
}
[[nodiscard]] const T* end() const noexcept {
- return data() + size;
+ return this->data() + this->size();
}
T& operator[](size_t index) noexcept {
- return data_span[index];
+ return m_data_span[index];
}
const T& operator[](size_t index) const noexcept {
- return data_span[index];
+ return m_data_span[index];
}
- void SetAddressAndSize(u64 addr_, std::size_t size_) noexcept {
- addr = addr_;
- size = size_;
- addr_changed = true;
+ void SetAddressAndSize(u64 addr, std::size_t size) noexcept {
+ m_addr = addr;
+ m_size = size;
+ m_addr_changed = true;
}
- std::span<T> Read(u64 addr_, std::size_t size_,
+ std::span<T> Read(u64 addr, std::size_t size,
Common::ScratchBuffer<T>* backup = nullptr) noexcept {
- addr = addr_;
- size = size_;
- if (size == 0) {
- is_data_copy = true;
+ m_addr = addr;
+ m_size = size;
+ if (m_size == 0) {
+ m_is_data_copy = true;
return {};
}
- if (TrySetSpan()) {
+ if (this->TrySetSpan()) {
if constexpr (FLAGS & GuestMemoryFlags::Safe) {
- memory.FlushRegion(addr, size * sizeof(T));
+ m_memory.FlushRegion(m_addr, this->size_bytes());
}
} else {
if (backup) {
- backup->resize_destructive(size);
- data_span = *backup;
+ backup->resize_destructive(this->size());
+ m_data_span = *backup;
} else {
- data_copy.resize(size);
- data_span = std::span(data_copy);
+ m_data_copy.resize(this->size());
+ m_data_span = std::span(m_data_copy);
}
- is_data_copy = true;
- span_valid = true;
+ m_is_data_copy = true;
+ m_span_valid = true;
if constexpr (FLAGS & GuestMemoryFlags::Safe) {
- memory.ReadBlock(addr, data_span.data(), size * sizeof(T));
+ m_memory.ReadBlock(m_addr, this->data(), this->size_bytes());
} else {
- memory.ReadBlockUnsafe(addr, data_span.data(), size * sizeof(T));
+ m_memory.ReadBlockUnsafe(m_addr, this->data(), this->size_bytes());
}
}
- return data_span;
+ return m_data_span;
}
void Write(std::span<T> write_data) noexcept {
if constexpr (FLAGS & GuestMemoryFlags::Cached) {
- memory.WriteBlockCached(addr, write_data.data(), size * sizeof(T));
+ m_memory.WriteBlockCached(m_addr, write_data.data(), this->size_bytes());
} else if constexpr (FLAGS & GuestMemoryFlags::Safe) {
- memory.WriteBlock(addr, write_data.data(), size * sizeof(T));
+ m_memory.WriteBlock(m_addr, write_data.data(), this->size_bytes());
} else {
- memory.WriteBlockUnsafe(addr, write_data.data(), size * sizeof(T));
+ m_memory.WriteBlockUnsafe(m_addr, write_data.data(), this->size_bytes());
}
}
bool TrySetSpan() noexcept {
- if (u8* ptr = memory.GetSpan(addr, size * sizeof(T)); ptr) {
- data_span = {reinterpret_cast<T*>(ptr), size};
- span_valid = true;
+ if (u8* ptr = m_memory.GetSpan(m_addr, this->size_bytes()); ptr) {
+ m_data_span = {reinterpret_cast<T*>(ptr), this->size()};
+ m_span_valid = true;
return true;
}
return false;
@@ -611,36 +619,36 @@ public:
protected:
bool IsDataCopy() const noexcept {
- return is_data_copy;
+ return m_is_data_copy;
}
bool AddressChanged() const noexcept {
- return addr_changed;
+ return m_addr_changed;
}
- M& memory;
- u64 addr;
- size_t size;
- std::span<T> data_span{};
- std::vector<T> data_copy;
- bool span_valid{false};
- bool is_data_copy{false};
- bool addr_changed{false};
+ M& m_memory;
+ u64 m_addr{};
+ size_t m_size{};
+ std::span<T> m_data_span{};
+ std::vector<T> m_data_copy{};
+ bool m_span_valid{false};
+ bool m_is_data_copy{false};
+ bool m_addr_changed{false};
};
template <typename M, typename T, GuestMemoryFlags FLAGS>
class GuestMemoryScoped : public GuestMemory<M, T, FLAGS> {
public:
GuestMemoryScoped() = delete;
- explicit GuestMemoryScoped(M& memory_, u64 addr_, std::size_t size_,
+ explicit GuestMemoryScoped(M& memory, u64 addr, std::size_t size,
Common::ScratchBuffer<T>* backup = nullptr)
- : GuestMemory<M, T, FLAGS>(memory_, addr_, size_, backup) {
+ : GuestMemory<M, T, FLAGS>(memory, addr, size, backup) {
if constexpr (!(FLAGS & GuestMemoryFlags::Read)) {
if (!this->TrySetSpan()) {
if (backup) {
- this->data_span = *backup;
- this->span_valid = true;
- this->is_data_copy = true;
+ this->m_data_span = *backup;
+ this->m_span_valid = true;
+ this->m_is_data_copy = true;
}
}
}
@@ -648,24 +656,21 @@ public:
~GuestMemoryScoped() {
if constexpr (FLAGS & GuestMemoryFlags::Write) {
- if (this->size == 0) [[unlikely]] {
+ if (this->size() == 0) [[unlikely]] {
return;
}
if (this->AddressChanged() || this->IsDataCopy()) {
- ASSERT(this->span_valid);
+ ASSERT(this->m_span_valid);
if constexpr (FLAGS & GuestMemoryFlags::Cached) {
- this->memory.WriteBlockCached(this->addr, this->data_span.data(),
- this->size * sizeof(T));
+ this->m_memory.WriteBlockCached(this->m_addr, this->data(), this->size_bytes());
} else if constexpr (FLAGS & GuestMemoryFlags::Safe) {
- this->memory.WriteBlock(this->addr, this->data_span.data(),
- this->size * sizeof(T));
+ this->m_memory.WriteBlock(this->m_addr, this->data(), this->size_bytes());
} else {
- this->memory.WriteBlockUnsafe(this->addr, this->data_span.data(),
- this->size * sizeof(T));
+ this->m_memory.WriteBlockUnsafe(this->m_addr, this->data(), this->size_bytes());
}
} else if constexpr (FLAGS & GuestMemoryFlags::Safe) {
- this->memory.InvalidateRegion(this->addr, this->size * sizeof(T));
+ this->m_memory.InvalidateRegion(this->m_addr, this->size_bytes());
}
}
}
diff --git a/src/core/memory/cheat_engine.cpp b/src/core/memory/cheat_engine.cpp
index 7b52f61a7..a06e99166 100644
--- a/src/core/memory/cheat_engine.cpp
+++ b/src/core/memory/cheat_engine.cpp
@@ -154,7 +154,7 @@ std::vector<CheatEntry> TextCheatParser::Parse(std::string_view data) const {
return {};
}
- const auto value = static_cast<u32>(std::stoul(hex, nullptr, 0x10));
+ const auto value = static_cast<u32>(std::strtoul(hex.c_str(), nullptr, 0x10));
out[*current_entry].definition.opcodes[out[*current_entry].definition.num_opcodes++] =
value;
diff --git a/src/core/reporter.cpp b/src/core/reporter.cpp
index b5b3e7eda..ed875d444 100644
--- a/src/core/reporter.cpp
+++ b/src/core/reporter.cpp
@@ -117,8 +117,8 @@ json GetProcessorStateDataAuto(Core::System& system) {
arm.SaveContext(context);
return GetProcessorStateData(process->Is64BitProcess() ? "AArch64" : "AArch32",
- GetInteger(process->GetPageTable().GetCodeRegionStart()),
- context.sp, context.pc, context.pstate, context.cpu_registers);
+ GetInteger(process->GetEntryPoint()), context.sp, context.pc,
+ context.pstate, context.cpu_registers);
}
json GetBacktraceData(Core::System& system) {
diff --git a/src/core/telemetry_session.cpp b/src/core/telemetry_session.cpp
index 7a2f3c90a..c26179e03 100644
--- a/src/core/telemetry_session.cpp
+++ b/src/core/telemetry_session.cpp
@@ -14,6 +14,7 @@
#include "common/logging/log.h"
#include "common/settings.h"
+#include "common/settings_enums.h"
#include "core/file_sys/control_metadata.h"
#include "core/file_sys/patch_manager.h"
#include "core/loader/loader.h"
@@ -61,13 +62,13 @@ static const char* TranslateRenderer(Settings::RendererBackend backend) {
return "Unknown";
}
-static const char* TranslateGPUAccuracyLevel(Settings::GPUAccuracy backend) {
+static const char* TranslateGPUAccuracyLevel(Settings::GpuAccuracy backend) {
switch (backend) {
- case Settings::GPUAccuracy::Normal:
+ case Settings::GpuAccuracy::Normal:
return "Normal";
- case Settings::GPUAccuracy::High:
+ case Settings::GpuAccuracy::High:
return "High";
- case Settings::GPUAccuracy::Extreme:
+ case Settings::GpuAccuracy::Extreme:
return "Extreme";
}
return "Unknown";
@@ -77,9 +78,9 @@ static const char* TranslateNvdecEmulation(Settings::NvdecEmulation backend) {
switch (backend) {
case Settings::NvdecEmulation::Off:
return "Off";
- case Settings::NvdecEmulation::CPU:
+ case Settings::NvdecEmulation::Cpu:
return "CPU";
- case Settings::NvdecEmulation::GPU:
+ case Settings::NvdecEmulation::Gpu:
return "GPU";
}
return "Unknown";
@@ -91,14 +92,26 @@ static constexpr const char* TranslateVSyncMode(Settings::VSyncMode mode) {
return "Immediate";
case Settings::VSyncMode::Mailbox:
return "Mailbox";
- case Settings::VSyncMode::FIFO:
+ case Settings::VSyncMode::Fifo:
return "FIFO";
- case Settings::VSyncMode::FIFORelaxed:
+ case Settings::VSyncMode::FifoRelaxed:
return "FIFO Relaxed";
}
return "Unknown";
}
+static constexpr const char* TranslateASTCDecodeMode(Settings::AstcDecodeMode mode) {
+ switch (mode) {
+ case Settings::AstcDecodeMode::Cpu:
+ return "CPU";
+ case Settings::AstcDecodeMode::Gpu:
+ return "GPU";
+ case Settings::AstcDecodeMode::CpuAsynchronous:
+ return "CPU Asynchronous";
+ }
+ return "Unknown";
+}
+
u64 GetTelemetryId() {
u64 telemetry_id{};
const auto filename = Common::FS::GetYuzuPath(Common::FS::YuzuPath::ConfigDir) / "telemetry_id";
@@ -240,7 +253,8 @@ void TelemetrySession::AddInitialInfo(Loader::AppLoader& app_loader,
// Log user configuration information
constexpr auto field_type = Telemetry::FieldType::UserConfig;
- AddField(field_type, "Audio_SinkId", Settings::values.sink_id.GetValue());
+ AddField(field_type, "Audio_SinkId",
+ Settings::CanonicalizeEnum(Settings::values.sink_id.GetValue()));
AddField(field_type, "Core_UseMultiCore", Settings::values.use_multi_core.GetValue());
AddField(field_type, "Renderer_Backend",
TranslateRenderer(Settings::values.renderer_backend.GetValue()));
@@ -254,14 +268,15 @@ void TelemetrySession::AddInitialInfo(Loader::AppLoader& app_loader,
Settings::values.use_asynchronous_gpu_emulation.GetValue());
AddField(field_type, "Renderer_NvdecEmulation",
TranslateNvdecEmulation(Settings::values.nvdec_emulation.GetValue()));
- AddField(field_type, "Renderer_AccelerateASTC", Settings::values.accelerate_astc.GetValue());
+ AddField(field_type, "Renderer_AccelerateASTC",
+ TranslateASTCDecodeMode(Settings::values.accelerate_astc.GetValue()));
AddField(field_type, "Renderer_UseVsync",
TranslateVSyncMode(Settings::values.vsync_mode.GetValue()));
AddField(field_type, "Renderer_ShaderBackend",
static_cast<u32>(Settings::values.shader_backend.GetValue()));
AddField(field_type, "Renderer_UseAsynchronousShaders",
Settings::values.use_asynchronous_shaders.GetValue());
- AddField(field_type, "System_UseDockedMode", Settings::values.use_docked_mode.GetValue());
+ AddField(field_type, "System_UseDockedMode", Settings::IsDockedMode());
}
bool TelemetrySession::SubmitTestcase() {
diff --git a/src/core/tools/renderdoc.cpp b/src/core/tools/renderdoc.cpp
new file mode 100644
index 000000000..947fa6cb3
--- /dev/null
+++ b/src/core/tools/renderdoc.cpp
@@ -0,0 +1,55 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include <renderdoc_app.h>
+
+#include "common/assert.h"
+#include "common/dynamic_library.h"
+#include "core/tools/renderdoc.h"
+
+#ifdef _WIN32
+#include <windows.h>
+#else
+#include <dlfcn.h>
+#endif
+
+namespace Tools {
+
+RenderdocAPI::RenderdocAPI() {
+#ifdef WIN32
+ if (HMODULE mod = GetModuleHandleA("renderdoc.dll")) {
+ const auto RENDERDOC_GetAPI =
+ reinterpret_cast<pRENDERDOC_GetAPI>(GetProcAddress(mod, "RENDERDOC_GetAPI"));
+ const s32 ret = RENDERDOC_GetAPI(eRENDERDOC_API_Version_1_6_0, (void**)&rdoc_api);
+ ASSERT(ret == 1);
+ }
+#else
+#ifdef ANDROID
+ static constexpr const char RENDERDOC_LIB[] = "libVkLayer_GLES_RenderDoc.so";
+#else
+ static constexpr const char RENDERDOC_LIB[] = "librenderdoc.so";
+#endif
+ if (void* mod = dlopen(RENDERDOC_LIB, RTLD_NOW | RTLD_NOLOAD)) {
+ const auto RENDERDOC_GetAPI =
+ reinterpret_cast<pRENDERDOC_GetAPI>(dlsym(mod, "RENDERDOC_GetAPI"));
+ const s32 ret = RENDERDOC_GetAPI(eRENDERDOC_API_Version_1_6_0, (void**)&rdoc_api);
+ ASSERT(ret == 1);
+ }
+#endif
+}
+
+RenderdocAPI::~RenderdocAPI() = default;
+
+void RenderdocAPI::ToggleCapture() {
+ if (!rdoc_api) [[unlikely]] {
+ return;
+ }
+ if (!is_capturing) {
+ rdoc_api->StartFrameCapture(NULL, NULL);
+ } else {
+ rdoc_api->EndFrameCapture(NULL, NULL);
+ }
+ is_capturing = !is_capturing;
+}
+
+} // namespace Tools
diff --git a/src/core/tools/renderdoc.h b/src/core/tools/renderdoc.h
new file mode 100644
index 000000000..0e5e43da5
--- /dev/null
+++ b/src/core/tools/renderdoc.h
@@ -0,0 +1,22 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+struct RENDERDOC_API_1_6_0;
+
+namespace Tools {
+
+class RenderdocAPI {
+public:
+ explicit RenderdocAPI();
+ ~RenderdocAPI();
+
+ void ToggleCapture();
+
+private:
+ RENDERDOC_API_1_6_0* rdoc_api{};
+ bool is_capturing{false};
+};
+
+} // namespace Tools
diff --git a/src/dedicated_room/yuzu_room.cpp b/src/dedicated_room/yuzu_room.cpp
index d707dabe2..93038f161 100644
--- a/src/dedicated_room/yuzu_room.cpp
+++ b/src/dedicated_room/yuzu_room.cpp
@@ -368,9 +368,9 @@ int main(int argc, char** argv) {
if (auto room = network.GetRoom().lock()) {
AnnounceMultiplayerRoom::GameInfo preferred_game_info{.name = preferred_game,
.id = preferred_game_id};
- if (!room->Create(room_name, room_description, bind_address, port, password, max_members,
- username, preferred_game_info, std::move(verify_backend), ban_list,
- enable_yuzu_mods)) {
+ if (!room->Create(room_name, room_description, bind_address, static_cast<u16>(port),
+ password, max_members, username, preferred_game_info,
+ std::move(verify_backend), ban_list, enable_yuzu_mods)) {
LOG_INFO(Network, "Failed to create room: ");
return -1;
}
diff --git a/src/input_common/CMakeLists.txt b/src/input_common/CMakeLists.txt
index 322c29065..5c127c8ef 100644
--- a/src/input_common/CMakeLists.txt
+++ b/src/input_common/CMakeLists.txt
@@ -37,8 +37,6 @@ add_library(input_common STATIC
if (MSVC)
target_compile_options(input_common PRIVATE
- /W4
-
/we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data
/we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data
/we4800 # Implicit conversion from 'type' to bool. Possible information loss
diff --git a/src/input_common/drivers/virtual_gamepad.h b/src/input_common/drivers/virtual_gamepad.h
index dfbc45a28..3a40e3fd3 100644
--- a/src/input_common/drivers/virtual_gamepad.h
+++ b/src/input_common/drivers/virtual_gamepad.h
@@ -67,7 +67,7 @@ public:
* @param player_index the player number that will take this action
* @param delta_timestamp time passed since last reading
* @param gyro_x,gyro_y,gyro_z the gyro sensor readings
- * @param accel_x,accel_y,accel_z the acelerometer reading
+ * @param accel_x,accel_y,accel_z the accelerometer reading
*/
void SetMotionState(std::size_t player_index, u64 delta_timestamp, float gyro_x, float gyro_y,
float gyro_z, float accel_x, float accel_y, float accel_z);
diff --git a/src/input_common/helpers/joycon_protocol/generic_functions.h b/src/input_common/helpers/joycon_protocol/generic_functions.h
index 90fcd17f6..b94567f82 100644
--- a/src/input_common/helpers/joycon_protocol/generic_functions.h
+++ b/src/input_common/helpers/joycon_protocol/generic_functions.h
@@ -55,7 +55,7 @@ public:
/**
* Configures the motion sensor with the specified parameters
- * @param gsen gyroscope sensor sensitvity in degrees per second
+ * @param gsen gyroscope sensor sensitivity in degrees per second
* @param gfrec gyroscope sensor frequency in hertz
* @param asen accelerometer sensitivity in G force
* @param afrec accelerometer frequency in hertz
diff --git a/src/input_common/input_poller.cpp b/src/input_common/input_poller.cpp
index 870e76ab0..188e862d7 100644
--- a/src/input_common/input_poller.cpp
+++ b/src/input_common/input_poller.cpp
@@ -835,15 +835,15 @@ public:
return input_engine->SupportsNfc(identifier);
}
- Common::Input::NfcState StartNfcPolling() {
+ Common::Input::NfcState StartNfcPolling() override {
return input_engine->StartNfcPolling(identifier);
}
- Common::Input::NfcState StopNfcPolling() {
+ Common::Input::NfcState StopNfcPolling() override {
return input_engine->StopNfcPolling(identifier);
}
- Common::Input::NfcState ReadAmiiboData(std::vector<u8>& out_data) {
+ Common::Input::NfcState ReadAmiiboData(std::vector<u8>& out_data) override {
return input_engine->ReadAmiiboData(identifier, out_data);
}
@@ -852,11 +852,11 @@ public:
}
Common::Input::NfcState ReadMifareData(const Common::Input::MifareRequest& request,
- Common::Input::MifareRequest& out_data) {
+ Common::Input::MifareRequest& out_data) override {
return input_engine->ReadMifareData(identifier, request, out_data);
}
- Common::Input::NfcState WriteMifareData(const Common::Input::MifareRequest& request) {
+ Common::Input::NfcState WriteMifareData(const Common::Input::MifareRequest& request) override {
return input_engine->WriteMifareData(identifier, request);
}
diff --git a/src/network/room.cpp b/src/network/room.cpp
index e456ea09c..d87db37de 100644
--- a/src/network/room.cpp
+++ b/src/network/room.cpp
@@ -805,7 +805,7 @@ IPv4Address Room::RoomImpl::GenerateFakeIPAddress() {
std::uniform_int_distribution<> dis(0x01, 0xFE); // Random byte between 1 and 0xFE
do {
for (std::size_t i = 2; i < result_ip.size(); ++i) {
- result_ip[i] = dis(random_gen);
+ result_ip[i] = static_cast<u8>(dis(random_gen));
}
} while (!IsValidFakeIPAddress(result_ip));
diff --git a/src/shader_recompiler/CMakeLists.txt b/src/shader_recompiler/CMakeLists.txt
index 07e75f9d8..83b763447 100644
--- a/src/shader_recompiler/CMakeLists.txt
+++ b/src/shader_recompiler/CMakeLists.txt
@@ -245,8 +245,6 @@ target_link_libraries(shader_recompiler PUBLIC common fmt::fmt sirit)
if (MSVC)
target_compile_options(shader_recompiler PRIVATE
- /W4
-
/we4242 # 'identifier': conversion from 'type1' to 'type2', possible loss of data
/we4254 # 'operator': conversion from 'type1:field_bits' to 'type2:field_bits', possible loss of data
/we4800 # Implicit conversion from 'type' to bool. Possible information loss
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_composite.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_composite.cpp
index d508ee567..4e8ba4ae6 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm_composite.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm_composite.cpp
@@ -55,7 +55,7 @@ void CompositeInsert(EmitContext& ctx, IR::Inst& inst, Register composite, Objec
"MOV.{} {}.{},{};",
type, ret, composite, type, ret, swizzle, object);
} else {
- // The return value is alised so we can just insert the object, it doesn't matter if it's
+ // The return value is aliased so we can just insert the object, it doesn't matter if it's
// aliased
ctx.Add("MOV.{} {}.{},{};", type, ret, swizzle, object);
}
diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_image.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_image.cpp
index 85ee27333..d0e308124 100644
--- a/src/shader_recompiler/backend/glasm/emit_glasm_image.cpp
+++ b/src/shader_recompiler/backend/glasm/emit_glasm_image.cpp
@@ -558,12 +558,15 @@ void EmitImageGradient(EmitContext& ctx, IR::Inst& inst, const IR::Value& index,
const IR::Value& coord, const IR::Value& derivatives,
const IR::Value& offset, const IR::Value& lod_clamp) {
const auto info{inst.Flags<IR::TextureInstInfo>()};
- ScopedRegister dpdx, dpdy;
+ ScopedRegister dpdx, dpdy, coords;
const bool multi_component{info.num_derivates > 1 || info.has_lod_clamp};
if (multi_component) {
// Allocate this early to avoid aliasing other registers
dpdx = ScopedRegister{ctx.reg_alloc};
dpdy = ScopedRegister{ctx.reg_alloc};
+ if (info.num_derivates >= 3) {
+ coords = ScopedRegister{ctx.reg_alloc};
+ }
}
const auto sparse_inst{PrepareSparse(inst)};
const std::string_view sparse_mod{sparse_inst ? ".SPARSE" : ""};
@@ -580,15 +583,27 @@ void EmitImageGradient(EmitContext& ctx, IR::Inst& inst, const IR::Value& index,
"MOV.F {}.y,{}.w;",
dpdx.reg, derivatives_vec, dpdx.reg, derivatives_vec, dpdy.reg, derivatives_vec,
dpdy.reg, derivatives_vec);
+ Register final_coord;
+ if (info.num_derivates >= 3) {
+ ctx.Add("MOV.F {}.z,{}.x;"
+ "MOV.F {}.z,{}.y;",
+ dpdx.reg, coord_vec, dpdy.reg, coord_vec);
+ ctx.Add("MOV.F {}.x,0;"
+ "MOV.F {}.y,0;",
+ "MOV.F {}.z,0;", coords.reg, coords.reg, coords.reg);
+ final_coord = coords.reg;
+ } else {
+ final_coord = coord_vec;
+ }
if (info.has_lod_clamp) {
const ScalarF32 lod_clamp_value{ctx.reg_alloc.Consume(lod_clamp)};
ctx.Add("MOV.F {}.w,{};"
"TXD.F.LODCLAMP{} {},{},{},{},{},{}{};",
- dpdy.reg, lod_clamp_value, sparse_mod, ret, coord_vec, dpdx.reg, dpdy.reg,
+ dpdy.reg, lod_clamp_value, sparse_mod, ret, final_coord, dpdx.reg, dpdy.reg,
texture, type, offset_vec);
} else {
- ctx.Add("TXD.F{} {},{},{},{},{},{}{};", sparse_mod, ret, coord_vec, dpdx.reg, dpdy.reg,
- texture, type, offset_vec);
+ ctx.Add("TXD.F{} {},{},{},{},{},{}{};", sparse_mod, ret, final_coord, dpdx.reg,
+ dpdy.reg, texture, type, offset_vec);
}
} else {
ctx.Add("TXD.F{} {},{},{}.x,{}.y,{},{}{};", sparse_mod, ret, coord_vec, derivatives_vec,
diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp
index 418505475..d9872ecc2 100644
--- a/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp
+++ b/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp
@@ -548,7 +548,7 @@ void EmitImageGradient(EmitContext& ctx, IR::Inst& inst, const IR::Value& index,
if (sparse_inst) {
throw NotImplementedException("EmitImageGradient Sparse");
}
- if (!offset.IsEmpty()) {
+ if (!offset.IsEmpty() && info.num_derivates <= 2) {
throw NotImplementedException("EmitImageGradient offset");
}
const auto texture{Texture(ctx, info, index)};
@@ -556,6 +556,12 @@ void EmitImageGradient(EmitContext& ctx, IR::Inst& inst, const IR::Value& index,
const bool multi_component{info.num_derivates > 1 || info.has_lod_clamp};
const auto derivatives_vec{ctx.var_alloc.Consume(derivatives)};
if (multi_component) {
+ if (info.num_derivates >= 3) {
+ const auto offset_vec{ctx.var_alloc.Consume(offset)};
+ ctx.Add("{}=textureGrad({},{},vec3({}.xz, {}.x),vec3({}.yw, {}.y));", texel, texture,
+ coords, derivatives_vec, offset_vec, derivatives_vec, offset_vec);
+ return;
+ }
ctx.Add("{}=textureGrad({},{},vec2({}.xz),vec2({}.yz));", texel, texture, coords,
derivatives_vec, derivatives_vec);
} else {
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp
index 7d901c04b..8decdf399 100644
--- a/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp
+++ b/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp
@@ -91,6 +91,34 @@ public:
}
}
+ explicit ImageOperands(EmitContext& ctx, bool has_lod_clamp, Id derivates_1, Id derivates_2,
+ Id offset, Id lod_clamp) {
+ if (!Sirit::ValidId(derivates_1) || !Sirit::ValidId(derivates_2)) {
+ throw LogicError("Derivates must be present");
+ }
+ boost::container::static_vector<Id, 3> deriv_1_accum{
+ ctx.OpCompositeExtract(ctx.F32[1], derivates_1, 0),
+ ctx.OpCompositeExtract(ctx.F32[1], derivates_1, 2),
+ ctx.OpCompositeExtract(ctx.F32[1], derivates_2, 0),
+ };
+ boost::container::static_vector<Id, 3> deriv_2_accum{
+ ctx.OpCompositeExtract(ctx.F32[1], derivates_1, 1),
+ ctx.OpCompositeExtract(ctx.F32[1], derivates_1, 3),
+ ctx.OpCompositeExtract(ctx.F32[1], derivates_2, 1),
+ };
+ const Id derivates_id1{ctx.OpCompositeConstruct(
+ ctx.F32[3], std::span{deriv_1_accum.data(), deriv_1_accum.size()})};
+ const Id derivates_id2{ctx.OpCompositeConstruct(
+ ctx.F32[3], std::span{deriv_2_accum.data(), deriv_2_accum.size()})};
+ Add(spv::ImageOperandsMask::Grad, derivates_id1, derivates_id2);
+ if (Sirit::ValidId(offset)) {
+ Add(spv::ImageOperandsMask::Offset, offset);
+ }
+ if (has_lod_clamp) {
+ Add(spv::ImageOperandsMask::MinLod, lod_clamp);
+ }
+ }
+
std::span<const Id> Span() const noexcept {
return std::span{operands.data(), operands.size()};
}
@@ -176,9 +204,7 @@ Id TextureImage(EmitContext& ctx, IR::TextureInstInfo info, const IR::Value& ind
if (def.count > 1) {
throw NotImplementedException("Indirect texture sample");
}
- const Id sampler_id{def.id};
- const Id id{ctx.OpLoad(ctx.sampled_texture_buffer_type, sampler_id)};
- return ctx.OpImage(ctx.image_buffer_type, id);
+ return ctx.OpLoad(ctx.image_buffer_type, def.id);
} else {
const TextureDefinition& def{ctx.textures.at(info.descriptor_index)};
if (def.count > 1) {
@@ -524,8 +550,11 @@ Id EmitImageQueryLod(EmitContext& ctx, IR::Inst* inst, const IR::Value& index, I
Id EmitImageGradient(EmitContext& ctx, IR::Inst* inst, const IR::Value& index, Id coords,
Id derivates, Id offset, Id lod_clamp) {
const auto info{inst->Flags<IR::TextureInstInfo>()};
- const ImageOperands operands(ctx, info.has_lod_clamp != 0, derivates, info.num_derivates,
- offset, lod_clamp);
+ const auto operands =
+ info.num_derivates == 3
+ ? ImageOperands(ctx, info.has_lod_clamp != 0, derivates, offset, {}, lod_clamp)
+ : ImageOperands(ctx, info.has_lod_clamp != 0, derivates, info.num_derivates, offset,
+ lod_clamp);
return Emit(&EmitContext::OpImageSparseSampleExplicitLod,
&EmitContext::OpImageSampleExplicitLod, ctx, inst, ctx.F32[4],
Texture(ctx, info, index), coords, operands.Mask(), operands.Span());
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_image_atomic.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_image_atomic.cpp
index 2a12feddc..dde0f6e9c 100644
--- a/src/shader_recompiler/backend/spirv/emit_spirv_image_atomic.cpp
+++ b/src/shader_recompiler/backend/spirv/emit_spirv_image_atomic.cpp
@@ -7,15 +7,12 @@
namespace Shader::Backend::SPIRV {
namespace {
-Id Image(EmitContext& ctx, const IR::Value& index, IR::TextureInstInfo info) {
- if (!index.IsImmediate()) {
- throw NotImplementedException("Indirect image indexing");
- }
+Id Image(EmitContext& ctx, IR::TextureInstInfo info) {
if (info.type == TextureType::Buffer) {
- const ImageBufferDefinition def{ctx.image_buffers.at(index.U32())};
+ const ImageBufferDefinition def{ctx.image_buffers.at(info.descriptor_index)};
return def.id;
} else {
- const ImageDefinition def{ctx.images.at(index.U32())};
+ const ImageDefinition def{ctx.images.at(info.descriptor_index)};
return def.id;
}
}
@@ -28,8 +25,12 @@ std::pair<Id, Id> AtomicArgs(EmitContext& ctx) {
Id ImageAtomicU32(EmitContext& ctx, IR::Inst* inst, const IR::Value& index, Id coords, Id value,
Id (Sirit::Module::*atomic_func)(Id, Id, Id, Id, Id)) {
+ if (!index.IsImmediate() || index.U32() != 0) {
+ // TODO: handle layers
+ throw NotImplementedException("Image indexing");
+ }
const auto info{inst->Flags<IR::TextureInstInfo>()};
- const Id image{Image(ctx, index, info)};
+ const Id image{Image(ctx, info)};
const Id pointer{ctx.OpImageTexelPointer(ctx.image_u32, image, coords, ctx.Const(0U))};
const auto [scope, semantics]{AtomicArgs(ctx)};
return (ctx.*atomic_func)(ctx.U32[1], pointer, scope, semantics, value);
diff --git a/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp b/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
index bec5db173..57df6fc34 100644
--- a/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
+++ b/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp
@@ -1242,9 +1242,8 @@ void EmitContext::DefineTextureBuffers(const Info& info, u32& binding) {
}
const spv::ImageFormat format{spv::ImageFormat::Unknown};
image_buffer_type = TypeImage(F32[1], spv::Dim::Buffer, 0U, false, false, 1, format);
- sampled_texture_buffer_type = TypeSampledImage(image_buffer_type);
- const Id type{TypePointer(spv::StorageClass::UniformConstant, sampled_texture_buffer_type)};
+ const Id type{TypePointer(spv::StorageClass::UniformConstant, image_buffer_type)};
texture_buffers.reserve(info.texture_buffer_descriptors.size());
for (const TextureBufferDescriptor& desc : info.texture_buffer_descriptors) {
if (desc.count != 1) {
diff --git a/src/shader_recompiler/backend/spirv/spirv_emit_context.h b/src/shader_recompiler/backend/spirv/spirv_emit_context.h
index e63330f11..7c49fd504 100644
--- a/src/shader_recompiler/backend/spirv/spirv_emit_context.h
+++ b/src/shader_recompiler/backend/spirv/spirv_emit_context.h
@@ -206,7 +206,6 @@ public:
Id output_u32{};
Id image_buffer_type{};
- Id sampled_texture_buffer_type{};
Id image_u32{};
std::array<UniformDefinitions, Info::MAX_CBUFS> cbufs{};
diff --git a/src/shader_recompiler/environment.h b/src/shader_recompiler/environment.h
index 26e8307c1..15285ab0a 100644
--- a/src/shader_recompiler/environment.h
+++ b/src/shader_recompiler/environment.h
@@ -39,7 +39,7 @@ public:
[[nodiscard]] virtual std::optional<ReplaceConstant> GetReplaceConstBuffer(u32 bank,
u32 offset) = 0;
- virtual void Dump(u64 hash) = 0;
+ virtual void Dump(u64 pipeline_hash, u64 shader_hash) = 0;
[[nodiscard]] const ProgramHeader& SPH() const noexcept {
return sph;
diff --git a/src/shader_recompiler/frontend/ir/modifiers.h b/src/shader_recompiler/frontend/ir/modifiers.h
index 69035d462..1e9e8c8f5 100644
--- a/src/shader_recompiler/frontend/ir/modifiers.h
+++ b/src/shader_recompiler/frontend/ir/modifiers.h
@@ -42,6 +42,7 @@ union TextureInstInfo {
BitField<23, 2, u32> gather_component;
BitField<25, 2, u32> num_derivates;
BitField<27, 3, ImageFormat> image_format;
+ BitField<30, 1, u32> ndv_is_active;
};
static_assert(sizeof(TextureInstInfo) <= sizeof(u32));
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_swizzled_add.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_swizzled_add.cpp
index ef4ffa54b..f00e20023 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_swizzled_add.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_swizzled_add.cpp
@@ -19,7 +19,7 @@ void TranslatorVisitor::FSWZADD(u64 insn) {
} const fswzadd{insn};
if (fswzadd.ndv != 0) {
- throw NotImplementedException("FSWZADD NDV");
+ LOG_WARNING(Shader, "(STUBBED) FSWZADD - NDV mode");
}
const IR::F32 src_a{GetFloatReg8(insn)};
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp
index 82aec3b73..1ddfeab06 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp
@@ -16,8 +16,10 @@ void MOV(TranslatorVisitor& v, u64 insn, const IR::U32& src, bool is_mov32i = fa
BitField<12, 4, u64> mov32i_mask;
} const mov{insn};
- if ((is_mov32i ? mov.mov32i_mask : mov.mask) != 0xf) {
- throw NotImplementedException("Non-full move mask");
+ u64 mask = is_mov32i ? mov.mov32i_mask : mov.mask;
+ if (mask != 0xf && mask != 0x1) {
+ LOG_WARNING(Shader, "(STUBBED) Masked Mov");
+ return;
}
v.X(mov.dest_reg, src);
}
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp
index 753c62098..e593132e6 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp
@@ -161,7 +161,8 @@ enum class SpecialRegister : u64 {
LOG_WARNING(Shader, "(STUBBED) SR_AFFINITY");
return ir.Imm32(0); // This is the default value hardware returns.
default:
- throw NotImplementedException("S2R special register {}", special_register);
+ LOG_CRITICAL(Shader, "(STUBBED) Special register {}", special_register);
+ return ir.Imm32(0); // This is the default value hardware returns.
}
}
} // Anonymous namespace
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/not_implemented.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/not_implemented.cpp
index 2f930f1ea..6203003b3 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/not_implemented.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/not_implemented.cpp
@@ -209,7 +209,7 @@ void TranslatorVisitor::R2B(u64) {
}
void TranslatorVisitor::RAM(u64) {
- ThrowNotImplemented(Opcode::RAM);
+ LOG_WARNING(Shader, "(STUBBED) RAM Instruction");
}
void TranslatorVisitor::RET(u64) {
@@ -221,7 +221,7 @@ void TranslatorVisitor::RTT(u64) {
}
void TranslatorVisitor::SAM(u64) {
- ThrowNotImplemented(Opcode::SAM);
+ LOG_WARNING(Shader, "(STUBBED) SAM Instruction");
}
void TranslatorVisitor::SETCRSPTR(u64) {
diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch.cpp
index 2459fc30d..7a9b7fff8 100644
--- a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch.cpp
+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch.cpp
@@ -172,6 +172,7 @@ void Impl(TranslatorVisitor& v, u64 insn, bool aoffi, Blod blod, bool lc,
info.is_depth.Assign(tex.dc != 0 ? 1 : 0);
info.has_bias.Assign(blod == Blod::LB || blod == Blod::LBA ? 1 : 0);
info.has_lod_clamp.Assign(lc ? 1 : 0);
+ info.ndv_is_active.Assign(tex.ndv != 0 ? 1 : 0);
const IR::Value sample{[&]() -> IR::Value {
if (tex.dc == 0) {
diff --git a/src/shader_recompiler/ir_opt/constant_propagation_pass.cpp b/src/shader_recompiler/ir_opt/constant_propagation_pass.cpp
index 4d81e9336..f46e55122 100644
--- a/src/shader_recompiler/ir_opt/constant_propagation_pass.cpp
+++ b/src/shader_recompiler/ir_opt/constant_propagation_pass.cpp
@@ -10,6 +10,7 @@
#include "shader_recompiler/environment.h"
#include "shader_recompiler/exception.h"
#include "shader_recompiler/frontend/ir/ir_emitter.h"
+#include "shader_recompiler/frontend/ir/modifiers.h"
#include "shader_recompiler/frontend/ir/value.h"
#include "shader_recompiler/ir_opt/passes.h"
@@ -410,7 +411,49 @@ void FoldSelect(IR::Inst& inst) {
}
}
+void FoldFPAdd32(IR::Inst& inst) {
+ if (FoldWhenAllImmediates(inst, [](f32 a, f32 b) { return a + b; })) {
+ return;
+ }
+ const IR::Value lhs_value{inst.Arg(0)};
+ const IR::Value rhs_value{inst.Arg(1)};
+ const auto check_neutral = [](const IR::Value& one_operand) {
+ return one_operand.IsImmediate() && std::abs(one_operand.F32()) == 0.0f;
+ };
+ if (check_neutral(lhs_value)) {
+ inst.ReplaceUsesWith(rhs_value);
+ }
+ if (check_neutral(rhs_value)) {
+ inst.ReplaceUsesWith(lhs_value);
+ }
+}
+
+bool FoldDerivateYFromCorrection(IR::Inst& inst) {
+ const IR::Value lhs_value{inst.Arg(0)};
+ const IR::Value rhs_value{inst.Arg(1)};
+ IR::Inst* const lhs_op{lhs_value.InstRecursive()};
+ IR::Inst* const rhs_op{rhs_value.InstRecursive()};
+ if (lhs_op->GetOpcode() == IR::Opcode::YDirection) {
+ if (rhs_op->GetOpcode() != IR::Opcode::DPdyFine) {
+ return false;
+ }
+ inst.ReplaceUsesWith(rhs_value);
+ return true;
+ }
+ if (rhs_op->GetOpcode() != IR::Opcode::YDirection) {
+ return false;
+ }
+ if (lhs_op->GetOpcode() != IR::Opcode::DPdyFine) {
+ return false;
+ }
+ inst.ReplaceUsesWith(lhs_value);
+ return true;
+}
+
void FoldFPMul32(IR::Inst& inst) {
+ if (FoldWhenAllImmediates(inst, [](f32 a, f32 b) { return a * b; })) {
+ return;
+ }
const auto control{inst.Flags<IR::FpControl>()};
if (control.no_contraction) {
return;
@@ -421,6 +464,9 @@ void FoldFPMul32(IR::Inst& inst) {
if (lhs_value.IsImmediate() || rhs_value.IsImmediate()) {
return;
}
+ if (FoldDerivateYFromCorrection(inst)) {
+ return;
+ }
IR::Inst* const lhs_op{lhs_value.InstRecursive()};
IR::Inst* const rhs_op{rhs_value.InstRecursive()};
if (lhs_op->GetOpcode() != IR::Opcode::FPMul32 ||
@@ -622,7 +668,12 @@ void FoldFSwizzleAdd(IR::Block& block, IR::Inst& inst) {
}
const IR::Value value_3{GetThroughCast(inst2->Arg(0).Resolve(), IR::Opcode::BitCastU32F32)};
if (value_2 != value_3) {
- return;
+ if (!value_2.IsImmediate() || !value_3.IsImmediate()) {
+ return;
+ }
+ if (Common::BitCast<u32>(value_2.F32()) != value_3.U32()) {
+ return;
+ }
}
const IR::Value index{inst2->Arg(1)};
const IR::Value clamp{inst2->Arg(2)};
@@ -648,6 +699,169 @@ void FoldFSwizzleAdd(IR::Block& block, IR::Inst& inst) {
}
}
+bool FindGradient3DDerivates(std::array<IR::Value, 3>& results, IR::Value coord) {
+ if (coord.IsImmediate()) {
+ return false;
+ }
+ const auto check_through_shuffle = [](IR::Value input, IR::Value& result) {
+ const IR::Value value_1{GetThroughCast(input.Resolve(), IR::Opcode::BitCastF32U32)};
+ IR::Inst* const inst2{value_1.InstRecursive()};
+ if (inst2->GetOpcode() != IR::Opcode::ShuffleIndex) {
+ return false;
+ }
+ const IR::Value index{inst2->Arg(1).Resolve()};
+ const IR::Value clamp{inst2->Arg(2).Resolve()};
+ const IR::Value segmentation_mask{inst2->Arg(3).Resolve()};
+ if (!index.IsImmediate() || !clamp.IsImmediate() || !segmentation_mask.IsImmediate()) {
+ return false;
+ }
+ if (index.U32() != 3 && clamp.U32() != 3) {
+ return false;
+ }
+ result = GetThroughCast(inst2->Arg(0).Resolve(), IR::Opcode::BitCastU32F32);
+ return true;
+ };
+ IR::Inst* const inst = coord.InstRecursive();
+ if (inst->GetOpcode() != IR::Opcode::FSwizzleAdd) {
+ return false;
+ }
+ std::array<IR::Value, 3> temporary_values;
+ IR::Value value_1 = inst->Arg(0).Resolve();
+ IR::Value value_2 = inst->Arg(1).Resolve();
+ IR::Value value_3 = inst->Arg(2).Resolve();
+ std::array<u32, 4> swizzles_mask_a{};
+ std::array<u32, 4> swizzles_mask_b{};
+ const auto resolve_mask = [](std::array<u32, 4>& mask_results, IR::Value mask) {
+ u32 value = mask.U32();
+ for (size_t i = 0; i < 4; i++) {
+ mask_results[i] = (value >> (i * 2)) & 0x3;
+ }
+ };
+ resolve_mask(swizzles_mask_a, value_3);
+ size_t coordinate_index = 0;
+ const auto resolve_pending = [&](IR::Value resolve_v) {
+ IR::Inst* const inst_r = resolve_v.InstRecursive();
+ if (inst_r->GetOpcode() != IR::Opcode::FSwizzleAdd) {
+ return false;
+ }
+ if (!check_through_shuffle(inst_r->Arg(0).Resolve(), temporary_values[1])) {
+ return false;
+ }
+ if (!check_through_shuffle(inst_r->Arg(1).Resolve(), temporary_values[2])) {
+ return false;
+ }
+ resolve_mask(swizzles_mask_b, inst_r->Arg(2).Resolve());
+ return true;
+ };
+ if (value_1.IsImmediate() || value_2.IsImmediate()) {
+ return false;
+ }
+ bool should_continue = false;
+ if (resolve_pending(value_1)) {
+ should_continue = check_through_shuffle(value_2, temporary_values[0]);
+ coordinate_index = 0;
+ }
+ if (resolve_pending(value_2)) {
+ should_continue = check_through_shuffle(value_1, temporary_values[0]);
+ coordinate_index = 2;
+ }
+ if (!should_continue) {
+ return false;
+ }
+ // figure which is which
+ size_t zero_mask_a = 0;
+ size_t zero_mask_b = 0;
+ for (size_t i = 0; i < 4; i++) {
+ if (swizzles_mask_a[i] == 2 || swizzles_mask_b[i] == 2) {
+ // last operand can be inversed, we cannot determine a result.
+ return false;
+ }
+ zero_mask_a |= static_cast<size_t>(swizzles_mask_a[i] == 3 ? 1 : 0) << i;
+ zero_mask_b |= static_cast<size_t>(swizzles_mask_b[i] == 3 ? 1 : 0) << i;
+ }
+ static constexpr size_t ddx_pattern = 0b1010;
+ static constexpr size_t ddx_pattern_inv = ~ddx_pattern & 0b00001111;
+ if (std::popcount(zero_mask_a) != 2) {
+ return false;
+ }
+ if (std::popcount(zero_mask_b) != 2) {
+ return false;
+ }
+ if (zero_mask_a == zero_mask_b) {
+ return false;
+ }
+ results[0] = temporary_values[coordinate_index];
+
+ if (coordinate_index == 0) {
+ if (zero_mask_b == ddx_pattern || zero_mask_b == ddx_pattern_inv) {
+ results[1] = temporary_values[1];
+ results[2] = temporary_values[2];
+ return true;
+ }
+ results[2] = temporary_values[1];
+ results[1] = temporary_values[2];
+ } else {
+ const auto assign_result = [&results](IR::Value temporary_value, size_t mask) {
+ if (mask == ddx_pattern || mask == ddx_pattern_inv) {
+ results[1] = temporary_value;
+ return;
+ }
+ results[2] = temporary_value;
+ };
+ assign_result(temporary_values[1], zero_mask_b);
+ assign_result(temporary_values[0], zero_mask_a);
+ }
+
+ return true;
+}
+
+void FoldImageSampleImplicitLod(IR::Block& block, IR::Inst& inst) {
+ IR::TextureInstInfo info = inst.Flags<IR::TextureInstInfo>();
+ auto orig_opcode = inst.GetOpcode();
+ if (info.ndv_is_active == 0) {
+ return;
+ }
+ if (info.type != TextureType::Color3D) {
+ return;
+ }
+ const IR::Value handle{inst.Arg(0)};
+ const IR::Value coords{inst.Arg(1)};
+ const IR::Value bias_lc{inst.Arg(2)};
+ const IR::Value offset{inst.Arg(3)};
+ if (!offset.IsImmediate()) {
+ return;
+ }
+ IR::Inst* const inst2 = coords.InstRecursive();
+ std::array<std::array<IR::Value, 3>, 3> results_matrix;
+ for (size_t i = 0; i < 3; i++) {
+ if (!FindGradient3DDerivates(results_matrix[i], inst2->Arg(i).Resolve())) {
+ return;
+ }
+ }
+ IR::F32 lod_clamp{};
+ if (info.has_lod_clamp != 0) {
+ if (!bias_lc.IsImmediate()) {
+ lod_clamp = IR::F32{bias_lc.InstRecursive()->Arg(1).Resolve()};
+ } else {
+ lod_clamp = IR::F32{bias_lc};
+ }
+ }
+ IR::IREmitter ir{block, IR::Block::InstructionList::s_iterator_to(inst)};
+ IR::Value new_coords =
+ ir.CompositeConstruct(results_matrix[0][0], results_matrix[1][0], results_matrix[2][0]);
+ IR::Value derivatives_1 = ir.CompositeConstruct(results_matrix[0][1], results_matrix[0][2],
+ results_matrix[1][1], results_matrix[1][2]);
+ IR::Value derivatives_2 = ir.CompositeConstruct(results_matrix[2][1], results_matrix[2][2]);
+ info.num_derivates.Assign(3);
+ IR::Value new_gradient_instruction =
+ ir.ImageGradient(handle, new_coords, derivatives_1, derivatives_2, lod_clamp, info);
+ IR::Inst* const new_inst = new_gradient_instruction.InstRecursive();
+ if (orig_opcode == IR::Opcode::ImageSampleImplicitLod) {
+ new_inst->ReplaceOpcode(IR::Opcode::ImageGradient);
+ }
+ inst.ReplaceUsesWith(new_gradient_instruction);
+}
+
void FoldConstBuffer(Environment& env, IR::Block& block, IR::Inst& inst) {
const IR::Value bank{inst.Arg(0)};
const IR::Value offset{inst.Arg(1)};
@@ -743,6 +957,12 @@ void ConstantPropagation(Environment& env, IR::Block& block, IR::Inst& inst) {
case IR::Opcode::SelectF32:
case IR::Opcode::SelectF64:
return FoldSelect(inst);
+ case IR::Opcode::FPNeg32:
+ FoldWhenAllImmediates(inst, [](f32 a) { return -a; });
+ return;
+ case IR::Opcode::FPAdd32:
+ FoldFPAdd32(inst);
+ return;
case IR::Opcode::FPMul32:
return FoldFPMul32(inst);
case IR::Opcode::LogicalAnd:
@@ -858,6 +1078,11 @@ void ConstantPropagation(Environment& env, IR::Block& block, IR::Inst& inst) {
FoldDriverConstBuffer(env, block, inst, 1);
}
break;
+ case IR::Opcode::BindlessImageSampleImplicitLod:
+ case IR::Opcode::BoundImageSampleImplicitLod:
+ case IR::Opcode::ImageSampleImplicitLod:
+ FoldImageSampleImplicitLod(block, inst);
+ break;
default:
break;
}
diff --git a/src/tests/common/ring_buffer.cpp b/src/tests/common/ring_buffer.cpp
index e85f9977b..b6e3bc875 100644
--- a/src/tests/common/ring_buffer.cpp
+++ b/src/tests/common/ring_buffer.cpp
@@ -55,7 +55,7 @@ TEST_CASE("RingBuffer: Basic Tests", "[common]") {
// Pushing more values than space available should partially succeed.
{
std::vector<char> to_push(6);
- std::iota(to_push.begin(), to_push.end(), 88);
+ std::iota(to_push.begin(), to_push.end(), static_cast<char>(88));
const std::size_t count = buf.Push(to_push);
REQUIRE(count == 3U);
}
diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txt
index 7f79111e0..cf9266d54 100644
--- a/src/video_core/CMakeLists.txt
+++ b/src/video_core/CMakeLists.txt
@@ -95,6 +95,12 @@ add_library(video_core STATIC
memory_manager.h
precompiled_headers.h
pte_kind.h
+ query_cache/bank_base.h
+ query_cache/query_base.h
+ query_cache/query_cache_base.h
+ query_cache/query_cache.h
+ query_cache/query_stream.h
+ query_cache/types.h
query_cache.h
rasterizer_accelerated.cpp
rasterizer_accelerated.h
@@ -275,6 +281,8 @@ add_library(video_core STATIC
vulkan_common/nsight_aftermath_tracker.cpp
vulkan_common/nsight_aftermath_tracker.h
vulkan_common/vma.cpp
+ vulkan_common/vma.h
+ vulkan_common/vulkan.h
)
create_target_directory_groups(video_core)
diff --git a/src/video_core/buffer_cache/buffer_cache.h b/src/video_core/buffer_cache/buffer_cache.h
index f0f450edb..9e90c587c 100644
--- a/src/video_core/buffer_cache/buffer_cache.h
+++ b/src/video_core/buffer_cache/buffer_cache.h
@@ -272,13 +272,19 @@ std::pair<typename P::Buffer*, u32> BufferCache<P>::ObtainBuffer(GPUVAddr gpu_ad
if (!cpu_addr) {
return {&slot_buffers[NULL_BUFFER_ID], 0};
}
- const BufferId buffer_id = FindBuffer(*cpu_addr, size);
+ return ObtainCPUBuffer(*cpu_addr, size, sync_info, post_op);
+}
+
+template <class P>
+std::pair<typename P::Buffer*, u32> BufferCache<P>::ObtainCPUBuffer(
+ VAddr cpu_addr, u32 size, ObtainBufferSynchronize sync_info, ObtainBufferOperation post_op) {
+ const BufferId buffer_id = FindBuffer(cpu_addr, size);
Buffer& buffer = slot_buffers[buffer_id];
// synchronize op
switch (sync_info) {
case ObtainBufferSynchronize::FullSynchronize:
- SynchronizeBuffer(buffer, *cpu_addr, size);
+ SynchronizeBuffer(buffer, cpu_addr, size);
break;
default:
break;
@@ -286,18 +292,21 @@ std::pair<typename P::Buffer*, u32> BufferCache<P>::ObtainBuffer(GPUVAddr gpu_ad
switch (post_op) {
case ObtainBufferOperation::MarkAsWritten:
- MarkWrittenBuffer(buffer_id, *cpu_addr, size);
+ MarkWrittenBuffer(buffer_id, cpu_addr, size);
break;
case ObtainBufferOperation::DiscardWrite: {
- IntervalType interval{*cpu_addr, size};
+ VAddr cpu_addr_start = Common::AlignDown(cpu_addr, 64);
+ VAddr cpu_addr_end = Common::AlignUp(cpu_addr + size, 64);
+ IntervalType interval{cpu_addr_start, cpu_addr_end};
ClearDownload(interval);
+ common_ranges.subtract(interval);
break;
}
default:
break;
}
- return {&buffer, buffer.Offset(*cpu_addr)};
+ return {&buffer, buffer.Offset(cpu_addr)};
}
template <class P>
@@ -1159,6 +1168,11 @@ void BufferCache<P>::UpdateDrawIndirect() {
.size = static_cast<u32>(size),
.buffer_id = FindBuffer(*cpu_addr, static_cast<u32>(size)),
};
+ VAddr cpu_addr_start = Common::AlignDown(*cpu_addr, 64);
+ VAddr cpu_addr_end = Common::AlignUp(*cpu_addr + size, 64);
+ IntervalType interval{cpu_addr_start, cpu_addr_end};
+ ClearDownload(interval);
+ common_ranges.subtract(interval);
};
if (current_draw_indirect->include_count) {
update(current_draw_indirect->count_start_address, sizeof(u32),
diff --git a/src/video_core/buffer_cache/buffer_cache_base.h b/src/video_core/buffer_cache/buffer_cache_base.h
index 0b7135d49..c4f6e8d12 100644
--- a/src/video_core/buffer_cache/buffer_cache_base.h
+++ b/src/video_core/buffer_cache/buffer_cache_base.h
@@ -295,6 +295,10 @@ public:
[[nodiscard]] std::pair<Buffer*, u32> ObtainBuffer(GPUVAddr gpu_addr, u32 size,
ObtainBufferSynchronize sync_info,
ObtainBufferOperation post_op);
+
+ [[nodiscard]] std::pair<Buffer*, u32> ObtainCPUBuffer(VAddr gpu_addr, u32 size,
+ ObtainBufferSynchronize sync_info,
+ ObtainBufferOperation post_op);
void FlushCachedWrites();
/// Return true when there are uncommitted buffers to be downloaded
@@ -335,6 +339,14 @@ public:
[[nodiscard]] std::pair<Buffer*, u32> GetDrawIndirectBuffer();
+ template <typename Func>
+ void BufferOperations(Func&& func) {
+ do {
+ channel_state->has_deleted_buffers = false;
+ func();
+ } while (channel_state->has_deleted_buffers);
+ }
+
std::recursive_mutex mutex;
Runtime& runtime;
diff --git a/src/video_core/control/channel_state_cache.h b/src/video_core/control/channel_state_cache.h
index 46bc9e322..5574e1fba 100644
--- a/src/video_core/control/channel_state_cache.h
+++ b/src/video_core/control/channel_state_cache.h
@@ -51,7 +51,7 @@ public:
virtual void CreateChannel(Tegra::Control::ChannelState& channel);
/// Bind a channel for execution.
- void BindToChannel(s32 id);
+ virtual void BindToChannel(s32 id);
/// Erase channel's state.
void EraseChannel(s32 id);
diff --git a/src/video_core/dma_pusher.cpp b/src/video_core/dma_pusher.cpp
index 9f1b340a9..58ce0d8c2 100644
--- a/src/video_core/dma_pusher.cpp
+++ b/src/video_core/dma_pusher.cpp
@@ -14,6 +14,7 @@
namespace Tegra {
constexpr u32 MacroRegistersStart = 0xE00;
+constexpr u32 ComputeInline = 0x6D;
DmaPusher::DmaPusher(Core::System& system_, GPU& gpu_, MemoryManager& memory_manager_,
Control::ChannelState& channel_state_)
@@ -83,12 +84,35 @@ bool DmaPusher::Step() {
dma_state.dma_get, command_list_header.size * sizeof(u32));
}
}
- Core::Memory::GpuGuestMemory<Tegra::CommandHeader,
- Core::Memory::GuestMemoryFlags::UnsafeRead>
- headers(memory_manager, dma_state.dma_get, command_list_header.size, &command_headers);
- ProcessCommands(headers);
+ const auto safe_process = [&] {
+ Core::Memory::GpuGuestMemory<Tegra::CommandHeader,
+ Core::Memory::GuestMemoryFlags::SafeRead>
+ headers(memory_manager, dma_state.dma_get, command_list_header.size,
+ &command_headers);
+ ProcessCommands(headers);
+ };
+ const auto unsafe_process = [&] {
+ Core::Memory::GpuGuestMemory<Tegra::CommandHeader,
+ Core::Memory::GuestMemoryFlags::UnsafeRead>
+ headers(memory_manager, dma_state.dma_get, command_list_header.size,
+ &command_headers);
+ ProcessCommands(headers);
+ };
+ if (Settings::IsGPULevelHigh()) {
+ if (dma_state.method >= MacroRegistersStart) {
+ unsafe_process();
+ return true;
+ }
+ if (subchannel_type[dma_state.subchannel] == Engines::EngineTypes::KeplerCompute &&
+ dma_state.method == ComputeInline) {
+ unsafe_process();
+ return true;
+ }
+ safe_process();
+ return true;
+ }
+ unsafe_process();
}
-
return true;
}
diff --git a/src/video_core/dma_pusher.h b/src/video_core/dma_pusher.h
index 8a2784cdc..e46a8fa5c 100644
--- a/src/video_core/dma_pusher.h
+++ b/src/video_core/dma_pusher.h
@@ -130,8 +130,10 @@ public:
void DispatchCalls();
- void BindSubchannel(Engines::EngineInterface* engine, u32 subchannel_id) {
+ void BindSubchannel(Engines::EngineInterface* engine, u32 subchannel_id,
+ Engines::EngineTypes engine_type) {
subchannels[subchannel_id] = engine;
+ subchannel_type[subchannel_id] = engine_type;
}
void BindRasterizer(VideoCore::RasterizerInterface* rasterizer);
@@ -159,7 +161,7 @@ private:
u32 method_count; ///< Current method count
u32 length_pending; ///< Large NI command length pending
GPUVAddr dma_get; ///< Currently read segment
- u64 dma_word_offset; ///< Current word ofset from address
+ u64 dma_word_offset; ///< Current word offset from address
bool non_incrementing; ///< Current command's NI flag
bool is_last_call;
};
@@ -170,6 +172,7 @@ private:
const bool ib_enable{true}; ///< IB mode enabled
std::array<Engines::EngineInterface*, max_subchannels> subchannels{};
+ std::array<Engines::EngineTypes, max_subchannels> subchannel_type;
GPU& gpu;
Core::System& system;
diff --git a/src/video_core/engines/draw_manager.h b/src/video_core/engines/draw_manager.h
index 7c22c49f1..18d959143 100644
--- a/src/video_core/engines/draw_manager.h
+++ b/src/video_core/engines/draw_manager.h
@@ -46,6 +46,7 @@ public:
};
struct IndirectParams {
+ bool is_byte_count;
bool is_indexed;
bool include_count;
GPUVAddr count_start_address;
diff --git a/src/video_core/engines/engine_interface.h b/src/video_core/engines/engine_interface.h
index 392322358..54631ee6c 100644
--- a/src/video_core/engines/engine_interface.h
+++ b/src/video_core/engines/engine_interface.h
@@ -11,6 +11,14 @@
namespace Tegra::Engines {
+enum class EngineTypes : u32 {
+ KeplerCompute,
+ Maxwell3D,
+ Fermi2D,
+ MaxwellDMA,
+ KeplerMemory,
+};
+
class EngineInterface {
public:
virtual ~EngineInterface() = default;
diff --git a/src/video_core/engines/engine_upload.h b/src/video_core/engines/engine_upload.h
index 7242d2529..21bf8aeb4 100644
--- a/src/video_core/engines/engine_upload.h
+++ b/src/video_core/engines/engine_upload.h
@@ -69,6 +69,14 @@ public:
/// Binds a rasterizer to this engine.
void BindRasterizer(VideoCore::RasterizerInterface* rasterizer);
+ GPUVAddr ExecTargetAddress() const {
+ return regs.dest.Address();
+ }
+
+ u32 GetUploadSize() const {
+ return copy_size;
+ }
+
private:
void ProcessData(std::span<const u8> read_buffer);
diff --git a/src/video_core/engines/kepler_compute.cpp b/src/video_core/engines/kepler_compute.cpp
index a38d9528a..cd61ab222 100644
--- a/src/video_core/engines/kepler_compute.cpp
+++ b/src/video_core/engines/kepler_compute.cpp
@@ -43,16 +43,33 @@ void KeplerCompute::CallMethod(u32 method, u32 method_argument, bool is_last_cal
switch (method) {
case KEPLER_COMPUTE_REG_INDEX(exec_upload): {
+ UploadInfo info{.upload_address = upload_address,
+ .exec_address = upload_state.ExecTargetAddress(),
+ .copy_size = upload_state.GetUploadSize()};
+ uploads.push_back(info);
upload_state.ProcessExec(regs.exec_upload.linear != 0);
break;
}
case KEPLER_COMPUTE_REG_INDEX(data_upload): {
+ upload_address = current_dma_segment;
upload_state.ProcessData(method_argument, is_last_call);
break;
}
- case KEPLER_COMPUTE_REG_INDEX(launch):
+ case KEPLER_COMPUTE_REG_INDEX(launch): {
+ const GPUVAddr launch_desc_loc = regs.launch_desc_loc.Address();
+
+ for (auto& data : uploads) {
+ const GPUVAddr offset = data.exec_address - launch_desc_loc;
+ if (offset / sizeof(u32) == LAUNCH_REG_INDEX(grid_dim_x) &&
+ memory_manager.IsMemoryDirty(data.upload_address, data.copy_size)) {
+ indirect_compute = {data.upload_address};
+ }
+ }
+ uploads.clear();
ProcessLaunch();
+ indirect_compute = std::nullopt;
break;
+ }
default:
break;
}
@@ -62,6 +79,7 @@ void KeplerCompute::CallMultiMethod(u32 method, const u32* base_start, u32 amoun
u32 methods_pending) {
switch (method) {
case KEPLER_COMPUTE_REG_INDEX(data_upload):
+ upload_address = current_dma_segment;
upload_state.ProcessData(base_start, amount);
return;
default:
diff --git a/src/video_core/engines/kepler_compute.h b/src/video_core/engines/kepler_compute.h
index 2092e685f..735e05fb4 100644
--- a/src/video_core/engines/kepler_compute.h
+++ b/src/video_core/engines/kepler_compute.h
@@ -5,6 +5,7 @@
#include <array>
#include <cstddef>
+#include <optional>
#include <vector>
#include "common/bit_field.h"
#include "common/common_funcs.h"
@@ -36,6 +37,9 @@ namespace Tegra::Engines {
#define KEPLER_COMPUTE_REG_INDEX(field_name) \
(offsetof(Tegra::Engines::KeplerCompute::Regs, field_name) / sizeof(u32))
+#define LAUNCH_REG_INDEX(field_name) \
+ (offsetof(Tegra::Engines::KeplerCompute::LaunchParams, field_name) / sizeof(u32))
+
class KeplerCompute final : public EngineInterface {
public:
explicit KeplerCompute(Core::System& system, MemoryManager& memory_manager);
@@ -201,6 +205,10 @@ public:
void CallMultiMethod(u32 method, const u32* base_start, u32 amount,
u32 methods_pending) override;
+ std::optional<GPUVAddr> GetIndirectComputeAddress() const {
+ return indirect_compute;
+ }
+
private:
void ProcessLaunch();
@@ -216,6 +224,15 @@ private:
MemoryManager& memory_manager;
VideoCore::RasterizerInterface* rasterizer = nullptr;
Upload::State upload_state;
+ GPUVAddr upload_address;
+
+ struct UploadInfo {
+ GPUVAddr upload_address;
+ GPUVAddr exec_address;
+ u32 copy_size;
+ };
+ std::vector<UploadInfo> uploads;
+ std::optional<GPUVAddr> indirect_compute{};
};
#define ASSERT_REG_POSITION(field_name, position) \
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index c3696096d..32d767d85 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -20,8 +20,6 @@
namespace Tegra::Engines {
-using VideoCore::QueryType;
-
/// First register id that is actually a Macro call.
constexpr u32 MacroRegistersStart = 0xE00;
@@ -257,6 +255,7 @@ u32 Maxwell3D::GetMaxCurrentVertices() {
const u32 address_size = static_cast<u32>(gpu_addr_end - gpu_addr_begin);
num_vertices = std::max(
num_vertices, address_size / std::max(attribute.SizeInBytes(), array.stride.Value()));
+ break;
}
return num_vertices;
}
@@ -269,10 +268,13 @@ size_t Maxwell3D::EstimateIndexBufferSize() {
std::numeric_limits<u32>::max()};
const size_t byte_size = regs.index_buffer.FormatSizeInBytes();
const size_t log2_byte_size = Common::Log2Ceil64(byte_size);
+ const size_t cap{GetMaxCurrentVertices() * 3 * byte_size};
+ const size_t lower_cap =
+ std::min<size_t>(static_cast<size_t>(end_address - start_address), cap);
return std::min<size_t>(
memory_manager.GetMemoryLayoutSize(start_address, byte_size * max_sizes[log2_byte_size]) /
byte_size,
- static_cast<size_t>(end_address - start_address));
+ lower_cap);
}
u32 Maxwell3D::ProcessShadowRam(u32 method, u32 argument) {
@@ -496,27 +498,21 @@ void Maxwell3D::StampQueryResult(u64 payload, bool long_query) {
}
void Maxwell3D::ProcessQueryGet() {
+ VideoCommon::QueryPropertiesFlags flags{};
+ if (regs.report_semaphore.query.short_query == 0) {
+ flags |= VideoCommon::QueryPropertiesFlags::HasTimeout;
+ }
+ const GPUVAddr sequence_address{regs.report_semaphore.Address()};
+ const VideoCommon::QueryType query_type =
+ static_cast<VideoCommon::QueryType>(regs.report_semaphore.query.report.Value());
+ const u32 payload = regs.report_semaphore.payload;
+ const u32 subreport = regs.report_semaphore.query.sub_report;
switch (regs.report_semaphore.query.operation) {
case Regs::ReportSemaphore::Operation::Release:
if (regs.report_semaphore.query.short_query != 0) {
- const GPUVAddr sequence_address{regs.report_semaphore.Address()};
- const u32 payload = regs.report_semaphore.payload;
- std::function<void()> operation([this, sequence_address, payload] {
- memory_manager.Write<u32>(sequence_address, payload);
- });
- rasterizer->SignalFence(std::move(operation));
- } else {
- struct LongQueryResult {
- u64_le value;
- u64_le timestamp;
- };
- const GPUVAddr sequence_address{regs.report_semaphore.Address()};
- const u32 payload = regs.report_semaphore.payload;
- [this, sequence_address, payload] {
- memory_manager.Write<u64>(sequence_address + sizeof(u64), system.GPU().GetTicks());
- memory_manager.Write<u64>(sequence_address, payload);
- }();
+ flags |= VideoCommon::QueryPropertiesFlags::IsAFence;
}
+ rasterizer->Query(sequence_address, query_type, flags, payload, subreport);
break;
case Regs::ReportSemaphore::Operation::Acquire:
// TODO(Blinkhawk): Under this operation, the GPU waits for the CPU to write a value that
@@ -524,11 +520,7 @@ void Maxwell3D::ProcessQueryGet() {
UNIMPLEMENTED_MSG("Unimplemented query operation ACQUIRE");
break;
case Regs::ReportSemaphore::Operation::ReportOnly:
- if (const std::optional<u64> result = GetQueryResult()) {
- // If the query returns an empty optional it means it's cached and deferred.
- // In this case we have a non-empty result, so we stamp it immediately.
- StampQueryResult(*result, regs.report_semaphore.query.short_query == 0);
- }
+ rasterizer->Query(sequence_address, query_type, flags, payload, subreport);
break;
case Regs::ReportSemaphore::Operation::Trap:
UNIMPLEMENTED_MSG("Unimplemented query operation TRAP");
@@ -540,6 +532,10 @@ void Maxwell3D::ProcessQueryGet() {
}
void Maxwell3D::ProcessQueryCondition() {
+ if (rasterizer->AccelerateConditionalRendering()) {
+ execute_on = true;
+ return;
+ }
const GPUVAddr condition_address{regs.render_enable.Address()};
switch (regs.render_enable_override) {
case Regs::RenderEnable::Override::AlwaysRender:
@@ -549,10 +545,6 @@ void Maxwell3D::ProcessQueryCondition() {
execute_on = false;
break;
case Regs::RenderEnable::Override::UseRenderEnable: {
- if (rasterizer->AccelerateConditionalRendering()) {
- execute_on = true;
- return;
- }
switch (regs.render_enable.mode) {
case Regs::RenderEnable::Mode::True: {
execute_on = true;
@@ -594,15 +586,9 @@ void Maxwell3D::ProcessQueryCondition() {
}
void Maxwell3D::ProcessCounterReset() {
-#if ANDROID
- if (!Settings::IsGPULevelHigh()) {
- // This is problematic on Android, disable on GPU Normal.
- return;
- }
-#endif
switch (regs.clear_report_value) {
case Regs::ClearReport::ZPassPixelCount:
- rasterizer->ResetCounter(QueryType::SamplesPassed);
+ rasterizer->ResetCounter(VideoCommon::QueryType::ZPassPixelCount64);
break;
default:
LOG_DEBUG(Render_OpenGL, "Unimplemented counter reset={}", regs.clear_report_value);
@@ -616,28 +602,6 @@ void Maxwell3D::ProcessSyncPoint() {
rasterizer->SignalSyncPoint(sync_point);
}
-std::optional<u64> Maxwell3D::GetQueryResult() {
- switch (regs.report_semaphore.query.report) {
- case Regs::ReportSemaphore::Report::Payload:
- return regs.report_semaphore.payload;
- case Regs::ReportSemaphore::Report::ZPassPixelCount64:
-#if ANDROID
- if (!Settings::IsGPULevelHigh()) {
- // This is problematic on Android, disable on GPU Normal.
- return 120;
- }
-#endif
- // Deferred.
- rasterizer->Query(regs.report_semaphore.Address(), QueryType::SamplesPassed,
- system.GPU().GetTicks());
- return std::nullopt;
- default:
- LOG_DEBUG(HW_GPU, "Unimplemented query report type {}",
- regs.report_semaphore.query.report.Value());
- return 1;
- }
-}
-
void Maxwell3D::ProcessCBBind(size_t stage_index) {
// Bind the buffer currently in CB_ADDRESS to the specified index in the desired shader
// stage.
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index 6c19354e1..17faacc37 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -3182,9 +3182,6 @@ private:
/// Handles writes to syncing register.
void ProcessSyncPoint();
- /// Returns a query's value or an empty object if the value will be deferred through a cache.
- std::optional<u64> GetQueryResult();
-
void RefreshParametersImpl();
bool IsMethodExecutable(u32 method);
diff --git a/src/video_core/engines/maxwell_dma.cpp b/src/video_core/engines/maxwell_dma.cpp
index cd8e24b0b..422d4d859 100644
--- a/src/video_core/engines/maxwell_dma.cpp
+++ b/src/video_core/engines/maxwell_dma.cpp
@@ -5,6 +5,7 @@
#include "common/assert.h"
#include "common/logging/log.h"
#include "common/microprofile.h"
+#include "common/polyfill_ranges.h"
#include "common/settings.h"
#include "core/core.h"
#include "core/memory.h"
@@ -108,10 +109,11 @@ void MaxwellDMA::Launch() {
const bool is_const_a_dst = regs.remap_const.dst_x == RemapConst::Swizzle::CONST_A;
if (regs.launch_dma.remap_enable != 0 && is_const_a_dst) {
ASSERT(regs.remap_const.component_size_minus_one == 3);
- accelerate.BufferClear(regs.offset_out, regs.line_length_in, regs.remap_consta_value);
+ accelerate.BufferClear(regs.offset_out, regs.line_length_in,
+ regs.remap_const.remap_consta_value);
read_buffer.resize_destructive(regs.line_length_in * sizeof(u32));
std::span<u32> span(reinterpret_cast<u32*>(read_buffer.data()), regs.line_length_in);
- std::ranges::fill(span, regs.remap_consta_value);
+ std::ranges::fill(span, regs.remap_const.remap_consta_value);
memory_manager.WriteBlockUnsafe(regs.offset_out,
reinterpret_cast<u8*>(read_buffer.data()),
regs.line_length_in * sizeof(u32));
@@ -360,21 +362,17 @@ void MaxwellDMA::ReleaseSemaphore() {
const auto type = regs.launch_dma.semaphore_type;
const GPUVAddr address = regs.semaphore.address;
const u32 payload = regs.semaphore.payload;
+ VideoCommon::QueryPropertiesFlags flags{VideoCommon::QueryPropertiesFlags::IsAFence};
switch (type) {
case LaunchDMA::SemaphoreType::NONE:
break;
case LaunchDMA::SemaphoreType::RELEASE_ONE_WORD_SEMAPHORE: {
- std::function<void()> operation(
- [this, address, payload] { memory_manager.Write<u32>(address, payload); });
- rasterizer->SignalFence(std::move(operation));
+ rasterizer->Query(address, VideoCommon::QueryType::Payload, flags, payload, 0);
break;
}
case LaunchDMA::SemaphoreType::RELEASE_FOUR_WORD_SEMAPHORE: {
- std::function<void()> operation([this, address, payload] {
- memory_manager.Write<u64>(address + sizeof(u64), system.GPU().GetTicks());
- memory_manager.Write<u64>(address, payload);
- });
- rasterizer->SignalFence(std::move(operation));
+ rasterizer->Query(address, VideoCommon::QueryType::Payload,
+ flags | VideoCommon::QueryPropertiesFlags::HasTimeout, payload, 0);
break;
}
default:
diff --git a/src/video_core/engines/maxwell_dma.h b/src/video_core/engines/maxwell_dma.h
index 69e26cb32..1a43e24b6 100644
--- a/src/video_core/engines/maxwell_dma.h
+++ b/src/video_core/engines/maxwell_dma.h
@@ -214,14 +214,15 @@ public:
NO_WRITE = 6,
};
- PackedGPUVAddr address;
+ u32 remap_consta_value;
+ u32 remap_constb_value;
union {
+ BitField<0, 12, u32> dst_components_raw;
BitField<0, 3, Swizzle> dst_x;
BitField<4, 3, Swizzle> dst_y;
BitField<8, 3, Swizzle> dst_z;
BitField<12, 3, Swizzle> dst_w;
- BitField<0, 12, u32> dst_components_raw;
BitField<16, 2, u32> component_size_minus_one;
BitField<20, 2, u32> num_src_components_minus_one;
BitField<24, 2, u32> num_dst_components_minus_one;
@@ -274,55 +275,57 @@ private:
struct Regs {
union {
struct {
- u32 reserved[0x40];
+ INSERT_PADDING_BYTES_NOINIT(0x100);
u32 nop;
- u32 reserved01[0xf];
+ INSERT_PADDING_BYTES_NOINIT(0x3C);
u32 pm_trigger;
- u32 reserved02[0x3f];
+ INSERT_PADDING_BYTES_NOINIT(0xFC);
Semaphore semaphore;
- u32 reserved03[0x2];
+ INSERT_PADDING_BYTES_NOINIT(0x8);
RenderEnable render_enable;
PhysMode src_phys_mode;
PhysMode dst_phys_mode;
- u32 reserved04[0x26];
+ INSERT_PADDING_BYTES_NOINIT(0x98);
LaunchDMA launch_dma;
- u32 reserved05[0x3f];
+ INSERT_PADDING_BYTES_NOINIT(0xFC);
PackedGPUVAddr offset_in;
PackedGPUVAddr offset_out;
s32 pitch_in;
s32 pitch_out;
u32 line_length_in;
u32 line_count;
- u32 reserved06[0xb6];
- u32 remap_consta_value;
- u32 remap_constb_value;
+ INSERT_PADDING_BYTES_NOINIT(0x2E0);
RemapConst remap_const;
DMA::Parameters dst_params;
- u32 reserved07[0x1];
+ INSERT_PADDING_BYTES_NOINIT(0x4);
DMA::Parameters src_params;
- u32 reserved08[0x275];
+ INSERT_PADDING_BYTES_NOINIT(0x9D4);
u32 pm_trigger_end;
- u32 reserved09[0x3ba];
+ INSERT_PADDING_BYTES_NOINIT(0xEE8);
};
std::array<u32, NUM_REGS> reg_array;
};
} regs{};
+ static_assert(sizeof(Regs) == NUM_REGS * 4);
#define ASSERT_REG_POSITION(field_name, position) \
- static_assert(offsetof(MaxwellDMA::Regs, field_name) == position * 4, \
+ static_assert(offsetof(MaxwellDMA::Regs, field_name) == position, \
"Field " #field_name " has invalid position")
- ASSERT_REG_POSITION(launch_dma, 0xC0);
- ASSERT_REG_POSITION(offset_in, 0x100);
- ASSERT_REG_POSITION(offset_out, 0x102);
- ASSERT_REG_POSITION(pitch_in, 0x104);
- ASSERT_REG_POSITION(pitch_out, 0x105);
- ASSERT_REG_POSITION(line_length_in, 0x106);
- ASSERT_REG_POSITION(line_count, 0x107);
- ASSERT_REG_POSITION(remap_const, 0x1C0);
- ASSERT_REG_POSITION(dst_params, 0x1C3);
- ASSERT_REG_POSITION(src_params, 0x1CA);
-
+ ASSERT_REG_POSITION(semaphore, 0x240);
+ ASSERT_REG_POSITION(render_enable, 0x254);
+ ASSERT_REG_POSITION(src_phys_mode, 0x260);
+ ASSERT_REG_POSITION(launch_dma, 0x300);
+ ASSERT_REG_POSITION(offset_in, 0x400);
+ ASSERT_REG_POSITION(offset_out, 0x408);
+ ASSERT_REG_POSITION(pitch_in, 0x410);
+ ASSERT_REG_POSITION(pitch_out, 0x414);
+ ASSERT_REG_POSITION(line_length_in, 0x418);
+ ASSERT_REG_POSITION(line_count, 0x41C);
+ ASSERT_REG_POSITION(remap_const, 0x700);
+ ASSERT_REG_POSITION(dst_params, 0x70C);
+ ASSERT_REG_POSITION(src_params, 0x728);
+ ASSERT_REG_POSITION(pm_trigger_end, 0x1114);
#undef ASSERT_REG_POSITION
};
diff --git a/src/video_core/engines/puller.cpp b/src/video_core/engines/puller.cpp
index 7718a09b3..8dd34c04a 100644
--- a/src/video_core/engines/puller.cpp
+++ b/src/video_core/engines/puller.cpp
@@ -34,19 +34,24 @@ void Puller::ProcessBindMethod(const MethodCall& method_call) {
bound_engines[method_call.subchannel] = engine_id;
switch (engine_id) {
case EngineID::FERMI_TWOD_A:
- dma_pusher.BindSubchannel(channel_state.fermi_2d.get(), method_call.subchannel);
+ dma_pusher.BindSubchannel(channel_state.fermi_2d.get(), method_call.subchannel,
+ EngineTypes::Fermi2D);
break;
case EngineID::MAXWELL_B:
- dma_pusher.BindSubchannel(channel_state.maxwell_3d.get(), method_call.subchannel);
+ dma_pusher.BindSubchannel(channel_state.maxwell_3d.get(), method_call.subchannel,
+ EngineTypes::Maxwell3D);
break;
case EngineID::KEPLER_COMPUTE_B:
- dma_pusher.BindSubchannel(channel_state.kepler_compute.get(), method_call.subchannel);
+ dma_pusher.BindSubchannel(channel_state.kepler_compute.get(), method_call.subchannel,
+ EngineTypes::KeplerCompute);
break;
case EngineID::MAXWELL_DMA_COPY_A:
- dma_pusher.BindSubchannel(channel_state.maxwell_dma.get(), method_call.subchannel);
+ dma_pusher.BindSubchannel(channel_state.maxwell_dma.get(), method_call.subchannel,
+ EngineTypes::MaxwellDMA);
break;
case EngineID::KEPLER_INLINE_TO_MEMORY_B:
- dma_pusher.BindSubchannel(channel_state.kepler_memory.get(), method_call.subchannel);
+ dma_pusher.BindSubchannel(channel_state.kepler_memory.get(), method_call.subchannel,
+ EngineTypes::KeplerMemory);
break;
default:
UNIMPLEMENTED_MSG("Unimplemented engine {:04X}", engine_id);
@@ -77,10 +82,8 @@ void Puller::ProcessSemaphoreTriggerMethod() {
if (op == GpuSemaphoreOperation::WriteLong) {
const GPUVAddr sequence_address{regs.semaphore_address.SemaphoreAddress()};
const u32 payload = regs.semaphore_sequence;
- [this, sequence_address, payload] {
- memory_manager.Write<u64>(sequence_address + sizeof(u64), gpu.GetTicks());
- memory_manager.Write<u64>(sequence_address, payload);
- }();
+ rasterizer->Query(sequence_address, VideoCommon::QueryType::Payload,
+ VideoCommon::QueryPropertiesFlags::HasTimeout, payload, 0);
} else {
do {
const u32 word{memory_manager.Read<u32>(regs.semaphore_address.SemaphoreAddress())};
@@ -115,10 +118,8 @@ void Puller::ProcessSemaphoreTriggerMethod() {
void Puller::ProcessSemaphoreRelease() {
const GPUVAddr sequence_address{regs.semaphore_address.SemaphoreAddress()};
const u32 payload = regs.semaphore_release;
- std::function<void()> operation([this, sequence_address, payload] {
- memory_manager.Write<u32>(sequence_address, payload);
- });
- rasterizer->SignalFence(std::move(operation));
+ rasterizer->Query(sequence_address, VideoCommon::QueryType::Payload,
+ VideoCommon::QueryPropertiesFlags::IsAFence, payload, 0);
}
void Puller::ProcessSemaphoreAcquire() {
@@ -127,7 +128,6 @@ void Puller::ProcessSemaphoreAcquire() {
while (word != value) {
regs.acquire_active = true;
regs.acquire_value = value;
- std::this_thread::sleep_for(std::chrono::milliseconds(1));
rasterizer->ReleaseFences();
word = memory_manager.Read<u32>(regs.semaphore_address.SemaphoreAddress());
// TODO(kemathe73) figure out how to do the acquire_timeout
diff --git a/src/video_core/fence_manager.h b/src/video_core/fence_manager.h
index ab20ff30f..805a89900 100644
--- a/src/video_core/fence_manager.h
+++ b/src/video_core/fence_manager.h
@@ -55,6 +55,9 @@ public:
// Unlike other fences, this one doesn't
void SignalOrdering() {
+ if constexpr (!can_async_check) {
+ TryReleasePendingFences<false>();
+ }
std::scoped_lock lock{buffer_cache.mutex};
buffer_cache.AccumulateFlushes();
}
@@ -104,9 +107,25 @@ public:
SignalFence(std::move(func));
}
- void WaitPendingFences() {
+ void WaitPendingFences([[maybe_unused]] bool force) {
if constexpr (!can_async_check) {
TryReleasePendingFences<true>();
+ } else {
+ if (!force) {
+ return;
+ }
+ std::mutex wait_mutex;
+ std::condition_variable wait_cv;
+ std::atomic<bool> wait_finished{};
+ std::function<void()> func([&] {
+ std::scoped_lock lk(wait_mutex);
+ wait_finished.store(true, std::memory_order_relaxed);
+ wait_cv.notify_all();
+ });
+ SignalFence(std::move(func));
+ std::unique_lock lk(wait_mutex);
+ wait_cv.wait(
+ lk, [&wait_finished] { return wait_finished.load(std::memory_order_relaxed); });
}
}
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index c192e33b2..11549d448 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -102,7 +102,8 @@ struct GPU::Impl {
/// Signal the ending of command list.
void OnCommandListEnd() {
- rasterizer->ReleaseFences();
+ rasterizer->ReleaseFences(false);
+ Settings::UpdateGPUAccuracy();
}
/// Request a host GPU memory flush from the CPU.
@@ -220,6 +221,7 @@ struct GPU::Impl {
/// This can be used to launch any necessary threads and register any necessary
/// core timing events.
void Start() {
+ Settings::UpdateGPUAccuracy();
gpu_thread.StartThread(*renderer, renderer->Context(), *scheduler);
}
diff --git a/src/video_core/host1x/codecs/codec.cpp b/src/video_core/host1x/codecs/codec.cpp
index da07a556f..8d7da50fc 100644
--- a/src/video_core/host1x/codecs/codec.cpp
+++ b/src/video_core/host1x/codecs/codec.cpp
@@ -247,7 +247,7 @@ void Codec::Initialize() {
av_codec = avcodec_find_decoder(codec);
InitializeAvCodecContext();
- if (Settings::values.nvdec_emulation.GetValue() == Settings::NvdecEmulation::GPU) {
+ if (Settings::values.nvdec_emulation.GetValue() == Settings::NvdecEmulation::Gpu) {
InitializeGpuDecoder();
}
if (const int res = avcodec_open2(av_codec_ctx, av_codec, nullptr); res < 0) {
@@ -319,6 +319,7 @@ void Codec::Decode() {
LOG_WARNING(Service_NVDRV, "Zero width or height in frame");
return;
}
+ bool is_interlaced = initial_frame->interlaced_frame != 0;
if (av_codec_ctx->hw_device_ctx) {
final_frame = AVFramePtr{av_frame_alloc(), AVFrameDeleter};
ASSERT_MSG(final_frame, "av_frame_alloc final_frame failed");
@@ -334,7 +335,7 @@ void Codec::Decode() {
UNIMPLEMENTED_MSG("Unexpected video format: {}", final_frame->format);
return;
}
- if (!final_frame->interlaced_frame) {
+ if (!is_interlaced) {
av_frames.push(std::move(final_frame));
} else {
if (!filters_initialized) {
diff --git a/src/video_core/host1x/codecs/h264.cpp b/src/video_core/host1x/codecs/h264.cpp
index 862904e39..ece79b1e2 100644
--- a/src/video_core/host1x/codecs/h264.cpp
+++ b/src/video_core/host1x/codecs/h264.cpp
@@ -84,7 +84,7 @@ std::span<const u8> H264::ComposeFrame(const Host1x::NvdecCommon::NvdecRegisters
// TODO (ameerj): Where do we get this number, it seems to be particular for each stream
const auto nvdec_decoding = Settings::values.nvdec_emulation.GetValue();
- const bool uses_gpu_decoding = nvdec_decoding == Settings::NvdecEmulation::GPU;
+ const bool uses_gpu_decoding = nvdec_decoding == Settings::NvdecEmulation::Gpu;
const u32 max_num_ref_frames = uses_gpu_decoding ? 6u : 16u;
writer.WriteUe(max_num_ref_frames);
writer.WriteBit(false);
diff --git a/src/video_core/host_shaders/CMakeLists.txt b/src/video_core/host_shaders/CMakeLists.txt
index e61d9af80..8bb429578 100644
--- a/src/video_core/host_shaders/CMakeLists.txt
+++ b/src/video_core/host_shaders/CMakeLists.txt
@@ -19,6 +19,7 @@ set(SHADER_FILES
block_linear_unswizzle_2d.comp
block_linear_unswizzle_3d.comp
convert_abgr8_to_d24s8.frag
+ convert_d32f_to_abgr8.frag
convert_d24s8_to_abgr8.frag
convert_depth_to_float.frag
convert_float_to_depth.frag
@@ -41,6 +42,9 @@ set(SHADER_FILES
pitch_unswizzle.comp
present_bicubic.frag
present_gaussian.frag
+ queries_prefix_scan_sum.comp
+ queries_prefix_scan_sum_nosubgroups.comp
+ resolve_conditional_render.comp
smaa_edge_detection.vert
smaa_edge_detection.frag
smaa_blending_weight_calculation.vert
@@ -50,6 +54,7 @@ set(SHADER_FILES
vulkan_blit_depth_stencil.frag
vulkan_color_clear.frag
vulkan_color_clear.vert
+ vulkan_depthstencil_clear.frag
vulkan_fidelityfx_fsr_easu_fp16.comp
vulkan_fidelityfx_fsr_easu_fp32.comp
vulkan_fidelityfx_fsr_rcas_fp16.comp
@@ -69,6 +74,7 @@ if ("${GLSLANGVALIDATOR}" STREQUAL "GLSLANGVALIDATOR-NOTFOUND")
endif()
set(GLSL_FLAGS "")
+set(SPIR_V_VERSION "spirv1.3")
set(QUIET_FLAG "--quiet")
set(SHADER_INCLUDE ${CMAKE_CURRENT_BINARY_DIR}/include)
@@ -122,7 +128,7 @@ foreach(FILENAME IN ITEMS ${SHADER_FILES})
OUTPUT
${SPIRV_HEADER_FILE}
COMMAND
- ${GLSLANGVALIDATOR} -V ${QUIET_FLAG} -I"${FIDELITYFX_INCLUDE_DIR}" ${GLSL_FLAGS} --variable-name ${SPIRV_VARIABLE_NAME} -o ${SPIRV_HEADER_FILE} ${SOURCE_FILE}
+ ${GLSLANGVALIDATOR} -V ${QUIET_FLAG} -I"${FIDELITYFX_INCLUDE_DIR}" ${GLSL_FLAGS} --variable-name ${SPIRV_VARIABLE_NAME} -o ${SPIRV_HEADER_FILE} ${SOURCE_FILE} --target-env ${SPIR_V_VERSION}
MAIN_DEPENDENCY
${SOURCE_FILE}
)
diff --git a/src/video_core/host_shaders/astc_decoder.comp b/src/video_core/host_shaders/astc_decoder.comp
index bf2693559..5ff17cd0c 100644
--- a/src/video_core/host_shaders/astc_decoder.comp
+++ b/src/video_core/host_shaders/astc_decoder.comp
@@ -33,26 +33,14 @@ UNIFORM(6) uint block_height_mask;
END_PUSH_CONSTANTS
struct EncodingData {
- uint encoding;
- uint num_bits;
- uint bit_value;
- uint quint_trit_value;
+ uint data;
};
-struct TexelWeightParams {
- uvec2 size;
- uint max_weight;
- bool dual_plane;
- bool error_state;
- bool void_extent_ldr;
- bool void_extent_hdr;
-};
-
-layout(binding = BINDING_INPUT_BUFFER, std430) readonly buffer InputBufferU32 {
+layout(binding = BINDING_INPUT_BUFFER, std430) readonly restrict buffer InputBufferU32 {
uvec4 astc_data[];
};
-layout(binding = BINDING_OUTPUT_IMAGE, rgba8) uniform writeonly image2DArray dest_image;
+layout(binding = BINDING_OUTPUT_IMAGE, rgba8) uniform writeonly restrict image2DArray dest_image;
const uint GOB_SIZE_X_SHIFT = 6;
const uint GOB_SIZE_Y_SHIFT = 3;
@@ -60,64 +48,21 @@ const uint GOB_SIZE_SHIFT = GOB_SIZE_X_SHIFT + GOB_SIZE_Y_SHIFT;
const uint BYTES_PER_BLOCK_LOG2 = 4;
-const int JUST_BITS = 0;
-const int QUINT = 1;
-const int TRIT = 2;
+const uint JUST_BITS = 0u;
+const uint QUINT = 1u;
+const uint TRIT = 2u;
// ASTC Encodings data, sorted in ascending order based on their BitLength value
// (see GetBitLength() function)
-EncodingData encoding_values[22] = EncodingData[](
- EncodingData(JUST_BITS, 0, 0, 0), EncodingData(JUST_BITS, 1, 0, 0), EncodingData(TRIT, 0, 0, 0),
- EncodingData(JUST_BITS, 2, 0, 0), EncodingData(QUINT, 0, 0, 0), EncodingData(TRIT, 1, 0, 0),
- EncodingData(JUST_BITS, 3, 0, 0), EncodingData(QUINT, 1, 0, 0), EncodingData(TRIT, 2, 0, 0),
- EncodingData(JUST_BITS, 4, 0, 0), EncodingData(QUINT, 2, 0, 0), EncodingData(TRIT, 3, 0, 0),
- EncodingData(JUST_BITS, 5, 0, 0), EncodingData(QUINT, 3, 0, 0), EncodingData(TRIT, 4, 0, 0),
- EncodingData(JUST_BITS, 6, 0, 0), EncodingData(QUINT, 4, 0, 0), EncodingData(TRIT, 5, 0, 0),
- EncodingData(JUST_BITS, 7, 0, 0), EncodingData(QUINT, 5, 0, 0), EncodingData(TRIT, 6, 0, 0),
- EncodingData(JUST_BITS, 8, 0, 0)
-);
-
-// The following constants are expanded variants of the Replicate()
-// function calls corresponding to the following arguments:
-// value: index into the generated table
-// num_bits: the after "REPLICATE" in the table name. i.e. 4 is num_bits in REPLICATE_4.
-// to_bit: the integer after "TO_"
-const uint REPLICATE_BIT_TO_7_TABLE[2] = uint[](0, 127);
-const uint REPLICATE_1_BIT_TO_9_TABLE[2] = uint[](0, 511);
-
-const uint REPLICATE_1_BIT_TO_8_TABLE[2] = uint[](0, 255);
-const uint REPLICATE_2_BIT_TO_8_TABLE[4] = uint[](0, 85, 170, 255);
-const uint REPLICATE_3_BIT_TO_8_TABLE[8] = uint[](0, 36, 73, 109, 146, 182, 219, 255);
-const uint REPLICATE_4_BIT_TO_8_TABLE[16] =
- uint[](0, 17, 34, 51, 68, 85, 102, 119, 136, 153, 170, 187, 204, 221, 238, 255);
-const uint REPLICATE_5_BIT_TO_8_TABLE[32] =
- uint[](0, 8, 16, 24, 33, 41, 49, 57, 66, 74, 82, 90, 99, 107, 115, 123, 132, 140, 148, 156, 165,
- 173, 181, 189, 198, 206, 214, 222, 231, 239, 247, 255);
-const uint REPLICATE_1_BIT_TO_6_TABLE[2] = uint[](0, 63);
-const uint REPLICATE_2_BIT_TO_6_TABLE[4] = uint[](0, 21, 42, 63);
-const uint REPLICATE_3_BIT_TO_6_TABLE[8] = uint[](0, 9, 18, 27, 36, 45, 54, 63);
-const uint REPLICATE_4_BIT_TO_6_TABLE[16] =
- uint[](0, 4, 8, 12, 17, 21, 25, 29, 34, 38, 42, 46, 51, 55, 59, 63);
-const uint REPLICATE_5_BIT_TO_6_TABLE[32] =
- uint[](0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 33, 35, 37, 39, 41, 43, 45,
- 47, 49, 51, 53, 55, 57, 59, 61, 63);
-const uint REPLICATE_6_BIT_TO_8_TABLE[64] =
- uint[](0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 65, 69, 73, 77, 81, 85, 89,
- 93, 97, 101, 105, 109, 113, 117, 121, 125, 130, 134, 138, 142, 146, 150, 154, 158, 162,
- 166, 170, 174, 178, 182, 186, 190, 195, 199, 203, 207, 211, 215, 219, 223, 227, 231, 235,
- 239, 243, 247, 251, 255);
-const uint REPLICATE_7_BIT_TO_8_TABLE[128] =
- uint[](0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44,
- 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88,
- 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126,
- 129, 131, 133, 135, 137, 139, 141, 143, 145, 147, 149, 151, 153, 155, 157, 159, 161, 163,
- 165, 167, 169, 171, 173, 175, 177, 179, 181, 183, 185, 187, 189, 191, 193, 195, 197, 199,
- 201, 203, 205, 207, 209, 211, 213, 215, 217, 219, 221, 223, 225, 227, 229, 231, 233, 235,
- 237, 239, 241, 243, 245, 247, 249, 251, 253, 255);
+const uint encoding_values[22] = uint[](
+ (JUST_BITS), (JUST_BITS | (1u << 8u)), (TRIT), (JUST_BITS | (2u << 8u)),
+ (QUINT), (TRIT | (1u << 8u)), (JUST_BITS | (3u << 8u)), (QUINT | (1u << 8u)),
+ (TRIT | (2u << 8u)), (JUST_BITS | (4u << 8u)), (QUINT | (2u << 8u)), (TRIT | (3u << 8u)),
+ (JUST_BITS | (5u << 8u)), (QUINT | (3u << 8u)), (TRIT | (4u << 8u)), (JUST_BITS | (6u << 8u)),
+ (QUINT | (4u << 8u)), (TRIT | (5u << 8u)), (JUST_BITS | (7u << 8u)), (QUINT | (5u << 8u)),
+ (TRIT | (6u << 8u)), (JUST_BITS | (8u << 8u)));
// Input ASTC texture globals
-uint current_index = 0;
-int bitsread = 0;
int total_bitsread = 0;
uvec4 local_buff;
@@ -125,50 +70,60 @@ uvec4 local_buff;
uvec4 color_endpoint_data;
int color_bitsread = 0;
-// Four values, two endpoints, four maximum partitions
-uint color_values[32];
-int colvals_index = 0;
-
-// Weight data globals
-uvec4 texel_weight_data;
-int texel_bitsread = 0;
+// Global "vector" to be pushed into when decoding
+// At most will require BLOCK_WIDTH x BLOCK_HEIGHT in single plane mode
+// At most will require BLOCK_WIDTH x BLOCK_HEIGHT x 2 in dual plane mode
+// So the maximum would be 144 (12 x 12) elements, x 2 for two planes
+#define DIVCEIL(number, divisor) (number + divisor - 1) / divisor
+#define ARRAY_NUM_ELEMENTS 144
+#define VECTOR_ARRAY_SIZE DIVCEIL(ARRAY_NUM_ELEMENTS * 2, 4)
+uint result_vector[ARRAY_NUM_ELEMENTS * 2];
-bool texel_flag = false;
-
-// Global "vectors" to be pushed into when decoding
-EncodingData result_vector[144];
int result_index = 0;
+uint result_vector_max_index;
+bool result_limit_reached = false;
-EncodingData texel_vector[144];
-int texel_vector_index = 0;
+// EncodingData helpers
+uint Encoding(EncodingData val) {
+ return bitfieldExtract(val.data, 0, 8);
+}
+uint NumBits(EncodingData val) {
+ return bitfieldExtract(val.data, 8, 8);
+}
+uint BitValue(EncodingData val) {
+ return bitfieldExtract(val.data, 16, 8);
+}
+uint QuintTritValue(EncodingData val) {
+ return bitfieldExtract(val.data, 24, 8);
+}
-uint unquantized_texel_weights[2][144];
+void Encoding(inout EncodingData val, uint v) {
+ val.data = bitfieldInsert(val.data, v, 0, 8);
+}
+void NumBits(inout EncodingData val, uint v) {
+ val.data = bitfieldInsert(val.data, v, 8, 8);
+}
+void BitValue(inout EncodingData val, uint v) {
+ val.data = bitfieldInsert(val.data, v, 16, 8);
+}
+void QuintTritValue(inout EncodingData val, uint v) {
+ val.data = bitfieldInsert(val.data, v, 24, 8);
+}
-uint SwizzleOffset(uvec2 pos) {
- uint x = pos.x;
- uint y = pos.y;
- return ((x % 64) / 32) * 256 + ((y % 8) / 2) * 64 + ((x % 32) / 16) * 32 +
- (y % 2) * 16 + (x % 16);
+EncodingData CreateEncodingData(uint encoding, uint num_bits, uint bit_val, uint quint_trit_val) {
+ return EncodingData(((encoding) << 0u) | ((num_bits) << 8u) |
+ ((bit_val) << 16u) | ((quint_trit_val) << 24u));
}
-// Replicates low num_bits such that [(to_bit - 1):(to_bit - 1 - from_bit)]
-// is the same as [(num_bits - 1):0] and repeats all the way down.
-uint Replicate(uint val, uint num_bits, uint to_bit) {
- const uint v = val & uint((1 << num_bits) - 1);
- uint res = v;
- uint reslen = num_bits;
- while (reslen < to_bit) {
- uint comp = 0;
- if (num_bits > to_bit - reslen) {
- uint newshift = to_bit - reslen;
- comp = num_bits - newshift;
- num_bits = newshift;
- }
- res = uint(res << num_bits);
- res = uint(res | (v >> comp));
- reslen += num_bits;
+
+void ResultEmplaceBack(EncodingData val) {
+ if (result_index >= result_vector_max_index) {
+ // Alert callers to avoid decoding more than needed by this phase
+ result_limit_reached = true;
+ return;
}
- return res;
+ result_vector[result_index] = val.data;
+ ++result_index;
}
uvec4 ReplicateByteTo16(uvec4 value) {
@@ -176,64 +131,40 @@ uvec4 ReplicateByteTo16(uvec4 value) {
}
uint ReplicateBitTo7(uint value) {
- return REPLICATE_BIT_TO_7_TABLE[value];
+ return value * 127;
}
uint ReplicateBitTo9(uint value) {
- return REPLICATE_1_BIT_TO_9_TABLE[value];
+ return value * 511;
}
-uint FastReplicate(uint value, uint num_bits, uint to_bit) {
- if (num_bits == 0) {
+uint ReplicateBits(uint value, uint num_bits, uint to_bit) {
+ if (value == 0 || num_bits == 0) {
return 0;
}
- if (num_bits == to_bit) {
+ if (num_bits >= to_bit) {
return value;
}
- if (to_bit == 6) {
- switch (num_bits) {
- case 1:
- return REPLICATE_1_BIT_TO_6_TABLE[value];
- case 2:
- return REPLICATE_2_BIT_TO_6_TABLE[value];
- case 3:
- return REPLICATE_3_BIT_TO_6_TABLE[value];
- case 4:
- return REPLICATE_4_BIT_TO_6_TABLE[value];
- case 5:
- return REPLICATE_5_BIT_TO_6_TABLE[value];
- default:
- break;
- }
- } else { /* if (to_bit == 8) */
- switch (num_bits) {
- case 1:
- return REPLICATE_1_BIT_TO_8_TABLE[value];
- case 2:
- return REPLICATE_2_BIT_TO_8_TABLE[value];
- case 3:
- return REPLICATE_3_BIT_TO_8_TABLE[value];
- case 4:
- return REPLICATE_4_BIT_TO_8_TABLE[value];
- case 5:
- return REPLICATE_5_BIT_TO_8_TABLE[value];
- case 6:
- return REPLICATE_6_BIT_TO_8_TABLE[value];
- case 7:
- return REPLICATE_7_BIT_TO_8_TABLE[value];
- default:
- break;
- }
+ const uint v = value & uint((1 << num_bits) - 1);
+ uint res = v;
+ uint reslen = num_bits;
+ while (reslen < to_bit) {
+ const uint num_dst_bits_to_shift_up = min(num_bits, to_bit - reslen);
+ const uint num_src_bits_to_shift_down = num_bits - num_dst_bits_to_shift_up;
+
+ res <<= num_dst_bits_to_shift_up;
+ res |= (v >> num_src_bits_to_shift_down);
+ reslen += num_bits;
}
- return Replicate(value, num_bits, to_bit);
+ return res;
}
uint FastReplicateTo8(uint value, uint num_bits) {
- return FastReplicate(value, num_bits, 8);
+ return ReplicateBits(value, num_bits, 8);
}
uint FastReplicateTo6(uint value, uint num_bits) {
- return FastReplicate(value, num_bits, 6);
+ return ReplicateBits(value, num_bits, 6);
}
uint Div3Floor(uint v) {
@@ -266,15 +197,15 @@ uint Hash52(uint p) {
return p;
}
-uint Select2DPartition(uint seed, uint x, uint y, uint partition_count, bool small_block) {
- if (small_block) {
+uint Select2DPartition(uint seed, uint x, uint y, uint partition_count) {
+ if ((block_dims.y * block_dims.x) < 32) {
x <<= 1;
y <<= 1;
}
seed += (partition_count - 1) * 1024;
- uint rnum = Hash52(uint(seed));
+ const uint rnum = Hash52(uint(seed));
uint seed1 = uint(rnum & 0xF);
uint seed2 = uint((rnum >> 4) & 0xF);
uint seed3 = uint((rnum >> 8) & 0xF);
@@ -342,53 +273,52 @@ uint ExtractBits(uvec4 payload, int offset, int bits) {
if (bits <= 0) {
return 0;
}
- int last_offset = offset + bits - 1;
- int shifted_offset = offset >> 5;
+ if (bits > 32) {
+ return 0;
+ }
+ const int last_offset = offset + bits - 1;
+ const int shifted_offset = offset >> 5;
if ((last_offset >> 5) == shifted_offset) {
return bitfieldExtract(payload[shifted_offset], offset & 31, bits);
}
- int first_bits = 32 - (offset & 31);
- int result_first = int(bitfieldExtract(payload[shifted_offset], offset & 31, first_bits));
- int result_second = int(bitfieldExtract(payload[shifted_offset + 1], 0, bits - first_bits));
+ const int first_bits = 32 - (offset & 31);
+ const int result_first = int(bitfieldExtract(payload[shifted_offset], offset & 31, first_bits));
+ const int result_second = int(bitfieldExtract(payload[shifted_offset + 1], 0, bits - first_bits));
return result_first | (result_second << first_bits);
}
uint StreamBits(uint num_bits) {
- int int_bits = int(num_bits);
- uint ret = ExtractBits(local_buff, total_bitsread, int_bits);
+ const int int_bits = int(num_bits);
+ const uint ret = ExtractBits(local_buff, total_bitsread, int_bits);
total_bitsread += int_bits;
return ret;
}
+void SkipBits(uint num_bits) {
+ const int int_bits = int(num_bits);
+ total_bitsread += int_bits;
+}
+
uint StreamColorBits(uint num_bits) {
- uint ret = 0;
- int int_bits = int(num_bits);
- if (texel_flag) {
- ret = ExtractBits(texel_weight_data, texel_bitsread, int_bits);
- texel_bitsread += int_bits;
- } else {
- ret = ExtractBits(color_endpoint_data, color_bitsread, int_bits);
- color_bitsread += int_bits;
- }
+ const int int_bits = int(num_bits);
+ const uint ret = ExtractBits(color_endpoint_data, color_bitsread, int_bits);
+ color_bitsread += int_bits;
return ret;
}
-void ResultEmplaceBack(EncodingData val) {
- if (texel_flag) {
- texel_vector[texel_vector_index] = val;
- ++texel_vector_index;
- } else {
- result_vector[result_index] = val;
- ++result_index;
- }
+EncodingData GetEncodingFromVector(uint index) {
+ const uint data = result_vector[index];
+ return EncodingData(data);
}
// Returns the number of bits required to encode n_vals values.
uint GetBitLength(uint n_vals, uint encoding_index) {
- uint total_bits = encoding_values[encoding_index].num_bits * n_vals;
- if (encoding_values[encoding_index].encoding == TRIT) {
+ const EncodingData encoding_value = EncodingData(encoding_values[encoding_index]);
+ const uint encoding = Encoding(encoding_value);
+ uint total_bits = NumBits(encoding_value) * n_vals;
+ if (encoding == TRIT) {
total_bits += Div5Ceil(n_vals * 8);
- } else if (encoding_values[encoding_index].encoding == QUINT) {
+ } else if (encoding == QUINT) {
total_bits += Div3Ceil(n_vals * 7);
}
return total_bits;
@@ -403,7 +333,7 @@ uint GetNumWeightValues(uvec2 size, bool dual_plane) {
}
uint GetPackedBitSize(uvec2 size, bool dual_plane, uint max_weight) {
- uint n_vals = GetNumWeightValues(size, dual_plane);
+ const uint n_vals = GetNumWeightValues(size, dual_plane);
return GetBitLength(n_vals, max_weight);
}
@@ -412,87 +342,74 @@ uint BitsBracket(uint bits, uint pos) {
}
uint BitsOp(uint bits, uint start, uint end) {
- if (start == end) {
- return BitsBracket(bits, start);
- } else if (start > end) {
- uint t = start;
- start = end;
- end = t;
- }
-
- uint mask = (1 << (end - start + 1)) - 1;
+ const uint mask = (1 << (end - start + 1)) - 1;
return ((bits >> start) & mask);
}
void DecodeQuintBlock(uint num_bits) {
- uint m[3];
- uint q[3];
- uint Q;
+ uvec3 m;
+ uvec4 qQ;
m[0] = StreamColorBits(num_bits);
- Q = StreamColorBits(3);
+ qQ.w = StreamColorBits(3);
m[1] = StreamColorBits(num_bits);
- Q |= StreamColorBits(2) << 3;
+ qQ.w |= StreamColorBits(2) << 3;
m[2] = StreamColorBits(num_bits);
- Q |= StreamColorBits(2) << 5;
- if (BitsOp(Q, 1, 2) == 3 && BitsOp(Q, 5, 6) == 0) {
- q[0] = 4;
- q[1] = 4;
- q[2] = (BitsBracket(Q, 0) << 2) | ((BitsBracket(Q, 4) & ~BitsBracket(Q, 0)) << 1) |
- (BitsBracket(Q, 3) & ~BitsBracket(Q, 0));
+ qQ.w |= StreamColorBits(2) << 5;
+ if (BitsOp(qQ.w, 1, 2) == 3 && BitsOp(qQ.w, 5, 6) == 0) {
+ qQ.x = 4;
+ qQ.y = 4;
+ qQ.z = (BitsBracket(qQ.w, 0) << 2) | ((BitsBracket(qQ.w, 4) & ~BitsBracket(qQ.w, 0)) << 1) |
+ (BitsBracket(qQ.w, 3) & ~BitsBracket(qQ.w, 0));
} else {
uint C = 0;
- if (BitsOp(Q, 1, 2) == 3) {
- q[2] = 4;
- C = (BitsOp(Q, 3, 4) << 3) | ((~BitsOp(Q, 5, 6) & 3) << 1) | BitsBracket(Q, 0);
+ if (BitsOp(qQ.w, 1, 2) == 3) {
+ qQ.z = 4;
+ C = (BitsOp(qQ.w, 3, 4) << 3) | ((~BitsOp(qQ.w, 5, 6) & 3) << 1) | BitsBracket(qQ.w, 0);
} else {
- q[2] = BitsOp(Q, 5, 6);
- C = BitsOp(Q, 0, 4);
+ qQ.z = BitsOp(qQ.w, 5, 6);
+ C = BitsOp(qQ.w, 0, 4);
}
if (BitsOp(C, 0, 2) == 5) {
- q[1] = 4;
- q[0] = BitsOp(C, 3, 4);
+ qQ.y = 4;
+ qQ.x = BitsOp(C, 3, 4);
} else {
- q[1] = BitsOp(C, 3, 4);
- q[0] = BitsOp(C, 0, 2);
+ qQ.y = BitsOp(C, 3, 4);
+ qQ.x = BitsOp(C, 0, 2);
}
}
for (uint i = 0; i < 3; i++) {
- EncodingData val;
- val.encoding = QUINT;
- val.num_bits = num_bits;
- val.bit_value = m[i];
- val.quint_trit_value = q[i];
+ const EncodingData val = CreateEncodingData(QUINT, num_bits, m[i], qQ[i]);
ResultEmplaceBack(val);
}
}
void DecodeTritBlock(uint num_bits) {
- uint m[5];
- uint t[5];
- uint T;
+ uvec4 m;
+ uvec4 t;
+ uvec3 Tm5t5;
m[0] = StreamColorBits(num_bits);
- T = StreamColorBits(2);
+ Tm5t5.x = StreamColorBits(2);
m[1] = StreamColorBits(num_bits);
- T |= StreamColorBits(2) << 2;
+ Tm5t5.x |= StreamColorBits(2) << 2;
m[2] = StreamColorBits(num_bits);
- T |= StreamColorBits(1) << 4;
+ Tm5t5.x |= StreamColorBits(1) << 4;
m[3] = StreamColorBits(num_bits);
- T |= StreamColorBits(2) << 5;
- m[4] = StreamColorBits(num_bits);
- T |= StreamColorBits(1) << 7;
+ Tm5t5.x |= StreamColorBits(2) << 5;
+ Tm5t5.y = StreamColorBits(num_bits);
+ Tm5t5.x |= StreamColorBits(1) << 7;
uint C = 0;
- if (BitsOp(T, 2, 4) == 7) {
- C = (BitsOp(T, 5, 7) << 2) | BitsOp(T, 0, 1);
- t[4] = 2;
+ if (BitsOp(Tm5t5.x, 2, 4) == 7) {
+ C = (BitsOp(Tm5t5.x, 5, 7) << 2) | BitsOp(Tm5t5.x, 0, 1);
+ Tm5t5.z = 2;
t[3] = 2;
} else {
- C = BitsOp(T, 0, 4);
- if (BitsOp(T, 5, 6) == 3) {
- t[4] = 2;
- t[3] = BitsBracket(T, 7);
+ C = BitsOp(Tm5t5.x, 0, 4);
+ if (BitsOp(Tm5t5.x, 5, 6) == 3) {
+ Tm5t5.z = 2;
+ t[3] = BitsBracket(Tm5t5.x, 7);
} else {
- t[4] = BitsBracket(T, 7);
- t[3] = BitsOp(T, 5, 6);
+ Tm5t5.z = BitsBracket(Tm5t5.x, 7);
+ t[3] = BitsOp(Tm5t5.x, 5, 6);
}
}
if (BitsOp(C, 0, 1) == 3) {
@@ -508,31 +425,31 @@ void DecodeTritBlock(uint num_bits) {
t[1] = BitsOp(C, 2, 3);
t[0] = (BitsBracket(C, 1) << 1) | (BitsBracket(C, 0) & ~BitsBracket(C, 1));
}
- for (uint i = 0; i < 5; i++) {
- EncodingData val;
- val.encoding = TRIT;
- val.num_bits = num_bits;
- val.bit_value = m[i];
- val.quint_trit_value = t[i];
+ for (uint i = 0; i < 4; i++) {
+ const EncodingData val = CreateEncodingData(TRIT, num_bits, m[i], t[i]);
ResultEmplaceBack(val);
}
+ const EncodingData val = CreateEncodingData(TRIT, num_bits, Tm5t5.y, Tm5t5.z);
+ ResultEmplaceBack(val);
}
void DecodeIntegerSequence(uint max_range, uint num_values) {
- EncodingData val = encoding_values[max_range];
+ EncodingData val = EncodingData(encoding_values[max_range]);
+ const uint encoding = Encoding(val);
+ const uint num_bits = NumBits(val);
uint vals_decoded = 0;
- while (vals_decoded < num_values) {
- switch (val.encoding) {
+ while (vals_decoded < num_values && !result_limit_reached) {
+ switch (encoding) {
case QUINT:
- DecodeQuintBlock(val.num_bits);
+ DecodeQuintBlock(num_bits);
vals_decoded += 3;
break;
case TRIT:
- DecodeTritBlock(val.num_bits);
+ DecodeTritBlock(num_bits);
vals_decoded += 5;
break;
case JUST_BITS:
- val.bit_value = StreamColorBits(val.num_bits);
+ BitValue(val, StreamColorBits(num_bits));
ResultEmplaceBack(val);
vals_decoded++;
break;
@@ -540,7 +457,7 @@ void DecodeIntegerSequence(uint max_range, uint num_values) {
}
}
-void DecodeColorValues(uvec4 modes, uint num_partitions, uint color_data_bits) {
+void DecodeColorValues(uvec4 modes, uint num_partitions, uint color_data_bits, out uint color_values[32]) {
uint num_values = 0;
for (uint i = 0; i < num_partitions; i++) {
num_values += ((modes[i] >> 2) + 1) << 1;
@@ -549,7 +466,7 @@ void DecodeColorValues(uvec4 modes, uint num_partitions, uint color_data_bits) {
// TODO(ameerj): profile with binary search
int range = 0;
while (++range < encoding_values.length()) {
- uint bit_length = GetBitLength(num_values, range);
+ const uint bit_length = GetBitLength(num_values, range);
if (bit_length > color_data_bits) {
break;
}
@@ -560,48 +477,49 @@ void DecodeColorValues(uvec4 modes, uint num_partitions, uint color_data_bits) {
if (out_index >= num_values) {
break;
}
- EncodingData val = result_vector[itr];
- uint bitlen = val.num_bits;
- uint bitval = val.bit_value;
+ const EncodingData val = GetEncodingFromVector(itr);
+ const uint encoding = Encoding(val);
+ const uint bitlen = NumBits(val);
+ const uint bitval = BitValue(val);
uint A = 0, B = 0, C = 0, D = 0;
A = ReplicateBitTo9((bitval & 1));
- switch (val.encoding) {
+ switch (encoding) {
case JUST_BITS:
- color_values[out_index++] = FastReplicateTo8(bitval, bitlen);
+ color_values[++out_index] = FastReplicateTo8(bitval, bitlen);
break;
case TRIT: {
- D = val.quint_trit_value;
+ D = QuintTritValue(val);
switch (bitlen) {
case 1:
C = 204;
break;
case 2: {
C = 93;
- uint b = (bitval >> 1) & 1;
+ const uint b = (bitval >> 1) & 1;
B = (b << 8) | (b << 4) | (b << 2) | (b << 1);
break;
}
case 3: {
C = 44;
- uint cb = (bitval >> 1) & 3;
+ const uint cb = (bitval >> 1) & 3;
B = (cb << 7) | (cb << 2) | cb;
break;
}
case 4: {
C = 22;
- uint dcb = (bitval >> 1) & 7;
+ const uint dcb = (bitval >> 1) & 7;
B = (dcb << 6) | dcb;
break;
}
case 5: {
C = 11;
- uint edcb = (bitval >> 1) & 0xF;
+ const uint edcb = (bitval >> 1) & 0xF;
B = (edcb << 5) | (edcb >> 2);
break;
}
case 6: {
C = 5;
- uint fedcb = (bitval >> 1) & 0x1F;
+ const uint fedcb = (bitval >> 1) & 0x1F;
B = (fedcb << 4) | (fedcb >> 4);
break;
}
@@ -609,32 +527,32 @@ void DecodeColorValues(uvec4 modes, uint num_partitions, uint color_data_bits) {
break;
}
case QUINT: {
- D = val.quint_trit_value;
+ D = QuintTritValue(val);
switch (bitlen) {
case 1:
C = 113;
break;
case 2: {
C = 54;
- uint b = (bitval >> 1) & 1;
+ const uint b = (bitval >> 1) & 1;
B = (b << 8) | (b << 3) | (b << 2);
break;
}
case 3: {
C = 26;
- uint cb = (bitval >> 1) & 3;
+ const uint cb = (bitval >> 1) & 3;
B = (cb << 7) | (cb << 1) | (cb >> 1);
break;
}
case 4: {
C = 13;
- uint dcb = (bitval >> 1) & 7;
+ const uint dcb = (bitval >> 1) & 7;
B = (dcb << 6) | (dcb >> 1);
break;
}
case 5: {
C = 6;
- uint edcb = (bitval >> 1) & 0xF;
+ const uint edcb = (bitval >> 1) & 0xF;
B = (edcb << 5) | (edcb >> 3);
break;
}
@@ -642,11 +560,11 @@ void DecodeColorValues(uvec4 modes, uint num_partitions, uint color_data_bits) {
break;
}
}
- if (val.encoding != JUST_BITS) {
+ if (encoding != JUST_BITS) {
uint T = (D * C) + B;
T ^= A;
T = (A & 0x80) | (T >> 2);
- color_values[out_index++] = T;
+ color_values[++out_index] = T;
}
}
}
@@ -664,139 +582,136 @@ ivec2 BitTransferSigned(int a, int b) {
}
uvec4 ClampByte(ivec4 color) {
- for (uint i = 0; i < 4; ++i) {
- color[i] = (color[i] < 0) ? 0 : ((color[i] > 255) ? 255 : color[i]);
- }
- return uvec4(color);
+ return uvec4(clamp(color, 0, 255));
}
ivec4 BlueContract(int a, int r, int g, int b) {
return ivec4(a, (r + b) >> 1, (g + b) >> 1, b);
}
-void ComputeEndpoints(out uvec4 ep1, out uvec4 ep2, uint color_endpoint_mode) {
+void ComputeEndpoints(out uvec4 ep1, out uvec4 ep2, uint color_endpoint_mode, uint color_values[32],
+ inout uint colvals_index) {
#define READ_UINT_VALUES(N) \
- uint v[N]; \
+ uvec4 V[2]; \
for (uint i = 0; i < N; i++) { \
- v[i] = color_values[colvals_index++]; \
+ V[i / 4][i % 4] = color_values[++colvals_index]; \
}
-
#define READ_INT_VALUES(N) \
- int v[N]; \
+ ivec4 V[2]; \
for (uint i = 0; i < N; i++) { \
- v[i] = int(color_values[colvals_index++]); \
+ V[i / 4][i % 4] = int(color_values[++colvals_index]); \
}
switch (color_endpoint_mode) {
case 0: {
READ_UINT_VALUES(2)
- ep1 = uvec4(0xFF, v[0], v[0], v[0]);
- ep2 = uvec4(0xFF, v[1], v[1], v[1]);
+ ep1 = uvec4(0xFF, V[0].x, V[0].x, V[0].x);
+ ep2 = uvec4(0xFF, V[0].y, V[0].y, V[0].y);
break;
}
case 1: {
READ_UINT_VALUES(2)
- uint L0 = (v[0] >> 2) | (v[1] & 0xC0);
- uint L1 = min(L0 + (v[1] & 0x3F), 0xFFU);
+ const uint L0 = (V[0].x >> 2) | (V[0].y & 0xC0);
+ const uint L1 = min(L0 + (V[0].y & 0x3F), 0xFFU);
ep1 = uvec4(0xFF, L0, L0, L0);
ep2 = uvec4(0xFF, L1, L1, L1);
break;
}
case 4: {
READ_UINT_VALUES(4)
- ep1 = uvec4(v[2], v[0], v[0], v[0]);
- ep2 = uvec4(v[3], v[1], v[1], v[1]);
+ ep1 = uvec4(V[0].z, V[0].x, V[0].x, V[0].x);
+ ep2 = uvec4(V[0].w, V[0].y, V[0].y, V[0].y);
break;
}
case 5: {
READ_INT_VALUES(4)
- ivec2 transferred = BitTransferSigned(v[1], v[0]);
- v[1] = transferred.x;
- v[0] = transferred.y;
- transferred = BitTransferSigned(v[3], v[2]);
- v[3] = transferred.x;
- v[2] = transferred.y;
- ep1 = ClampByte(ivec4(v[2], v[0], v[0], v[0]));
- ep2 = ClampByte(ivec4(v[2] + v[3], v[0] + v[1], v[0] + v[1], v[0] + v[1]));
+ ivec2 transferred = BitTransferSigned(V[0].y, V[0].x);
+ V[0].y = transferred.x;
+ V[0].x = transferred.y;
+ transferred = BitTransferSigned(V[0].w, V[0].z);
+ V[0].w = transferred.x;
+ V[0].z = transferred.y;
+ ep1 = ClampByte(ivec4(V[0].z, V[0].x, V[0].x, V[0].x));
+ ep2 = ClampByte(ivec4(V[0].z + V[0].w, V[0].x + V[0].y, V[0].x + V[0].y, V[0].x + V[0].y));
break;
}
case 6: {
READ_UINT_VALUES(4)
- ep1 = uvec4(0xFF, (v[0] * v[3]) >> 8, (v[1] * v[3]) >> 8, (v[2] * v[3]) >> 8);
- ep2 = uvec4(0xFF, v[0], v[1], v[2]);
+ ep1 = uvec4(0xFF, (V[0].x * V[0].w) >> 8, (V[0].y * V[0].w) >> 8, (V[0].z * V[0].w) >> 8);
+ ep2 = uvec4(0xFF, V[0].x, V[0].y, V[0].z);
break;
}
case 8: {
READ_UINT_VALUES(6)
- if ((v[1] + v[3] + v[5]) >= (v[0] + v[2] + v[4])) {
- ep1 = uvec4(0xFF, v[0], v[2], v[4]);
- ep2 = uvec4(0xFF, v[1], v[3], v[5]);
+ if ((V[0].y + V[0].w + V[1].y) >= (V[0].x + V[0].z + V[1].x)) {
+ ep1 = uvec4(0xFF, V[0].x, V[0].z, V[1].x);
+ ep2 = uvec4(0xFF, V[0].y, V[0].w, V[1].y);
} else {
- ep1 = uvec4(BlueContract(0xFF, int(v[1]), int(v[3]), int(v[5])));
- ep2 = uvec4(BlueContract(0xFF, int(v[0]), int(v[2]), int(v[4])));
+ ep1 = uvec4(BlueContract(0xFF, int(V[0].y), int(V[0].w), int(V[1].y)));
+ ep2 = uvec4(BlueContract(0xFF, int(V[0].x), int(V[0].z), int(V[1].x)));
}
break;
}
case 9: {
READ_INT_VALUES(6)
- ivec2 transferred = BitTransferSigned(v[1], v[0]);
- v[1] = transferred.x;
- v[0] = transferred.y;
- transferred = BitTransferSigned(v[3], v[2]);
- v[3] = transferred.x;
- v[2] = transferred.y;
- transferred = BitTransferSigned(v[5], v[4]);
- v[5] = transferred.x;
- v[4] = transferred.y;
- if ((v[1] + v[3] + v[5]) >= 0) {
- ep1 = ClampByte(ivec4(0xFF, v[0], v[2], v[4]));
- ep2 = ClampByte(ivec4(0xFF, v[0] + v[1], v[2] + v[3], v[4] + v[5]));
+ ivec2 transferred = BitTransferSigned(V[0].y, V[0].x);
+ V[0].y = transferred.x;
+ V[0].x = transferred.y;
+ transferred = BitTransferSigned(V[0].w, V[0].z);
+ V[0].w = transferred.x;
+ V[0].z = transferred.y;
+ transferred = BitTransferSigned(V[1].y, V[1].x);
+ V[1].y = transferred.x;
+ V[1].x = transferred.y;
+ if ((V[0].y + V[0].w + V[1].y) >= 0) {
+ ep1 = ClampByte(ivec4(0xFF, V[0].x, V[0].z, V[1].x));
+ ep2 = ClampByte(ivec4(0xFF, V[0].x + V[0].y, V[0].z + V[0].w, V[1].x + V[1].y));
} else {
- ep1 = ClampByte(BlueContract(0xFF, v[0] + v[1], v[2] + v[3], v[4] + v[5]));
- ep2 = ClampByte(BlueContract(0xFF, v[0], v[2], v[4]));
+ ep1 = ClampByte(BlueContract(0xFF, V[0].x + V[0].y, V[0].z + V[0].w, V[1].x + V[1].y));
+ ep2 = ClampByte(BlueContract(0xFF, V[0].x, V[0].z, V[1].x));
}
break;
}
case 10: {
READ_UINT_VALUES(6)
- ep1 = uvec4(v[4], (v[0] * v[3]) >> 8, (v[1] * v[3]) >> 8, (v[2] * v[3]) >> 8);
- ep2 = uvec4(v[5], v[0], v[1], v[2]);
+ ep1 = uvec4(V[1].x, (V[0].x * V[0].w) >> 8, (V[0].y * V[0].w) >> 8, (V[0].z * V[0].w) >> 8);
+ ep2 = uvec4(V[1].y, V[0].x, V[0].y, V[0].z);
break;
}
case 12: {
READ_UINT_VALUES(8)
- if ((v[1] + v[3] + v[5]) >= (v[0] + v[2] + v[4])) {
- ep1 = uvec4(v[6], v[0], v[2], v[4]);
- ep2 = uvec4(v[7], v[1], v[3], v[5]);
+ if ((V[0].y + V[0].w + V[1].y) >= (V[0].x + V[0].z + V[1].x)) {
+ ep1 = uvec4(V[1].z, V[0].x, V[0].z, V[1].x);
+ ep2 = uvec4(V[1].w, V[0].y, V[0].w, V[1].y);
} else {
- ep1 = uvec4(BlueContract(int(v[7]), int(v[1]), int(v[3]), int(v[5])));
- ep2 = uvec4(BlueContract(int(v[6]), int(v[0]), int(v[2]), int(v[4])));
+ ep1 = uvec4(BlueContract(int(V[1].w), int(V[0].y), int(V[0].w), int(V[1].y)));
+ ep2 = uvec4(BlueContract(int(V[1].z), int(V[0].x), int(V[0].z), int(V[1].x)));
}
break;
}
case 13: {
READ_INT_VALUES(8)
- ivec2 transferred = BitTransferSigned(v[1], v[0]);
- v[1] = transferred.x;
- v[0] = transferred.y;
- transferred = BitTransferSigned(v[3], v[2]);
- v[3] = transferred.x;
- v[2] = transferred.y;
-
- transferred = BitTransferSigned(v[5], v[4]);
- v[5] = transferred.x;
- v[4] = transferred.y;
-
- transferred = BitTransferSigned(v[7], v[6]);
- v[7] = transferred.x;
- v[6] = transferred.y;
-
- if ((v[1] + v[3] + v[5]) >= 0) {
- ep1 = ClampByte(ivec4(v[6], v[0], v[2], v[4]));
- ep2 = ClampByte(ivec4(v[7] + v[6], v[0] + v[1], v[2] + v[3], v[4] + v[5]));
+ ivec2 transferred = BitTransferSigned(V[0].y, V[0].x);
+ V[0].y = transferred.x;
+ V[0].x = transferred.y;
+ transferred = BitTransferSigned(V[0].w, V[0].z);
+ V[0].w = transferred.x;
+ V[0].z = transferred.y;
+
+ transferred = BitTransferSigned(V[1].y, V[1].x);
+ V[1].y = transferred.x;
+ V[1].x = transferred.y;
+
+ transferred = BitTransferSigned(V[1].w, V[1].z);
+ V[1].w = transferred.x;
+ V[1].z = transferred.y;
+
+ if ((V[0].y + V[0].w + V[1].y) >= 0) {
+ ep1 = ClampByte(ivec4(V[1].z, V[0].x, V[0].z, V[1].x));
+ ep2 = ClampByte(ivec4(V[1].w + V[1].z, V[0].x + V[0].y, V[0].z + V[0].w, V[1].x + V[1].y));
} else {
- ep1 = ClampByte(BlueContract(v[6] + v[7], v[0] + v[1], v[2] + v[3], v[4] + v[5]));
- ep2 = ClampByte(BlueContract(v[6], v[0], v[2], v[4]));
+ ep1 = ClampByte(BlueContract(V[1].z + V[1].w, V[0].x + V[0].y, V[0].z + V[0].w, V[1].x + V[1].y));
+ ep2 = ClampByte(BlueContract(V[1].z, V[0].x, V[0].z, V[1].x));
}
break;
}
@@ -812,36 +727,34 @@ void ComputeEndpoints(out uvec4 ep1, out uvec4 ep2, uint color_endpoint_mode) {
}
uint UnquantizeTexelWeight(EncodingData val) {
- uint bitval = val.bit_value;
- uint bitlen = val.num_bits;
- uint A = ReplicateBitTo7((bitval & 1));
+ const uint encoding = Encoding(val);
+ const uint bitlen = NumBits(val);
+ const uint bitval = BitValue(val);
+ const uint A = ReplicateBitTo7((bitval & 1));
uint B = 0, C = 0, D = 0;
uint result = 0;
- switch (val.encoding) {
+ const uint bitlen_0_results[5] = {0, 16, 32, 48, 64};
+ switch (encoding) {
case JUST_BITS:
- result = FastReplicateTo6(bitval, bitlen);
- break;
+ return FastReplicateTo6(bitval, bitlen);
case TRIT: {
- D = val.quint_trit_value;
+ D = QuintTritValue(val);
switch (bitlen) {
- case 0: {
- uint results[3] = {0, 32, 63};
- result = results[D];
- break;
- }
+ case 0:
+ return bitlen_0_results[D * 2];
case 1: {
C = 50;
break;
}
case 2: {
C = 23;
- uint b = (bitval >> 1) & 1;
+ const uint b = (bitval >> 1) & 1;
B = (b << 6) | (b << 2) | b;
break;
}
case 3: {
C = 11;
- uint cb = (bitval >> 1) & 3;
+ const uint cb = (bitval >> 1) & 3;
B = (cb << 5) | cb;
break;
}
@@ -851,20 +764,17 @@ uint UnquantizeTexelWeight(EncodingData val) {
break;
}
case QUINT: {
- D = val.quint_trit_value;
+ D = QuintTritValue(val);
switch (bitlen) {
- case 0: {
- uint results[5] = {0, 16, 32, 47, 63};
- result = results[D];
- break;
- }
+ case 0:
+ return bitlen_0_results[D];
case 1: {
C = 28;
break;
}
case 2: {
C = 13;
- uint b = (bitval >> 1) & 1;
+ const uint b = (bitval >> 1) & 1;
B = (b << 6) | (b << 1);
break;
}
@@ -872,7 +782,7 @@ uint UnquantizeTexelWeight(EncodingData val) {
break;
}
}
- if (val.encoding != JUST_BITS && bitlen > 0) {
+ if (encoding != JUST_BITS && bitlen > 0) {
result = D * C + B;
result ^= A;
result = (A & 0x20) | (result >> 2);
@@ -883,61 +793,77 @@ uint UnquantizeTexelWeight(EncodingData val) {
return result;
}
-void UnquantizeTexelWeights(bool dual_plane, uvec2 size) {
- uint weight_idx = 0;
- uint unquantized[2][144];
- uint area = size.x * size.y;
- for (uint itr = 0; itr < texel_vector_index; itr++) {
- unquantized[0][weight_idx] = UnquantizeTexelWeight(texel_vector[itr]);
- if (dual_plane) {
- ++itr;
- unquantized[1][weight_idx] = UnquantizeTexelWeight(texel_vector[itr]);
- if (itr == texel_vector_index) {
- break;
- }
- }
- if (++weight_idx >= (area))
- break;
+void UnquantizeTexelWeights(uvec2 size, bool is_dual_plane) {
+ const uint num_planes = is_dual_plane ? 2 : 1;
+ const uint area = size.x * size.y;
+ const uint loop_count = min(result_index, area * num_planes);
+ for (uint itr = 0; itr < loop_count; ++itr) {
+ result_vector[itr] =
+ UnquantizeTexelWeight(GetEncodingFromVector(itr));
}
+}
+
+uint GetUnquantizedTexelWieght(uint offset_base, uint plane, bool is_dual_plane) {
+ const uint offset = is_dual_plane ? 2 * offset_base + plane : offset_base;
+ return result_vector[offset];
+}
+uvec4 GetUnquantizedWeightVector(uint t, uint s, uvec2 size, uint plane_index, bool is_dual_plane) {
const uint Ds = uint((block_dims.x * 0.5f + 1024) / (block_dims.x - 1));
const uint Dt = uint((block_dims.y * 0.5f + 1024) / (block_dims.y - 1));
- const uint k_plane_scale = dual_plane ? 2 : 1;
- for (uint plane = 0; plane < k_plane_scale; plane++) {
- for (uint t = 0; t < block_dims.y; t++) {
- for (uint s = 0; s < block_dims.x; s++) {
- uint cs = Ds * s;
- uint ct = Dt * t;
- uint gs = (cs * (size.x - 1) + 32) >> 6;
- uint gt = (ct * (size.y - 1) + 32) >> 6;
- uint js = gs >> 4;
- uint fs = gs & 0xF;
- uint jt = gt >> 4;
- uint ft = gt & 0x0F;
- uint w11 = (fs * ft + 8) >> 4;
- uint w10 = ft - w11;
- uint w01 = fs - w11;
- uint w00 = 16 - fs - ft + w11;
- uvec4 w = uvec4(w00, w01, w10, w11);
- uint v0 = jt * size.x + js;
-
- uvec4 p = uvec4(0);
- if (v0 < area) {
- p.x = unquantized[plane][v0];
- }
- if ((v0 + 1) < (area)) {
- p.y = unquantized[plane][v0 + 1];
- }
- if ((v0 + size.x) < (area)) {
- p.z = unquantized[plane][(v0 + size.x)];
- }
- if ((v0 + size.x + 1) < (area)) {
- p.w = unquantized[plane][(v0 + size.x + 1)];
- }
- unquantized_texel_weights[plane][t * block_dims.x + s] = (uint(dot(p, w)) + 8) >> 4;
- }
+ const uint area = size.x * size.y;
+
+ const uint cs = Ds * s;
+ const uint ct = Dt * t;
+ const uint gs = (cs * (size.x - 1) + 32) >> 6;
+ const uint gt = (ct * (size.y - 1) + 32) >> 6;
+ const uint js = gs >> 4;
+ const uint fs = gs & 0xF;
+ const uint jt = gt >> 4;
+ const uint ft = gt & 0x0F;
+ const uint w11 = (fs * ft + 8) >> 4;
+ const uint w10 = ft - w11;
+ const uint w01 = fs - w11;
+ const uint w00 = 16 - fs - ft + w11;
+ const uvec4 w = uvec4(w00, w01, w10, w11);
+ const uint v0 = jt * size.x + js;
+
+ uvec4 p0 = uvec4(0);
+ uvec4 p1 = uvec4(0);
+
+ if (v0 < area) {
+ const uint offset_base = v0;
+ p0.x = GetUnquantizedTexelWieght(offset_base, 0, is_dual_plane);
+ p1.x = GetUnquantizedTexelWieght(offset_base, 1, is_dual_plane);
+ }
+ if ((v0 + 1) < (area)) {
+ const uint offset_base = v0 + 1;
+ p0.y = GetUnquantizedTexelWieght(offset_base, 0, is_dual_plane);
+ p1.y = GetUnquantizedTexelWieght(offset_base, 1, is_dual_plane);
+ }
+ if ((v0 + size.x) < (area)) {
+ const uint offset_base = v0 + size.x;
+ p0.z = GetUnquantizedTexelWieght(offset_base, 0, is_dual_plane);
+ p1.z = GetUnquantizedTexelWieght(offset_base, 1, is_dual_plane);
+ }
+ if ((v0 + size.x + 1) < (area)) {
+ const uint offset_base = v0 + size.x + 1;
+ p0.w = GetUnquantizedTexelWieght(offset_base, 0, is_dual_plane);
+ p1.w = GetUnquantizedTexelWieght(offset_base, 1, is_dual_plane);
+ }
+
+ const uint primary_weight = (uint(dot(p0, w)) + 8) >> 4;
+
+ uvec4 weight_vec = uvec4(primary_weight);
+
+ if (is_dual_plane) {
+ const uint secondary_weight = (uint(dot(p1, w)) + 8) >> 4;
+ for (uint c = 0; c < 4; c++) {
+ const bool is_secondary = ((plane_index + 1u) & 3u) == c;
+ weight_vec[c] = is_secondary ? secondary_weight : primary_weight;
}
}
+ return weight_vec;
}
int FindLayout(uint mode) {
@@ -971,80 +897,96 @@ int FindLayout(uint mode) {
return 5;
}
-TexelWeightParams DecodeBlockInfo() {
- TexelWeightParams params = TexelWeightParams(uvec2(0), 0, false, false, false, false);
- uint mode = StreamBits(11);
+
+void FillError(ivec3 coord) {
+ for (uint j = 0; j < block_dims.y; j++) {
+ for (uint i = 0; i < block_dims.x; i++) {
+ imageStore(dest_image, coord + ivec3(i, j, 0), vec4(0.0, 0.0, 0.0, 0.0));
+ }
+ }
+}
+
+void FillVoidExtentLDR(ivec3 coord) {
+ SkipBits(52);
+ const uint r_u = StreamBits(16);
+ const uint g_u = StreamBits(16);
+ const uint b_u = StreamBits(16);
+ const uint a_u = StreamBits(16);
+ const float a = float(a_u) / 65535.0f;
+ const float r = float(r_u) / 65535.0f;
+ const float g = float(g_u) / 65535.0f;
+ const float b = float(b_u) / 65535.0f;
+ for (uint j = 0; j < block_dims.y; j++) {
+ for (uint i = 0; i < block_dims.x; i++) {
+ imageStore(dest_image, coord + ivec3(i, j, 0), vec4(r, g, b, a));
+ }
+ }
+}
+
+bool IsError(uint mode) {
if ((mode & 0x1ff) == 0x1fc) {
if ((mode & 0x200) != 0) {
- params.void_extent_hdr = true;
- } else {
- params.void_extent_ldr = true;
+ // params.void_extent_hdr = true;
+ return true;
}
if ((mode & 0x400) == 0 || StreamBits(1) == 0) {
- params.error_state = true;
+ return true;
}
- return params;
+ return false;
}
if ((mode & 0xf) == 0) {
- params.error_state = true;
- return params;
+ return true;
}
if ((mode & 3) == 0 && (mode & 0x1c0) == 0x1c0) {
- params.error_state = true;
- return params;
+ return true;
}
+ return false;
+}
+
+uvec2 DecodeBlockSize(uint mode) {
uint A, B;
- uint mode_layout = FindLayout(mode);
- switch (mode_layout) {
+ switch (FindLayout(mode)) {
case 0:
A = (mode >> 5) & 0x3;
B = (mode >> 7) & 0x3;
- params.size = uvec2(B + 4, A + 2);
- break;
+ return uvec2(B + 4, A + 2);
case 1:
A = (mode >> 5) & 0x3;
B = (mode >> 7) & 0x3;
- params.size = uvec2(B + 8, A + 2);
- break;
+ return uvec2(B + 8, A + 2);
case 2:
A = (mode >> 5) & 0x3;
B = (mode >> 7) & 0x3;
- params.size = uvec2(A + 2, B + 8);
- break;
+ return uvec2(A + 2, B + 8);
case 3:
A = (mode >> 5) & 0x3;
B = (mode >> 7) & 0x1;
- params.size = uvec2(A + 2, B + 6);
- break;
+ return uvec2(A + 2, B + 6);
case 4:
A = (mode >> 5) & 0x3;
B = (mode >> 7) & 0x1;
- params.size = uvec2(B + 2, A + 2);
- break;
+ return uvec2(B + 2, A + 2);
case 5:
A = (mode >> 5) & 0x3;
- params.size = uvec2(12, A + 2);
- break;
+ return uvec2(12, A + 2);
case 6:
A = (mode >> 5) & 0x3;
- params.size = uvec2(A + 2, 12);
- break;
+ return uvec2(A + 2, 12);
case 7:
- params.size = uvec2(6, 10);
- break;
+ return uvec2(6, 10);
case 8:
- params.size = uvec2(10, 6);
- break;
+ return uvec2(10, 6);
case 9:
A = (mode >> 5) & 0x3;
B = (mode >> 9) & 0x3;
- params.size = uvec2(A + 6, B + 6);
- break;
+ return uvec2(A + 6, B + 6);
default:
- params.error_state = true;
- break;
+ return uvec2(0);
}
- params.dual_plane = (mode_layout != 9) && ((mode & 0x400) != 0);
+}
+
+uint DecodeMaxWeight(uint mode) {
+ const uint mode_layout = FindLayout(mode);
uint weight_index = (mode & 0x10) != 0 ? 1 : 0;
if (mode_layout < 5) {
weight_index |= (mode & 0x3) << 1;
@@ -1053,64 +995,34 @@ TexelWeightParams DecodeBlockInfo() {
}
weight_index -= 2;
if ((mode_layout != 9) && ((mode & 0x200) != 0)) {
- const int max_weights[6] = int[6](7, 8, 9, 10, 11, 12);
- params.max_weight = max_weights[weight_index];
- } else {
- const int max_weights[6] = int[6](1, 2, 3, 4, 5, 6);
- params.max_weight = max_weights[weight_index];
- }
- return params;
-}
-
-void FillError(ivec3 coord) {
- for (uint j = 0; j < block_dims.y; j++) {
- for (uint i = 0; i < block_dims.x; i++) {
- imageStore(dest_image, coord + ivec3(i, j, 0), vec4(0.0, 0.0, 0.0, 0.0));
- }
- }
-}
-
-void FillVoidExtentLDR(ivec3 coord) {
- StreamBits(52);
- uint r_u = StreamBits(16);
- uint g_u = StreamBits(16);
- uint b_u = StreamBits(16);
- uint a_u = StreamBits(16);
- float a = float(a_u) / 65535.0f;
- float r = float(r_u) / 65535.0f;
- float g = float(g_u) / 65535.0f;
- float b = float(b_u) / 65535.0f;
- for (uint j = 0; j < block_dims.y; j++) {
- for (uint i = 0; i < block_dims.x; i++) {
- imageStore(dest_image, coord + ivec3(i, j, 0), vec4(r, g, b, a));
- }
+ weight_index += 6;
}
+ return weight_index + 1;
}
void DecompressBlock(ivec3 coord) {
- TexelWeightParams params = DecodeBlockInfo();
- if (params.error_state) {
- FillError(coord);
- return;
- }
- if (params.void_extent_hdr) {
+ uint mode = StreamBits(11);
+ if (IsError(mode)) {
FillError(coord);
return;
}
- if (params.void_extent_ldr) {
+ if ((mode & 0x1ff) == 0x1fc) {
+ // params.void_extent_ldr = true;
FillVoidExtentLDR(coord);
return;
}
- if ((params.size.x > block_dims.x) || (params.size.y > block_dims.y)) {
+ const uvec2 size_params = DecodeBlockSize(mode);
+ if ((size_params.x > block_dims.x) || (size_params.y > block_dims.y)) {
FillError(coord);
return;
}
- uint num_partitions = StreamBits(2) + 1;
- if (num_partitions > 4 || (num_partitions == 4 && params.dual_plane)) {
+ const uint num_partitions = StreamBits(2) + 1;
+ const uint mode_layout = FindLayout(mode);
+ const bool dual_plane = (mode_layout != 9) && ((mode & 0x400) != 0);
+ if (num_partitions > 4 || (num_partitions == 4 && dual_plane)) {
FillError(coord);
return;
}
- int plane_index = -1;
uint partition_index = 1;
uvec4 color_endpoint_mode = uvec4(0);
uint ced_pointer = 0;
@@ -1122,8 +1034,9 @@ void DecompressBlock(ivec3 coord) {
partition_index = StreamBits(10);
base_cem = StreamBits(6);
}
- uint base_mode = base_cem & 3;
- uint weight_bits = GetPackedBitSize(params.size, params.dual_plane, params.max_weight);
+ const uint base_mode = base_cem & 3;
+ const uint max_weight = DecodeMaxWeight(mode);
+ const uint weight_bits = GetPackedBitSize(size_params, dual_plane, max_weight);
uint remaining_bits = 128 - weight_bits - total_bitsread;
uint extra_cem_bits = 0;
if (base_mode > 0) {
@@ -1142,10 +1055,7 @@ void DecompressBlock(ivec3 coord) {
}
}
remaining_bits -= extra_cem_bits;
- uint plane_selector_bits = 0;
- if (params.dual_plane) {
- plane_selector_bits = 2;
- }
+ const uint plane_selector_bits = dual_plane ? 2 : 0;
remaining_bits -= plane_selector_bits;
if (remaining_bits > 128) {
// Bad data, more remaining bits than 4 bytes
@@ -1153,17 +1063,17 @@ void DecompressBlock(ivec3 coord) {
return;
}
// Read color data...
- uint color_data_bits = remaining_bits;
+ const uint color_data_bits = remaining_bits;
while (remaining_bits > 0) {
- int nb = int(min(remaining_bits, 32U));
- uint b = StreamBits(nb);
+ const int nb = int(min(remaining_bits, 32U));
+ const uint b = StreamBits(nb);
color_endpoint_data[ced_pointer] = uint(bitfieldExtract(b, 0, nb));
++ced_pointer;
remaining_bits -= nb;
}
- plane_index = int(StreamBits(plane_selector_bits));
+ const uint plane_index = uint(StreamBits(plane_selector_bits));
if (base_mode > 0) {
- uint extra_cem = StreamBits(extra_cem_bits);
+ const uint extra_cem = StreamBits(extra_cem_bits);
uint cem = (extra_cem << 6) | base_cem;
cem >>= 2;
uvec4 C = uvec4(0);
@@ -1185,70 +1095,80 @@ void DecompressBlock(ivec3 coord) {
color_endpoint_mode[i] |= M[i];
}
} else if (num_partitions > 1) {
- uint cem = base_cem >> 2;
+ const uint cem = base_cem >> 2;
for (uint i = 0; i < num_partitions; i++) {
color_endpoint_mode[i] = cem;
}
}
- DecodeColorValues(color_endpoint_mode, num_partitions, color_data_bits);
- uvec4 endpoints[4][2];
- for (uint i = 0; i < num_partitions; i++) {
- ComputeEndpoints(endpoints[i][0], endpoints[i][1], color_endpoint_mode[i]);
+ uvec4 endpoints0[4];
+ uvec4 endpoints1[4];
+ {
+ // This decode phase should at most push 32 elements into the vector
+ result_vector_max_index = 32;
+ uint color_values[32];
+ uint colvals_index = 0;
+ DecodeColorValues(color_endpoint_mode, num_partitions, color_data_bits, color_values);
+ for (uint i = 0; i < num_partitions; i++) {
+ ComputeEndpoints(endpoints0[i], endpoints1[i], color_endpoint_mode[i], color_values,
+ colvals_index);
+ }
}
+ color_endpoint_data = local_buff;
+ color_endpoint_data = bitfieldReverse(color_endpoint_data).wzyx;
+ const uint clear_byte_start = (weight_bits >> 3) + 1;
- texel_weight_data = local_buff;
- texel_weight_data = bitfieldReverse(texel_weight_data).wzyx;
- uint clear_byte_start =
- (GetPackedBitSize(params.size, params.dual_plane, params.max_weight) >> 3) + 1;
-
- uint byte_insert = ExtractBits(texel_weight_data, int(clear_byte_start - 1) * 8, 8) &
- uint(
- ((1 << (GetPackedBitSize(params.size, params.dual_plane, params.max_weight) % 8)) - 1));
- uint vec_index = (clear_byte_start - 1) >> 2;
- texel_weight_data[vec_index] =
- bitfieldInsert(texel_weight_data[vec_index], byte_insert, int((clear_byte_start - 1) % 4) * 8, 8);
+ const uint byte_insert = ExtractBits(color_endpoint_data, int(clear_byte_start - 1) * 8, 8) &
+ uint(((1 << (weight_bits % 8)) - 1));
+ const uint vec_index = (clear_byte_start - 1) >> 2;
+ color_endpoint_data[vec_index] = bitfieldInsert(color_endpoint_data[vec_index], byte_insert,
+ int((clear_byte_start - 1) % 4) * 8, 8);
for (uint i = clear_byte_start; i < 16; ++i) {
- uint idx = i >> 2;
- texel_weight_data[idx] = bitfieldInsert(texel_weight_data[idx], 0, int(i % 4) * 8, 8);
+ const uint idx = i >> 2;
+ color_endpoint_data[idx] = bitfieldInsert(color_endpoint_data[idx], 0, int(i % 4) * 8, 8);
}
- texel_flag = true; // use texel "vector" and bit stream in integer decoding
- DecodeIntegerSequence(params.max_weight, GetNumWeightValues(params.size, params.dual_plane));
- UnquantizeTexelWeights(params.dual_plane, params.size);
+ // Re-init vector variables for next decode phase
+ result_index = 0;
+ color_bitsread = 0;
+ result_limit_reached = false;
+ // The limit for the Unquantize phase, avoids decoding more data than needed.
+ result_vector_max_index = size_params.x * size_params.y;
+ if (dual_plane) {
+ result_vector_max_index *= 2;
+ }
+ DecodeIntegerSequence(max_weight, GetNumWeightValues(size_params, dual_plane));
+
+ UnquantizeTexelWeights(size_params, dual_plane);
for (uint j = 0; j < block_dims.y; j++) {
for (uint i = 0; i < block_dims.x; i++) {
uint local_partition = 0;
if (num_partitions > 1) {
- local_partition = Select2DPartition(partition_index, i, j, num_partitions,
- (block_dims.y * block_dims.x) < 32);
- }
- vec4 p;
- uvec4 C0 = ReplicateByteTo16(endpoints[local_partition][0]);
- uvec4 C1 = ReplicateByteTo16(endpoints[local_partition][1]);
- uvec4 plane_vec = uvec4(0);
- uvec4 weight_vec = uvec4(0);
- for (uint c = 0; c < 4; c++) {
- if (params.dual_plane && (((plane_index + 1) & 3) == c)) {
- plane_vec[c] = 1;
- }
- weight_vec[c] = unquantized_texel_weights[plane_vec[c]][j * block_dims.x + i];
+ local_partition = Select2DPartition(partition_index, i, j, num_partitions);
}
- vec4 Cf = vec4((C0 * (uvec4(64) - weight_vec) + C1 * weight_vec + uvec4(32)) / 64);
- p = (Cf / 65535.0);
+ const uvec4 C0 = ReplicateByteTo16(endpoints0[local_partition]);
+ const uvec4 C1 = ReplicateByteTo16(endpoints1[local_partition]);
+ const uvec4 weight_vec = GetUnquantizedWeightVector(j, i, size_params, plane_index, dual_plane);
+ const vec4 Cf =
+ vec4((C0 * (uvec4(64) - weight_vec) + C1 * weight_vec + uvec4(32)) / 64);
+ const vec4 p = (Cf / 65535.0f);
imageStore(dest_image, coord + ivec3(i, j, 0), p.gbar);
}
}
}
+uint SwizzleOffset(uvec2 pos) {
+ const uint x = pos.x;
+ const uint y = pos.y;
+ return ((x % 64) / 32) * 256 + ((y % 8) / 2) * 64 +
+ ((x % 32) / 16) * 32 + (y % 2) * 16 + (x % 16);
+}
+
void main() {
uvec3 pos = gl_GlobalInvocationID;
pos.x <<= BYTES_PER_BLOCK_LOG2;
-
- // Read as soon as possible due to its latency
const uint swizzle = SwizzleOffset(pos.xy);
-
const uint block_y = pos.y >> GOB_SIZE_Y_SHIFT;
uint offset = 0;
@@ -1262,8 +1182,6 @@ void main() {
if (any(greaterThanEqual(coord, imageSize(dest_image)))) {
return;
}
- current_index = 0;
- bitsread = 0;
local_buff = astc_data[offset / 16];
DecompressBlock(coord);
}
diff --git a/src/video_core/host_shaders/convert_d32f_to_abgr8.frag b/src/video_core/host_shaders/convert_d32f_to_abgr8.frag
new file mode 100644
index 000000000..04cfef8b5
--- /dev/null
+++ b/src/video_core/host_shaders/convert_d32f_to_abgr8.frag
@@ -0,0 +1,14 @@
+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#version 450
+
+layout(binding = 0) uniform sampler2D depth_tex;
+
+layout(location = 0) out vec4 color;
+
+void main() {
+ ivec2 coord = ivec2(gl_FragCoord.xy);
+ float depth = textureLod(depth_tex, coord, 0).r;
+ color = vec4(depth, depth, depth, 1.0);
+}
diff --git a/src/video_core/host_shaders/convert_msaa_to_non_msaa.comp b/src/video_core/host_shaders/convert_msaa_to_non_msaa.comp
index fc3854d18..66f2ad483 100644
--- a/src/video_core/host_shaders/convert_msaa_to_non_msaa.comp
+++ b/src/video_core/host_shaders/convert_msaa_to_non_msaa.comp
@@ -15,11 +15,14 @@ void main() {
// TODO: Specialization constants for num_samples?
const int num_samples = imageSamples(msaa_in);
+ const ivec3 msaa_size = imageSize(msaa_in);
+ const ivec3 out_size = imageSize(output_img);
+ const ivec3 scale = out_size / msaa_size;
for (int curr_sample = 0; curr_sample < num_samples; ++curr_sample) {
const vec4 pixel = imageLoad(msaa_in, coords, curr_sample);
- const int single_sample_x = 2 * coords.x + (curr_sample & 1);
- const int single_sample_y = 2 * coords.y + ((curr_sample / 2) & 1);
+ const int single_sample_x = scale.x * coords.x + (curr_sample & 1);
+ const int single_sample_y = scale.y * coords.y + ((curr_sample / 2) & 1);
const ivec3 dest_coords = ivec3(single_sample_x, single_sample_y, coords.z);
if (any(greaterThanEqual(dest_coords, imageSize(output_img)))) {
diff --git a/src/video_core/host_shaders/convert_non_msaa_to_msaa.comp b/src/video_core/host_shaders/convert_non_msaa_to_msaa.comp
index dedd962f1..c7ce38efa 100644
--- a/src/video_core/host_shaders/convert_non_msaa_to_msaa.comp
+++ b/src/video_core/host_shaders/convert_non_msaa_to_msaa.comp
@@ -15,9 +15,12 @@ void main() {
// TODO: Specialization constants for num_samples?
const int num_samples = imageSamples(output_msaa);
+ const ivec3 msaa_size = imageSize(output_msaa);
+ const ivec3 out_size = imageSize(img_in);
+ const ivec3 scale = out_size / msaa_size;
for (int curr_sample = 0; curr_sample < num_samples; ++curr_sample) {
- const int single_sample_x = 2 * coords.x + (curr_sample & 1);
- const int single_sample_y = 2 * coords.y + ((curr_sample / 2) & 1);
+ const int single_sample_x = scale.x * coords.x + (curr_sample & 1);
+ const int single_sample_y = scale.y * coords.y + ((curr_sample / 2) & 1);
const ivec3 single_coords = ivec3(single_sample_x, single_sample_y, coords.z);
if (any(greaterThanEqual(single_coords, imageSize(img_in)))) {
diff --git a/src/video_core/host_shaders/queries_prefix_scan_sum.comp b/src/video_core/host_shaders/queries_prefix_scan_sum.comp
new file mode 100644
index 000000000..6faa8981f
--- /dev/null
+++ b/src/video_core/host_shaders/queries_prefix_scan_sum.comp
@@ -0,0 +1,173 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#version 460 core
+
+#extension GL_KHR_shader_subgroup_basic : require
+#extension GL_KHR_shader_subgroup_shuffle : require
+#extension GL_KHR_shader_subgroup_shuffle_relative : require
+#extension GL_KHR_shader_subgroup_arithmetic : require
+
+#ifdef VULKAN
+
+#define HAS_EXTENDED_TYPES 1
+#define BEGIN_PUSH_CONSTANTS layout(push_constant) uniform PushConstants {
+#define END_PUSH_CONSTANTS };
+#define UNIFORM(n)
+#define BINDING_INPUT_BUFFER 0
+#define BINDING_OUTPUT_IMAGE 1
+
+#else // ^^^ Vulkan ^^^ // vvv OpenGL vvv
+
+#extension GL_NV_gpu_shader5 : enable
+#ifdef GL_NV_gpu_shader5
+#define HAS_EXTENDED_TYPES 1
+#else
+#define HAS_EXTENDED_TYPES 0
+#endif
+#define BEGIN_PUSH_CONSTANTS
+#define END_PUSH_CONSTANTS
+#define UNIFORM(n) layout(location = n) uniform
+#define BINDING_INPUT_BUFFER 0
+#define BINDING_OUTPUT_IMAGE 0
+
+#endif
+
+BEGIN_PUSH_CONSTANTS
+UNIFORM(0) uint min_accumulation_base;
+UNIFORM(1) uint max_accumulation_base;
+UNIFORM(2) uint accumulation_limit;
+UNIFORM(3) uint buffer_offset;
+END_PUSH_CONSTANTS
+
+#define LOCAL_RESULTS 8
+#define QUERIES_PER_INVOC 2048
+
+layout(local_size_x = QUERIES_PER_INVOC / LOCAL_RESULTS) in;
+
+layout(std430, binding = 0) readonly buffer block1 {
+ uvec2 input_data[];
+};
+
+layout(std430, binding = 1) coherent buffer block2 {
+ uvec2 output_data[];
+};
+
+layout(std430, binding = 2) coherent buffer block3 {
+ uvec2 accumulated_data;
+};
+
+shared uvec2 shared_data[128];
+
+// Simple Uint64 add that uses 2 uint variables for GPUs that don't support uint64
+uvec2 AddUint64(uvec2 value_1, uvec2 value_2) {
+ uint carry = 0;
+ uvec2 result;
+ result.x = uaddCarry(value_1.x, value_2.x, carry);
+ result.y = value_1.y + value_2.y + carry;
+ return result;
+}
+
+// do subgroup Prefix Sum using Hillis and Steele's algorithm
+uvec2 subgroupInclusiveAddUint64(uvec2 value) {
+ uvec2 result = value;
+ for (uint i = 1; i < gl_SubgroupSize; i *= 2) {
+ uvec2 other = subgroupShuffleUp(result, i); // get value from subgroup_inv_id - i;
+ if (i <= gl_SubgroupInvocationID) {
+ result = AddUint64(result, other);
+ }
+ }
+ return result;
+}
+
+// Writes down the results to the output buffer and to the accumulation buffer
+void WriteResults(uvec2 results[LOCAL_RESULTS]) {
+ const uint current_id = gl_LocalInvocationID.x;
+ const uvec2 accum = accumulated_data;
+ for (uint i = 0; i < LOCAL_RESULTS; i++) {
+ uvec2 base_data = current_id * LOCAL_RESULTS + i < min_accumulation_base ? accum : uvec2(0, 0);
+ AddUint64(results[i], base_data);
+ }
+ for (uint i = 0; i < LOCAL_RESULTS; i++) {
+ output_data[buffer_offset + current_id * LOCAL_RESULTS + i] = results[i];
+ }
+ uint index = accumulation_limit % LOCAL_RESULTS;
+ uint base_id = accumulation_limit / LOCAL_RESULTS;
+ if (min_accumulation_base >= accumulation_limit + 1) {
+ if (current_id == base_id) {
+ accumulated_data = results[index];
+ }
+ return;
+ }
+ // We have that ugly case in which the accumulation data is reset in the middle somewhere.
+ barrier();
+ groupMemoryBarrier();
+
+ if (current_id == base_id) {
+ uvec2 reset_value = output_data[max_accumulation_base - 1];
+ // Calculate two complement / negate manually
+ reset_value = AddUint64(uvec2(1,0), ~reset_value);
+ accumulated_data = AddUint64(results[index], reset_value);
+ }
+}
+
+void main() {
+ const uint subgroup_inv_id = gl_SubgroupInvocationID;
+ const uint subgroup_id = gl_SubgroupID + gl_WorkGroupID.x * gl_NumSubgroups;
+ const uint last_subgroup_id = subgroupMax(subgroup_inv_id);
+ const uint current_id = gl_LocalInvocationID.x;
+ const uint total_work = accumulation_limit;
+ const uint last_result_id = LOCAL_RESULTS - 1;
+ uvec2 data[LOCAL_RESULTS];
+ for (uint i = 0; i < LOCAL_RESULTS; i++) {
+ data[i] = input_data[buffer_offset + current_id * LOCAL_RESULTS + i];
+ }
+ uvec2 results[LOCAL_RESULTS];
+ results[0] = data[0];
+ for (uint i = 1; i < LOCAL_RESULTS; i++) {
+ results[i] = AddUint64(data[i], results[i - 1]);
+ }
+ // make sure all input data has been loaded
+ subgroupBarrier();
+ subgroupMemoryBarrier();
+
+ // on the last local result, do a subgroup inclusive scan sum
+ results[last_result_id] = subgroupInclusiveAddUint64(results[last_result_id]);
+ // get the last local result from the subgroup behind the current
+ uvec2 result_behind = subgroupShuffleUp(results[last_result_id], 1);
+ if (subgroup_inv_id != 0) {
+ for (uint i = 1; i < LOCAL_RESULTS; i++) {
+ results[i - 1] = AddUint64(results[i - 1], result_behind);
+ }
+ }
+
+ // if we had less queries than our subgroup, just write down the results.
+ if (total_work <= gl_SubgroupSize * LOCAL_RESULTS) { // This condition is constant per dispatch.
+ WriteResults(results);
+ return;
+ }
+
+ // We now have more, so lets write the last result into shared memory.
+ // Only pick the last subgroup.
+ if (subgroup_inv_id == last_subgroup_id) {
+ shared_data[subgroup_id] = results[last_result_id];
+ }
+ // wait until everyone loaded their stuffs
+ barrier();
+ memoryBarrierShared();
+
+ // only if it's not the first subgroup
+ if (subgroup_id != 0) {
+ // get the results from some previous invocation
+ uvec2 tmp = shared_data[subgroup_inv_id];
+ subgroupBarrier();
+ subgroupMemoryBarrierShared();
+ tmp = subgroupInclusiveAddUint64(tmp);
+ // obtain the result that would be equivalent to the previous result
+ uvec2 shuffled_result = subgroupShuffle(tmp, subgroup_id - 1);
+ for (uint i = 0; i < LOCAL_RESULTS; i++) {
+ results[i] = AddUint64(results[i], shuffled_result);
+ }
+ }
+ WriteResults(results);
+} \ No newline at end of file
diff --git a/src/video_core/host_shaders/queries_prefix_scan_sum_nosubgroups.comp b/src/video_core/host_shaders/queries_prefix_scan_sum_nosubgroups.comp
new file mode 100644
index 000000000..559a213b9
--- /dev/null
+++ b/src/video_core/host_shaders/queries_prefix_scan_sum_nosubgroups.comp
@@ -0,0 +1,138 @@
+// SPDX-FileCopyrightText: Copyright 2015 Graham Sellers, Richard Wright Jr. and Nicholas Haemel
+// SPDX-License-Identifier: MIT
+
+// Code obtained from OpenGL SuperBible, Seventh Edition by Graham Sellers, Richard Wright Jr. and
+// Nicholas Haemel. Modified to suit needs.
+
+#version 460 core
+
+#ifdef VULKAN
+
+#define HAS_EXTENDED_TYPES 1
+#define BEGIN_PUSH_CONSTANTS layout(push_constant) uniform PushConstants {
+#define END_PUSH_CONSTANTS };
+#define UNIFORM(n)
+#define BINDING_INPUT_BUFFER 0
+#define BINDING_OUTPUT_IMAGE 1
+
+#else // ^^^ Vulkan ^^^ // vvv OpenGL vvv
+
+#extension GL_NV_gpu_shader5 : enable
+#ifdef GL_NV_gpu_shader5
+#define HAS_EXTENDED_TYPES 1
+#else
+#define HAS_EXTENDED_TYPES 0
+#endif
+#define BEGIN_PUSH_CONSTANTS
+#define END_PUSH_CONSTANTS
+#define UNIFORM(n) layout(location = n) uniform
+#define BINDING_INPUT_BUFFER 0
+#define BINDING_OUTPUT_IMAGE 0
+
+#endif
+
+BEGIN_PUSH_CONSTANTS
+UNIFORM(0) uint min_accumulation_base;
+UNIFORM(1) uint max_accumulation_base;
+UNIFORM(2) uint accumulation_limit;
+UNIFORM(3) uint buffer_offset;
+END_PUSH_CONSTANTS
+
+#define LOCAL_RESULTS 4
+#define QUERIES_PER_INVOC 2048
+
+layout(local_size_x = QUERIES_PER_INVOC / LOCAL_RESULTS) in;
+
+layout(std430, binding = 0) readonly buffer block1 {
+ uvec2 input_data[gl_WorkGroupSize.x * LOCAL_RESULTS];
+};
+
+layout(std430, binding = 1) writeonly coherent buffer block2 {
+ uvec2 output_data[gl_WorkGroupSize.x * LOCAL_RESULTS];
+};
+
+layout(std430, binding = 2) coherent buffer block3 {
+ uvec2 accumulated_data;
+};
+
+shared uvec2 shared_data[gl_WorkGroupSize.x * LOCAL_RESULTS];
+
+uvec2 AddUint64(uvec2 value_1, uvec2 value_2) {
+ uint carry = 0;
+ uvec2 result;
+ result.x = uaddCarry(value_1.x, value_2.x, carry);
+ result.y = value_1.y + value_2.y + carry;
+ return result;
+}
+
+void main(void) {
+ uint id = gl_LocalInvocationID.x;
+ uvec2 base_value[LOCAL_RESULTS];
+ const uvec2 accum = accumulated_data;
+ for (uint i = 0; i < LOCAL_RESULTS; i++) {
+ base_value[i] = (buffer_offset + id * LOCAL_RESULTS + i) < min_accumulation_base
+ ? accumulated_data
+ : uvec2(0);
+ }
+ uint work_size = gl_WorkGroupSize.x;
+ uint rd_id;
+ uint wr_id;
+ uint mask;
+ uvec2 inputs[LOCAL_RESULTS];
+ for (uint i = 0; i < LOCAL_RESULTS; i++) {
+ inputs[i] = input_data[buffer_offset + id * LOCAL_RESULTS + i];
+ }
+ // The number of steps is the log base 2 of the
+ // work group size, which should be a power of 2
+ const uint steps = uint(log2(work_size)) + uint(log2(LOCAL_RESULTS));
+ uint step = 0;
+
+ // Each invocation is responsible for the content of
+ // two elements of the output array
+ for (uint i = 0; i < LOCAL_RESULTS; i++) {
+ shared_data[id * LOCAL_RESULTS + i] = inputs[i];
+ }
+ // Synchronize to make sure that everyone has initialized
+ // their elements of shared_data[] with data loaded from
+ // the input arrays
+ barrier();
+ memoryBarrierShared();
+ // For each step...
+ for (step = 0; step < steps; step++) {
+ // Calculate the read and write index in the
+ // shared array
+ mask = (1 << step) - 1;
+ rd_id = ((id >> step) << (step + 1)) + mask;
+ wr_id = rd_id + 1 + (id & mask);
+ // Accumulate the read data into our element
+
+ shared_data[wr_id] = AddUint64(shared_data[rd_id], shared_data[wr_id]);
+ // Synchronize again to make sure that everyone
+ // has caught up with us
+ barrier();
+ memoryBarrierShared();
+ }
+ // Add the accumulation
+ for (uint i = 0; i < LOCAL_RESULTS; i++) {
+ shared_data[id * LOCAL_RESULTS + i] =
+ AddUint64(shared_data[id * LOCAL_RESULTS + i], base_value[i]);
+ }
+ barrier();
+ memoryBarrierShared();
+
+ // Finally write our data back to the output buffer
+ for (uint i = 0; i < LOCAL_RESULTS; i++) {
+ output_data[buffer_offset + id * LOCAL_RESULTS + i] = shared_data[id * LOCAL_RESULTS + i];
+ }
+ if (id == 0) {
+ if (min_accumulation_base >= accumulation_limit + 1) {
+ accumulated_data = shared_data[accumulation_limit];
+ return;
+ }
+ uvec2 reset_value = shared_data[max_accumulation_base - 1];
+ uvec2 final_value = shared_data[accumulation_limit];
+ // Two complements
+ reset_value = AddUint64(uvec2(1, 0), ~reset_value);
+ accumulated_data = AddUint64(final_value, reset_value);
+ }
+} \ No newline at end of file
diff --git a/src/video_core/host_shaders/resolve_conditional_render.comp b/src/video_core/host_shaders/resolve_conditional_render.comp
new file mode 100644
index 000000000..307e77d1a
--- /dev/null
+++ b/src/video_core/host_shaders/resolve_conditional_render.comp
@@ -0,0 +1,20 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#version 450
+
+layout(local_size_x = 1) in;
+
+layout(std430, binding = 0) buffer Query {
+ uvec2 initial;
+ uvec2 unknown;
+ uvec2 current;
+};
+
+layout(std430, binding = 1) buffer Result {
+ uint result;
+};
+
+void main() {
+ result = all(equal(initial, current)) ? 1 : 0;
+}
diff --git a/src/video_core/host_shaders/vulkan_depthstencil_clear.frag b/src/video_core/host_shaders/vulkan_depthstencil_clear.frag
new file mode 100644
index 000000000..1ac177c7e
--- /dev/null
+++ b/src/video_core/host_shaders/vulkan_depthstencil_clear.frag
@@ -0,0 +1,12 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#version 460 core
+
+layout (push_constant) uniform PushConstants {
+ vec4 clear_depth;
+};
+
+void main() {
+ gl_FragDepth = clear_depth.x;
+}
diff --git a/src/video_core/macro/macro.cpp b/src/video_core/macro/macro.cpp
index 905505ca1..5d0bb9cc4 100644
--- a/src/video_core/macro/macro.cpp
+++ b/src/video_core/macro/macro.cpp
@@ -27,14 +27,24 @@ MICROPROFILE_DEFINE(MacroHLE, "GPU", "Execute macro HLE", MP_RGB(128, 192, 192))
namespace Tegra {
-static void Dump(u64 hash, std::span<const u32> code) {
+static void Dump(u64 hash, std::span<const u32> code, bool decompiled = false) {
const auto base_dir{Common::FS::GetYuzuPath(Common::FS::YuzuPath::DumpDir)};
const auto macro_dir{base_dir / "macros"};
if (!Common::FS::CreateDir(base_dir) || !Common::FS::CreateDir(macro_dir)) {
LOG_ERROR(Common_Filesystem, "Failed to create macro dump directories");
return;
}
- const auto name{macro_dir / fmt::format("{:016x}.macro", hash)};
+ auto name{macro_dir / fmt::format("{:016x}.macro", hash)};
+
+ if (decompiled) {
+ auto new_name{macro_dir / fmt::format("decompiled_{:016x}.macro", hash)};
+ if (Common::FS::Exists(name)) {
+ (void)Common::FS::RenameFile(name, new_name);
+ return;
+ }
+ name = new_name;
+ }
+
std::fstream macro_file(name, std::ios::out | std::ios::binary);
if (!macro_file) {
LOG_ERROR(Common_Filesystem, "Unable to open or create file at {}",
@@ -90,9 +100,6 @@ void MacroEngine::Execute(u32 method, const std::vector<u32>& parameters) {
if (!mid_method.has_value()) {
cache_info.lle_program = Compile(macro_code->second);
cache_info.hash = Common::HashValue(macro_code->second);
- if (Settings::values.dump_macros) {
- Dump(cache_info.hash, macro_code->second);
- }
} else {
const auto& macro_cached = uploaded_macro_code[mid_method.value()];
const auto rebased_method = method - mid_method.value();
@@ -102,9 +109,6 @@ void MacroEngine::Execute(u32 method, const std::vector<u32>& parameters) {
code.size() * sizeof(u32));
cache_info.hash = Common::HashValue(code);
cache_info.lle_program = Compile(code);
- if (Settings::values.dump_macros) {
- Dump(cache_info.hash, code);
- }
}
auto hle_program = hle_macros->GetHLEProgram(cache_info.hash);
@@ -117,6 +121,10 @@ void MacroEngine::Execute(u32 method, const std::vector<u32>& parameters) {
MICROPROFILE_SCOPE(MacroHLE);
cache_info.hle_program->Execute(parameters, method);
}
+
+ if (Settings::values.dump_macros) {
+ Dump(cache_info.hash, macro_code->second, cache_info.has_hle_program);
+ }
}
}
diff --git a/src/video_core/macro/macro_hle.cpp b/src/video_core/macro/macro_hle.cpp
index 6272a4652..046c8085e 100644
--- a/src/video_core/macro/macro_hle.cpp
+++ b/src/video_core/macro/macro_hle.cpp
@@ -67,6 +67,7 @@ public:
}
auto& params = maxwell3d.draw_manager->GetIndirectParams();
+ params.is_byte_count = false;
params.is_indexed = false;
params.include_count = false;
params.count_start_address = 0;
@@ -161,6 +162,7 @@ public:
0, 0x644, Maxwell3D::HLEReplacementAttributeType::BaseInstance);
}
auto& params = maxwell3d.draw_manager->GetIndirectParams();
+ params.is_byte_count = false;
params.is_indexed = true;
params.include_count = false;
params.count_start_address = 0;
@@ -256,6 +258,7 @@ public:
const u32 estimate = static_cast<u32>(maxwell3d.EstimateIndexBufferSize());
maxwell3d.dirty.flags[VideoCommon::Dirty::IndexBuffer] = true;
auto& params = maxwell3d.draw_manager->GetIndirectParams();
+ params.is_byte_count = false;
params.is_indexed = true;
params.include_count = true;
params.count_start_address = maxwell3d.GetMacroAddress(4);
@@ -319,6 +322,47 @@ private:
}
};
+class HLE_DrawIndirectByteCount final : public HLEMacroImpl {
+public:
+ explicit HLE_DrawIndirectByteCount(Maxwell3D& maxwell3d_) : HLEMacroImpl(maxwell3d_) {}
+
+ void Execute(const std::vector<u32>& parameters, [[maybe_unused]] u32 method) override {
+ auto topology = static_cast<Maxwell3D::Regs::PrimitiveTopology>(parameters[0] & 0xFFFFU);
+ if (!maxwell3d.AnyParametersDirty() || !IsTopologySafe(topology)) {
+ Fallback(parameters);
+ return;
+ }
+
+ auto& params = maxwell3d.draw_manager->GetIndirectParams();
+ params.is_byte_count = true;
+ params.is_indexed = false;
+ params.include_count = false;
+ params.count_start_address = 0;
+ params.indirect_start_address = maxwell3d.GetMacroAddress(2);
+ params.buffer_size = 4;
+ params.max_draw_counts = 1;
+ params.stride = parameters[1];
+ maxwell3d.regs.draw.begin = parameters[0];
+ maxwell3d.regs.draw_auto_stride = parameters[1];
+ maxwell3d.regs.draw_auto_byte_count = parameters[2];
+
+ maxwell3d.draw_manager->DrawArrayIndirect(topology);
+ }
+
+private:
+ void Fallback(const std::vector<u32>& parameters) {
+ maxwell3d.RefreshParameters();
+
+ maxwell3d.regs.draw.begin = parameters[0];
+ maxwell3d.regs.draw_auto_stride = parameters[1];
+ maxwell3d.regs.draw_auto_byte_count = parameters[2];
+
+ maxwell3d.draw_manager->DrawArray(
+ maxwell3d.regs.draw.topology, 0,
+ maxwell3d.regs.draw_auto_byte_count / maxwell3d.regs.draw_auto_stride, 0, 1);
+ }
+};
+
class HLE_C713C83D8F63CCF3 final : public HLEMacroImpl {
public:
explicit HLE_C713C83D8F63CCF3(Maxwell3D& maxwell3d_) : HLEMacroImpl(maxwell3d_) {}
@@ -536,6 +580,11 @@ HLEMacro::HLEMacro(Maxwell3D& maxwell3d_) : maxwell3d{maxwell3d_} {
[](Maxwell3D& maxwell3d__) -> std::unique_ptr<CachedMacro> {
return std::make_unique<HLE_TransformFeedbackSetup>(maxwell3d__);
}));
+ builders.emplace(0xB5F74EDB717278ECULL,
+ std::function<std::unique_ptr<CachedMacro>(Maxwell3D&)>(
+ [](Maxwell3D& maxwell3d__) -> std::unique_ptr<CachedMacro> {
+ return std::make_unique<HLE_DrawIndirectByteCount>(maxwell3d__);
+ }));
}
HLEMacro::~HLEMacro() = default;
diff --git a/src/video_core/query_cache.h b/src/video_core/query_cache.h
index 1528cc1dd..9fcaeeac7 100644
--- a/src/video_core/query_cache.h
+++ b/src/video_core/query_cache.h
@@ -25,6 +25,13 @@
#include "video_core/rasterizer_interface.h"
#include "video_core/texture_cache/slot_vector.h"
+namespace VideoCore {
+enum class QueryType {
+ SamplesPassed,
+};
+constexpr std::size_t NumQueryTypes = 1;
+} // namespace VideoCore
+
namespace VideoCommon {
using AsyncJobId = SlotId;
@@ -98,12 +105,14 @@ private:
};
template <class QueryCache, class CachedQuery, class CounterStream, class HostCounter>
-class QueryCacheBase : public VideoCommon::ChannelSetupCaches<VideoCommon::ChannelInfo> {
+class QueryCacheLegacy : public VideoCommon::ChannelSetupCaches<VideoCommon::ChannelInfo> {
public:
- explicit QueryCacheBase(VideoCore::RasterizerInterface& rasterizer_,
- Core::Memory::Memory& cpu_memory_)
+ explicit QueryCacheLegacy(VideoCore::RasterizerInterface& rasterizer_,
+ Core::Memory::Memory& cpu_memory_)
: rasterizer{rasterizer_},
- cpu_memory{cpu_memory_}, streams{{CounterStream{static_cast<QueryCache&>(*this),
+ // Use reinterpret_cast instead of static_cast as workaround for
+ // UBSan bug (https://github.com/llvm/llvm-project/issues/59060)
+ cpu_memory{cpu_memory_}, streams{{CounterStream{reinterpret_cast<QueryCache&>(*this),
VideoCore::QueryType::SamplesPassed}}} {
(void)slot_async_jobs.insert(); // Null value
}
diff --git a/src/video_core/query_cache/bank_base.h b/src/video_core/query_cache/bank_base.h
new file mode 100644
index 000000000..44769ea97
--- /dev/null
+++ b/src/video_core/query_cache/bank_base.h
@@ -0,0 +1,105 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#pragma once
+
+#include <atomic>
+#include <deque>
+#include <utility>
+
+#include "common/common_types.h"
+
+namespace VideoCommon {
+
+class BankBase {
+protected:
+ const size_t base_bank_size{};
+ size_t bank_size{};
+ std::atomic<size_t> references{};
+ size_t current_slot{};
+
+public:
+ explicit BankBase(size_t bank_size_) : base_bank_size{bank_size_}, bank_size(bank_size_) {}
+
+ virtual ~BankBase() = default;
+
+ virtual std::pair<bool, size_t> Reserve() {
+ if (IsClosed()) {
+ return {false, bank_size};
+ }
+ const size_t result = current_slot++;
+ return {true, result};
+ }
+
+ virtual void Reset() {
+ current_slot = 0;
+ references = 0;
+ bank_size = base_bank_size;
+ }
+
+ size_t Size() const {
+ return bank_size;
+ }
+
+ void AddReference(size_t how_many = 1) {
+ references.fetch_add(how_many, std::memory_order_relaxed);
+ }
+
+ void CloseReference(size_t how_many = 1) {
+ if (how_many > references.load(std::memory_order_relaxed)) {
+ UNREACHABLE();
+ }
+ references.fetch_sub(how_many, std::memory_order_relaxed);
+ }
+
+ void Close() {
+ bank_size = current_slot;
+ }
+
+ bool IsClosed() const {
+ return current_slot >= bank_size;
+ }
+
+ bool IsDead() const {
+ return IsClosed() && references == 0;
+ }
+};
+
+template <typename BankType>
+class BankPool {
+private:
+ std::deque<BankType> bank_pool;
+ std::deque<size_t> bank_indices;
+
+public:
+ BankPool() = default;
+ ~BankPool() = default;
+
+ // Reserve a bank from the pool and return its index
+ template <typename Func>
+ size_t ReserveBank(Func&& builder) {
+ if (!bank_indices.empty() && bank_pool[bank_indices.front()].IsDead()) {
+ size_t new_index = bank_indices.front();
+ bank_indices.pop_front();
+ bank_pool[new_index].Reset();
+ bank_indices.push_back(new_index);
+ return new_index;
+ }
+ size_t new_index = bank_pool.size();
+ builder(bank_pool, new_index);
+ bank_indices.push_back(new_index);
+ return new_index;
+ }
+
+ // Get a reference to a bank using its index
+ BankType& GetBank(size_t index) {
+ return bank_pool[index];
+ }
+
+ // Get the total number of banks in the pool
+ size_t BankCount() const {
+ return bank_pool.size();
+ }
+};
+
+} // namespace VideoCommon
diff --git a/src/video_core/query_cache/query_base.h b/src/video_core/query_cache/query_base.h
new file mode 100644
index 000000000..1d786b3a7
--- /dev/null
+++ b/src/video_core/query_cache/query_base.h
@@ -0,0 +1,70 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#pragma once
+
+#include "common/common_funcs.h"
+#include "common/common_types.h"
+
+namespace VideoCommon {
+
+enum class QueryFlagBits : u32 {
+ HasTimestamp = 1 << 0, ///< Indicates if this query has a timestamp.
+ IsFinalValueSynced = 1 << 1, ///< Indicates if the query has been synced in the host
+ IsHostSynced = 1 << 2, ///< Indicates if the query has been synced in the host
+ IsGuestSynced = 1 << 3, ///< Indicates if the query has been synced with the guest.
+ IsHostManaged = 1 << 4, ///< Indicates if this query points to a host query
+ IsRewritten = 1 << 5, ///< Indicates if this query was rewritten by another query
+ IsInvalidated = 1 << 6, ///< Indicates the value of th query has been nullified.
+ IsOrphan = 1 << 7, ///< Indicates the query has not been set by a guest query.
+ IsFence = 1 << 8, ///< Indicates the query is a fence.
+};
+DECLARE_ENUM_FLAG_OPERATORS(QueryFlagBits)
+
+class QueryBase {
+public:
+ VAddr guest_address{};
+ QueryFlagBits flags{};
+ u64 value{};
+
+protected:
+ // Default constructor
+ QueryBase() = default;
+
+ // Parameterized constructor
+ QueryBase(VAddr address, QueryFlagBits flags_, u64 value_)
+ : guest_address(address), flags(flags_), value{value_} {}
+};
+
+class GuestQuery : public QueryBase {
+public:
+ // Parameterized constructor
+ GuestQuery(bool isLong, VAddr address, u64 queryValue)
+ : QueryBase(address, QueryFlagBits::IsFinalValueSynced, queryValue) {
+ if (isLong) {
+ flags |= QueryFlagBits::HasTimestamp;
+ }
+ }
+};
+
+class HostQueryBase : public QueryBase {
+public:
+ // Default constructor
+ HostQueryBase() : QueryBase(0, QueryFlagBits::IsHostManaged | QueryFlagBits::IsOrphan, 0) {}
+
+ // Parameterized constructor
+ HostQueryBase(bool has_timestamp, VAddr address)
+ : QueryBase(address, QueryFlagBits::IsHostManaged, 0), start_bank_id{}, size_banks{},
+ start_slot{}, size_slots{} {
+ if (has_timestamp) {
+ flags |= QueryFlagBits::HasTimestamp;
+ }
+ }
+
+ u32 start_bank_id{};
+ u32 size_banks{};
+ size_t start_slot{};
+ size_t size_slots{};
+};
+
+} // namespace VideoCommon \ No newline at end of file
diff --git a/src/video_core/query_cache/query_cache.h b/src/video_core/query_cache/query_cache.h
new file mode 100644
index 000000000..78b42b518
--- /dev/null
+++ b/src/video_core/query_cache/query_cache.h
@@ -0,0 +1,580 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#pragma once
+
+#include <array>
+#include <deque>
+#include <memory>
+#include <mutex>
+#include <unordered_map>
+#include <utility>
+
+#include "common/assert.h"
+#include "common/common_types.h"
+#include "common/logging/log.h"
+#include "common/scope_exit.h"
+#include "common/settings.h"
+#include "core/memory.h"
+#include "video_core/engines/maxwell_3d.h"
+#include "video_core/gpu.h"
+#include "video_core/memory_manager.h"
+#include "video_core/query_cache/bank_base.h"
+#include "video_core/query_cache/query_base.h"
+#include "video_core/query_cache/query_cache_base.h"
+#include "video_core/query_cache/query_stream.h"
+#include "video_core/query_cache/types.h"
+
+namespace VideoCommon {
+
+using Maxwell = Tegra::Engines::Maxwell3D;
+
+struct SyncValuesStruct {
+ VAddr address;
+ u64 value;
+ u64 size;
+
+ static constexpr bool GeneratesBaseBuffer = true;
+};
+
+template <typename Traits>
+class GuestStreamer : public SimpleStreamer<GuestQuery> {
+public:
+ using RuntimeType = typename Traits::RuntimeType;
+
+ GuestStreamer(size_t id_, RuntimeType& runtime_)
+ : SimpleStreamer<GuestQuery>(id_), runtime{runtime_} {}
+
+ virtual ~GuestStreamer() = default;
+
+ size_t WriteCounter(VAddr address, bool has_timestamp, u32 value,
+ std::optional<u32> subreport = std::nullopt) override {
+ auto new_id = BuildQuery(has_timestamp, address, static_cast<u64>(value));
+ pending_sync.push_back(new_id);
+ return new_id;
+ }
+
+ bool HasPendingSync() const override {
+ return !pending_sync.empty();
+ }
+
+ void SyncWrites() override {
+ if (pending_sync.empty()) {
+ return;
+ }
+ std::vector<SyncValuesStruct> sync_values;
+ sync_values.reserve(pending_sync.size());
+ for (size_t pending_id : pending_sync) {
+ auto& query = slot_queries[pending_id];
+ if (True(query.flags & QueryFlagBits::IsRewritten) ||
+ True(query.flags & QueryFlagBits::IsInvalidated)) {
+ continue;
+ }
+ query.flags |= QueryFlagBits::IsHostSynced;
+ sync_values.emplace_back(SyncValuesStruct{
+ .address = query.guest_address,
+ .value = query.value,
+ .size = static_cast<u64>(True(query.flags & QueryFlagBits::HasTimestamp) ? 8 : 4)});
+ }
+ pending_sync.clear();
+ if (sync_values.size() > 0) {
+ runtime.template SyncValues<SyncValuesStruct>(sync_values);
+ }
+ }
+
+private:
+ RuntimeType& runtime;
+ std::deque<size_t> pending_sync;
+};
+
+template <typename Traits>
+class StubStreamer : public GuestStreamer<Traits> {
+public:
+ using RuntimeType = typename Traits::RuntimeType;
+
+ StubStreamer(size_t id_, RuntimeType& runtime_, u32 stub_value_)
+ : GuestStreamer<Traits>(id_, runtime_), stub_value{stub_value_} {}
+
+ ~StubStreamer() override = default;
+
+ size_t WriteCounter(VAddr address, bool has_timestamp, [[maybe_unused]] u32 value,
+ std::optional<u32> subreport = std::nullopt) override {
+ size_t new_id =
+ GuestStreamer<Traits>::WriteCounter(address, has_timestamp, stub_value, subreport);
+ return new_id;
+ }
+
+private:
+ u32 stub_value;
+};
+
+template <typename Traits>
+struct QueryCacheBase<Traits>::QueryCacheBaseImpl {
+ using RuntimeType = typename Traits::RuntimeType;
+
+ QueryCacheBaseImpl(QueryCacheBase<Traits>* owner_, VideoCore::RasterizerInterface& rasterizer_,
+ Core::Memory::Memory& cpu_memory_, RuntimeType& runtime_, Tegra::GPU& gpu_)
+ : owner{owner_}, rasterizer{rasterizer_},
+ cpu_memory{cpu_memory_}, runtime{runtime_}, gpu{gpu_} {
+ streamer_mask = 0;
+ for (size_t i = 0; i < static_cast<size_t>(QueryType::MaxQueryTypes); i++) {
+ streamers[i] = runtime.GetStreamerInterface(static_cast<QueryType>(i));
+ if (streamers[i]) {
+ streamer_mask |= 1ULL << streamers[i]->GetId();
+ }
+ }
+ }
+
+ template <typename Func>
+ void ForEachStreamerIn(u64 mask, Func&& func) {
+ static constexpr bool RETURNS_BOOL =
+ std::is_same_v<std::invoke_result<Func, StreamerInterface*>, bool>;
+ while (mask != 0) {
+ size_t position = std::countr_zero(mask);
+ mask &= ~(1ULL << position);
+ if constexpr (RETURNS_BOOL) {
+ if (func(streamers[position])) {
+ return;
+ }
+ } else {
+ func(streamers[position]);
+ }
+ }
+ }
+
+ template <typename Func>
+ void ForEachStreamer(Func&& func) {
+ ForEachStreamerIn(streamer_mask, func);
+ }
+
+ QueryBase* ObtainQuery(QueryCacheBase<Traits>::QueryLocation location) {
+ size_t which_stream = location.stream_id.Value();
+ auto* streamer = streamers[which_stream];
+ if (!streamer) {
+ return nullptr;
+ }
+ return streamer->GetQuery(location.query_id.Value());
+ }
+
+ QueryCacheBase<Traits>* owner;
+ VideoCore::RasterizerInterface& rasterizer;
+ Core::Memory::Memory& cpu_memory;
+ RuntimeType& runtime;
+ Tegra::GPU& gpu;
+ std::array<StreamerInterface*, static_cast<size_t>(QueryType::MaxQueryTypes)> streamers;
+ u64 streamer_mask;
+ std::mutex flush_guard;
+ std::deque<u64> flushes_pending;
+ std::vector<QueryCacheBase<Traits>::QueryLocation> pending_unregister;
+};
+
+template <typename Traits>
+QueryCacheBase<Traits>::QueryCacheBase(Tegra::GPU& gpu_,
+ VideoCore::RasterizerInterface& rasterizer_,
+ Core::Memory::Memory& cpu_memory_, RuntimeType& runtime_)
+ : cached_queries{} {
+ impl = std::make_unique<QueryCacheBase<Traits>::QueryCacheBaseImpl>(
+ this, rasterizer_, cpu_memory_, runtime_, gpu_);
+}
+
+template <typename Traits>
+QueryCacheBase<Traits>::~QueryCacheBase() = default;
+
+template <typename Traits>
+void QueryCacheBase<Traits>::CounterEnable(QueryType counter_type, bool is_enabled) {
+ size_t index = static_cast<size_t>(counter_type);
+ StreamerInterface* streamer = impl->streamers[index];
+ if (!streamer) [[unlikely]] {
+ UNREACHABLE();
+ return;
+ }
+ if (is_enabled) {
+ streamer->StartCounter();
+ } else {
+ streamer->PauseCounter();
+ }
+}
+
+template <typename Traits>
+void QueryCacheBase<Traits>::CounterClose(QueryType counter_type) {
+ size_t index = static_cast<size_t>(counter_type);
+ StreamerInterface* streamer = impl->streamers[index];
+ if (!streamer) [[unlikely]] {
+ UNREACHABLE();
+ return;
+ }
+ streamer->CloseCounter();
+}
+
+template <typename Traits>
+void QueryCacheBase<Traits>::CounterReset(QueryType counter_type) {
+ size_t index = static_cast<size_t>(counter_type);
+ StreamerInterface* streamer = impl->streamers[index];
+ if (!streamer) [[unlikely]] {
+ UNIMPLEMENTED();
+ return;
+ }
+ streamer->ResetCounter();
+}
+
+template <typename Traits>
+void QueryCacheBase<Traits>::BindToChannel(s32 id) {
+ VideoCommon::ChannelSetupCaches<VideoCommon::ChannelInfo>::BindToChannel(id);
+ impl->runtime.Bind3DEngine(maxwell3d);
+}
+
+template <typename Traits>
+void QueryCacheBase<Traits>::CounterReport(GPUVAddr addr, QueryType counter_type,
+ QueryPropertiesFlags flags, u32 payload, u32 subreport) {
+ const bool has_timestamp = True(flags & QueryPropertiesFlags::HasTimeout);
+ const bool is_fence = True(flags & QueryPropertiesFlags::IsAFence);
+ size_t streamer_id = static_cast<size_t>(counter_type);
+ auto* streamer = impl->streamers[streamer_id];
+ if (streamer == nullptr) [[unlikely]] {
+ counter_type = QueryType::Payload;
+ payload = 1U;
+ streamer_id = static_cast<size_t>(counter_type);
+ streamer = impl->streamers[streamer_id];
+ }
+ auto cpu_addr_opt = gpu_memory->GpuToCpuAddress(addr);
+ if (!cpu_addr_opt) [[unlikely]] {
+ return;
+ }
+ VAddr cpu_addr = *cpu_addr_opt;
+ const size_t new_query_id = streamer->WriteCounter(cpu_addr, has_timestamp, payload, subreport);
+ auto* query = streamer->GetQuery(new_query_id);
+ if (is_fence) {
+ query->flags |= QueryFlagBits::IsFence;
+ }
+ QueryLocation query_location{};
+ query_location.stream_id.Assign(static_cast<u32>(streamer_id));
+ query_location.query_id.Assign(static_cast<u32>(new_query_id));
+ const auto gen_caching_indexing = [](VAddr cur_addr) {
+ return std::make_pair<u64, u32>(cur_addr >> Core::Memory::YUZU_PAGEBITS,
+ static_cast<u32>(cur_addr & Core::Memory::YUZU_PAGEMASK));
+ };
+ u8* pointer = impl->cpu_memory.GetPointer(cpu_addr);
+ u8* pointer_timestamp = impl->cpu_memory.GetPointer(cpu_addr + 8);
+ bool is_synced = !Settings::IsGPULevelHigh() && is_fence;
+
+ std::function<void()> operation([this, is_synced, streamer, query_base = query, query_location,
+ pointer, pointer_timestamp] {
+ if (True(query_base->flags & QueryFlagBits::IsInvalidated)) {
+ if (!is_synced) [[likely]] {
+ impl->pending_unregister.push_back(query_location);
+ }
+ return;
+ }
+ if (False(query_base->flags & QueryFlagBits::IsFinalValueSynced)) [[unlikely]] {
+ UNREACHABLE();
+ return;
+ }
+ query_base->value += streamer->GetAmmendValue();
+ streamer->SetAccumulationValue(query_base->value);
+ if (True(query_base->flags & QueryFlagBits::HasTimestamp)) {
+ u64 timestamp = impl->gpu.GetTicks();
+ std::memcpy(pointer_timestamp, &timestamp, sizeof(timestamp));
+ std::memcpy(pointer, &query_base->value, sizeof(query_base->value));
+ } else {
+ u32 value = static_cast<u32>(query_base->value);
+ std::memcpy(pointer, &value, sizeof(value));
+ }
+ if (!is_synced) [[likely]] {
+ impl->pending_unregister.push_back(query_location);
+ }
+ });
+ if (is_fence) {
+ impl->rasterizer.SignalFence(std::move(operation));
+ } else {
+ if (!Settings::IsGPULevelHigh() && counter_type == QueryType::Payload) {
+ if (has_timestamp) {
+ u64 timestamp = impl->gpu.GetTicks();
+ u64 value = static_cast<u64>(payload);
+ std::memcpy(pointer_timestamp, &timestamp, sizeof(timestamp));
+ std::memcpy(pointer, &value, sizeof(value));
+ } else {
+ std::memcpy(pointer, &payload, sizeof(payload));
+ }
+ streamer->Free(new_query_id);
+ return;
+ }
+ impl->rasterizer.SyncOperation(std::move(operation));
+ }
+ if (is_synced) {
+ streamer->Free(new_query_id);
+ return;
+ }
+ auto [cont_addr, base] = gen_caching_indexing(cpu_addr);
+ {
+ std::scoped_lock lock(cache_mutex);
+ auto it1 = cached_queries.try_emplace(cont_addr);
+ auto& sub_container = it1.first->second;
+ auto it_current = sub_container.find(base);
+ if (it_current == sub_container.end()) {
+ sub_container.insert_or_assign(base, query_location);
+ return;
+ }
+ auto* old_query = impl->ObtainQuery(it_current->second);
+ old_query->flags |= QueryFlagBits::IsRewritten;
+ sub_container.insert_or_assign(base, query_location);
+ }
+}
+
+template <typename Traits>
+void QueryCacheBase<Traits>::UnregisterPending() {
+ const auto gen_caching_indexing = [](VAddr cur_addr) {
+ return std::make_pair<u64, u32>(cur_addr >> Core::Memory::YUZU_PAGEBITS,
+ static_cast<u32>(cur_addr & Core::Memory::YUZU_PAGEMASK));
+ };
+ std::scoped_lock lock(cache_mutex);
+ for (QueryLocation loc : impl->pending_unregister) {
+ const auto [streamer_id, query_id] = loc.unpack();
+ auto* streamer = impl->streamers[streamer_id];
+ if (!streamer) [[unlikely]] {
+ continue;
+ }
+ auto* query = streamer->GetQuery(query_id);
+ auto [cont_addr, base] = gen_caching_indexing(query->guest_address);
+ auto it1 = cached_queries.find(cont_addr);
+ if (it1 != cached_queries.end()) {
+ auto it2 = it1->second.find(base);
+ if (it2 != it1->second.end()) {
+ if (it2->second.raw == loc.raw) {
+ it1->second.erase(it2);
+ }
+ }
+ }
+ streamer->Free(query_id);
+ }
+ impl->pending_unregister.clear();
+}
+
+template <typename Traits>
+void QueryCacheBase<Traits>::NotifyWFI() {
+ bool should_sync = false;
+ impl->ForEachStreamer(
+ [&should_sync](StreamerInterface* streamer) { should_sync |= streamer->HasPendingSync(); });
+ if (!should_sync) {
+ return;
+ }
+
+ impl->ForEachStreamer([](StreamerInterface* streamer) { streamer->PresyncWrites(); });
+ impl->runtime.Barriers(true);
+ impl->ForEachStreamer([](StreamerInterface* streamer) { streamer->SyncWrites(); });
+ impl->runtime.Barriers(false);
+}
+
+template <typename Traits>
+void QueryCacheBase<Traits>::NotifySegment(bool resume) {
+ if (resume) {
+ impl->runtime.ResumeHostConditionalRendering();
+ } else {
+ CounterClose(VideoCommon::QueryType::ZPassPixelCount64);
+ CounterClose(VideoCommon::QueryType::StreamingByteCount);
+ impl->runtime.PauseHostConditionalRendering();
+ }
+}
+
+template <typename Traits>
+bool QueryCacheBase<Traits>::AccelerateHostConditionalRendering() {
+ bool qc_dirty = false;
+ const auto gen_lookup = [this, &qc_dirty](GPUVAddr address) -> VideoCommon::LookupData {
+ auto cpu_addr_opt = gpu_memory->GpuToCpuAddress(address);
+ if (!cpu_addr_opt) [[unlikely]] {
+ return VideoCommon::LookupData{
+ .address = 0,
+ .found_query = nullptr,
+ };
+ }
+ VAddr cpu_addr = *cpu_addr_opt;
+ std::scoped_lock lock(cache_mutex);
+ auto it1 = cached_queries.find(cpu_addr >> Core::Memory::YUZU_PAGEBITS);
+ if (it1 == cached_queries.end()) {
+ return VideoCommon::LookupData{
+ .address = cpu_addr,
+ .found_query = nullptr,
+ };
+ }
+ auto& sub_container = it1->second;
+ auto it_current = sub_container.find(cpu_addr & Core::Memory::YUZU_PAGEMASK);
+
+ if (it_current == sub_container.end()) {
+ auto it_current_2 = sub_container.find((cpu_addr & Core::Memory::YUZU_PAGEMASK) + 4);
+ if (it_current_2 == sub_container.end()) {
+ return VideoCommon::LookupData{
+ .address = cpu_addr,
+ .found_query = nullptr,
+ };
+ }
+ }
+ auto* query = impl->ObtainQuery(it_current->second);
+ qc_dirty |= True(query->flags & QueryFlagBits::IsHostManaged) &&
+ False(query->flags & QueryFlagBits::IsGuestSynced);
+ return VideoCommon::LookupData{
+ .address = cpu_addr,
+ .found_query = query,
+ };
+ };
+
+ auto& regs = maxwell3d->regs;
+ if (regs.render_enable_override != Maxwell::Regs::RenderEnable::Override::UseRenderEnable) {
+ impl->runtime.EndHostConditionalRendering();
+ return false;
+ }
+ const ComparisonMode mode = static_cast<ComparisonMode>(regs.render_enable.mode);
+ const GPUVAddr address = regs.render_enable.Address();
+ switch (mode) {
+ case ComparisonMode::True:
+ impl->runtime.EndHostConditionalRendering();
+ return false;
+ case ComparisonMode::False:
+ impl->runtime.EndHostConditionalRendering();
+ return false;
+ case ComparisonMode::Conditional: {
+ VideoCommon::LookupData object_1{gen_lookup(address)};
+ return impl->runtime.HostConditionalRenderingCompareValue(object_1, qc_dirty);
+ }
+ case ComparisonMode::IfEqual: {
+ VideoCommon::LookupData object_1{gen_lookup(address)};
+ VideoCommon::LookupData object_2{gen_lookup(address + 16)};
+ return impl->runtime.HostConditionalRenderingCompareValues(object_1, object_2, qc_dirty,
+ true);
+ }
+ case ComparisonMode::IfNotEqual: {
+ VideoCommon::LookupData object_1{gen_lookup(address)};
+ VideoCommon::LookupData object_2{gen_lookup(address + 16)};
+ return impl->runtime.HostConditionalRenderingCompareValues(object_1, object_2, qc_dirty,
+ false);
+ }
+ default:
+ return false;
+ }
+}
+
+// Async downloads
+template <typename Traits>
+void QueryCacheBase<Traits>::CommitAsyncFlushes() {
+ // Make sure to have the results synced in Host.
+ NotifyWFI();
+
+ u64 mask{};
+ {
+ std::scoped_lock lk(impl->flush_guard);
+ impl->ForEachStreamer([&mask](StreamerInterface* streamer) {
+ bool local_result = streamer->HasUnsyncedQueries();
+ if (local_result) {
+ mask |= 1ULL << streamer->GetId();
+ }
+ });
+ impl->flushes_pending.push_back(mask);
+ }
+ std::function<void()> func([this] { UnregisterPending(); });
+ impl->rasterizer.SyncOperation(std::move(func));
+ if (mask == 0) {
+ return;
+ }
+ u64 ran_mask = ~mask;
+ while (mask) {
+ impl->ForEachStreamerIn(mask, [&mask, &ran_mask](StreamerInterface* streamer) {
+ u64 dep_mask = streamer->GetDependentMask();
+ if ((dep_mask & ~ran_mask) != 0) {
+ return;
+ }
+ u64 index = streamer->GetId();
+ ran_mask |= (1ULL << index);
+ mask &= ~(1ULL << index);
+ streamer->PushUnsyncedQueries();
+ });
+ }
+}
+
+template <typename Traits>
+bool QueryCacheBase<Traits>::HasUncommittedFlushes() const {
+ bool result = false;
+ impl->ForEachStreamer([&result](StreamerInterface* streamer) {
+ result |= streamer->HasUnsyncedQueries();
+ return result;
+ });
+ return result;
+}
+
+template <typename Traits>
+bool QueryCacheBase<Traits>::ShouldWaitAsyncFlushes() {
+ std::scoped_lock lk(impl->flush_guard);
+ return !impl->flushes_pending.empty() && impl->flushes_pending.front() != 0ULL;
+}
+
+template <typename Traits>
+void QueryCacheBase<Traits>::PopAsyncFlushes() {
+ u64 mask;
+ {
+ std::scoped_lock lk(impl->flush_guard);
+ mask = impl->flushes_pending.front();
+ impl->flushes_pending.pop_front();
+ }
+ if (mask == 0) {
+ return;
+ }
+ u64 ran_mask = ~mask;
+ while (mask) {
+ impl->ForEachStreamerIn(mask, [&mask, &ran_mask](StreamerInterface* streamer) {
+ u64 dep_mask = streamer->GetDependenceMask();
+ if ((dep_mask & ~ran_mask) != 0) {
+ return;
+ }
+ u64 index = streamer->GetId();
+ ran_mask |= (1ULL << index);
+ mask &= ~(1ULL << index);
+ streamer->PopUnsyncedQueries();
+ });
+ }
+}
+
+// Invalidation
+
+template <typename Traits>
+void QueryCacheBase<Traits>::InvalidateQuery(QueryCacheBase<Traits>::QueryLocation location) {
+ auto* query_base = impl->ObtainQuery(location);
+ if (!query_base) {
+ return;
+ }
+ query_base->flags |= QueryFlagBits::IsInvalidated;
+}
+
+template <typename Traits>
+bool QueryCacheBase<Traits>::IsQueryDirty(QueryCacheBase<Traits>::QueryLocation location) {
+ auto* query_base = impl->ObtainQuery(location);
+ if (!query_base) {
+ return false;
+ }
+ return True(query_base->flags & QueryFlagBits::IsHostManaged) &&
+ False(query_base->flags & QueryFlagBits::IsGuestSynced);
+}
+
+template <typename Traits>
+bool QueryCacheBase<Traits>::SemiFlushQueryDirty(QueryCacheBase<Traits>::QueryLocation location) {
+ auto* query_base = impl->ObtainQuery(location);
+ if (!query_base) {
+ return false;
+ }
+ if (True(query_base->flags & QueryFlagBits::IsFinalValueSynced) &&
+ False(query_base->flags & QueryFlagBits::IsGuestSynced)) {
+ auto* ptr = impl->cpu_memory.GetPointer(query_base->guest_address);
+ if (True(query_base->flags & QueryFlagBits::HasTimestamp)) {
+ std::memcpy(ptr, &query_base->value, sizeof(query_base->value));
+ return false;
+ }
+ u32 value_l = static_cast<u32>(query_base->value);
+ std::memcpy(ptr, &value_l, sizeof(value_l));
+ return false;
+ }
+ return True(query_base->flags & QueryFlagBits::IsHostManaged) &&
+ False(query_base->flags & QueryFlagBits::IsGuestSynced);
+}
+
+template <typename Traits>
+void QueryCacheBase<Traits>::RequestGuestHostSync() {
+ impl->rasterizer.ReleaseFences();
+}
+
+} // namespace VideoCommon
diff --git a/src/video_core/query_cache/query_cache_base.h b/src/video_core/query_cache/query_cache_base.h
new file mode 100644
index 000000000..07be421c6
--- /dev/null
+++ b/src/video_core/query_cache/query_cache_base.h
@@ -0,0 +1,181 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#pragma once
+
+#include <functional>
+#include <mutex>
+#include <optional>
+#include <span>
+#include <unordered_map>
+#include <utility>
+
+#include "common/assert.h"
+#include "common/bit_field.h"
+#include "common/common_types.h"
+#include "core/memory.h"
+#include "video_core/control/channel_state_cache.h"
+#include "video_core/query_cache/query_base.h"
+#include "video_core/query_cache/types.h"
+
+namespace Core::Memory {
+class Memory;
+}
+
+namespace VideoCore {
+class RasterizerInterface;
+}
+
+namespace Tegra {
+class GPU;
+}
+
+namespace VideoCommon {
+
+struct LookupData {
+ VAddr address;
+ QueryBase* found_query;
+};
+
+template <typename Traits>
+class QueryCacheBase : public VideoCommon::ChannelSetupCaches<VideoCommon::ChannelInfo> {
+ using RuntimeType = typename Traits::RuntimeType;
+
+public:
+ union QueryLocation {
+ BitField<27, 5, u32> stream_id;
+ BitField<0, 27, u32> query_id;
+ u32 raw;
+
+ std::pair<size_t, size_t> unpack() const {
+ return {static_cast<size_t>(stream_id.Value()), static_cast<size_t>(query_id.Value())};
+ }
+ };
+
+ explicit QueryCacheBase(Tegra::GPU& gpu, VideoCore::RasterizerInterface& rasterizer_,
+ Core::Memory::Memory& cpu_memory_, RuntimeType& runtime_);
+
+ ~QueryCacheBase();
+
+ void InvalidateRegion(VAddr addr, std::size_t size) {
+ IterateCache<true>(addr, size,
+ [this](QueryLocation location) { InvalidateQuery(location); });
+ }
+
+ void FlushRegion(VAddr addr, std::size_t size) {
+ bool result = false;
+ IterateCache<false>(addr, size, [this, &result](QueryLocation location) {
+ result |= SemiFlushQueryDirty(location);
+ return result;
+ });
+ if (result) {
+ RequestGuestHostSync();
+ }
+ }
+
+ static u64 BuildMask(std::span<const QueryType> types) {
+ u64 mask = 0;
+ for (auto query_type : types) {
+ mask |= 1ULL << (static_cast<u64>(query_type));
+ }
+ return mask;
+ }
+
+ /// Return true when a CPU region is modified from the GPU
+ [[nodiscard]] bool IsRegionGpuModified(VAddr addr, size_t size) {
+ bool result = false;
+ IterateCache<false>(addr, size, [this, &result](QueryLocation location) {
+ result |= IsQueryDirty(location);
+ return result;
+ });
+ return result;
+ }
+
+ void CounterEnable(QueryType counter_type, bool is_enabled);
+
+ void CounterReset(QueryType counter_type);
+
+ void CounterClose(QueryType counter_type);
+
+ void CounterReport(GPUVAddr addr, QueryType counter_type, QueryPropertiesFlags flags,
+ u32 payload, u32 subreport);
+
+ void NotifyWFI();
+
+ bool AccelerateHostConditionalRendering();
+
+ // Async downloads
+ void CommitAsyncFlushes();
+
+ bool HasUncommittedFlushes() const;
+
+ bool ShouldWaitAsyncFlushes();
+
+ void PopAsyncFlushes();
+
+ void NotifySegment(bool resume);
+
+ void BindToChannel(s32 id) override;
+
+protected:
+ template <bool remove_from_cache, typename Func>
+ void IterateCache(VAddr addr, std::size_t size, Func&& func) {
+ static constexpr bool RETURNS_BOOL =
+ std::is_same_v<std::invoke_result<Func, QueryLocation>, bool>;
+ const u64 addr_begin = addr;
+ const u64 addr_end = addr_begin + size;
+
+ const u64 page_end = addr_end >> Core::Memory::YUZU_PAGEBITS;
+ std::scoped_lock lock(cache_mutex);
+ for (u64 page = addr_begin >> Core::Memory::YUZU_PAGEBITS; page <= page_end; ++page) {
+ const u64 page_start = page << Core::Memory::YUZU_PAGEBITS;
+ const auto in_range = [page_start, addr_begin, addr_end](const u32 query_location) {
+ const u64 cache_begin = page_start + query_location;
+ const u64 cache_end = cache_begin + sizeof(u32);
+ return cache_begin < addr_end && addr_begin < cache_end;
+ };
+ const auto& it = cached_queries.find(page);
+ if (it == std::end(cached_queries)) {
+ continue;
+ }
+ auto& contents = it->second;
+ for (auto& query : contents) {
+ if (!in_range(query.first)) {
+ continue;
+ }
+ if constexpr (RETURNS_BOOL) {
+ if (func(query.second)) {
+ return;
+ }
+ } else {
+ func(query.second);
+ }
+ }
+ if constexpr (remove_from_cache) {
+ const auto in_range2 = [&](const std::pair<u32, QueryLocation>& pair) {
+ return in_range(pair.first);
+ };
+ std::erase_if(contents, in_range2);
+ }
+ }
+ }
+
+ using ContentCache = std::unordered_map<u64, std::unordered_map<u32, QueryLocation>>;
+
+ void InvalidateQuery(QueryLocation location);
+ bool IsQueryDirty(QueryLocation location);
+ bool SemiFlushQueryDirty(QueryLocation location);
+ void RequestGuestHostSync();
+ void UnregisterPending();
+
+ std::unordered_map<u64, std::unordered_map<u32, QueryLocation>> cached_queries;
+ std::mutex cache_mutex;
+
+ struct QueryCacheBaseImpl;
+ friend struct QueryCacheBaseImpl;
+ friend RuntimeType;
+
+ std::unique_ptr<QueryCacheBaseImpl> impl;
+};
+
+} // namespace VideoCommon \ No newline at end of file
diff --git a/src/video_core/query_cache/query_stream.h b/src/video_core/query_cache/query_stream.h
new file mode 100644
index 000000000..39da6ac07
--- /dev/null
+++ b/src/video_core/query_cache/query_stream.h
@@ -0,0 +1,149 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#pragma once
+
+#include <deque>
+#include <optional>
+#include <vector>
+
+#include "common/assert.h"
+#include "common/common_types.h"
+#include "video_core/query_cache/bank_base.h"
+#include "video_core/query_cache/query_base.h"
+
+namespace VideoCommon {
+
+class StreamerInterface {
+public:
+ explicit StreamerInterface(size_t id_) : id{id_}, dependence_mask{}, dependent_mask{} {}
+ virtual ~StreamerInterface() = default;
+
+ virtual QueryBase* GetQuery(size_t id) = 0;
+
+ virtual void StartCounter() {
+ /* Do Nothing */
+ }
+
+ virtual void PauseCounter() {
+ /* Do Nothing */
+ }
+
+ virtual void ResetCounter() {
+ /* Do Nothing */
+ }
+
+ virtual void CloseCounter() {
+ /* Do Nothing */
+ }
+
+ virtual bool HasPendingSync() const {
+ return false;
+ }
+
+ virtual void PresyncWrites() {
+ /* Do Nothing */
+ }
+
+ virtual void SyncWrites() {
+ /* Do Nothing */
+ }
+
+ virtual size_t WriteCounter(VAddr address, bool has_timestamp, u32 value,
+ std::optional<u32> subreport = std::nullopt) = 0;
+
+ virtual bool HasUnsyncedQueries() const {
+ return false;
+ }
+
+ virtual void PushUnsyncedQueries() {
+ /* Do Nothing */
+ }
+
+ virtual void PopUnsyncedQueries() {
+ /* Do Nothing */
+ }
+
+ virtual void Free(size_t query_id) = 0;
+
+ size_t GetId() const {
+ return id;
+ }
+
+ u64 GetDependenceMask() const {
+ return dependence_mask;
+ }
+
+ u64 GetDependentMask() const {
+ return dependence_mask;
+ }
+
+ u64 GetAmmendValue() const {
+ return ammend_value;
+ }
+
+ void SetAccumulationValue(u64 new_value) {
+ acumulation_value = new_value;
+ }
+
+protected:
+ void MakeDependent(StreamerInterface* depend_on) {
+ dependence_mask |= 1ULL << depend_on->id;
+ depend_on->dependent_mask |= 1ULL << id;
+ }
+
+ const size_t id;
+ u64 dependence_mask;
+ u64 dependent_mask;
+ u64 ammend_value{};
+ u64 acumulation_value{};
+};
+
+template <typename QueryType>
+class SimpleStreamer : public StreamerInterface {
+public:
+ explicit SimpleStreamer(size_t id_) : StreamerInterface{id_} {}
+ virtual ~SimpleStreamer() = default;
+
+protected:
+ virtual QueryType* GetQuery(size_t query_id) override {
+ if (query_id < slot_queries.size()) {
+ return &slot_queries[query_id];
+ }
+ return nullptr;
+ }
+
+ virtual void Free(size_t query_id) override {
+ std::scoped_lock lk(guard);
+ ReleaseQuery(query_id);
+ }
+
+ template <typename... Args, typename = decltype(QueryType(std::declval<Args>()...))>
+ size_t BuildQuery(Args&&... args) {
+ std::scoped_lock lk(guard);
+ if (!old_queries.empty()) {
+ size_t new_id = old_queries.front();
+ old_queries.pop_front();
+ new (&slot_queries[new_id]) QueryType(std::forward<Args>(args)...);
+ return new_id;
+ }
+ size_t new_id = slot_queries.size();
+ slot_queries.emplace_back(std::forward<Args>(args)...);
+ return new_id;
+ }
+
+ void ReleaseQuery(size_t query_id) {
+
+ if (query_id < slot_queries.size()) {
+ old_queries.push_back(query_id);
+ return;
+ }
+ UNREACHABLE();
+ }
+
+ std::mutex guard;
+ std::deque<QueryType> slot_queries;
+ std::deque<size_t> old_queries;
+};
+
+} // namespace VideoCommon \ No newline at end of file
diff --git a/src/video_core/query_cache/types.h b/src/video_core/query_cache/types.h
new file mode 100644
index 000000000..e9226bbfc
--- /dev/null
+++ b/src/video_core/query_cache/types.h
@@ -0,0 +1,74 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
+#pragma once
+
+#include "common/common_funcs.h"
+#include "common/common_types.h"
+
+namespace VideoCommon {
+
+enum class QueryPropertiesFlags : u32 {
+ HasTimeout = 1 << 0,
+ IsAFence = 1 << 1,
+};
+DECLARE_ENUM_FLAG_OPERATORS(QueryPropertiesFlags)
+
+// This should always be equivalent to maxwell3d Report Semaphore Reports
+enum class QueryType : u32 {
+ Payload = 0, // "None" in docs, but confirmed via hardware to return the payload
+ VerticesGenerated = 1,
+ ZPassPixelCount = 2,
+ PrimitivesGenerated = 3,
+ AlphaBetaClocks = 4,
+ VertexShaderInvocations = 5,
+ StreamingPrimitivesNeededMinusSucceeded = 6,
+ GeometryShaderInvocations = 7,
+ GeometryShaderPrimitivesGenerated = 9,
+ ZCullStats0 = 10,
+ StreamingPrimitivesSucceeded = 11,
+ ZCullStats1 = 12,
+ StreamingPrimitivesNeeded = 13,
+ ZCullStats2 = 14,
+ ClipperInvocations = 15,
+ ZCullStats3 = 16,
+ ClipperPrimitivesGenerated = 17,
+ VtgPrimitivesOut = 18,
+ PixelShaderInvocations = 19,
+ ZPassPixelCount64 = 21,
+ IEEECleanColorTarget = 24,
+ IEEECleanZetaTarget = 25,
+ StreamingByteCount = 26,
+ TessellationInitInvocations = 27,
+ BoundingRectangle = 28,
+ TessellationShaderInvocations = 29,
+ TotalStreamingPrimitivesNeededMinusSucceeded = 30,
+ TessellationShaderPrimitivesGenerated = 31,
+ // max.
+ MaxQueryTypes,
+};
+
+// Comparison modes for Host Conditional Rendering
+enum class ComparisonMode : u32 {
+ False = 0,
+ True = 1,
+ Conditional = 2,
+ IfEqual = 3,
+ IfNotEqual = 4,
+ MaxComparisonMode,
+};
+
+// Reduction ops.
+enum class ReductionOp : u32 {
+ RedAdd = 0,
+ RedMin = 1,
+ RedMax = 2,
+ RedInc = 3,
+ RedDec = 4,
+ RedAnd = 5,
+ RedOr = 6,
+ RedXor = 7,
+ MaxReductionOp,
+};
+
+} // namespace VideoCommon \ No newline at end of file
diff --git a/src/video_core/rasterizer_accelerated.cpp b/src/video_core/rasterizer_accelerated.cpp
index 4a197d65d..f200a650f 100644
--- a/src/video_core/rasterizer_accelerated.cpp
+++ b/src/video_core/rasterizer_accelerated.cpp
@@ -13,7 +13,8 @@ namespace VideoCore {
using namespace Core::Memory;
-RasterizerAccelerated::RasterizerAccelerated(Memory& cpu_memory_) : cpu_memory{cpu_memory_} {}
+RasterizerAccelerated::RasterizerAccelerated(Memory& cpu_memory_)
+ : cached_pages(std::make_unique<CachedPages>()), cpu_memory{cpu_memory_} {}
RasterizerAccelerated::~RasterizerAccelerated() = default;
@@ -26,7 +27,7 @@ void RasterizerAccelerated::UpdatePagesCachedCount(VAddr addr, u64 size, int del
std::atomic_thread_fence(std::memory_order_acquire);
const u64 page_end = Common::DivCeil(addr + size, YUZU_PAGESIZE);
for (u64 page = addr >> YUZU_PAGEBITS; page != page_end; ++page) {
- std::atomic_uint16_t& count = cached_pages.at(page >> 2).Count(page);
+ std::atomic_uint16_t& count = cached_pages->at(page >> 2).Count(page);
if (delta > 0) {
ASSERT_MSG(count.load(std::memory_order::relaxed) < UINT16_MAX, "Count may overflow!");
diff --git a/src/video_core/rasterizer_accelerated.h b/src/video_core/rasterizer_accelerated.h
index 7118b8aff..e6c0ea87a 100644
--- a/src/video_core/rasterizer_accelerated.h
+++ b/src/video_core/rasterizer_accelerated.h
@@ -41,7 +41,8 @@ private:
};
static_assert(sizeof(CacheEntry) == 8, "CacheEntry should be 8 bytes!");
- std::array<CacheEntry, 0x2000000> cached_pages;
+ using CachedPages = std::array<CacheEntry, 0x2000000>;
+ std::unique_ptr<CachedPages> cached_pages;
Core::Memory::Memory& cpu_memory;
};
diff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.h
index cb8029a4f..af1469147 100644
--- a/src/video_core/rasterizer_interface.h
+++ b/src/video_core/rasterizer_interface.h
@@ -12,6 +12,7 @@
#include "video_core/cache_types.h"
#include "video_core/engines/fermi_2d.h"
#include "video_core/gpu.h"
+#include "video_core/query_cache/types.h"
#include "video_core/rasterizer_download_area.h"
namespace Tegra {
@@ -26,11 +27,6 @@ struct ChannelState;
namespace VideoCore {
-enum class QueryType {
- SamplesPassed,
-};
-constexpr std::size_t NumQueryTypes = 1;
-
enum class LoadCallbackStage {
Prepare,
Build,
@@ -58,10 +54,11 @@ public:
virtual void DispatchCompute() = 0;
/// Resets the counter of a query
- virtual void ResetCounter(QueryType type) = 0;
+ virtual void ResetCounter(VideoCommon::QueryType type) = 0;
/// Records a GPU query and caches it
- virtual void Query(GPUVAddr gpu_addr, QueryType type, std::optional<u64> timestamp) = 0;
+ virtual void Query(GPUVAddr gpu_addr, VideoCommon::QueryType type,
+ VideoCommon::QueryPropertiesFlags flags, u32 payload, u32 subreport) = 0;
/// Signal an uniform buffer binding
virtual void BindGraphicsUniformBuffer(size_t stage, u32 index, GPUVAddr gpu_addr,
@@ -83,7 +80,7 @@ public:
virtual void SignalReference() = 0;
/// Release all pending fences.
- virtual void ReleaseFences() = 0;
+ virtual void ReleaseFences(bool force = true) = 0;
/// Notify rasterizer that all caches should be flushed to Switch memory
virtual void FlushAll() = 0;
diff --git a/src/video_core/renderer_base.h b/src/video_core/renderer_base.h
index 3e12a8813..78ea5208b 100644
--- a/src/video_core/renderer_base.h
+++ b/src/video_core/renderer_base.h
@@ -89,9 +89,6 @@ public:
void RequestScreenshot(void* data, std::function<void(bool)> callback,
const Layout::FramebufferLayout& layout);
- /// This is called to notify the rendering backend of a surface change
- virtual void NotifySurfaceChanged() {}
-
protected:
Core::Frontend::EmuWindow& render_window; ///< Reference to the render window handle.
std::unique_ptr<Core::Frontend::GraphicsContext> context;
diff --git a/src/video_core/renderer_null/null_rasterizer.cpp b/src/video_core/renderer_null/null_rasterizer.cpp
index 92ecf6682..65cd5aa06 100644
--- a/src/video_core/renderer_null/null_rasterizer.cpp
+++ b/src/video_core/renderer_null/null_rasterizer.cpp
@@ -26,16 +26,18 @@ void RasterizerNull::Draw(bool is_indexed, u32 instance_count) {}
void RasterizerNull::DrawTexture() {}
void RasterizerNull::Clear(u32 layer_count) {}
void RasterizerNull::DispatchCompute() {}
-void RasterizerNull::ResetCounter(VideoCore::QueryType type) {}
-void RasterizerNull::Query(GPUVAddr gpu_addr, VideoCore::QueryType type,
- std::optional<u64> timestamp) {
+void RasterizerNull::ResetCounter(VideoCommon::QueryType type) {}
+void RasterizerNull::Query(GPUVAddr gpu_addr, VideoCommon::QueryType type,
+ VideoCommon::QueryPropertiesFlags flags, u32 payload, u32 subreport) {
if (!gpu_memory) {
return;
}
-
- gpu_memory->Write(gpu_addr, u64{0});
- if (timestamp) {
- gpu_memory->Write(gpu_addr + 8, *timestamp);
+ if (True(flags & VideoCommon::QueryPropertiesFlags::HasTimeout)) {
+ u64 ticks = m_gpu.GetTicks();
+ gpu_memory->Write<u64>(gpu_addr + 8, ticks);
+ gpu_memory->Write<u64>(gpu_addr, static_cast<u64>(payload));
+ } else {
+ gpu_memory->Write<u32>(gpu_addr, payload);
}
}
void RasterizerNull::BindGraphicsUniformBuffer(size_t stage, u32 index, GPUVAddr gpu_addr,
@@ -74,7 +76,7 @@ void RasterizerNull::SignalSyncPoint(u32 value) {
syncpoint_manager.IncrementHost(value);
}
void RasterizerNull::SignalReference() {}
-void RasterizerNull::ReleaseFences() {}
+void RasterizerNull::ReleaseFences(bool) {}
void RasterizerNull::FlushAndInvalidateRegion(VAddr addr, u64 size, VideoCommon::CacheType) {}
void RasterizerNull::WaitForIdle() {}
void RasterizerNull::FragmentBarrier() {}
diff --git a/src/video_core/renderer_null/null_rasterizer.h b/src/video_core/renderer_null/null_rasterizer.h
index 93b9a6971..23001eeb8 100644
--- a/src/video_core/renderer_null/null_rasterizer.h
+++ b/src/video_core/renderer_null/null_rasterizer.h
@@ -42,8 +42,9 @@ public:
void DrawTexture() override;
void Clear(u32 layer_count) override;
void DispatchCompute() override;
- void ResetCounter(VideoCore::QueryType type) override;
- void Query(GPUVAddr gpu_addr, VideoCore::QueryType type, std::optional<u64> timestamp) override;
+ void ResetCounter(VideoCommon::QueryType type) override;
+ void Query(GPUVAddr gpu_addr, VideoCommon::QueryType type,
+ VideoCommon::QueryPropertiesFlags flags, u32 payload, u32 subreport) override;
void BindGraphicsUniformBuffer(size_t stage, u32 index, GPUVAddr gpu_addr, u32 size) override;
void DisableGraphicsUniformBuffer(size_t stage, u32 index) override;
void FlushAll() override;
@@ -63,7 +64,7 @@ public:
void SyncOperation(std::function<void()>&& func) override;
void SignalSyncPoint(u32 value) override;
void SignalReference() override;
- void ReleaseFences() override;
+ void ReleaseFences(bool force) override;
void FlushAndInvalidateRegion(
VAddr addr, u64 size, VideoCommon::CacheType which = VideoCommon::CacheType::All) override;
void WaitForIdle() override;
diff --git a/src/video_core/renderer_opengl/gl_compute_pipeline.cpp b/src/video_core/renderer_opengl/gl_compute_pipeline.cpp
index f9ca55c36..d70501860 100644
--- a/src/video_core/renderer_opengl/gl_compute_pipeline.cpp
+++ b/src/video_core/renderer_opengl/gl_compute_pipeline.cpp
@@ -34,13 +34,13 @@ ComputePipeline::ComputePipeline(const Device& device, TextureCache& texture_cac
: texture_cache{texture_cache_}, buffer_cache{buffer_cache_},
program_manager{program_manager_}, info{info_} {
switch (device.GetShaderBackend()) {
- case Settings::ShaderBackend::GLSL:
+ case Settings::ShaderBackend::Glsl:
source_program = CreateProgram(code, GL_COMPUTE_SHADER);
break;
- case Settings::ShaderBackend::GLASM:
+ case Settings::ShaderBackend::Glasm:
assembly_program = CompileProgram(code, GL_COMPUTE_PROGRAM_NV);
break;
- case Settings::ShaderBackend::SPIRV:
+ case Settings::ShaderBackend::SpirV:
source_program = CreateProgram(code_v, GL_COMPUTE_SHADER);
break;
}
diff --git a/src/video_core/renderer_opengl/gl_device.cpp b/src/video_core/renderer_opengl/gl_device.cpp
index 33e63c17d..94258ccd0 100644
--- a/src/video_core/renderer_opengl/gl_device.cpp
+++ b/src/video_core/renderer_opengl/gl_device.cpp
@@ -106,6 +106,43 @@ bool IsASTCSupported() {
return true;
}
+static bool HasSlowSoftwareAstc(std::string_view vendor_name, std::string_view renderer) {
+// ifdef for Unix reduces string comparisons for non-Windows drivers, and Intel
+#ifdef YUZU_UNIX
+ // Sorted vaguely by how likely a vendor is to appear
+ if (vendor_name == "AMD") {
+ // RadeonSI
+ return true;
+ }
+ if (vendor_name == "Intel") {
+ // Must be inside YUZU_UNIX ifdef as the Windows driver uses the same vendor string
+ // iris, crocus
+ const bool is_intel_dg = (renderer.find("DG") != std::string_view::npos);
+ return is_intel_dg;
+ }
+ if (vendor_name == "nouveau") {
+ return true;
+ }
+ if (vendor_name == "X.Org") {
+ // R600
+ return true;
+ }
+#endif
+ if (vendor_name == "Collabora Ltd") {
+ // Zink
+ return true;
+ }
+ if (vendor_name == "Microsoft Corporation") {
+ // d3d12
+ return true;
+ }
+ if (vendor_name == "Mesa/X.org") {
+ // llvmpipe, softpipe, virgl
+ return true;
+ }
+ return false;
+}
+
[[nodiscard]] bool IsDebugToolAttached(std::span<const std::string_view> extensions) {
const bool nsight = std::getenv("NVTX_INJECTION64_PATH") || std::getenv("NSIGHT_LAUNCHED");
return nsight || HasExtension(extensions, "GL_EXT_debug_tool") ||
@@ -120,12 +157,16 @@ Device::Device(Core::Frontend::EmuWindow& emu_window) {
}
vendor_name = reinterpret_cast<const char*>(glGetString(GL_VENDOR));
const std::string_view version = reinterpret_cast<const char*>(glGetString(GL_VERSION));
+ const std::string_view renderer = reinterpret_cast<const char*>(glGetString(GL_RENDERER));
const std::vector extensions = GetExtensions();
const bool is_nvidia = vendor_name == "NVIDIA Corporation";
const bool is_amd = vendor_name == "ATI Technologies Inc.";
const bool is_intel = vendor_name == "Intel";
+ const bool has_slow_software_astc =
+ !is_nvidia && !is_amd && HasSlowSoftwareAstc(vendor_name, renderer);
+
#ifdef __unix__
constexpr bool is_linux = true;
#else
@@ -152,7 +193,7 @@ Device::Device(Core::Frontend::EmuWindow& emu_window) {
has_vertex_viewport_layer = GLAD_GL_ARB_shader_viewport_layer_array;
has_image_load_formatted = HasExtension(extensions, "GL_EXT_shader_image_load_formatted");
has_texture_shadow_lod = HasExtension(extensions, "GL_EXT_texture_shadow_lod");
- has_astc = IsASTCSupported();
+ has_astc = !has_slow_software_astc && IsASTCSupported();
has_variable_aoffi = TestVariableAoffi();
has_component_indexing_bug = is_amd;
has_precise_bug = TestPreciseBug();
@@ -177,15 +218,15 @@ Device::Device(Core::Frontend::EmuWindow& emu_window) {
has_fast_buffer_sub_data = is_nvidia && !disable_fast_buffer_sub_data;
shader_backend = Settings::values.shader_backend.GetValue();
- use_assembly_shaders = shader_backend == Settings::ShaderBackend::GLASM &&
+ use_assembly_shaders = shader_backend == Settings::ShaderBackend::Glasm &&
GLAD_GL_NV_gpu_program5 && GLAD_GL_NV_compute_program5 &&
GLAD_GL_NV_transform_feedback && GLAD_GL_NV_transform_feedback2;
- if (shader_backend == Settings::ShaderBackend::GLASM && !use_assembly_shaders) {
+ if (shader_backend == Settings::ShaderBackend::Glasm && !use_assembly_shaders) {
LOG_ERROR(Render_OpenGL, "Assembly shaders enabled but not supported");
- shader_backend = Settings::ShaderBackend::GLSL;
+ shader_backend = Settings::ShaderBackend::Glsl;
}
- if (shader_backend == Settings::ShaderBackend::GLSL && is_nvidia) {
+ if (shader_backend == Settings::ShaderBackend::Glsl && is_nvidia) {
const std::string_view driver_version = version.substr(13);
const int version_major =
std::atoi(driver_version.substr(0, driver_version.find(".")).data());
diff --git a/src/video_core/renderer_opengl/gl_graphics_pipeline.cpp b/src/video_core/renderer_opengl/gl_graphics_pipeline.cpp
index 71f720c63..44a771d65 100644
--- a/src/video_core/renderer_opengl/gl_graphics_pipeline.cpp
+++ b/src/video_core/renderer_opengl/gl_graphics_pipeline.cpp
@@ -220,7 +220,8 @@ GraphicsPipeline::GraphicsPipeline(const Device& device, TextureCache& texture_c
ASSERT(num_textures <= MAX_TEXTURES);
ASSERT(num_images <= MAX_IMAGES);
- const bool assembly_shaders{assembly_programs[0].handle != 0};
+ const auto backend = device.GetShaderBackend();
+ const bool assembly_shaders{backend == Settings::ShaderBackend::Glasm};
use_storage_buffers =
!assembly_shaders || num_storage_buffers <= device.GetMaxGLASMStorageBufferBlocks();
writes_global_memory &= !use_storage_buffers;
@@ -230,24 +231,23 @@ GraphicsPipeline::GraphicsPipeline(const Device& device, TextureCache& texture_c
GenerateTransformFeedbackState();
}
const bool in_parallel = thread_worker != nullptr;
- const auto backend = device.GetShaderBackend();
auto func{[this, sources_ = std::move(sources), sources_spirv_ = std::move(sources_spirv),
shader_notify, backend, in_parallel,
force_context_flush](ShaderContext::Context*) mutable {
for (size_t stage = 0; stage < 5; ++stage) {
switch (backend) {
- case Settings::ShaderBackend::GLSL:
+ case Settings::ShaderBackend::Glsl:
if (!sources_[stage].empty()) {
source_programs[stage] = CreateProgram(sources_[stage], Stage(stage));
}
break;
- case Settings::ShaderBackend::GLASM:
+ case Settings::ShaderBackend::Glasm:
if (!sources_[stage].empty()) {
assembly_programs[stage] =
CompileProgram(sources_[stage], AssemblyStage(stage));
}
break;
- case Settings::ShaderBackend::SPIRV:
+ case Settings::ShaderBackend::SpirV:
if (!sources_spirv_[stage].empty()) {
source_programs[stage] = CreateProgram(sources_spirv_[stage], Stage(stage));
}
@@ -559,15 +559,13 @@ void GraphicsPipeline::ConfigureImpl(bool is_indexed) {
}
void GraphicsPipeline::ConfigureTransformFeedbackImpl() const {
- glTransformFeedbackStreamAttribsNV(num_xfb_attribs, xfb_attribs.data(), num_xfb_strides,
- xfb_streams.data(), GL_INTERLEAVED_ATTRIBS);
+ glTransformFeedbackAttribsNV(num_xfb_attribs, xfb_attribs.data(), GL_SEPARATE_ATTRIBS);
}
void GraphicsPipeline::GenerateTransformFeedbackState() {
// TODO(Rodrigo): Inject SKIP_COMPONENTS*_NV when required. An unimplemented message will signal
// when this is required.
GLint* cursor{xfb_attribs.data()};
- GLint* current_stream{xfb_streams.data()};
for (size_t feedback = 0; feedback < Maxwell::NumTransformFeedbackBuffers; ++feedback) {
const auto& layout = key.xfb_state.layouts[feedback];
@@ -575,15 +573,6 @@ void GraphicsPipeline::GenerateTransformFeedbackState() {
if (layout.varying_count == 0) {
continue;
}
- *current_stream = static_cast<GLint>(feedback);
- if (current_stream != xfb_streams.data()) {
- // When stepping one stream, push the expected token
- cursor[0] = GL_NEXT_BUFFER_NV;
- cursor[1] = 0;
- cursor[2] = 0;
- cursor += XFB_ENTRY_STRIDE;
- }
- ++current_stream;
const auto& locations = key.xfb_state.varyings[feedback];
std::optional<u32> current_index;
@@ -619,7 +608,6 @@ void GraphicsPipeline::GenerateTransformFeedbackState() {
}
}
num_xfb_attribs = static_cast<GLsizei>((cursor - xfb_attribs.data()) / XFB_ENTRY_STRIDE);
- num_xfb_strides = static_cast<GLsizei>(current_stream - xfb_streams.data());
}
void GraphicsPipeline::WaitForBuild() {
diff --git a/src/video_core/renderer_opengl/gl_graphics_pipeline.h b/src/video_core/renderer_opengl/gl_graphics_pipeline.h
index 7b3d7eae8..74fc9cc3d 100644
--- a/src/video_core/renderer_opengl/gl_graphics_pipeline.h
+++ b/src/video_core/renderer_opengl/gl_graphics_pipeline.h
@@ -154,9 +154,7 @@ private:
static constexpr std::size_t XFB_ENTRY_STRIDE = 3;
GLsizei num_xfb_attribs{};
- GLsizei num_xfb_strides{};
std::array<GLint, 128 * XFB_ENTRY_STRIDE * Maxwell::NumTransformFeedbackBuffers> xfb_attribs{};
- std::array<GLint, Maxwell::NumTransformFeedbackBuffers> xfb_streams{};
std::mutex built_mutex;
std::condition_variable built_condvar;
diff --git a/src/video_core/renderer_opengl/gl_query_cache.cpp b/src/video_core/renderer_opengl/gl_query_cache.cpp
index 99d7347f5..ec142d48e 100644
--- a/src/video_core/renderer_opengl/gl_query_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_query_cache.cpp
@@ -27,7 +27,7 @@ constexpr GLenum GetTarget(VideoCore::QueryType type) {
} // Anonymous namespace
QueryCache::QueryCache(RasterizerOpenGL& rasterizer_, Core::Memory::Memory& cpu_memory_)
- : QueryCacheBase(rasterizer_, cpu_memory_), gl_rasterizer{rasterizer_} {}
+ : QueryCacheLegacy(rasterizer_, cpu_memory_), gl_rasterizer{rasterizer_} {}
QueryCache::~QueryCache() = default;
diff --git a/src/video_core/renderer_opengl/gl_query_cache.h b/src/video_core/renderer_opengl/gl_query_cache.h
index 872513f22..0721e0b3d 100644
--- a/src/video_core/renderer_opengl/gl_query_cache.h
+++ b/src/video_core/renderer_opengl/gl_query_cache.h
@@ -26,7 +26,7 @@ class RasterizerOpenGL;
using CounterStream = VideoCommon::CounterStreamBase<QueryCache, HostCounter>;
class QueryCache final
- : public VideoCommon::QueryCacheBase<QueryCache, CachedQuery, CounterStream, HostCounter> {
+ : public VideoCommon::QueryCacheLegacy<QueryCache, CachedQuery, CounterStream, HostCounter> {
public:
explicit QueryCache(RasterizerOpenGL& rasterizer_, Core::Memory::Memory& cpu_memory_);
~QueryCache();
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp
index aadd6967c..27e2de1bf 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp
@@ -380,18 +380,55 @@ void RasterizerOpenGL::DispatchCompute() {
pipeline->SetEngine(kepler_compute, gpu_memory);
pipeline->Configure();
const auto& qmd{kepler_compute->launch_description};
+ auto indirect_address = kepler_compute->GetIndirectComputeAddress();
+ if (indirect_address) {
+ // DispatchIndirect
+ static constexpr auto sync_info = VideoCommon::ObtainBufferSynchronize::FullSynchronize;
+ const auto post_op = VideoCommon::ObtainBufferOperation::DiscardWrite;
+ const auto [buffer, offset] =
+ buffer_cache.ObtainBuffer(*indirect_address, 12, sync_info, post_op);
+ glBindBuffer(GL_DISPATCH_INDIRECT_BUFFER, buffer->Handle());
+ glDispatchComputeIndirect(static_cast<GLintptr>(offset));
+ return;
+ }
glDispatchCompute(qmd.grid_dim_x, qmd.grid_dim_y, qmd.grid_dim_z);
++num_queued_commands;
has_written_global_memory |= pipeline->WritesGlobalMemory();
}
-void RasterizerOpenGL::ResetCounter(VideoCore::QueryType type) {
- query_cache.ResetCounter(type);
+void RasterizerOpenGL::ResetCounter(VideoCommon::QueryType type) {
+ if (type == VideoCommon::QueryType::ZPassPixelCount64) {
+ query_cache.ResetCounter(VideoCore::QueryType::SamplesPassed);
+ }
}
-void RasterizerOpenGL::Query(GPUVAddr gpu_addr, VideoCore::QueryType type,
- std::optional<u64> timestamp) {
- query_cache.Query(gpu_addr, type, timestamp);
+void RasterizerOpenGL::Query(GPUVAddr gpu_addr, VideoCommon::QueryType type,
+ VideoCommon::QueryPropertiesFlags flags, u32 payload, u32 subreport) {
+ if (type == VideoCommon::QueryType::ZPassPixelCount64) {
+ if (True(flags & VideoCommon::QueryPropertiesFlags::HasTimeout)) {
+ query_cache.Query(gpu_addr, VideoCore::QueryType::SamplesPassed, {gpu.GetTicks()});
+ } else {
+ query_cache.Query(gpu_addr, VideoCore::QueryType::SamplesPassed, std::nullopt);
+ }
+ return;
+ }
+ if (type != VideoCommon::QueryType::Payload) {
+ payload = 1u;
+ }
+ std::function<void()> func([this, gpu_addr, flags, memory_manager = gpu_memory, payload]() {
+ if (True(flags & VideoCommon::QueryPropertiesFlags::HasTimeout)) {
+ u64 ticks = gpu.GetTicks();
+ memory_manager->Write<u64>(gpu_addr + 8, ticks);
+ memory_manager->Write<u64>(gpu_addr, static_cast<u64>(payload));
+ } else {
+ memory_manager->Write<u32>(gpu_addr, payload);
+ }
+ });
+ if (True(flags & VideoCommon::QueryPropertiesFlags::IsAFence)) {
+ SignalFence(std::move(func));
+ return;
+ }
+ func();
}
void RasterizerOpenGL::BindGraphicsUniformBuffer(size_t stage, u32 index, GPUVAddr gpu_addr,
@@ -562,8 +599,8 @@ void RasterizerOpenGL::SignalReference() {
fence_manager.SignalOrdering();
}
-void RasterizerOpenGL::ReleaseFences() {
- fence_manager.WaitPendingFences();
+void RasterizerOpenGL::ReleaseFences(bool force) {
+ fence_manager.WaitPendingFences(force);
}
void RasterizerOpenGL::FlushAndInvalidateRegion(VAddr addr, u64 size,
@@ -1335,7 +1372,8 @@ bool AccelerateDMA::DmaBufferImageCopy(const Tegra::DMA::ImageCopy& copy_info,
}
const u32 buffer_size = static_cast<u32>(buffer_operand.pitch * buffer_operand.height);
static constexpr auto sync_info = VideoCommon::ObtainBufferSynchronize::FullSynchronize;
- const auto post_op = VideoCommon::ObtainBufferOperation::DoNothing;
+ const auto post_op = IS_IMAGE_UPLOAD ? VideoCommon::ObtainBufferOperation::DoNothing
+ : VideoCommon::ObtainBufferOperation::MarkAsWritten;
const auto [buffer, offset] =
buffer_cache.ObtainBuffer(buffer_operand.address, buffer_size, sync_info, post_op);
@@ -1344,8 +1382,12 @@ bool AccelerateDMA::DmaBufferImageCopy(const Tegra::DMA::ImageCopy& copy_info,
const std::span copy_span{&copy, 1};
if constexpr (IS_IMAGE_UPLOAD) {
+ texture_cache.PrepareImage(image_id, true, false);
image->UploadMemory(buffer->Handle(), offset, copy_span);
} else {
+ if (offset % BytesPerBlock(image->info.format)) {
+ return false;
+ }
texture_cache.DownloadImageIntoBuffer(image, buffer->Handle(), offset, copy_span,
buffer_operand.address, buffer_size);
}
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.h b/src/video_core/renderer_opengl/gl_rasterizer.h
index 8eda2ddba..ceffe1f1e 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer.h
+++ b/src/video_core/renderer_opengl/gl_rasterizer.h
@@ -86,8 +86,9 @@ public:
void DrawTexture() override;
void Clear(u32 layer_count) override;
void DispatchCompute() override;
- void ResetCounter(VideoCore::QueryType type) override;
- void Query(GPUVAddr gpu_addr, VideoCore::QueryType type, std::optional<u64> timestamp) override;
+ void ResetCounter(VideoCommon::QueryType type) override;
+ void Query(GPUVAddr gpu_addr, VideoCommon::QueryType type,
+ VideoCommon::QueryPropertiesFlags flags, u32 payload, u32 subreport) override;
void BindGraphicsUniformBuffer(size_t stage, u32 index, GPUVAddr gpu_addr, u32 size) override;
void DisableGraphicsUniformBuffer(size_t stage, u32 index) override;
void FlushAll() override;
@@ -107,7 +108,7 @@ public:
void SyncOperation(std::function<void()>&& func) override;
void SignalSyncPoint(u32 value) override;
void SignalReference() override;
- void ReleaseFences() override;
+ void ReleaseFences(bool force = true) override;
void FlushAndInvalidateRegion(
VAddr addr, u64 size, VideoCommon::CacheType which = VideoCommon::CacheType::All) override;
void WaitForIdle() override;
diff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cpp
index 7e1d7f92e..2888e0238 100644
--- a/src/video_core/renderer_opengl/gl_shader_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp
@@ -445,7 +445,8 @@ std::unique_ptr<GraphicsPipeline> ShaderCache::CreateGraphicsPipeline(
ShaderContext::ShaderPools& pools, const GraphicsPipelineKey& key,
std::span<Shader::Environment* const> envs, bool use_shader_workers,
bool force_context_flush) try {
- LOG_INFO(Render_OpenGL, "0x{:016x}", key.Hash());
+ auto hash = key.Hash();
+ LOG_INFO(Render_OpenGL, "0x{:016x}", hash);
size_t env_index{};
u32 total_storage_buffers{};
std::array<Shader::IR::Program, Maxwell::MaxShaderProgram> programs;
@@ -474,7 +475,7 @@ std::unique_ptr<GraphicsPipeline> ShaderCache::CreateGraphicsPipeline(
Shader::Maxwell::Flow::CFG cfg(env, pools.flow_block, cfg_offset, index == 0);
if (Settings::values.dump_shaders) {
- env.Dump(key.unique_hashes[index]);
+ env.Dump(hash, key.unique_hashes[index]);
}
if (!uses_vertex_a || index != 1) {
@@ -522,14 +523,14 @@ std::unique_ptr<GraphicsPipeline> ShaderCache::CreateGraphicsPipeline(
const auto runtime_info{
MakeRuntimeInfo(key, program, previous_program, glasm_use_storage_buffers, use_glasm)};
switch (device.GetShaderBackend()) {
- case Settings::ShaderBackend::GLSL:
+ case Settings::ShaderBackend::Glsl:
ConvertLegacyToGeneric(program, runtime_info);
sources[stage_index] = EmitGLSL(profile, runtime_info, program, binding);
break;
- case Settings::ShaderBackend::GLASM:
+ case Settings::ShaderBackend::Glasm:
sources[stage_index] = EmitGLASM(profile, runtime_info, program, binding);
break;
- case Settings::ShaderBackend::SPIRV:
+ case Settings::ShaderBackend::SpirV:
ConvertLegacyToGeneric(program, runtime_info);
sources_spirv[stage_index] = EmitSPIRV(profile, runtime_info, program, binding);
break;
@@ -566,12 +567,13 @@ std::unique_ptr<ComputePipeline> ShaderCache::CreateComputePipeline(
std::unique_ptr<ComputePipeline> ShaderCache::CreateComputePipeline(
ShaderContext::ShaderPools& pools, const ComputePipelineKey& key, Shader::Environment& env,
bool force_context_flush) try {
- LOG_INFO(Render_OpenGL, "0x{:016x}", key.Hash());
+ auto hash = key.Hash();
+ LOG_INFO(Render_OpenGL, "0x{:016x}", hash);
Shader::Maxwell::Flow::CFG cfg{env, pools.flow_block, env.StartAddress()};
if (Settings::values.dump_shaders) {
- env.Dump(key.Hash());
+ env.Dump(hash, key.unique_hash);
}
auto program{TranslateProgram(pools.inst, pools.block, env, cfg, host_info)};
@@ -582,13 +584,13 @@ std::unique_ptr<ComputePipeline> ShaderCache::CreateComputePipeline(
std::string code{};
std::vector<u32> code_spirv;
switch (device.GetShaderBackend()) {
- case Settings::ShaderBackend::GLSL:
+ case Settings::ShaderBackend::Glsl:
code = EmitGLSL(profile, program);
break;
- case Settings::ShaderBackend::GLASM:
+ case Settings::ShaderBackend::Glasm:
code = EmitGLASM(profile, info, program);
break;
- case Settings::ShaderBackend::SPIRV:
+ case Settings::ShaderBackend::SpirV:
code_spirv = EmitSPIRV(profile, program);
break;
}
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.cpp b/src/video_core/renderer_opengl/gl_texture_cache.cpp
index 3b446be07..9cafd2983 100644
--- a/src/video_core/renderer_opengl/gl_texture_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp
@@ -232,10 +232,9 @@ void ApplySwizzle(GLuint handle, PixelFormat format, std::array<SwizzleSource, 4
[[nodiscard]] bool CanBeAccelerated(const TextureCacheRuntime& runtime,
const VideoCommon::ImageInfo& info) {
if (IsPixelFormatASTC(info.format) && info.size.depth == 1 && !runtime.HasNativeASTC()) {
- return Settings::values.accelerate_astc.GetValue() &&
+ return Settings::values.accelerate_astc.GetValue() == Settings::AstcDecodeMode::Gpu &&
Settings::values.astc_recompression.GetValue() ==
- Settings::AstcRecompression::Uncompressed &&
- !Settings::values.async_astc.GetValue();
+ Settings::AstcRecompression::Uncompressed;
}
// Disable other accelerated uploads for now as they don't implement swizzled uploads
return false;
@@ -267,7 +266,8 @@ void ApplySwizzle(GLuint handle, PixelFormat format, std::array<SwizzleSource, 4
[[nodiscard]] bool CanBeDecodedAsync(const TextureCacheRuntime& runtime,
const VideoCommon::ImageInfo& info) {
if (IsPixelFormatASTC(info.format) && !runtime.HasNativeASTC()) {
- return Settings::values.async_astc.GetValue();
+ return Settings::values.accelerate_astc.GetValue() ==
+ Settings::AstcDecodeMode::CpuAsynchronous;
}
return false;
}
diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.h
index c7dc7e0a1..5ea9e2378 100644
--- a/src/video_core/renderer_opengl/maxwell_to_gl.h
+++ b/src/video_core/renderer_opengl/maxwell_to_gl.h
@@ -116,6 +116,7 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> FORMAT_TAB
{GL_RGB9_E5, GL_RGB, GL_UNSIGNED_INT_5_9_9_9_REV}, // E5B9G9R9_FLOAT
{GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT, GL_FLOAT}, // D32_FLOAT
{GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT}, // D16_UNORM
+ {GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT_24_8}, // X8_D24_UNORM
{GL_STENCIL_INDEX8, GL_STENCIL, GL_UNSIGNED_BYTE}, // S8_UINT
{GL_DEPTH24_STENCIL8, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8}, // D24_UNORM_S8_UINT
{GL_DEPTH24_STENCIL8, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8}, // S8_UINT_D24_UNORM
diff --git a/src/video_core/renderer_opengl/renderer_opengl.cpp b/src/video_core/renderer_opengl/renderer_opengl.cpp
index 2a74c1d05..6b8d4e554 100644
--- a/src/video_core/renderer_opengl/renderer_opengl.cpp
+++ b/src/video_core/renderer_opengl/renderer_opengl.cpp
@@ -473,7 +473,7 @@ void RendererOpenGL::DrawScreen(const Layout::FramebufferLayout& layout) {
glBindTextureUnit(0, screen_info.display_texture);
auto anti_aliasing = Settings::values.anti_aliasing.GetValue();
- if (anti_aliasing > Settings::AntiAliasing::LastAA) {
+ if (anti_aliasing >= Settings::AntiAliasing::MaxEnum) {
LOG_ERROR(Render_OpenGL, "Invalid antialiasing option selected {}", anti_aliasing);
anti_aliasing = Settings::AntiAliasing::None;
Settings::values.anti_aliasing.SetValue(anti_aliasing);
diff --git a/src/video_core/renderer_opengl/util_shaders.cpp b/src/video_core/renderer_opengl/util_shaders.cpp
index 544982d18..c437013e6 100644
--- a/src/video_core/renderer_opengl/util_shaders.cpp
+++ b/src/video_core/renderer_opengl/util_shaders.cpp
@@ -68,6 +68,7 @@ void UtilShaders::ASTCDecode(Image& image, const StagingBufferMap& map,
std::span<const VideoCommon::SwizzleParameters> swizzles) {
static constexpr GLuint BINDING_INPUT_BUFFER = 0;
static constexpr GLuint BINDING_OUTPUT_IMAGE = 0;
+ program_manager.LocalMemoryWarmup();
const Extent2D tile_size{
.width = VideoCore::Surface::DefaultBlockWidth(image.info.format),
diff --git a/src/video_core/renderer_vulkan/blit_image.cpp b/src/video_core/renderer_vulkan/blit_image.cpp
index 28d4b15a0..f01d2394e 100644
--- a/src/video_core/renderer_vulkan/blit_image.cpp
+++ b/src/video_core/renderer_vulkan/blit_image.cpp
@@ -3,10 +3,13 @@
#include <algorithm>
+#include "video_core/renderer_vulkan/vk_texture_cache.h"
+
#include "common/settings.h"
#include "video_core/host_shaders/blit_color_float_frag_spv.h"
#include "video_core/host_shaders/convert_abgr8_to_d24s8_frag_spv.h"
#include "video_core/host_shaders/convert_d24s8_to_abgr8_frag_spv.h"
+#include "video_core/host_shaders/convert_d32f_to_abgr8_frag_spv.h"
#include "video_core/host_shaders/convert_depth_to_float_frag_spv.h"
#include "video_core/host_shaders/convert_float_to_depth_frag_spv.h"
#include "video_core/host_shaders/convert_s8d24_to_abgr8_frag_spv.h"
@@ -14,12 +17,12 @@
#include "video_core/host_shaders/vulkan_blit_depth_stencil_frag_spv.h"
#include "video_core/host_shaders/vulkan_color_clear_frag_spv.h"
#include "video_core/host_shaders/vulkan_color_clear_vert_spv.h"
+#include "video_core/host_shaders/vulkan_depthstencil_clear_frag_spv.h"
#include "video_core/renderer_vulkan/blit_image.h"
#include "video_core/renderer_vulkan/maxwell_to_vk.h"
#include "video_core/renderer_vulkan/vk_scheduler.h"
#include "video_core/renderer_vulkan/vk_shader_util.h"
#include "video_core/renderer_vulkan/vk_state_tracker.h"
-#include "video_core/renderer_vulkan/vk_texture_cache.h"
#include "video_core/renderer_vulkan/vk_update_descriptor.h"
#include "video_core/surface.h"
#include "video_core/vulkan_common/vulkan_device.h"
@@ -427,9 +430,11 @@ BlitImageHelper::BlitImageHelper(const Device& device_, Scheduler& scheduler_,
blit_depth_stencil_frag(BuildShader(device, VULKAN_BLIT_DEPTH_STENCIL_FRAG_SPV)),
clear_color_vert(BuildShader(device, VULKAN_COLOR_CLEAR_VERT_SPV)),
clear_color_frag(BuildShader(device, VULKAN_COLOR_CLEAR_FRAG_SPV)),
+ clear_stencil_frag(BuildShader(device, VULKAN_DEPTHSTENCIL_CLEAR_FRAG_SPV)),
convert_depth_to_float_frag(BuildShader(device, CONVERT_DEPTH_TO_FLOAT_FRAG_SPV)),
convert_float_to_depth_frag(BuildShader(device, CONVERT_FLOAT_TO_DEPTH_FRAG_SPV)),
convert_abgr8_to_d24s8_frag(BuildShader(device, CONVERT_ABGR8_TO_D24S8_FRAG_SPV)),
+ convert_d32f_to_abgr8_frag(BuildShader(device, CONVERT_D32F_TO_ABGR8_FRAG_SPV)),
convert_d24s8_to_abgr8_frag(BuildShader(device, CONVERT_D24S8_TO_ABGR8_FRAG_SPV)),
convert_s8d24_to_abgr8_frag(BuildShader(device, CONVERT_S8D24_TO_ABGR8_FRAG_SPV)),
linear_sampler(device.GetLogical().CreateSampler(SAMPLER_CREATE_INFO<VK_FILTER_LINEAR>)),
@@ -554,6 +559,13 @@ void BlitImageHelper::ConvertABGR8ToD24S8(const Framebuffer* dst_framebuffer,
Convert(*convert_abgr8_to_d24s8_pipeline, dst_framebuffer, src_image_view);
}
+void BlitImageHelper::ConvertD32FToABGR8(const Framebuffer* dst_framebuffer,
+ ImageView& src_image_view) {
+ ConvertPipelineColorTargetEx(convert_d32f_to_abgr8_pipeline, dst_framebuffer->RenderPass(),
+ convert_d32f_to_abgr8_frag);
+ ConvertDepthStencil(*convert_d32f_to_abgr8_pipeline, dst_framebuffer, src_image_view);
+}
+
void BlitImageHelper::ConvertD24S8ToABGR8(const Framebuffer* dst_framebuffer,
ImageView& src_image_view) {
ConvertPipelineColorTargetEx(convert_d24s8_to_abgr8_pipeline, dst_framebuffer->RenderPass(),
@@ -592,6 +604,30 @@ void BlitImageHelper::ClearColor(const Framebuffer* dst_framebuffer, u8 color_ma
scheduler.InvalidateState();
}
+void BlitImageHelper::ClearDepthStencil(const Framebuffer* dst_framebuffer, bool depth_clear,
+ f32 clear_depth, u8 stencil_mask, u32 stencil_ref,
+ u32 stencil_compare_mask, const Region2D& dst_region) {
+ const BlitDepthStencilPipelineKey key{
+ .renderpass = dst_framebuffer->RenderPass(),
+ .depth_clear = depth_clear,
+ .stencil_mask = stencil_mask,
+ .stencil_compare_mask = stencil_compare_mask,
+ .stencil_ref = stencil_ref,
+ };
+ const VkPipeline pipeline = FindOrEmplaceClearStencilPipeline(key);
+ const VkPipelineLayout layout = *clear_color_pipeline_layout;
+ scheduler.RequestRenderpass(dst_framebuffer);
+ scheduler.Record([pipeline, layout, clear_depth, dst_region](vk::CommandBuffer cmdbuf) {
+ constexpr std::array blend_constants{0.0f, 0.0f, 0.0f, 0.0f};
+ cmdbuf.SetBlendConstants(blend_constants.data());
+ cmdbuf.BindPipeline(VK_PIPELINE_BIND_POINT_GRAPHICS, pipeline);
+ BindBlitState(cmdbuf, dst_region);
+ cmdbuf.PushConstants(layout, VK_SHADER_STAGE_FRAGMENT_BIT, clear_depth);
+ cmdbuf.Draw(3, 1, 0, 0);
+ });
+ scheduler.InvalidateState();
+}
+
void BlitImageHelper::Convert(VkPipeline pipeline, const Framebuffer* dst_framebuffer,
const ImageView& src_image_view) {
const VkPipelineLayout layout = *one_texture_pipeline_layout;
@@ -819,6 +855,61 @@ VkPipeline BlitImageHelper::FindOrEmplaceClearColorPipeline(const BlitImagePipel
return *clear_color_pipelines.back();
}
+VkPipeline BlitImageHelper::FindOrEmplaceClearStencilPipeline(
+ const BlitDepthStencilPipelineKey& key) {
+ const auto it = std::ranges::find(clear_stencil_keys, key);
+ if (it != clear_stencil_keys.end()) {
+ return *clear_stencil_pipelines[std::distance(clear_stencil_keys.begin(), it)];
+ }
+ clear_stencil_keys.push_back(key);
+ const std::array stages = MakeStages(*clear_color_vert, *clear_stencil_frag);
+ const auto stencil = VkStencilOpState{
+ .failOp = VK_STENCIL_OP_KEEP,
+ .passOp = VK_STENCIL_OP_REPLACE,
+ .depthFailOp = VK_STENCIL_OP_KEEP,
+ .compareOp = VK_COMPARE_OP_ALWAYS,
+ .compareMask = key.stencil_compare_mask,
+ .writeMask = key.stencil_mask,
+ .reference = key.stencil_ref,
+ };
+ const VkPipelineDepthStencilStateCreateInfo depth_stencil_ci{
+ .sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO,
+ .pNext = nullptr,
+ .flags = 0,
+ .depthTestEnable = key.depth_clear,
+ .depthWriteEnable = key.depth_clear,
+ .depthCompareOp = VK_COMPARE_OP_ALWAYS,
+ .depthBoundsTestEnable = VK_FALSE,
+ .stencilTestEnable = VK_TRUE,
+ .front = stencil,
+ .back = stencil,
+ .minDepthBounds = 0.0f,
+ .maxDepthBounds = 0.0f,
+ };
+ clear_stencil_pipelines.push_back(device.GetLogical().CreateGraphicsPipeline({
+ .sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO,
+ .pNext = nullptr,
+ .flags = 0,
+ .stageCount = static_cast<u32>(stages.size()),
+ .pStages = stages.data(),
+ .pVertexInputState = &PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO,
+ .pInputAssemblyState = &PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO,
+ .pTessellationState = nullptr,
+ .pViewportState = &PIPELINE_VIEWPORT_STATE_CREATE_INFO,
+ .pRasterizationState = &PIPELINE_RASTERIZATION_STATE_CREATE_INFO,
+ .pMultisampleState = &PIPELINE_MULTISAMPLE_STATE_CREATE_INFO,
+ .pDepthStencilState = &depth_stencil_ci,
+ .pColorBlendState = &PIPELINE_COLOR_BLEND_STATE_GENERIC_CREATE_INFO,
+ .pDynamicState = &PIPELINE_DYNAMIC_STATE_CREATE_INFO,
+ .layout = *clear_color_pipeline_layout,
+ .renderPass = key.renderpass,
+ .subpass = 0,
+ .basePipelineHandle = VK_NULL_HANDLE,
+ .basePipelineIndex = 0,
+ }));
+ return *clear_stencil_pipelines.back();
+}
+
void BlitImageHelper::ConvertPipeline(vk::Pipeline& pipeline, VkRenderPass renderpass,
bool is_target_depth) {
if (pipeline) {
diff --git a/src/video_core/renderer_vulkan/blit_image.h b/src/video_core/renderer_vulkan/blit_image.h
index 2976a7d91..a032c71fb 100644
--- a/src/video_core/renderer_vulkan/blit_image.h
+++ b/src/video_core/renderer_vulkan/blit_image.h
@@ -27,6 +27,16 @@ struct BlitImagePipelineKey {
Tegra::Engines::Fermi2D::Operation operation;
};
+struct BlitDepthStencilPipelineKey {
+ constexpr auto operator<=>(const BlitDepthStencilPipelineKey&) const noexcept = default;
+
+ VkRenderPass renderpass;
+ bool depth_clear;
+ u8 stencil_mask;
+ u32 stencil_compare_mask;
+ u32 stencil_ref;
+};
+
class BlitImageHelper {
public:
explicit BlitImageHelper(const Device& device, Scheduler& scheduler,
@@ -57,6 +67,8 @@ public:
void ConvertABGR8ToD24S8(const Framebuffer* dst_framebuffer, const ImageView& src_image_view);
+ void ConvertD32FToABGR8(const Framebuffer* dst_framebuffer, ImageView& src_image_view);
+
void ConvertD24S8ToABGR8(const Framebuffer* dst_framebuffer, ImageView& src_image_view);
void ConvertS8D24ToABGR8(const Framebuffer* dst_framebuffer, ImageView& src_image_view);
@@ -64,6 +76,10 @@ public:
void ClearColor(const Framebuffer* dst_framebuffer, u8 color_mask,
const std::array<f32, 4>& clear_color, const Region2D& dst_region);
+ void ClearDepthStencil(const Framebuffer* dst_framebuffer, bool depth_clear, f32 clear_depth,
+ u8 stencil_mask, u32 stencil_ref, u32 stencil_compare_mask,
+ const Region2D& dst_region);
+
private:
void Convert(VkPipeline pipeline, const Framebuffer* dst_framebuffer,
const ImageView& src_image_view);
@@ -76,6 +92,8 @@ private:
[[nodiscard]] VkPipeline FindOrEmplaceDepthStencilPipeline(const BlitImagePipelineKey& key);
[[nodiscard]] VkPipeline FindOrEmplaceClearColorPipeline(const BlitImagePipelineKey& key);
+ [[nodiscard]] VkPipeline FindOrEmplaceClearStencilPipeline(
+ const BlitDepthStencilPipelineKey& key);
void ConvertPipeline(vk::Pipeline& pipeline, VkRenderPass renderpass, bool is_target_depth);
@@ -108,9 +126,11 @@ private:
vk::ShaderModule blit_depth_stencil_frag;
vk::ShaderModule clear_color_vert;
vk::ShaderModule clear_color_frag;
+ vk::ShaderModule clear_stencil_frag;
vk::ShaderModule convert_depth_to_float_frag;
vk::ShaderModule convert_float_to_depth_frag;
vk::ShaderModule convert_abgr8_to_d24s8_frag;
+ vk::ShaderModule convert_d32f_to_abgr8_frag;
vk::ShaderModule convert_d24s8_to_abgr8_frag;
vk::ShaderModule convert_s8d24_to_abgr8_frag;
vk::Sampler linear_sampler;
@@ -122,11 +142,14 @@ private:
std::vector<vk::Pipeline> blit_depth_stencil_pipelines;
std::vector<BlitImagePipelineKey> clear_color_keys;
std::vector<vk::Pipeline> clear_color_pipelines;
+ std::vector<BlitDepthStencilPipelineKey> clear_stencil_keys;
+ std::vector<vk::Pipeline> clear_stencil_pipelines;
vk::Pipeline convert_d32_to_r32_pipeline;
vk::Pipeline convert_r32_to_d32_pipeline;
vk::Pipeline convert_d16_to_r16_pipeline;
vk::Pipeline convert_r16_to_d16_pipeline;
vk::Pipeline convert_abgr8_to_d24s8_pipeline;
+ vk::Pipeline convert_d32f_to_abgr8_pipeline;
vk::Pipeline convert_d24s8_to_abgr8_pipeline;
vk::Pipeline convert_s8d24_to_abgr8_pipeline;
};
diff --git a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
index a8540339d..a08f2f67f 100644
--- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
+++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp
@@ -126,7 +126,7 @@ struct FormatTuple {
{VK_FORMAT_A1R5G5B5_UNORM_PACK16, Attachable}, // A1R5G5B5_UNORM
{VK_FORMAT_A2B10G10R10_UNORM_PACK32, Attachable | Storage}, // A2B10G10R10_UNORM
{VK_FORMAT_A2B10G10R10_UINT_PACK32, Attachable | Storage}, // A2B10G10R10_UINT
- {VK_FORMAT_A2R10G10B10_UNORM_PACK32, Attachable | Storage}, // A2R10G10B10_UNORM
+ {VK_FORMAT_A2R10G10B10_UNORM_PACK32, Attachable}, // A2R10G10B10_UNORM
{VK_FORMAT_A1R5G5B5_UNORM_PACK16, Attachable}, // A1B5G5R5_UNORM (flipped with swizzle)
{VK_FORMAT_R5G5B5A1_UNORM_PACK16}, // A5B5G5R1_UNORM (specially swizzled)
{VK_FORMAT_R8_UNORM, Attachable | Storage}, // R8_UNORM
@@ -185,7 +185,7 @@ struct FormatTuple {
{VK_FORMAT_BC2_SRGB_BLOCK}, // BC2_SRGB
{VK_FORMAT_BC3_SRGB_BLOCK}, // BC3_SRGB
{VK_FORMAT_BC7_SRGB_BLOCK}, // BC7_SRGB
- {VK_FORMAT_R4G4B4A4_UNORM_PACK16}, // A4B4G4R4_UNORM
+ {VK_FORMAT_A4B4G4R4_UNORM_PACK16_EXT}, // A4B4G4R4_UNORM
{VK_FORMAT_R4G4_UNORM_PACK8}, // G4R4_UNORM
{VK_FORMAT_ASTC_4x4_SRGB_BLOCK}, // ASTC_2D_4X4_SRGB
{VK_FORMAT_ASTC_8x8_SRGB_BLOCK}, // ASTC_2D_8X8_SRGB
@@ -214,8 +214,9 @@ struct FormatTuple {
{VK_FORMAT_E5B9G9R9_UFLOAT_PACK32}, // E5B9G9R9_FLOAT
// Depth formats
- {VK_FORMAT_D32_SFLOAT, Attachable}, // D32_FLOAT
- {VK_FORMAT_D16_UNORM, Attachable}, // D16_UNORM
+ {VK_FORMAT_D32_SFLOAT, Attachable}, // D32_FLOAT
+ {VK_FORMAT_D16_UNORM, Attachable}, // D16_UNORM
+ {VK_FORMAT_X8_D24_UNORM_PACK32, Attachable}, // X8_D24_UNORM
// Stencil formats
{VK_FORMAT_S8_UINT, Attachable}, // S8_UINT
diff --git a/src/video_core/renderer_vulkan/renderer_vulkan.cpp b/src/video_core/renderer_vulkan/renderer_vulkan.cpp
index 454bb66a4..c4c30d807 100644
--- a/src/video_core/renderer_vulkan/renderer_vulkan.cpp
+++ b/src/video_core/renderer_vulkan/renderer_vulkan.cpp
@@ -66,21 +66,6 @@ std::string BuildCommaSeparatedExtensions(
return fmt::format("{}", fmt::join(available_extensions, ","));
}
-DebugCallback MakeDebugCallback(const vk::Instance& instance, const vk::InstanceDispatch& dld) {
- if (!Settings::values.renderer_debug) {
- return DebugCallback{};
- }
- const std::optional properties = vk::EnumerateInstanceExtensionProperties(dld);
- const auto it = std::ranges::find_if(*properties, [](const auto& prop) {
- return std::strcmp(VK_EXT_DEBUG_UTILS_EXTENSION_NAME, prop.extensionName) == 0;
- });
- if (it != properties->end()) {
- return CreateDebugUtilsCallback(instance);
- } else {
- return CreateDebugReportCallback(instance);
- }
-}
-
} // Anonymous namespace
Device CreateDevice(const vk::Instance& instance, const vk::InstanceDispatch& dld,
@@ -103,7 +88,8 @@ RendererVulkan::RendererVulkan(Core::TelemetrySession& telemetry_session_,
cpu_memory(cpu_memory_), gpu(gpu_), library(OpenLibrary(context.get())),
instance(CreateInstance(*library, dld, VK_API_VERSION_1_1, render_window.GetWindowInfo().type,
Settings::values.renderer_debug.GetValue())),
- debug_callback(MakeDebugCallback(instance, dld)),
+ debug_messenger(Settings::values.renderer_debug ? CreateDebugUtilsCallback(instance)
+ : vk::DebugUtilsMessenger{}),
surface(CreateSurface(instance, render_window.GetWindowInfo())),
device(CreateDevice(instance, dld, *surface)), memory_allocator(device), state_tracker(),
scheduler(device, state_tracker),
diff --git a/src/video_core/renderer_vulkan/renderer_vulkan.h b/src/video_core/renderer_vulkan/renderer_vulkan.h
index ca22c0baa..14e257cf7 100644
--- a/src/video_core/renderer_vulkan/renderer_vulkan.h
+++ b/src/video_core/renderer_vulkan/renderer_vulkan.h
@@ -7,11 +7,12 @@
#include <string>
#include <variant>
+#include "video_core/renderer_vulkan/vk_rasterizer.h"
+
#include "common/dynamic_library.h"
#include "video_core/renderer_base.h"
#include "video_core/renderer_vulkan/vk_blit_screen.h"
#include "video_core/renderer_vulkan/vk_present_manager.h"
-#include "video_core/renderer_vulkan/vk_rasterizer.h"
#include "video_core/renderer_vulkan/vk_scheduler.h"
#include "video_core/renderer_vulkan/vk_state_tracker.h"
#include "video_core/renderer_vulkan/vk_swapchain.h"
@@ -34,8 +35,6 @@ class GPU;
namespace Vulkan {
-using DebugCallback = std::variant<vk::DebugUtilsMessenger, vk::DebugReportCallback>;
-
Device CreateDevice(const vk::Instance& instance, const vk::InstanceDispatch& dld,
VkSurfaceKHR surface);
@@ -57,10 +56,6 @@ public:
return device.GetDriverName();
}
- void NotifySurfaceChanged() override {
- present_manager.NotifySurfaceChanged();
- }
-
private:
void Report() const;
@@ -74,7 +69,7 @@ private:
vk::InstanceDispatch dld;
vk::Instance instance;
- DebugCallback debug_callback;
+ vk::DebugUtilsMessenger debug_messenger;
vk::SurfaceKHR surface;
ScreenInfo screen_info;
diff --git a/src/video_core/renderer_vulkan/vk_blit_screen.cpp b/src/video_core/renderer_vulkan/vk_blit_screen.cpp
index ad3b29f0e..52fc142d1 100644
--- a/src/video_core/renderer_vulkan/vk_blit_screen.cpp
+++ b/src/video_core/renderer_vulkan/vk_blit_screen.cpp
@@ -96,6 +96,7 @@ std::size_t GetSizeInBytes(const Tegra::FramebufferConfig& framebuffer) {
VkFormat GetFormat(const Tegra::FramebufferConfig& framebuffer) {
switch (framebuffer.pixel_format) {
case Service::android::PixelFormat::Rgba8888:
+ case Service::android::PixelFormat::Rgbx8888:
return VK_FORMAT_A8B8G8R8_UNORM_PACK32;
case Service::android::PixelFormat::Rgb565:
return VK_FORMAT_R5G6B5_UNORM_PACK16;
@@ -566,7 +567,7 @@ void BlitScreen::CreateDescriptorPool() {
const VkDescriptorPoolCreateInfo ci{
.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO,
.pNext = nullptr,
- .flags = VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT,
+ .flags = 0,
.maxSets = static_cast<u32>(image_count),
.poolSizeCount = static_cast<u32>(pool_sizes.size()),
.pPoolSizes = pool_sizes.data(),
@@ -576,7 +577,7 @@ void BlitScreen::CreateDescriptorPool() {
const VkDescriptorPoolCreateInfo ci_aa{
.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO,
.pNext = nullptr,
- .flags = VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT,
+ .flags = 0,
.maxSets = static_cast<u32>(image_count),
.poolSizeCount = static_cast<u32>(pool_sizes_aa.size()),
.pPoolSizes = pool_sizes_aa.data(),
diff --git a/src/video_core/renderer_vulkan/vk_buffer_cache.cpp b/src/video_core/renderer_vulkan/vk_buffer_cache.cpp
index f8cd2a5d8..d8148e89a 100644
--- a/src/video_core/renderer_vulkan/vk_buffer_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_buffer_cache.cpp
@@ -7,8 +7,9 @@
#include <span>
#include <vector>
-#include "video_core/renderer_vulkan/maxwell_to_vk.h"
#include "video_core/renderer_vulkan/vk_buffer_cache.h"
+
+#include "video_core/renderer_vulkan/maxwell_to_vk.h"
#include "video_core/renderer_vulkan/vk_scheduler.h"
#include "video_core/renderer_vulkan/vk_staging_buffer_pool.h"
#include "video_core/renderer_vulkan/vk_update_descriptor.h"
@@ -60,6 +61,9 @@ vk::Buffer CreateBuffer(const Device& device, const MemoryAllocator& memory_allo
if (device.IsExtTransformFeedbackSupported()) {
flags |= VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_BUFFER_BIT_EXT;
}
+ if (device.IsExtConditionalRendering()) {
+ flags |= VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT;
+ }
const VkBufferCreateInfo buffer_ci = {
.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO,
.pNext = nullptr,
@@ -528,17 +532,20 @@ void BufferCacheRuntime::BindVertexBuffers(VideoCommon::HostBindings<Buffer>& bi
buffer_handles.push_back(handle);
}
if (device.IsExtExtendedDynamicStateSupported()) {
- scheduler.Record([bindings_ = std::move(bindings),
+ scheduler.Record([this, bindings_ = std::move(bindings),
buffer_handles_ = std::move(buffer_handles)](vk::CommandBuffer cmdbuf) {
cmdbuf.BindVertexBuffers2EXT(bindings_.min_index,
- bindings_.max_index - bindings_.min_index,
+ std::min(bindings_.max_index - bindings_.min_index,
+ device.GetMaxVertexInputBindings()),
buffer_handles_.data(), bindings_.offsets.data(),
bindings_.sizes.data(), bindings_.strides.data());
});
} else {
- scheduler.Record([bindings_ = std::move(bindings),
+ scheduler.Record([this, bindings_ = std::move(bindings),
buffer_handles_ = std::move(buffer_handles)](vk::CommandBuffer cmdbuf) {
- cmdbuf.BindVertexBuffers(bindings_.min_index, bindings_.max_index - bindings_.min_index,
+ cmdbuf.BindVertexBuffers(bindings_.min_index,
+ std::min(bindings_.max_index - bindings_.min_index,
+ device.GetMaxVertexInputBindings()),
buffer_handles_.data(), bindings_.offsets.data());
});
}
diff --git a/src/video_core/renderer_vulkan/vk_compute_pass.cpp b/src/video_core/renderer_vulkan/vk_compute_pass.cpp
index 3bc8553e1..617f92910 100644
--- a/src/video_core/renderer_vulkan/vk_compute_pass.cpp
+++ b/src/video_core/renderer_vulkan/vk_compute_pass.cpp
@@ -3,20 +3,28 @@
#include <array>
#include <memory>
+#include <numeric>
#include <optional>
#include <utility>
+#include "video_core/renderer_vulkan/vk_texture_cache.h"
+
#include "common/assert.h"
#include "common/common_types.h"
#include "common/div_ceil.h"
+#include "common/vector_math.h"
#include "video_core/host_shaders/astc_decoder_comp_spv.h"
+#include "video_core/host_shaders/convert_msaa_to_non_msaa_comp_spv.h"
+#include "video_core/host_shaders/convert_non_msaa_to_msaa_comp_spv.h"
+#include "video_core/host_shaders/queries_prefix_scan_sum_comp_spv.h"
+#include "video_core/host_shaders/queries_prefix_scan_sum_nosubgroups_comp_spv.h"
+#include "video_core/host_shaders/resolve_conditional_render_comp_spv.h"
#include "video_core/host_shaders/vulkan_quad_indexed_comp_spv.h"
#include "video_core/host_shaders/vulkan_uint8_comp_spv.h"
#include "video_core/renderer_vulkan/vk_compute_pass.h"
#include "video_core/renderer_vulkan/vk_descriptor_pool.h"
#include "video_core/renderer_vulkan/vk_scheduler.h"
#include "video_core/renderer_vulkan/vk_staging_buffer_pool.h"
-#include "video_core/renderer_vulkan/vk_texture_cache.h"
#include "video_core/renderer_vulkan/vk_update_descriptor.h"
#include "video_core/texture_cache/accelerated_swizzle.h"
#include "video_core/texture_cache/types.h"
@@ -56,6 +64,30 @@ constexpr std::array<VkDescriptorSetLayoutBinding, 2> INPUT_OUTPUT_DESCRIPTOR_SE
},
}};
+constexpr std::array<VkDescriptorSetLayoutBinding, 3> QUERIES_SCAN_DESCRIPTOR_SET_BINDINGS{{
+ {
+ .binding = 0,
+ .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER,
+ .descriptorCount = 1,
+ .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT,
+ .pImmutableSamplers = nullptr,
+ },
+ {
+ .binding = 1,
+ .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER,
+ .descriptorCount = 1,
+ .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT,
+ .pImmutableSamplers = nullptr,
+ },
+ {
+ .binding = 2,
+ .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER,
+ .descriptorCount = 1,
+ .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT,
+ .pImmutableSamplers = nullptr,
+ },
+}};
+
constexpr DescriptorBankInfo INPUT_OUTPUT_BANK_INFO{
.uniform_buffers = 0,
.storage_buffers = 2,
@@ -66,6 +98,16 @@ constexpr DescriptorBankInfo INPUT_OUTPUT_BANK_INFO{
.score = 2,
};
+constexpr DescriptorBankInfo QUERIES_SCAN_BANK_INFO{
+ .uniform_buffers = 0,
+ .storage_buffers = 3,
+ .texture_buffers = 0,
+ .image_buffers = 0,
+ .textures = 0,
+ .images = 0,
+ .score = 3,
+};
+
constexpr std::array<VkDescriptorSetLayoutBinding, ASTC_NUM_BINDINGS> ASTC_DESCRIPTOR_SET_BINDINGS{{
{
.binding = ASTC_BINDING_INPUT_BUFFER,
@@ -93,6 +135,33 @@ constexpr DescriptorBankInfo ASTC_BANK_INFO{
.score = 2,
};
+constexpr std::array<VkDescriptorSetLayoutBinding, ASTC_NUM_BINDINGS> MSAA_DESCRIPTOR_SET_BINDINGS{{
+ {
+ .binding = 0,
+ .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE,
+ .descriptorCount = 1,
+ .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT,
+ .pImmutableSamplers = nullptr,
+ },
+ {
+ .binding = 1,
+ .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE,
+ .descriptorCount = 1,
+ .stageFlags = VK_SHADER_STAGE_COMPUTE_BIT,
+ .pImmutableSamplers = nullptr,
+ },
+}};
+
+constexpr DescriptorBankInfo MSAA_BANK_INFO{
+ .uniform_buffers = 0,
+ .storage_buffers = 0,
+ .texture_buffers = 0,
+ .image_buffers = 0,
+ .textures = 0,
+ .images = 2,
+ .score = 2,
+};
+
constexpr VkDescriptorUpdateTemplateEntry INPUT_OUTPUT_DESCRIPTOR_UPDATE_TEMPLATE{
.dstBinding = 0,
.dstArrayElement = 0,
@@ -102,6 +171,24 @@ constexpr VkDescriptorUpdateTemplateEntry INPUT_OUTPUT_DESCRIPTOR_UPDATE_TEMPLAT
.stride = sizeof(DescriptorUpdateEntry),
};
+constexpr VkDescriptorUpdateTemplateEntry QUERIES_SCAN_DESCRIPTOR_UPDATE_TEMPLATE{
+ .dstBinding = 0,
+ .dstArrayElement = 0,
+ .descriptorCount = 3,
+ .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_BUFFER,
+ .offset = 0,
+ .stride = sizeof(DescriptorUpdateEntry),
+};
+
+constexpr VkDescriptorUpdateTemplateEntry MSAA_DESCRIPTOR_UPDATE_TEMPLATE{
+ .dstBinding = 0,
+ .dstArrayElement = 0,
+ .descriptorCount = 2,
+ .descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE,
+ .offset = 0,
+ .stride = sizeof(DescriptorUpdateEntry),
+};
+
constexpr std::array<VkDescriptorUpdateTemplateEntry, ASTC_NUM_BINDINGS>
ASTC_PASS_DESCRIPTOR_UPDATE_TEMPLATE_ENTRY{{
{
@@ -130,13 +217,21 @@ struct AstcPushConstants {
u32 block_height;
u32 block_height_mask;
};
+
+struct QueriesPrefixScanPushConstants {
+ u32 min_accumulation_base;
+ u32 max_accumulation_base;
+ u32 accumulation_limit;
+ u32 buffer_offset;
+};
} // Anonymous namespace
ComputePass::ComputePass(const Device& device_, DescriptorPool& descriptor_pool,
vk::Span<VkDescriptorSetLayoutBinding> bindings,
vk::Span<VkDescriptorUpdateTemplateEntry> templates,
const DescriptorBankInfo& bank_info,
- vk::Span<VkPushConstantRange> push_constants, std::span<const u32> code)
+ vk::Span<VkPushConstantRange> push_constants, std::span<const u32> code,
+ std::optional<u32> optional_subgroup_size)
: device{device_} {
descriptor_set_layout = device.GetLogical().CreateDescriptorSetLayout({
.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO,
@@ -169,6 +264,9 @@ ComputePass::ComputePass(const Device& device_, DescriptorPool& descriptor_pool,
});
descriptor_allocator = descriptor_pool.Allocator(*descriptor_set_layout, bank_info);
}
+ if (code.empty()) {
+ return;
+ }
module = device.GetLogical().CreateShaderModule({
.sType = VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO,
.pNext = nullptr,
@@ -177,13 +275,19 @@ ComputePass::ComputePass(const Device& device_, DescriptorPool& descriptor_pool,
.pCode = code.data(),
});
device.SaveShader(code);
+ const VkPipelineShaderStageRequiredSubgroupSizeCreateInfoEXT subgroup_size_ci{
+ .sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_REQUIRED_SUBGROUP_SIZE_CREATE_INFO_EXT,
+ .pNext = nullptr,
+ .requiredSubgroupSize = optional_subgroup_size ? *optional_subgroup_size : 32U,
+ };
+ bool use_setup_size = device.IsExtSubgroupSizeControlSupported() && optional_subgroup_size;
pipeline = device.GetLogical().CreateComputePipeline({
.sType = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO,
.pNext = nullptr,
.flags = 0,
.stage{
.sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO,
- .pNext = nullptr,
+ .pNext = use_setup_size ? &subgroup_size_ci : nullptr,
.flags = 0,
.stage = VK_SHADER_STAGE_COMPUTE_BIT,
.module = *module,
@@ -301,6 +405,123 @@ std::pair<VkBuffer, VkDeviceSize> QuadIndexedPass::Assemble(
return {staging.buffer, staging.offset};
}
+ConditionalRenderingResolvePass::ConditionalRenderingResolvePass(
+ const Device& device_, Scheduler& scheduler_, DescriptorPool& descriptor_pool_,
+ ComputePassDescriptorQueue& compute_pass_descriptor_queue_)
+ : ComputePass(device_, descriptor_pool_, INPUT_OUTPUT_DESCRIPTOR_SET_BINDINGS,
+ INPUT_OUTPUT_DESCRIPTOR_UPDATE_TEMPLATE, INPUT_OUTPUT_BANK_INFO, nullptr,
+ RESOLVE_CONDITIONAL_RENDER_COMP_SPV),
+ scheduler{scheduler_}, compute_pass_descriptor_queue{compute_pass_descriptor_queue_} {}
+
+void ConditionalRenderingResolvePass::Resolve(VkBuffer dst_buffer, VkBuffer src_buffer,
+ u32 src_offset, bool compare_to_zero) {
+ const size_t compare_size = compare_to_zero ? 8 : 24;
+
+ compute_pass_descriptor_queue.Acquire();
+ compute_pass_descriptor_queue.AddBuffer(src_buffer, src_offset, compare_size);
+ compute_pass_descriptor_queue.AddBuffer(dst_buffer, 0, sizeof(u32));
+ const void* const descriptor_data{compute_pass_descriptor_queue.UpdateData()};
+
+ scheduler.RequestOutsideRenderPassOperationContext();
+ scheduler.Record([this, descriptor_data](vk::CommandBuffer cmdbuf) {
+ static constexpr VkMemoryBarrier read_barrier{
+ .sType = VK_STRUCTURE_TYPE_MEMORY_BARRIER,
+ .pNext = nullptr,
+ .srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT | VK_ACCESS_SHADER_WRITE_BIT,
+ .dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT,
+ };
+ static constexpr VkMemoryBarrier write_barrier{
+ .sType = VK_STRUCTURE_TYPE_MEMORY_BARRIER,
+ .pNext = nullptr,
+ .srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT,
+ .dstAccessMask = VK_ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT,
+ };
+ const VkDescriptorSet set = descriptor_allocator.Commit();
+ device.GetLogical().UpdateDescriptorSet(set, *descriptor_template, descriptor_data);
+
+ cmdbuf.PipelineBarrier(VK_PIPELINE_STAGE_ALL_COMMANDS_BIT,
+ VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, 0, read_barrier);
+ cmdbuf.BindPipeline(VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline);
+ cmdbuf.BindDescriptorSets(VK_PIPELINE_BIND_POINT_COMPUTE, *layout, 0, set, {});
+ cmdbuf.Dispatch(1, 1, 1);
+ cmdbuf.PipelineBarrier(VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT,
+ VK_PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT, 0, write_barrier);
+ });
+}
+
+QueriesPrefixScanPass::QueriesPrefixScanPass(
+ const Device& device_, Scheduler& scheduler_, DescriptorPool& descriptor_pool_,
+ ComputePassDescriptorQueue& compute_pass_descriptor_queue_)
+ : ComputePass(
+ device_, descriptor_pool_, QUERIES_SCAN_DESCRIPTOR_SET_BINDINGS,
+ QUERIES_SCAN_DESCRIPTOR_UPDATE_TEMPLATE, QUERIES_SCAN_BANK_INFO,
+ COMPUTE_PUSH_CONSTANT_RANGE<sizeof(QueriesPrefixScanPushConstants)>,
+ device_.IsSubgroupFeatureSupported(VK_SUBGROUP_FEATURE_BASIC_BIT) &&
+ device_.IsSubgroupFeatureSupported(VK_SUBGROUP_FEATURE_ARITHMETIC_BIT) &&
+ device_.IsSubgroupFeatureSupported(VK_SUBGROUP_FEATURE_SHUFFLE_BIT) &&
+ device_.IsSubgroupFeatureSupported(VK_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT)
+ ? std::span<const u32>(QUERIES_PREFIX_SCAN_SUM_COMP_SPV)
+ : std::span<const u32>(QUERIES_PREFIX_SCAN_SUM_NOSUBGROUPS_COMP_SPV)),
+ scheduler{scheduler_}, compute_pass_descriptor_queue{compute_pass_descriptor_queue_} {}
+
+void QueriesPrefixScanPass::Run(VkBuffer accumulation_buffer, VkBuffer dst_buffer,
+ VkBuffer src_buffer, size_t number_of_sums,
+ size_t min_accumulation_limit, size_t max_accumulation_limit) {
+ size_t current_runs = number_of_sums;
+ size_t offset = 0;
+ while (current_runs != 0) {
+ static constexpr size_t DISPATCH_SIZE = 2048U;
+ size_t runs_to_do = std::min<size_t>(current_runs, DISPATCH_SIZE);
+ current_runs -= runs_to_do;
+ compute_pass_descriptor_queue.Acquire();
+ compute_pass_descriptor_queue.AddBuffer(src_buffer, 0, number_of_sums * sizeof(u64));
+ compute_pass_descriptor_queue.AddBuffer(dst_buffer, 0, number_of_sums * sizeof(u64));
+ compute_pass_descriptor_queue.AddBuffer(accumulation_buffer, 0, sizeof(u64));
+ const void* const descriptor_data{compute_pass_descriptor_queue.UpdateData()};
+ size_t used_offset = offset;
+ offset += runs_to_do;
+
+ scheduler.RequestOutsideRenderPassOperationContext();
+ scheduler.Record([this, descriptor_data, min_accumulation_limit, max_accumulation_limit,
+ runs_to_do, used_offset](vk::CommandBuffer cmdbuf) {
+ static constexpr VkMemoryBarrier read_barrier{
+ .sType = VK_STRUCTURE_TYPE_MEMORY_BARRIER,
+ .pNext = nullptr,
+ .srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT,
+ .dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_SHADER_WRITE_BIT,
+ };
+ static constexpr VkMemoryBarrier write_barrier{
+ .sType = VK_STRUCTURE_TYPE_MEMORY_BARRIER,
+ .pNext = nullptr,
+ .srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT,
+ .dstAccessMask = VK_ACCESS_SHADER_READ_BIT | VK_ACCESS_TRANSFER_READ_BIT |
+ VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT |
+ VK_ACCESS_INDIRECT_COMMAND_READ_BIT | VK_ACCESS_INDEX_READ_BIT |
+ VK_ACCESS_UNIFORM_READ_BIT |
+ VK_ACCESS_CONDITIONAL_RENDERING_READ_BIT_EXT,
+ };
+ const QueriesPrefixScanPushConstants uniforms{
+ .min_accumulation_base = static_cast<u32>(min_accumulation_limit),
+ .max_accumulation_base = static_cast<u32>(max_accumulation_limit),
+ .accumulation_limit = static_cast<u32>(runs_to_do - 1),
+ .buffer_offset = static_cast<u32>(used_offset),
+ };
+ const VkDescriptorSet set = descriptor_allocator.Commit();
+ device.GetLogical().UpdateDescriptorSet(set, *descriptor_template, descriptor_data);
+
+ cmdbuf.PipelineBarrier(VK_PIPELINE_STAGE_ALL_COMMANDS_BIT,
+ VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT, 0, read_barrier);
+ cmdbuf.BindPipeline(VK_PIPELINE_BIND_POINT_COMPUTE, *pipeline);
+ cmdbuf.BindDescriptorSets(VK_PIPELINE_BIND_POINT_COMPUTE, *layout, 0, set, {});
+ cmdbuf.PushConstants(*layout, VK_SHADER_STAGE_COMPUTE_BIT, uniforms);
+ cmdbuf.Dispatch(1, 1, 1);
+ cmdbuf.PipelineBarrier(VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT,
+ VK_PIPELINE_STAGE_CONDITIONAL_RENDERING_BIT_EXT, 0,
+ write_barrier);
+ });
+ }
+}
+
ASTCDecoderPass::ASTCDecoderPass(const Device& device_, Scheduler& scheduler_,
DescriptorPool& descriptor_pool_,
StagingBufferPool& staging_buffer_pool_,
@@ -412,4 +633,100 @@ void ASTCDecoderPass::Assemble(Image& image, const StagingBufferRef& map,
scheduler.Finish();
}
+MSAACopyPass::MSAACopyPass(const Device& device_, Scheduler& scheduler_,
+ DescriptorPool& descriptor_pool_,
+ StagingBufferPool& staging_buffer_pool_,
+ ComputePassDescriptorQueue& compute_pass_descriptor_queue_)
+ : ComputePass(device_, descriptor_pool_, MSAA_DESCRIPTOR_SET_BINDINGS,
+ MSAA_DESCRIPTOR_UPDATE_TEMPLATE, MSAA_BANK_INFO, {},
+ CONVERT_NON_MSAA_TO_MSAA_COMP_SPV),
+ scheduler{scheduler_}, staging_buffer_pool{staging_buffer_pool_},
+ compute_pass_descriptor_queue{compute_pass_descriptor_queue_} {
+ const auto make_msaa_pipeline = [this](size_t i, std::span<const u32> code) {
+ modules[i] = device.GetLogical().CreateShaderModule({
+ .sType = VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO,
+ .pNext = nullptr,
+ .flags = 0,
+ .codeSize = static_cast<u32>(code.size_bytes()),
+ .pCode = code.data(),
+ });
+ pipelines[i] = device.GetLogical().CreateComputePipeline({
+ .sType = VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO,
+ .pNext = nullptr,
+ .flags = 0,
+ .stage{
+ .sType = VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO,
+ .pNext = nullptr,
+ .flags = 0,
+ .stage = VK_SHADER_STAGE_COMPUTE_BIT,
+ .module = *modules[i],
+ .pName = "main",
+ .pSpecializationInfo = nullptr,
+ },
+ .layout = *layout,
+ .basePipelineHandle = nullptr,
+ .basePipelineIndex = 0,
+ });
+ };
+ make_msaa_pipeline(0, CONVERT_NON_MSAA_TO_MSAA_COMP_SPV);
+ make_msaa_pipeline(1, CONVERT_MSAA_TO_NON_MSAA_COMP_SPV);
+}
+
+MSAACopyPass::~MSAACopyPass() = default;
+
+void MSAACopyPass::CopyImage(Image& dst_image, Image& src_image,
+ std::span<const VideoCommon::ImageCopy> copies,
+ bool msaa_to_non_msaa) {
+ const VkPipeline msaa_pipeline = *pipelines[msaa_to_non_msaa ? 1 : 0];
+ scheduler.RequestOutsideRenderPassOperationContext();
+ for (const VideoCommon::ImageCopy& copy : copies) {
+ ASSERT(copy.src_subresource.base_layer == 0);
+ ASSERT(copy.src_subresource.num_layers == 1);
+ ASSERT(copy.dst_subresource.base_layer == 0);
+ ASSERT(copy.dst_subresource.num_layers == 1);
+
+ compute_pass_descriptor_queue.Acquire();
+ compute_pass_descriptor_queue.AddImage(
+ src_image.StorageImageView(copy.src_subresource.base_level));
+ compute_pass_descriptor_queue.AddImage(
+ dst_image.StorageImageView(copy.dst_subresource.base_level));
+ const void* const descriptor_data{compute_pass_descriptor_queue.UpdateData()};
+
+ const Common::Vec3<u32> num_dispatches = {
+ Common::DivCeil(copy.extent.width, 8U),
+ Common::DivCeil(copy.extent.height, 8U),
+ copy.extent.depth,
+ };
+
+ scheduler.Record([this, dst = dst_image.Handle(), msaa_pipeline, num_dispatches,
+ descriptor_data](vk::CommandBuffer cmdbuf) {
+ const VkDescriptorSet set = descriptor_allocator.Commit();
+ device.GetLogical().UpdateDescriptorSet(set, *descriptor_template, descriptor_data);
+ cmdbuf.BindPipeline(VK_PIPELINE_BIND_POINT_COMPUTE, msaa_pipeline);
+ cmdbuf.BindDescriptorSets(VK_PIPELINE_BIND_POINT_COMPUTE, *layout, 0, set, {});
+ cmdbuf.Dispatch(num_dispatches.x, num_dispatches.y, num_dispatches.z);
+ const VkImageMemoryBarrier write_barrier{
+ .sType = VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER,
+ .pNext = nullptr,
+ .srcAccessMask = VK_ACCESS_SHADER_WRITE_BIT,
+ .dstAccessMask = VK_ACCESS_SHADER_READ_BIT,
+ .oldLayout = VK_IMAGE_LAYOUT_GENERAL,
+ .newLayout = VK_IMAGE_LAYOUT_GENERAL,
+ .srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
+ .dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
+ .image = dst,
+ .subresourceRange{
+ .aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
+ .baseMipLevel = 0,
+ .levelCount = VK_REMAINING_MIP_LEVELS,
+ .baseArrayLayer = 0,
+ .layerCount = VK_REMAINING_ARRAY_LAYERS,
+ },
+ };
+ cmdbuf.PipelineBarrier(VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT,
+ VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT, 0, write_barrier);
+ });
+ }
+}
+
} // namespace Vulkan
diff --git a/src/video_core/renderer_vulkan/vk_compute_pass.h b/src/video_core/renderer_vulkan/vk_compute_pass.h
index dd3927376..7b8f938c1 100644
--- a/src/video_core/renderer_vulkan/vk_compute_pass.h
+++ b/src/video_core/renderer_vulkan/vk_compute_pass.h
@@ -3,6 +3,7 @@
#pragma once
+#include <optional>
#include <span>
#include <utility>
@@ -10,6 +11,7 @@
#include "video_core/engines/maxwell_3d.h"
#include "video_core/renderer_vulkan/vk_descriptor_pool.h"
#include "video_core/renderer_vulkan/vk_update_descriptor.h"
+#include "video_core/texture_cache/types.h"
#include "video_core/vulkan_common/vulkan_memory_allocator.h"
#include "video_core/vulkan_common/vulkan_wrapper.h"
@@ -31,7 +33,8 @@ public:
vk::Span<VkDescriptorSetLayoutBinding> bindings,
vk::Span<VkDescriptorUpdateTemplateEntry> templates,
const DescriptorBankInfo& bank_info,
- vk::Span<VkPushConstantRange> push_constants, std::span<const u32> code);
+ vk::Span<VkPushConstantRange> push_constants, std::span<const u32> code,
+ std::optional<u32> optional_subgroup_size = std::nullopt);
~ComputePass();
protected:
@@ -82,6 +85,33 @@ private:
ComputePassDescriptorQueue& compute_pass_descriptor_queue;
};
+class ConditionalRenderingResolvePass final : public ComputePass {
+public:
+ explicit ConditionalRenderingResolvePass(
+ const Device& device_, Scheduler& scheduler_, DescriptorPool& descriptor_pool_,
+ ComputePassDescriptorQueue& compute_pass_descriptor_queue_);
+
+ void Resolve(VkBuffer dst_buffer, VkBuffer src_buffer, u32 src_offset, bool compare_to_zero);
+
+private:
+ Scheduler& scheduler;
+ ComputePassDescriptorQueue& compute_pass_descriptor_queue;
+};
+
+class QueriesPrefixScanPass final : public ComputePass {
+public:
+ explicit QueriesPrefixScanPass(const Device& device_, Scheduler& scheduler_,
+ DescriptorPool& descriptor_pool_,
+ ComputePassDescriptorQueue& compute_pass_descriptor_queue_);
+
+ void Run(VkBuffer accumulation_buffer, VkBuffer dst_buffer, VkBuffer src_buffer,
+ size_t number_of_sums, size_t min_accumulation_limit, size_t max_accumulation_limit);
+
+private:
+ Scheduler& scheduler;
+ ComputePassDescriptorQueue& compute_pass_descriptor_queue;
+};
+
class ASTCDecoderPass final : public ComputePass {
public:
explicit ASTCDecoderPass(const Device& device_, Scheduler& scheduler_,
@@ -101,4 +131,22 @@ private:
MemoryAllocator& memory_allocator;
};
+class MSAACopyPass final : public ComputePass {
+public:
+ explicit MSAACopyPass(const Device& device_, Scheduler& scheduler_,
+ DescriptorPool& descriptor_pool_, StagingBufferPool& staging_buffer_pool_,
+ ComputePassDescriptorQueue& compute_pass_descriptor_queue_);
+ ~MSAACopyPass();
+
+ void CopyImage(Image& dst_image, Image& src_image,
+ std::span<const VideoCommon::ImageCopy> copies, bool msaa_to_non_msaa);
+
+private:
+ Scheduler& scheduler;
+ StagingBufferPool& staging_buffer_pool;
+ ComputePassDescriptorQueue& compute_pass_descriptor_queue;
+ std::array<vk::ShaderModule, 2> modules;
+ std::array<vk::Pipeline, 2> pipelines;
+};
+
} // namespace Vulkan
diff --git a/src/video_core/renderer_vulkan/vk_descriptor_pool.cpp b/src/video_core/renderer_vulkan/vk_descriptor_pool.cpp
index b5ae6443c..6048a301f 100644
--- a/src/video_core/renderer_vulkan/vk_descriptor_pool.cpp
+++ b/src/video_core/renderer_vulkan/vk_descriptor_pool.cpp
@@ -77,7 +77,7 @@ static void AllocatePool(const Device& device, DescriptorBank& bank) {
bank.pools.push_back(device.GetLogical().CreateDescriptorPool({
.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO,
.pNext = nullptr,
- .flags = VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT,
+ .flags = 0,
.maxSets = sets_per_pool,
.poolSizeCount = static_cast<u32>(pool_cursor),
.pPoolSizes = std::data(pool_sizes),
diff --git a/src/video_core/renderer_vulkan/vk_fence_manager.h b/src/video_core/renderer_vulkan/vk_fence_manager.h
index 145359d4e..336573574 100644
--- a/src/video_core/renderer_vulkan/vk_fence_manager.h
+++ b/src/video_core/renderer_vulkan/vk_fence_manager.h
@@ -7,6 +7,7 @@
#include "video_core/fence_manager.h"
#include "video_core/renderer_vulkan/vk_buffer_cache.h"
+#include "video_core/renderer_vulkan/vk_query_cache.h"
#include "video_core/renderer_vulkan/vk_texture_cache.h"
namespace Core {
@@ -20,7 +21,6 @@ class RasterizerInterface;
namespace Vulkan {
class Device;
-class QueryCache;
class Scheduler;
class InnerFence : public VideoCommon::FenceBase {
diff --git a/src/video_core/renderer_vulkan/vk_fsr.cpp b/src/video_core/renderer_vulkan/vk_fsr.cpp
index 9bcdca2fb..ce8f3f3c2 100644
--- a/src/video_core/renderer_vulkan/vk_fsr.cpp
+++ b/src/video_core/renderer_vulkan/vk_fsr.cpp
@@ -150,7 +150,7 @@ void FSR::CreateDescriptorPool() {
const VkDescriptorPoolCreateInfo ci{
.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO,
.pNext = nullptr,
- .flags = VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT,
+ .flags = 0,
.maxSets = static_cast<u32>(image_count * 2),
.poolSizeCount = static_cast<u32>(pool_sizes.size()),
.pPoolSizes = pool_sizes.data(),
diff --git a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
index ad35cacac..f2fd2670f 100644
--- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
+++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp
@@ -7,9 +7,10 @@
#include <boost/container/small_vector.hpp>
#include <boost/container/static_vector.hpp>
+#include "video_core/renderer_vulkan/pipeline_helper.h"
+
#include "common/bit_field.h"
#include "video_core/renderer_vulkan/maxwell_to_vk.h"
-#include "video_core/renderer_vulkan/pipeline_helper.h"
#include "video_core/renderer_vulkan/pipeline_statistics.h"
#include "video_core/renderer_vulkan/vk_buffer_cache.h"
#include "video_core/renderer_vulkan/vk_graphics_pipeline.h"
diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
index 4f84d8497..a1ec1a100 100644
--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp
@@ -294,10 +294,11 @@ PipelineCache::PipelineCache(RasterizerVulkan& rasterizer_, const Device& device
texture_cache{texture_cache_}, shader_notify{shader_notify_},
use_asynchronous_shaders{Settings::values.use_asynchronous_shaders.GetValue()},
use_vulkan_pipeline_cache{Settings::values.use_vulkan_driver_pipeline_cache.GetValue()},
- workers(device.GetDriverID() == VK_DRIVER_ID_QUALCOMM_PROPRIETARY
- ? 1
- : (std::max(std::thread::hardware_concurrency(), 2U) - 1),
- "VkPipelineBuilder"),
+#ifdef ANDROID
+ workers(1, "VkPipelineBuilder"),
+#else
+ workers(std::max(std::thread::hardware_concurrency(), 2U) - 1, "VkPipelineBuilder"),
+#endif
serialization_thread(1, "VkPipelineSerialization") {
const auto& float_control{device.FloatControlProperties()};
const VkDriverId driver_id{device.GetDriverID()};
@@ -584,7 +585,8 @@ std::unique_ptr<GraphicsPipeline> PipelineCache::CreateGraphicsPipeline(
ShaderPools& pools, const GraphicsPipelineCacheKey& key,
std::span<Shader::Environment* const> envs, PipelineStatistics* statistics,
bool build_in_parallel) try {
- LOG_INFO(Render_Vulkan, "0x{:016x}", key.Hash());
+ auto hash = key.Hash();
+ LOG_INFO(Render_Vulkan, "0x{:016x}", hash);
size_t env_index{0};
std::array<Shader::IR::Program, Maxwell::MaxShaderProgram> programs;
const bool uses_vertex_a{key.unique_hashes[0] != 0};
@@ -610,9 +612,6 @@ std::unique_ptr<GraphicsPipeline> PipelineCache::CreateGraphicsPipeline(
const u32 cfg_offset{static_cast<u32>(env.StartAddress() + sizeof(Shader::ProgramHeader))};
Shader::Maxwell::Flow::CFG cfg(env, pools.flow_block, cfg_offset, index == 0);
- if (Settings::values.dump_shaders) {
- env.Dump(key.unique_hashes[index]);
- }
if (!uses_vertex_a || index != 1) {
// Normal path
programs[index] = TranslateProgram(pools.inst, pools.block, env, cfg, host_info);
@@ -623,6 +622,10 @@ std::unique_ptr<GraphicsPipeline> PipelineCache::CreateGraphicsPipeline(
programs[index] = MergeDualVertexPrograms(program_va, program_vb, env);
}
+ if (Settings::values.dump_shaders) {
+ env.Dump(hash, key.unique_hashes[index]);
+ }
+
if (programs[index].info.requires_layer_emulation) {
layer_source_program = &programs[index];
}
@@ -663,6 +666,19 @@ std::unique_ptr<GraphicsPipeline> PipelineCache::CreateGraphicsPipeline(
std::move(modules), infos);
} catch (const Shader::Exception& exception) {
+ auto hash = key.Hash();
+ size_t env_index{0};
+ for (size_t index = 0; index < Maxwell::MaxShaderProgram; ++index) {
+ if (key.unique_hashes[index] == 0) {
+ continue;
+ }
+ Shader::Environment& env{*envs[env_index]};
+ ++env_index;
+
+ const u32 cfg_offset{static_cast<u32>(env.StartAddress() + sizeof(Shader::ProgramHeader))};
+ Shader::Maxwell::Flow::CFG cfg(env, pools.flow_block, cfg_offset, index == 0);
+ env.Dump(hash, key.unique_hashes[index]);
+ }
LOG_ERROR(Render_Vulkan, "{}", exception.what());
return nullptr;
}
@@ -712,18 +728,19 @@ std::unique_ptr<ComputePipeline> PipelineCache::CreateComputePipeline(
std::unique_ptr<ComputePipeline> PipelineCache::CreateComputePipeline(
ShaderPools& pools, const ComputePipelineCacheKey& key, Shader::Environment& env,
PipelineStatistics* statistics, bool build_in_parallel) try {
+ auto hash = key.Hash();
if (device.HasBrokenCompute()) {
- LOG_ERROR(Render_Vulkan, "Skipping 0x{:016x}", key.Hash());
+ LOG_ERROR(Render_Vulkan, "Skipping 0x{:016x}", hash);
return nullptr;
}
- LOG_INFO(Render_Vulkan, "0x{:016x}", key.Hash());
+ LOG_INFO(Render_Vulkan, "0x{:016x}", hash);
Shader::Maxwell::Flow::CFG cfg{env, pools.flow_block, env.StartAddress()};
// Dump it before error.
if (Settings::values.dump_shaders) {
- env.Dump(key.Hash());
+ env.Dump(hash, key.unique_hash);
}
auto program{TranslateProgram(pools.inst, pools.block, env, cfg, host_info)};
diff --git a/src/video_core/renderer_vulkan/vk_present_manager.cpp b/src/video_core/renderer_vulkan/vk_present_manager.cpp
index d681bd22a..2ef36583b 100644
--- a/src/video_core/renderer_vulkan/vk_present_manager.cpp
+++ b/src/video_core/renderer_vulkan/vk_present_manager.cpp
@@ -103,8 +103,7 @@ PresentManager::PresentManager(const vk::Instance& instance_,
surface{surface_}, blit_supported{CanBlitToSwapchain(device.GetPhysical(),
swapchain.GetImageViewFormat())},
use_present_thread{Settings::values.async_presentation.GetValue()},
- image_count{swapchain.GetImageCount()}, last_render_surface{
- render_window_.GetWindowInfo().render_surface} {
+ image_count{swapchain.GetImageCount()} {
auto& dld = device.GetLogical();
cmdpool = dld.CreateCommandPool({
@@ -289,44 +288,36 @@ void PresentManager::PresentThread(std::stop_token token) {
}
}
-void PresentManager::NotifySurfaceChanged() {
-#ifdef ANDROID
- std::scoped_lock lock{recreate_surface_mutex};
- recreate_surface_cv.notify_one();
-#endif
+void PresentManager::RecreateSwapchain(Frame* frame) {
+ swapchain.Create(*surface, frame->width, frame->height, frame->is_srgb);
+ image_count = swapchain.GetImageCount();
}
void PresentManager::CopyToSwapchain(Frame* frame) {
- MICROPROFILE_SCOPE(Vulkan_CopyToSwapchain);
-
- const auto recreate_swapchain = [&] {
- swapchain.Create(*surface, frame->width, frame->height, frame->is_srgb);
- image_count = swapchain.GetImageCount();
- };
-
-#ifdef ANDROID
- std::unique_lock lock{recreate_surface_mutex};
-
- const auto needs_recreation = [&] {
- if (last_render_surface != render_window.GetWindowInfo().render_surface) {
- return true;
- }
- if (swapchain.NeedsRecreation(frame->is_srgb)) {
- return true;
+ bool requires_recreation = false;
+
+ while (true) {
+ try {
+ // Recreate surface and swapchain if needed.
+ if (requires_recreation) {
+ surface = CreateSurface(instance, render_window.GetWindowInfo());
+ RecreateSwapchain(frame);
+ }
+
+ // Draw to swapchain.
+ return CopyToSwapchainImpl(frame);
+ } catch (const vk::Exception& except) {
+ if (except.GetResult() != VK_ERROR_SURFACE_LOST_KHR) {
+ throw;
+ }
+
+ requires_recreation = true;
}
- return false;
- };
-
- recreate_surface_cv.wait_for(lock, std::chrono::milliseconds(400),
- [&]() { return !needs_recreation(); });
-
- // If the frontend recreated the surface, recreate the renderer surface and swapchain.
- if (last_render_surface != render_window.GetWindowInfo().render_surface) {
- last_render_surface = render_window.GetWindowInfo().render_surface;
- surface = CreateSurface(instance, render_window.GetWindowInfo());
- recreate_swapchain();
}
-#endif
+}
+
+void PresentManager::CopyToSwapchainImpl(Frame* frame) {
+ MICROPROFILE_SCOPE(Vulkan_CopyToSwapchain);
// If the size or colorspace of the incoming frames has changed, recreate the swapchain
// to account for that.
@@ -334,11 +325,11 @@ void PresentManager::CopyToSwapchain(Frame* frame) {
const bool size_changed =
swapchain.GetWidth() != frame->width || swapchain.GetHeight() != frame->height;
if (srgb_changed || size_changed) {
- recreate_swapchain();
+ RecreateSwapchain(frame);
}
while (swapchain.AcquireNextImage()) {
- recreate_swapchain();
+ RecreateSwapchain(frame);
}
const vk::CommandBuffer cmdbuf{frame->cmdbuf};
@@ -488,4 +479,4 @@ void PresentManager::CopyToSwapchain(Frame* frame) {
swapchain.Present(render_semaphore);
}
-} // namespace Vulkan \ No newline at end of file
+} // namespace Vulkan
diff --git a/src/video_core/renderer_vulkan/vk_present_manager.h b/src/video_core/renderer_vulkan/vk_present_manager.h
index 83e859416..a3d825fe6 100644
--- a/src/video_core/renderer_vulkan/vk_present_manager.h
+++ b/src/video_core/renderer_vulkan/vk_present_manager.h
@@ -54,14 +54,15 @@ public:
/// Waits for the present thread to finish presenting all queued frames.
void WaitPresent();
- /// This is called to notify the rendering backend of a surface change
- void NotifySurfaceChanged();
-
private:
void PresentThread(std::stop_token token);
void CopyToSwapchain(Frame* frame);
+ void CopyToSwapchainImpl(Frame* frame);
+
+ void RecreateSwapchain(Frame* frame);
+
private:
const vk::Instance& instance;
Core::Frontend::EmuWindow& render_window;
@@ -76,16 +77,13 @@ private:
std::queue<Frame*> free_queue;
std::condition_variable_any frame_cv;
std::condition_variable free_cv;
- std::condition_variable recreate_surface_cv;
std::mutex swapchain_mutex;
- std::mutex recreate_surface_mutex;
std::mutex queue_mutex;
std::mutex free_mutex;
std::jthread present_thread;
bool blit_supported;
bool use_present_thread;
std::size_t image_count{};
- void* last_render_surface{};
};
} // namespace Vulkan
diff --git a/src/video_core/renderer_vulkan/vk_query_cache.cpp b/src/video_core/renderer_vulkan/vk_query_cache.cpp
index 29e0b797b..2edaafa7e 100644
--- a/src/video_core/renderer_vulkan/vk_query_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_query_cache.cpp
@@ -1,139 +1,1555 @@
-// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
-#include <algorithm>
#include <cstddef>
+#include <limits>
+#include <map>
+#include <memory>
+#include <span>
+#include <type_traits>
+#include <unordered_map>
#include <utility>
#include <vector>
+#include "common/bit_util.h"
+#include "common/common_types.h"
+#include "core/memory.h"
+#include "video_core/engines/draw_manager.h"
+#include "video_core/query_cache/query_cache.h"
+#include "video_core/renderer_vulkan/vk_buffer_cache.h"
+#include "video_core/renderer_vulkan/vk_compute_pass.h"
#include "video_core/renderer_vulkan/vk_query_cache.h"
#include "video_core/renderer_vulkan/vk_resource_pool.h"
#include "video_core/renderer_vulkan/vk_scheduler.h"
+#include "video_core/renderer_vulkan/vk_staging_buffer_pool.h"
+#include "video_core/renderer_vulkan/vk_update_descriptor.h"
#include "video_core/vulkan_common/vulkan_device.h"
+#include "video_core/vulkan_common/vulkan_memory_allocator.h"
#include "video_core/vulkan_common/vulkan_wrapper.h"
namespace Vulkan {
-using VideoCore::QueryType;
+using Tegra::Engines::Maxwell3D;
+using VideoCommon::QueryType;
namespace {
+class SamplesQueryBank : public VideoCommon::BankBase {
+public:
+ static constexpr size_t BANK_SIZE = 256;
+ static constexpr size_t QUERY_SIZE = 8;
+ explicit SamplesQueryBank(const Device& device_, size_t index_)
+ : BankBase(BANK_SIZE), device{device_}, index{index_} {
+ const auto& dev = device.GetLogical();
+ query_pool = dev.CreateQueryPool({
+ .sType = VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO,
+ .pNext = nullptr,
+ .flags = 0,
+ .queryType = VK_QUERY_TYPE_OCCLUSION,
+ .queryCount = BANK_SIZE,
+ .pipelineStatistics = 0,
+ });
+ Reset();
+ }
-constexpr std::array QUERY_TARGETS = {VK_QUERY_TYPE_OCCLUSION};
+ ~SamplesQueryBank() = default;
-constexpr VkQueryType GetTarget(QueryType type) {
- return QUERY_TARGETS[static_cast<std::size_t>(type)];
-}
+ void Reset() override {
+ ASSERT(references == 0);
+ VideoCommon::BankBase::Reset();
+ const auto& dev = device.GetLogical();
+ dev.ResetQueryPool(*query_pool, 0, BANK_SIZE);
+ host_results.fill(0ULL);
+ next_bank = 0;
+ }
+
+ void Sync(size_t start, size_t size) {
+ const auto& dev = device.GetLogical();
+ const VkResult query_result = dev.GetQueryResults(
+ *query_pool, static_cast<u32>(start), static_cast<u32>(size), sizeof(u64) * size,
+ &host_results[start], sizeof(u64), VK_QUERY_RESULT_64_BIT | VK_QUERY_RESULT_WAIT_BIT);
+ switch (query_result) {
+ case VK_SUCCESS:
+ return;
+ case VK_ERROR_DEVICE_LOST:
+ device.ReportLoss();
+ [[fallthrough]];
+ default:
+ throw vk::Exception(query_result);
+ }
+ }
+
+ VkQueryPool GetInnerPool() {
+ return *query_pool;
+ }
+
+ size_t GetIndex() const {
+ return index;
+ }
+
+ const std::array<u64, BANK_SIZE>& GetResults() const {
+ return host_results;
+ }
+
+ size_t next_bank;
+
+private:
+ const Device& device;
+ const size_t index;
+ vk::QueryPool query_pool;
+ std::array<u64, BANK_SIZE> host_results;
+};
+
+using BaseStreamer = VideoCommon::SimpleStreamer<VideoCommon::HostQueryBase>;
+
+struct HostSyncValues {
+ VAddr address;
+ size_t size;
+ size_t offset;
+
+ static constexpr bool GeneratesBaseBuffer = false;
+};
+
+class SamplesStreamer : public BaseStreamer {
+public:
+ explicit SamplesStreamer(size_t id_, QueryCacheRuntime& runtime_,
+ VideoCore::RasterizerInterface* rasterizer_, const Device& device_,
+ Scheduler& scheduler_, const MemoryAllocator& memory_allocator_,
+ ComputePassDescriptorQueue& compute_pass_descriptor_queue,
+ DescriptorPool& descriptor_pool)
+ : BaseStreamer(id_), runtime{runtime_}, rasterizer{rasterizer_}, device{device_},
+ scheduler{scheduler_}, memory_allocator{memory_allocator_} {
+ current_bank = nullptr;
+ current_query = nullptr;
+ ammend_value = 0;
+ acumulation_value = 0;
+ queries_prefix_scan_pass = std::make_unique<QueriesPrefixScanPass>(
+ device, scheduler, descriptor_pool, compute_pass_descriptor_queue);
+
+ const VkBufferCreateInfo buffer_ci = {
+ .sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO,
+ .pNext = nullptr,
+ .flags = 0,
+ .size = 8,
+ .usage = VK_BUFFER_USAGE_TRANSFER_DST_BIT | VK_BUFFER_USAGE_TRANSFER_SRC_BIT |
+ VK_BUFFER_USAGE_STORAGE_BUFFER_BIT,
+ .sharingMode = VK_SHARING_MODE_EXCLUSIVE,
+ .queueFamilyIndexCount = 0,
+ .pQueueFamilyIndices = nullptr,
+ };
+ accumulation_buffer = memory_allocator.CreateBuffer(buffer_ci, MemoryUsage::DeviceLocal);
+ scheduler.RequestOutsideRenderPassOperationContext();
+ scheduler.Record([buffer = *accumulation_buffer](vk::CommandBuffer cmdbuf) {
+ cmdbuf.FillBuffer(buffer, 0, 8, 0);
+ });
+ }
+
+ ~SamplesStreamer() = default;
+
+ void StartCounter() override {
+ if (has_started) {
+ return;
+ }
+ ReserveHostQuery();
+ scheduler.Record([query_pool = current_query_pool,
+ query_index = current_bank_slot](vk::CommandBuffer cmdbuf) {
+ const bool use_precise = Settings::IsGPULevelHigh();
+ cmdbuf.BeginQuery(query_pool, static_cast<u32>(query_index),
+ use_precise ? VK_QUERY_CONTROL_PRECISE_BIT : 0);
+ });
+ has_started = true;
+ }
+
+ void PauseCounter() override {
+ if (!has_started) {
+ return;
+ }
+ scheduler.Record([query_pool = current_query_pool,
+ query_index = current_bank_slot](vk::CommandBuffer cmdbuf) {
+ cmdbuf.EndQuery(query_pool, static_cast<u32>(query_index));
+ });
+ has_started = false;
+ }
+
+ void ResetCounter() override {
+ if (has_started) {
+ PauseCounter();
+ }
+ AbandonCurrentQuery();
+ std::function<void()> func([this, counts = pending_flush_queries.size()] {
+ ammend_value = 0;
+ acumulation_value = 0;
+ });
+ rasterizer->SyncOperation(std::move(func));
+ accumulation_since_last_sync = false;
+ first_accumulation_checkpoint = std::min(first_accumulation_checkpoint, num_slots_used);
+ last_accumulation_checkpoint = std::max(last_accumulation_checkpoint, num_slots_used);
+ }
+
+ void CloseCounter() override {
+ PauseCounter();
+ }
-} // Anonymous namespace
+ bool HasPendingSync() const override {
+ return !pending_sync.empty();
+ }
+
+ void SyncWrites() override {
+ if (sync_values_stash.empty()) {
+ return;
+ }
-QueryPool::QueryPool(const Device& device_, Scheduler& scheduler, QueryType type_)
- : ResourcePool{scheduler.GetMasterSemaphore(), GROW_STEP}, device{device_}, type{type_} {}
+ for (size_t i = 0; i < sync_values_stash.size(); i++) {
+ runtime.template SyncValues<HostSyncValues>(sync_values_stash[i],
+ *buffers[resolve_buffers[i]]);
+ }
+
+ sync_values_stash.clear();
+ }
-QueryPool::~QueryPool() = default;
+ void PresyncWrites() override {
+ if (pending_sync.empty()) {
+ return;
+ }
+ PauseCounter();
+ sync_values_stash.clear();
+ sync_values_stash.emplace_back();
+ std::vector<HostSyncValues>* sync_values = &sync_values_stash.back();
+ sync_values->reserve(num_slots_used);
+ std::unordered_map<size_t, std::pair<size_t, size_t>> offsets;
+ resolve_buffers.clear();
+ size_t resolve_buffer_index = ObtainBuffer<true>(num_slots_used);
+ resolve_buffers.push_back(resolve_buffer_index);
+ size_t base_offset = 0;
-std::pair<VkQueryPool, u32> QueryPool::Commit() {
- std::size_t index;
- do {
- index = CommitResource();
- } while (usage[index]);
- usage[index] = true;
+ ApplyBanksWideOp<true>(pending_sync, [&](SamplesQueryBank* bank, size_t start,
+ size_t amount) {
+ size_t bank_id = bank->GetIndex();
+ auto& resolve_buffer = buffers[resolve_buffer_index];
+ VkQueryPool query_pool = bank->GetInnerPool();
+ scheduler.RequestOutsideRenderPassOperationContext();
+ scheduler.Record([start, amount, base_offset, query_pool,
+ buffer = *resolve_buffer](vk::CommandBuffer cmdbuf) {
+ const VkBufferMemoryBarrier copy_query_pool_barrier{
+ .sType = VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER,
+ .pNext = nullptr,
+ .srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT,
+ .dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT,
+ .srcQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
+ .dstQueueFamilyIndex = VK_QUEUE_FAMILY_IGNORED,
+ .buffer = buffer,
+ .offset = base_offset,
+ .size = amount * SamplesQueryBank::QUERY_SIZE,
+ };
+
+ cmdbuf.CopyQueryPoolResults(
+ query_pool, static_cast<u32>(start), static_cast<u32>(amount), buffer,
+ static_cast<u32>(base_offset), SamplesQueryBank::QUERY_SIZE,
+ VK_QUERY_RESULT_WAIT_BIT | VK_QUERY_RESULT_64_BIT);
+ cmdbuf.PipelineBarrier(VK_PIPELINE_STAGE_TRANSFER_BIT,
+ VK_PIPELINE_STAGE_TRANSFER_BIT, 0, copy_query_pool_barrier);
+ });
+ offsets[bank_id] = {start, base_offset};
+ base_offset += amount * SamplesQueryBank::QUERY_SIZE;
+ });
+
+ // Convert queries
+ bool has_multi_queries = false;
+ for (auto q : pending_sync) {
+ auto* query = GetQuery(q);
+ size_t sync_value_slot = 0;
+ if (True(query->flags & VideoCommon::QueryFlagBits::IsRewritten)) {
+ continue;
+ }
+ if (True(query->flags & VideoCommon::QueryFlagBits::IsInvalidated)) {
+ continue;
+ }
+ if (accumulation_since_last_sync || query->size_slots > 1) {
+ if (!has_multi_queries) {
+ has_multi_queries = true;
+ sync_values_stash.emplace_back();
+ }
+ sync_value_slot = 1;
+ }
+ query->flags |= VideoCommon::QueryFlagBits::IsHostSynced;
+ auto loc_data = offsets[query->start_bank_id];
+ sync_values_stash[sync_value_slot].emplace_back(HostSyncValues{
+ .address = query->guest_address,
+ .size = SamplesQueryBank::QUERY_SIZE,
+ .offset =
+ loc_data.second + (query->start_slot - loc_data.first + query->size_slots - 1) *
+ SamplesQueryBank::QUERY_SIZE,
+ });
+ }
+
+ if (has_multi_queries) {
+ size_t intermediary_buffer_index = ObtainBuffer<false>(num_slots_used);
+ resolve_buffers.push_back(intermediary_buffer_index);
+ queries_prefix_scan_pass->Run(*accumulation_buffer, *buffers[intermediary_buffer_index],
+ *buffers[resolve_buffer_index], num_slots_used,
+ std::min(first_accumulation_checkpoint, num_slots_used),
+ last_accumulation_checkpoint);
+
+ } else {
+ scheduler.RequestOutsideRenderPassOperationContext();
+ scheduler.Record([buffer = *accumulation_buffer](vk::CommandBuffer cmdbuf) {
+ cmdbuf.FillBuffer(buffer, 0, 8, 0);
+ });
+ }
+
+ ReplicateCurrentQueryIfNeeded();
+ std::function<void()> func([this] { ammend_value = acumulation_value; });
+ rasterizer->SyncOperation(std::move(func));
+ AbandonCurrentQuery();
+ num_slots_used = 0;
+ first_accumulation_checkpoint = std::numeric_limits<size_t>::max();
+ last_accumulation_checkpoint = 0;
+ accumulation_since_last_sync = has_multi_queries;
+ pending_sync.clear();
+ }
- return {*pools[index / GROW_STEP], static_cast<u32>(index % GROW_STEP)};
+ size_t WriteCounter(VAddr address, bool has_timestamp, u32 value,
+ [[maybe_unused]] std::optional<u32> subreport) override {
+ PauseCounter();
+ auto index = BuildQuery();
+ auto* new_query = GetQuery(index);
+ new_query->guest_address = address;
+ new_query->value = 0;
+ new_query->flags &= ~VideoCommon::QueryFlagBits::IsOrphan;
+ if (has_timestamp) {
+ new_query->flags |= VideoCommon::QueryFlagBits::HasTimestamp;
+ }
+ if (!current_query) {
+ new_query->flags |= VideoCommon::QueryFlagBits::IsFinalValueSynced;
+ return index;
+ }
+ new_query->start_bank_id = current_query->start_bank_id;
+ new_query->size_banks = current_query->size_banks;
+ new_query->start_slot = current_query->start_slot;
+ new_query->size_slots = current_query->size_slots;
+ ApplyBankOp(new_query, [](SamplesQueryBank* bank, size_t start, size_t amount) {
+ bank->AddReference(amount);
+ });
+ pending_sync.push_back(index);
+ pending_flush_queries.push_back(index);
+ return index;
+ }
+
+ bool HasUnsyncedQueries() const override {
+ return !pending_flush_queries.empty();
+ }
+
+ void PushUnsyncedQueries() override {
+ PauseCounter();
+ current_bank->Close();
+ {
+ std::scoped_lock lk(flush_guard);
+ pending_flush_sets.emplace_back(std::move(pending_flush_queries));
+ }
+ }
+
+ void PopUnsyncedQueries() override {
+ std::vector<size_t> current_flush_queries;
+ {
+ std::scoped_lock lk(flush_guard);
+ current_flush_queries = std::move(pending_flush_sets.front());
+ pending_flush_sets.pop_front();
+ }
+ ApplyBanksWideOp<false>(
+ current_flush_queries,
+ [](SamplesQueryBank* bank, size_t start, size_t amount) { bank->Sync(start, amount); });
+ for (auto q : current_flush_queries) {
+ auto* query = GetQuery(q);
+ u64 total = 0;
+ ApplyBankOp(query, [&total](SamplesQueryBank* bank, size_t start, size_t amount) {
+ const auto& results = bank->GetResults();
+ for (size_t i = 0; i < amount; i++) {
+ total += results[start + i];
+ }
+ });
+ query->value = total;
+ query->flags |= VideoCommon::QueryFlagBits::IsFinalValueSynced;
+ }
+ }
+
+private:
+ template <typename Func>
+ void ApplyBankOp(VideoCommon::HostQueryBase* query, Func&& func) {
+ size_t size_slots = query->size_slots;
+ if (size_slots == 0) {
+ return;
+ }
+ size_t bank_id = query->start_bank_id;
+ size_t banks_set = query->size_banks;
+ size_t start_slot = query->start_slot;
+ for (size_t i = 0; i < banks_set; i++) {
+ auto& the_bank = bank_pool.GetBank(bank_id);
+ size_t amount = std::min(the_bank.Size() - start_slot, size_slots);
+ func(&the_bank, start_slot, amount);
+ bank_id = the_bank.next_bank - 1;
+ start_slot = 0;
+ size_slots -= amount;
+ }
+ }
+
+ template <bool is_ordered, typename Func>
+ void ApplyBanksWideOp(std::vector<size_t>& queries, Func&& func) {
+ std::conditional_t<is_ordered, std::map<size_t, std::pair<size_t, size_t>>,
+ std::unordered_map<size_t, std::pair<size_t, size_t>>>
+ indexer;
+ for (auto q : queries) {
+ auto* query = GetQuery(q);
+ ApplyBankOp(query, [&indexer](SamplesQueryBank* bank, size_t start, size_t amount) {
+ auto id_ = bank->GetIndex();
+ auto pair = indexer.try_emplace(id_, std::numeric_limits<size_t>::max(),
+ std::numeric_limits<size_t>::min());
+ auto& current_pair = pair.first->second;
+ current_pair.first = std::min(current_pair.first, start);
+ current_pair.second = std::max(current_pair.second, amount + start);
+ });
+ }
+ for (auto& cont : indexer) {
+ func(&bank_pool.GetBank(cont.first), cont.second.first,
+ cont.second.second - cont.second.first);
+ }
+ }
+
+ void ReserveBank() {
+ current_bank_id =
+ bank_pool.ReserveBank([this](std::deque<SamplesQueryBank>& queue, size_t index) {
+ queue.emplace_back(device, index);
+ });
+ if (current_bank) {
+ current_bank->next_bank = current_bank_id + 1;
+ }
+ current_bank = &bank_pool.GetBank(current_bank_id);
+ current_query_pool = current_bank->GetInnerPool();
+ }
+
+ size_t ReserveBankSlot() {
+ if (!current_bank || current_bank->IsClosed()) {
+ ReserveBank();
+ }
+ auto [built, index] = current_bank->Reserve();
+ current_bank_slot = index;
+ return index;
+ }
+
+ void ReserveHostQuery() {
+ size_t new_slot = ReserveBankSlot();
+ current_bank->AddReference(1);
+ num_slots_used++;
+ if (current_query) {
+ size_t bank_id = current_query->start_bank_id;
+ size_t banks_set = current_query->size_banks - 1;
+ bool found = bank_id == current_bank_id;
+ while (!found && banks_set > 0) {
+ SamplesQueryBank& some_bank = bank_pool.GetBank(bank_id);
+ bank_id = some_bank.next_bank - 1;
+ found = bank_id == current_bank_id;
+ banks_set--;
+ }
+ if (!found) {
+ current_query->size_banks++;
+ }
+ current_query->size_slots++;
+ } else {
+ current_query_id = BuildQuery();
+ current_query = GetQuery(current_query_id);
+ current_query->start_bank_id = static_cast<u32>(current_bank_id);
+ current_query->size_banks = 1;
+ current_query->start_slot = new_slot;
+ current_query->size_slots = 1;
+ }
+ }
+
+ void Free(size_t query_id) override {
+ std::scoped_lock lk(guard);
+ auto* query = GetQuery(query_id);
+ ApplyBankOp(query, [](SamplesQueryBank* bank, size_t start, size_t amount) {
+ bank->CloseReference(amount);
+ });
+ ReleaseQuery(query_id);
+ }
+
+ void AbandonCurrentQuery() {
+ if (!current_query) {
+ return;
+ }
+ Free(current_query_id);
+ current_query = nullptr;
+ current_query_id = 0;
+ }
+
+ void ReplicateCurrentQueryIfNeeded() {
+ if (pending_sync.empty()) {
+ return;
+ }
+ if (!current_query) {
+ return;
+ }
+ auto index = BuildQuery();
+ auto* new_query = GetQuery(index);
+ new_query->guest_address = 0;
+ new_query->value = 0;
+ new_query->flags &= ~VideoCommon::QueryFlagBits::IsOrphan;
+ new_query->start_bank_id = current_query->start_bank_id;
+ new_query->size_banks = current_query->size_banks;
+ new_query->start_slot = current_query->start_slot;
+ new_query->size_slots = current_query->size_slots;
+ ApplyBankOp(new_query, [](SamplesQueryBank* bank, size_t start, size_t amount) {
+ bank->AddReference(amount);
+ });
+ pending_flush_queries.push_back(index);
+ std::function<void()> func([this, index] {
+ auto* query = GetQuery(index);
+ query->value += GetAmmendValue();
+ SetAccumulationValue(query->value);
+ Free(index);
+ });
+ rasterizer->SyncOperation(std::move(func));
+ }
+
+ template <bool is_resolve>
+ size_t ObtainBuffer(size_t num_needed) {
+ const size_t log_2 = std::max<size_t>(11U, Common::Log2Ceil64(num_needed));
+ if constexpr (is_resolve) {
+ if (resolve_table[log_2] != 0) {
+ return resolve_table[log_2] - 1;
+ }
+ } else {
+ if (intermediary_table[log_2] != 0) {
+ return intermediary_table[log_2] - 1;
+ }
+ }
+ const VkBufferCreateInfo buffer_ci = {
+ .sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO,
+ .pNext = nullptr,
+ .flags = 0,
+ .size = SamplesQueryBank::QUERY_SIZE * (1ULL << log_2),
+ .usage = VK_BUFFER_USAGE_TRANSFER_DST_BIT | VK_BUFFER_USAGE_TRANSFER_SRC_BIT |
+ VK_BUFFER_USAGE_STORAGE_BUFFER_BIT,
+ .sharingMode = VK_SHARING_MODE_EXCLUSIVE,
+ .queueFamilyIndexCount = 0,
+ .pQueueFamilyIndices = nullptr,
+ };
+ buffers.emplace_back(memory_allocator.CreateBuffer(buffer_ci, MemoryUsage::DeviceLocal));
+ if constexpr (is_resolve) {
+ resolve_table[log_2] = buffers.size();
+ } else {
+ intermediary_table[log_2] = buffers.size();
+ }
+ return buffers.size() - 1;
+ }
+
+ QueryCacheRuntime& runtime;
+ VideoCore::RasterizerInterface* rasterizer;
+ const Device& device;
+ Scheduler& scheduler;
+ const MemoryAllocator& memory_allocator;
+ VideoCommon::BankPool<SamplesQueryBank> bank_pool;
+ std::deque<vk::Buffer> buffers;
+ std::array<size_t, 32> resolve_table{};
+ std::array<size_t, 32> intermediary_table{};
+ vk::Buffer accumulation_buffer;
+ std::deque<std::vector<HostSyncValues>> sync_values_stash;
+ std::vector<size_t> resolve_buffers;
+
+ // syncing queue
+ std::vector<size_t> pending_sync;
+
+ // flush levels
+ std::vector<size_t> pending_flush_queries;
+ std::deque<std::vector<size_t>> pending_flush_sets;
+
+ // State Machine
+ size_t current_bank_slot;
+ size_t current_bank_id;
+ SamplesQueryBank* current_bank;
+ VkQueryPool current_query_pool;
+ size_t current_query_id;
+ size_t num_slots_used{};
+ size_t first_accumulation_checkpoint{};
+ size_t last_accumulation_checkpoint{};
+ bool accumulation_since_last_sync{};
+ VideoCommon::HostQueryBase* current_query;
+ bool has_started{};
+ std::mutex flush_guard;
+
+ std::unique_ptr<QueriesPrefixScanPass> queries_prefix_scan_pass;
+};
+
+// Transform feedback queries
+class TFBQueryBank : public VideoCommon::BankBase {
+public:
+ static constexpr size_t BANK_SIZE = 1024;
+ static constexpr size_t QUERY_SIZE = 4;
+ explicit TFBQueryBank(Scheduler& scheduler_, const MemoryAllocator& memory_allocator,
+ size_t index_)
+ : BankBase(BANK_SIZE), scheduler{scheduler_}, index{index_} {
+ const VkBufferCreateInfo buffer_ci = {
+ .sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO,
+ .pNext = nullptr,
+ .flags = 0,
+ .size = QUERY_SIZE * BANK_SIZE,
+ .usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT,
+ .sharingMode = VK_SHARING_MODE_EXCLUSIVE,
+ .queueFamilyIndexCount = 0,
+ .pQueueFamilyIndices = nullptr,
+ };
+ buffer = memory_allocator.CreateBuffer(buffer_ci, MemoryUsage::DeviceLocal);
+ }
+
+ ~TFBQueryBank() = default;
+
+ void Reset() override {
+ ASSERT(references == 0);
+ VideoCommon::BankBase::Reset();
+ }
+
+ void Sync(StagingBufferRef& stagging_buffer, size_t extra_offset, size_t start, size_t size) {
+ scheduler.RequestOutsideRenderPassOperationContext();
+ scheduler.Record([this, dst_buffer = stagging_buffer.buffer, extra_offset, start,
+ size](vk::CommandBuffer cmdbuf) {
+ std::array<VkBufferCopy, 1> copy{VkBufferCopy{
+ .srcOffset = start * QUERY_SIZE,
+ .dstOffset = extra_offset,
+ .size = size * QUERY_SIZE,
+ }};
+ cmdbuf.CopyBuffer(*buffer, dst_buffer, copy);
+ });
+ }
+
+ size_t GetIndex() const {
+ return index;
+ }
+
+ VkBuffer GetBuffer() const {
+ return *buffer;
+ }
+
+private:
+ Scheduler& scheduler;
+ const size_t index;
+ vk::Buffer buffer;
+};
+
+class PrimitivesSucceededStreamer;
+
+class TFBCounterStreamer : public BaseStreamer {
+public:
+ explicit TFBCounterStreamer(size_t id_, QueryCacheRuntime& runtime_, const Device& device_,
+ Scheduler& scheduler_, const MemoryAllocator& memory_allocator_,
+ StagingBufferPool& staging_pool_)
+ : BaseStreamer(id_), runtime{runtime_}, device{device_}, scheduler{scheduler_},
+ memory_allocator{memory_allocator_}, staging_pool{staging_pool_} {
+ buffers_count = 0;
+ current_bank = nullptr;
+ counter_buffers.fill(VK_NULL_HANDLE);
+ offsets.fill(0);
+ last_queries.fill(0);
+ last_queries_stride.fill(1);
+ const VkBufferCreateInfo buffer_ci = {
+ .sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO,
+ .pNext = nullptr,
+ .flags = 0,
+ .size = TFBQueryBank::QUERY_SIZE * NUM_STREAMS,
+ .usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_TRANSFER_DST_BIT |
+ VK_BUFFER_USAGE_TRANSFORM_FEEDBACK_COUNTER_BUFFER_BIT_EXT,
+ .sharingMode = VK_SHARING_MODE_EXCLUSIVE,
+ .queueFamilyIndexCount = 0,
+ .pQueueFamilyIndices = nullptr,
+ };
+
+ counters_buffer = memory_allocator.CreateBuffer(buffer_ci, MemoryUsage::DeviceLocal);
+ for (auto& c : counter_buffers) {
+ c = *counters_buffer;
+ }
+ size_t base_offset = 0;
+ for (auto& o : offsets) {
+ o = base_offset;
+ base_offset += TFBQueryBank::QUERY_SIZE;
+ }
+ }
+
+ ~TFBCounterStreamer() = default;
+
+ void StartCounter() override {
+ FlushBeginTFB();
+ has_started = true;
+ }
+
+ void PauseCounter() override {
+ CloseCounter();
+ }
+
+ void ResetCounter() override {
+ CloseCounter();
+ }
+
+ void CloseCounter() override {
+ if (has_flushed_end_pending) {
+ FlushEndTFB();
+ }
+ runtime.View3DRegs([this](Maxwell3D& maxwell3d) {
+ if (maxwell3d.regs.transform_feedback_enabled == 0) {
+ streams_mask = 0;
+ has_started = false;
+ }
+ });
+ }
+
+ bool HasPendingSync() const override {
+ return !pending_sync.empty();
+ }
+
+ void SyncWrites() override {
+ CloseCounter();
+ std::unordered_map<size_t, std::vector<HostSyncValues>> sync_values_stash;
+ for (auto q : pending_sync) {
+ auto* query = GetQuery(q);
+ if (True(query->flags & VideoCommon::QueryFlagBits::IsRewritten)) {
+ continue;
+ }
+ if (True(query->flags & VideoCommon::QueryFlagBits::IsInvalidated)) {
+ continue;
+ }
+ query->flags |= VideoCommon::QueryFlagBits::IsHostSynced;
+ sync_values_stash.try_emplace(query->start_bank_id);
+ sync_values_stash[query->start_bank_id].emplace_back(HostSyncValues{
+ .address = query->guest_address,
+ .size = TFBQueryBank::QUERY_SIZE,
+ .offset = query->start_slot * TFBQueryBank::QUERY_SIZE,
+ });
+ }
+ for (auto& p : sync_values_stash) {
+ auto& bank = bank_pool.GetBank(p.first);
+ runtime.template SyncValues<HostSyncValues>(p.second, bank.GetBuffer());
+ }
+ pending_sync.clear();
+ }
+
+ size_t WriteCounter(VAddr address, bool has_timestamp, u32 value,
+ std::optional<u32> subreport_) override {
+ auto index = BuildQuery();
+ auto* new_query = GetQuery(index);
+ new_query->guest_address = address;
+ new_query->value = 0;
+ new_query->flags &= ~VideoCommon::QueryFlagBits::IsOrphan;
+ if (has_timestamp) {
+ new_query->flags |= VideoCommon::QueryFlagBits::HasTimestamp;
+ }
+ if (!subreport_) {
+ new_query->flags |= VideoCommon::QueryFlagBits::IsFinalValueSynced;
+ return index;
+ }
+ const size_t subreport = static_cast<size_t>(*subreport_);
+ last_queries[subreport] = address;
+ if ((streams_mask & (1ULL << subreport)) == 0) {
+ new_query->flags |= VideoCommon::QueryFlagBits::IsFinalValueSynced;
+ return index;
+ }
+ CloseCounter();
+ auto [bank_slot, data_slot] = ProduceCounterBuffer(subreport);
+ new_query->start_bank_id = static_cast<u32>(bank_slot);
+ new_query->size_banks = 1;
+ new_query->start_slot = static_cast<u32>(data_slot);
+ new_query->size_slots = 1;
+ pending_sync.push_back(index);
+ pending_flush_queries.push_back(index);
+ return index;
+ }
+
+ std::optional<std::pair<VAddr, size_t>> GetLastQueryStream(size_t stream) {
+ if (last_queries[stream] != 0) {
+ std::pair<VAddr, size_t> result(last_queries[stream], last_queries_stride[stream]);
+ return result;
+ }
+ return std::nullopt;
+ }
+
+ Maxwell3D::Regs::PrimitiveTopology GetOutputTopology() const {
+ return out_topology;
+ }
+
+ bool HasUnsyncedQueries() const override {
+ return !pending_flush_queries.empty();
+ }
+
+ void PushUnsyncedQueries() override {
+ CloseCounter();
+ auto staging_ref = staging_pool.Request(
+ pending_flush_queries.size() * TFBQueryBank::QUERY_SIZE, MemoryUsage::Download, true);
+ size_t offset_base = staging_ref.offset;
+ for (auto q : pending_flush_queries) {
+ auto* query = GetQuery(q);
+ auto& bank = bank_pool.GetBank(query->start_bank_id);
+ bank.Sync(staging_ref, offset_base, query->start_slot, 1);
+ offset_base += TFBQueryBank::QUERY_SIZE;
+ bank.CloseReference();
+ }
+ static constexpr VkMemoryBarrier WRITE_BARRIER{
+ .sType = VK_STRUCTURE_TYPE_MEMORY_BARRIER,
+ .pNext = nullptr,
+ .srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT,
+ .dstAccessMask = VK_ACCESS_MEMORY_READ_BIT | VK_ACCESS_MEMORY_WRITE_BIT,
+ };
+ scheduler.RequestOutsideRenderPassOperationContext();
+ scheduler.Record([](vk::CommandBuffer cmdbuf) {
+ cmdbuf.PipelineBarrier(VK_PIPELINE_STAGE_TRANSFER_BIT,
+ VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, 0, WRITE_BARRIER);
+ });
+
+ std::scoped_lock lk(flush_guard);
+ for (auto& str : free_queue) {
+ staging_pool.FreeDeferred(str);
+ }
+ free_queue.clear();
+ download_buffers.emplace_back(staging_ref);
+ pending_flush_sets.emplace_back(std::move(pending_flush_queries));
+ }
+
+ void PopUnsyncedQueries() override {
+ StagingBufferRef staging_ref;
+ std::vector<size_t> flushed_queries;
+ {
+ std::scoped_lock lk(flush_guard);
+ staging_ref = download_buffers.front();
+ flushed_queries = std::move(pending_flush_sets.front());
+ download_buffers.pop_front();
+ pending_flush_sets.pop_front();
+ }
+
+ size_t offset_base = staging_ref.offset;
+ for (auto q : flushed_queries) {
+ auto* query = GetQuery(q);
+ u32 result = 0;
+ std::memcpy(&result, staging_ref.mapped_span.data() + offset_base, sizeof(u32));
+ query->value = static_cast<u64>(result);
+ query->flags |= VideoCommon::QueryFlagBits::IsFinalValueSynced;
+ offset_base += TFBQueryBank::QUERY_SIZE;
+ }
+
+ {
+ std::scoped_lock lk(flush_guard);
+ free_queue.emplace_back(staging_ref);
+ }
+ }
+
+private:
+ void FlushBeginTFB() {
+ if (has_flushed_end_pending) [[unlikely]] {
+ return;
+ }
+ has_flushed_end_pending = true;
+ if (!has_started || buffers_count == 0) {
+ scheduler.Record([](vk::CommandBuffer cmdbuf) {
+ cmdbuf.BeginTransformFeedbackEXT(0, 0, nullptr, nullptr);
+ });
+ UpdateBuffers();
+ return;
+ }
+ scheduler.Record([this, total = static_cast<u32>(buffers_count)](vk::CommandBuffer cmdbuf) {
+ cmdbuf.BeginTransformFeedbackEXT(0, total, counter_buffers.data(), offsets.data());
+ });
+ UpdateBuffers();
+ }
+
+ void FlushEndTFB() {
+ if (!has_flushed_end_pending) [[unlikely]] {
+ UNREACHABLE();
+ return;
+ }
+ has_flushed_end_pending = false;
+
+ if (buffers_count == 0) {
+ scheduler.Record([](vk::CommandBuffer cmdbuf) {
+ cmdbuf.EndTransformFeedbackEXT(0, 0, nullptr, nullptr);
+ });
+ } else {
+ scheduler.Record([this,
+ total = static_cast<u32>(buffers_count)](vk::CommandBuffer cmdbuf) {
+ cmdbuf.EndTransformFeedbackEXT(0, total, counter_buffers.data(), offsets.data());
+ });
+ }
+ }
+
+ void UpdateBuffers() {
+ last_queries.fill(0);
+ last_queries_stride.fill(1);
+ runtime.View3DRegs([this](Maxwell3D& maxwell3d) {
+ buffers_count = 0;
+ out_topology = maxwell3d.draw_manager->GetDrawState().topology;
+ for (size_t i = 0; i < Maxwell3D::Regs::NumTransformFeedbackBuffers; i++) {
+ const auto& tf = maxwell3d.regs.transform_feedback;
+ if (tf.buffers[i].enable == 0) {
+ continue;
+ }
+ const size_t stream = tf.controls[i].stream;
+ last_queries_stride[stream] = tf.controls[i].stride;
+ streams_mask |= 1ULL << stream;
+ buffers_count = std::max<size_t>(buffers_count, stream + 1);
+ }
+ });
+ }
+
+ std::pair<size_t, size_t> ProduceCounterBuffer(size_t stream) {
+ if (current_bank == nullptr || current_bank->IsClosed()) {
+ current_bank_id =
+ bank_pool.ReserveBank([this](std::deque<TFBQueryBank>& queue, size_t index) {
+ queue.emplace_back(scheduler, memory_allocator, index);
+ });
+ current_bank = &bank_pool.GetBank(current_bank_id);
+ }
+ auto [dont_care, other] = current_bank->Reserve();
+ const size_t slot = other; // workaround to compile bug.
+ current_bank->AddReference();
+
+ static constexpr VkMemoryBarrier READ_BARRIER{
+ .sType = VK_STRUCTURE_TYPE_MEMORY_BARRIER,
+ .pNext = nullptr,
+ .srcAccessMask = VK_ACCESS_TRANSFORM_FEEDBACK_COUNTER_WRITE_BIT_EXT,
+ .dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT,
+ };
+ static constexpr VkMemoryBarrier WRITE_BARRIER{
+ .sType = VK_STRUCTURE_TYPE_MEMORY_BARRIER,
+ .pNext = nullptr,
+ .srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT,
+ .dstAccessMask = VK_ACCESS_MEMORY_READ_BIT,
+ };
+ scheduler.RequestOutsideRenderPassOperationContext();
+ scheduler.Record([dst_buffer = current_bank->GetBuffer(),
+ src_buffer = counter_buffers[stream], src_offset = offsets[stream],
+ slot](vk::CommandBuffer cmdbuf) {
+ cmdbuf.PipelineBarrier(VK_PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT,
+ VK_PIPELINE_STAGE_TRANSFER_BIT, 0, READ_BARRIER);
+ std::array<VkBufferCopy, 1> copy{VkBufferCopy{
+ .srcOffset = src_offset,
+ .dstOffset = slot * TFBQueryBank::QUERY_SIZE,
+ .size = TFBQueryBank::QUERY_SIZE,
+ }};
+ cmdbuf.CopyBuffer(src_buffer, dst_buffer, copy);
+ cmdbuf.PipelineBarrier(VK_PIPELINE_STAGE_TRANSFER_BIT, VK_PIPELINE_STAGE_TRANSFER_BIT,
+ 0, WRITE_BARRIER);
+ });
+ return {current_bank_id, slot};
+ }
+
+ friend class PrimitivesSucceededStreamer;
+
+ static constexpr size_t NUM_STREAMS = 4;
+
+ QueryCacheRuntime& runtime;
+ const Device& device;
+ Scheduler& scheduler;
+ const MemoryAllocator& memory_allocator;
+ StagingBufferPool& staging_pool;
+ VideoCommon::BankPool<TFBQueryBank> bank_pool;
+ size_t current_bank_id;
+ TFBQueryBank* current_bank;
+ vk::Buffer counters_buffer;
+
+ // syncing queue
+ std::vector<size_t> pending_sync;
+
+ // flush levels
+ std::vector<size_t> pending_flush_queries;
+ std::deque<StagingBufferRef> download_buffers;
+ std::deque<std::vector<size_t>> pending_flush_sets;
+ std::vector<StagingBufferRef> free_queue;
+ std::mutex flush_guard;
+
+ // state machine
+ bool has_started{};
+ bool has_flushed_end_pending{};
+ size_t buffers_count{};
+ std::array<VkBuffer, NUM_STREAMS> counter_buffers{};
+ std::array<VkDeviceSize, NUM_STREAMS> offsets{};
+ std::array<VAddr, NUM_STREAMS> last_queries;
+ std::array<size_t, NUM_STREAMS> last_queries_stride;
+ Maxwell3D::Regs::PrimitiveTopology out_topology;
+ u64 streams_mask;
+};
+
+class PrimitivesQueryBase : public VideoCommon::QueryBase {
+public:
+ // Default constructor
+ PrimitivesQueryBase()
+ : VideoCommon::QueryBase(0, VideoCommon::QueryFlagBits::IsHostManaged, 0) {}
+
+ // Parameterized constructor
+ PrimitivesQueryBase(bool has_timestamp, VAddr address)
+ : VideoCommon::QueryBase(address, VideoCommon::QueryFlagBits::IsHostManaged, 0) {
+ if (has_timestamp) {
+ flags |= VideoCommon::QueryFlagBits::HasTimestamp;
+ }
+ }
+
+ u64 stride{};
+ VAddr dependant_address{};
+ Maxwell3D::Regs::PrimitiveTopology topology{Maxwell3D::Regs::PrimitiveTopology::Points};
+ size_t dependant_index{};
+ bool dependant_manage{};
+};
+
+class PrimitivesSucceededStreamer : public VideoCommon::SimpleStreamer<PrimitivesQueryBase> {
+public:
+ explicit PrimitivesSucceededStreamer(size_t id_, QueryCacheRuntime& runtime_,
+ TFBCounterStreamer& tfb_streamer_,
+ Core::Memory::Memory& cpu_memory_)
+ : VideoCommon::SimpleStreamer<PrimitivesQueryBase>(id_), runtime{runtime_},
+ tfb_streamer{tfb_streamer_}, cpu_memory{cpu_memory_} {
+ MakeDependent(&tfb_streamer);
+ }
+
+ ~PrimitivesSucceededStreamer() = default;
+
+ size_t WriteCounter(VAddr address, bool has_timestamp, u32 value,
+ std::optional<u32> subreport_) override {
+ auto index = BuildQuery();
+ auto* new_query = GetQuery(index);
+ new_query->guest_address = address;
+ new_query->value = 0;
+ if (has_timestamp) {
+ new_query->flags |= VideoCommon::QueryFlagBits::HasTimestamp;
+ }
+ if (!subreport_) {
+ new_query->flags |= VideoCommon::QueryFlagBits::IsFinalValueSynced;
+ return index;
+ }
+ const size_t subreport = static_cast<size_t>(*subreport_);
+ auto dependant_address_opt = tfb_streamer.GetLastQueryStream(subreport);
+ bool must_manage_dependance = false;
+ new_query->topology = tfb_streamer.GetOutputTopology();
+ if (dependant_address_opt) {
+ auto [dep_address, stride] = *dependant_address_opt;
+ new_query->dependant_address = dep_address;
+ new_query->stride = stride;
+ } else {
+ new_query->dependant_index =
+ tfb_streamer.WriteCounter(address, has_timestamp, value, subreport_);
+ auto* dependant_query = tfb_streamer.GetQuery(new_query->dependant_index);
+ dependant_query->flags |= VideoCommon::QueryFlagBits::IsInvalidated;
+ must_manage_dependance = true;
+ if (True(dependant_query->flags & VideoCommon::QueryFlagBits::IsFinalValueSynced)) {
+ new_query->value = 0;
+ new_query->flags |= VideoCommon::QueryFlagBits::IsFinalValueSynced;
+ if (must_manage_dependance) {
+ tfb_streamer.Free(new_query->dependant_index);
+ }
+ return index;
+ }
+ new_query->stride = 1;
+ runtime.View3DRegs([new_query, subreport](Maxwell3D& maxwell3d) {
+ for (size_t i = 0; i < Maxwell3D::Regs::NumTransformFeedbackBuffers; i++) {
+ const auto& tf = maxwell3d.regs.transform_feedback;
+ if (tf.buffers[i].enable == 0) {
+ continue;
+ }
+ if (tf.controls[i].stream != subreport) {
+ continue;
+ }
+ new_query->stride = tf.controls[i].stride;
+ break;
+ }
+ });
+ }
+
+ new_query->dependant_manage = must_manage_dependance;
+ pending_flush_queries.push_back(index);
+ return index;
+ }
+
+ bool HasUnsyncedQueries() const override {
+ return !pending_flush_queries.empty();
+ }
+
+ void PushUnsyncedQueries() override {
+ std::scoped_lock lk(flush_guard);
+ pending_flush_sets.emplace_back(std::move(pending_flush_queries));
+ pending_flush_queries.clear();
+ }
+
+ void PopUnsyncedQueries() override {
+ std::vector<size_t> flushed_queries;
+ {
+ std::scoped_lock lk(flush_guard);
+ flushed_queries = std::move(pending_flush_sets.front());
+ pending_flush_sets.pop_front();
+ }
+
+ for (auto q : flushed_queries) {
+ auto* query = GetQuery(q);
+ if (True(query->flags & VideoCommon::QueryFlagBits::IsFinalValueSynced)) {
+ continue;
+ }
+
+ query->flags |= VideoCommon::QueryFlagBits::IsFinalValueSynced;
+ u64 num_vertices = 0;
+ if (query->dependant_manage) {
+ auto* dependant_query = tfb_streamer.GetQuery(query->dependant_index);
+ num_vertices = dependant_query->value / query->stride;
+ tfb_streamer.Free(query->dependant_index);
+ } else {
+ u8* pointer = cpu_memory.GetPointer(query->dependant_address);
+ u32 result;
+ std::memcpy(&result, pointer, sizeof(u32));
+ num_vertices = static_cast<u64>(result) / query->stride;
+ }
+ query->value = [&]() -> u64 {
+ switch (query->topology) {
+ case Maxwell3D::Regs::PrimitiveTopology::Points:
+ return num_vertices;
+ case Maxwell3D::Regs::PrimitiveTopology::Lines:
+ return num_vertices / 2;
+ case Maxwell3D::Regs::PrimitiveTopology::LineLoop:
+ return (num_vertices / 2) + 1;
+ case Maxwell3D::Regs::PrimitiveTopology::LineStrip:
+ return num_vertices - 1;
+ case Maxwell3D::Regs::PrimitiveTopology::Patches:
+ case Maxwell3D::Regs::PrimitiveTopology::Triangles:
+ case Maxwell3D::Regs::PrimitiveTopology::TrianglesAdjacency:
+ return num_vertices / 3;
+ case Maxwell3D::Regs::PrimitiveTopology::TriangleFan:
+ case Maxwell3D::Regs::PrimitiveTopology::TriangleStrip:
+ case Maxwell3D::Regs::PrimitiveTopology::TriangleStripAdjacency:
+ return num_vertices - 2;
+ case Maxwell3D::Regs::PrimitiveTopology::Quads:
+ return num_vertices / 4;
+ case Maxwell3D::Regs::PrimitiveTopology::Polygon:
+ return 1U;
+ default:
+ return num_vertices;
+ }
+ }();
+ }
+ }
+
+private:
+ QueryCacheRuntime& runtime;
+ TFBCounterStreamer& tfb_streamer;
+ Core::Memory::Memory& cpu_memory;
+
+ // syncing queue
+ std::vector<size_t> pending_sync;
+
+ // flush levels
+ std::vector<size_t> pending_flush_queries;
+ std::deque<std::vector<size_t>> pending_flush_sets;
+ std::mutex flush_guard;
+};
+
+} // namespace
+
+struct QueryCacheRuntimeImpl {
+ QueryCacheRuntimeImpl(QueryCacheRuntime& runtime, VideoCore::RasterizerInterface* rasterizer_,
+ Core::Memory::Memory& cpu_memory_, Vulkan::BufferCache& buffer_cache_,
+ const Device& device_, const MemoryAllocator& memory_allocator_,
+ Scheduler& scheduler_, StagingBufferPool& staging_pool_,
+ ComputePassDescriptorQueue& compute_pass_descriptor_queue,
+ DescriptorPool& descriptor_pool)
+ : rasterizer{rasterizer_}, cpu_memory{cpu_memory_},
+ buffer_cache{buffer_cache_}, device{device_},
+ memory_allocator{memory_allocator_}, scheduler{scheduler_}, staging_pool{staging_pool_},
+ guest_streamer(0, runtime),
+ sample_streamer(static_cast<size_t>(QueryType::ZPassPixelCount64), runtime, rasterizer,
+ device, scheduler, memory_allocator, compute_pass_descriptor_queue,
+ descriptor_pool),
+ tfb_streamer(static_cast<size_t>(QueryType::StreamingByteCount), runtime, device,
+ scheduler, memory_allocator, staging_pool),
+ primitives_succeeded_streamer(
+ static_cast<size_t>(QueryType::StreamingPrimitivesSucceeded), runtime, tfb_streamer,
+ cpu_memory_),
+ primitives_needed_minus_suceeded_streamer(
+ static_cast<size_t>(QueryType::StreamingPrimitivesNeededMinusSucceeded), runtime, 0u),
+ hcr_setup{}, hcr_is_set{}, is_hcr_running{}, maxwell3d{} {
+
+ hcr_setup.sType = VK_STRUCTURE_TYPE_CONDITIONAL_RENDERING_BEGIN_INFO_EXT;
+ hcr_setup.pNext = nullptr;
+ hcr_setup.flags = 0;
+
+ conditional_resolve_pass = std::make_unique<ConditionalRenderingResolvePass>(
+ device, scheduler, descriptor_pool, compute_pass_descriptor_queue);
+
+ const VkBufferCreateInfo buffer_ci = {
+ .sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO,
+ .pNext = nullptr,
+ .flags = 0,
+ .size = sizeof(u32),
+ .usage = VK_BUFFER_USAGE_TRANSFER_DST_BIT | VK_BUFFER_USAGE_STORAGE_BUFFER_BIT |
+ VK_BUFFER_USAGE_CONDITIONAL_RENDERING_BIT_EXT,
+ .sharingMode = VK_SHARING_MODE_EXCLUSIVE,
+ .queueFamilyIndexCount = 0,
+ .pQueueFamilyIndices = nullptr,
+ };
+ hcr_resolve_buffer = memory_allocator.CreateBuffer(buffer_ci, MemoryUsage::DeviceLocal);
+ }
+
+ VideoCore::RasterizerInterface* rasterizer;
+ Core::Memory::Memory& cpu_memory;
+ Vulkan::BufferCache& buffer_cache;
+
+ const Device& device;
+ const MemoryAllocator& memory_allocator;
+ Scheduler& scheduler;
+ StagingBufferPool& staging_pool;
+
+ // Streamers
+ VideoCommon::GuestStreamer<QueryCacheParams> guest_streamer;
+ SamplesStreamer sample_streamer;
+ TFBCounterStreamer tfb_streamer;
+ PrimitivesSucceededStreamer primitives_succeeded_streamer;
+ VideoCommon::StubStreamer<QueryCacheParams> primitives_needed_minus_suceeded_streamer;
+
+ std::vector<std::pair<VAddr, VAddr>> little_cache;
+ std::vector<std::pair<VkBuffer, VkDeviceSize>> buffers_to_upload_to;
+ std::vector<size_t> redirect_cache;
+ std::vector<std::vector<VkBufferCopy>> copies_setup;
+
+ // Host conditional rendering data
+ std::unique_ptr<ConditionalRenderingResolvePass> conditional_resolve_pass;
+ vk::Buffer hcr_resolve_buffer;
+ VkConditionalRenderingBeginInfoEXT hcr_setup;
+ VkBuffer hcr_buffer;
+ size_t hcr_offset;
+ bool hcr_is_set;
+ bool is_hcr_running;
+
+ // maxwell3d
+ Maxwell3D* maxwell3d;
+};
+
+QueryCacheRuntime::QueryCacheRuntime(VideoCore::RasterizerInterface* rasterizer,
+ Core::Memory::Memory& cpu_memory_,
+ Vulkan::BufferCache& buffer_cache_, const Device& device_,
+ const MemoryAllocator& memory_allocator_,
+ Scheduler& scheduler_, StagingBufferPool& staging_pool_,
+ ComputePassDescriptorQueue& compute_pass_descriptor_queue,
+ DescriptorPool& descriptor_pool) {
+ impl = std::make_unique<QueryCacheRuntimeImpl>(
+ *this, rasterizer, cpu_memory_, buffer_cache_, device_, memory_allocator_, scheduler_,
+ staging_pool_, compute_pass_descriptor_queue, descriptor_pool);
}
-void QueryPool::Allocate(std::size_t begin, std::size_t end) {
- usage.resize(end);
+void QueryCacheRuntime::Bind3DEngine(Maxwell3D* maxwell3d) {
+ impl->maxwell3d = maxwell3d;
+}
- pools.push_back(device.GetLogical().CreateQueryPool({
- .sType = VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO,
- .pNext = nullptr,
- .flags = 0,
- .queryType = GetTarget(type),
- .queryCount = static_cast<u32>(end - begin),
- .pipelineStatistics = 0,
- }));
+template <typename Func>
+void QueryCacheRuntime::View3DRegs(Func&& func) {
+ if (impl->maxwell3d) {
+ func(*impl->maxwell3d);
+ }
+}
+
+void QueryCacheRuntime::EndHostConditionalRendering() {
+ PauseHostConditionalRendering();
+ impl->hcr_is_set = false;
+ impl->is_hcr_running = false;
+ impl->hcr_buffer = nullptr;
+ impl->hcr_offset = 0;
+}
+
+void QueryCacheRuntime::PauseHostConditionalRendering() {
+ if (!impl->hcr_is_set) {
+ return;
+ }
+ if (impl->is_hcr_running) {
+ impl->scheduler.Record(
+ [](vk::CommandBuffer cmdbuf) { cmdbuf.EndConditionalRenderingEXT(); });
+ }
+ impl->is_hcr_running = false;
}
-void QueryPool::Reserve(std::pair<VkQueryPool, u32> query) {
- const auto it =
- std::find_if(pools.begin(), pools.end(), [query_pool = query.first](vk::QueryPool& pool) {
- return query_pool == *pool;
+void QueryCacheRuntime::ResumeHostConditionalRendering() {
+ if (!impl->hcr_is_set) {
+ return;
+ }
+ if (!impl->is_hcr_running) {
+ impl->scheduler.Record([hcr_setup = impl->hcr_setup](vk::CommandBuffer cmdbuf) {
+ cmdbuf.BeginConditionalRenderingEXT(hcr_setup);
});
+ }
+ impl->is_hcr_running = true;
+}
- if (it != std::end(pools)) {
- const std::ptrdiff_t pool_index = std::distance(std::begin(pools), it);
- usage[pool_index * GROW_STEP + static_cast<std::ptrdiff_t>(query.second)] = false;
+void QueryCacheRuntime::HostConditionalRenderingCompareValueImpl(VideoCommon::LookupData object,
+ bool is_equal) {
+ {
+ std::scoped_lock lk(impl->buffer_cache.mutex);
+ static constexpr auto sync_info = VideoCommon::ObtainBufferSynchronize::FullSynchronize;
+ const auto post_op = VideoCommon::ObtainBufferOperation::DoNothing;
+ const auto [buffer, offset] =
+ impl->buffer_cache.ObtainCPUBuffer(object.address, 8, sync_info, post_op);
+ impl->hcr_buffer = buffer->Handle();
+ impl->hcr_offset = offset;
+ }
+ if (impl->hcr_is_set) {
+ if (impl->hcr_setup.buffer == impl->hcr_buffer &&
+ impl->hcr_setup.offset == impl->hcr_offset) {
+ ResumeHostConditionalRendering();
+ return;
+ }
+ PauseHostConditionalRendering();
}
+ impl->hcr_setup.buffer = impl->hcr_buffer;
+ impl->hcr_setup.offset = impl->hcr_offset;
+ impl->hcr_setup.flags = is_equal ? VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT : 0;
+ impl->hcr_is_set = true;
+ impl->is_hcr_running = false;
+ ResumeHostConditionalRendering();
}
-QueryCache::QueryCache(VideoCore::RasterizerInterface& rasterizer_,
- Core::Memory::Memory& cpu_memory_, const Device& device_,
- Scheduler& scheduler_)
- : QueryCacheBase{rasterizer_, cpu_memory_}, device{device_}, scheduler{scheduler_},
- query_pools{
- QueryPool{device_, scheduler_, QueryType::SamplesPassed},
- } {}
-
-QueryCache::~QueryCache() {
- // TODO(Rodrigo): This is a hack to destroy all HostCounter instances before the base class
- // destructor is called. The query cache should be redesigned to have a proper ownership model
- // instead of using shared pointers.
- for (size_t query_type = 0; query_type < VideoCore::NumQueryTypes; ++query_type) {
- auto& stream = Stream(static_cast<QueryType>(query_type));
- stream.Update(false);
- stream.Reset();
+void QueryCacheRuntime::HostConditionalRenderingCompareBCImpl(VAddr address, bool is_equal) {
+ VkBuffer to_resolve;
+ u32 to_resolve_offset;
+ {
+ std::scoped_lock lk(impl->buffer_cache.mutex);
+ static constexpr auto sync_info = VideoCommon::ObtainBufferSynchronize::NoSynchronize;
+ const auto post_op = VideoCommon::ObtainBufferOperation::DoNothing;
+ const auto [buffer, offset] =
+ impl->buffer_cache.ObtainCPUBuffer(address, 24, sync_info, post_op);
+ to_resolve = buffer->Handle();
+ to_resolve_offset = static_cast<u32>(offset);
}
+ if (impl->is_hcr_running) {
+ PauseHostConditionalRendering();
+ }
+ impl->conditional_resolve_pass->Resolve(*impl->hcr_resolve_buffer, to_resolve,
+ to_resolve_offset, false);
+ impl->hcr_setup.buffer = *impl->hcr_resolve_buffer;
+ impl->hcr_setup.offset = 0;
+ impl->hcr_setup.flags = is_equal ? 0 : VK_CONDITIONAL_RENDERING_INVERTED_BIT_EXT;
+ impl->hcr_is_set = true;
+ impl->is_hcr_running = false;
+ ResumeHostConditionalRendering();
}
-std::pair<VkQueryPool, u32> QueryCache::AllocateQuery(QueryType type) {
- return query_pools[static_cast<std::size_t>(type)].Commit();
+bool QueryCacheRuntime::HostConditionalRenderingCompareValue(VideoCommon::LookupData object_1,
+ [[maybe_unused]] bool qc_dirty) {
+ if (!impl->device.IsExtConditionalRendering()) {
+ return false;
+ }
+ HostConditionalRenderingCompareValueImpl(object_1, false);
+ return true;
}
-void QueryCache::Reserve(QueryType type, std::pair<VkQueryPool, u32> query) {
- query_pools[static_cast<std::size_t>(type)].Reserve(query);
+bool QueryCacheRuntime::HostConditionalRenderingCompareValues(VideoCommon::LookupData object_1,
+ VideoCommon::LookupData object_2,
+ bool qc_dirty, bool equal_check) {
+ if (!impl->device.IsExtConditionalRendering()) {
+ return false;
+ }
+
+ const auto check_in_bc = [&](VAddr address) {
+ return impl->buffer_cache.IsRegionGpuModified(address, 8);
+ };
+ const auto check_value = [&](VAddr address) {
+ u8* ptr = impl->cpu_memory.GetPointer(address);
+ u64 value{};
+ std::memcpy(&value, ptr, sizeof(value));
+ return value == 0;
+ };
+ std::array<VideoCommon::LookupData*, 2> objects{&object_1, &object_2};
+ std::array<bool, 2> is_in_bc{};
+ std::array<bool, 2> is_in_qc{};
+ std::array<bool, 2> is_in_ac{};
+ std::array<bool, 2> is_null{};
+ {
+ std::scoped_lock lk(impl->buffer_cache.mutex);
+ for (size_t i = 0; i < 2; i++) {
+ is_in_qc[i] = objects[i]->found_query != nullptr;
+ is_in_bc[i] = !is_in_qc[i] && check_in_bc(objects[i]->address);
+ is_in_ac[i] = is_in_qc[i] || is_in_bc[i];
+ }
+ }
+
+ if (!is_in_ac[0] && !is_in_ac[1]) {
+ EndHostConditionalRendering();
+ return false;
+ }
+
+ if (!qc_dirty && !is_in_bc[0] && !is_in_bc[1]) {
+ EndHostConditionalRendering();
+ return false;
+ }
+
+ const bool is_gpu_high = Settings::IsGPULevelHigh();
+ if (!is_gpu_high && impl->device.GetDriverID() == VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS) {
+ return true;
+ }
+
+ for (size_t i = 0; i < 2; i++) {
+ is_null[i] = !is_in_ac[i] && check_value(objects[i]->address);
+ }
+
+ for (size_t i = 0; i < 2; i++) {
+ if (is_null[i]) {
+ size_t j = (i + 1) % 2;
+ HostConditionalRenderingCompareValueImpl(*objects[j], equal_check);
+ return true;
+ }
+ }
+
+ if (!is_gpu_high) {
+ return true;
+ }
+
+ if (!is_in_bc[0] && !is_in_bc[1]) {
+ // Both queries are in query cache, it's best to just flush.
+ return true;
+ }
+ HostConditionalRenderingCompareBCImpl(object_1.address, equal_check);
+ return true;
}
-HostCounter::HostCounter(QueryCache& cache_, std::shared_ptr<HostCounter> dependency_,
- QueryType type_)
- : HostCounterBase{std::move(dependency_)}, cache{cache_}, type{type_},
- query{cache_.AllocateQuery(type_)}, tick{cache_.GetScheduler().CurrentTick()} {
- const vk::Device* logical = &cache.GetDevice().GetLogical();
- cache.GetScheduler().Record([logical, query_ = query](vk::CommandBuffer cmdbuf) {
- const bool use_precise = Settings::IsGPULevelHigh();
- logical->ResetQueryPool(query_.first, query_.second, 1);
- cmdbuf.BeginQuery(query_.first, query_.second,
- use_precise ? VK_QUERY_CONTROL_PRECISE_BIT : 0);
- });
+QueryCacheRuntime::~QueryCacheRuntime() = default;
+
+VideoCommon::StreamerInterface* QueryCacheRuntime::GetStreamerInterface(QueryType query_type) {
+ switch (query_type) {
+ case QueryType::Payload:
+ return &impl->guest_streamer;
+ case QueryType::ZPassPixelCount64:
+ return &impl->sample_streamer;
+ case QueryType::StreamingByteCount:
+ return &impl->tfb_streamer;
+ case QueryType::StreamingPrimitivesNeeded:
+ case QueryType::VtgPrimitivesOut:
+ case QueryType::StreamingPrimitivesSucceeded:
+ return &impl->primitives_succeeded_streamer;
+ case QueryType::StreamingPrimitivesNeededMinusSucceeded:
+ return &impl->primitives_needed_minus_suceeded_streamer;
+ default:
+ return nullptr;
+ }
}
-HostCounter::~HostCounter() {
- cache.Reserve(type, query);
+void QueryCacheRuntime::Barriers(bool is_prebarrier) {
+ static constexpr VkMemoryBarrier READ_BARRIER{
+ .sType = VK_STRUCTURE_TYPE_MEMORY_BARRIER,
+ .pNext = nullptr,
+ .srcAccessMask = VK_ACCESS_MEMORY_WRITE_BIT,
+ .dstAccessMask = VK_ACCESS_TRANSFER_READ_BIT | VK_ACCESS_TRANSFER_WRITE_BIT,
+ };
+ static constexpr VkMemoryBarrier WRITE_BARRIER{
+ .sType = VK_STRUCTURE_TYPE_MEMORY_BARRIER,
+ .pNext = nullptr,
+ .srcAccessMask = VK_ACCESS_TRANSFER_WRITE_BIT,
+ .dstAccessMask = VK_ACCESS_MEMORY_READ_BIT | VK_ACCESS_MEMORY_WRITE_BIT,
+ };
+ if (is_prebarrier) {
+ impl->scheduler.Record([](vk::CommandBuffer cmdbuf) {
+ cmdbuf.PipelineBarrier(VK_PIPELINE_STAGE_ALL_COMMANDS_BIT,
+ VK_PIPELINE_STAGE_TRANSFER_BIT, 0, READ_BARRIER);
+ });
+ } else {
+ impl->scheduler.Record([](vk::CommandBuffer cmdbuf) {
+ cmdbuf.PipelineBarrier(VK_PIPELINE_STAGE_TRANSFER_BIT,
+ VK_PIPELINE_STAGE_ALL_COMMANDS_BIT, 0, WRITE_BARRIER);
+ });
+ }
}
-void HostCounter::EndQuery() {
- cache.GetScheduler().Record([query_ = query](vk::CommandBuffer cmdbuf) {
- cmdbuf.EndQuery(query_.first, query_.second);
+template <typename SyncValuesType>
+void QueryCacheRuntime::SyncValues(std::span<SyncValuesType> values, VkBuffer base_src_buffer) {
+ if (values.size() == 0) {
+ return;
+ }
+ impl->redirect_cache.clear();
+ impl->little_cache.clear();
+ size_t total_size = 0;
+ for (auto& sync_val : values) {
+ total_size += sync_val.size;
+ bool found = false;
+ VAddr base = Common::AlignDown(sync_val.address, Core::Memory::YUZU_PAGESIZE);
+ VAddr base_end = base + Core::Memory::YUZU_PAGESIZE;
+ for (size_t i = 0; i < impl->little_cache.size(); i++) {
+ const auto set_found = [&] {
+ impl->redirect_cache.push_back(i);
+ found = true;
+ };
+ auto& loc = impl->little_cache[i];
+ if (base < loc.second && loc.first < base_end) {
+ set_found();
+ break;
+ }
+ if (loc.first == base_end) {
+ loc.first = base;
+ set_found();
+ break;
+ }
+ if (loc.second == base) {
+ loc.second = base_end;
+ set_found();
+ break;
+ }
+ }
+ if (!found) {
+ impl->redirect_cache.push_back(impl->little_cache.size());
+ impl->little_cache.emplace_back(base, base_end);
+ }
+ }
+
+ // Vulkan part.
+ std::scoped_lock lk(impl->buffer_cache.mutex);
+ impl->buffer_cache.BufferOperations([&] {
+ impl->buffers_to_upload_to.clear();
+ for (auto& pair : impl->little_cache) {
+ static constexpr auto sync_info = VideoCommon::ObtainBufferSynchronize::FullSynchronize;
+ const auto post_op = VideoCommon::ObtainBufferOperation::DoNothing;
+ const auto [buffer, offset] = impl->buffer_cache.ObtainCPUBuffer(
+ pair.first, static_cast<u32>(pair.second - pair.first), sync_info, post_op);
+ impl->buffers_to_upload_to.emplace_back(buffer->Handle(), offset);
+ }
});
-}
-u64 HostCounter::BlockingQuery(bool async) const {
- if (!async) {
- cache.GetScheduler().Wait(tick);
- }
- u64 data;
- const VkResult query_result = cache.GetDevice().GetLogical().GetQueryResults(
- query.first, query.second, 1, sizeof(data), &data, sizeof(data),
- VK_QUERY_RESULT_64_BIT | VK_QUERY_RESULT_WAIT_BIT);
-
- switch (query_result) {
- case VK_SUCCESS:
- return data;
- case VK_ERROR_DEVICE_LOST:
- cache.GetDevice().ReportLoss();
- [[fallthrough]];
- default:
- throw vk::Exception(query_result);
+ VkBuffer src_buffer;
+ [[maybe_unused]] StagingBufferRef ref;
+ impl->copies_setup.clear();
+ impl->copies_setup.resize(impl->little_cache.size());
+ if constexpr (SyncValuesType::GeneratesBaseBuffer) {
+ ref = impl->staging_pool.Request(total_size, MemoryUsage::Upload);
+ size_t current_offset = ref.offset;
+ size_t accumulated_size = 0;
+ for (size_t i = 0; i < values.size(); i++) {
+ size_t which_copy = impl->redirect_cache[i];
+ impl->copies_setup[which_copy].emplace_back(VkBufferCopy{
+ .srcOffset = current_offset + accumulated_size,
+ .dstOffset = impl->buffers_to_upload_to[which_copy].second + values[i].address -
+ impl->little_cache[which_copy].first,
+ .size = values[i].size,
+ });
+ std::memcpy(ref.mapped_span.data() + accumulated_size, &values[i].value,
+ values[i].size);
+ accumulated_size += values[i].size;
+ }
+ src_buffer = ref.buffer;
+ } else {
+ for (size_t i = 0; i < values.size(); i++) {
+ size_t which_copy = impl->redirect_cache[i];
+ impl->copies_setup[which_copy].emplace_back(VkBufferCopy{
+ .srcOffset = values[i].offset,
+ .dstOffset = impl->buffers_to_upload_to[which_copy].second + values[i].address -
+ impl->little_cache[which_copy].first,
+ .size = values[i].size,
+ });
+ }
+ src_buffer = base_src_buffer;
}
+
+ impl->scheduler.RequestOutsideRenderPassOperationContext();
+ impl->scheduler.Record([src_buffer, dst_buffers = std::move(impl->buffers_to_upload_to),
+ vk_copies = std::move(impl->copies_setup)](vk::CommandBuffer cmdbuf) {
+ size_t size = dst_buffers.size();
+ for (size_t i = 0; i < size; i++) {
+ cmdbuf.CopyBuffer(src_buffer, dst_buffers[i].first, vk_copies[i]);
+ }
+ });
}
} // namespace Vulkan
+
+namespace VideoCommon {
+
+template class QueryCacheBase<Vulkan::QueryCacheParams>;
+
+} // namespace VideoCommon
diff --git a/src/video_core/renderer_vulkan/vk_query_cache.h b/src/video_core/renderer_vulkan/vk_query_cache.h
index c1b9552eb..e9a1ea169 100644
--- a/src/video_core/renderer_vulkan/vk_query_cache.h
+++ b/src/video_core/renderer_vulkan/vk_query_cache.h
@@ -1,101 +1,75 @@
-// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
-#include <cstddef>
#include <memory>
-#include <utility>
-#include <vector>
-#include "common/common_types.h"
-#include "video_core/query_cache.h"
-#include "video_core/renderer_vulkan/vk_resource_pool.h"
-#include "video_core/vulkan_common/vulkan_wrapper.h"
+#include "video_core/query_cache/query_cache_base.h"
+#include "video_core/renderer_vulkan/vk_buffer_cache.h"
namespace VideoCore {
class RasterizerInterface;
}
+namespace VideoCommon {
+class StreamerInterface;
+}
+
namespace Vulkan {
-class CachedQuery;
class Device;
-class HostCounter;
-class QueryCache;
class Scheduler;
+class StagingBufferPool;
-using CounterStream = VideoCommon::CounterStreamBase<QueryCache, HostCounter>;
+struct QueryCacheRuntimeImpl;
-class QueryPool final : public ResourcePool {
+class QueryCacheRuntime {
public:
- explicit QueryPool(const Device& device, Scheduler& scheduler, VideoCore::QueryType type);
- ~QueryPool() override;
+ explicit QueryCacheRuntime(VideoCore::RasterizerInterface* rasterizer,
+ Core::Memory::Memory& cpu_memory_,
+ Vulkan::BufferCache& buffer_cache_, const Device& device_,
+ const MemoryAllocator& memory_allocator_, Scheduler& scheduler_,
+ StagingBufferPool& staging_pool_,
+ ComputePassDescriptorQueue& compute_pass_descriptor_queue,
+ DescriptorPool& descriptor_pool);
+ ~QueryCacheRuntime();
- std::pair<VkQueryPool, u32> Commit();
+ template <typename SyncValuesType>
+ void SyncValues(std::span<SyncValuesType> values, VkBuffer base_src_buffer = nullptr);
- void Reserve(std::pair<VkQueryPool, u32> query);
+ void Barriers(bool is_prebarrier);
-protected:
- void Allocate(std::size_t begin, std::size_t end) override;
+ void EndHostConditionalRendering();
-private:
- static constexpr std::size_t GROW_STEP = 512;
+ void PauseHostConditionalRendering();
- const Device& device;
- const VideoCore::QueryType type;
+ void ResumeHostConditionalRendering();
- std::vector<vk::QueryPool> pools;
- std::vector<bool> usage;
-};
+ bool HostConditionalRenderingCompareValue(VideoCommon::LookupData object_1, bool qc_dirty);
-class QueryCache final
- : public VideoCommon::QueryCacheBase<QueryCache, CachedQuery, CounterStream, HostCounter> {
-public:
- explicit QueryCache(VideoCore::RasterizerInterface& rasterizer_,
- Core::Memory::Memory& cpu_memory_, const Device& device_,
- Scheduler& scheduler_);
- ~QueryCache();
-
- std::pair<VkQueryPool, u32> AllocateQuery(VideoCore::QueryType type);
+ bool HostConditionalRenderingCompareValues(VideoCommon::LookupData object_1,
+ VideoCommon::LookupData object_2, bool qc_dirty,
+ bool equal_check);
- void Reserve(VideoCore::QueryType type, std::pair<VkQueryPool, u32> query);
+ VideoCommon::StreamerInterface* GetStreamerInterface(VideoCommon::QueryType query_type);
- const Device& GetDevice() const noexcept {
- return device;
- }
+ void Bind3DEngine(Tegra::Engines::Maxwell3D* maxwell3d);
- Scheduler& GetScheduler() const noexcept {
- return scheduler;
- }
+ template <typename Func>
+ void View3DRegs(Func&& func);
private:
- const Device& device;
- Scheduler& scheduler;
- std::array<QueryPool, VideoCore::NumQueryTypes> query_pools;
+ void HostConditionalRenderingCompareValueImpl(VideoCommon::LookupData object, bool is_equal);
+ void HostConditionalRenderingCompareBCImpl(VAddr address, bool is_equal);
+ friend struct QueryCacheRuntimeImpl;
+ std::unique_ptr<QueryCacheRuntimeImpl> impl;
};
-class HostCounter final : public VideoCommon::HostCounterBase<QueryCache, HostCounter> {
-public:
- explicit HostCounter(QueryCache& cache_, std::shared_ptr<HostCounter> dependency_,
- VideoCore::QueryType type_);
- ~HostCounter();
-
- void EndQuery();
-
-private:
- u64 BlockingQuery(bool async = false) const override;
-
- QueryCache& cache;
- const VideoCore::QueryType type;
- const std::pair<VkQueryPool, u32> query;
- const u64 tick;
+struct QueryCacheParams {
+ using RuntimeType = typename Vulkan::QueryCacheRuntime;
};
-class CachedQuery : public VideoCommon::CachedQueryBase<HostCounter> {
-public:
- explicit CachedQuery(QueryCache&, VideoCore::QueryType, VAddr cpu_addr_, u8* host_ptr_)
- : CachedQueryBase{cpu_addr_, host_ptr_} {}
-};
+using QueryCache = VideoCommon::QueryCacheBase<QueryCacheParams>;
} // namespace Vulkan
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
index 456bb040e..83f2b6045 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp
@@ -6,6 +6,8 @@
#include <memory>
#include <mutex>
+#include "video_core/renderer_vulkan/renderer_vulkan.h"
+
#include "common/assert.h"
#include "common/logging/log.h"
#include "common/microprofile.h"
@@ -18,11 +20,11 @@
#include "video_core/renderer_vulkan/blit_image.h"
#include "video_core/renderer_vulkan/fixed_pipeline_state.h"
#include "video_core/renderer_vulkan/maxwell_to_vk.h"
-#include "video_core/renderer_vulkan/renderer_vulkan.h"
#include "video_core/renderer_vulkan/vk_buffer_cache.h"
#include "video_core/renderer_vulkan/vk_compute_pipeline.h"
#include "video_core/renderer_vulkan/vk_descriptor_pool.h"
#include "video_core/renderer_vulkan/vk_pipeline_cache.h"
+#include "video_core/renderer_vulkan/vk_query_cache.h"
#include "video_core/renderer_vulkan/vk_rasterizer.h"
#include "video_core/renderer_vulkan/vk_scheduler.h"
#include "video_core/renderer_vulkan/vk_staging_buffer_pool.h"
@@ -169,9 +171,11 @@ RasterizerVulkan::RasterizerVulkan(Core::Frontend::EmuWindow& emu_window_, Tegra
buffer_cache_runtime(device, memory_allocator, scheduler, staging_pool,
guest_descriptor_queue, compute_pass_descriptor_queue, descriptor_pool),
buffer_cache(*this, cpu_memory_, buffer_cache_runtime),
+ query_cache_runtime(this, cpu_memory_, buffer_cache, device, memory_allocator, scheduler,
+ staging_pool, compute_pass_descriptor_queue, descriptor_pool),
+ query_cache(gpu, *this, cpu_memory_, query_cache_runtime),
pipeline_cache(*this, device, scheduler, descriptor_pool, guest_descriptor_queue,
render_pass_cache, buffer_cache, texture_cache, gpu.ShaderNotify()),
- query_cache{*this, cpu_memory_, device, scheduler},
accelerate_dma(buffer_cache, texture_cache, scheduler),
fence_manager(*this, gpu, texture_cache, buffer_cache, query_cache, device, scheduler),
wfi_event(device.GetLogical().CreateEvent()) {
@@ -188,14 +192,7 @@ void RasterizerVulkan::PrepareDraw(bool is_indexed, Func&& draw_func) {
FlushWork();
gpu_memory->FlushCaching();
-#if ANDROID
- if (Settings::IsGPULevelHigh()) {
- // This is problematic on Android, disable on GPU Normal.
- query_cache.UpdateCounters();
- }
-#else
- query_cache.UpdateCounters();
-#endif
+ query_cache.NotifySegment(true);
GraphicsPipeline* const pipeline{pipeline_cache.CurrentGraphicsPipeline()};
if (!pipeline) {
@@ -206,13 +203,12 @@ void RasterizerVulkan::PrepareDraw(bool is_indexed, Func&& draw_func) {
pipeline->SetEngine(maxwell3d, gpu_memory);
pipeline->Configure(is_indexed);
- BeginTransformFeedback();
-
UpdateDynamicStates();
+ HandleTransformFeedback();
+ query_cache.CounterEnable(VideoCommon::QueryType::ZPassPixelCount64,
+ maxwell3d->regs.zpass_pixel_count_enable);
draw_func();
-
- EndTransformFeedback();
}
void RasterizerVulkan::Draw(bool is_indexed, u32 instance_count) {
@@ -240,6 +236,14 @@ void RasterizerVulkan::DrawIndirect() {
const auto indirect_buffer = buffer_cache.GetDrawIndirectBuffer();
const auto& buffer = indirect_buffer.first;
const auto& offset = indirect_buffer.second;
+ if (params.is_byte_count) {
+ scheduler.Record([buffer_obj = buffer->Handle(), offset,
+ stride = params.stride](vk::CommandBuffer cmdbuf) {
+ cmdbuf.DrawIndirectByteCountEXT(1, 0, buffer_obj, offset, 0,
+ static_cast<u32>(stride));
+ });
+ return;
+ }
if (params.include_count) {
const auto count = buffer_cache.GetDrawIndirectCount();
const auto& draw_buffer = count.first;
@@ -279,20 +283,15 @@ void RasterizerVulkan::DrawTexture() {
SCOPE_EXIT({ gpu.TickWork(); });
FlushWork();
-#if ANDROID
- if (Settings::IsGPULevelHigh()) {
- // This is problematic on Android, disable on GPU Normal.
- query_cache.UpdateCounters();
- }
-#else
- query_cache.UpdateCounters();
-#endif
+ query_cache.NotifySegment(true);
texture_cache.SynchronizeGraphicsDescriptors();
texture_cache.UpdateRenderTargets(false);
UpdateDynamicStates();
+ query_cache.CounterEnable(VideoCommon::QueryType::ZPassPixelCount64,
+ maxwell3d->regs.zpass_pixel_count_enable);
const auto& draw_texture_state = maxwell3d->draw_manager->GetDrawTextureState();
const auto& sampler = texture_cache.GetGraphicsSampler(draw_texture_state.src_sampler);
const auto& texture = texture_cache.GetImageView(draw_texture_state.src_texture);
@@ -315,14 +314,9 @@ void RasterizerVulkan::Clear(u32 layer_count) {
FlushWork();
gpu_memory->FlushCaching();
-#if ANDROID
- if (Settings::IsGPULevelHigh()) {
- // This is problematic on Android, disable on GPU Normal.
- query_cache.UpdateCounters();
- }
-#else
- query_cache.UpdateCounters();
-#endif
+ query_cache.NotifySegment(true);
+ query_cache.CounterEnable(VideoCommon::QueryType::ZPassPixelCount64,
+ maxwell3d->regs.zpass_pixel_count_enable);
auto& regs = maxwell3d->regs;
const bool use_color = regs.clear_surface.R || regs.clear_surface.G || regs.clear_surface.B ||
@@ -427,15 +421,28 @@ void RasterizerVulkan::Clear(u32 layer_count) {
if (aspect_flags == 0) {
return;
}
- scheduler.Record([clear_depth = regs.clear_depth, clear_stencil = regs.clear_stencil,
- clear_rect, aspect_flags](vk::CommandBuffer cmdbuf) {
- VkClearAttachment attachment;
- attachment.aspectMask = aspect_flags;
- attachment.colorAttachment = 0;
- attachment.clearValue.depthStencil.depth = clear_depth;
- attachment.clearValue.depthStencil.stencil = clear_stencil;
- cmdbuf.ClearAttachments(attachment, clear_rect);
- });
+
+ if (use_stencil && framebuffer->HasAspectStencilBit() && regs.stencil_front_mask != 0xFF &&
+ regs.stencil_front_mask != 0) {
+ Region2D dst_region = {
+ Offset2D{.x = clear_rect.rect.offset.x, .y = clear_rect.rect.offset.y},
+ Offset2D{.x = clear_rect.rect.offset.x + static_cast<s32>(clear_rect.rect.extent.width),
+ .y = clear_rect.rect.offset.y +
+ static_cast<s32>(clear_rect.rect.extent.height)}};
+ blit_image.ClearDepthStencil(framebuffer, use_depth, regs.clear_depth,
+ static_cast<u8>(regs.stencil_front_mask), regs.clear_stencil,
+ regs.stencil_front_func_mask, dst_region);
+ } else {
+ scheduler.Record([clear_depth = regs.clear_depth, clear_stencil = regs.clear_stencil,
+ clear_rect, aspect_flags](vk::CommandBuffer cmdbuf) {
+ VkClearAttachment attachment;
+ attachment.aspectMask = aspect_flags;
+ attachment.colorAttachment = 0;
+ attachment.clearValue.depthStencil.depth = clear_depth;
+ attachment.clearValue.depthStencil.stencil = clear_stencil;
+ cmdbuf.ClearAttachments(attachment, clear_rect);
+ });
+ }
}
void RasterizerVulkan::DispatchCompute() {
@@ -450,18 +457,32 @@ void RasterizerVulkan::DispatchCompute() {
pipeline->Configure(*kepler_compute, *gpu_memory, scheduler, buffer_cache, texture_cache);
const auto& qmd{kepler_compute->launch_description};
+ auto indirect_address = kepler_compute->GetIndirectComputeAddress();
+ if (indirect_address) {
+ // DispatchIndirect
+ static constexpr auto sync_info = VideoCommon::ObtainBufferSynchronize::FullSynchronize;
+ const auto post_op = VideoCommon::ObtainBufferOperation::DiscardWrite;
+ const auto [buffer, offset] =
+ buffer_cache.ObtainBuffer(*indirect_address, 12, sync_info, post_op);
+ scheduler.RequestOutsideRenderPassOperationContext();
+ scheduler.Record([indirect_buffer = buffer->Handle(),
+ indirect_offset = offset](vk::CommandBuffer cmdbuf) {
+ cmdbuf.DispatchIndirect(indirect_buffer, indirect_offset);
+ });
+ return;
+ }
const std::array<u32, 3> dim{qmd.grid_dim_x, qmd.grid_dim_y, qmd.grid_dim_z};
scheduler.RequestOutsideRenderPassOperationContext();
scheduler.Record([dim](vk::CommandBuffer cmdbuf) { cmdbuf.Dispatch(dim[0], dim[1], dim[2]); });
}
-void RasterizerVulkan::ResetCounter(VideoCore::QueryType type) {
- query_cache.ResetCounter(type);
+void RasterizerVulkan::ResetCounter(VideoCommon::QueryType type) {
+ query_cache.CounterReset(type);
}
-void RasterizerVulkan::Query(GPUVAddr gpu_addr, VideoCore::QueryType type,
- std::optional<u64> timestamp) {
- query_cache.Query(gpu_addr, type, timestamp);
+void RasterizerVulkan::Query(GPUVAddr gpu_addr, VideoCommon::QueryType type,
+ VideoCommon::QueryPropertiesFlags flags, u32 payload, u32 subreport) {
+ query_cache.CounterReport(gpu_addr, type, flags, payload, subreport);
}
void RasterizerVulkan::BindGraphicsUniformBuffer(size_t stage, u32 index, GPUVAddr gpu_addr,
@@ -642,8 +663,8 @@ void RasterizerVulkan::SignalReference() {
fence_manager.SignalReference();
}
-void RasterizerVulkan::ReleaseFences() {
- fence_manager.WaitPendingFences();
+void RasterizerVulkan::ReleaseFences(bool force) {
+ fence_manager.WaitPendingFences(force);
}
void RasterizerVulkan::FlushAndInvalidateRegion(VAddr addr, u64 size,
@@ -667,6 +688,8 @@ void RasterizerVulkan::WaitForIdle() {
flags |= VK_PIPELINE_STAGE_TRANSFORM_FEEDBACK_BIT_EXT;
}
+ query_cache.NotifyWFI();
+
scheduler.RequestOutsideRenderPassOperationContext();
scheduler.Record([event = *wfi_event, flags](vk::CommandBuffer cmdbuf) {
cmdbuf.SetEvent(event, flags);
@@ -710,19 +733,7 @@ void RasterizerVulkan::TickFrame() {
bool RasterizerVulkan::AccelerateConditionalRendering() {
gpu_memory->FlushCaching();
- if (Settings::IsGPULevelHigh()) {
- // TODO(Blinkhawk): Reimplement Host conditional rendering.
- return false;
- }
- // Medium / Low Hack: stub any checks on queries written into the buffer cache.
- const GPUVAddr condition_address{maxwell3d->regs.render_enable.Address()};
- Maxwell::ReportSemaphore::Compare cmp;
- if (gpu_memory->IsMemoryDirty(condition_address, sizeof(cmp),
- VideoCommon::CacheType::BufferCache |
- VideoCommon::CacheType::QueryCache)) {
- return true;
- }
- return false;
+ return query_cache.AccelerateHostConditionalRendering();
}
bool RasterizerVulkan::AccelerateSurfaceCopy(const Tegra::Engines::Fermi2D::Surface& src,
@@ -768,6 +779,7 @@ bool RasterizerVulkan::AccelerateDisplay(const Tegra::FramebufferConfig& config,
if (!image_view) {
return false;
}
+ query_cache.NotifySegment(false);
screen_info.image = image_view->ImageHandle();
screen_info.image_view = image_view->Handle(Shader::TextureType::Color2D);
screen_info.width = image_view->size.width;
@@ -829,7 +841,8 @@ bool AccelerateDMA::DmaBufferImageCopy(const Tegra::DMA::ImageCopy& copy_info,
}
const u32 buffer_size = static_cast<u32>(buffer_operand.pitch * buffer_operand.height);
static constexpr auto sync_info = VideoCommon::ObtainBufferSynchronize::FullSynchronize;
- const auto post_op = VideoCommon::ObtainBufferOperation::DoNothing;
+ const auto post_op = IS_IMAGE_UPLOAD ? VideoCommon::ObtainBufferOperation::DoNothing
+ : VideoCommon::ObtainBufferOperation::MarkAsWritten;
const auto [buffer, offset] =
buffer_cache.ObtainBuffer(buffer_operand.address, buffer_size, sync_info, post_op);
@@ -838,8 +851,12 @@ bool AccelerateDMA::DmaBufferImageCopy(const Tegra::DMA::ImageCopy& copy_info,
const std::span copy_span{&copy, 1};
if constexpr (IS_IMAGE_UPLOAD) {
+ texture_cache.PrepareImage(image_id, true, false);
image->UploadMemory(buffer->Handle(), offset, copy_span);
} else {
+ if (offset % BytesPerBlock(image->info.format)) {
+ return false;
+ }
texture_cache.DownloadImageIntoBuffer(image, buffer->Handle(), offset, copy_span,
buffer_operand.address, buffer_size);
}
@@ -901,31 +918,18 @@ void RasterizerVulkan::UpdateDynamicStates() {
}
}
-void RasterizerVulkan::BeginTransformFeedback() {
+void RasterizerVulkan::HandleTransformFeedback() {
const auto& regs = maxwell3d->regs;
- if (regs.transform_feedback_enabled == 0) {
- return;
- }
if (!device.IsExtTransformFeedbackSupported()) {
LOG_ERROR(Render_Vulkan, "Transform feedbacks used but not supported");
return;
}
- UNIMPLEMENTED_IF(regs.IsShaderConfigEnabled(Maxwell::ShaderType::TessellationInit) ||
- regs.IsShaderConfigEnabled(Maxwell::ShaderType::Tessellation));
- scheduler.Record(
- [](vk::CommandBuffer cmdbuf) { cmdbuf.BeginTransformFeedbackEXT(0, 0, nullptr, nullptr); });
-}
-
-void RasterizerVulkan::EndTransformFeedback() {
- const auto& regs = maxwell3d->regs;
- if (regs.transform_feedback_enabled == 0) {
- return;
- }
- if (!device.IsExtTransformFeedbackSupported()) {
- return;
+ query_cache.CounterEnable(VideoCommon::QueryType::StreamingByteCount,
+ regs.transform_feedback_enabled);
+ if (regs.transform_feedback_enabled != 0) {
+ UNIMPLEMENTED_IF(regs.IsShaderConfigEnabled(Maxwell::ShaderType::TessellationInit) ||
+ regs.IsShaderConfigEnabled(Maxwell::ShaderType::Tessellation));
}
- scheduler.Record(
- [](vk::CommandBuffer cmdbuf) { cmdbuf.EndTransformFeedbackEXT(0, 0, nullptr, nullptr); });
}
void RasterizerVulkan::UpdateViewportsState(Tegra::Engines::Maxwell3D::Regs& regs) {
@@ -1011,15 +1015,37 @@ void RasterizerVulkan::UpdateDepthBias(Tegra::Engines::Maxwell3D::Regs& regs) {
regs.zeta.format == Tegra::DepthFormat::X8Z24_UNORM ||
regs.zeta.format == Tegra::DepthFormat::S8Z24_UNORM ||
regs.zeta.format == Tegra::DepthFormat::V8Z24_UNORM;
- if (is_d24 && !device.SupportsD24DepthBuffer()) {
+ bool force_unorm = ([&] {
+ if (!is_d24 || device.SupportsD24DepthBuffer()) {
+ return false;
+ }
+ if (device.IsExtDepthBiasControlSupported()) {
+ return true;
+ }
+ if (!Settings::values.renderer_amdvlk_depth_bias_workaround) {
+ return false;
+ }
// the base formulas can be obtained from here:
// https://docs.microsoft.com/en-us/windows/win32/direct3d11/d3d10-graphics-programming-guide-output-merger-stage-depth-bias
const double rescale_factor =
static_cast<double>(1ULL << (32 - 24)) / (static_cast<double>(0x1.ep+127));
units = static_cast<float>(static_cast<double>(units) * rescale_factor);
- }
+ return false;
+ })();
scheduler.Record([constant = units, clamp = regs.depth_bias_clamp,
- factor = regs.slope_scale_depth_bias](vk::CommandBuffer cmdbuf) {
+ factor = regs.slope_scale_depth_bias, force_unorm,
+ precise = device.HasExactDepthBiasControl()](vk::CommandBuffer cmdbuf) {
+ if (force_unorm) {
+ VkDepthBiasRepresentationInfoEXT info{
+ .sType = VK_STRUCTURE_TYPE_DEPTH_BIAS_REPRESENTATION_INFO_EXT,
+ .pNext = nullptr,
+ .depthBiasRepresentation =
+ VK_DEPTH_BIAS_REPRESENTATION_LEAST_REPRESENTABLE_VALUE_FORCE_UNORM_EXT,
+ .depthBiasExact = precise ? VK_TRUE : VK_FALSE,
+ };
+ cmdbuf.SetDepthBias(constant, clamp, factor, &info);
+ return;
+ }
cmdbuf.SetDepthBias(constant, clamp, factor);
});
}
diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.h b/src/video_core/renderer_vulkan/vk_rasterizer.h
index 73257d964..ad069556c 100644
--- a/src/video_core/renderer_vulkan/vk_rasterizer.h
+++ b/src/video_core/renderer_vulkan/vk_rasterizer.h
@@ -7,13 +7,14 @@
#include <boost/container/static_vector.hpp>
+#include "video_core/renderer_vulkan/vk_buffer_cache.h"
+
#include "common/common_types.h"
#include "video_core/control/channel_state_cache.h"
#include "video_core/engines/maxwell_dma.h"
#include "video_core/rasterizer_accelerated.h"
#include "video_core/rasterizer_interface.h"
#include "video_core/renderer_vulkan/blit_image.h"
-#include "video_core/renderer_vulkan/vk_buffer_cache.h"
#include "video_core/renderer_vulkan/vk_descriptor_pool.h"
#include "video_core/renderer_vulkan/vk_fence_manager.h"
#include "video_core/renderer_vulkan/vk_pipeline_cache.h"
@@ -83,8 +84,9 @@ public:
void DrawTexture() override;
void Clear(u32 layer_count) override;
void DispatchCompute() override;
- void ResetCounter(VideoCore::QueryType type) override;
- void Query(GPUVAddr gpu_addr, VideoCore::QueryType type, std::optional<u64> timestamp) override;
+ void ResetCounter(VideoCommon::QueryType type) override;
+ void Query(GPUVAddr gpu_addr, VideoCommon::QueryType type,
+ VideoCommon::QueryPropertiesFlags flags, u32 payload, u32 subreport) override;
void BindGraphicsUniformBuffer(size_t stage, u32 index, GPUVAddr gpu_addr, u32 size) override;
void DisableGraphicsUniformBuffer(size_t stage, u32 index) override;
void FlushAll() override;
@@ -105,7 +107,7 @@ public:
void SyncOperation(std::function<void()>&& func) override;
void SignalSyncPoint(u32 value) override;
void SignalReference() override;
- void ReleaseFences() override;
+ void ReleaseFences(bool force = true) override;
void FlushAndInvalidateRegion(
VAddr addr, u64 size, VideoCommon::CacheType which = VideoCommon::CacheType::All) override;
void WaitForIdle() override;
@@ -145,9 +147,7 @@ private:
void UpdateDynamicStates();
- void BeginTransformFeedback();
-
- void EndTransformFeedback();
+ void HandleTransformFeedback();
void UpdateViewportsState(Tegra::Engines::Maxwell3D::Regs& regs);
void UpdateScissorsState(Tegra::Engines::Maxwell3D::Regs& regs);
@@ -194,8 +194,9 @@ private:
TextureCache texture_cache;
BufferCacheRuntime buffer_cache_runtime;
BufferCache buffer_cache;
- PipelineCache pipeline_cache;
+ QueryCacheRuntime query_cache_runtime;
QueryCache query_cache;
+ PipelineCache pipeline_cache;
AccelerateDMA accelerate_dma;
FenceManager fence_manager;
diff --git a/src/video_core/renderer_vulkan/vk_scheduler.cpp b/src/video_core/renderer_vulkan/vk_scheduler.cpp
index 17ef61147..3be7837f4 100644
--- a/src/video_core/renderer_vulkan/vk_scheduler.cpp
+++ b/src/video_core/renderer_vulkan/vk_scheduler.cpp
@@ -6,11 +6,12 @@
#include <thread>
#include <utility>
+#include "video_core/renderer_vulkan/vk_query_cache.h"
+
#include "common/microprofile.h"
#include "common/thread.h"
#include "video_core/renderer_vulkan/vk_command_pool.h"
#include "video_core/renderer_vulkan/vk_master_semaphore.h"
-#include "video_core/renderer_vulkan/vk_query_cache.h"
#include "video_core/renderer_vulkan/vk_scheduler.h"
#include "video_core/renderer_vulkan/vk_state_tracker.h"
#include "video_core/renderer_vulkan/vk_texture_cache.h"
@@ -242,10 +243,10 @@ void Scheduler::AllocateNewContext() {
#if ANDROID
if (Settings::IsGPULevelHigh()) {
// This is problematic on Android, disable on GPU Normal.
- query_cache->UpdateCounters();
+ query_cache->NotifySegment(true);
}
#else
- query_cache->UpdateCounters();
+ query_cache->NotifySegment(true);
#endif
}
}
@@ -260,11 +261,12 @@ void Scheduler::EndPendingOperations() {
#if ANDROID
if (Settings::IsGPULevelHigh()) {
// This is problematic on Android, disable on GPU Normal.
- query_cache->DisableStreams();
+ // query_cache->DisableStreams();
}
#else
- query_cache->DisableStreams();
+ // query_cache->DisableStreams();
#endif
+ query_cache->NotifySegment(false);
EndRenderPass();
}
diff --git a/src/video_core/renderer_vulkan/vk_scheduler.h b/src/video_core/renderer_vulkan/vk_scheduler.h
index 475c682eb..da03803aa 100644
--- a/src/video_core/renderer_vulkan/vk_scheduler.h
+++ b/src/video_core/renderer_vulkan/vk_scheduler.h
@@ -17,6 +17,11 @@
#include "video_core/renderer_vulkan/vk_master_semaphore.h"
#include "video_core/vulkan_common/vulkan_wrapper.h"
+namespace VideoCommon {
+template <typename Trait>
+class QueryCacheBase;
+}
+
namespace Vulkan {
class CommandPool;
@@ -24,7 +29,8 @@ class Device;
class Framebuffer;
class GraphicsPipeline;
class StateTracker;
-class QueryCache;
+
+struct QueryCacheParams;
/// The scheduler abstracts command buffer and fence management with an interface that's able to do
/// OpenGL-like operations on Vulkan command buffers.
@@ -63,7 +69,7 @@ public:
void InvalidateState();
/// Assigns the query cache.
- void SetQueryCache(QueryCache& query_cache_) {
+ void SetQueryCache(VideoCommon::QueryCacheBase<QueryCacheParams>& query_cache_) {
query_cache = &query_cache_;
}
@@ -219,7 +225,7 @@ private:
std::unique_ptr<MasterSemaphore> master_semaphore;
std::unique_ptr<CommandPool> command_pool;
- QueryCache* query_cache = nullptr;
+ VideoCommon::QueryCacheBase<QueryCacheParams>* query_cache = nullptr;
vk::CommandBuffer current_cmdbuf;
diff --git a/src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp b/src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp
index ce92f66ab..b278614e6 100644
--- a/src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp
+++ b/src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp
@@ -24,25 +24,38 @@ using namespace Common::Literals;
// Maximum potential alignment of a Vulkan buffer
constexpr VkDeviceSize MAX_ALIGNMENT = 256;
-// Maximum size to put elements in the stream buffer
-constexpr VkDeviceSize MAX_STREAM_BUFFER_REQUEST_SIZE = 8_MiB;
// Stream buffer size in bytes
-constexpr VkDeviceSize STREAM_BUFFER_SIZE = 128_MiB;
-constexpr VkDeviceSize REGION_SIZE = STREAM_BUFFER_SIZE / StagingBufferPool::NUM_SYNCS;
+constexpr VkDeviceSize MAX_STREAM_BUFFER_SIZE = 128_MiB;
-size_t Region(size_t iterator) noexcept {
- return iterator / REGION_SIZE;
+size_t GetStreamBufferSize(const Device& device) {
+ VkDeviceSize size{0};
+ if (device.HasDebuggingToolAttached()) {
+ ForEachDeviceLocalHostVisibleHeap(device, [&size](size_t index, VkMemoryHeap& heap) {
+ size = std::max(size, heap.size);
+ });
+ // If rebar is not supported, cut the max heap size to 40%. This will allow 2 captures to be
+ // loaded at the same time in RenderDoc. If rebar is supported, this shouldn't be an issue
+ // as the heap will be much larger.
+ if (size <= 256_MiB) {
+ size = size * 40 / 100;
+ }
+ } else {
+ size = MAX_STREAM_BUFFER_SIZE;
+ }
+ return std::min(Common::AlignUp(size, MAX_ALIGNMENT), MAX_STREAM_BUFFER_SIZE);
}
} // Anonymous namespace
StagingBufferPool::StagingBufferPool(const Device& device_, MemoryAllocator& memory_allocator_,
Scheduler& scheduler_)
- : device{device_}, memory_allocator{memory_allocator_}, scheduler{scheduler_} {
+ : device{device_}, memory_allocator{memory_allocator_}, scheduler{scheduler_},
+ stream_buffer_size{GetStreamBufferSize(device)}, region_size{stream_buffer_size /
+ StagingBufferPool::NUM_SYNCS} {
VkBufferCreateInfo stream_ci = {
.sType = VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO,
.pNext = nullptr,
.flags = 0,
- .size = STREAM_BUFFER_SIZE,
+ .size = stream_buffer_size,
.usage = VK_BUFFER_USAGE_TRANSFER_SRC_BIT | VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT |
VK_BUFFER_USAGE_INDEX_BUFFER_BIT | VK_BUFFER_USAGE_STORAGE_BUFFER_BIT,
.sharingMode = VK_SHARING_MODE_EXCLUSIVE,
@@ -63,7 +76,7 @@ StagingBufferPool::StagingBufferPool(const Device& device_, MemoryAllocator& mem
StagingBufferPool::~StagingBufferPool() = default;
StagingBufferRef StagingBufferPool::Request(size_t size, MemoryUsage usage, bool deferred) {
- if (!deferred && usage == MemoryUsage::Upload && size <= MAX_STREAM_BUFFER_REQUEST_SIZE) {
+ if (!deferred && usage == MemoryUsage::Upload && size <= region_size) {
return GetStreamBuffer(size);
}
return GetStagingBuffer(size, usage, deferred);
@@ -101,7 +114,7 @@ StagingBufferRef StagingBufferPool::GetStreamBuffer(size_t size) {
used_iterator = iterator;
free_iterator = std::max(free_iterator, iterator + size);
- if (iterator + size >= STREAM_BUFFER_SIZE) {
+ if (iterator + size >= stream_buffer_size) {
std::fill(sync_ticks.begin() + Region(used_iterator), sync_ticks.begin() + NUM_SYNCS,
current_tick);
used_iterator = 0;
diff --git a/src/video_core/renderer_vulkan/vk_staging_buffer_pool.h b/src/video_core/renderer_vulkan/vk_staging_buffer_pool.h
index 5f69f08b1..d3deb9072 100644
--- a/src/video_core/renderer_vulkan/vk_staging_buffer_pool.h
+++ b/src/video_core/renderer_vulkan/vk_staging_buffer_pool.h
@@ -90,6 +90,9 @@ private:
void ReleaseCache(MemoryUsage usage);
void ReleaseLevel(StagingBuffersCache& cache, size_t log2);
+ size_t Region(size_t iter) const noexcept {
+ return iter / region_size;
+ }
const Device& device;
MemoryAllocator& memory_allocator;
@@ -97,6 +100,8 @@ private:
vk::Buffer stream_buffer;
std::span<u8> stream_pointer;
+ VkDeviceSize stream_buffer_size;
+ VkDeviceSize region_size;
size_t iterator = 0;
size_t used_iterator = 0;
diff --git a/src/video_core/renderer_vulkan/vk_swapchain.cpp b/src/video_core/renderer_vulkan/vk_swapchain.cpp
index d3cddac69..81ef98f61 100644
--- a/src/video_core/renderer_vulkan/vk_swapchain.cpp
+++ b/src/video_core/renderer_vulkan/vk_swapchain.cpp
@@ -45,8 +45,8 @@ static VkPresentModeKHR ChooseSwapPresentMode(bool has_imm, bool has_mailbox,
return mode;
}
switch (mode) {
- case Settings::VSyncMode::FIFO:
- case Settings::VSyncMode::FIFORelaxed:
+ case Settings::VSyncMode::Fifo:
+ case Settings::VSyncMode::FifoRelaxed:
if (has_mailbox) {
return Settings::VSyncMode::Mailbox;
} else if (has_imm) {
@@ -59,8 +59,8 @@ static VkPresentModeKHR ChooseSwapPresentMode(bool has_imm, bool has_mailbox,
}();
if ((setting == Settings::VSyncMode::Mailbox && !has_mailbox) ||
(setting == Settings::VSyncMode::Immediate && !has_imm) ||
- (setting == Settings::VSyncMode::FIFORelaxed && !has_fifo_relaxed)) {
- setting = Settings::VSyncMode::FIFO;
+ (setting == Settings::VSyncMode::FifoRelaxed && !has_fifo_relaxed)) {
+ setting = Settings::VSyncMode::Fifo;
}
switch (setting) {
@@ -68,9 +68,9 @@ static VkPresentModeKHR ChooseSwapPresentMode(bool has_imm, bool has_mailbox,
return VK_PRESENT_MODE_IMMEDIATE_KHR;
case Settings::VSyncMode::Mailbox:
return VK_PRESENT_MODE_MAILBOX_KHR;
- case Settings::VSyncMode::FIFO:
+ case Settings::VSyncMode::Fifo:
return VK_PRESENT_MODE_FIFO_KHR;
- case Settings::VSyncMode::FIFORelaxed:
+ case Settings::VSyncMode::FifoRelaxed:
return VK_PRESENT_MODE_FIFO_RELAXED_KHR;
default:
return VK_PRESENT_MODE_FIFO_KHR;
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.cpp b/src/video_core/renderer_vulkan/vk_texture_cache.cpp
index bf6ad6c79..00ab47268 100644
--- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp
+++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp
@@ -11,6 +11,8 @@
#include "common/bit_util.h"
#include "common/settings.h"
+#include "video_core/renderer_vulkan/vk_texture_cache.h"
+
#include "video_core/engines/fermi_2d.h"
#include "video_core/renderer_vulkan/blit_image.h"
#include "video_core/renderer_vulkan/maxwell_to_vk.h"
@@ -18,7 +20,6 @@
#include "video_core/renderer_vulkan/vk_render_pass_cache.h"
#include "video_core/renderer_vulkan/vk_scheduler.h"
#include "video_core/renderer_vulkan/vk_staging_buffer_pool.h"
-#include "video_core/renderer_vulkan/vk_texture_cache.h"
#include "video_core/texture_cache/formatter.h"
#include "video_core/texture_cache/samples_helper.h"
#include "video_core/texture_cache/util.h"
@@ -119,19 +120,9 @@ constexpr VkBorderColor ConvertBorderColor(const std::array<float, 4>& color) {
return usage;
}
-/// Returns the preferred format for a VkImage
-[[nodiscard]] PixelFormat StorageFormat(PixelFormat format) {
- switch (format) {
- case PixelFormat::A8B8G8R8_SRGB:
- return PixelFormat::A8B8G8R8_UNORM;
- default:
- return format;
- }
-}
-
[[nodiscard]] VkImageCreateInfo MakeImageCreateInfo(const Device& device, const ImageInfo& info) {
- const PixelFormat format = StorageFormat(info.format);
- const auto format_info = MaxwellToVK::SurfaceFormat(device, FormatType::Optimal, false, format);
+ const auto format_info =
+ MaxwellToVK::SurfaceFormat(device, FormatType::Optimal, false, info.format);
VkImageCreateFlags flags{};
if (info.type == ImageType::e2D && info.resources.layers >= 6 &&
info.size.width == info.size.height && !device.HasBrokenCubeImageCompability()) {
@@ -156,7 +147,7 @@ constexpr VkBorderColor ConvertBorderColor(const std::array<float, 4>& color) {
.arrayLayers = static_cast<u32>(info.resources.layers),
.samples = ConvertSampleCount(info.num_samples),
.tiling = VK_IMAGE_TILING_OPTIMAL,
- .usage = ImageUsageFlags(format_info, format),
+ .usage = ImageUsageFlags(format_info, info.format),
.sharingMode = VK_SHARING_MODE_EXCLUSIVE,
.queueFamilyIndexCount = 0,
.pQueueFamilyIndices = nullptr,
@@ -185,6 +176,36 @@ constexpr VkBorderColor ConvertBorderColor(const std::array<float, 4>& color) {
return allocator.CreateImage(image_ci);
}
+[[nodiscard]] vk::ImageView MakeStorageView(const vk::Device& device, u32 level, VkImage image,
+ VkFormat format) {
+ static constexpr VkImageViewUsageCreateInfo storage_image_view_usage_create_info{
+ .sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO,
+ .pNext = nullptr,
+ .usage = VK_IMAGE_USAGE_STORAGE_BIT,
+ };
+ return device.CreateImageView(VkImageViewCreateInfo{
+ .sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO,
+ .pNext = &storage_image_view_usage_create_info,
+ .flags = 0,
+ .image = image,
+ .viewType = VK_IMAGE_VIEW_TYPE_2D_ARRAY,
+ .format = format,
+ .components{
+ .r = VK_COMPONENT_SWIZZLE_IDENTITY,
+ .g = VK_COMPONENT_SWIZZLE_IDENTITY,
+ .b = VK_COMPONENT_SWIZZLE_IDENTITY,
+ .a = VK_COMPONENT_SWIZZLE_IDENTITY,
+ },
+ .subresourceRange{
+ .aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
+ .baseMipLevel = level,
+ .levelCount = 1,
+ .baseArrayLayer = 0,
+ .layerCount = VK_REMAINING_ARRAY_LAYERS,
+ },
+ });
+}
+
[[nodiscard]] VkImageAspectFlags ImageAspectMask(PixelFormat format) {
switch (VideoCore::Surface::GetFormatType(format)) {
case VideoCore::Surface::SurfaceType::ColorTexture:
@@ -217,6 +238,7 @@ constexpr VkBorderColor ConvertBorderColor(const std::array<float, 4>& color) {
return any_r ? VK_IMAGE_ASPECT_STENCIL_BIT : VK_IMAGE_ASPECT_DEPTH_BIT;
case PixelFormat::D16_UNORM:
case PixelFormat::D32_FLOAT:
+ case PixelFormat::X8_D24_UNORM:
return VK_IMAGE_ASPECT_DEPTH_BIT;
case PixelFormat::S8_UINT:
return VK_IMAGE_ASPECT_STENCIL_BIT;
@@ -599,7 +621,7 @@ void CopyBufferToImage(vk::CommandBuffer cmdbuf, VkBuffer src_buffer, VkImage im
}
void TryTransformSwizzleIfNeeded(PixelFormat format, std::array<SwizzleSource, 4>& swizzle,
- bool emulate_bgr565) {
+ bool emulate_bgr565, bool emulate_a4b4g4r4) {
switch (format) {
case PixelFormat::A1B5G5R5_UNORM:
std::ranges::transform(swizzle, swizzle.begin(), SwapBlueRed);
@@ -615,6 +637,11 @@ void TryTransformSwizzleIfNeeded(PixelFormat format, std::array<SwizzleSource, 4
case PixelFormat::G4R4_UNORM:
std::ranges::transform(swizzle, swizzle.begin(), SwapGreenRed);
break;
+ case PixelFormat::A4B4G4R4_UNORM:
+ if (emulate_a4b4g4r4) {
+ std::ranges::reverse(swizzle);
+ }
+ break;
default:
break;
}
@@ -817,10 +844,14 @@ TextureCacheRuntime::TextureCacheRuntime(const Device& device_, Scheduler& sched
: device{device_}, scheduler{scheduler_}, memory_allocator{memory_allocator_},
staging_buffer_pool{staging_buffer_pool_}, blit_image_helper{blit_image_helper_},
render_pass_cache{render_pass_cache_}, resolution{Settings::values.resolution_info} {
- if (Settings::values.accelerate_astc) {
+ if (Settings::values.accelerate_astc.GetValue() == Settings::AstcDecodeMode::Gpu) {
astc_decoder_pass.emplace(device, scheduler, descriptor_pool, staging_buffer_pool,
compute_pass_descriptor_queue, memory_allocator);
}
+ if (device.IsStorageImageMultisampleSupported()) {
+ msaa_copy_pass = std::make_unique<MSAACopyPass>(
+ device, scheduler, descriptor_pool, staging_buffer_pool, compute_pass_descriptor_queue);
+ }
if (!device.IsKhrImageFormatListSupported()) {
return;
}
@@ -1043,15 +1074,27 @@ void TextureCacheRuntime::BlitImage(Framebuffer* dst_framebuffer, ImageView& dst
dst_region, src_region, filter, operation);
return;
}
+ ASSERT(src.format == dst.format);
if (aspect_mask == (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) {
- if (!device.IsBlitDepthStencilSupported()) {
+ const auto format = src.format;
+ const auto can_blit_depth_stencil = [this, format] {
+ switch (format) {
+ case VideoCore::Surface::PixelFormat::D24_UNORM_S8_UINT:
+ case VideoCore::Surface::PixelFormat::S8_UINT_D24_UNORM:
+ return device.IsBlitDepth24Stencil8Supported();
+ case VideoCore::Surface::PixelFormat::D32_FLOAT_S8_UINT:
+ return device.IsBlitDepth32Stencil8Supported();
+ default:
+ UNREACHABLE();
+ }
+ }();
+ if (!can_blit_depth_stencil) {
UNIMPLEMENTED_IF(is_src_msaa || is_dst_msaa);
blit_image_helper.BlitDepthStencil(dst_framebuffer, src.DepthView(), src.StencilView(),
dst_region, src_region, filter, operation);
return;
}
}
- ASSERT(src.format == dst.format);
ASSERT(!(is_dst_msaa && !is_src_msaa));
ASSERT(operation == Fermi2D::Operation::SrcCopy);
@@ -1158,6 +1201,9 @@ void TextureCacheRuntime::ConvertImage(Framebuffer* dst, ImageView& dst_view, Im
if (src_view.format == PixelFormat::D24_UNORM_S8_UINT) {
return blit_image_helper.ConvertS8D24ToABGR8(dst, src_view);
}
+ if (src_view.format == PixelFormat::D32_FLOAT) {
+ return blit_image_helper.ConvertD32FToABGR8(dst, src_view);
+ }
break;
case PixelFormat::R32_FLOAT:
if (src_view.format == PixelFormat::D32_FLOAT) {
@@ -1277,7 +1323,11 @@ void TextureCacheRuntime::CopyImage(Image& dst, Image& src,
void TextureCacheRuntime::CopyImageMSAA(Image& dst, Image& src,
std::span<const VideoCommon::ImageCopy> copies) {
- UNIMPLEMENTED_MSG("Copying images with different samples is not implemented in Vulkan.");
+ const bool msaa_to_non_msaa = src.info.num_samples > 1 && dst.info.num_samples == 1;
+ if (msaa_copy_pass) {
+ return msaa_copy_pass->CopyImage(dst, src, copies, msaa_to_non_msaa);
+ }
+ UNIMPLEMENTED_MSG("Copying images with different samples is not supported.");
}
u64 TextureCacheRuntime::GetDeviceLocalMemory() const {
@@ -1301,12 +1351,19 @@ Image::Image(TextureCacheRuntime& runtime_, const ImageInfo& info_, GPUVAddr gpu
runtime->ViewFormats(info.format))),
aspect_mask(ImageAspectMask(info.format)) {
if (IsPixelFormatASTC(info.format) && !runtime->device.IsOptimalAstcSupported()) {
- if (Settings::values.async_astc.GetValue()) {
+ switch (Settings::values.accelerate_astc.GetValue()) {
+ case Settings::AstcDecodeMode::Gpu:
+ if (Settings::values.astc_recompression.GetValue() ==
+ Settings::AstcRecompression::Uncompressed &&
+ info.size.depth == 1) {
+ flags |= VideoCommon::ImageFlagBits::AcceleratedUpload;
+ }
+ break;
+ case Settings::AstcDecodeMode::CpuAsynchronous:
flags |= VideoCommon::ImageFlagBits::AsynchronousDecode;
- } else if (Settings::values.astc_recompression.GetValue() ==
- Settings::AstcRecompression::Uncompressed &&
- Settings::values.accelerate_astc.GetValue() && info.size.depth == 1) {
- flags |= VideoCommon::ImageFlagBits::AcceleratedUpload;
+ break;
+ default:
+ break;
}
flags |= VideoCommon::ImageFlagBits::Converted;
flags |= VideoCommon::ImageFlagBits::CostlyLoad;
@@ -1318,39 +1375,15 @@ Image::Image(TextureCacheRuntime& runtime_, const ImageInfo& info_, GPUVAddr gpu
if (runtime->device.HasDebuggingToolAttached()) {
original_image.SetObjectNameEXT(VideoCommon::Name(*this).c_str());
}
- static constexpr VkImageViewUsageCreateInfo storage_image_view_usage_create_info{
- .sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_USAGE_CREATE_INFO,
- .pNext = nullptr,
- .usage = VK_IMAGE_USAGE_STORAGE_BIT,
- };
current_image = *original_image;
+ storage_image_views.resize(info.resources.levels);
if (IsPixelFormatASTC(info.format) && !runtime->device.IsOptimalAstcSupported() &&
Settings::values.astc_recompression.GetValue() ==
Settings::AstcRecompression::Uncompressed) {
const auto& device = runtime->device.GetLogical();
- storage_image_views.reserve(info.resources.levels);
for (s32 level = 0; level < info.resources.levels; ++level) {
- storage_image_views.push_back(device.CreateImageView(VkImageViewCreateInfo{
- .sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO,
- .pNext = &storage_image_view_usage_create_info,
- .flags = 0,
- .image = *original_image,
- .viewType = VK_IMAGE_VIEW_TYPE_2D_ARRAY,
- .format = VK_FORMAT_A8B8G8R8_UNORM_PACK32,
- .components{
- .r = VK_COMPONENT_SWIZZLE_IDENTITY,
- .g = VK_COMPONENT_SWIZZLE_IDENTITY,
- .b = VK_COMPONENT_SWIZZLE_IDENTITY,
- .a = VK_COMPONENT_SWIZZLE_IDENTITY,
- },
- .subresourceRange{
- .aspectMask = aspect_mask,
- .baseMipLevel = static_cast<u32>(level),
- .levelCount = 1,
- .baseArrayLayer = 0,
- .layerCount = VK_REMAINING_ARRAY_LAYERS,
- },
- }));
+ storage_image_views[level] =
+ MakeStorageView(device, level, *original_image, VK_FORMAT_A8B8G8R8_UNORM_PACK32);
}
}
}
@@ -1481,6 +1514,17 @@ void Image::DownloadMemory(const StagingBufferRef& map, std::span<const BufferIm
DownloadMemory(buffers, offsets, copies);
}
+VkImageView Image::StorageImageView(s32 level) noexcept {
+ auto& view = storage_image_views[level];
+ if (!view) {
+ const auto format_info =
+ MaxwellToVK::SurfaceFormat(runtime->device, FormatType::Optimal, true, info.format);
+ view =
+ MakeStorageView(runtime->device.GetLogical(), level, current_image, format_info.format);
+ }
+ return *view;
+}
+
bool Image::IsRescaled() const noexcept {
return True(flags & ImageFlagBits::Rescaled);
}
@@ -1618,8 +1662,8 @@ bool Image::NeedsScaleHelper() const {
return true;
}
static constexpr auto OPTIMAL_FORMAT = FormatType::Optimal;
- const PixelFormat format = StorageFormat(info.format);
- const auto vk_format = MaxwellToVK::SurfaceFormat(device, OPTIMAL_FORMAT, false, format).format;
+ const auto vk_format =
+ MaxwellToVK::SurfaceFormat(device, OPTIMAL_FORMAT, false, info.format).format;
const auto blit_usage = VK_FORMAT_FEATURE_BLIT_SRC_BIT | VK_FORMAT_FEATURE_BLIT_DST_BIT;
const bool needs_blit_helper = !device.IsFormatSupported(vk_format, blit_usage, OPTIMAL_FORMAT);
return needs_blit_helper;
@@ -1641,7 +1685,8 @@ ImageView::ImageView(TextureCacheRuntime& runtime, const VideoCommon::ImageViewI
};
if (!info.IsRenderTarget()) {
swizzle = info.Swizzle();
- TryTransformSwizzleIfNeeded(format, swizzle, device->MustEmulateBGR565());
+ TryTransformSwizzleIfNeeded(format, swizzle, device->MustEmulateBGR565(),
+ !device->IsExt4444FormatsSupported());
if ((aspect_mask & (VK_IMAGE_ASPECT_DEPTH_BIT | VK_IMAGE_ASPECT_STENCIL_BIT)) != 0) {
std::ranges::transform(swizzle, swizzle.begin(), ConvertGreenRed);
}
diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.h b/src/video_core/renderer_vulkan/vk_texture_cache.h
index 6621210ea..d6c5a15cc 100644
--- a/src/video_core/renderer_vulkan/vk_texture_cache.h
+++ b/src/video_core/renderer_vulkan/vk_texture_cache.h
@@ -5,11 +5,12 @@
#include <span>
+#include "video_core/texture_cache/texture_cache_base.h"
+
#include "shader_recompiler/shader_info.h"
#include "video_core/renderer_vulkan/vk_compute_pass.h"
#include "video_core/renderer_vulkan/vk_staging_buffer_pool.h"
#include "video_core/texture_cache/image_view_base.h"
-#include "video_core/texture_cache/texture_cache_base.h"
#include "video_core/vulkan_common/vulkan_memory_allocator.h"
#include "video_core/vulkan_common/vulkan_wrapper.h"
@@ -116,6 +117,7 @@ public:
BlitImageHelper& blit_image_helper;
RenderPassCache& render_pass_cache;
std::optional<ASTCDecoderPass> astc_decoder_pass;
+ std::unique_ptr<MSAACopyPass> msaa_copy_pass;
const Settings::ResolutionScalingInfo& resolution;
std::array<std::vector<VkFormat>, VideoCore::Surface::MaxPixelFormat> view_formats;
@@ -160,15 +162,13 @@ public:
return aspect_mask;
}
- [[nodiscard]] VkImageView StorageImageView(s32 level) const noexcept {
- return *storage_image_views[level];
- }
-
/// Returns true when the image is already initialized and mark it as initialized
[[nodiscard]] bool ExchangeInitialization() noexcept {
return std::exchange(initialized, true);
}
+ VkImageView StorageImageView(s32 level) noexcept;
+
bool IsRescaled() const noexcept;
bool ScaleUp(bool ignore = false);
diff --git a/src/video_core/renderer_vulkan/vk_turbo_mode.cpp b/src/video_core/renderer_vulkan/vk_turbo_mode.cpp
index 460d8d59d..04a51f2d1 100644
--- a/src/video_core/renderer_vulkan/vk_turbo_mode.cpp
+++ b/src/video_core/renderer_vulkan/vk_turbo_mode.cpp
@@ -62,7 +62,7 @@ void TurboMode::Run(std::stop_token stop_token) {
auto descriptor_pool = dld.CreateDescriptorPool(VkDescriptorPoolCreateInfo{
.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO,
.pNext = nullptr,
- .flags = VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT,
+ .flags = 0,
.maxSets = 1,
.poolSizeCount = 1,
.pPoolSizes = &pool_size,
diff --git a/src/video_core/shader_cache.cpp b/src/video_core/shader_cache.cpp
index 01701201d..e81cd031b 100644
--- a/src/video_core/shader_cache.cpp
+++ b/src/video_core/shader_cache.cpp
@@ -51,6 +51,11 @@ bool ShaderCache::RefreshStages(std::array<u64, 6>& unique_hashes) {
}
const auto& shader_config{maxwell3d->regs.pipelines[index]};
const auto program{static_cast<Tegra::Engines::Maxwell3D::Regs::ShaderType>(index)};
+ if (program == Tegra::Engines::Maxwell3D::Regs::ShaderType::Pixel &&
+ !maxwell3d->regs.rasterize_enable) {
+ unique_hashes[index] = 0;
+ continue;
+ }
const GPUVAddr shader_addr{base_addr + shader_config.offset};
const std::optional<VAddr> cpu_shader_addr{gpu_memory->GpuToCpuAddress(shader_addr)};
if (!cpu_shader_addr) {
diff --git a/src/video_core/shader_cache.h b/src/video_core/shader_cache.h
index de8e08002..a76896620 100644
--- a/src/video_core/shader_cache.h
+++ b/src/video_core/shader_cache.h
@@ -70,7 +70,7 @@ public:
protected:
struct GraphicsEnvironments {
std::array<GraphicsEnvironment, NUM_PROGRAMS> envs;
- std::array<Shader::Environment*, NUM_PROGRAMS> env_ptrs;
+ std::array<Shader::Environment*, NUM_PROGRAMS> env_ptrs{};
std::span<Shader::Environment* const> Span() const noexcept {
return std::span(env_ptrs.begin(), std::ranges::find(env_ptrs, nullptr));
diff --git a/src/video_core/shader_environment.cpp b/src/video_core/shader_environment.cpp
index c7cb56243..4edbe5700 100644
--- a/src/video_core/shader_environment.cpp
+++ b/src/video_core/shader_environment.cpp
@@ -102,7 +102,8 @@ static std::string_view StageToPrefix(Shader::Stage stage) {
}
}
-static void DumpImpl(u64 hash, const u64* code, u32 read_highest, u32 read_lowest,
+static void DumpImpl(u64 pipeline_hash, u64 shader_hash, std::span<const u64> code,
+ [[maybe_unused]] u32 read_highest, [[maybe_unused]] u32 read_lowest,
u32 initial_offset, Shader::Stage stage) {
const auto shader_dir{Common::FS::GetYuzuPath(Common::FS::YuzuPath::DumpDir)};
const auto base_dir{shader_dir / "shaders"};
@@ -111,13 +112,18 @@ static void DumpImpl(u64 hash, const u64* code, u32 read_highest, u32 read_lowes
return;
}
const auto prefix = StageToPrefix(stage);
- const auto name{base_dir / fmt::format("{}{:016x}.ash", prefix, hash)};
- const size_t real_size = read_highest - read_lowest + initial_offset;
- const size_t padding_needed = ((32 - (real_size % 32)) % 32);
+ const auto name{base_dir /
+ fmt::format("{:016x}_{}_{:016x}.ash", pipeline_hash, prefix, shader_hash)};
std::fstream shader_file(name, std::ios::out | std::ios::binary);
+ ASSERT(initial_offset % sizeof(u64) == 0);
const size_t jump_index = initial_offset / sizeof(u64);
- shader_file.write(reinterpret_cast<const char*>(code + jump_index), real_size);
- for (size_t i = 0; i < padding_needed; i++) {
+ const size_t code_size = code.size_bytes() - initial_offset;
+ shader_file.write(reinterpret_cast<const char*>(&code[jump_index]), code_size);
+
+ // + 1 instruction, due to the fact that we skip the final self branch instruction in the code,
+ // but we need to consider it for padding, otherwise nvdisasm rages.
+ const size_t padding_needed = (32 - ((code_size + INST_SIZE) % 32)) % 32;
+ for (size_t i = 0; i < INST_SIZE + padding_needed; i++) {
shader_file.put(0);
}
}
@@ -197,8 +203,8 @@ u64 GenericEnvironment::CalculateHash() const {
return Common::CityHash64(data.get(), size);
}
-void GenericEnvironment::Dump(u64 hash) {
- DumpImpl(hash, code.data(), read_highest, read_lowest, initial_offset, stage);
+void GenericEnvironment::Dump(u64 pipeline_hash, u64 shader_hash) {
+ DumpImpl(pipeline_hash, shader_hash, code, read_highest, read_lowest, initial_offset, stage);
}
void GenericEnvironment::Serialize(std::ofstream& file) const {
@@ -282,6 +288,7 @@ std::optional<u64> GenericEnvironment::TryFindSize() {
Tegra::Texture::TICEntry GenericEnvironment::ReadTextureInfo(GPUVAddr tic_addr, u32 tic_limit,
bool via_header_index, u32 raw) {
const auto handle{Tegra::Texture::TexturePair(raw, via_header_index)};
+ ASSERT(handle.first <= tic_limit);
const GPUVAddr descriptor_addr{tic_addr + handle.first * sizeof(Tegra::Texture::TICEntry)};
Tegra::Texture::TICEntry entry;
gpu_memory->ReadBlock(descriptor_addr, &entry, sizeof(entry));
@@ -465,8 +472,8 @@ void FileEnvironment::Deserialize(std::ifstream& file) {
.read(reinterpret_cast<char*>(&read_highest), sizeof(read_highest))
.read(reinterpret_cast<char*>(&viewport_transform_state), sizeof(viewport_transform_state))
.read(reinterpret_cast<char*>(&stage), sizeof(stage));
- code = std::make_unique<u64[]>(Common::DivCeil(code_size, sizeof(u64)));
- file.read(reinterpret_cast<char*>(code.get()), code_size);
+ code.resize(Common::DivCeil(code_size, sizeof(u64)));
+ file.read(reinterpret_cast<char*>(code.data()), code_size);
for (size_t i = 0; i < num_texture_types; ++i) {
u32 key;
Shader::TextureType type;
@@ -509,8 +516,8 @@ void FileEnvironment::Deserialize(std::ifstream& file) {
is_propietary_driver = texture_bound == 2;
}
-void FileEnvironment::Dump(u64 hash) {
- DumpImpl(hash, code.get(), read_highest, read_lowest, initial_offset, stage);
+void FileEnvironment::Dump(u64 pipeline_hash, u64 shader_hash) {
+ DumpImpl(pipeline_hash, shader_hash, code, read_highest, read_lowest, initial_offset, stage);
}
u64 FileEnvironment::ReadInstruction(u32 address) {
diff --git a/src/video_core/shader_environment.h b/src/video_core/shader_environment.h
index a0f61cbda..b90f3d44e 100644
--- a/src/video_core/shader_environment.h
+++ b/src/video_core/shader_environment.h
@@ -58,7 +58,7 @@ public:
[[nodiscard]] u64 CalculateHash() const;
- void Dump(u64 hash) override;
+ void Dump(u64 pipeline_hash, u64 shader_hash) override;
void Serialize(std::ofstream& file) const;
@@ -188,10 +188,10 @@ public:
return cbuf_replacements.size() != 0;
}
- void Dump(u64 hash) override;
+ void Dump(u64 pipeline_hash, u64 shader_hash) override;
private:
- std::unique_ptr<u64[]> code;
+ std::vector<u64> code;
std::unordered_map<u32, Shader::TextureType> texture_types;
std::unordered_map<u32, Shader::TexturePixelFormat> texture_pixel_formats;
std::unordered_map<u64, u32> cbuf_values;
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp
index e16cd5e73..5b3c7aa5a 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -85,6 +85,8 @@ PixelFormat PixelFormatFromDepthFormat(Tegra::DepthFormat format) {
return PixelFormat::S8_UINT;
case Tegra::DepthFormat::Z32_FLOAT_X24S8_UINT:
return PixelFormat::D32_FLOAT_S8_UINT;
+ case Tegra::DepthFormat::X8Z24_UNORM:
+ return PixelFormat::X8_D24_UNORM;
default:
UNIMPLEMENTED_MSG("Unimplemented format={}", format);
return PixelFormat::S8_UINT_D24_UNORM;
@@ -202,6 +204,7 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
PixelFormat PixelFormatFromGPUPixelFormat(Service::android::PixelFormat format) {
switch (format) {
case Service::android::PixelFormat::Rgba8888:
+ case Service::android::PixelFormat::Rgbx8888:
return PixelFormat::A8B8G8R8_UNORM;
case Service::android::PixelFormat::Rgb565:
return PixelFormat::R5G6B5_UNORM;
diff --git a/src/video_core/surface.h b/src/video_core/surface.h
index 9b9c4d9bc..a5e8e2f62 100644
--- a/src/video_core/surface.h
+++ b/src/video_core/surface.h
@@ -115,6 +115,7 @@ enum class PixelFormat {
// Depth formats
D32_FLOAT = MaxColorFormat,
D16_UNORM,
+ X8_D24_UNORM,
MaxDepthFormat,
@@ -251,6 +252,7 @@ constexpr std::array<u8, MaxPixelFormat> BLOCK_WIDTH_TABLE = {{
1, // E5B9G9R9_FLOAT
1, // D32_FLOAT
1, // D16_UNORM
+ 1, // X8_D24_UNORM
1, // S8_UINT
1, // D24_UNORM_S8_UINT
1, // S8_UINT_D24_UNORM
@@ -360,6 +362,7 @@ constexpr std::array<u8, MaxPixelFormat> BLOCK_HEIGHT_TABLE = {{
1, // E5B9G9R9_FLOAT
1, // D32_FLOAT
1, // D16_UNORM
+ 1, // X8_D24_UNORM
1, // S8_UINT
1, // D24_UNORM_S8_UINT
1, // S8_UINT_D24_UNORM
@@ -469,6 +472,7 @@ constexpr std::array<u8, MaxPixelFormat> BITS_PER_BLOCK_TABLE = {{
32, // E5B9G9R9_FLOAT
32, // D32_FLOAT
16, // D16_UNORM
+ 32, // X8_D24_UNORM
8, // S8_UINT
32, // D24_UNORM_S8_UINT
32, // S8_UINT_D24_UNORM
diff --git a/src/video_core/texture_cache/format_lookup_table.cpp b/src/video_core/texture_cache/format_lookup_table.cpp
index 11ced6c38..8c774f512 100644
--- a/src/video_core/texture_cache/format_lookup_table.cpp
+++ b/src/video_core/texture_cache/format_lookup_table.cpp
@@ -138,8 +138,16 @@ PixelFormat PixelFormatFromTextureInfo(TextureFormat format, ComponentType red,
return PixelFormat::E5B9G9R9_FLOAT;
case Hash(TextureFormat::Z32, FLOAT):
return PixelFormat::D32_FLOAT;
+ case Hash(TextureFormat::Z32, FLOAT, UINT, UINT, UINT, LINEAR):
+ return PixelFormat::D32_FLOAT;
case Hash(TextureFormat::Z16, UNORM):
return PixelFormat::D16_UNORM;
+ case Hash(TextureFormat::Z16, UNORM, UINT, UINT, UINT, LINEAR):
+ return PixelFormat::D16_UNORM;
+ case Hash(TextureFormat::X8Z24, UNORM):
+ return PixelFormat::X8_D24_UNORM;
+ case Hash(TextureFormat::X8Z24, UNORM, UINT, UINT, UINT, LINEAR):
+ return PixelFormat::X8_D24_UNORM;
case Hash(TextureFormat::Z24S8, UINT, UNORM, UNORM, UNORM, LINEAR):
return PixelFormat::S8_UINT_D24_UNORM;
case Hash(TextureFormat::Z24S8, UINT, UNORM, UINT, UINT, LINEAR):
diff --git a/src/video_core/texture_cache/formatter.h b/src/video_core/texture_cache/formatter.h
index 9ee57a076..cabbfcb2d 100644
--- a/src/video_core/texture_cache/formatter.h
+++ b/src/video_core/texture_cache/formatter.h
@@ -211,6 +211,8 @@ struct fmt::formatter<VideoCore::Surface::PixelFormat> : fmt::formatter<fmt::str
return "D32_FLOAT";
case PixelFormat::D16_UNORM:
return "D16_UNORM";
+ case PixelFormat::X8_D24_UNORM:
+ return "X8_D24_UNORM";
case PixelFormat::S8_UINT:
return "S8_UINT";
case PixelFormat::D24_UNORM_S8_UINT:
diff --git a/src/video_core/texture_cache/image_base.h b/src/video_core/texture_cache/image_base.h
index 55d49d017..0587d7b72 100644
--- a/src/video_core/texture_cache/image_base.h
+++ b/src/video_core/texture_cache/image_base.h
@@ -41,7 +41,7 @@ enum class ImageFlagBits : u32 {
IsRescalable = 1 << 15,
AsynchronousDecode = 1 << 16,
- IsDecoding = 1 << 17, ///< Is currently being decoded asynchornously.
+ IsDecoding = 1 << 17, ///< Is currently being decoded asynchronously.
};
DECLARE_ENUM_FLAG_OPERATORS(ImageFlagBits)
diff --git a/src/video_core/texture_cache/image_view_base.cpp b/src/video_core/texture_cache/image_view_base.cpp
index 0c5f4450d..18b9250f9 100644
--- a/src/video_core/texture_cache/image_view_base.cpp
+++ b/src/video_core/texture_cache/image_view_base.cpp
@@ -85,6 +85,7 @@ bool ImageViewBase::SupportsAnisotropy() const noexcept {
// Depth formats
case PixelFormat::D32_FLOAT:
case PixelFormat::D16_UNORM:
+ case PixelFormat::X8_D24_UNORM:
// Stencil formats
case PixelFormat::S8_UINT:
// DepthStencil formats
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h
index 4457b366f..1bdb0def5 100644
--- a/src/video_core/texture_cache/texture_cache.h
+++ b/src/video_core/texture_cache/texture_cache.h
@@ -719,6 +719,7 @@ typename P::ImageView* TextureCache<P>::TryFindFramebufferImageView(VAddr cpu_ad
return nullptr;
}
const auto& image_map_ids = it->second;
+ boost::container::small_vector<const ImageBase*, 4> valid_images;
for (const ImageMapId map_id : image_map_ids) {
const ImageMapView& map = slot_map_views[map_id];
const ImageBase& image = slot_images[map.image_id];
@@ -728,8 +729,20 @@ typename P::ImageView* TextureCache<P>::TryFindFramebufferImageView(VAddr cpu_ad
if (image.image_view_ids.empty()) {
continue;
}
- return &slot_image_views[image.image_view_ids.at(0)];
+ valid_images.push_back(&image);
}
+
+ if (valid_images.size() == 1) [[likely]] {
+ return &slot_image_views[valid_images[0]->image_view_ids.at(0)];
+ }
+
+ if (valid_images.size() > 0) [[unlikely]] {
+ std::ranges::sort(valid_images, [](const auto* a, const auto* b) {
+ return a->modification_tick > b->modification_tick;
+ });
+ return &slot_image_views[valid_images[0]->image_view_ids.at(0)];
+ }
+
return nullptr;
}
diff --git a/src/video_core/texture_cache/texture_cache_base.h b/src/video_core/texture_cache/texture_cache_base.h
index e9ec91265..a40825c9f 100644
--- a/src/video_core/texture_cache/texture_cache_base.h
+++ b/src/video_core/texture_cache/texture_cache_base.h
@@ -243,6 +243,9 @@ public:
/// Create channel state.
void CreateChannel(Tegra::Control::ChannelState& channel) final override;
+ /// Prepare an image to be used
+ void PrepareImage(ImageId image_id, bool is_modification, bool invalidate);
+
std::recursive_mutex mutex;
private:
@@ -387,9 +390,6 @@ private:
/// Synchronize image aliases, copying data if needed
void SynchronizeAliases(ImageId image_id);
- /// Prepare an image to be used
- void PrepareImage(ImageId image_id, bool is_modification, bool invalidate);
-
/// Prepare an image view to be used
void PrepareImageView(ImageViewId image_view_id, bool is_modification, bool invalidate);
diff --git a/src/video_core/texture_cache/util.cpp b/src/video_core/texture_cache/util.cpp
index a83f5d41c..8151cabf0 100644
--- a/src/video_core/texture_cache/util.cpp
+++ b/src/video_core/texture_cache/util.cpp
@@ -68,6 +68,7 @@ struct LevelInfo {
Extent2D tile_size;
u32 bpp_log2;
u32 tile_width_spacing;
+ u32 num_levels;
};
[[nodiscard]] constexpr u32 AdjustTileSize(u32 shift, u32 unit_factor, u32 dimension) {
@@ -118,11 +119,11 @@ template <u32 GOB_EXTENT>
}
[[nodiscard]] constexpr Extent3D AdjustMipBlockSize(Extent3D num_tiles, Extent3D block_size,
- u32 level) {
+ u32 level, u32 num_levels) {
return {
.width = AdjustMipBlockSize<GOB_SIZE_X>(num_tiles.width, block_size.width, level),
.height = AdjustMipBlockSize<GOB_SIZE_Y>(num_tiles.height, block_size.height, level),
- .depth = level == 0
+ .depth = level == 0 && num_levels == 1
? block_size.depth
: AdjustMipBlockSize<GOB_SIZE_Z>(num_tiles.depth, block_size.depth, level),
};
@@ -166,13 +167,6 @@ template <u32 GOB_EXTENT>
}
[[nodiscard]] constexpr Extent3D TileShift(const LevelInfo& info, u32 level) {
- if (level == 0) {
- return Extent3D{
- .width = info.block.width,
- .height = info.block.height,
- .depth = info.block.depth,
- };
- }
const Extent3D blocks = NumLevelBlocks(info, level);
return Extent3D{
.width = AdjustTileSize(info.block.width, GOB_SIZE_X, blocks.width),
@@ -257,7 +251,7 @@ template <u32 GOB_EXTENT>
}
[[nodiscard]] constexpr LevelInfo MakeLevelInfo(PixelFormat format, Extent3D size, Extent3D block,
- u32 tile_width_spacing) {
+ u32 tile_width_spacing, u32 num_levels) {
const u32 bytes_per_block = BytesPerBlock(format);
return {
.size =
@@ -270,16 +264,18 @@ template <u32 GOB_EXTENT>
.tile_size = DefaultBlockSize(format),
.bpp_log2 = BytesPerBlockLog2(bytes_per_block),
.tile_width_spacing = tile_width_spacing,
+ .num_levels = num_levels,
};
}
[[nodiscard]] constexpr LevelInfo MakeLevelInfo(const ImageInfo& info) {
- return MakeLevelInfo(info.format, info.size, info.block, info.tile_width_spacing);
+ return MakeLevelInfo(info.format, info.size, info.block, info.tile_width_spacing,
+ info.resources.levels);
}
[[nodiscard]] constexpr u32 CalculateLevelOffset(PixelFormat format, Extent3D size, Extent3D block,
u32 tile_width_spacing, u32 level) {
- const LevelInfo info = MakeLevelInfo(format, size, block, tile_width_spacing);
+ const LevelInfo info = MakeLevelInfo(format, size, block, tile_width_spacing, level);
u32 offset = 0;
for (u32 current_level = 0; current_level < level; ++current_level) {
offset += CalculateLevelSize(info, current_level);
@@ -466,7 +462,7 @@ template <u32 GOB_EXTENT>
};
const u32 bpp_log2 = BytesPerBlockLog2(info.format);
const u32 alignment = StrideAlignment(num_tiles, info.block, bpp_log2, info.tile_width_spacing);
- const Extent3D mip_block = AdjustMipBlockSize(num_tiles, info.block, 0);
+ const Extent3D mip_block = AdjustMipBlockSize(num_tiles, info.block, 0, info.resources.levels);
return Extent3D{
.width = Common::AlignUpLog2(num_tiles.width, alignment),
.height = Common::AlignUpLog2(num_tiles.height, GOB_SIZE_Y_SHIFT + mip_block.height),
@@ -533,7 +529,8 @@ void SwizzleBlockLinearImage(Tegra::MemoryManager& gpu_memory, GPUVAddr gpu_addr
UNIMPLEMENTED_IF(copy.image_extent != level_size);
const Extent3D num_tiles = AdjustTileSize(level_size, tile_size);
- const Extent3D block = AdjustMipBlockSize(num_tiles, level_info.block, level);
+ const Extent3D block =
+ AdjustMipBlockSize(num_tiles, level_info.block, level, level_info.num_levels);
size_t host_offset = copy.buffer_offset;
@@ -698,7 +695,7 @@ u32 CalculateLevelStrideAlignment(const ImageInfo& info, u32 level) {
const Extent2D tile_size = DefaultBlockSize(info.format);
const Extent3D level_size = AdjustMipSize(info.size, level);
const Extent3D num_tiles = AdjustTileSize(level_size, tile_size);
- const Extent3D block = AdjustMipBlockSize(num_tiles, info.block, level);
+ const Extent3D block = AdjustMipBlockSize(num_tiles, info.block, level, info.resources.levels);
const u32 bpp_log2 = BytesPerBlockLog2(info.format);
return StrideAlignment(num_tiles, block, bpp_log2, info.tile_width_spacing);
}
@@ -887,7 +884,8 @@ boost::container::small_vector<BufferImageCopy, 16> UnswizzleImage(Tegra::Memory
.image_extent = level_size,
};
const Extent3D num_tiles = AdjustTileSize(level_size, tile_size);
- const Extent3D block = AdjustMipBlockSize(num_tiles, level_info.block, level);
+ const Extent3D block =
+ AdjustMipBlockSize(num_tiles, level_info.block, level, level_info.num_levels);
const u32 stride_alignment = StrideAlignment(num_tiles, info.block, gob, bpp_log2);
size_t guest_layer_offset = 0;
@@ -1041,7 +1039,7 @@ Extent3D MipBlockSize(const ImageInfo& info, u32 level) {
const Extent2D tile_size = DefaultBlockSize(info.format);
const Extent3D level_size = AdjustMipSize(info.size, level);
const Extent3D num_tiles = AdjustTileSize(level_size, tile_size);
- return AdjustMipBlockSize(num_tiles, level_info.block, level);
+ return AdjustMipBlockSize(num_tiles, level_info.block, level, level_info.num_levels);
}
boost::container::small_vector<SwizzleParameters, 16> FullUploadSwizzles(const ImageInfo& info) {
@@ -1063,7 +1061,8 @@ boost::container::small_vector<SwizzleParameters, 16> FullUploadSwizzles(const I
for (s32 level = 0; level < num_levels; ++level) {
const Extent3D level_size = AdjustMipSize(size, level);
const Extent3D num_tiles = AdjustTileSize(level_size, tile_size);
- const Extent3D block = AdjustMipBlockSize(num_tiles, level_info.block, level);
+ const Extent3D block =
+ AdjustMipBlockSize(num_tiles, level_info.block, level, level_info.num_levels);
params[level] = SwizzleParameters{
.num_tiles = num_tiles,
.block = block,
@@ -1195,7 +1194,7 @@ std::optional<SubresourceBase> FindSubresource(const ImageInfo& candidate, const
return std::nullopt;
}
} else {
- // Format comaptibility is not relaxed, ensure we are creating a view on a compatible format
+ // Format compatibility is not relaxed, ensure we are creating a view on a compatible format
if (!IsViewCompatible(existing.format, candidate.format, broken_views, native_bgr)) {
return std::nullopt;
}
@@ -1292,11 +1291,11 @@ u32 MapSizeBytes(const ImageBase& image) {
}
}
-static_assert(CalculateLevelSize(LevelInfo{{1920, 1080, 1}, {0, 2, 0}, {1, 1}, 2, 0}, 0) ==
+static_assert(CalculateLevelSize(LevelInfo{{1920, 1080, 1}, {0, 2, 0}, {1, 1}, 2, 0, 1}, 0) ==
0x7f8000);
-static_assert(CalculateLevelSize(LevelInfo{{32, 32, 1}, {0, 0, 4}, {1, 1}, 4, 0}, 0) == 0x40000);
+static_assert(CalculateLevelSize(LevelInfo{{32, 32, 1}, {0, 0, 4}, {1, 1}, 4, 0, 1}, 0) == 0x4000);
-static_assert(CalculateLevelSize(LevelInfo{{128, 8, 1}, {0, 4, 0}, {1, 1}, 4, 0}, 0) == 0x40000);
+static_assert(CalculateLevelSize(LevelInfo{{128, 8, 1}, {0, 4, 0}, {1, 1}, 4, 0, 1}, 0) == 0x4000);
static_assert(CalculateLevelOffset(PixelFormat::R8_SINT, {1920, 1080, 1}, {0, 2, 0}, 0, 7) ==
0x2afc00);
diff --git a/src/video_core/textures/texture.cpp b/src/video_core/textures/texture.cpp
index d8b88d9bc..39c08b5ae 100644
--- a/src/video_core/textures/texture.cpp
+++ b/src/video_core/textures/texture.cpp
@@ -72,12 +72,12 @@ float TSCEntry::MaxAnisotropy() const noexcept {
}
const auto anisotropic_settings = Settings::values.max_anisotropy.GetValue();
s32 added_anisotropic{};
- if (anisotropic_settings == 0) {
+ if (anisotropic_settings == Settings::AnisotropyMode::Automatic) {
added_anisotropic = Settings::values.resolution_info.up_scale >>
Settings::values.resolution_info.down_shift;
added_anisotropic = std::max(added_anisotropic - 1, 0);
} else {
- added_anisotropic = Settings::values.max_anisotropy.GetValue() - 1U;
+ added_anisotropic = static_cast<u32>(Settings::values.max_anisotropy.GetValue()) - 1U;
}
return static_cast<float>(1U << (max_anisotropy + added_anisotropic));
}
diff --git a/src/video_core/vulkan_common/vma.cpp b/src/video_core/vulkan_common/vma.cpp
index 1fe2cf52b..addf10762 100644
--- a/src/video_core/vulkan_common/vma.cpp
+++ b/src/video_core/vulkan_common/vma.cpp
@@ -2,7 +2,5 @@
// SPDX-License-Identifier: GPL-2.0-or-later
#define VMA_IMPLEMENTATION
-#define VMA_STATIC_VULKAN_FUNCTIONS 0
-#define VMA_DYNAMIC_VULKAN_FUNCTIONS 1
-#include <vk_mem_alloc.h> \ No newline at end of file
+#include "video_core/vulkan_common/vma.h"
diff --git a/src/video_core/vulkan_common/vma.h b/src/video_core/vulkan_common/vma.h
new file mode 100644
index 000000000..6e25aa1bd
--- /dev/null
+++ b/src/video_core/vulkan_common/vma.h
@@ -0,0 +1,11 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include "video_core/vulkan_common/vulkan.h"
+
+#define VMA_STATIC_VULKAN_FUNCTIONS 0
+#define VMA_DYNAMIC_VULKAN_FUNCTIONS 1
+
+#include <vk_mem_alloc.h>
diff --git a/src/video_core/vulkan_common/vulkan.h b/src/video_core/vulkan_common/vulkan.h
new file mode 100644
index 000000000..62aa13291
--- /dev/null
+++ b/src/video_core/vulkan_common/vulkan.h
@@ -0,0 +1,26 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#define VK_NO_PROTOTYPES
+#ifdef _WIN32
+#define VK_USE_PLATFORM_WIN32_KHR
+#elif defined(__APPLE__)
+#define VK_USE_PLATFORM_METAL_EXT
+#elif defined(__ANDROID__)
+#define VK_USE_PLATFORM_ANDROID_KHR
+#else
+#define VK_USE_PLATFORM_XLIB_KHR
+#define VK_USE_PLATFORM_WAYLAND_KHR
+#endif
+
+#include <vulkan/vulkan.h>
+
+// Sanitize macros
+#undef CreateEvent
+#undef CreateSemaphore
+#undef Always
+#undef False
+#undef None
+#undef True
diff --git a/src/video_core/vulkan_common/vulkan_debug_callback.cpp b/src/video_core/vulkan_common/vulkan_debug_callback.cpp
index 67e8065a4..448df2d3a 100644
--- a/src/video_core/vulkan_common/vulkan_debug_callback.cpp
+++ b/src/video_core/vulkan_common/vulkan_debug_callback.cpp
@@ -63,22 +63,6 @@ VkBool32 DebugUtilCallback(VkDebugUtilsMessageSeverityFlagBitsEXT severity,
return VK_FALSE;
}
-VkBool32 DebugReportCallback(VkDebugReportFlagsEXT flags, VkDebugReportObjectTypeEXT objectType,
- uint64_t object, size_t location, int32_t messageCode,
- const char* pLayerPrefix, const char* pMessage, void* pUserData) {
- const VkDebugReportFlagBitsEXT severity = static_cast<VkDebugReportFlagBitsEXT>(flags);
- const std::string_view message{pMessage};
- if (severity & VK_DEBUG_REPORT_ERROR_BIT_EXT) {
- LOG_CRITICAL(Render_Vulkan, "{}", message);
- } else if (severity & VK_DEBUG_REPORT_WARNING_BIT_EXT) {
- LOG_WARNING(Render_Vulkan, "{}", message);
- } else if (severity & VK_DEBUG_REPORT_INFORMATION_BIT_EXT) {
- LOG_INFO(Render_Vulkan, "{}", message);
- } else if (severity & VK_DEBUG_REPORT_DEBUG_BIT_EXT) {
- LOG_DEBUG(Render_Vulkan, "{}", message);
- }
- return VK_FALSE;
-}
} // Anonymous namespace
vk::DebugUtilsMessenger CreateDebugUtilsCallback(const vk::Instance& instance) {
@@ -98,15 +82,4 @@ vk::DebugUtilsMessenger CreateDebugUtilsCallback(const vk::Instance& instance) {
});
}
-vk::DebugReportCallback CreateDebugReportCallback(const vk::Instance& instance) {
- return instance.CreateDebugReportCallback({
- .sType = VK_STRUCTURE_TYPE_DEBUG_REPORT_CALLBACK_CREATE_INFO_EXT,
- .pNext = nullptr,
- .flags = VK_DEBUG_REPORT_DEBUG_BIT_EXT | VK_DEBUG_REPORT_INFORMATION_BIT_EXT |
- VK_DEBUG_REPORT_ERROR_BIT_EXT | VK_DEBUG_REPORT_WARNING_BIT_EXT,
- .pfnCallback = DebugReportCallback,
- .pUserData = nullptr,
- });
-}
-
} // namespace Vulkan
diff --git a/src/video_core/vulkan_common/vulkan_debug_callback.h b/src/video_core/vulkan_common/vulkan_debug_callback.h
index a8af7b406..5e940782f 100644
--- a/src/video_core/vulkan_common/vulkan_debug_callback.h
+++ b/src/video_core/vulkan_common/vulkan_debug_callback.h
@@ -9,6 +9,4 @@ namespace Vulkan {
vk::DebugUtilsMessenger CreateDebugUtilsCallback(const vk::Instance& instance);
-vk::DebugReportCallback CreateDebugReportCallback(const vk::Instance& instance);
-
} // namespace Vulkan
diff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cpp
index e04852e01..876cec2e8 100644
--- a/src/video_core/vulkan_common/vulkan_device.cpp
+++ b/src/video_core/vulkan_common/vulkan_device.cpp
@@ -15,6 +15,7 @@
#include "common/polyfill_ranges.h"
#include "common/settings.h"
#include "video_core/vulkan_common/nsight_aftermath_tracker.h"
+#include "video_core/vulkan_common/vma.h"
#include "video_core/vulkan_common/vulkan_device.h"
#include "video_core/vulkan_common/vulkan_wrapper.h"
@@ -22,8 +23,6 @@
#include <adrenotools/bcenabler.h>
#endif
-#include <vk_mem_alloc.h>
-
namespace Vulkan {
using namespace Common::Literals;
namespace {
@@ -72,12 +71,25 @@ constexpr std::array R8G8B8_SSCALED{
VK_FORMAT_UNDEFINED,
};
+constexpr std::array VK_FORMAT_R32G32B32_SFLOAT{
+ VK_FORMAT_R32G32B32A32_SFLOAT,
+ VK_FORMAT_UNDEFINED,
+};
+
+constexpr std::array VK_FORMAT_A4B4G4R4_UNORM_PACK16{
+ VK_FORMAT_R4G4B4A4_UNORM_PACK16,
+ VK_FORMAT_UNDEFINED,
+};
+
} // namespace Alternatives
enum class NvidiaArchitecture {
- AmpereOrNewer,
+ KeplerOrOlder,
+ Maxwell,
+ Pascal,
+ Volta,
Turing,
- VoltaOrOlder,
+ AmpereOrNewer,
};
template <typename T>
@@ -104,6 +116,10 @@ constexpr const VkFormat* GetFormatAlternatives(VkFormat format) {
return Alternatives::R16G16B16_SSCALED.data();
case VK_FORMAT_R8G8B8_SSCALED:
return Alternatives::R8G8B8_SSCALED.data();
+ case VK_FORMAT_R32G32B32_SFLOAT:
+ return Alternatives::VK_FORMAT_R32G32B32_SFLOAT.data();
+ case VK_FORMAT_A4B4G4R4_UNORM_PACK16_EXT:
+ return Alternatives::VK_FORMAT_A4B4G4R4_UNORM_PACK16.data();
default:
return nullptr;
}
@@ -131,6 +147,7 @@ std::unordered_map<VkFormat, VkFormatProperties> GetFormatProperties(vk::Physica
VK_FORMAT_A2B10G10R10_UINT_PACK32,
VK_FORMAT_A2B10G10R10_UNORM_PACK32,
VK_FORMAT_A2B10G10R10_USCALED_PACK32,
+ VK_FORMAT_A2R10G10B10_UNORM_PACK32,
VK_FORMAT_A8B8G8R8_SINT_PACK32,
VK_FORMAT_A8B8G8R8_SNORM_PACK32,
VK_FORMAT_A8B8G8R8_SRGB_PACK32,
@@ -186,6 +203,7 @@ std::unordered_map<VkFormat, VkFormatProperties> GetFormatProperties(vk::Physica
VK_FORMAT_BC7_UNORM_BLOCK,
VK_FORMAT_D16_UNORM,
VK_FORMAT_D16_UNORM_S8_UINT,
+ VK_FORMAT_X8_D24_UNORM_PACK32,
VK_FORMAT_D24_UNORM_S8_UINT,
VK_FORMAT_D32_SFLOAT,
VK_FORMAT_D32_SFLOAT_S8_UINT,
@@ -231,6 +249,7 @@ std::unordered_map<VkFormat, VkFormatProperties> GetFormatProperties(vk::Physica
VK_FORMAT_R32_SINT,
VK_FORMAT_R32_UINT,
VK_FORMAT_R4G4B4A4_UNORM_PACK16,
+ VK_FORMAT_A4B4G4R4_UNORM_PACK16_EXT,
VK_FORMAT_R4G4_UNORM_PACK8,
VK_FORMAT_R5G5B5A1_UNORM_PACK16,
VK_FORMAT_R5G6B5_UNORM_PACK16,
@@ -306,13 +325,38 @@ NvidiaArchitecture GetNvidiaArchitecture(vk::PhysicalDevice physical,
physical.GetProperties2(physical_properties);
if (shading_rate_props.primitiveFragmentShadingRateWithMultipleViewports) {
// Only Ampere and newer support this feature
+ // TODO: Find a way to differentiate Ampere and Ada
return NvidiaArchitecture::AmpereOrNewer;
}
- }
- if (exts.contains(VK_NV_SHADING_RATE_IMAGE_EXTENSION_NAME)) {
return NvidiaArchitecture::Turing;
}
- return NvidiaArchitecture::VoltaOrOlder;
+
+ if (exts.contains(VK_EXT_BLEND_OPERATION_ADVANCED_EXTENSION_NAME)) {
+ VkPhysicalDeviceBlendOperationAdvancedPropertiesEXT advanced_blending_props{};
+ advanced_blending_props.sType =
+ VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_BLEND_OPERATION_ADVANCED_PROPERTIES_EXT;
+ VkPhysicalDeviceProperties2 physical_properties{};
+ physical_properties.sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROPERTIES_2;
+ physical_properties.pNext = &advanced_blending_props;
+ physical.GetProperties2(physical_properties);
+ if (advanced_blending_props.advancedBlendMaxColorAttachments == 1) {
+ return NvidiaArchitecture::Maxwell;
+ }
+
+ if (exts.contains(VK_EXT_CONSERVATIVE_RASTERIZATION_EXTENSION_NAME)) {
+ VkPhysicalDeviceConservativeRasterizationPropertiesEXT conservative_raster_props{};
+ conservative_raster_props.sType =
+ VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_CONSERVATIVE_RASTERIZATION_PROPERTIES_EXT;
+ physical_properties.pNext = &conservative_raster_props;
+ physical.GetProperties2(physical_properties);
+ if (conservative_raster_props.degenerateLinesRasterized) {
+ return NvidiaArchitecture::Volta;
+ }
+ return NvidiaArchitecture::Pascal;
+ }
+ }
+
+ return NvidiaArchitecture::KeplerOrOlder;
}
std::vector<const char*> ExtensionListForVulkan(
@@ -327,6 +371,43 @@ std::vector<const char*> ExtensionListForVulkan(
} // Anonymous namespace
+void Device::RemoveExtension(bool& extension, const std::string& extension_name) {
+ extension = false;
+ loaded_extensions.erase(extension_name);
+}
+
+void Device::RemoveExtensionIfUnsuitable(bool is_suitable, const std::string& extension_name) {
+ if (loaded_extensions.contains(extension_name) && !is_suitable) {
+ LOG_WARNING(Render_Vulkan, "Removing unsuitable extension {}", extension_name);
+ this->RemoveExtension(is_suitable, extension_name);
+ }
+}
+
+template <typename Feature>
+void Device::RemoveExtensionFeature(bool& extension, Feature& feature,
+ const std::string& extension_name) {
+ // Unload extension.
+ this->RemoveExtension(extension, extension_name);
+
+ // Save sType and pNext for chain.
+ VkStructureType sType = feature.sType;
+ void* pNext = feature.pNext;
+
+ // Clear feature struct and restore chain.
+ feature = {};
+ feature.sType = sType;
+ feature.pNext = pNext;
+}
+
+template <typename Feature>
+void Device::RemoveExtensionFeatureIfUnsuitable(bool is_suitable, Feature& feature,
+ const std::string& extension_name) {
+ if (loaded_extensions.contains(extension_name) && !is_suitable) {
+ LOG_WARNING(Render_Vulkan, "Removing features for unsuitable extension {}", extension_name);
+ this->RemoveExtensionFeature(is_suitable, feature, extension_name);
+ }
+}
+
Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR surface,
const vk::InstanceDispatch& dld_)
: instance{instance_}, dld{dld_}, physical{physical_},
@@ -376,7 +457,8 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
first_next = &diagnostics_nv;
}
- is_blit_depth_stencil_supported = TestDepthStencilBlits();
+ is_blit_depth24_stencil8_supported = TestDepthStencilBlits(VK_FORMAT_D24_UNORM_S8_UINT);
+ is_blit_depth32_stencil8_supported = TestDepthStencilBlits(VK_FORMAT_D32_SFLOAT_S8_UINT);
is_optimal_astc_supported = ComputeIsOptimalAstcSupported();
is_warp_potentially_bigger = !extensions.subgroup_size_control ||
properties.subgroup_size_control.maxSubgroupSize > GuestWarpSize;
@@ -398,21 +480,20 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
if (is_qualcomm || is_turnip) {
LOG_WARNING(Render_Vulkan,
"Qualcomm and Turnip drivers have broken VK_EXT_custom_border_color");
- extensions.custom_border_color = false;
- loaded_extensions.erase(VK_EXT_CUSTOM_BORDER_COLOR_EXTENSION_NAME);
+ RemoveExtensionFeature(extensions.custom_border_color, features.custom_border_color,
+ VK_EXT_CUSTOM_BORDER_COLOR_EXTENSION_NAME);
}
if (is_qualcomm) {
must_emulate_scaled_formats = true;
LOG_WARNING(Render_Vulkan, "Qualcomm drivers have broken VK_EXT_extended_dynamic_state");
- extensions.extended_dynamic_state = false;
- loaded_extensions.erase(VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME);
+ RemoveExtensionFeature(extensions.extended_dynamic_state, features.extended_dynamic_state,
+ VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME);
LOG_WARNING(Render_Vulkan,
"Qualcomm drivers have a slow VK_KHR_push_descriptor implementation");
- extensions.push_descriptor = false;
- loaded_extensions.erase(VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME);
+ RemoveExtension(extensions.push_descriptor, VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME);
#if defined(ANDROID) && defined(ARCHITECTURE_arm64)
// Patch the driver to enable BCn textures.
@@ -441,34 +522,25 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
must_emulate_scaled_formats = true;
LOG_WARNING(Render_Vulkan, "ARM drivers have broken VK_EXT_extended_dynamic_state");
- extensions.extended_dynamic_state = false;
- loaded_extensions.erase(VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME);
+ RemoveExtensionFeature(extensions.extended_dynamic_state, features.extended_dynamic_state,
+ VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME);
LOG_WARNING(Render_Vulkan, "ARM drivers have broken VK_EXT_extended_dynamic_state2");
- features.extended_dynamic_state2.extendedDynamicState2 = false;
- features.extended_dynamic_state2.extendedDynamicState2LogicOp = false;
- features.extended_dynamic_state2.extendedDynamicState2PatchControlPoints = false;
- extensions.extended_dynamic_state2 = false;
- loaded_extensions.erase(VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME);
+ RemoveExtensionFeature(extensions.extended_dynamic_state2, features.extended_dynamic_state2,
+ VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME);
}
if (is_nvidia) {
const u32 nv_major_version = (properties.properties.driverVersion >> 22) & 0x3ff;
const auto arch = GetNvidiaArchitecture(physical, supported_extensions);
- switch (arch) {
- case NvidiaArchitecture::AmpereOrNewer:
+ if (arch >= NvidiaArchitecture::AmpereOrNewer) {
LOG_WARNING(Render_Vulkan, "Ampere and newer have broken float16 math");
features.shader_float16_int8.shaderFloat16 = false;
- break;
- case NvidiaArchitecture::Turing:
- break;
- case NvidiaArchitecture::VoltaOrOlder:
+ } else if (arch <= NvidiaArchitecture::Volta) {
if (nv_major_version < 527) {
LOG_WARNING(Render_Vulkan, "Volta and older have broken VK_KHR_push_descriptor");
- extensions.push_descriptor = false;
- loaded_extensions.erase(VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME);
+ RemoveExtension(extensions.push_descriptor, VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME);
}
- break;
}
if (nv_major_version >= 510) {
LOG_WARNING(Render_Vulkan, "NVIDIA Drivers >= 510 do not support MSAA image blits");
@@ -481,8 +553,9 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
if (version < VK_MAKE_API_VERSION(0, 21, 2, 0)) {
LOG_WARNING(Render_Vulkan,
"RADV versions older than 21.2 have broken VK_EXT_extended_dynamic_state");
- extensions.extended_dynamic_state = false;
- loaded_extensions.erase(VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME);
+ RemoveExtensionFeature(extensions.extended_dynamic_state,
+ features.extended_dynamic_state,
+ VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME);
}
}
if (extensions.extended_dynamic_state2 && is_radv) {
@@ -491,11 +564,9 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
LOG_WARNING(
Render_Vulkan,
"RADV versions older than 22.3.1 have broken VK_EXT_extended_dynamic_state2");
- features.extended_dynamic_state2.extendedDynamicState2 = false;
- features.extended_dynamic_state2.extendedDynamicState2LogicOp = false;
- features.extended_dynamic_state2.extendedDynamicState2PatchControlPoints = false;
- extensions.extended_dynamic_state2 = false;
- loaded_extensions.erase(VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME);
+ RemoveExtensionFeature(extensions.extended_dynamic_state2,
+ features.extended_dynamic_state2,
+ VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME);
}
}
if (extensions.extended_dynamic_state2 && is_qualcomm) {
@@ -505,11 +576,9 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
// Qualcomm Adreno 7xx drivers do not properly support extended_dynamic_state2.
LOG_WARNING(Render_Vulkan,
"Qualcomm Adreno 7xx drivers have broken VK_EXT_extended_dynamic_state2");
- features.extended_dynamic_state2.extendedDynamicState2 = false;
- features.extended_dynamic_state2.extendedDynamicState2LogicOp = false;
- features.extended_dynamic_state2.extendedDynamicState2PatchControlPoints = false;
- extensions.extended_dynamic_state2 = false;
- loaded_extensions.erase(VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME);
+ RemoveExtensionFeature(extensions.extended_dynamic_state2,
+ features.extended_dynamic_state2,
+ VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME);
}
}
if (extensions.extended_dynamic_state3 && is_radv) {
@@ -526,6 +595,13 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
dynamic_state3_enables = false;
}
}
+ if (extensions.extended_dynamic_state3 && is_amd_driver) {
+ LOG_WARNING(Render_Vulkan,
+ "AMD drivers have broken extendedDynamicState3ColorBlendEquation");
+ features.extended_dynamic_state3.extendedDynamicState3ColorBlendEnable = false;
+ features.extended_dynamic_state3.extendedDynamicState3ColorBlendEquation = false;
+ dynamic_state3_blending = false;
+ }
if (extensions.vertex_input_dynamic_state && is_radv) {
// TODO(ameerj): Blacklist only offending driver versions
// TODO(ameerj): Confirm if RDNA1 is affected
@@ -534,9 +610,9 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
if (is_rdna2) {
LOG_WARNING(Render_Vulkan,
"RADV has broken VK_EXT_vertex_input_dynamic_state on RDNA2 hardware");
- features.vertex_input_dynamic_state.vertexInputDynamicState = false;
- extensions.vertex_input_dynamic_state = false;
- loaded_extensions.erase(VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME);
+ RemoveExtensionFeature(extensions.vertex_input_dynamic_state,
+ features.vertex_input_dynamic_state,
+ VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME);
}
}
if (extensions.vertex_input_dynamic_state && is_qualcomm) {
@@ -547,21 +623,13 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
LOG_WARNING(
Render_Vulkan,
"Qualcomm Adreno 7xx drivers have broken VK_EXT_vertex_input_dynamic_state");
- features.vertex_input_dynamic_state.vertexInputDynamicState = false;
- extensions.vertex_input_dynamic_state = false;
- loaded_extensions.erase(VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME);
+ RemoveExtensionFeature(extensions.vertex_input_dynamic_state,
+ features.vertex_input_dynamic_state,
+ VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME);
}
}
sets_per_pool = 64;
- if (extensions.extended_dynamic_state3 && is_amd_driver &&
- properties.properties.driverVersion >= VK_MAKE_API_VERSION(0, 2, 0, 270)) {
- LOG_WARNING(Render_Vulkan,
- "AMD drivers after 23.5.2 have broken extendedDynamicState3ColorBlendEquation");
- features.extended_dynamic_state3.extendedDynamicState3ColorBlendEnable = false;
- features.extended_dynamic_state3.extendedDynamicState3ColorBlendEquation = false;
- dynamic_state3_blending = false;
- }
if (is_amd_driver) {
// AMD drivers need a higher amount of Sets per Pool in certain circumstances like in XC2.
sets_per_pool = 96;
@@ -577,8 +645,8 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
if (!features.shader_float16_int8.shaderFloat16) {
LOG_WARNING(Render_Vulkan,
"AMD GCN4 and earlier have broken VK_EXT_sampler_filter_minmax");
- extensions.sampler_filter_minmax = false;
- loaded_extensions.erase(VK_EXT_SAMPLER_FILTER_MINMAX_EXTENSION_NAME);
+ RemoveExtension(extensions.sampler_filter_minmax,
+ VK_EXT_SAMPLER_FILTER_MINMAX_EXTENSION_NAME);
}
}
@@ -586,8 +654,9 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
const u32 version = (properties.properties.driverVersion << 3) >> 3;
if (version < VK_MAKE_API_VERSION(27, 20, 100, 0)) {
LOG_WARNING(Render_Vulkan, "Intel has broken VK_EXT_vertex_input_dynamic_state");
- extensions.vertex_input_dynamic_state = false;
- loaded_extensions.erase(VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME);
+ RemoveExtensionFeature(extensions.vertex_input_dynamic_state,
+ features.vertex_input_dynamic_state,
+ VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME);
}
}
if (features.shader_float16_int8.shaderFloat16 && is_intel_windows) {
@@ -614,10 +683,17 @@ Device::Device(VkInstance instance_, vk::PhysicalDevice physical_, VkSurfaceKHR
// mesa/mesa/-/commit/ff91c5ca42bc80aa411cb3fd8f550aa6fdd16bdc
LOG_WARNING(Render_Vulkan,
"ANV drivers 22.3.0 to 23.1.0 have broken VK_KHR_push_descriptor");
- extensions.push_descriptor = false;
- loaded_extensions.erase(VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME);
+ RemoveExtension(extensions.push_descriptor, VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME);
+ }
+ } else if (extensions.push_descriptor && is_nvidia) {
+ const auto arch = GetNvidiaArchitecture(physical, supported_extensions);
+ if (arch <= NvidiaArchitecture::Pascal) {
+ LOG_WARNING(Render_Vulkan,
+ "Pascal and older architectures have broken VK_KHR_push_descriptor");
+ RemoveExtension(extensions.push_descriptor, VK_KHR_PUSH_DESCRIPTOR_EXTENSION_NAME);
}
}
+
if (is_mvk) {
LOG_WARNING(Render_Vulkan,
"MVK driver breaks when using more than 16 vertex attributes/bindings");
@@ -739,14 +815,13 @@ bool Device::ComputeIsOptimalAstcSupported() const {
return true;
}
-bool Device::TestDepthStencilBlits() const {
+bool Device::TestDepthStencilBlits(VkFormat format) const {
static constexpr VkFormatFeatureFlags required_features =
VK_FORMAT_FEATURE_BLIT_SRC_BIT | VK_FORMAT_FEATURE_BLIT_DST_BIT;
const auto test_features = [](VkFormatProperties props) {
return (props.optimalTilingFeatures & required_features) == required_features;
};
- return test_features(format_properties.at(VK_FORMAT_D32_SFLOAT_S8_UINT)) &&
- test_features(format_properties.at(VK_FORMAT_D24_UNORM_S8_UINT));
+ return test_features(format_properties.at(format));
}
bool Device::IsFormatSupported(VkFormat wanted_format, VkFormatFeatureFlags wanted_usage,
@@ -965,7 +1040,7 @@ bool Device::GetSuitability(bool requires_swapchain) {
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PUSH_DESCRIPTOR_PROPERTIES_KHR;
SetNext(next, properties.push_descriptor);
}
- if (extensions.subgroup_size_control) {
+ if (extensions.subgroup_size_control || features.subgroup_size_control.subgroupSizeControl) {
properties.subgroup_size_control.sType =
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES;
SetNext(next, properties.subgroup_size_control);
@@ -1009,34 +1084,36 @@ bool Device::GetSuitability(bool requires_swapchain) {
return suitable;
}
-void Device::RemoveExtensionIfUnsuitable(bool is_suitable, const std::string& extension_name) {
- if (loaded_extensions.contains(extension_name) && !is_suitable) {
- LOG_WARNING(Render_Vulkan, "Removing unsuitable extension {}", extension_name);
- loaded_extensions.erase(extension_name);
- }
-}
-
void Device::RemoveUnsuitableExtensions() {
// VK_EXT_custom_border_color
extensions.custom_border_color = features.custom_border_color.customBorderColors &&
features.custom_border_color.customBorderColorWithoutFormat;
- RemoveExtensionIfUnsuitable(extensions.custom_border_color,
- VK_EXT_CUSTOM_BORDER_COLOR_EXTENSION_NAME);
+ RemoveExtensionFeatureIfUnsuitable(extensions.custom_border_color, features.custom_border_color,
+ VK_EXT_CUSTOM_BORDER_COLOR_EXTENSION_NAME);
+
+ // VK_EXT_depth_bias_control
+ extensions.depth_bias_control =
+ features.depth_bias_control.depthBiasControl &&
+ features.depth_bias_control.leastRepresentableValueForceUnormRepresentation;
+ RemoveExtensionFeatureIfUnsuitable(extensions.depth_bias_control, features.depth_bias_control,
+ VK_EXT_DEPTH_BIAS_CONTROL_EXTENSION_NAME);
// VK_EXT_depth_clip_control
extensions.depth_clip_control = features.depth_clip_control.depthClipControl;
- RemoveExtensionIfUnsuitable(extensions.depth_clip_control,
- VK_EXT_DEPTH_CLIP_CONTROL_EXTENSION_NAME);
+ RemoveExtensionFeatureIfUnsuitable(extensions.depth_clip_control, features.depth_clip_control,
+ VK_EXT_DEPTH_CLIP_CONTROL_EXTENSION_NAME);
// VK_EXT_extended_dynamic_state
extensions.extended_dynamic_state = features.extended_dynamic_state.extendedDynamicState;
- RemoveExtensionIfUnsuitable(extensions.extended_dynamic_state,
- VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME);
+ RemoveExtensionFeatureIfUnsuitable(extensions.extended_dynamic_state,
+ features.extended_dynamic_state,
+ VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME);
// VK_EXT_extended_dynamic_state2
extensions.extended_dynamic_state2 = features.extended_dynamic_state2.extendedDynamicState2;
- RemoveExtensionIfUnsuitable(extensions.extended_dynamic_state2,
- VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME);
+ RemoveExtensionFeatureIfUnsuitable(extensions.extended_dynamic_state2,
+ features.extended_dynamic_state2,
+ VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME);
// VK_EXT_extended_dynamic_state3
dynamic_state3_blending =
@@ -1050,35 +1127,38 @@ void Device::RemoveUnsuitableExtensions() {
extensions.extended_dynamic_state3 = dynamic_state3_blending || dynamic_state3_enables;
dynamic_state3_blending = dynamic_state3_blending && extensions.extended_dynamic_state3;
dynamic_state3_enables = dynamic_state3_enables && extensions.extended_dynamic_state3;
- RemoveExtensionIfUnsuitable(extensions.extended_dynamic_state3,
- VK_EXT_EXTENDED_DYNAMIC_STATE_3_EXTENSION_NAME);
+ RemoveExtensionFeatureIfUnsuitable(extensions.extended_dynamic_state3,
+ features.extended_dynamic_state3,
+ VK_EXT_EXTENDED_DYNAMIC_STATE_3_EXTENSION_NAME);
// VK_EXT_provoking_vertex
extensions.provoking_vertex =
features.provoking_vertex.provokingVertexLast &&
features.provoking_vertex.transformFeedbackPreservesProvokingVertex;
- RemoveExtensionIfUnsuitable(extensions.provoking_vertex,
- VK_EXT_PROVOKING_VERTEX_EXTENSION_NAME);
+ RemoveExtensionFeatureIfUnsuitable(extensions.provoking_vertex, features.provoking_vertex,
+ VK_EXT_PROVOKING_VERTEX_EXTENSION_NAME);
// VK_KHR_shader_atomic_int64
extensions.shader_atomic_int64 = features.shader_atomic_int64.shaderBufferInt64Atomics &&
features.shader_atomic_int64.shaderSharedInt64Atomics;
- RemoveExtensionIfUnsuitable(extensions.shader_atomic_int64,
- VK_KHR_SHADER_ATOMIC_INT64_EXTENSION_NAME);
+ RemoveExtensionFeatureIfUnsuitable(extensions.shader_atomic_int64, features.shader_atomic_int64,
+ VK_KHR_SHADER_ATOMIC_INT64_EXTENSION_NAME);
// VK_EXT_shader_demote_to_helper_invocation
extensions.shader_demote_to_helper_invocation =
features.shader_demote_to_helper_invocation.shaderDemoteToHelperInvocation;
- RemoveExtensionIfUnsuitable(extensions.shader_demote_to_helper_invocation,
- VK_EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_EXTENSION_NAME);
+ RemoveExtensionFeatureIfUnsuitable(extensions.shader_demote_to_helper_invocation,
+ features.shader_demote_to_helper_invocation,
+ VK_EXT_SHADER_DEMOTE_TO_HELPER_INVOCATION_EXTENSION_NAME);
// VK_EXT_subgroup_size_control
extensions.subgroup_size_control =
features.subgroup_size_control.subgroupSizeControl &&
properties.subgroup_size_control.minSubgroupSize <= GuestWarpSize &&
properties.subgroup_size_control.maxSubgroupSize >= GuestWarpSize;
- RemoveExtensionIfUnsuitable(extensions.subgroup_size_control,
- VK_EXT_SUBGROUP_SIZE_CONTROL_EXTENSION_NAME);
+ RemoveExtensionFeatureIfUnsuitable(extensions.subgroup_size_control,
+ features.subgroup_size_control,
+ VK_EXT_SUBGROUP_SIZE_CONTROL_EXTENSION_NAME);
// VK_EXT_transform_feedback
extensions.transform_feedback =
@@ -1088,24 +1168,27 @@ void Device::RemoveUnsuitableExtensions() {
properties.transform_feedback.maxTransformFeedbackBuffers > 0 &&
properties.transform_feedback.transformFeedbackQueries &&
properties.transform_feedback.transformFeedbackDraw;
- RemoveExtensionIfUnsuitable(extensions.transform_feedback,
- VK_EXT_TRANSFORM_FEEDBACK_EXTENSION_NAME);
+ RemoveExtensionFeatureIfUnsuitable(extensions.transform_feedback, features.transform_feedback,
+ VK_EXT_TRANSFORM_FEEDBACK_EXTENSION_NAME);
// VK_EXT_vertex_input_dynamic_state
extensions.vertex_input_dynamic_state =
features.vertex_input_dynamic_state.vertexInputDynamicState;
- RemoveExtensionIfUnsuitable(extensions.vertex_input_dynamic_state,
- VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME);
+ RemoveExtensionFeatureIfUnsuitable(extensions.vertex_input_dynamic_state,
+ features.vertex_input_dynamic_state,
+ VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME);
// VK_KHR_pipeline_executable_properties
if (Settings::values.renderer_shader_feedback.GetValue()) {
extensions.pipeline_executable_properties =
features.pipeline_executable_properties.pipelineExecutableInfo;
- RemoveExtensionIfUnsuitable(extensions.pipeline_executable_properties,
- VK_KHR_PIPELINE_EXECUTABLE_PROPERTIES_EXTENSION_NAME);
+ RemoveExtensionFeatureIfUnsuitable(extensions.pipeline_executable_properties,
+ features.pipeline_executable_properties,
+ VK_KHR_PIPELINE_EXECUTABLE_PROPERTIES_EXTENSION_NAME);
} else {
- extensions.pipeline_executable_properties = false;
- loaded_extensions.erase(VK_KHR_PIPELINE_EXECUTABLE_PROPERTIES_EXTENSION_NAME);
+ RemoveExtensionFeature(extensions.pipeline_executable_properties,
+ features.pipeline_executable_properties,
+ VK_KHR_PIPELINE_EXECUTABLE_PROPERTIES_EXTENSION_NAME);
}
// VK_KHR_workgroup_memory_explicit_layout
@@ -1115,8 +1198,9 @@ void Device::RemoveUnsuitableExtensions() {
features.workgroup_memory_explicit_layout.workgroupMemoryExplicitLayout8BitAccess &&
features.workgroup_memory_explicit_layout.workgroupMemoryExplicitLayout16BitAccess &&
features.workgroup_memory_explicit_layout.workgroupMemoryExplicitLayoutScalarBlockLayout;
- RemoveExtensionIfUnsuitable(extensions.workgroup_memory_explicit_layout,
- VK_KHR_WORKGROUP_MEMORY_EXPLICIT_LAYOUT_EXTENSION_NAME);
+ RemoveExtensionFeatureIfUnsuitable(extensions.workgroup_memory_explicit_layout,
+ features.workgroup_memory_explicit_layout,
+ VK_KHR_WORKGROUP_MEMORY_EXPLICIT_LAYOUT_EXTENSION_NAME);
}
void Device::SetupFamilies(VkSurfaceKHR surface) {
diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.h
index be3ed45ff..282a2925d 100644
--- a/src/video_core/vulkan_common/vulkan_device.h
+++ b/src/video_core/vulkan_common/vulkan_device.h
@@ -20,7 +20,6 @@ VK_DEFINE_HANDLE(VmaAllocator)
// Vulkan version in the macro describes the minimum version required for feature availability.
// If the Vulkan version is lower than the required version, the named extension is required.
#define FOR_EACH_VK_FEATURE_1_1(FEATURE) \
- FEATURE(EXT, SubgroupSizeControl, SUBGROUP_SIZE_CONTROL, subgroup_size_control) \
FEATURE(KHR, 16BitStorage, 16BIT_STORAGE, bit16_storage) \
FEATURE(KHR, ShaderAtomicInt64, SHADER_ATOMIC_INT64, shader_atomic_int64) \
FEATURE(KHR, ShaderDrawParameters, SHADER_DRAW_PARAMETERS, shader_draw_parameters) \
@@ -36,15 +35,18 @@ VK_DEFINE_HANDLE(VmaAllocator)
#define FOR_EACH_VK_FEATURE_1_3(FEATURE) \
FEATURE(EXT, ShaderDemoteToHelperInvocation, SHADER_DEMOTE_TO_HELPER_INVOCATION, \
- shader_demote_to_helper_invocation)
+ shader_demote_to_helper_invocation) \
+ FEATURE(EXT, SubgroupSizeControl, SUBGROUP_SIZE_CONTROL, subgroup_size_control)
// Define all features which may be used by the implementation and require an extension here.
#define FOR_EACH_VK_FEATURE_EXT(FEATURE) \
FEATURE(EXT, CustomBorderColor, CUSTOM_BORDER_COLOR, custom_border_color) \
+ FEATURE(EXT, DepthBiasControl, DEPTH_BIAS_CONTROL, depth_bias_control) \
FEATURE(EXT, DepthClipControl, DEPTH_CLIP_CONTROL, depth_clip_control) \
FEATURE(EXT, ExtendedDynamicState, EXTENDED_DYNAMIC_STATE, extended_dynamic_state) \
FEATURE(EXT, ExtendedDynamicState2, EXTENDED_DYNAMIC_STATE_2, extended_dynamic_state2) \
FEATURE(EXT, ExtendedDynamicState3, EXTENDED_DYNAMIC_STATE_3, extended_dynamic_state3) \
+ FEATURE(EXT, 4444Formats, 4444_FORMATS, format_a4b4g4r4) \
FEATURE(EXT, IndexTypeUint8, INDEX_TYPE_UINT8, index_type_uint8) \
FEATURE(EXT, LineRasterization, LINE_RASTERIZATION, line_rasterization) \
FEATURE(EXT, PrimitiveTopologyListRestart, PRIMITIVE_TOPOLOGY_LIST_RESTART, \
@@ -60,6 +62,7 @@ VK_DEFINE_HANDLE(VmaAllocator)
// Define miscellaneous extensions which may be used by the implementation here.
#define FOR_EACH_VK_EXTENSION(EXTENSION) \
+ EXTENSION(EXT, CONDITIONAL_RENDERING, conditional_rendering) \
EXTENSION(EXT, CONSERVATIVE_RASTERIZATION, conservative_rasterization) \
EXTENSION(EXT, DEPTH_RANGE_UNRESTRICTED, depth_range_unrestricted) \
EXTENSION(EXT, MEMORY_BUDGET, memory_budget) \
@@ -92,11 +95,14 @@ VK_DEFINE_HANDLE(VmaAllocator)
// Define extensions where the absence of the extension may result in a degraded experience.
#define FOR_EACH_VK_RECOMMENDED_EXTENSION(EXTENSION_NAME) \
+ EXTENSION_NAME(VK_EXT_CONDITIONAL_RENDERING_EXTENSION_NAME) \
EXTENSION_NAME(VK_EXT_CONSERVATIVE_RASTERIZATION_EXTENSION_NAME) \
+ EXTENSION_NAME(VK_EXT_DEPTH_BIAS_CONTROL_EXTENSION_NAME) \
EXTENSION_NAME(VK_EXT_DEPTH_RANGE_UNRESTRICTED_EXTENSION_NAME) \
EXTENSION_NAME(VK_EXT_EXTENDED_DYNAMIC_STATE_EXTENSION_NAME) \
EXTENSION_NAME(VK_EXT_EXTENDED_DYNAMIC_STATE_2_EXTENSION_NAME) \
EXTENSION_NAME(VK_EXT_EXTENDED_DYNAMIC_STATE_3_EXTENSION_NAME) \
+ EXTENSION_NAME(VK_EXT_4444_FORMATS_EXTENSION_NAME) \
EXTENSION_NAME(VK_EXT_LINE_RASTERIZATION_EXTENSION_NAME) \
EXTENSION_NAME(VK_EXT_ROBUSTNESS_2_EXTENSION_NAME) \
EXTENSION_NAME(VK_EXT_VERTEX_INPUT_DYNAMIC_STATE_EXTENSION_NAME) \
@@ -143,7 +149,11 @@ VK_DEFINE_HANDLE(VmaAllocator)
// Define features where the absence of the feature may result in a degraded experience.
#define FOR_EACH_VK_RECOMMENDED_FEATURE(FEATURE_NAME) \
FEATURE_NAME(custom_border_color, customBorderColors) \
+ FEATURE_NAME(depth_bias_control, depthBiasControl) \
+ FEATURE_NAME(depth_bias_control, leastRepresentableValueForceUnormRepresentation) \
+ FEATURE_NAME(depth_bias_control, depthBiasExact) \
FEATURE_NAME(extended_dynamic_state, extendedDynamicState) \
+ FEATURE_NAME(format_a4b4g4r4, formatA4B4G4R4) \
FEATURE_NAME(index_type_uint8, indexTypeUint8) \
FEATURE_NAME(primitive_topology_list_restart, primitiveTopologyListRestart) \
FEATURE_NAME(provoking_vertex, provokingVertexLast) \
@@ -304,7 +314,7 @@ public:
return GetDriverID() != VK_DRIVER_ID_QUALCOMM_PROPRIETARY;
}
- /// Returns true if the device suppors float64 natively.
+ /// Returns true if the device supports float64 natively.
bool IsFloat64Supported() const {
return features.features.shaderFloat64;
}
@@ -319,6 +329,11 @@ public:
return features.shader_float16_int8.shaderInt8;
}
+ /// Returns true if the device supports binding multisample images as storage images.
+ bool IsStorageImageMultisampleSupported() const {
+ return features.features.shaderStorageImageMultisample;
+ }
+
/// Returns true if the device warp size can potentially be bigger than guest's warp size.
bool IsWarpSizePotentiallyBiggerThanGuest() const {
return is_warp_potentially_bigger;
@@ -359,9 +374,14 @@ public:
return features.features.depthBounds;
}
- /// Returns true when blitting from and to depth stencil images is supported.
- bool IsBlitDepthStencilSupported() const {
- return is_blit_depth_stencil_supported;
+ /// Returns true when blitting from and to D24S8 images is supported.
+ bool IsBlitDepth24Stencil8Supported() const {
+ return is_blit_depth24_stencil8_supported;
+ }
+
+ /// Returns true when blitting from and to D32S8 images is supported.
+ bool IsBlitDepth32Stencil8Supported() const {
+ return is_blit_depth32_stencil8_supported;
}
/// Returns true if the device supports VK_NV_viewport_swizzle.
@@ -449,6 +469,11 @@ public:
return extensions.depth_clip_control;
}
+ /// Returns true if the device supports VK_EXT_depth_bias_control.
+ bool IsExtDepthBiasControlSupported() const {
+ return extensions.depth_bias_control;
+ }
+
/// Returns true if the device supports VK_EXT_shader_viewport_index_layer.
bool IsExtShaderViewportIndexLayerSupported() const {
return extensions.shader_viewport_index_layer;
@@ -488,6 +513,11 @@ public:
return extensions.extended_dynamic_state3;
}
+ /// Returns true if the device supports VK_EXT_4444_formats.
+ bool IsExt4444FormatsSupported() const {
+ return features.format_a4b4g4r4.formatA4B4G4R4;
+ }
+
/// Returns true if the device supports VK_EXT_extended_dynamic_state3.
bool IsExtExtendedDynamicState3BlendingSupported() const {
return dynamic_state3_blending;
@@ -528,6 +558,10 @@ public:
return extensions.shader_atomic_int64;
}
+ bool IsExtConditionalRendering() const {
+ return extensions.conditional_rendering;
+ }
+
bool HasTimelineSemaphore() const;
/// Returns the minimum supported version of SPIR-V.
@@ -600,6 +634,10 @@ public:
return features.robustness2.nullDescriptor;
}
+ bool HasExactDepthBiasControl() const {
+ return features.depth_bias_control.depthBiasExact;
+ }
+
u32 GetMaxVertexInputAttributes() const {
return properties.properties.limits.maxVertexInputAttributes;
}
@@ -639,8 +677,17 @@ private:
// Remove extensions which have incomplete feature support.
void RemoveUnsuitableExtensions();
+
+ void RemoveExtension(bool& extension, const std::string& extension_name);
void RemoveExtensionIfUnsuitable(bool is_suitable, const std::string& extension_name);
+ template <typename Feature>
+ void RemoveExtensionFeature(bool& extension, Feature& feature,
+ const std::string& extension_name);
+ template <typename Feature>
+ void RemoveExtensionFeatureIfUnsuitable(bool is_suitable, Feature& feature,
+ const std::string& extension_name);
+
/// Sets up queue families.
void SetupFamilies(VkSurfaceKHR surface);
@@ -657,7 +704,7 @@ private:
bool ComputeIsOptimalAstcSupported() const;
/// Returns true if the device natively supports blitting depth stencil images.
- bool TestDepthStencilBlits() const;
+ bool TestDepthStencilBlits(VkFormat format) const;
private:
VkInstance instance; ///< Vulkan instance.
@@ -721,25 +768,26 @@ private:
VkPhysicalDeviceProperties2 properties2{};
// Misc features
- bool is_optimal_astc_supported{}; ///< Support for all guest ASTC formats.
- bool is_blit_depth_stencil_supported{}; ///< Support for blitting from and to depth stencil.
- bool is_warp_potentially_bigger{}; ///< Host warp size can be bigger than guest.
- bool is_integrated{}; ///< Is GPU an iGPU.
- bool is_virtual{}; ///< Is GPU a virtual GPU.
- bool is_non_gpu{}; ///< Is SoftwareRasterizer, FPGA, non-GPU device.
- bool has_broken_compute{}; ///< Compute shaders can cause crashes
- bool has_broken_cube_compatibility{}; ///< Has broken cube compatibility bit
- bool has_renderdoc{}; ///< Has RenderDoc attached
- bool has_nsight_graphics{}; ///< Has Nsight Graphics attached
- bool supports_d24_depth{}; ///< Supports D24 depth buffers.
- bool cant_blit_msaa{}; ///< Does not support MSAA<->MSAA blitting.
- bool must_emulate_scaled_formats{}; ///< Requires scaled vertex format emulation
- bool must_emulate_bgr565{}; ///< Emulates BGR565 by swizzling RGB565 format.
- bool dynamic_state3_blending{}; ///< Has all blending features of dynamic_state3.
- bool dynamic_state3_enables{}; ///< Has all enables features of dynamic_state3.
- bool supports_conditional_barriers{}; ///< Allows barriers in conditional control flow.
- u64 device_access_memory{}; ///< Total size of device local memory in bytes.
- u32 sets_per_pool{}; ///< Sets per Description Pool
+ bool is_optimal_astc_supported{}; ///< Support for all guest ASTC formats.
+ bool is_blit_depth24_stencil8_supported{}; ///< Support for blitting from and to D24S8.
+ bool is_blit_depth32_stencil8_supported{}; ///< Support for blitting from and to D32S8.
+ bool is_warp_potentially_bigger{}; ///< Host warp size can be bigger than guest.
+ bool is_integrated{}; ///< Is GPU an iGPU.
+ bool is_virtual{}; ///< Is GPU a virtual GPU.
+ bool is_non_gpu{}; ///< Is SoftwareRasterizer, FPGA, non-GPU device.
+ bool has_broken_compute{}; ///< Compute shaders can cause crashes
+ bool has_broken_cube_compatibility{}; ///< Has broken cube compatibility bit
+ bool has_renderdoc{}; ///< Has RenderDoc attached
+ bool has_nsight_graphics{}; ///< Has Nsight Graphics attached
+ bool supports_d24_depth{}; ///< Supports D24 depth buffers.
+ bool cant_blit_msaa{}; ///< Does not support MSAA<->MSAA blitting.
+ bool must_emulate_scaled_formats{}; ///< Requires scaled vertex format emulation
+ bool must_emulate_bgr565{}; ///< Emulates BGR565 by swizzling RGB565 format.
+ bool dynamic_state3_blending{}; ///< Has all blending features of dynamic_state3.
+ bool dynamic_state3_enables{}; ///< Has all enables features of dynamic_state3.
+ bool supports_conditional_barriers{}; ///< Allows barriers in conditional control flow.
+ u64 device_access_memory{}; ///< Total size of device local memory in bytes.
+ u32 sets_per_pool{}; ///< Sets per Description Pool
// Telemetry parameters
std::set<std::string, std::less<>> supported_extensions; ///< Reported Vulkan extensions.
diff --git a/src/video_core/vulkan_common/vulkan_instance.cpp b/src/video_core/vulkan_common/vulkan_instance.cpp
index 6a294c1da..180657a75 100644
--- a/src/video_core/vulkan_common/vulkan_instance.cpp
+++ b/src/video_core/vulkan_common/vulkan_instance.cpp
@@ -14,19 +14,6 @@
#include "video_core/vulkan_common/vulkan_instance.h"
#include "video_core/vulkan_common/vulkan_wrapper.h"
-// Include these late to avoid polluting previous headers
-#if defined(_WIN32)
-#include <windows.h>
-// ensure include order
-#include <vulkan/vulkan_win32.h>
-#elif defined(__ANDROID__)
-#include <vulkan/vulkan_android.h>
-#elif !defined(__APPLE__)
-#include <X11/Xlib.h>
-#include <vulkan/vulkan_wayland.h>
-#include <vulkan/vulkan_xlib.h>
-#endif
-
namespace Vulkan {
namespace {
@@ -54,9 +41,6 @@ namespace {
bool enable_validation) {
std::vector<const char*> extensions;
extensions.reserve(6);
-#ifdef __APPLE__
- extensions.push_back(VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME);
-#endif
switch (window_type) {
case Core::Frontend::WindowSystemType::Headless:
break;
@@ -87,11 +71,14 @@ namespace {
if (window_type != Core::Frontend::WindowSystemType::Headless) {
extensions.push_back(VK_KHR_SURFACE_EXTENSION_NAME);
}
- if (enable_validation) {
- const bool debug_utils =
- AreExtensionsSupported(dld, std::array{VK_EXT_DEBUG_UTILS_EXTENSION_NAME});
- extensions.push_back(debug_utils ? VK_EXT_DEBUG_UTILS_EXTENSION_NAME
- : VK_EXT_DEBUG_REPORT_EXTENSION_NAME);
+#ifdef __APPLE__
+ if (AreExtensionsSupported(dld, std::array{VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME})) {
+ extensions.push_back(VK_KHR_PORTABILITY_ENUMERATION_EXTENSION_NAME);
+ }
+#endif
+ if (enable_validation &&
+ AreExtensionsSupported(dld, std::array{VK_EXT_DEBUG_UTILS_EXTENSION_NAME})) {
+ extensions.push_back(VK_EXT_DEBUG_UTILS_EXTENSION_NAME);
}
return extensions;
}
diff --git a/src/video_core/vulkan_common/vulkan_library.cpp b/src/video_core/vulkan_common/vulkan_library.cpp
index 47f6f2a03..0130f6a0d 100644
--- a/src/video_core/vulkan_common/vulkan_library.cpp
+++ b/src/video_core/vulkan_common/vulkan_library.cpp
@@ -19,13 +19,17 @@ std::shared_ptr<Common::DynamicLibrary> OpenLibrary(
#else
auto library = std::make_shared<Common::DynamicLibrary>();
#ifdef __APPLE__
+ const auto libvulkan_filename =
+ Common::FS::GetBundleDirectory() / "Contents/Frameworks/libvulkan.1.dylib";
+ const auto libmoltenvk_filename =
+ Common::FS::GetBundleDirectory() / "Contents/Frameworks/libMoltenVK.dylib";
+ const char* library_paths[] = {std::getenv("LIBVULKAN_PATH"), libvulkan_filename.c_str(),
+ libmoltenvk_filename.c_str()};
// Check if a path to a specific Vulkan library has been specified.
- char* const libvulkan_env = std::getenv("LIBVULKAN_PATH");
- if (!libvulkan_env || !library->Open(libvulkan_env)) {
- // Use the libvulkan.dylib from the application bundle.
- const auto filename =
- Common::FS::GetBundleDirectory() / "Contents/Frameworks/libvulkan.dylib";
- void(library->Open(Common::FS::PathToUTF8String(filename).c_str()));
+ for (const auto& library_path : library_paths) {
+ if (library_path && library->Open(library_path)) {
+ break;
+ }
}
#else
std::string filename = Common::DynamicLibrary::GetVersionedFilename("vulkan", 1);
diff --git a/src/video_core/vulkan_common/vulkan_memory_allocator.cpp b/src/video_core/vulkan_common/vulkan_memory_allocator.cpp
index 42f3ee0b4..82767fdf0 100644
--- a/src/video_core/vulkan_common/vulkan_memory_allocator.cpp
+++ b/src/video_core/vulkan_common/vulkan_memory_allocator.cpp
@@ -9,14 +9,14 @@
#include "common/alignment.h"
#include "common/assert.h"
#include "common/common_types.h"
+#include "common/literals.h"
#include "common/logging/log.h"
#include "common/polyfill_ranges.h"
+#include "video_core/vulkan_common/vma.h"
#include "video_core/vulkan_common/vulkan_device.h"
#include "video_core/vulkan_common/vulkan_memory_allocator.h"
#include "video_core/vulkan_common/vulkan_wrapper.h"
-#include <vk_mem_alloc.h>
-
namespace Vulkan {
namespace {
struct Range {
@@ -70,8 +70,7 @@ struct Range {
case MemoryUsage::Download:
return VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT;
case MemoryUsage::DeviceLocal:
- return VMA_ALLOCATION_CREATE_HOST_ACCESS_SEQUENTIAL_WRITE_BIT |
- VMA_ALLOCATION_CREATE_HOST_ACCESS_ALLOW_TRANSFER_INSTEAD_BIT;
+ return {};
}
return {};
}
@@ -213,7 +212,20 @@ MemoryAllocator::MemoryAllocator(const Device& device_)
: device{device_}, allocator{device.GetAllocator()},
properties{device_.GetPhysical().GetMemoryProperties().memoryProperties},
buffer_image_granularity{
- device_.GetPhysical().GetProperties().limits.bufferImageGranularity} {}
+ device_.GetPhysical().GetProperties().limits.bufferImageGranularity} {
+ // GPUs not supporting rebar may only have a region with less than 256MB host visible/device
+ // local memory. In that case, opening 2 RenderDoc captures side-by-side is not possible due to
+ // the heap running out of memory. With RenderDoc attached and only a small host/device region,
+ // only allow the stream buffer in this memory heap.
+ if (device.HasDebuggingToolAttached()) {
+ using namespace Common::Literals;
+ ForEachDeviceLocalHostVisibleHeap(device, [this](size_t index, VkMemoryHeap& heap) {
+ if (heap.size <= 256_MiB) {
+ valid_memory_types &= ~(1u << index);
+ }
+ });
+ }
+}
MemoryAllocator::~MemoryAllocator() = default;
@@ -245,7 +257,7 @@ vk::Buffer MemoryAllocator::CreateBuffer(const VkBufferCreateInfo& ci, MemoryUsa
.usage = MemoryUsageVma(usage),
.requiredFlags = 0,
.preferredFlags = MemoryUsagePreferedVmaFlags(usage),
- .memoryTypeBits = 0,
+ .memoryTypeBits = usage == MemoryUsage::Stream ? 0u : valid_memory_types,
.pool = VK_NULL_HANDLE,
.pUserData = nullptr,
.priority = 0.f,
diff --git a/src/video_core/vulkan_common/vulkan_memory_allocator.h b/src/video_core/vulkan_common/vulkan_memory_allocator.h
index f449bc8d0..38a182bcb 100644
--- a/src/video_core/vulkan_common/vulkan_memory_allocator.h
+++ b/src/video_core/vulkan_common/vulkan_memory_allocator.h
@@ -7,6 +7,7 @@
#include <span>
#include <vector>
#include "common/common_types.h"
+#include "video_core/vulkan_common/vulkan_device.h"
#include "video_core/vulkan_common/vulkan_wrapper.h"
VK_DEFINE_HANDLE(VmaAllocator)
@@ -26,6 +27,18 @@ enum class MemoryUsage {
Stream, ///< Requests device local host visible buffer, falling back host memory.
};
+template <typename F>
+void ForEachDeviceLocalHostVisibleHeap(const Device& device, F&& f) {
+ auto memory_props = device.GetPhysical().GetMemoryProperties().memoryProperties;
+ for (size_t i = 0; i < memory_props.memoryTypeCount; i++) {
+ auto& memory_type = memory_props.memoryTypes[i];
+ if ((memory_type.propertyFlags & VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT) &&
+ (memory_type.propertyFlags & VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT)) {
+ f(memory_type.heapIndex, memory_props.memoryHeaps[memory_type.heapIndex]);
+ }
+ }
+}
+
/// Ownership handle of a memory commitment.
/// Points to a subregion of a memory allocation.
class MemoryCommit {
@@ -124,6 +137,7 @@ private:
std::vector<std::unique_ptr<MemoryAllocation>> allocations; ///< Current allocations.
VkDeviceSize buffer_image_granularity; // The granularity for adjacent offsets between buffers
// and optimal images
+ u32 valid_memory_types{~0u};
};
} // namespace Vulkan
diff --git a/src/video_core/vulkan_common/vulkan_surface.cpp b/src/video_core/vulkan_common/vulkan_surface.cpp
index cfea4cd7b..e45f8e43f 100644
--- a/src/video_core/vulkan_common/vulkan_surface.cpp
+++ b/src/video_core/vulkan_common/vulkan_surface.cpp
@@ -6,19 +6,6 @@
#include "video_core/vulkan_common/vulkan_surface.h"
#include "video_core/vulkan_common/vulkan_wrapper.h"
-// Include these late to avoid polluting previous headers
-#ifdef _WIN32
-#include <windows.h>
-// ensure include order
-#include <vulkan/vulkan_win32.h>
-#elif defined(__ANDROID__)
-#include <vulkan/vulkan_android.h>
-#elif !defined(__APPLE__)
-#include <X11/Xlib.h>
-#include <vulkan/vulkan_wayland.h>
-#include <vulkan/vulkan_xlib.h>
-#endif
-
namespace Vulkan {
vk::SurfaceKHR CreateSurface(
diff --git a/src/video_core/vulkan_common/vulkan_wrapper.cpp b/src/video_core/vulkan_common/vulkan_wrapper.cpp
index 2fa29793a..2f3254a97 100644
--- a/src/video_core/vulkan_common/vulkan_wrapper.cpp
+++ b/src/video_core/vulkan_common/vulkan_wrapper.cpp
@@ -9,11 +9,9 @@
#include "common/common_types.h"
#include "common/logging/log.h"
-
+#include "video_core/vulkan_common/vma.h"
#include "video_core/vulkan_common/vulkan_wrapper.h"
-#include <vk_mem_alloc.h>
-
namespace Vulkan::vk {
namespace {
@@ -77,6 +75,7 @@ void Load(VkDevice device, DeviceDispatch& dld) noexcept {
X(vkBeginCommandBuffer);
X(vkBindBufferMemory);
X(vkBindImageMemory);
+ X(vkCmdBeginConditionalRenderingEXT);
X(vkCmdBeginQuery);
X(vkCmdBeginRenderPass);
X(vkCmdBeginTransformFeedbackEXT);
@@ -93,13 +92,17 @@ void Load(VkDevice device, DeviceDispatch& dld) noexcept {
X(vkCmdCopyBufferToImage);
X(vkCmdCopyImage);
X(vkCmdCopyImageToBuffer);
+ X(vkCmdCopyQueryPoolResults);
X(vkCmdDispatch);
+ X(vkCmdDispatchIndirect);
X(vkCmdDraw);
X(vkCmdDrawIndexed);
X(vkCmdDrawIndirect);
X(vkCmdDrawIndexedIndirect);
X(vkCmdDrawIndirectCount);
X(vkCmdDrawIndexedIndirectCount);
+ X(vkCmdDrawIndirectByteCountEXT);
+ X(vkCmdEndConditionalRenderingEXT);
X(vkCmdEndQuery);
X(vkCmdEndRenderPass);
X(vkCmdEndTransformFeedbackEXT);
@@ -110,6 +113,7 @@ void Load(VkDevice device, DeviceDispatch& dld) noexcept {
X(vkCmdPushDescriptorSetWithTemplateKHR);
X(vkCmdSetBlendConstants);
X(vkCmdSetDepthBias);
+ X(vkCmdSetDepthBias2EXT);
X(vkCmdSetDepthBounds);
X(vkCmdSetEvent);
X(vkCmdSetScissor);
diff --git a/src/video_core/vulkan_common/vulkan_wrapper.h b/src/video_core/vulkan_common/vulkan_wrapper.h
index 32bd75ad8..0487cd3b6 100644
--- a/src/video_core/vulkan_common/vulkan_wrapper.h
+++ b/src/video_core/vulkan_common/vulkan_wrapper.h
@@ -12,23 +12,8 @@
#include <utility>
#include <vector>
-#define VK_NO_PROTOTYPES
-#ifdef _WIN32
-#define VK_USE_PLATFORM_WIN32_KHR
-#elif defined(__APPLE__)
-#define VK_USE_PLATFORM_METAL_EXT
-#endif
-#include <vulkan/vulkan.h>
-
-// Sanitize macros
-#ifdef CreateEvent
-#undef CreateEvent
-#endif
-#ifdef CreateSemaphore
-#undef CreateSemaphore
-#endif
-
#include "common/common_types.h"
+#include "video_core/vulkan_common/vulkan.h"
#ifdef _MSC_VER
#pragma warning(disable : 26812) // Disable prefer enum class over enum
@@ -132,6 +117,9 @@ public:
virtual ~Exception() = default;
const char* what() const noexcept override;
+ VkResult GetResult() const noexcept {
+ return result;
+ }
private:
VkResult result;
@@ -200,6 +188,7 @@ struct DeviceDispatch : InstanceDispatch {
PFN_vkBeginCommandBuffer vkBeginCommandBuffer{};
PFN_vkBindBufferMemory vkBindBufferMemory{};
PFN_vkBindImageMemory vkBindImageMemory{};
+ PFN_vkCmdBeginConditionalRenderingEXT vkCmdBeginConditionalRenderingEXT{};
PFN_vkCmdBeginDebugUtilsLabelEXT vkCmdBeginDebugUtilsLabelEXT{};
PFN_vkCmdBeginQuery vkCmdBeginQuery{};
PFN_vkCmdBeginRenderPass vkCmdBeginRenderPass{};
@@ -217,13 +206,17 @@ struct DeviceDispatch : InstanceDispatch {
PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage{};
PFN_vkCmdCopyImage vkCmdCopyImage{};
PFN_vkCmdCopyImageToBuffer vkCmdCopyImageToBuffer{};
+ PFN_vkCmdCopyQueryPoolResults vkCmdCopyQueryPoolResults{};
PFN_vkCmdDispatch vkCmdDispatch{};
+ PFN_vkCmdDispatchIndirect vkCmdDispatchIndirect{};
PFN_vkCmdDraw vkCmdDraw{};
PFN_vkCmdDrawIndexed vkCmdDrawIndexed{};
PFN_vkCmdDrawIndirect vkCmdDrawIndirect{};
PFN_vkCmdDrawIndexedIndirect vkCmdDrawIndexedIndirect{};
PFN_vkCmdDrawIndirectCount vkCmdDrawIndirectCount{};
PFN_vkCmdDrawIndexedIndirectCount vkCmdDrawIndexedIndirectCount{};
+ PFN_vkCmdDrawIndirectByteCountEXT vkCmdDrawIndirectByteCountEXT{};
+ PFN_vkCmdEndConditionalRenderingEXT vkCmdEndConditionalRenderingEXT{};
PFN_vkCmdEndDebugUtilsLabelEXT vkCmdEndDebugUtilsLabelEXT{};
PFN_vkCmdEndQuery vkCmdEndQuery{};
PFN_vkCmdEndRenderPass vkCmdEndRenderPass{};
@@ -236,6 +229,7 @@ struct DeviceDispatch : InstanceDispatch {
PFN_vkCmdSetBlendConstants vkCmdSetBlendConstants{};
PFN_vkCmdSetCullModeEXT vkCmdSetCullModeEXT{};
PFN_vkCmdSetDepthBias vkCmdSetDepthBias{};
+ PFN_vkCmdSetDepthBias2EXT vkCmdSetDepthBias2EXT{};
PFN_vkCmdSetDepthBounds vkCmdSetDepthBounds{};
PFN_vkCmdSetDepthBoundsTestEnableEXT vkCmdSetDepthBoundsTestEnableEXT{};
PFN_vkCmdSetDepthCompareOpEXT vkCmdSetDepthCompareOpEXT{};
@@ -1196,6 +1190,13 @@ public:
count_offset, draw_count, stride);
}
+ void DrawIndirectByteCountEXT(u32 instance_count, u32 first_instance, VkBuffer counter_buffer,
+ VkDeviceSize counter_buffer_offset, u32 counter_offset,
+ u32 stride) {
+ dld->vkCmdDrawIndirectByteCountEXT(handle, instance_count, first_instance, counter_buffer,
+ counter_buffer_offset, counter_offset, stride);
+ }
+
void ClearAttachments(Span<VkClearAttachment> attachments,
Span<VkClearRect> rects) const noexcept {
dld->vkCmdClearAttachments(handle, attachments.size(), attachments.data(), rects.size(),
@@ -1224,6 +1225,10 @@ public:
dld->vkCmdDispatch(handle, x, y, z);
}
+ void DispatchIndirect(VkBuffer indirect_buffer, VkDeviceSize offset) const noexcept {
+ dld->vkCmdDispatchIndirect(handle, indirect_buffer, offset);
+ }
+
void PipelineBarrier(VkPipelineStageFlags src_stage_mask, VkPipelineStageFlags dst_stage_mask,
VkDependencyFlags dependency_flags, Span<VkMemoryBarrier> memory_barriers,
Span<VkBufferMemoryBarrier> buffer_barriers,
@@ -1280,6 +1285,13 @@ public:
regions.data());
}
+ void CopyQueryPoolResults(VkQueryPool query_pool, u32 first_query, u32 query_count,
+ VkBuffer dst_buffer, VkDeviceSize dst_offset, VkDeviceSize stride,
+ VkQueryResultFlags flags) const noexcept {
+ dld->vkCmdCopyQueryPoolResults(handle, query_pool, first_query, query_count, dst_buffer,
+ dst_offset, stride, flags);
+ }
+
void FillBuffer(VkBuffer dst_buffer, VkDeviceSize dst_offset, VkDeviceSize size,
u32 data) const noexcept {
dld->vkCmdFillBuffer(handle, dst_buffer, dst_offset, size, data);
@@ -1325,6 +1337,18 @@ public:
dld->vkCmdSetDepthBias(handle, constant_factor, clamp, slope_factor);
}
+ void SetDepthBias(float constant_factor, float clamp, float slope_factor,
+ VkDepthBiasRepresentationInfoEXT* extra) const noexcept {
+ VkDepthBiasInfoEXT info{
+ .sType = VK_STRUCTURE_TYPE_DEPTH_BIAS_INFO_EXT,
+ .pNext = extra,
+ .depthBiasConstantFactor = constant_factor,
+ .depthBiasClamp = clamp,
+ .depthBiasSlopeFactor = slope_factor,
+ };
+ dld->vkCmdSetDepthBias2EXT(handle, &info);
+ }
+
void SetDepthBounds(float min_depth_bounds, float max_depth_bounds) const noexcept {
dld->vkCmdSetDepthBounds(handle, min_depth_bounds, max_depth_bounds);
}
@@ -1458,6 +1482,15 @@ public:
counter_buffers, counter_buffer_offsets);
}
+ void BeginConditionalRenderingEXT(
+ const VkConditionalRenderingBeginInfoEXT& info) const noexcept {
+ dld->vkCmdBeginConditionalRenderingEXT(handle, &info);
+ }
+
+ void EndConditionalRenderingEXT() const noexcept {
+ dld->vkCmdEndConditionalRenderingEXT(handle);
+ }
+
void BeginDebugUtilsLabelEXT(const char* label, std::span<float, 4> color) const noexcept {
const VkDebugUtilsLabelEXT label_info{
.sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_LABEL_EXT,
diff --git a/src/web_service/verify_user_jwt.cpp b/src/web_service/verify_user_jwt.cpp
index 129eb1968..f88f67620 100644
--- a/src/web_service/verify_user_jwt.cpp
+++ b/src/web_service/verify_user_jwt.cpp
@@ -4,6 +4,7 @@
#if defined(__GNUC__) || defined(__clang__)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wimplicit-fallthrough"
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations" // for deprecated OpenSSL functions
#endif
#include <jwt/jwt.hpp>
#if defined(__GNUC__) || defined(__clang__)
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt
index fe98e3605..9ebece907 100644
--- a/src/yuzu/CMakeLists.txt
+++ b/src/yuzu/CMakeLists.txt
@@ -143,6 +143,10 @@ add_executable(yuzu
configuration/configure_web.ui
configuration/input_profiles.cpp
configuration/input_profiles.h
+ configuration/shared_translation.cpp
+ configuration/shared_translation.h
+ configuration/shared_widget.cpp
+ configuration/shared_widget.h
debugger/console.cpp
debugger/console.h
debugger/controller.cpp
@@ -191,6 +195,8 @@ add_executable(yuzu
multiplayer/state.cpp
multiplayer/state.h
multiplayer/validation.h
+ play_time_manager.cpp
+ play_time_manager.h
precompiled_headers.h
qt_common.cpp
qt_common.h
@@ -231,6 +237,12 @@ if (WIN32 AND YUZU_CRASH_DUMPS)
target_compile_definitions(yuzu PRIVATE -DYUZU_DBGHELP)
endif()
+if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
+ target_compile_definitions(yuzu PRIVATE
+ $<$<VERSION_LESS:$<CXX_COMPILER_VERSION>,15>:CANNOT_EXPLICITLY_INSTANTIATE>
+ )
+endif()
+
file(GLOB COMPAT_LIST
${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.qrc
${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.json)
@@ -303,6 +315,18 @@ if (APPLE)
target_sources(yuzu PRIVATE ${MACOSX_ICON})
set_target_properties(yuzu PROPERTIES MACOSX_BUNDLE TRUE)
set_target_properties(yuzu PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist)
+
+ if (NOT USE_SYSTEM_MOLTENVK)
+ set(MOLTENVK_PLATFORM "macOS")
+ set(MOLTENVK_VERSION "v1.2.5")
+ download_moltenvk_external(${MOLTENVK_PLATFORM} ${MOLTENVK_VERSION})
+ endif()
+ find_library(MOLTENVK_LIBRARY MoltenVK REQUIRED)
+ message(STATUS "Using MoltenVK at ${MOLTENVK_LIBRARY}.")
+ set_source_files_properties(${MOLTENVK_LIBRARY} PROPERTIES MACOSX_PACKAGE_LOCATION Frameworks
+ XCODE_FILE_ATTRIBUTES "CodeSignOnCopy")
+ target_sources(yuzu PRIVATE ${MOLTENVK_LIBRARY})
+
elseif(WIN32)
# compile as a win32 gui application instead of a console application
if (QT_VERSION VERSION_GREATER_EQUAL 6)
diff --git a/src/yuzu/applets/qt_amiibo_settings.cpp b/src/yuzu/applets/qt_amiibo_settings.cpp
index 4988fcc83..b457a736a 100644
--- a/src/yuzu/applets/qt_amiibo_settings.cpp
+++ b/src/yuzu/applets/qt_amiibo_settings.cpp
@@ -160,7 +160,8 @@ void QtAmiiboSettingsDialog::LoadAmiiboData() {
}
const auto amiibo_name = std::string(register_info.amiibo_name.data());
- const auto owner_name = Common::UTF16ToUTF8(register_info.mii_char_info.name.data());
+ const auto owner_name =
+ Common::UTF16ToUTF8(register_info.mii_char_info.GetNickname().data.data());
const auto creation_date =
QDate(register_info.creation_date.year, register_info.creation_date.month,
register_info.creation_date.day);
diff --git a/src/yuzu/applets/qt_controller.cpp b/src/yuzu/applets/qt_controller.cpp
index 3b8317598..ca0e14fad 100644
--- a/src/yuzu/applets/qt_controller.cpp
+++ b/src/yuzu/applets/qt_controller.cpp
@@ -5,6 +5,8 @@
#include <thread>
#include "common/assert.h"
+#include "common/settings.h"
+#include "common/settings_enums.h"
#include "common/string_util.h"
#include "core/core.h"
#include "core/hid/emulated_controller.h"
@@ -240,9 +242,11 @@ int QtControllerSelectorDialog::exec() {
}
void QtControllerSelectorDialog::ApplyConfiguration() {
- const bool pre_docked_mode = Settings::values.use_docked_mode.GetValue();
- Settings::values.use_docked_mode.SetValue(ui->radioDocked->isChecked());
- OnDockedModeChanged(pre_docked_mode, Settings::values.use_docked_mode.GetValue(), system);
+ const bool pre_docked_mode = Settings::IsDockedMode();
+ const bool docked_mode_selected = ui->radioDocked->isChecked();
+ Settings::values.use_docked_mode.SetValue(
+ docked_mode_selected ? Settings::ConsoleMode::Docked : Settings::ConsoleMode::Handheld);
+ OnDockedModeChanged(pre_docked_mode, docked_mode_selected, system);
Settings::values.vibration_enabled.SetValue(ui->vibrationGroup->isChecked());
Settings::values.motion_enabled.SetValue(ui->motionGroup->isChecked());
@@ -655,8 +659,8 @@ void QtControllerSelectorDialog::UpdateDockedState(bool is_handheld) {
ui->radioDocked->setEnabled(!is_handheld);
ui->radioUndocked->setEnabled(!is_handheld);
- ui->radioDocked->setChecked(Settings::values.use_docked_mode.GetValue());
- ui->radioUndocked->setChecked(!Settings::values.use_docked_mode.GetValue());
+ ui->radioDocked->setChecked(Settings::IsDockedMode());
+ ui->radioUndocked->setChecked(!Settings::IsDockedMode());
// Also force into undocked mode if the controller type is handheld.
if (is_handheld) {
diff --git a/src/yuzu/bootmanager.cpp b/src/yuzu/bootmanager.cpp
index bdd1497b5..2afa72140 100644
--- a/src/yuzu/bootmanager.cpp
+++ b/src/yuzu/bootmanager.cpp
@@ -11,6 +11,8 @@
#include <glad/glad.h>
#include <QtCore/qglobal.h>
+#include "common/settings_enums.h"
+#include "uisettings.h"
#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) && YUZU_USE_QT_MULTIMEDIA
#include <QCamera>
#include <QCameraImageCapture>
@@ -916,7 +918,6 @@ void GRenderWindow::ReleaseRenderTarget() {
void GRenderWindow::CaptureScreenshot(const QString& screenshot_path) {
auto& renderer = system.Renderer();
- const f32 res_scale = Settings::values.resolution_info.up_factor;
if (renderer.IsScreenshotPending()) {
LOG_WARNING(Render,
@@ -924,7 +925,18 @@ void GRenderWindow::CaptureScreenshot(const QString& screenshot_path) {
return;
}
- const Layout::FramebufferLayout layout{Layout::FrameLayoutFromResolutionScale(res_scale)};
+ const Layout::FramebufferLayout layout{[]() {
+ u32 height = UISettings::values.screenshot_height.GetValue();
+ if (height == 0) {
+ height = Settings::IsDockedMode() ? Layout::ScreenDocked::Height
+ : Layout::ScreenUndocked::Height;
+ height *= Settings::values.resolution_info.up_factor;
+ }
+ const u32 width =
+ UISettings::CalculateWidth(height, Settings::values.aspect_ratio.GetValue());
+ return Layout::DefaultFrameLayout(width, height);
+ }()};
+
screenshot_image = QImage(QSize(layout.width, layout.height), QImage::Format_RGB32);
renderer.RequestScreenshot(
screenshot_image.bits(),
diff --git a/src/yuzu/configuration/config.cpp b/src/yuzu/configuration/config.cpp
index 195d3556c..1de093447 100644
--- a/src/yuzu/configuration/config.cpp
+++ b/src/yuzu/configuration/config.cpp
@@ -1,12 +1,15 @@
// SPDX-FileCopyrightText: 2014 Citra Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include <algorithm>
#include <array>
#include <QKeySequence>
#include <QSettings>
#include "common/fs/fs.h"
#include "common/fs/path_util.h"
#include "common/settings.h"
+#include "common/settings_common.h"
+#include "common/settings_enums.h"
#include "core/core.h"
#include "core/hle/service/acc/profile_manager.h"
#include "core/hle/service/hid/controllers/npad.h"
@@ -16,9 +19,8 @@
namespace FS = Common::FS;
-Config::Config(const std::string& config_name, ConfigType config_type) : type(config_type) {
- global = config_type == ConfigType::GlobalConfig;
-
+Config::Config(const std::string& config_name, ConfigType config_type)
+ : type(config_type), global{config_type == ConfigType::GlobalConfig} {
Initialize(config_name);
}
@@ -84,15 +86,15 @@ const std::map<Settings::ScalingFilter, QString> Config::scaling_filter_texts_ma
{Settings::ScalingFilter::Fsr, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "FSR"))},
};
-const std::map<bool, QString> Config::use_docked_mode_texts_map = {
- {true, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "Docked"))},
- {false, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "Handheld"))},
+const std::map<Settings::ConsoleMode, QString> Config::use_docked_mode_texts_map = {
+ {Settings::ConsoleMode::Docked, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "Docked"))},
+ {Settings::ConsoleMode::Handheld, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "Handheld"))},
};
-const std::map<Settings::GPUAccuracy, QString> Config::gpu_accuracy_texts_map = {
- {Settings::GPUAccuracy::Normal, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "Normal"))},
- {Settings::GPUAccuracy::High, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "High"))},
- {Settings::GPUAccuracy::Extreme, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "Extreme"))},
+const std::map<Settings::GpuAccuracy, QString> Config::gpu_accuracy_texts_map = {
+ {Settings::GpuAccuracy::Normal, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "Normal"))},
+ {Settings::GpuAccuracy::High, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "High"))},
+ {Settings::GpuAccuracy::Extreme, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "Extreme"))},
};
const std::map<Settings::RendererBackend, QString> Config::renderer_backend_texts_map = {
@@ -102,9 +104,9 @@ const std::map<Settings::RendererBackend, QString> Config::renderer_backend_text
};
const std::map<Settings::ShaderBackend, QString> Config::shader_backend_texts_map = {
- {Settings::ShaderBackend::GLSL, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "GLSL"))},
- {Settings::ShaderBackend::GLASM, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "GLASM"))},
- {Settings::ShaderBackend::SPIRV, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "SPIRV"))},
+ {Settings::ShaderBackend::Glsl, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "GLSL"))},
+ {Settings::ShaderBackend::Glasm, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "GLASM"))},
+ {Settings::ShaderBackend::SpirV, QStringLiteral(QT_TRANSLATE_NOOP("GMainWindow", "SPIRV"))},
};
// This shouldn't have anything except static initializers (no functions). So
@@ -171,66 +173,6 @@ bool Config::IsCustomConfig() {
return type == ConfigType::PerGameConfig;
}
-/* {Read,Write}BasicSetting and WriteGlobalSetting templates must be defined here before their
- * usages later in this file. This allows explicit definition of some types that don't work
- * nicely with the general version.
- */
-
-// Explicit std::string definition: Qt can't implicitly convert a std::string to a QVariant, nor
-// can it implicitly convert a QVariant back to a {std::,Q}string
-template <>
-void Config::ReadBasicSetting(Settings::Setting<std::string>& setting) {
- const QString name = QString::fromStdString(setting.GetLabel());
- const auto default_value = QString::fromStdString(setting.GetDefault());
- if (qt_config->value(name + QStringLiteral("/default"), false).toBool()) {
- setting.SetValue(default_value.toStdString());
- } else {
- setting.SetValue(qt_config->value(name, default_value).toString().toStdString());
- }
-}
-
-template <typename Type, bool ranged>
-void Config::ReadBasicSetting(Settings::Setting<Type, ranged>& setting) {
- const QString name = QString::fromStdString(setting.GetLabel());
- const Type default_value = setting.GetDefault();
- if (qt_config->value(name + QStringLiteral("/default"), false).toBool()) {
- setting.SetValue(default_value);
- } else {
- setting.SetValue(
- static_cast<QVariant>(qt_config->value(name, default_value)).value<Type>());
- }
-}
-
-// Explicit std::string definition: Qt can't implicitly convert a std::string to a QVariant
-template <>
-void Config::WriteBasicSetting(const Settings::Setting<std::string>& setting) {
- const QString name = QString::fromStdString(setting.GetLabel());
- const std::string& value = setting.GetValue();
- qt_config->setValue(name + QStringLiteral("/default"), value == setting.GetDefault());
- qt_config->setValue(name, QString::fromStdString(value));
-}
-
-template <typename Type, bool ranged>
-void Config::WriteBasicSetting(const Settings::Setting<Type, ranged>& setting) {
- const QString name = QString::fromStdString(setting.GetLabel());
- const Type value = setting.GetValue();
- qt_config->setValue(name + QStringLiteral("/default"), value == setting.GetDefault());
- qt_config->setValue(name, value);
-}
-
-template <typename Type, bool ranged>
-void Config::WriteGlobalSetting(const Settings::SwitchableSetting<Type, ranged>& setting) {
- const QString name = QString::fromStdString(setting.GetLabel());
- const Type& value = setting.GetValue(global);
- if (!global) {
- qt_config->setValue(name + QStringLiteral("/use_global"), setting.UsingGlobal());
- }
- if (global || !setting.UsingGlobal()) {
- qt_config->setValue(name + QStringLiteral("/default"), value == setting.GetDefault());
- qt_config->setValue(name, value);
- }
-}
-
void Config::ReadPlayerValue(std::size_t player_index) {
const QString player_prefix = [this, player_index] {
if (type == ConfigType::InputProfile) {
@@ -351,15 +293,9 @@ void Config::ReadPlayerValue(std::size_t player_index) {
player_motions = default_param;
}
}
-
- if (player_index == 0) {
- ReadMousePanningValues();
- }
}
void Config::ReadDebugValues() {
- ReadBasicSetting(Settings::values.debug_pad_enabled);
-
for (int i = 0; i < Settings::NativeButton::NumButtons; ++i) {
const std::string default_param = InputCommon::GenerateKeyboardParam(default_buttons[i]);
auto& debug_pad_buttons = Settings::values.debug_pad_buttons[i];
@@ -393,14 +329,6 @@ void Config::ReadDebugValues() {
}
}
-void Config::ReadKeyboardValues() {
- ReadBasicSetting(Settings::values.keyboard_enabled);
-}
-
-void Config::ReadMouseValues() {
- ReadBasicSetting(Settings::values.mouse_enabled);
-}
-
void Config::ReadTouchscreenValues() {
Settings::values.touchscreen.enabled =
ReadSetting(QStringLiteral("touchscreen_enabled"), true).toBool();
@@ -414,9 +342,6 @@ void Config::ReadTouchscreenValues() {
}
void Config::ReadHidbusValues() {
- Settings::values.enable_ring_controller =
- ReadSetting(QStringLiteral("enable_ring_controller"), true).toBool();
-
const std::string default_param = InputCommon::GenerateAnalogParamFromKeys(
0, 0, default_ringcon_analogs[0], default_ringcon_analogs[1], 0, 0.05f);
auto& ringcon_analogs = Settings::values.ringcon_analogs;
@@ -430,20 +355,10 @@ void Config::ReadHidbusValues() {
}
}
-void Config::ReadIrCameraValues() {
- ReadBasicSetting(Settings::values.enable_ir_sensor);
- ReadBasicSetting(Settings::values.ir_sensor_device);
-}
-
void Config::ReadAudioValues() {
qt_config->beginGroup(QStringLiteral("Audio"));
- if (global) {
- ReadBasicSetting(Settings::values.sink_id);
- ReadBasicSetting(Settings::values.audio_output_device_id);
- ReadBasicSetting(Settings::values.audio_input_device_id);
- }
- ReadGlobalSetting(Settings::values.volume);
+ ReadCategory(Settings::Category::Audio);
qt_config->endGroup();
}
@@ -451,63 +366,32 @@ void Config::ReadAudioValues() {
void Config::ReadControlValues() {
qt_config->beginGroup(QStringLiteral("Controls"));
+ ReadCategory(Settings::Category::Controls);
+
Settings::values.players.SetGlobal(!IsCustomConfig());
for (std::size_t p = 0; p < Settings::values.players.GetValue().size(); ++p) {
ReadPlayerValue(p);
}
- ReadGlobalSetting(Settings::values.use_docked_mode);
// Disable docked mode if handheld is selected
const auto controller_type = Settings::values.players.GetValue()[0].controller_type;
if (controller_type == Settings::ControllerType::Handheld) {
Settings::values.use_docked_mode.SetGlobal(!IsCustomConfig());
- Settings::values.use_docked_mode.SetValue(false);
+ Settings::values.use_docked_mode.SetValue(Settings::ConsoleMode::Handheld);
}
- ReadGlobalSetting(Settings::values.vibration_enabled);
- ReadGlobalSetting(Settings::values.enable_accurate_vibrations);
- ReadGlobalSetting(Settings::values.motion_enabled);
if (IsCustomConfig()) {
qt_config->endGroup();
return;
}
ReadDebugValues();
- ReadKeyboardValues();
- ReadMouseValues();
ReadTouchscreenValues();
- ReadMousePanningValues();
ReadMotionTouchValues();
ReadHidbusValues();
- ReadIrCameraValues();
-
-#ifdef _WIN32
- ReadBasicSetting(Settings::values.enable_raw_input);
-#else
- Settings::values.enable_raw_input = false;
-#endif
- ReadBasicSetting(Settings::values.emulate_analog_keyboard);
- ReadBasicSetting(Settings::values.enable_joycon_driver);
- ReadBasicSetting(Settings::values.enable_procon_driver);
- ReadBasicSetting(Settings::values.random_amiibo_id);
-
- ReadBasicSetting(Settings::values.tas_enable);
- ReadBasicSetting(Settings::values.tas_loop);
- ReadBasicSetting(Settings::values.pause_tas_on_load);
-
- ReadBasicSetting(Settings::values.controller_navigation);
qt_config->endGroup();
}
-void Config::ReadMousePanningValues() {
- ReadBasicSetting(Settings::values.mouse_panning);
- ReadBasicSetting(Settings::values.mouse_panning_x_sensitivity);
- ReadBasicSetting(Settings::values.mouse_panning_y_sensitivity);
- ReadBasicSetting(Settings::values.mouse_panning_deadzone_counterweight);
- ReadBasicSetting(Settings::values.mouse_panning_decay_strength);
- ReadBasicSetting(Settings::values.mouse_panning_min_decay);
-}
-
void Config::ReadMotionTouchValues() {
int num_touch_from_button_maps =
qt_config->beginReadArray(QStringLiteral("touch_from_button_maps"));
@@ -541,19 +425,14 @@ void Config::ReadMotionTouchValues() {
}
qt_config->endArray();
- ReadBasicSetting(Settings::values.touch_device);
- ReadBasicSetting(Settings::values.touch_from_button_map_index);
Settings::values.touch_from_button_map_index = std::clamp(
Settings::values.touch_from_button_map_index.GetValue(), 0, num_touch_from_button_maps - 1);
- ReadBasicSetting(Settings::values.udp_input_servers);
- ReadBasicSetting(Settings::values.enable_udp_controller);
}
void Config::ReadCoreValues() {
qt_config->beginGroup(QStringLiteral("Core"));
- ReadGlobalSetting(Settings::values.use_multi_core);
- ReadGlobalSetting(Settings::values.use_unsafe_extended_memory_layout);
+ ReadCategory(Settings::Category::Core);
qt_config->endGroup();
}
@@ -561,7 +440,6 @@ void Config::ReadCoreValues() {
void Config::ReadDataStorageValues() {
qt_config->beginGroup(QStringLiteral("Data Storage"));
- ReadBasicSetting(Settings::values.use_virtual_sd);
FS::SetYuzuPath(
FS::YuzuPath::NANDDir,
qt_config
@@ -597,9 +475,7 @@ void Config::ReadDataStorageValues() {
.toString()
.toStdString());
- ReadBasicSetting(Settings::values.gamecard_inserted);
- ReadBasicSetting(Settings::values.gamecard_current_game);
- ReadBasicSetting(Settings::values.gamecard_path);
+ ReadCategory(Settings::Category::DataStorage);
qt_config->endGroup();
}
@@ -611,29 +487,17 @@ void Config::ReadDebuggingValues() {
Settings::values.record_frame_times =
qt_config->value(QStringLiteral("record_frame_times"), false).toBool();
- ReadBasicSetting(Settings::values.use_gdbstub);
- ReadBasicSetting(Settings::values.gdbstub_port);
- ReadBasicSetting(Settings::values.program_args);
- ReadBasicSetting(Settings::values.dump_exefs);
- ReadBasicSetting(Settings::values.dump_nso);
- ReadBasicSetting(Settings::values.enable_fs_access_log);
- ReadBasicSetting(Settings::values.reporting_services);
- ReadBasicSetting(Settings::values.quest_flag);
- ReadBasicSetting(Settings::values.disable_macro_jit);
- ReadBasicSetting(Settings::values.disable_macro_hle);
- ReadBasicSetting(Settings::values.extended_logging);
- ReadBasicSetting(Settings::values.use_debug_asserts);
- ReadBasicSetting(Settings::values.use_auto_stub);
- ReadBasicSetting(Settings::values.enable_all_controllers);
- ReadBasicSetting(Settings::values.create_crash_dumps);
- ReadBasicSetting(Settings::values.perform_vulkan_check);
+ ReadCategory(Settings::Category::Debugging);
+ ReadCategory(Settings::Category::DebuggingGraphics);
qt_config->endGroup();
}
void Config::ReadServiceValues() {
qt_config->beginGroup(QStringLiteral("Services"));
- ReadBasicSetting(Settings::values.network_interface);
+
+ ReadCategory(Settings::Category::Services);
+
qt_config->endGroup();
}
@@ -659,8 +523,7 @@ void Config::ReadDisabledAddOnValues() {
void Config::ReadMiscellaneousValues() {
qt_config->beginGroup(QStringLiteral("Miscellaneous"));
- ReadBasicSetting(Settings::values.log_filter);
- ReadBasicSetting(Settings::values.use_dev_keys);
+ ReadCategory(Settings::Category::Miscellaneous);
qt_config->endGroup();
}
@@ -710,36 +573,9 @@ void Config::ReadPathValues() {
void Config::ReadCpuValues() {
qt_config->beginGroup(QStringLiteral("Cpu"));
- ReadBasicSetting(Settings::values.cpu_accuracy_first_time);
- if (Settings::values.cpu_accuracy_first_time) {
- Settings::values.cpu_accuracy.SetValue(Settings::values.cpu_accuracy.GetDefault());
- Settings::values.cpu_accuracy_first_time.SetValue(false);
- } else {
- ReadGlobalSetting(Settings::values.cpu_accuracy);
- }
-
- ReadGlobalSetting(Settings::values.cpuopt_unsafe_unfuse_fma);
- ReadGlobalSetting(Settings::values.cpuopt_unsafe_reduce_fp_error);
- ReadGlobalSetting(Settings::values.cpuopt_unsafe_ignore_standard_fpcr);
- ReadGlobalSetting(Settings::values.cpuopt_unsafe_inaccurate_nan);
- ReadGlobalSetting(Settings::values.cpuopt_unsafe_fastmem_check);
- ReadGlobalSetting(Settings::values.cpuopt_unsafe_ignore_global_monitor);
-
- if (global) {
- ReadBasicSetting(Settings::values.cpu_debug_mode);
- ReadBasicSetting(Settings::values.cpuopt_page_tables);
- ReadBasicSetting(Settings::values.cpuopt_block_linking);
- ReadBasicSetting(Settings::values.cpuopt_return_stack_buffer);
- ReadBasicSetting(Settings::values.cpuopt_fast_dispatcher);
- ReadBasicSetting(Settings::values.cpuopt_context_elimination);
- ReadBasicSetting(Settings::values.cpuopt_const_prop);
- ReadBasicSetting(Settings::values.cpuopt_misc_ir);
- ReadBasicSetting(Settings::values.cpuopt_reduce_misalign_checks);
- ReadBasicSetting(Settings::values.cpuopt_fastmem);
- ReadBasicSetting(Settings::values.cpuopt_fastmem_exclusives);
- ReadBasicSetting(Settings::values.cpuopt_recompile_exclusives);
- ReadBasicSetting(Settings::values.cpuopt_ignore_memory_aborts);
- }
+ ReadCategory(Settings::Category::Cpu);
+ ReadCategory(Settings::Category::CpuDebug);
+ ReadCategory(Settings::Category::CpuUnsafe);
qt_config->endGroup();
}
@@ -747,47 +583,9 @@ void Config::ReadCpuValues() {
void Config::ReadRendererValues() {
qt_config->beginGroup(QStringLiteral("Renderer"));
- ReadGlobalSetting(Settings::values.renderer_backend);
- ReadGlobalSetting(Settings::values.async_presentation);
- ReadGlobalSetting(Settings::values.renderer_force_max_clock);
- ReadGlobalSetting(Settings::values.vulkan_device);
- ReadGlobalSetting(Settings::values.fullscreen_mode);
- ReadGlobalSetting(Settings::values.aspect_ratio);
- ReadGlobalSetting(Settings::values.resolution_setup);
- ReadGlobalSetting(Settings::values.scaling_filter);
- ReadGlobalSetting(Settings::values.fsr_sharpening_slider);
- ReadGlobalSetting(Settings::values.anti_aliasing);
- ReadGlobalSetting(Settings::values.max_anisotropy);
- ReadGlobalSetting(Settings::values.speed_limit);
- ReadGlobalSetting(Settings::values.use_disk_shader_cache);
- ReadGlobalSetting(Settings::values.gpu_accuracy);
- ReadGlobalSetting(Settings::values.use_asynchronous_gpu_emulation);
- ReadGlobalSetting(Settings::values.nvdec_emulation);
- ReadGlobalSetting(Settings::values.accelerate_astc);
- ReadGlobalSetting(Settings::values.async_astc);
- ReadGlobalSetting(Settings::values.astc_recompression);
- ReadGlobalSetting(Settings::values.use_reactive_flushing);
- ReadGlobalSetting(Settings::values.shader_backend);
- ReadGlobalSetting(Settings::values.use_asynchronous_shaders);
- ReadGlobalSetting(Settings::values.use_fast_gpu_time);
- ReadGlobalSetting(Settings::values.use_vulkan_driver_pipeline_cache);
- ReadGlobalSetting(Settings::values.enable_compute_pipelines);
- ReadGlobalSetting(Settings::values.use_video_framerate);
- ReadGlobalSetting(Settings::values.barrier_feedback_loops);
- ReadGlobalSetting(Settings::values.bg_red);
- ReadGlobalSetting(Settings::values.bg_green);
- ReadGlobalSetting(Settings::values.bg_blue);
-
- if (global) {
- Settings::values.vsync_mode.SetValue(static_cast<Settings::VSyncMode>(
- ReadSetting(QString::fromStdString(Settings::values.vsync_mode.GetLabel()),
- static_cast<u32>(Settings::values.vsync_mode.GetDefault()))
- .value<u32>()));
- ReadBasicSetting(Settings::values.renderer_debug);
- ReadBasicSetting(Settings::values.renderer_shader_feedback);
- ReadBasicSetting(Settings::values.enable_nsight_aftermath);
- ReadBasicSetting(Settings::values.disable_shader_loop_safety_checks);
- }
+ ReadCategory(Settings::Category::Renderer);
+ ReadCategory(Settings::Category::RendererAdvanced);
+ ReadCategory(Settings::Category::RendererDebug);
qt_config->endGroup();
}
@@ -795,8 +593,7 @@ void Config::ReadRendererValues() {
void Config::ReadScreenshotValues() {
qt_config->beginGroup(QStringLiteral("Screenshots"));
- UISettings::values.enable_screenshot_save_as =
- ReadSetting(QStringLiteral("enable_screenshot_save_as"), true).toBool();
+ ReadCategory(Settings::Category::Screenshots);
FS::SetYuzuPath(
FS::YuzuPath::ScreenshotsDir,
qt_config
@@ -834,41 +631,8 @@ void Config::ReadShortcutValues() {
void Config::ReadSystemValues() {
qt_config->beginGroup(QStringLiteral("System"));
- ReadGlobalSetting(Settings::values.language_index);
-
- ReadGlobalSetting(Settings::values.region_index);
-
- ReadGlobalSetting(Settings::values.time_zone_index);
-
- bool rng_seed_enabled;
- ReadSettingGlobal(rng_seed_enabled, QStringLiteral("rng_seed_enabled"), false);
- bool rng_seed_global =
- global || qt_config->value(QStringLiteral("rng_seed/use_global"), true).toBool();
- Settings::values.rng_seed.SetGlobal(rng_seed_global);
- if (global || !rng_seed_global) {
- if (rng_seed_enabled) {
- Settings::values.rng_seed.SetValue(ReadSetting(QStringLiteral("rng_seed"), 0).toUInt());
- } else {
- Settings::values.rng_seed.SetValue(std::nullopt);
- }
- }
-
- if (global) {
- ReadBasicSetting(Settings::values.current_user);
- Settings::values.current_user = std::clamp<int>(Settings::values.current_user.GetValue(), 0,
- Service::Account::MAX_USERS - 1);
-
- const auto custom_rtc_enabled =
- ReadSetting(QStringLiteral("custom_rtc_enabled"), false).toBool();
- if (custom_rtc_enabled) {
- Settings::values.custom_rtc = ReadSetting(QStringLiteral("custom_rtc"), 0).toLongLong();
- } else {
- Settings::values.custom_rtc = std::nullopt;
- }
- ReadBasicSetting(Settings::values.device_name);
- }
-
- ReadGlobalSetting(Settings::values.sound_index);
+ ReadCategory(Settings::Category::System);
+ ReadCategory(Settings::Category::SystemAudio);
qt_config->endGroup();
}
@@ -881,8 +645,6 @@ void Config::ReadUIValues() {
QStringLiteral("theme"),
QString::fromUtf8(UISettings::themes[static_cast<size_t>(default_theme)].second))
.toString();
- ReadBasicSetting(UISettings::values.enable_discord_presence);
- ReadBasicSetting(UISettings::values.select_user_on_boot);
ReadUIGamelistValues();
ReadUILayoutValues();
@@ -891,20 +653,8 @@ void Config::ReadUIValues() {
ReadShortcutValues();
ReadMultiplayerValues();
- ReadBasicSetting(UISettings::values.single_window_mode);
- ReadBasicSetting(UISettings::values.fullscreen);
- ReadBasicSetting(UISettings::values.display_titlebar);
- ReadBasicSetting(UISettings::values.show_filter_bar);
- ReadBasicSetting(UISettings::values.show_status_bar);
- ReadBasicSetting(UISettings::values.confirm_before_closing);
- ReadBasicSetting(UISettings::values.first_start);
- ReadBasicSetting(UISettings::values.callout_flags);
- ReadBasicSetting(UISettings::values.show_console);
- ReadBasicSetting(UISettings::values.pause_when_in_background);
- ReadBasicSetting(UISettings::values.mute_when_in_background);
- ReadBasicSetting(UISettings::values.hide_mouse);
- ReadBasicSetting(UISettings::values.controller_applet_disabled);
- ReadBasicSetting(UISettings::values.disable_web_applet);
+ ReadCategory(Settings::Category::Ui);
+ ReadCategory(Settings::Category::UiGeneral);
qt_config->endGroup();
}
@@ -912,16 +662,8 @@ void Config::ReadUIValues() {
void Config::ReadUIGamelistValues() {
qt_config->beginGroup(QStringLiteral("UIGameList"));
- ReadBasicSetting(UISettings::values.show_add_ons);
- ReadBasicSetting(UISettings::values.show_compat);
- ReadBasicSetting(UISettings::values.show_size);
- ReadBasicSetting(UISettings::values.show_types);
- ReadBasicSetting(UISettings::values.game_icon_size);
- ReadBasicSetting(UISettings::values.folder_icon_size);
- ReadBasicSetting(UISettings::values.row_1_text_id);
- ReadBasicSetting(UISettings::values.row_2_text_id);
- ReadBasicSetting(UISettings::values.cache_game_list);
- ReadBasicSetting(UISettings::values.favorites_expanded);
+ ReadCategory(Settings::Category::UiGameList);
+
const int favorites_size = qt_config->beginReadArray(QStringLiteral("favorites"));
for (int i = 0; i < favorites_size; i++) {
qt_config->setArrayIndex(i);
@@ -944,7 +686,8 @@ void Config::ReadUILayoutValues() {
ReadSetting(QStringLiteral("gameListHeaderState")).toByteArray();
UISettings::values.microprofile_geometry =
ReadSetting(QStringLiteral("microProfileDialogGeometry")).toByteArray();
- ReadBasicSetting(UISettings::values.microprofile_visible);
+
+ ReadCategory(Settings::Category::UiLayout);
qt_config->endGroup();
}
@@ -952,10 +695,7 @@ void Config::ReadUILayoutValues() {
void Config::ReadWebServiceValues() {
qt_config->beginGroup(QStringLiteral("WebService"));
- ReadBasicSetting(Settings::values.enable_telemetry);
- ReadBasicSetting(Settings::values.web_api_url);
- ReadBasicSetting(Settings::values.yuzu_username);
- ReadBasicSetting(Settings::values.yuzu_token);
+ ReadCategory(Settings::Category::WebService);
qt_config->endGroup();
}
@@ -963,17 +703,7 @@ void Config::ReadWebServiceValues() {
void Config::ReadMultiplayerValues() {
qt_config->beginGroup(QStringLiteral("Multiplayer"));
- ReadBasicSetting(UISettings::values.multiplayer_nickname);
- ReadBasicSetting(UISettings::values.multiplayer_ip);
- ReadBasicSetting(UISettings::values.multiplayer_port);
- ReadBasicSetting(UISettings::values.multiplayer_room_nickname);
- ReadBasicSetting(UISettings::values.multiplayer_room_name);
- ReadBasicSetting(UISettings::values.multiplayer_room_port);
- ReadBasicSetting(UISettings::values.multiplayer_host_type);
- ReadBasicSetting(UISettings::values.multiplayer_port);
- ReadBasicSetting(UISettings::values.multiplayer_max_player);
- ReadBasicSetting(UISettings::values.multiplayer_game_id);
- ReadBasicSetting(UISettings::values.multiplayer_room_description);
+ ReadCategory(Settings::Category::Multiplayer);
// Read ban list back
int size = qt_config->beginReadArray(QStringLiteral("username_ban_list"));
@@ -996,11 +726,20 @@ void Config::ReadMultiplayerValues() {
qt_config->endGroup();
}
+void Config::ReadNetworkValues() {
+ qt_config->beginGroup(QString::fromStdString("Services"));
+
+ ReadCategory(Settings::Category::Network);
+
+ qt_config->endGroup();
+}
+
void Config::ReadValues() {
if (global) {
ReadDataStorageValues();
ReadDebuggingValues();
ReadDisabledAddOnValues();
+ ReadNetworkValues();
ReadServiceValues();
ReadUIValues();
ReadWebServiceValues();
@@ -1077,14 +816,9 @@ void Config::SavePlayerValue(std::size_t player_index) {
QString::fromStdString(player.motions[i]),
QString::fromStdString(default_param));
}
-
- if (player_index == 0) {
- SaveMousePanningValues();
- }
}
void Config::SaveDebugValues() {
- WriteBasicSetting(Settings::values.debug_pad_enabled);
for (int i = 0; i < Settings::NativeButton::NumButtons; ++i) {
const std::string default_param = InputCommon::GenerateKeyboardParam(default_buttons[i]);
WriteSetting(QStringLiteral("debug_pad_") +
@@ -1103,10 +837,6 @@ void Config::SaveDebugValues() {
}
}
-void Config::SaveMouseValues() {
- WriteBasicSetting(Settings::values.mouse_enabled);
-}
-
void Config::SaveTouchscreenValues() {
const auto& touchscreen = Settings::values.touchscreen;
@@ -1117,21 +847,7 @@ void Config::SaveTouchscreenValues() {
WriteSetting(QStringLiteral("touchscreen_diameter_y"), touchscreen.diameter_y, 15);
}
-void Config::SaveMousePanningValues() {
- // Don't overwrite values.mouse_panning
- WriteBasicSetting(Settings::values.mouse_panning_x_sensitivity);
- WriteBasicSetting(Settings::values.mouse_panning_y_sensitivity);
- WriteBasicSetting(Settings::values.mouse_panning_deadzone_counterweight);
- WriteBasicSetting(Settings::values.mouse_panning_decay_strength);
- WriteBasicSetting(Settings::values.mouse_panning_min_decay);
-}
-
void Config::SaveMotionTouchValues() {
- WriteBasicSetting(Settings::values.touch_device);
- WriteBasicSetting(Settings::values.touch_from_button_map_index);
- WriteBasicSetting(Settings::values.udp_input_servers);
- WriteBasicSetting(Settings::values.enable_udp_controller);
-
qt_config->beginWriteArray(QStringLiteral("touch_from_button_maps"));
for (std::size_t p = 0; p < Settings::values.touch_from_button_maps.size(); ++p) {
qt_config->setArrayIndex(static_cast<int>(p));
@@ -1152,8 +868,6 @@ void Config::SaveMotionTouchValues() {
}
void Config::SaveHidbusValues() {
- WriteBasicSetting(Settings::values.enable_ring_controller);
-
const std::string default_param = InputCommon::GenerateAnalogParamFromKeys(
0, 0, default_ringcon_analogs[0], default_ringcon_analogs[1], 0, 0.05f);
WriteSetting(QStringLiteral("ring_controller"),
@@ -1161,11 +875,6 @@ void Config::SaveHidbusValues() {
QString::fromStdString(default_param));
}
-void Config::SaveIrCameraValues() {
- WriteBasicSetting(Settings::values.enable_ir_sensor);
- WriteBasicSetting(Settings::values.ir_sensor_device);
-}
-
void Config::SaveValues() {
if (global) {
SaveDataStorageValues();
@@ -1182,18 +891,14 @@ void Config::SaveValues() {
SaveRendererValues();
SaveAudioValues();
SaveSystemValues();
+
qt_config->sync();
}
void Config::SaveAudioValues() {
qt_config->beginGroup(QStringLiteral("Audio"));
- if (global) {
- WriteBasicSetting(Settings::values.sink_id);
- WriteBasicSetting(Settings::values.audio_output_device_id);
- WriteBasicSetting(Settings::values.audio_input_device_id);
- }
- WriteGlobalSetting(Settings::values.volume);
+ WriteCategory(Settings::Category::Audio);
qt_config->endGroup();
}
@@ -1201,6 +906,8 @@ void Config::SaveAudioValues() {
void Config::SaveControlValues() {
qt_config->beginGroup(QStringLiteral("Controls"));
+ WriteCategory(Settings::Category::Controls);
+
Settings::values.players.SetGlobal(!IsCustomConfig());
for (std::size_t p = 0; p < Settings::values.players.GetValue().size(); ++p) {
SavePlayerValue(p);
@@ -1210,28 +917,9 @@ void Config::SaveControlValues() {
return;
}
SaveDebugValues();
- SaveMouseValues();
SaveTouchscreenValues();
- SaveMousePanningValues();
SaveMotionTouchValues();
SaveHidbusValues();
- SaveIrCameraValues();
-
- WriteGlobalSetting(Settings::values.use_docked_mode);
- WriteGlobalSetting(Settings::values.vibration_enabled);
- WriteGlobalSetting(Settings::values.enable_accurate_vibrations);
- WriteGlobalSetting(Settings::values.motion_enabled);
- WriteBasicSetting(Settings::values.enable_raw_input);
- WriteBasicSetting(Settings::values.enable_joycon_driver);
- WriteBasicSetting(Settings::values.enable_procon_driver);
- WriteBasicSetting(Settings::values.random_amiibo_id);
- WriteBasicSetting(Settings::values.keyboard_enabled);
- WriteBasicSetting(Settings::values.emulate_analog_keyboard);
- WriteBasicSetting(Settings::values.controller_navigation);
-
- WriteBasicSetting(Settings::values.tas_enable);
- WriteBasicSetting(Settings::values.tas_loop);
- WriteBasicSetting(Settings::values.pause_tas_on_load);
qt_config->endGroup();
}
@@ -1239,8 +927,7 @@ void Config::SaveControlValues() {
void Config::SaveCoreValues() {
qt_config->beginGroup(QStringLiteral("Core"));
- WriteGlobalSetting(Settings::values.use_multi_core);
- WriteGlobalSetting(Settings::values.use_unsafe_extended_memory_layout);
+ WriteCategory(Settings::Category::Core);
qt_config->endGroup();
}
@@ -1248,7 +935,6 @@ void Config::SaveCoreValues() {
void Config::SaveDataStorageValues() {
qt_config->beginGroup(QStringLiteral("Data Storage"));
- WriteBasicSetting(Settings::values.use_virtual_sd);
WriteSetting(QStringLiteral("nand_directory"),
QString::fromStdString(FS::GetYuzuPathString(FS::YuzuPath::NANDDir)),
QString::fromStdString(FS::GetYuzuPathString(FS::YuzuPath::NANDDir)));
@@ -1265,9 +951,7 @@ void Config::SaveDataStorageValues() {
QString::fromStdString(FS::GetYuzuPathString(FS::YuzuPath::TASDir)),
QString::fromStdString(FS::GetYuzuPathString(FS::YuzuPath::TASDir)));
- WriteBasicSetting(Settings::values.gamecard_inserted);
- WriteBasicSetting(Settings::values.gamecard_current_game);
- WriteBasicSetting(Settings::values.gamecard_path);
+ WriteCategory(Settings::Category::DataStorage);
qt_config->endGroup();
}
@@ -1277,19 +961,9 @@ void Config::SaveDebuggingValues() {
// Intentionally not using the QT default setting as this is intended to be changed in the ini
qt_config->setValue(QStringLiteral("record_frame_times"), Settings::values.record_frame_times);
- WriteBasicSetting(Settings::values.use_gdbstub);
- WriteBasicSetting(Settings::values.gdbstub_port);
- WriteBasicSetting(Settings::values.program_args);
- WriteBasicSetting(Settings::values.dump_exefs);
- WriteBasicSetting(Settings::values.dump_nso);
- WriteBasicSetting(Settings::values.enable_fs_access_log);
- WriteBasicSetting(Settings::values.quest_flag);
- WriteBasicSetting(Settings::values.use_debug_asserts);
- WriteBasicSetting(Settings::values.disable_macro_jit);
- WriteBasicSetting(Settings::values.disable_macro_hle);
- WriteBasicSetting(Settings::values.enable_all_controllers);
- WriteBasicSetting(Settings::values.create_crash_dumps);
- WriteBasicSetting(Settings::values.perform_vulkan_check);
+
+ WriteCategory(Settings::Category::Debugging);
+ WriteCategory(Settings::Category::DebuggingGraphics);
qt_config->endGroup();
}
@@ -1297,7 +971,7 @@ void Config::SaveDebuggingValues() {
void Config::SaveNetworkValues() {
qt_config->beginGroup(QStringLiteral("Services"));
- WriteBasicSetting(Settings::values.network_interface);
+ WriteCategory(Settings::Category::Network);
qt_config->endGroup();
}
@@ -1324,8 +998,7 @@ void Config::SaveDisabledAddOnValues() {
void Config::SaveMiscellaneousValues() {
qt_config->beginGroup(QStringLiteral("Miscellaneous"));
- WriteBasicSetting(Settings::values.log_filter);
- WriteBasicSetting(Settings::values.use_dev_keys);
+ WriteCategory(Settings::Category::Miscellaneous);
qt_config->endGroup();
}
@@ -1353,34 +1026,9 @@ void Config::SavePathValues() {
void Config::SaveCpuValues() {
qt_config->beginGroup(QStringLiteral("Cpu"));
- WriteBasicSetting(Settings::values.cpu_accuracy_first_time);
- WriteSetting(QStringLiteral("cpu_accuracy"),
- static_cast<u32>(Settings::values.cpu_accuracy.GetValue(global)),
- static_cast<u32>(Settings::values.cpu_accuracy.GetDefault()),
- Settings::values.cpu_accuracy.UsingGlobal());
-
- WriteGlobalSetting(Settings::values.cpuopt_unsafe_unfuse_fma);
- WriteGlobalSetting(Settings::values.cpuopt_unsafe_reduce_fp_error);
- WriteGlobalSetting(Settings::values.cpuopt_unsafe_ignore_standard_fpcr);
- WriteGlobalSetting(Settings::values.cpuopt_unsafe_inaccurate_nan);
- WriteGlobalSetting(Settings::values.cpuopt_unsafe_fastmem_check);
- WriteGlobalSetting(Settings::values.cpuopt_unsafe_ignore_global_monitor);
-
- if (global) {
- WriteBasicSetting(Settings::values.cpu_debug_mode);
- WriteBasicSetting(Settings::values.cpuopt_page_tables);
- WriteBasicSetting(Settings::values.cpuopt_block_linking);
- WriteBasicSetting(Settings::values.cpuopt_return_stack_buffer);
- WriteBasicSetting(Settings::values.cpuopt_fast_dispatcher);
- WriteBasicSetting(Settings::values.cpuopt_context_elimination);
- WriteBasicSetting(Settings::values.cpuopt_const_prop);
- WriteBasicSetting(Settings::values.cpuopt_misc_ir);
- WriteBasicSetting(Settings::values.cpuopt_reduce_misalign_checks);
- WriteBasicSetting(Settings::values.cpuopt_fastmem);
- WriteBasicSetting(Settings::values.cpuopt_fastmem_exclusives);
- WriteBasicSetting(Settings::values.cpuopt_recompile_exclusives);
- WriteBasicSetting(Settings::values.cpuopt_ignore_memory_aborts);
- }
+ WriteCategory(Settings::Category::Cpu);
+ WriteCategory(Settings::Category::CpuDebug);
+ WriteCategory(Settings::Category::CpuUnsafe);
qt_config->endGroup();
}
@@ -1388,76 +1036,9 @@ void Config::SaveCpuValues() {
void Config::SaveRendererValues() {
qt_config->beginGroup(QStringLiteral("Renderer"));
- WriteSetting(QString::fromStdString(Settings::values.renderer_backend.GetLabel()),
- static_cast<u32>(Settings::values.renderer_backend.GetValue(global)),
- static_cast<u32>(Settings::values.renderer_backend.GetDefault()),
- Settings::values.renderer_backend.UsingGlobal());
- WriteGlobalSetting(Settings::values.async_presentation);
- WriteGlobalSetting(Settings::values.renderer_force_max_clock);
- WriteGlobalSetting(Settings::values.vulkan_device);
- WriteSetting(QString::fromStdString(Settings::values.fullscreen_mode.GetLabel()),
- static_cast<u32>(Settings::values.fullscreen_mode.GetValue(global)),
- static_cast<u32>(Settings::values.fullscreen_mode.GetDefault()),
- Settings::values.fullscreen_mode.UsingGlobal());
- WriteGlobalSetting(Settings::values.aspect_ratio);
- WriteSetting(QString::fromStdString(Settings::values.resolution_setup.GetLabel()),
- static_cast<u32>(Settings::values.resolution_setup.GetValue(global)),
- static_cast<u32>(Settings::values.resolution_setup.GetDefault()),
- Settings::values.resolution_setup.UsingGlobal());
- WriteSetting(QString::fromStdString(Settings::values.scaling_filter.GetLabel()),
- static_cast<u32>(Settings::values.scaling_filter.GetValue(global)),
- static_cast<u32>(Settings::values.scaling_filter.GetDefault()),
- Settings::values.scaling_filter.UsingGlobal());
- WriteSetting(QString::fromStdString(Settings::values.fsr_sharpening_slider.GetLabel()),
- static_cast<u32>(Settings::values.fsr_sharpening_slider.GetValue(global)),
- static_cast<u32>(Settings::values.fsr_sharpening_slider.GetDefault()),
- Settings::values.fsr_sharpening_slider.UsingGlobal());
- WriteSetting(QString::fromStdString(Settings::values.anti_aliasing.GetLabel()),
- static_cast<u32>(Settings::values.anti_aliasing.GetValue(global)),
- static_cast<u32>(Settings::values.anti_aliasing.GetDefault()),
- Settings::values.anti_aliasing.UsingGlobal());
- WriteGlobalSetting(Settings::values.max_anisotropy);
- WriteGlobalSetting(Settings::values.speed_limit);
- WriteGlobalSetting(Settings::values.use_disk_shader_cache);
- WriteSetting(QString::fromStdString(Settings::values.gpu_accuracy.GetLabel()),
- static_cast<u32>(Settings::values.gpu_accuracy.GetValue(global)),
- static_cast<u32>(Settings::values.gpu_accuracy.GetDefault()),
- Settings::values.gpu_accuracy.UsingGlobal());
- WriteGlobalSetting(Settings::values.use_asynchronous_gpu_emulation);
- WriteSetting(QString::fromStdString(Settings::values.nvdec_emulation.GetLabel()),
- static_cast<u32>(Settings::values.nvdec_emulation.GetValue(global)),
- static_cast<u32>(Settings::values.nvdec_emulation.GetDefault()),
- Settings::values.nvdec_emulation.UsingGlobal());
- WriteGlobalSetting(Settings::values.accelerate_astc);
- WriteGlobalSetting(Settings::values.async_astc);
- WriteSetting(QString::fromStdString(Settings::values.astc_recompression.GetLabel()),
- static_cast<u32>(Settings::values.astc_recompression.GetValue(global)),
- static_cast<u32>(Settings::values.astc_recompression.GetDefault()),
- Settings::values.astc_recompression.UsingGlobal());
- WriteGlobalSetting(Settings::values.use_reactive_flushing);
- WriteSetting(QString::fromStdString(Settings::values.shader_backend.GetLabel()),
- static_cast<u32>(Settings::values.shader_backend.GetValue(global)),
- static_cast<u32>(Settings::values.shader_backend.GetDefault()),
- Settings::values.shader_backend.UsingGlobal());
- WriteGlobalSetting(Settings::values.use_asynchronous_shaders);
- WriteGlobalSetting(Settings::values.use_fast_gpu_time);
- WriteGlobalSetting(Settings::values.use_vulkan_driver_pipeline_cache);
- WriteGlobalSetting(Settings::values.enable_compute_pipelines);
- WriteGlobalSetting(Settings::values.use_video_framerate);
- WriteGlobalSetting(Settings::values.barrier_feedback_loops);
- WriteGlobalSetting(Settings::values.bg_red);
- WriteGlobalSetting(Settings::values.bg_green);
- WriteGlobalSetting(Settings::values.bg_blue);
-
- if (global) {
- WriteSetting(QString::fromStdString(Settings::values.vsync_mode.GetLabel()),
- static_cast<u32>(Settings::values.vsync_mode.GetValue()),
- static_cast<u32>(Settings::values.vsync_mode.GetDefault()));
- WriteBasicSetting(Settings::values.renderer_debug);
- WriteBasicSetting(Settings::values.renderer_shader_feedback);
- WriteBasicSetting(Settings::values.enable_nsight_aftermath);
- WriteBasicSetting(Settings::values.disable_shader_loop_safety_checks);
- }
+ WriteCategory(Settings::Category::Renderer);
+ WriteCategory(Settings::Category::RendererAdvanced);
+ WriteCategory(Settings::Category::RendererDebug);
qt_config->endGroup();
}
@@ -1465,9 +1046,9 @@ void Config::SaveRendererValues() {
void Config::SaveScreenshotValues() {
qt_config->beginGroup(QStringLiteral("Screenshots"));
- WriteBasicSetting(UISettings::values.enable_screenshot_save_as);
WriteSetting(QStringLiteral("screenshot_path"),
QString::fromStdString(FS::GetYuzuPathString(FS::YuzuPath::ScreenshotsDir)));
+ WriteCategory(Settings::Category::Screenshots);
qt_config->endGroup();
}
@@ -1498,27 +1079,8 @@ void Config::SaveShortcutValues() {
void Config::SaveSystemValues() {
qt_config->beginGroup(QStringLiteral("System"));
- WriteGlobalSetting(Settings::values.language_index);
- WriteGlobalSetting(Settings::values.region_index);
- WriteGlobalSetting(Settings::values.time_zone_index);
-
- WriteSetting(QStringLiteral("rng_seed_enabled"),
- Settings::values.rng_seed.GetValue(global).has_value(), false,
- Settings::values.rng_seed.UsingGlobal());
- WriteSetting(QStringLiteral("rng_seed"), Settings::values.rng_seed.GetValue(global).value_or(0),
- 0, Settings::values.rng_seed.UsingGlobal());
-
- if (global) {
- WriteBasicSetting(Settings::values.current_user);
-
- WriteSetting(QStringLiteral("custom_rtc_enabled"), Settings::values.custom_rtc.has_value(),
- false);
- WriteSetting(QStringLiteral("custom_rtc"),
- QVariant::fromValue<long long>(Settings::values.custom_rtc.value_or(0)), 0);
- WriteBasicSetting(Settings::values.device_name);
- }
-
- WriteGlobalSetting(Settings::values.sound_index);
+ WriteCategory(Settings::Category::System);
+ WriteCategory(Settings::Category::SystemAudio);
qt_config->endGroup();
}
@@ -1526,10 +1088,11 @@ void Config::SaveSystemValues() {
void Config::SaveUIValues() {
qt_config->beginGroup(QStringLiteral("UI"));
+ WriteCategory(Settings::Category::Ui);
+ WriteCategory(Settings::Category::UiGeneral);
+
WriteSetting(QStringLiteral("theme"), UISettings::values.theme,
QString::fromUtf8(UISettings::themes[static_cast<size_t>(default_theme)].second));
- WriteBasicSetting(UISettings::values.enable_discord_presence);
- WriteBasicSetting(UISettings::values.select_user_on_boot);
SaveUIGamelistValues();
SaveUILayoutValues();
@@ -1538,37 +1101,14 @@ void Config::SaveUIValues() {
SaveShortcutValues();
SaveMultiplayerValues();
- WriteBasicSetting(UISettings::values.single_window_mode);
- WriteBasicSetting(UISettings::values.fullscreen);
- WriteBasicSetting(UISettings::values.display_titlebar);
- WriteBasicSetting(UISettings::values.show_filter_bar);
- WriteBasicSetting(UISettings::values.show_status_bar);
- WriteBasicSetting(UISettings::values.confirm_before_closing);
- WriteBasicSetting(UISettings::values.first_start);
- WriteBasicSetting(UISettings::values.callout_flags);
- WriteBasicSetting(UISettings::values.show_console);
- WriteBasicSetting(UISettings::values.pause_when_in_background);
- WriteBasicSetting(UISettings::values.mute_when_in_background);
- WriteBasicSetting(UISettings::values.hide_mouse);
- WriteBasicSetting(UISettings::values.controller_applet_disabled);
- WriteBasicSetting(UISettings::values.disable_web_applet);
-
qt_config->endGroup();
}
void Config::SaveUIGamelistValues() {
qt_config->beginGroup(QStringLiteral("UIGameList"));
- WriteBasicSetting(UISettings::values.show_add_ons);
- WriteBasicSetting(UISettings::values.show_compat);
- WriteBasicSetting(UISettings::values.show_size);
- WriteBasicSetting(UISettings::values.show_types);
- WriteBasicSetting(UISettings::values.game_icon_size);
- WriteBasicSetting(UISettings::values.folder_icon_size);
- WriteBasicSetting(UISettings::values.row_1_text_id);
- WriteBasicSetting(UISettings::values.row_2_text_id);
- WriteBasicSetting(UISettings::values.cache_game_list);
- WriteBasicSetting(UISettings::values.favorites_expanded);
+ WriteCategory(Settings::Category::UiGameList);
+
qt_config->beginWriteArray(QStringLiteral("favorites"));
for (int i = 0; i < UISettings::values.favorited_ids.size(); i++) {
qt_config->setArrayIndex(i);
@@ -1589,7 +1129,8 @@ void Config::SaveUILayoutValues() {
WriteSetting(QStringLiteral("gameListHeaderState"), UISettings::values.gamelist_header_state);
WriteSetting(QStringLiteral("microProfileDialogGeometry"),
UISettings::values.microprofile_geometry);
- WriteBasicSetting(UISettings::values.microprofile_visible);
+
+ WriteCategory(Settings::Category::UiLayout);
qt_config->endGroup();
}
@@ -1597,10 +1138,7 @@ void Config::SaveUILayoutValues() {
void Config::SaveWebServiceValues() {
qt_config->beginGroup(QStringLiteral("WebService"));
- WriteBasicSetting(Settings::values.enable_telemetry);
- WriteBasicSetting(Settings::values.web_api_url);
- WriteBasicSetting(Settings::values.yuzu_username);
- WriteBasicSetting(Settings::values.yuzu_token);
+ WriteCategory(Settings::Category::WebService);
qt_config->endGroup();
}
@@ -1608,17 +1146,7 @@ void Config::SaveWebServiceValues() {
void Config::SaveMultiplayerValues() {
qt_config->beginGroup(QStringLiteral("Multiplayer"));
- WriteBasicSetting(UISettings::values.multiplayer_nickname);
- WriteBasicSetting(UISettings::values.multiplayer_ip);
- WriteBasicSetting(UISettings::values.multiplayer_port);
- WriteBasicSetting(UISettings::values.multiplayer_room_nickname);
- WriteBasicSetting(UISettings::values.multiplayer_room_name);
- WriteBasicSetting(UISettings::values.multiplayer_room_port);
- WriteBasicSetting(UISettings::values.multiplayer_host_type);
- WriteBasicSetting(UISettings::values.multiplayer_port);
- WriteBasicSetting(UISettings::values.multiplayer_max_player);
- WriteBasicSetting(UISettings::values.multiplayer_game_id);
- WriteBasicSetting(UISettings::values.multiplayer_room_description);
+ WriteCategory(Settings::Category::Multiplayer);
// Write ban list
qt_config->beginWriteArray(QStringLiteral("username_ban_list"));
@@ -1653,27 +1181,6 @@ QVariant Config::ReadSetting(const QString& name, const QVariant& default_value)
return result;
}
-template <typename Type, bool ranged>
-void Config::ReadGlobalSetting(Settings::SwitchableSetting<Type, ranged>& setting) {
- QString name = QString::fromStdString(setting.GetLabel());
- const bool use_global = qt_config->value(name + QStringLiteral("/use_global"), true).toBool();
- setting.SetGlobal(use_global);
- if (global || !use_global) {
- setting.SetValue(static_cast<QVariant>(
- ReadSetting(name, QVariant::fromValue<Type>(setting.GetDefault())))
- .value<Type>());
- }
-}
-
-template <typename Type>
-void Config::ReadSettingGlobal(Type& setting, const QString& name,
- const QVariant& default_value) const {
- const bool use_global = qt_config->value(name + QStringLiteral("/use_global"), true).toBool();
- if (global || !use_global) {
- setting = ReadSetting(name, default_value).value<Type>();
- }
-}
-
void Config::WriteSetting(const QString& name, const QVariant& value) {
qt_config->setValue(name, value);
}
@@ -1727,3 +1234,72 @@ void Config::ClearControlPlayerValues() {
const std::string& Config::GetConfigFilePath() const {
return qt_config_loc;
}
+
+static auto FindRelevantList(Settings::Category category) {
+ auto& map = Settings::values.linkage.by_category;
+ if (map.contains(category)) {
+ return Settings::values.linkage.by_category[category];
+ }
+ return UISettings::values.linkage.by_category[category];
+}
+
+void Config::ReadCategory(Settings::Category category) {
+ const auto& settings = FindRelevantList(category);
+ std::for_each(settings.begin(), settings.end(),
+ [&](const auto& setting) { ReadSettingGeneric(setting); });
+}
+
+void Config::WriteCategory(Settings::Category category) {
+ const auto& settings = FindRelevantList(category);
+ std::for_each(settings.begin(), settings.end(),
+ [&](const auto& setting) { WriteSettingGeneric(setting); });
+}
+
+void Config::ReadSettingGeneric(Settings::BasicSetting* const setting) {
+ if (!setting->Save() || (!setting->Switchable() && !global)) {
+ return;
+ }
+ const QString name = QString::fromStdString(setting->GetLabel());
+ const auto default_value =
+ QVariant::fromValue<QString>(QString::fromStdString(setting->DefaultToString()));
+
+ bool use_global = true;
+ if (setting->Switchable() && !global) {
+ use_global = qt_config->value(name + QStringLiteral("/use_global"), true).value<bool>();
+ setting->SetGlobal(use_global);
+ }
+
+ if (global || !use_global) {
+ const bool is_default =
+ qt_config->value(name + QStringLiteral("/default"), true).value<bool>();
+ if (!is_default) {
+ setting->LoadString(
+ qt_config->value(name, default_value).value<QString>().toStdString());
+ } else {
+ // Empty string resets the Setting to default
+ setting->LoadString("");
+ }
+ }
+}
+
+void Config::WriteSettingGeneric(Settings::BasicSetting* const setting) const {
+ if (!setting->Save()) {
+ return;
+ }
+ const QVariant value = QVariant::fromValue(QString::fromStdString(setting->ToString()));
+ const QVariant default_value =
+ QVariant::fromValue(QString::fromStdString(setting->DefaultToString()));
+ const QString label = QString::fromStdString(setting->GetLabel());
+ if (setting->Switchable()) {
+ if (!global) {
+ qt_config->setValue(label + QStringLiteral("/use_global"), setting->UsingGlobal());
+ }
+ if (global || !setting->UsingGlobal()) {
+ qt_config->setValue(label + QStringLiteral("/default"), value == default_value);
+ qt_config->setValue(label, value);
+ }
+ } else if (global) {
+ qt_config->setValue(label + QStringLiteral("/default"), value == default_value);
+ qt_config->setValue(label, value);
+ }
+}
diff --git a/src/yuzu/configuration/config.h b/src/yuzu/configuration/config.h
index 1211389d2..727feebfb 100644
--- a/src/yuzu/configuration/config.h
+++ b/src/yuzu/configuration/config.h
@@ -9,6 +9,7 @@
#include <QMetaType>
#include <QVariant>
#include "common/settings.h"
+#include "common/settings_enums.h"
#include "yuzu/uisettings.h"
class QSettings;
@@ -51,8 +52,8 @@ public:
static const std::map<Settings::AntiAliasing, QString> anti_aliasing_texts_map;
static const std::map<Settings::ScalingFilter, QString> scaling_filter_texts_map;
- static const std::map<bool, QString> use_docked_mode_texts_map;
- static const std::map<Settings::GPUAccuracy, QString> gpu_accuracy_texts_map;
+ static const std::map<Settings::ConsoleMode, QString> use_docked_mode_texts_map;
+ static const std::map<Settings::GpuAccuracy, QString> gpu_accuracy_texts_map;
static const std::map<Settings::RendererBackend, QString> renderer_backend_texts_map;
static const std::map<Settings::ShaderBackend, QString> shader_backend_texts_map;
@@ -74,7 +75,6 @@ private:
void ReadKeyboardValues();
void ReadMouseValues();
void ReadTouchscreenValues();
- void ReadMousePanningValues();
void ReadMotionTouchValues();
void ReadHidbusValues();
void ReadIrCameraValues();
@@ -99,13 +99,13 @@ private:
void ReadUILayoutValues();
void ReadWebServiceValues();
void ReadMultiplayerValues();
+ void ReadNetworkValues();
void SaveValues();
void SavePlayerValue(std::size_t player_index);
void SaveDebugValues();
void SaveMouseValues();
void SaveTouchscreenValues();
- void SaveMousePanningValues();
void SaveMotionTouchValues();
void SaveHidbusValues();
void SaveIrCameraValues();
@@ -141,18 +141,6 @@ private:
QVariant ReadSetting(const QString& name, const QVariant& default_value) const;
/**
- * Only reads a setting from the qt_config if the current config is a global config, or if the
- * current config is a custom config and the setting is overriding the global setting. Otherwise
- * it does nothing.
- *
- * @param setting The variable to be modified
- * @param name The setting's identifier
- * @param default_value The value to use when the setting is not already present in the config
- */
- template <typename Type>
- void ReadSettingGlobal(Type& setting, const QString& name, const QVariant& default_value) const;
-
- /**
* Writes a setting to the qt_config.
*
* @param name The setting's idetentifier
@@ -166,50 +154,20 @@ private:
void WriteSetting(const QString& name, const QVariant& value, const QVariant& default_value,
bool use_global);
- /**
- * Reads a value from the qt_config and applies it to the setting, using its label and default
- * value. If the config is a custom config, this will also read the global state of the setting
- * and apply that information to it.
- *
- * @param The setting
- */
- template <typename Type, bool ranged>
- void ReadGlobalSetting(Settings::SwitchableSetting<Type, ranged>& setting);
-
- /**
- * Sets a value to the qt_config using the setting's label and default value. If the config is a
- * custom config, it will apply the global state, and the custom value if needed.
- *
- * @param The setting
- */
- template <typename Type, bool ranged>
- void WriteGlobalSetting(const Settings::SwitchableSetting<Type, ranged>& setting);
-
- /**
- * Reads a value from the qt_config using the setting's label and default value and applies the
- * value to the setting.
- *
- * @param The setting
- */
- template <typename Type, bool ranged>
- void ReadBasicSetting(Settings::Setting<Type, ranged>& setting);
-
- /** Sets a value from the setting in the qt_config using the setting's label and default value.
- *
- * @param The setting
- */
- template <typename Type, bool ranged>
- void WriteBasicSetting(const Settings::Setting<Type, ranged>& setting);
+ void ReadCategory(Settings::Category category);
+ void WriteCategory(Settings::Category category);
+ void ReadSettingGeneric(Settings::BasicSetting* const setting);
+ void WriteSettingGeneric(Settings::BasicSetting* const setting) const;
- ConfigType type;
+ const ConfigType type;
std::unique_ptr<QSettings> qt_config;
std::string qt_config_loc;
- bool global;
+ const bool global;
};
// These metatype declarations cannot be in common/settings.h because core is devoid of QT
-Q_DECLARE_METATYPE(Settings::CPUAccuracy);
-Q_DECLARE_METATYPE(Settings::GPUAccuracy);
+Q_DECLARE_METATYPE(Settings::CpuAccuracy);
+Q_DECLARE_METATYPE(Settings::GpuAccuracy);
Q_DECLARE_METATYPE(Settings::FullscreenMode);
Q_DECLARE_METATYPE(Settings::NvdecEmulation);
Q_DECLARE_METATYPE(Settings::ResolutionSetup);
@@ -218,3 +176,4 @@ Q_DECLARE_METATYPE(Settings::AntiAliasing);
Q_DECLARE_METATYPE(Settings::RendererBackend);
Q_DECLARE_METATYPE(Settings::ShaderBackend);
Q_DECLARE_METATYPE(Settings::AstcRecompression);
+Q_DECLARE_METATYPE(Settings::AstcDecodeMode);
diff --git a/src/yuzu/configuration/configuration_shared.cpp b/src/yuzu/configuration/configuration_shared.cpp
index ac42cc7fc..0ed6146a0 100644
--- a/src/yuzu/configuration/configuration_shared.cpp
+++ b/src/yuzu/configuration/configuration_shared.cpp
@@ -1,104 +1,19 @@
// SPDX-FileCopyrightText: 2016 Citra Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
-#include <QCheckBox>
-#include <QObject>
-#include <QString>
-#include "common/settings.h"
+#include <memory>
+#include <type_traits>
+#include <vector>
#include "yuzu/configuration/configuration_shared.h"
-#include "yuzu/configuration/configure_per_game.h"
-void ConfigurationShared::ApplyPerGameSetting(Settings::SwitchableSetting<bool>* setting,
- const QCheckBox* checkbox,
- const CheckState& tracker) {
- if (Settings::IsConfiguringGlobal() && setting->UsingGlobal()) {
- setting->SetValue(checkbox->checkState());
- } else if (!Settings::IsConfiguringGlobal()) {
- if (tracker == CheckState::Global) {
- setting->SetGlobal(true);
- } else {
- setting->SetGlobal(false);
- setting->SetValue(checkbox->checkState());
- }
- }
-}
+namespace ConfigurationShared {
-void ConfigurationShared::SetPerGameSetting(QCheckBox* checkbox,
- const Settings::SwitchableSetting<bool>* setting) {
- if (setting->UsingGlobal()) {
- checkbox->setCheckState(Qt::PartiallyChecked);
- } else {
- checkbox->setCheckState(setting->GetValue() ? Qt::Checked : Qt::Unchecked);
+Tab::Tab(std::shared_ptr<std::vector<Tab*>> group, QWidget* parent) : QWidget(parent) {
+ if (group != nullptr) {
+ group->push_back(this);
}
}
-void ConfigurationShared::SetHighlight(QWidget* widget, bool highlighted) {
- if (highlighted) {
- widget->setStyleSheet(QStringLiteral("QWidget#%1 { background-color:rgba(0,203,255,0.5) }")
- .arg(widget->objectName()));
- } else {
- widget->setStyleSheet(QStringLiteral("QWidget#%1 { background-color:rgba(0,0,0,0) }")
- .arg(widget->objectName()));
- }
- widget->show();
-}
+Tab::~Tab() = default;
-void ConfigurationShared::SetColoredTristate(QCheckBox* checkbox,
- const Settings::SwitchableSetting<bool>& setting,
- CheckState& tracker) {
- if (setting.UsingGlobal()) {
- tracker = CheckState::Global;
- } else {
- tracker = (setting.GetValue() == setting.GetValue(true)) ? CheckState::On : CheckState::Off;
- }
- SetHighlight(checkbox, tracker != CheckState::Global);
- QObject::connect(checkbox, &QCheckBox::clicked, checkbox, [checkbox, setting, &tracker] {
- tracker = static_cast<CheckState>((static_cast<int>(tracker) + 1) %
- static_cast<int>(CheckState::Count));
- if (tracker == CheckState::Global) {
- checkbox->setChecked(setting.GetValue(true));
- }
- SetHighlight(checkbox, tracker != CheckState::Global);
- });
-}
-
-void ConfigurationShared::SetColoredTristate(QCheckBox* checkbox, bool global, bool state,
- bool global_state, CheckState& tracker) {
- if (global) {
- tracker = CheckState::Global;
- } else {
- tracker = (state == global_state) ? CheckState::On : CheckState::Off;
- }
- SetHighlight(checkbox, tracker != CheckState::Global);
- QObject::connect(checkbox, &QCheckBox::clicked, checkbox, [checkbox, global_state, &tracker] {
- tracker = static_cast<CheckState>((static_cast<int>(tracker) + 1) %
- static_cast<int>(CheckState::Count));
- if (tracker == CheckState::Global) {
- checkbox->setChecked(global_state);
- }
- SetHighlight(checkbox, tracker != CheckState::Global);
- });
-}
-
-void ConfigurationShared::SetColoredComboBox(QComboBox* combobox, QWidget* target, int global) {
- InsertGlobalItem(combobox, global);
- QObject::connect(combobox, qOverload<int>(&QComboBox::activated), target,
- [target](int index) { SetHighlight(target, index != 0); });
-}
-
-void ConfigurationShared::InsertGlobalItem(QComboBox* combobox, int global_index) {
- const QString use_global_text =
- ConfigurePerGame::tr("Use global configuration (%1)").arg(combobox->itemText(global_index));
- combobox->insertItem(ConfigurationShared::USE_GLOBAL_INDEX, use_global_text);
- combobox->insertSeparator(ConfigurationShared::USE_GLOBAL_SEPARATOR_INDEX);
-}
-
-int ConfigurationShared::GetComboboxIndex(int global_setting_index, const QComboBox* combobox) {
- if (Settings::IsConfiguringGlobal()) {
- return combobox->currentIndex();
- }
- if (combobox->currentIndex() == ConfigurationShared::USE_GLOBAL_INDEX) {
- return global_setting_index;
- }
- return combobox->currentIndex() - ConfigurationShared::USE_GLOBAL_OFFSET;
-}
+} // namespace ConfigurationShared
diff --git a/src/yuzu/configuration/configuration_shared.h b/src/yuzu/configuration/configuration_shared.h
index 04c88758c..31897a6b0 100644
--- a/src/yuzu/configuration/configuration_shared.h
+++ b/src/yuzu/configuration/configuration_shared.h
@@ -3,73 +3,25 @@
#pragma once
-#include <QCheckBox>
-#include <QComboBox>
-#include "common/settings.h"
+#include <memory>
+#include <vector>
+#include <QString>
+#include <QWidget>
+#include <qobjectdefs.h>
-namespace ConfigurationShared {
-
-constexpr int USE_GLOBAL_INDEX = 0;
-constexpr int USE_GLOBAL_SEPARATOR_INDEX = 1;
-constexpr int USE_GLOBAL_OFFSET = 2;
-
-// CheckBoxes require a tracker for their state since we emulate a tristate CheckBox
-enum class CheckState {
- Off, // Checkbox overrides to off/false
- On, // Checkbox overrides to on/true
- Global, // Checkbox defers to the global state
- Count, // Simply the number of states, not a valid checkbox state
-};
-
-// Global-aware apply and set functions
-
-// ApplyPerGameSetting, given a Settings::Setting and a Qt UI element, properly applies a Setting
-void ApplyPerGameSetting(Settings::SwitchableSetting<bool>* setting, const QCheckBox* checkbox,
- const CheckState& tracker);
-template <typename Type, bool ranged>
-void ApplyPerGameSetting(Settings::SwitchableSetting<Type, ranged>* setting,
- const QComboBox* combobox) {
- if (Settings::IsConfiguringGlobal() && setting->UsingGlobal()) {
- setting->SetValue(static_cast<Type>(combobox->currentIndex()));
- } else if (!Settings::IsConfiguringGlobal()) {
- if (combobox->currentIndex() == ConfigurationShared::USE_GLOBAL_INDEX) {
- setting->SetGlobal(true);
- } else {
- setting->SetGlobal(false);
- setting->SetValue(static_cast<Type>(combobox->currentIndex() -
- ConfigurationShared::USE_GLOBAL_OFFSET));
- }
- }
-}
+class QObject;
-// Sets a Qt UI element given a Settings::Setting
-void SetPerGameSetting(QCheckBox* checkbox, const Settings::SwitchableSetting<bool>* setting);
-
-template <typename Type, bool ranged>
-void SetPerGameSetting(QComboBox* combobox,
- const Settings::SwitchableSetting<Type, ranged>* setting) {
- combobox->setCurrentIndex(setting->UsingGlobal() ? ConfigurationShared::USE_GLOBAL_INDEX
- : static_cast<int>(setting->GetValue()) +
- ConfigurationShared::USE_GLOBAL_OFFSET);
-}
-
-// (Un)highlights a Qt UI element
-void SetHighlight(QWidget* widget, bool highlighted);
-
-// Sets up a QCheckBox like a tristate one, given a Setting
-void SetColoredTristate(QCheckBox* checkbox, const Settings::SwitchableSetting<bool>& setting,
- CheckState& tracker);
-void SetColoredTristate(QCheckBox* checkbox, bool global, bool state, bool global_state,
- CheckState& tracker);
+namespace ConfigurationShared {
-// Sets up coloring of a QWidget `target` based on the state of a QComboBox, and calls
-// InsertGlobalItem
-void SetColoredComboBox(QComboBox* combobox, QWidget* target, int global);
+class Tab : public QWidget {
+ Q_OBJECT
-// Adds the "Use Global Configuration" selection and separator to the beginning of a QComboBox
-void InsertGlobalItem(QComboBox* combobox, int global_index);
+public:
+ explicit Tab(std::shared_ptr<std::vector<Tab*>> group, QWidget* parent = nullptr);
+ ~Tab();
-// Returns the correct index of a QComboBox taking into account global configuration
-int GetComboboxIndex(int global_setting_index, const QComboBox* combobox);
+ virtual void ApplyConfiguration() = 0;
+ virtual void SetConfiguration() = 0;
+};
} // namespace ConfigurationShared
diff --git a/src/yuzu/configuration/configure.ui b/src/yuzu/configuration/configure.ui
index eb8078467..573c40801 100644
--- a/src/yuzu/configuration/configure.ui
+++ b/src/yuzu/configuration/configure.ui
@@ -48,11 +48,34 @@
</layout>
</item>
<item>
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <property name="leftMargin">
+ <number>0</number>
</property>
- </widget>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>Some settings are only available when a game is not running.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
+ </property>
+ </widget>
+ </item>
+ </layout>
</item>
</layout>
</widget>
diff --git a/src/yuzu/configuration/configure_audio.cpp b/src/yuzu/configuration/configure_audio.cpp
index fcd6d61a0..81dd51ad3 100644
--- a/src/yuzu/configuration/configure_audio.cpp
+++ b/src/yuzu/configuration/configure_audio.cpp
@@ -1,87 +1,115 @@
// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include <map>
#include <memory>
+#include <vector>
+#include <QComboBox>
#include "audio_core/sink/sink.h"
#include "audio_core/sink/sink_details.h"
+#include "common/common_types.h"
#include "common/settings.h"
+#include "common/settings_common.h"
#include "core/core.h"
#include "ui_configure_audio.h"
#include "yuzu/configuration/configuration_shared.h"
#include "yuzu/configuration/configure_audio.h"
+#include "yuzu/configuration/shared_translation.h"
+#include "yuzu/configuration/shared_widget.h"
#include "yuzu/uisettings.h"
-ConfigureAudio::ConfigureAudio(const Core::System& system_, QWidget* parent)
- : QWidget(parent), ui(std::make_unique<Ui::ConfigureAudio>()), system{system_} {
+ConfigureAudio::ConfigureAudio(const Core::System& system_,
+ std::shared_ptr<std::vector<ConfigurationShared::Tab*>> group_,
+ const ConfigurationShared::Builder& builder, QWidget* parent)
+ : Tab(group_, parent), ui(std::make_unique<Ui::ConfigureAudio>()), system{system_} {
ui->setupUi(this);
+ Setup(builder);
- InitializeAudioSinkComboBox();
+ SetConfiguration();
+}
- connect(ui->volume_slider, &QSlider::valueChanged, this,
- &ConfigureAudio::SetVolumeIndicatorText);
- connect(ui->sink_combo_box, qOverload<int>(&QComboBox::currentIndexChanged), this,
- &ConfigureAudio::UpdateAudioDevices);
+ConfigureAudio::~ConfigureAudio() = default;
- ui->volume_label->setVisible(Settings::IsConfiguringGlobal());
- ui->volume_combo_box->setVisible(!Settings::IsConfiguringGlobal());
+void ConfigureAudio::Setup(const ConfigurationShared::Builder& builder) {
+ auto& layout = *ui->audio_widget->layout();
- SetupPerGameUI();
+ std::vector<Settings::BasicSetting*> settings;
- SetConfiguration();
+ std::map<u32, QWidget*> hold;
- const bool is_powered_on = system_.IsPoweredOn();
- ui->sink_combo_box->setEnabled(!is_powered_on);
- ui->output_combo_box->setEnabled(!is_powered_on);
- ui->input_combo_box->setEnabled(!is_powered_on);
-}
+ auto push = [&](Settings::Category category) {
+ for (auto* setting : Settings::values.linkage.by_category[category]) {
+ settings.push_back(setting);
+ }
+ for (auto* setting : UISettings::values.linkage.by_category[category]) {
+ settings.push_back(setting);
+ }
+ };
-ConfigureAudio::~ConfigureAudio() = default;
+ push(Settings::Category::Audio);
+ push(Settings::Category::SystemAudio);
-void ConfigureAudio::SetConfiguration() {
- SetOutputSinkFromSinkID();
+ for (auto* setting : settings) {
+ auto* widget = builder.BuildWidget(setting, apply_funcs);
- // The device list cannot be pre-populated (nor listed) until the output sink is known.
- UpdateAudioDevices(ui->sink_combo_box->currentIndex());
+ if (widget == nullptr) {
+ continue;
+ }
+ if (!widget->Valid()) {
+ widget->deleteLater();
+ continue;
+ }
- SetAudioDevicesFromDeviceID();
+ hold.emplace(std::pair{setting->Id(), widget});
+
+ if (setting->Id() == Settings::values.sink_id.Id()) {
+ // TODO (lat9nq): Let the system manage sink_id
+ sink_combo_box = widget->combobox;
+ InitializeAudioSinkComboBox();
+
+ connect(sink_combo_box, qOverload<int>(&QComboBox::currentIndexChanged), this,
+ &ConfigureAudio::UpdateAudioDevices);
+ } else if (setting->Id() == Settings::values.audio_output_device_id.Id()) {
+ // Keep track of output (and input) device comboboxes to populate them with system
+ // devices, which are determined at run time
+ output_device_combo_box = widget->combobox;
+ } else if (setting->Id() == Settings::values.audio_input_device_id.Id()) {
+ input_device_combo_box = widget->combobox;
+ }
+ }
- const auto volume_value = static_cast<int>(Settings::values.volume.GetValue());
- ui->volume_slider->setValue(volume_value);
- ui->toggle_background_mute->setChecked(UISettings::values.mute_when_in_background.GetValue());
+ for (const auto& [id, widget] : hold) {
+ layout.addWidget(widget);
+ }
+}
+void ConfigureAudio::SetConfiguration() {
if (!Settings::IsConfiguringGlobal()) {
- if (Settings::values.volume.UsingGlobal()) {
- ui->volume_combo_box->setCurrentIndex(0);
- ui->volume_slider->setEnabled(false);
- } else {
- ui->volume_combo_box->setCurrentIndex(1);
- ui->volume_slider->setEnabled(true);
- }
- ConfigurationShared::SetPerGameSetting(ui->combo_sound, &Settings::values.sound_index);
- ConfigurationShared::SetHighlight(ui->mode_label,
- !Settings::values.sound_index.UsingGlobal());
- ConfigurationShared::SetHighlight(ui->volume_layout,
- !Settings::values.volume.UsingGlobal());
- } else {
- ui->combo_sound->setCurrentIndex(Settings::values.sound_index.GetValue());
+ return;
}
- SetVolumeIndicatorText(ui->volume_slider->sliderPosition());
+
+ SetOutputSinkFromSinkID();
+
+ // The device list cannot be pre-populated (nor listed) until the output sink is known.
+ UpdateAudioDevices(sink_combo_box->currentIndex());
+
+ SetAudioDevicesFromDeviceID();
}
void ConfigureAudio::SetOutputSinkFromSinkID() {
- [[maybe_unused]] const QSignalBlocker blocker(ui->sink_combo_box);
+ [[maybe_unused]] const QSignalBlocker blocker(sink_combo_box);
int new_sink_index = 0;
- const QString sink_id = QString::fromStdString(Settings::values.sink_id.GetValue());
- for (int index = 0; index < ui->sink_combo_box->count(); index++) {
- if (ui->sink_combo_box->itemText(index) == sink_id) {
+ const QString sink_id = QString::fromStdString(Settings::values.sink_id.ToString());
+ for (int index = 0; index < sink_combo_box->count(); index++) {
+ if (sink_combo_box->itemText(index) == sink_id) {
new_sink_index = index;
break;
}
}
- ui->sink_combo_box->setCurrentIndex(new_sink_index);
+ sink_combo_box->setCurrentIndex(new_sink_index);
}
void ConfigureAudio::SetAudioDevicesFromDeviceID() {
@@ -89,57 +117,42 @@ void ConfigureAudio::SetAudioDevicesFromDeviceID() {
const QString output_device_id =
QString::fromStdString(Settings::values.audio_output_device_id.GetValue());
- for (int index = 0; index < ui->output_combo_box->count(); index++) {
- if (ui->output_combo_box->itemText(index) == output_device_id) {
+ for (int index = 0; index < output_device_combo_box->count(); index++) {
+ if (output_device_combo_box->itemText(index) == output_device_id) {
new_device_index = index;
break;
}
}
- ui->output_combo_box->setCurrentIndex(new_device_index);
+ output_device_combo_box->setCurrentIndex(new_device_index);
new_device_index = -1;
const QString input_device_id =
QString::fromStdString(Settings::values.audio_input_device_id.GetValue());
- for (int index = 0; index < ui->input_combo_box->count(); index++) {
- if (ui->input_combo_box->itemText(index) == input_device_id) {
+ for (int index = 0; index < input_device_combo_box->count(); index++) {
+ if (input_device_combo_box->itemText(index) == input_device_id) {
new_device_index = index;
break;
}
}
- ui->input_combo_box->setCurrentIndex(new_device_index);
-}
-
-void ConfigureAudio::SetVolumeIndicatorText(int percentage) {
- ui->volume_indicator->setText(tr("%1%", "Volume percentage (e.g. 50%)").arg(percentage));
+ input_device_combo_box->setCurrentIndex(new_device_index);
}
void ConfigureAudio::ApplyConfiguration() {
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.sound_index, ui->combo_sound);
+ const bool is_powered_on = system.IsPoweredOn();
+ for (const auto& apply_func : apply_funcs) {
+ apply_func(is_powered_on);
+ }
if (Settings::IsConfiguringGlobal()) {
- Settings::values.sink_id =
- ui->sink_combo_box->itemText(ui->sink_combo_box->currentIndex()).toStdString();
+ Settings::values.sink_id.LoadString(
+ sink_combo_box->itemText(sink_combo_box->currentIndex()).toStdString());
Settings::values.audio_output_device_id.SetValue(
- ui->output_combo_box->itemText(ui->output_combo_box->currentIndex()).toStdString());
+ output_device_combo_box->itemText(output_device_combo_box->currentIndex())
+ .toStdString());
Settings::values.audio_input_device_id.SetValue(
- ui->input_combo_box->itemText(ui->input_combo_box->currentIndex()).toStdString());
- UISettings::values.mute_when_in_background = ui->toggle_background_mute->isChecked();
-
- // Guard if during game and set to game-specific value
- if (Settings::values.volume.UsingGlobal()) {
- const auto volume = static_cast<u8>(ui->volume_slider->value());
- Settings::values.volume.SetValue(volume);
- }
- } else {
- if (ui->volume_combo_box->currentIndex() == 0) {
- Settings::values.volume.SetGlobal(true);
- } else {
- Settings::values.volume.SetGlobal(false);
- const auto volume = static_cast<u8>(ui->volume_slider->value());
- Settings::values.volume.SetValue(volume);
- }
+ input_device_combo_box->itemText(input_device_combo_box->currentIndex()).toStdString());
}
}
@@ -152,54 +165,31 @@ void ConfigureAudio::changeEvent(QEvent* event) {
}
void ConfigureAudio::UpdateAudioDevices(int sink_index) {
- ui->output_combo_box->clear();
- ui->output_combo_box->addItem(QString::fromUtf8(AudioCore::Sink::auto_device_name));
+ output_device_combo_box->clear();
+ output_device_combo_box->addItem(QString::fromUtf8(AudioCore::Sink::auto_device_name));
- const std::string sink_id = ui->sink_combo_box->itemText(sink_index).toStdString();
+ const auto sink_id =
+ Settings::ToEnum<Settings::AudioEngine>(sink_combo_box->itemText(sink_index).toStdString());
for (const auto& device : AudioCore::Sink::GetDeviceListForSink(sink_id, false)) {
- ui->output_combo_box->addItem(QString::fromStdString(device));
+ output_device_combo_box->addItem(QString::fromStdString(device));
}
- ui->input_combo_box->clear();
- ui->input_combo_box->addItem(QString::fromUtf8(AudioCore::Sink::auto_device_name));
+ input_device_combo_box->clear();
+ input_device_combo_box->addItem(QString::fromUtf8(AudioCore::Sink::auto_device_name));
for (const auto& device : AudioCore::Sink::GetDeviceListForSink(sink_id, true)) {
- ui->input_combo_box->addItem(QString::fromStdString(device));
+ input_device_combo_box->addItem(QString::fromStdString(device));
}
}
void ConfigureAudio::InitializeAudioSinkComboBox() {
- ui->sink_combo_box->clear();
- ui->sink_combo_box->addItem(QString::fromUtf8(AudioCore::Sink::auto_device_name));
+ sink_combo_box->clear();
+ sink_combo_box->addItem(QString::fromUtf8(AudioCore::Sink::auto_device_name));
for (const auto& id : AudioCore::Sink::GetSinkIDs()) {
- ui->sink_combo_box->addItem(QString::fromUtf8(id.data(), static_cast<s32>(id.length())));
+ sink_combo_box->addItem(QString::fromStdString(Settings::CanonicalizeEnum(id)));
}
}
void ConfigureAudio::RetranslateUI() {
ui->retranslateUi(this);
- SetVolumeIndicatorText(ui->volume_slider->sliderPosition());
-}
-
-void ConfigureAudio::SetupPerGameUI() {
- if (Settings::IsConfiguringGlobal()) {
- ui->combo_sound->setEnabled(Settings::values.sound_index.UsingGlobal());
- ui->volume_slider->setEnabled(Settings::values.volume.UsingGlobal());
- return;
- }
-
- ConfigurationShared::SetColoredComboBox(ui->combo_sound, ui->mode_label,
- Settings::values.sound_index.GetValue(true));
-
- connect(ui->volume_combo_box, qOverload<int>(&QComboBox::activated), this, [this](int index) {
- ui->volume_slider->setEnabled(index == 1);
- ConfigurationShared::SetHighlight(ui->volume_layout, index == 1);
- });
-
- ui->sink_combo_box->setVisible(false);
- ui->sink_label->setVisible(false);
- ui->output_combo_box->setVisible(false);
- ui->output_label->setVisible(false);
- ui->input_combo_box->setVisible(false);
- ui->input_label->setVisible(false);
}
diff --git a/src/yuzu/configuration/configure_audio.h b/src/yuzu/configuration/configure_audio.h
index 0d03aae1d..79538e81c 100644
--- a/src/yuzu/configuration/configure_audio.h
+++ b/src/yuzu/configuration/configure_audio.h
@@ -3,30 +3,35 @@
#pragma once
+#include <functional>
#include <memory>
+#include <vector>
#include <QWidget>
+#include "yuzu/configuration/configuration_shared.h"
+
+class QComboBox;
namespace Core {
class System;
}
-namespace ConfigurationShared {
-enum class CheckState;
-}
-
namespace Ui {
class ConfigureAudio;
}
-class ConfigureAudio : public QWidget {
- Q_OBJECT
+namespace ConfigurationShared {
+class Builder;
+}
+class ConfigureAudio : public ConfigurationShared::Tab {
public:
- explicit ConfigureAudio(const Core::System& system_, QWidget* parent = nullptr);
+ explicit ConfigureAudio(const Core::System& system_,
+ std::shared_ptr<std::vector<ConfigurationShared::Tab*>> group,
+ const ConfigurationShared::Builder& builder, QWidget* parent = nullptr);
~ConfigureAudio() override;
- void ApplyConfiguration();
- void SetConfiguration();
+ void ApplyConfiguration() override;
+ void SetConfiguration() override;
private:
void changeEvent(QEvent* event) override;
@@ -39,11 +44,16 @@ private:
void SetOutputSinkFromSinkID();
void SetAudioDevicesFromDeviceID();
- void SetVolumeIndicatorText(int percentage);
- void SetupPerGameUI();
+ void Setup(const ConfigurationShared::Builder& builder);
std::unique_ptr<Ui::ConfigureAudio> ui;
const Core::System& system;
+
+ std::vector<std::function<void(bool)>> apply_funcs{};
+
+ QComboBox* sink_combo_box;
+ QComboBox* output_device_combo_box;
+ QComboBox* input_device_combo_box;
};
diff --git a/src/yuzu/configuration/configure_audio.ui b/src/yuzu/configuration/configure_audio.ui
index 4128c83ad..1181aeb00 100644
--- a/src/yuzu/configuration/configure_audio.ui
+++ b/src/yuzu/configuration/configure_audio.ui
@@ -21,80 +21,14 @@
</property>
<layout class="QVBoxLayout">
<item>
- <layout class="QHBoxLayout" name="engine_layout">
- <item>
- <widget class="QLabel" name="sink_label">
- <property name="text">
- <string>Output Engine:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="sink_combo_box"/>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="output_layout">
- <item>
- <widget class="QLabel" name="output_label">
- <property name="text">
- <string>Output Device:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="output_combo_box"/>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="input_layout">
- <item>
- <widget class="QLabel" name="input_label">
- <property name="text">
- <string>Input Device:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="input_combo_box"/>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="mode_layout">
- <item>
- <widget class="QLabel" name="mode_label">
- <property name="text">
- <string>Sound Output Mode:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="combo_sound">
- <item>
- <property name="text">
- <string>Mono</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Stereo</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Surround</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QWidget" name="volume_layout" native="true">
- <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <widget class="QWidget" name="audio_widget" native="true">
+ <property name="maximumSize">
+ <size>
+ <width>16777215</width>
+ <height>16777213</height>
+ </size>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>0</number>
</property>
@@ -107,89 +41,9 @@
<property name="bottomMargin">
<number>0</number>
</property>
- <item>
- <widget class="QComboBox" name="volume_combo_box">
- <item>
- <property name="text">
- <string>Use global volume</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Set volume:</string>
- </property>
- </item>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="volume_label">
- <property name="text">
- <string>Volume:</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>30</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QSlider" name="volume_slider">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="maximum">
- <number>200</number>
- </property>
- <property name="pageStep">
- <number>5</number>
- </property>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="volume_indicator">
- <property name="minimumSize">
- <size>
- <width>32</width>
- <height>0</height>
- </size>
- </property>
- <property name="text">
- <string>0 %</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
</layout>
</widget>
</item>
- <item>
- <layout class="QHBoxLayout" name="mute_layout">
- <item>
- <widget class="QCheckBox" name="toggle_background_mute">
- <property name="text">
- <string>Mute audio when in background</string>
- </property>
- </widget>
- </item>
- </layout>
- </item>
</layout>
</widget>
</item>
diff --git a/src/yuzu/configuration/configure_cpu.cpp b/src/yuzu/configuration/configure_cpu.cpp
index 3d69fb03f..a51359903 100644
--- a/src/yuzu/configuration/configure_cpu.cpp
+++ b/src/yuzu/configuration/configure_cpu.cpp
@@ -1,88 +1,92 @@
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include <memory>
+#include <typeinfo>
+#include <vector>
+#include <QComboBox>
#include "common/common_types.h"
#include "common/settings.h"
+#include "common/settings_enums.h"
+#include "configuration/shared_widget.h"
#include "core/core.h"
#include "ui_configure_cpu.h"
#include "yuzu/configuration/configuration_shared.h"
#include "yuzu/configuration/configure_cpu.h"
-ConfigureCpu::ConfigureCpu(const Core::System& system_, QWidget* parent)
- : QWidget(parent), ui{std::make_unique<Ui::ConfigureCpu>()}, system{system_} {
+ConfigureCpu::ConfigureCpu(const Core::System& system_,
+ std::shared_ptr<std::vector<ConfigurationShared::Tab*>> group_,
+ const ConfigurationShared::Builder& builder, QWidget* parent)
+ : Tab(group_, parent), ui{std::make_unique<Ui::ConfigureCpu>()}, system{system_},
+ combobox_translations(builder.ComboboxTranslations()) {
ui->setupUi(this);
- SetupPerGameUI();
+ Setup(builder);
SetConfiguration();
- connect(ui->accuracy, qOverload<int>(&QComboBox::currentIndexChanged), this,
+ connect(accuracy_combobox, qOverload<int>(&QComboBox::currentIndexChanged), this,
&ConfigureCpu::UpdateGroup);
}
ConfigureCpu::~ConfigureCpu() = default;
-void ConfigureCpu::SetConfiguration() {
- const bool runtime_lock = !system.IsPoweredOn();
-
- ui->accuracy->setEnabled(runtime_lock);
- ui->cpuopt_unsafe_unfuse_fma->setEnabled(runtime_lock);
- ui->cpuopt_unsafe_reduce_fp_error->setEnabled(runtime_lock);
- ui->cpuopt_unsafe_ignore_standard_fpcr->setEnabled(runtime_lock);
- ui->cpuopt_unsafe_inaccurate_nan->setEnabled(runtime_lock);
- ui->cpuopt_unsafe_fastmem_check->setEnabled(runtime_lock);
- ui->cpuopt_unsafe_ignore_global_monitor->setEnabled(runtime_lock);
-
- ui->cpuopt_unsafe_unfuse_fma->setChecked(Settings::values.cpuopt_unsafe_unfuse_fma.GetValue());
- ui->cpuopt_unsafe_reduce_fp_error->setChecked(
- Settings::values.cpuopt_unsafe_reduce_fp_error.GetValue());
- ui->cpuopt_unsafe_ignore_standard_fpcr->setChecked(
- Settings::values.cpuopt_unsafe_ignore_standard_fpcr.GetValue());
- ui->cpuopt_unsafe_inaccurate_nan->setChecked(
- Settings::values.cpuopt_unsafe_inaccurate_nan.GetValue());
- ui->cpuopt_unsafe_fastmem_check->setChecked(
- Settings::values.cpuopt_unsafe_fastmem_check.GetValue());
- ui->cpuopt_unsafe_ignore_global_monitor->setChecked(
- Settings::values.cpuopt_unsafe_ignore_global_monitor.GetValue());
-
- if (Settings::IsConfiguringGlobal()) {
- ui->accuracy->setCurrentIndex(static_cast<int>(Settings::values.cpu_accuracy.GetValue()));
- } else {
- ConfigurationShared::SetPerGameSetting(ui->accuracy, &Settings::values.cpu_accuracy);
- ConfigurationShared::SetHighlight(ui->widget_accuracy,
- !Settings::values.cpu_accuracy.UsingGlobal());
+void ConfigureCpu::SetConfiguration() {}
+void ConfigureCpu::Setup(const ConfigurationShared::Builder& builder) {
+ auto* accuracy_layout = ui->widget_accuracy->layout();
+ auto* unsafe_layout = ui->unsafe_widget->layout();
+ std::map<u32, QWidget*> unsafe_hold{};
+
+ std::vector<Settings::BasicSetting*> settings;
+ const auto push = [&](Settings::Category category) {
+ for (const auto setting : Settings::values.linkage.by_category[category]) {
+ settings.push_back(setting);
+ }
+ };
+
+ push(Settings::Category::Cpu);
+ push(Settings::Category::CpuUnsafe);
+
+ for (const auto setting : settings) {
+ auto* widget = builder.BuildWidget(setting, apply_funcs);
+
+ if (widget == nullptr) {
+ continue;
+ }
+ if (!widget->Valid()) {
+ widget->deleteLater();
+ continue;
+ }
+
+ if (setting->Id() == Settings::values.cpu_accuracy.Id()) {
+ // Keep track of cpu_accuracy combobox to display/hide the unsafe settings
+ accuracy_layout->addWidget(widget);
+ accuracy_combobox = widget->combobox;
+ } else {
+ // Presently, all other settings here are unsafe checkboxes
+ unsafe_hold.insert({setting->Id(), widget});
+ }
}
- UpdateGroup(ui->accuracy->currentIndex());
+
+ for (const auto& [label, widget] : unsafe_hold) {
+ unsafe_layout->addWidget(widget);
+ }
+
+ UpdateGroup(accuracy_combobox->currentIndex());
}
void ConfigureCpu::UpdateGroup(int index) {
- if (!Settings::IsConfiguringGlobal()) {
- index -= ConfigurationShared::USE_GLOBAL_OFFSET;
- }
- const auto accuracy = static_cast<Settings::CPUAccuracy>(index);
- ui->unsafe_group->setVisible(accuracy == Settings::CPUAccuracy::Unsafe);
+ const auto accuracy = static_cast<Settings::CpuAccuracy>(
+ combobox_translations.at(Settings::EnumMetadata<Settings::CpuAccuracy>::Index())[index]
+ .first);
+ ui->unsafe_group->setVisible(accuracy == Settings::CpuAccuracy::Unsafe);
}
void ConfigureCpu::ApplyConfiguration() {
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.cpu_accuracy, ui->accuracy);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.cpuopt_unsafe_unfuse_fma,
- ui->cpuopt_unsafe_unfuse_fma,
- cpuopt_unsafe_unfuse_fma);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.cpuopt_unsafe_reduce_fp_error,
- ui->cpuopt_unsafe_reduce_fp_error,
- cpuopt_unsafe_reduce_fp_error);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.cpuopt_unsafe_ignore_standard_fpcr,
- ui->cpuopt_unsafe_ignore_standard_fpcr,
- cpuopt_unsafe_ignore_standard_fpcr);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.cpuopt_unsafe_inaccurate_nan,
- ui->cpuopt_unsafe_inaccurate_nan,
- cpuopt_unsafe_inaccurate_nan);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.cpuopt_unsafe_fastmem_check,
- ui->cpuopt_unsafe_fastmem_check,
- cpuopt_unsafe_fastmem_check);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.cpuopt_unsafe_ignore_global_monitor,
- ui->cpuopt_unsafe_ignore_global_monitor,
- cpuopt_unsafe_ignore_global_monitor);
+ const bool is_powered_on = system.IsPoweredOn();
+ for (const auto& apply_func : apply_funcs) {
+ apply_func(is_powered_on);
+ }
}
void ConfigureCpu::changeEvent(QEvent* event) {
@@ -96,32 +100,3 @@ void ConfigureCpu::changeEvent(QEvent* event) {
void ConfigureCpu::RetranslateUI() {
ui->retranslateUi(this);
}
-
-void ConfigureCpu::SetupPerGameUI() {
- if (Settings::IsConfiguringGlobal()) {
- return;
- }
-
- ConfigurationShared::SetColoredComboBox(
- ui->accuracy, ui->widget_accuracy,
- static_cast<u32>(Settings::values.cpu_accuracy.GetValue(true)));
-
- ConfigurationShared::SetColoredTristate(ui->cpuopt_unsafe_unfuse_fma,
- Settings::values.cpuopt_unsafe_unfuse_fma,
- cpuopt_unsafe_unfuse_fma);
- ConfigurationShared::SetColoredTristate(ui->cpuopt_unsafe_reduce_fp_error,
- Settings::values.cpuopt_unsafe_reduce_fp_error,
- cpuopt_unsafe_reduce_fp_error);
- ConfigurationShared::SetColoredTristate(ui->cpuopt_unsafe_ignore_standard_fpcr,
- Settings::values.cpuopt_unsafe_ignore_standard_fpcr,
- cpuopt_unsafe_ignore_standard_fpcr);
- ConfigurationShared::SetColoredTristate(ui->cpuopt_unsafe_inaccurate_nan,
- Settings::values.cpuopt_unsafe_inaccurate_nan,
- cpuopt_unsafe_inaccurate_nan);
- ConfigurationShared::SetColoredTristate(ui->cpuopt_unsafe_fastmem_check,
- Settings::values.cpuopt_unsafe_fastmem_check,
- cpuopt_unsafe_fastmem_check);
- ConfigurationShared::SetColoredTristate(ui->cpuopt_unsafe_ignore_global_monitor,
- Settings::values.cpuopt_unsafe_ignore_global_monitor,
- cpuopt_unsafe_ignore_global_monitor);
-}
diff --git a/src/yuzu/configuration/configure_cpu.h b/src/yuzu/configuration/configure_cpu.h
index 86d928ca3..61a6de7aa 100644
--- a/src/yuzu/configuration/configure_cpu.h
+++ b/src/yuzu/configuration/configure_cpu.h
@@ -4,29 +4,34 @@
#pragma once
#include <memory>
+#include <vector>
#include <QWidget>
+#include "yuzu/configuration/configuration_shared.h"
+#include "yuzu/configuration/shared_translation.h"
+
+class QComboBox;
namespace Core {
class System;
}
-namespace ConfigurationShared {
-enum class CheckState;
-}
-
namespace Ui {
class ConfigureCpu;
}
-class ConfigureCpu : public QWidget {
- Q_OBJECT
+namespace ConfigurationShared {
+class Builder;
+}
+class ConfigureCpu : public ConfigurationShared::Tab {
public:
- explicit ConfigureCpu(const Core::System& system_, QWidget* parent = nullptr);
+ explicit ConfigureCpu(const Core::System& system_,
+ std::shared_ptr<std::vector<ConfigurationShared::Tab*>> group,
+ const ConfigurationShared::Builder& builder, QWidget* parent = nullptr);
~ConfigureCpu() override;
- void ApplyConfiguration();
- void SetConfiguration();
+ void ApplyConfiguration() override;
+ void SetConfiguration() override;
private:
void changeEvent(QEvent* event) override;
@@ -34,16 +39,14 @@ private:
void UpdateGroup(int index);
- void SetupPerGameUI();
+ void Setup(const ConfigurationShared::Builder& builder);
std::unique_ptr<Ui::ConfigureCpu> ui;
- ConfigurationShared::CheckState cpuopt_unsafe_unfuse_fma;
- ConfigurationShared::CheckState cpuopt_unsafe_reduce_fp_error;
- ConfigurationShared::CheckState cpuopt_unsafe_ignore_standard_fpcr;
- ConfigurationShared::CheckState cpuopt_unsafe_inaccurate_nan;
- ConfigurationShared::CheckState cpuopt_unsafe_fastmem_check;
- ConfigurationShared::CheckState cpuopt_unsafe_ignore_global_monitor;
-
const Core::System& system;
+
+ const ConfigurationShared::ComboboxTranslationMap& combobox_translations;
+ std::vector<std::function<void(bool)>> apply_funcs{};
+
+ QComboBox* accuracy_combobox;
};
diff --git a/src/yuzu/configuration/configure_cpu.ui b/src/yuzu/configuration/configure_cpu.ui
index 8ae569ee6..f734e842e 100644
--- a/src/yuzu/configuration/configure_cpu.ui
+++ b/src/yuzu/configuration/configure_cpu.ui
@@ -16,9 +16,12 @@
<property name="accessibleName">
<string>CPU</string>
</property>
- <layout class="QVBoxLayout">
+ <layout class="QVBoxLayout" name="vboxlayout_2" stretch="0">
<item>
- <layout class="QVBoxLayout">
+ <layout class="QVBoxLayout" name="vboxlayout">
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
<item>
<widget class="QGroupBox" name="groupBox">
<property name="title">
@@ -27,38 +30,19 @@
<layout class="QVBoxLayout">
<item>
<widget class="QWidget" name="widget_accuracy" native="true">
- <layout class="QHBoxLayout" name="layout_accuracy">
- <item>
- <widget class="QLabel" name="label_accuracy">
- <property name="text">
- <string>Accuracy:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="accuracy">
- <item>
- <property name="text">
- <string>Auto</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Accurate</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Unsafe</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Paranoid (disables most optimizations)</string>
- </property>
- </item>
- </widget>
- </item>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
</layout>
</widget>
</item>
@@ -75,10 +59,6 @@
</layout>
</widget>
</item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout">
<item>
<widget class="QGroupBox" name="unsafe_group">
<property name="title">
@@ -96,105 +76,44 @@
</widget>
</item>
<item>
- <widget class="QCheckBox" name="cpuopt_unsafe_unfuse_fma">
- <property name="toolTip">
- <string>
- &lt;div&gt;This option improves speed by reducing accuracy of fused-multiply-add instructions on CPUs without native FMA support.&lt;/div&gt;
- </string>
- </property>
- <property name="text">
- <string>Unfuse FMA (improve performance on CPUs without FMA)</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="cpuopt_unsafe_reduce_fp_error">
- <property name="toolTip">
- <string>
- &lt;div&gt;This option improves the speed of some approximate floating-point functions by using less accurate native approximations.&lt;/div&gt;
- </string>
- </property>
- <property name="text">
- <string>Faster FRSQRTE and FRECPE</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="cpuopt_unsafe_ignore_standard_fpcr">
- <property name="toolTip">
- <string>
- &lt;div&gt;This option improves the speed of 32 bits ASIMD floating-point functions by running with incorrect rounding modes.&lt;/div&gt;
- </string>
- </property>
- <property name="text">
- <string>Faster ASIMD instructions (32 bits only)</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="cpuopt_unsafe_inaccurate_nan">
- <property name="toolTip">
- <string>
- &lt;div&gt;This option improves speed by removing NaN checking. Please note this also reduces accuracy of certain floating-point instructions.&lt;/div&gt;
- </string>
- </property>
- <property name="text">
- <string>Inaccurate NaN handling</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="cpuopt_unsafe_fastmem_check">
- <property name="toolTip">
- <string>
- &lt;div&gt;This option improves speed by eliminating a safety check before every memory read/write in guest. Disabling it may allow a game to read/write the emulator's memory.&lt;/div&gt;
- </string>
- </property>
- <property name="text">
- <string>Disable address space checks</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="cpuopt_unsafe_ignore_global_monitor">
- <property name="toolTip">
- <string>
- &lt;div&gt;This option improves speed by relying only on the semantics of cmpxchg to ensure safety of exclusive access instructions. Please note this may result in deadlocks and other race conditions.&lt;/div&gt;
- </string>
- </property>
- <property name="text">
- <string>Ignore global monitor</string>
- </property>
+ <widget class="QWidget" name="unsafe_widget" native="true">
+ <layout class="QVBoxLayout" name="unsafe_layout">
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ </layout>
</widget>
</item>
</layout>
</widget>
</item>
+ <item>
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
</layout>
</item>
- <item>
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
- <widget class="QLabel" name="label_disable_info">
- <property name="text">
- <string>CPU settings are available only when game is not running.</string>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
</layout>
</widget>
<resources/>
diff --git a/src/yuzu/configuration/configure_debug.cpp b/src/yuzu/configuration/configure_debug.cpp
index cbeb8f168..b22fda746 100644
--- a/src/yuzu/configuration/configure_debug.cpp
+++ b/src/yuzu/configuration/configure_debug.cpp
@@ -59,6 +59,8 @@ void ConfigureDebug::SetConfiguration() {
ui->use_debug_asserts->setChecked(Settings::values.use_debug_asserts.GetValue());
ui->use_auto_stub->setChecked(Settings::values.use_auto_stub.GetValue());
ui->enable_all_controllers->setChecked(Settings::values.enable_all_controllers.GetValue());
+ ui->enable_renderdoc_hotkey->setEnabled(runtime_lock);
+ ui->enable_renderdoc_hotkey->setChecked(Settings::values.enable_renderdoc_hotkey.GetValue());
ui->enable_graphics_debugging->setEnabled(runtime_lock);
ui->enable_graphics_debugging->setChecked(Settings::values.renderer_debug.GetValue());
ui->enable_shader_feedback->setEnabled(runtime_lock);
@@ -111,6 +113,7 @@ void ConfigureDebug::ApplyConfiguration() {
Settings::values.use_auto_stub = ui->use_auto_stub->isChecked();
Settings::values.enable_all_controllers = ui->enable_all_controllers->isChecked();
Settings::values.renderer_debug = ui->enable_graphics_debugging->isChecked();
+ Settings::values.enable_renderdoc_hotkey = ui->enable_renderdoc_hotkey->isChecked();
Settings::values.renderer_shader_feedback = ui->enable_shader_feedback->isChecked();
Settings::values.cpu_debug_mode = ui->enable_cpu_debugging->isChecked();
Settings::values.enable_nsight_aftermath = ui->enable_nsight_aftermath->isChecked();
diff --git a/src/yuzu/configuration/configure_debug.ui b/src/yuzu/configuration/configure_debug.ui
index 15acefe33..66b8b7459 100644
--- a/src/yuzu/configuration/configure_debug.ui
+++ b/src/yuzu/configuration/configure_debug.ui
@@ -2,360 +2,556 @@
<ui version="4.0">
<class>ConfigureDebug</class>
<widget class="QScrollArea" name="ConfigureDebug">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>831</width>
+ <height>760</height>
+ </rect>
+ </property>
<property name="widgetResizable">
<bool>true</bool>
</property>
- <widget class="QWidget">
- <layout class="QVBoxLayout" name="verticalLayout_1">
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QGroupBox" name="groupBox">
- <property name="title">
- <string>Debugger</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_11">
- <item>
- <widget class="QCheckBox" name="toggle_gdbstub">
- <property name="text">
- <string>Enable GDB Stub</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
+ <widget class="QWidget" name="widget">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>842</width>
+ <height>741</height>
+ </rect>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout_1">
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="QGroupBox" name="groupBox">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="title">
+ <string>Debugger</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>
+ </property>
+ <property name="flat">
+ <bool>false</bool>
+ </property>
+ <property name="checkable">
+ <bool>false</bool>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout_3">
+ <item>
+ <widget class="QWidget" name="debug_widget" native="true">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout">
+ <property name="sizeConstraint">
+ <enum>QLayout::SetDefaultConstraint</enum>
</property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
+ <property name="leftMargin">
+ <number>0</number>
</property>
- </spacer>
- </item>
- <item>
- <widget class="QLabel" name="label_11">
- <property name="text">
- <string>Port:</string>
+ <property name="topMargin">
+ <number>0</number>
</property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="gdbport_spinbox">
- <property name="minimum">
- <number>1024</number>
+ <property name="rightMargin">
+ <number>0</number>
</property>
- <property name="maximum">
- <number>65535</number>
+ <property name="bottomMargin">
+ <number>0</number>
</property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_2">
- <property name="title">
- <string>Logging</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_1">
- <item row="0" column="0" colspan="2">
- <layout class="QHBoxLayout" name="horizontalLayout_1">
- <item>
- <widget class="QLabel" name="label_1">
- <property name="text">
- <string>Global Log Filter</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="log_filter_edit"/>
- </item>
- </layout>
- </item>
- <item row="1" column="0">
- <widget class="QCheckBox" name="toggle_console">
- <property name="text">
- <string>Show Log in Console</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QPushButton" name="open_log_button">
- <property name="text">
- <string>Open Log Location</string>
- </property>
+ <item>
+ <widget class="QCheckBox" name="toggle_gdbstub">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Maximum" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Enable GDB Stub</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QWidget" name="horizontalWidget_3" native="true">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout_3">
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="QLabel" name="label_11">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Port:</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QSpinBox" name="gdbport_spinbox">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimum">
+ <number>1024</number>
+ </property>
+ <property name="maximum">
+ <number>65535</number>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ </layout>
</widget>
</item>
- <item row="2" column="0">
- <widget class="QCheckBox" name="extended_logging">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="toolTip">
- <string>When checked, the max size of the log increases from 100 MB to 1 GB</string>
- </property>
- <property name="text">
- <string>Enable Extended Logging**</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_3">
- <property name="title">
- <string>Homebrew</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_5">
<item>
- <layout class="QHBoxLayout" name="horizontalLayout_4">
- <item>
- <widget class="QLabel" name="label_3">
- <property name="text">
- <string>Arguments String</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="homebrew_args_edit"/>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_4">
- <property name="title">
- <string>Graphics</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="0" column="0">
- <widget class="QCheckBox" name="enable_graphics_debugging">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="toolTip">
- <string>When checked, the graphics API enters a slower debugging mode</string>
- </property>
- <property name="text">
- <string>Enable Graphics Debugging</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QCheckBox" name="enable_nsight_aftermath">
- <property name="toolTip">
- <string>When checked, it enables Nsight Aftermath crash dumps</string>
- </property>
- <property name="text">
- <string>Enable Nsight Aftermath</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QCheckBox" name="dump_shaders">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="toolTip">
- <string>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</string>
- </property>
- <property name="text">
- <string>Dump Game Shaders</string>
- </property>
- </widget>
- </item>
- <item row="1" column="2">
- <widget class="QCheckBox" name="dump_macros">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="toolTip">
- <string>When checked, it will dump all the macro programs of the GPU</string>
- </property>
- <property name="text">
- <string>Dump Maxwell Macros</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QCheckBox" name="disable_macro_jit">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="toolTip">
- <string>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</string>
- </property>
- <property name="text">
- <string>Disable Macro JIT</string>
- </property>
- </widget>
- </item>
- <item row="0" column="2">
- <widget class="QCheckBox" name="disable_macro_hle">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="toolTip">
- <string>When checked, it disables the macro HLE functions. Enabling this makes games run slower</string>
- </property>
- <property name="text">
- <string>Disable Macro HLE</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QCheckBox" name="enable_shader_feedback">
- <property name="toolTip">
- <string>When checked, yuzu will log statistics about the compiled pipeline cache</string>
- </property>
- <property name="text">
- <string>Enable Shader Feedback</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QCheckBox" name="disable_loop_safety_checks">
- <property name="toolTip">
- <string>When checked, it executes shaders without loop logic changes</string>
- </property>
- <property name="text">
- <string>Disable Loop safety checks</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_5">
- <property name="title">
- <string>Debugging</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_3">
- <item row="2" column="0">
- <widget class="QCheckBox" name="reporting_services">
- <property name="text">
- <string>Enable Verbose Reporting Services**</string>
- </property>
- </widget>
- </item>
- <item row="0" column="0">
- <widget class="QCheckBox" name="fs_access_log">
- <property name="text">
- <string>Enable FS Access Log</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QCheckBox" name="dump_audio_commands">
- <property name="toolTip">
- <string>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</string>
- </property>
- <property name="text">
- <string>Dump Audio Commands To Console**</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QCheckBox" name="create_crash_dumps">
- <property name="text">
- <string>Create Minidump After Crash</string>
- </property>
+ <widget class="QGroupBox" name="groupBox_2">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="title">
+ <string>Logging</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_1">
+ <item row="1" column="1">
+ <widget class="QPushButton" name="open_log_button">
+ <property name="text">
+ <string>Open Log Location</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0" colspan="2">
+ <widget class="QWidget" name="logging_widget" native="true">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <layout class="QHBoxLayout" name="horizontalLayout_1">
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ <item>
+ <widget class="QLabel" name="label_1">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Global Log Filter</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="log_filter_edit"/>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QCheckBox" name="extended_logging">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="toolTip">
+ <string>When checked, the max size of the log increases from 100 MB to 1 GB</string>
+ </property>
+ <property name="text">
+ <string>Enable Extended Logging**</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QCheckBox" name="toggle_console">
+ <property name="text">
+ <string>Show Log in Console</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</widget>
</item>
</layout>
- </widget>
- </item>
- <item>
- <widget class="QGroupBox" name="groupBox_6">
- <property name="title">
- <string>Advanced</string>
- </property>
- <layout class="QGridLayout" name="gridLayout_4">
- <item row="0" column="0">
- <widget class="QCheckBox" name="quest_flag">
- <property name="text">
- <string>Kiosk (Quest) Mode</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QCheckBox" name="enable_cpu_debugging">
- <property name="text">
- <string>Enable CPU Debugging</string>
- </property>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QCheckBox" name="use_debug_asserts">
- <property name="text">
- <string>Enable Debug Asserts</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QCheckBox" name="use_auto_stub">
- <property name="text">
- <string>Enable Auto-Stub**</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QCheckBox" name="enable_all_controllers">
- <property name="text">
- <string>Enable All Controller Types</string>
- </property>
+ </item>
+ <item>
+ <widget class="QGroupBox" name="groupBox_3">
+ <property name="title">
+ <string>Homebrew</string>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout_5">
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_4">
+ <item>
+ <widget class="QLabel" name="label_3">
+ <property name="text">
+ <string>Arguments String</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLineEdit" name="homebrew_args_edit"/>
+ </item>
+ </layout>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <item>
+ <widget class="QGroupBox" name="groupBox_4">
+ <property name="title">
+ <string>Graphics</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_2">
+ <item row="4" column="0">
+ <widget class="QCheckBox" name="disable_loop_safety_checks">
+ <property name="toolTip">
+ <string>When checked, it executes shaders without loop logic changes</string>
+ </property>
+ <property name="text">
+ <string>Disable Loop safety checks</string>
+ </property>
+ </widget>
+ </item>
+ <item row="8" column="0">
+ <widget class="QCheckBox" name="disable_macro_hle">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="toolTip">
+ <string>When checked, it disables the macro HLE functions. Enabling this makes games run slower</string>
+ </property>
+ <property name="text">
+ <string>Disable Macro HLE</string>
+ </property>
+ </widget>
+ </item>
+ <item row="7" column="0">
+ <widget class="QCheckBox" name="dump_macros">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="toolTip">
+ <string>When checked, it will dump all the macro programs of the GPU</string>
+ </property>
+ <property name="text">
+ <string>Dump Maxwell Macros</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <widget class="QCheckBox" name="enable_nsight_aftermath">
+ <property name="toolTip">
+ <string>When checked, it enables Nsight Aftermath crash dumps</string>
+ </property>
+ <property name="text">
+ <string>Enable Nsight Aftermath</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QCheckBox" name="enable_shader_feedback">
+ <property name="toolTip">
+ <string>When checked, yuzu will log statistics about the compiled pipeline cache</string>
+ </property>
+ <property name="text">
+ <string>Enable Shader Feedback</string>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="0">
+ <widget class="QCheckBox" name="disable_macro_jit">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="toolTip">
+ <string>When checked, it disables the macro Just In Time compiler. Enabling this makes games run slower</string>
+ </property>
+ <property name="text">
+ <string>Disable Macro JIT</string>
+ </property>
+ </widget>
+ </item>
+ <item row="9" column="0">
+ <spacer name="verticalSpacer_5">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Preferred</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>0</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="0" column="0">
+ <widget class="QCheckBox" name="enable_graphics_debugging">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="toolTip">
+ <string>When checked, the graphics API enters a slower debugging mode</string>
+ </property>
+ <property name="text">
+ <string>Enable Graphics Debugging</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="0">
+ <widget class="QCheckBox" name="dump_shaders">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="toolTip">
+ <string>When checked, it will dump all the original assembler shaders from the disk shader cache or game as found</string>
+ </property>
+ <property name="text">
+ <string>Dump Game Shaders</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QCheckBox" name="enable_renderdoc_hotkey">
+ <property name="text">
+ <string>Enable Renderdoc Hotkey</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
</widget>
</item>
- <item row="2" column="1">
- <widget class="QCheckBox" name="disable_web_applet">
- <property name="text">
- <string>Disable Web Applet</string>
- </property>
+ <item>
+ <widget class="QGroupBox" name="groupBox_6">
+ <property name="title">
+ <string>Advanced</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_4">
+ <item row="3" column="0">
+ <widget class="QCheckBox" name="perform_vulkan_check">
+ <property name="toolTip">
+ <string>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</string>
+ </property>
+ <property name="text">
+ <string>Perform Startup Vulkan Check</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="0">
+ <widget class="QCheckBox" name="disable_web_applet">
+ <property name="text">
+ <string>Disable Web Applet</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="0">
+ <widget class="QCheckBox" name="enable_all_controllers">
+ <property name="text">
+ <string>Enable All Controller Types</string>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="0">
+ <widget class="QCheckBox" name="use_auto_stub">
+ <property name="text">
+ <string>Enable Auto-Stub**</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="0">
+ <widget class="QCheckBox" name="quest_flag">
+ <property name="text">
+ <string>Kiosk (Quest) Mode</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QCheckBox" name="enable_cpu_debugging">
+ <property name="text">
+ <string>Enable CPU Debugging</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QCheckBox" name="use_debug_asserts">
+ <property name="text">
+ <string>Enable Debug Asserts</string>
+ </property>
+ </widget>
+ </item>
+ <item row="7" column="0">
+ <spacer name="verticalSpacer_4">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>0</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
</widget>
</item>
- <item row="3" column="0">
- <widget class="QCheckBox" name="perform_vulkan_check">
- <property name="toolTip">
- <string>Enables yuzu to check for a working Vulkan environment when the program starts up. Disable this if this is causing issues with external programs seeing yuzu.</string>
- </property>
- <property name="text">
- <string>Perform Startup Vulkan Check</string>
- </property>
+ <item>
+ <widget class="QGroupBox" name="groupBox_5">
+ <property name="title">
+ <string>Debugging</string>
+ </property>
+ <layout class="QGridLayout" name="gridLayout_3">
+ <item row="0" column="0">
+ <widget class="QCheckBox" name="fs_access_log">
+ <property name="text">
+ <string>Enable FS Access Log</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="0">
+ <widget class="QCheckBox" name="create_crash_dumps">
+ <property name="text">
+ <string>Create Minidump After Crash</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="0">
+ <widget class="QCheckBox" name="dump_audio_commands">
+ <property name="toolTip">
+ <string>Enable this to output the latest generated audio command list to the console. Only affects games using the audio renderer.</string>
+ </property>
+ <property name="text">
+ <string>Dump Audio Commands To Console**</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="0">
+ <widget class="QCheckBox" name="reporting_services">
+ <property name="text">
+ <string>Enable Verbose Reporting Services**</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="0">
+ <spacer name="verticalSpacer_3">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeType">
+ <enum>QSizePolicy::Expanding</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>0</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ </layout>
</widget>
</item>
</layout>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label_5">
- <property name="font">
- <font>
- <italic>true</italic>
- </font>
- </property>
- <property name="text">
- <string>**This will be reset automatically when yuzu closes.</string>
- </property>
- <property name="indent">
- <number>20</number>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
+ </item>
+ <item>
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>0</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_5">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="font">
+ <font>
+ <italic>true</italic>
+ </font>
+ </property>
+ <property name="text">
+ <string>**This will be reset automatically when yuzu closes.</string>
+ </property>
+ <property name="indent">
+ <number>20</number>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
</widget>
<tabstops>
<tabstop>log_filter_edit</tabstop>
@@ -366,14 +562,11 @@
<tabstop>enable_graphics_debugging</tabstop>
<tabstop>enable_shader_feedback</tabstop>
<tabstop>enable_nsight_aftermath</tabstop>
- <tabstop>disable_macro_jit</tabstop>
- <tabstop>disable_loop_safety_checks</tabstop>
<tabstop>fs_access_log</tabstop>
<tabstop>reporting_services</tabstop>
<tabstop>quest_flag</tabstop>
<tabstop>enable_cpu_debugging</tabstop>
<tabstop>use_debug_asserts</tabstop>
- <tabstop>use_auto_stub</tabstop>
</tabstops>
<resources/>
<connections/>
diff --git a/src/yuzu/configuration/configure_dialog.cpp b/src/yuzu/configuration/configure_dialog.cpp
index bdf83ebfe..0ad95cc02 100644
--- a/src/yuzu/configuration/configure_dialog.cpp
+++ b/src/yuzu/configuration/configure_dialog.cpp
@@ -4,6 +4,7 @@
#include <memory>
#include "common/logging/log.h"
#include "common/settings.h"
+#include "common/settings_enums.h"
#include "core/core.h"
#include "ui_configure.h"
#include "vk_device_info.h"
@@ -32,23 +33,28 @@ ConfigureDialog::ConfigureDialog(QWidget* parent, HotkeyRegistry& registry_,
std::vector<VkDeviceInfo::Record>& vk_device_records,
Core::System& system_, bool enable_web_config)
: QDialog(parent), ui{std::make_unique<Ui::ConfigureDialog>()},
- registry(registry_), system{system_}, audio_tab{std::make_unique<ConfigureAudio>(system_,
- this)},
- cpu_tab{std::make_unique<ConfigureCpu>(system_, this)},
+ registry(registry_), system{system_}, builder{std::make_unique<ConfigurationShared::Builder>(
+ this, !system_.IsPoweredOn())},
+ audio_tab{std::make_unique<ConfigureAudio>(system_, nullptr, *builder, this)},
+ cpu_tab{std::make_unique<ConfigureCpu>(system_, nullptr, *builder, this)},
debug_tab_tab{std::make_unique<ConfigureDebugTab>(system_, this)},
filesystem_tab{std::make_unique<ConfigureFilesystem>(this)},
- general_tab{std::make_unique<ConfigureGeneral>(system_, this)},
- graphics_advanced_tab{std::make_unique<ConfigureGraphicsAdvanced>(system_, this)},
+ general_tab{std::make_unique<ConfigureGeneral>(system_, nullptr, *builder, this)},
+ graphics_advanced_tab{
+ std::make_unique<ConfigureGraphicsAdvanced>(system_, nullptr, *builder, this)},
+ ui_tab{std::make_unique<ConfigureUi>(system_, this)},
graphics_tab{std::make_unique<ConfigureGraphics>(
system_, vk_device_records, [&]() { graphics_advanced_tab->ExposeComputeOption(); },
- this)},
+ [this](Settings::AspectRatio ratio, Settings::ResolutionSetup setup) {
+ ui_tab->UpdateScreenshotInfo(ratio, setup);
+ },
+ nullptr, *builder, this)},
hotkeys_tab{std::make_unique<ConfigureHotkeys>(system_.HIDCore(), this)},
input_tab{std::make_unique<ConfigureInput>(system_, this)},
network_tab{std::make_unique<ConfigureNetwork>(system_, this)},
profile_tab{std::make_unique<ConfigureProfileManager>(system_, this)},
- system_tab{std::make_unique<ConfigureSystem>(system_, this)},
- ui_tab{std::make_unique<ConfigureUi>(system_, this)}, web_tab{std::make_unique<ConfigureWeb>(
- this)} {
+ system_tab{std::make_unique<ConfigureSystem>(system_, nullptr, *builder, this)},
+ web_tab{std::make_unique<ConfigureWeb>(this)} {
Settings::SetConfiguringGlobal(true);
ui->setupUi(this);
@@ -95,6 +101,9 @@ ConfigureDialog::ConfigureDialog(QWidget* parent, HotkeyRegistry& registry_,
adjustSize();
ui->selectorList->setCurrentRow(0);
+
+ // Selects the leftmost button on the bottom bar (Cancel as of writing)
+ ui->buttonBox->setFocus();
}
ConfigureDialog::~ConfigureDialog() = default;
diff --git a/src/yuzu/configuration/configure_dialog.h b/src/yuzu/configuration/configure_dialog.h
index 2a08b7fee..b28ce288c 100644
--- a/src/yuzu/configuration/configure_dialog.h
+++ b/src/yuzu/configuration/configure_dialog.h
@@ -6,6 +6,9 @@
#include <memory>
#include <vector>
#include <QDialog>
+#include "configuration/shared_widget.h"
+#include "yuzu/configuration/configuration_shared.h"
+#include "yuzu/configuration/shared_translation.h"
#include "yuzu/vk_device_info.h"
namespace Core {
@@ -69,6 +72,8 @@ private:
HotkeyRegistry& registry;
Core::System& system;
+ std::unique_ptr<ConfigurationShared::Builder> builder;
+ std::vector<ConfigurationShared::Tab*> tab_group;
std::unique_ptr<ConfigureAudio> audio_tab;
std::unique_ptr<ConfigureCpu> cpu_tab;
@@ -76,12 +81,12 @@ private:
std::unique_ptr<ConfigureFilesystem> filesystem_tab;
std::unique_ptr<ConfigureGeneral> general_tab;
std::unique_ptr<ConfigureGraphicsAdvanced> graphics_advanced_tab;
+ std::unique_ptr<ConfigureUi> ui_tab;
std::unique_ptr<ConfigureGraphics> graphics_tab;
std::unique_ptr<ConfigureHotkeys> hotkeys_tab;
std::unique_ptr<ConfigureInput> input_tab;
std::unique_ptr<ConfigureNetwork> network_tab;
std::unique_ptr<ConfigureProfileManager> profile_tab;
std::unique_ptr<ConfigureSystem> system_tab;
- std::unique_ptr<ConfigureUi> ui_tab;
std::unique_ptr<ConfigureWeb> web_tab;
};
diff --git a/src/yuzu/configuration/configure_general.cpp b/src/yuzu/configuration/configure_general.cpp
index 2f55159f5..c727fadd1 100644
--- a/src/yuzu/configuration/configure_general.cpp
+++ b/src/yuzu/configuration/configure_general.cpp
@@ -3,57 +3,60 @@
#include <functional>
#include <utility>
+#include <vector>
#include <QMessageBox>
#include "common/settings.h"
#include "core/core.h"
#include "ui_configure_general.h"
#include "yuzu/configuration/configuration_shared.h"
#include "yuzu/configuration/configure_general.h"
+#include "yuzu/configuration/shared_widget.h"
#include "yuzu/uisettings.h"
-ConfigureGeneral::ConfigureGeneral(const Core::System& system_, QWidget* parent)
- : QWidget(parent), ui{std::make_unique<Ui::ConfigureGeneral>()}, system{system_} {
+ConfigureGeneral::ConfigureGeneral(const Core::System& system_,
+ std::shared_ptr<std::vector<ConfigurationShared::Tab*>> group_,
+ const ConfigurationShared::Builder& builder, QWidget* parent)
+ : Tab(group_, parent), ui{std::make_unique<Ui::ConfigureGeneral>()}, system{system_} {
ui->setupUi(this);
- SetupPerGameUI();
+ Setup(builder);
SetConfiguration();
- if (Settings::IsConfiguringGlobal()) {
- connect(ui->toggle_speed_limit, &QCheckBox::clicked, ui->speed_limit,
- [this]() { ui->speed_limit->setEnabled(ui->toggle_speed_limit->isChecked()); });
- }
-
connect(ui->button_reset_defaults, &QPushButton::clicked, this,
&ConfigureGeneral::ResetDefaults);
+
+ if (!Settings::IsConfiguringGlobal()) {
+ ui->button_reset_defaults->setVisible(false);
+ }
}
ConfigureGeneral::~ConfigureGeneral() = default;
-void ConfigureGeneral::SetConfiguration() {
- const bool runtime_lock = !system.IsPoweredOn();
+void ConfigureGeneral::SetConfiguration() {}
+
+void ConfigureGeneral::Setup(const ConfigurationShared::Builder& builder) {
+ QLayout& layout = *ui->general_widget->layout();
- ui->use_multi_core->setEnabled(runtime_lock);
- ui->use_multi_core->setChecked(Settings::values.use_multi_core.GetValue());
+ std::map<u32, QWidget*> hold{};
- ui->toggle_check_exit->setChecked(UISettings::values.confirm_before_closing.GetValue());
- ui->toggle_user_on_boot->setChecked(UISettings::values.select_user_on_boot.GetValue());
- ui->toggle_background_pause->setChecked(UISettings::values.pause_when_in_background.GetValue());
- ui->toggle_hide_mouse->setChecked(UISettings::values.hide_mouse.GetValue());
- ui->toggle_controller_applet_disabled->setEnabled(runtime_lock);
- ui->toggle_controller_applet_disabled->setChecked(
- UISettings::values.controller_applet_disabled.GetValue());
+ for (const auto setting :
+ UISettings::values.linkage.by_category[Settings::Category::UiGeneral]) {
+ auto* widget = builder.BuildWidget(setting, apply_funcs);
- ui->toggle_speed_limit->setChecked(Settings::values.use_speed_limit.GetValue());
- ui->speed_limit->setValue(Settings::values.speed_limit.GetValue());
+ if (widget == nullptr) {
+ continue;
+ }
+ if (!widget->Valid()) {
+ widget->deleteLater();
+ continue;
+ }
- ui->button_reset_defaults->setEnabled(runtime_lock);
+ hold.emplace(setting->Id(), widget);
+ }
- if (Settings::IsConfiguringGlobal()) {
- ui->speed_limit->setEnabled(Settings::values.use_speed_limit.GetValue());
- } else {
- ui->speed_limit->setEnabled(Settings::values.use_speed_limit.GetValue() &&
- use_speed_limit != ConfigurationShared::CheckState::Global);
+ for (const auto& [id, widget] : hold) {
+ layout.addWidget(widget);
}
}
@@ -77,32 +80,9 @@ void ConfigureGeneral::ResetDefaults() {
}
void ConfigureGeneral::ApplyConfiguration() {
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.use_multi_core, ui->use_multi_core,
- use_multi_core);
-
- if (Settings::IsConfiguringGlobal()) {
- UISettings::values.confirm_before_closing = ui->toggle_check_exit->isChecked();
- UISettings::values.select_user_on_boot = ui->toggle_user_on_boot->isChecked();
- UISettings::values.pause_when_in_background = ui->toggle_background_pause->isChecked();
- UISettings::values.hide_mouse = ui->toggle_hide_mouse->isChecked();
- UISettings::values.controller_applet_disabled =
- ui->toggle_controller_applet_disabled->isChecked();
-
- // Guard if during game and set to game-specific value
- if (Settings::values.use_speed_limit.UsingGlobal()) {
- Settings::values.use_speed_limit.SetValue(ui->toggle_speed_limit->checkState() ==
- Qt::Checked);
- Settings::values.speed_limit.SetValue(ui->speed_limit->value());
- }
- } else {
- bool global_speed_limit = use_speed_limit == ConfigurationShared::CheckState::Global;
- Settings::values.use_speed_limit.SetGlobal(global_speed_limit);
- Settings::values.speed_limit.SetGlobal(global_speed_limit);
- if (!global_speed_limit) {
- Settings::values.use_speed_limit.SetValue(ui->toggle_speed_limit->checkState() ==
- Qt::Checked);
- Settings::values.speed_limit.SetValue(ui->speed_limit->value());
- }
+ bool powered_on = system.IsPoweredOn();
+ for (const auto& func : apply_funcs) {
+ func(powered_on);
}
}
@@ -117,33 +97,3 @@ void ConfigureGeneral::changeEvent(QEvent* event) {
void ConfigureGeneral::RetranslateUI() {
ui->retranslateUi(this);
}
-
-void ConfigureGeneral::SetupPerGameUI() {
- if (Settings::IsConfiguringGlobal()) {
- // Disables each setting if:
- // - A game is running (thus settings in use), and
- // - A non-global setting is applied.
- ui->toggle_speed_limit->setEnabled(Settings::values.use_speed_limit.UsingGlobal());
- ui->speed_limit->setEnabled(Settings::values.speed_limit.UsingGlobal());
-
- return;
- }
-
- ui->toggle_check_exit->setVisible(false);
- ui->toggle_user_on_boot->setVisible(false);
- ui->toggle_background_pause->setVisible(false);
- ui->toggle_hide_mouse->setVisible(false);
- ui->toggle_controller_applet_disabled->setVisible(false);
-
- ui->button_reset_defaults->setVisible(false);
-
- ConfigurationShared::SetColoredTristate(ui->toggle_speed_limit,
- Settings::values.use_speed_limit, use_speed_limit);
- ConfigurationShared::SetColoredTristate(ui->use_multi_core, Settings::values.use_multi_core,
- use_multi_core);
-
- connect(ui->toggle_speed_limit, &QCheckBox::clicked, ui->speed_limit, [this]() {
- ui->speed_limit->setEnabled(ui->toggle_speed_limit->isChecked() &&
- (use_speed_limit != ConfigurationShared::CheckState::Global));
- });
-}
diff --git a/src/yuzu/configuration/configure_general.h b/src/yuzu/configuration/configure_general.h
index 7ff63f425..2d953f679 100644
--- a/src/yuzu/configuration/configure_general.h
+++ b/src/yuzu/configuration/configure_general.h
@@ -5,48 +5,49 @@
#include <functional>
#include <memory>
+#include <vector>
#include <QWidget>
+#include "yuzu/configuration/configuration_shared.h"
namespace Core {
class System;
}
class ConfigureDialog;
-
-namespace ConfigurationShared {
-enum class CheckState;
-}
-
class HotkeyRegistry;
namespace Ui {
class ConfigureGeneral;
}
-class ConfigureGeneral : public QWidget {
- Q_OBJECT
+namespace ConfigurationShared {
+class Builder;
+}
+class ConfigureGeneral : public ConfigurationShared::Tab {
public:
- explicit ConfigureGeneral(const Core::System& system_, QWidget* parent = nullptr);
+ explicit ConfigureGeneral(const Core::System& system_,
+ std::shared_ptr<std::vector<ConfigurationShared::Tab*>> group,
+ const ConfigurationShared::Builder& builder,
+ QWidget* parent = nullptr);
~ConfigureGeneral() override;
void SetResetCallback(std::function<void()> callback);
void ResetDefaults();
- void ApplyConfiguration();
- void SetConfiguration();
+ void ApplyConfiguration() override;
+ void SetConfiguration() override;
private:
+ void Setup(const ConfigurationShared::Builder& builder);
+
void changeEvent(QEvent* event) override;
void RetranslateUI();
- void SetupPerGameUI();
-
std::function<void()> reset_callback;
std::unique_ptr<Ui::ConfigureGeneral> ui;
- ConfigurationShared::CheckState use_speed_limit;
- ConfigurationShared::CheckState use_multi_core;
+ std::vector<std::function<void(bool)>> apply_funcs{};
const Core::System& system;
};
diff --git a/src/yuzu/configuration/configure_general.ui b/src/yuzu/configuration/configure_general.ui
index fe757d011..a10e7d3a5 100644
--- a/src/yuzu/configuration/configure_general.ui
+++ b/src/yuzu/configuration/configure_general.ui
@@ -26,77 +26,22 @@
</property>
<layout class="QHBoxLayout" name="GeneralHorizontalLayout">
<item>
- <layout class="QVBoxLayout" name="GeneralVerticalLayout">
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <widget class="QCheckBox" name="toggle_speed_limit">
- <property name="text">
- <string>Limit Speed Percent</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="speed_limit">
- <property name="suffix">
- <string>%</string>
- </property>
- <property name="minimum">
- <number>1</number>
- </property>
- <property name="maximum">
- <number>9999</number>
- </property>
- <property name="value">
- <number>100</number>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <widget class="QCheckBox" name="use_multi_core">
- <property name="text">
- <string>Multicore CPU Emulation</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="toggle_check_exit">
- <property name="text">
- <string>Confirm exit while emulation is running</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="toggle_user_on_boot">
- <property name="text">
- <string>Prompt for user on game boot</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="toggle_background_pause">
- <property name="text">
- <string>Pause emulation when in background</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="toggle_hide_mouse">
- <property name="text">
- <string>Hide mouse on inactivity</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="toggle_controller_applet_disabled">
- <property name="text">
- <string>Disable controller applet</string>
- </property>
- </widget>
- </item>
- </layout>
+ <widget class="QWidget" name="general_widget" native="true">
+ <layout class="QVBoxLayout" name="GeneralVerticalLayout">
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ </layout>
+ </widget>
</item>
</layout>
</widget>
diff --git a/src/yuzu/configuration/configure_graphics.cpp b/src/yuzu/configuration/configure_graphics.cpp
index a4965524a..fd6bebf0f 100644
--- a/src/yuzu/configuration/configure_graphics.cpp
+++ b/src/yuzu/configuration/configure_graphics.cpp
@@ -7,6 +7,7 @@
#include <iterator>
#include <string>
#include <tuple>
+#include <typeinfo>
#include <utility>
#include <vector>
#include <QBoxLayout>
@@ -15,23 +16,30 @@
#include <QComboBox>
#include <QIcon>
#include <QLabel>
+#include <QLineEdit>
#include <QPixmap>
#include <QPushButton>
#include <QSlider>
#include <QStringLiteral>
#include <QtCore/qobjectdefs.h>
+#include <qabstractbutton.h>
+#include <qboxlayout.h>
+#include <qcombobox.h>
#include <qcoreevent.h>
#include <qglobal.h>
+#include <qgridlayout.h>
#include <vulkan/vulkan_core.h>
#include "common/common_types.h"
#include "common/dynamic_library.h"
#include "common/logging/log.h"
#include "common/settings.h"
+#include "common/settings_enums.h"
#include "core/core.h"
#include "ui_configure_graphics.h"
#include "yuzu/configuration/configuration_shared.h"
#include "yuzu/configuration/configure_graphics.h"
+#include "yuzu/configuration/shared_widget.h"
#include "yuzu/qt_common.h"
#include "yuzu/uisettings.h"
#include "yuzu/vk_device_info.h"
@@ -46,9 +54,9 @@ static constexpr VkPresentModeKHR VSyncSettingToMode(Settings::VSyncMode mode) {
return VK_PRESENT_MODE_IMMEDIATE_KHR;
case Settings::VSyncMode::Mailbox:
return VK_PRESENT_MODE_MAILBOX_KHR;
- case Settings::VSyncMode::FIFO:
+ case Settings::VSyncMode::Fifo:
return VK_PRESENT_MODE_FIFO_KHR;
- case Settings::VSyncMode::FIFORelaxed:
+ case Settings::VSyncMode::FifoRelaxed:
return VK_PRESENT_MODE_FIFO_RELAXED_KHR;
default:
return VK_PRESENT_MODE_FIFO_KHR;
@@ -62,50 +70,70 @@ static constexpr Settings::VSyncMode PresentModeToSetting(VkPresentModeKHR mode)
case VK_PRESENT_MODE_MAILBOX_KHR:
return Settings::VSyncMode::Mailbox;
case VK_PRESENT_MODE_FIFO_KHR:
- return Settings::VSyncMode::FIFO;
+ return Settings::VSyncMode::Fifo;
case VK_PRESENT_MODE_FIFO_RELAXED_KHR:
- return Settings::VSyncMode::FIFORelaxed;
+ return Settings::VSyncMode::FifoRelaxed;
default:
- return Settings::VSyncMode::FIFO;
+ return Settings::VSyncMode::Fifo;
}
}
-ConfigureGraphics::ConfigureGraphics(const Core::System& system_,
- std::vector<VkDeviceInfo::Record>& records_,
- const std::function<void()>& expose_compute_option_,
- QWidget* parent)
- : QWidget(parent), ui{std::make_unique<Ui::ConfigureGraphics>()}, records{records_},
- expose_compute_option{expose_compute_option_}, system{system_} {
+ConfigureGraphics::ConfigureGraphics(
+ const Core::System& system_, std::vector<VkDeviceInfo::Record>& records_,
+ const std::function<void()>& expose_compute_option_,
+ const std::function<void(Settings::AspectRatio, Settings::ResolutionSetup)>&
+ update_aspect_ratio_,
+ std::shared_ptr<std::vector<ConfigurationShared::Tab*>> group_,
+ const ConfigurationShared::Builder& builder, QWidget* parent)
+ : ConfigurationShared::Tab(group_, parent), ui{std::make_unique<Ui::ConfigureGraphics>()},
+ records{records_}, expose_compute_option{expose_compute_option_},
+ update_aspect_ratio{update_aspect_ratio_}, system{system_},
+ combobox_translations{builder.ComboboxTranslations()},
+ shader_mapping{
+ combobox_translations.at(Settings::EnumMetadata<Settings::ShaderBackend>::Index())} {
vulkan_device = Settings::values.vulkan_device.GetValue();
RetrieveVulkanDevices();
ui->setupUi(this);
+ Setup(builder);
+
for (const auto& device : vulkan_devices) {
- ui->device->addItem(device);
+ vulkan_device_combobox->addItem(device);
}
- ui->backend->addItem(QStringLiteral("GLSL"));
- ui->backend->addItem(tr("GLASM (Assembly Shaders, NVIDIA Only)"));
- ui->backend->addItem(tr("SPIR-V (Experimental, Mesa Only)"));
-
- SetupPerGameUI();
+ UpdateBackgroundColorButton(QColor::fromRgb(Settings::values.bg_red.GetValue(),
+ Settings::values.bg_green.GetValue(),
+ Settings::values.bg_blue.GetValue()));
+ UpdateAPILayout();
+ PopulateVSyncModeSelection(); //< must happen after UpdateAPILayout
- SetConfiguration();
+ // VSync setting needs to be determined after populating the VSync combobox
+ if (Settings::IsConfiguringGlobal()) {
+ const auto vsync_mode_setting = Settings::values.vsync_mode.GetValue();
+ const auto vsync_mode = VSyncSettingToMode(vsync_mode_setting);
+ int index{};
+ for (const auto mode : vsync_mode_combobox_enum_map) {
+ if (mode == vsync_mode) {
+ break;
+ }
+ index++;
+ }
+ if (static_cast<unsigned long>(index) < vsync_mode_combobox_enum_map.size()) {
+ vsync_mode_combobox->setCurrentIndex(index);
+ }
+ }
- connect(ui->api, qOverload<int>(&QComboBox::currentIndexChanged), this, [this] {
+ connect(api_combobox, qOverload<int>(&QComboBox::activated), this, [this] {
UpdateAPILayout();
PopulateVSyncModeSelection();
- if (!Settings::IsConfiguringGlobal()) {
- ConfigurationShared::SetHighlight(
- ui->api_widget, ui->api->currentIndex() != ConfigurationShared::USE_GLOBAL_INDEX);
- }
});
- connect(ui->device, qOverload<int>(&QComboBox::activated), this, [this](int device) {
- UpdateDeviceSelection(device);
- PopulateVSyncModeSelection();
- });
- connect(ui->backend, qOverload<int>(&QComboBox::activated), this,
+ connect(vulkan_device_combobox, qOverload<int>(&QComboBox::activated), this,
+ [this](int device) {
+ UpdateDeviceSelection(device);
+ PopulateVSyncModeSelection();
+ });
+ connect(shader_backend_combobox, qOverload<int>(&QComboBox::activated), this,
[this](int backend) { UpdateShaderBackendSelection(backend); });
connect(ui->bg_button, &QPushButton::clicked, this, [this] {
@@ -116,39 +144,61 @@ ConfigureGraphics::ConfigureGraphics(const Core::System& system_,
UpdateBackgroundColorButton(new_bg_color);
});
- ui->api->setEnabled(!UISettings::values.has_broken_vulkan && ui->api->isEnabled());
+ const auto& update_screenshot_info = [this, &builder]() {
+ const auto& combobox_enumerations = builder.ComboboxTranslations().at(
+ Settings::EnumMetadata<Settings::AspectRatio>::Index());
+ const auto index = aspect_ratio_combobox->currentIndex();
+ const auto ratio = static_cast<Settings::AspectRatio>(combobox_enumerations[index].first);
+
+ const auto& combobox_enumerations_resolution = builder.ComboboxTranslations().at(
+ Settings::EnumMetadata<Settings::ResolutionSetup>::Index());
+ const auto res_index = resolution_combobox->currentIndex();
+ const auto setup = static_cast<Settings::ResolutionSetup>(
+ combobox_enumerations_resolution[res_index].first);
+
+ update_aspect_ratio(ratio, setup);
+ };
+
+ connect(aspect_ratio_combobox, QOverload<int>::of(&QComboBox::currentIndexChanged),
+ update_screenshot_info);
+ connect(resolution_combobox, QOverload<int>::of(&QComboBox::currentIndexChanged),
+ update_screenshot_info);
+
+ api_combobox->setEnabled(!UISettings::values.has_broken_vulkan && api_combobox->isEnabled());
ui->api_widget->setEnabled(
(!UISettings::values.has_broken_vulkan || Settings::IsConfiguringGlobal()) &&
ui->api_widget->isEnabled());
- ui->bg_label->setVisible(Settings::IsConfiguringGlobal());
- ui->bg_combobox->setVisible(!Settings::IsConfiguringGlobal());
- connect(ui->fsr_sharpening_slider, &QSlider::valueChanged, this,
- &ConfigureGraphics::SetFSRIndicatorText);
- ui->fsr_sharpening_combobox->setVisible(!Settings::IsConfiguringGlobal());
- ui->fsr_sharpening_label->setVisible(Settings::IsConfiguringGlobal());
+ if (Settings::IsConfiguringGlobal()) {
+ ui->bg_widget->setEnabled(Settings::values.bg_red.UsingGlobal());
+ }
}
void ConfigureGraphics::PopulateVSyncModeSelection() {
+ if (!Settings::IsConfiguringGlobal()) {
+ return;
+ }
+
const Settings::RendererBackend backend{GetCurrentGraphicsBackend()};
if (backend == Settings::RendererBackend::Null) {
- ui->vsync_mode_combobox->setEnabled(false);
+ vsync_mode_combobox->setEnabled(false);
return;
}
- ui->vsync_mode_combobox->setEnabled(true);
+ vsync_mode_combobox->setEnabled(true);
const int current_index = //< current selected vsync mode from combobox
- ui->vsync_mode_combobox->currentIndex();
+ vsync_mode_combobox->currentIndex();
const auto current_mode = //< current selected vsync mode as a VkPresentModeKHR
current_index == -1 ? VSyncSettingToMode(Settings::values.vsync_mode.GetValue())
: vsync_mode_combobox_enum_map[current_index];
int index{};
- const int device{ui->device->currentIndex()}; //< current selected Vulkan device
+ const int device{vulkan_device_combobox->currentIndex()}; //< current selected Vulkan device
+
const auto& present_modes = //< relevant vector of present modes for the selected device or API
- backend == Settings::RendererBackend::Vulkan ? device_present_modes[device]
- : default_present_modes;
+ backend == Settings::RendererBackend::Vulkan && device > -1 ? device_present_modes[device]
+ : default_present_modes;
- ui->vsync_mode_combobox->clear();
+ vsync_mode_combobox->clear();
vsync_mode_combobox_enum_map.clear();
vsync_mode_combobox_enum_map.reserve(present_modes.size());
for (const auto present_mode : present_modes) {
@@ -157,10 +207,10 @@ void ConfigureGraphics::PopulateVSyncModeSelection() {
continue;
}
- ui->vsync_mode_combobox->insertItem(index, mode_name);
+ vsync_mode_combobox->insertItem(index, mode_name);
vsync_mode_combobox_enum_map.push_back(present_mode);
if (present_mode == current_mode) {
- ui->vsync_mode_combobox->setCurrentIndex(index);
+ vsync_mode_combobox->setCurrentIndex(index);
}
index++;
}
@@ -186,112 +236,132 @@ void ConfigureGraphics::UpdateShaderBackendSelection(int backend) {
ConfigureGraphics::~ConfigureGraphics() = default;
-void ConfigureGraphics::SetConfiguration() {
- const bool runtime_lock = !system.IsPoweredOn();
-
- ui->api_widget->setEnabled(runtime_lock);
- ui->use_asynchronous_gpu_emulation->setEnabled(runtime_lock);
- ui->use_disk_shader_cache->setEnabled(runtime_lock);
- ui->nvdec_emulation_widget->setEnabled(runtime_lock);
- ui->resolution_combobox->setEnabled(runtime_lock);
- ui->accelerate_astc->setEnabled(runtime_lock);
- ui->vsync_mode_layout->setEnabled(runtime_lock ||
- Settings::values.renderer_backend.GetValue() ==
- Settings::RendererBackend::Vulkan);
- ui->use_disk_shader_cache->setChecked(Settings::values.use_disk_shader_cache.GetValue());
- ui->use_asynchronous_gpu_emulation->setChecked(
- Settings::values.use_asynchronous_gpu_emulation.GetValue());
- ui->accelerate_astc->setChecked(Settings::values.accelerate_astc.GetValue());
+void ConfigureGraphics::SetConfiguration() {}
+
+void ConfigureGraphics::Setup(const ConfigurationShared::Builder& builder) {
+ QLayout* api_layout = ui->api_widget->layout();
+ QWidget* api_grid_widget = new QWidget(this);
+ QVBoxLayout* api_grid_layout = new QVBoxLayout(api_grid_widget);
+ api_grid_layout->setContentsMargins(0, 0, 0, 0);
+ api_layout->addWidget(api_grid_widget);
+
+ QLayout& graphics_layout = *ui->graphics_widget->layout();
+
+ std::map<u32, QWidget*> hold_graphics;
+ std::vector<QWidget*> hold_api;
+
+ for (const auto setting : Settings::values.linkage.by_category[Settings::Category::Renderer]) {
+ ConfigurationShared::Widget* widget = [&]() {
+ if (setting->Id() == Settings::values.fsr_sharpening_slider.Id()) {
+ // FSR needs a reversed slider and a 0.5 multiplier
+ return builder.BuildWidget(
+ setting, apply_funcs, ConfigurationShared::RequestType::ReverseSlider, true,
+ 0.5f, nullptr, tr("%", "FSR sharpening percentage (e.g. 50%)"));
+ } else {
+ return builder.BuildWidget(setting, apply_funcs);
+ }
+ }();
- if (Settings::IsConfiguringGlobal()) {
- ui->api->setCurrentIndex(static_cast<int>(Settings::values.renderer_backend.GetValue()));
- ui->fullscreen_mode_combobox->setCurrentIndex(
- static_cast<int>(Settings::values.fullscreen_mode.GetValue()));
- ui->nvdec_emulation->setCurrentIndex(
- static_cast<int>(Settings::values.nvdec_emulation.GetValue()));
- ui->aspect_ratio_combobox->setCurrentIndex(Settings::values.aspect_ratio.GetValue());
- ui->resolution_combobox->setCurrentIndex(
- static_cast<int>(Settings::values.resolution_setup.GetValue()));
- ui->scaling_filter_combobox->setCurrentIndex(
- static_cast<int>(Settings::values.scaling_filter.GetValue()));
- ui->fsr_sharpening_slider->setValue(Settings::values.fsr_sharpening_slider.GetValue());
- ui->anti_aliasing_combobox->setCurrentIndex(
- static_cast<int>(Settings::values.anti_aliasing.GetValue()));
- } else {
- ConfigurationShared::SetPerGameSetting(ui->api, &Settings::values.renderer_backend);
- ConfigurationShared::SetHighlight(ui->api_widget,
- !Settings::values.renderer_backend.UsingGlobal());
-
- ConfigurationShared::SetPerGameSetting(ui->nvdec_emulation,
- &Settings::values.nvdec_emulation);
- ConfigurationShared::SetHighlight(ui->nvdec_emulation_widget,
- !Settings::values.nvdec_emulation.UsingGlobal());
-
- ConfigurationShared::SetPerGameSetting(ui->fullscreen_mode_combobox,
- &Settings::values.fullscreen_mode);
- ConfigurationShared::SetHighlight(ui->fullscreen_mode_label,
- !Settings::values.fullscreen_mode.UsingGlobal());
-
- ConfigurationShared::SetPerGameSetting(ui->aspect_ratio_combobox,
- &Settings::values.aspect_ratio);
- ConfigurationShared::SetHighlight(ui->ar_label,
- !Settings::values.aspect_ratio.UsingGlobal());
-
- ConfigurationShared::SetPerGameSetting(ui->resolution_combobox,
- &Settings::values.resolution_setup);
- ConfigurationShared::SetHighlight(ui->resolution_label,
- !Settings::values.resolution_setup.UsingGlobal());
-
- ConfigurationShared::SetPerGameSetting(ui->scaling_filter_combobox,
- &Settings::values.scaling_filter);
- ConfigurationShared::SetHighlight(ui->scaling_filter_label,
- !Settings::values.scaling_filter.UsingGlobal());
-
- ConfigurationShared::SetPerGameSetting(ui->anti_aliasing_combobox,
- &Settings::values.anti_aliasing);
- ConfigurationShared::SetHighlight(ui->anti_aliasing_label,
- !Settings::values.anti_aliasing.UsingGlobal());
-
- ui->fsr_sharpening_combobox->setCurrentIndex(
- Settings::values.fsr_sharpening_slider.UsingGlobal() ? 0 : 1);
- ui->fsr_sharpening_slider->setEnabled(
- !Settings::values.fsr_sharpening_slider.UsingGlobal());
- ui->fsr_sharpening_value->setEnabled(!Settings::values.fsr_sharpening_slider.UsingGlobal());
- ConfigurationShared::SetHighlight(ui->fsr_sharpening_layout,
- !Settings::values.fsr_sharpening_slider.UsingGlobal());
- ui->fsr_sharpening_slider->setValue(Settings::values.fsr_sharpening_slider.GetValue());
-
- ui->bg_combobox->setCurrentIndex(Settings::values.bg_red.UsingGlobal() ? 0 : 1);
- ui->bg_button->setEnabled(!Settings::values.bg_red.UsingGlobal());
- ConfigurationShared::SetHighlight(ui->bg_layout, !Settings::values.bg_red.UsingGlobal());
- }
- UpdateBackgroundColorButton(QColor::fromRgb(Settings::values.bg_red.GetValue(),
- Settings::values.bg_green.GetValue(),
- Settings::values.bg_blue.GetValue()));
- UpdateAPILayout();
- PopulateVSyncModeSelection(); //< must happen after UpdateAPILayout
- SetFSRIndicatorText(ui->fsr_sharpening_slider->sliderPosition());
+ if (widget == nullptr) {
+ continue;
+ }
+ if (!widget->Valid()) {
+ widget->deleteLater();
+ continue;
+ }
- // VSync setting needs to be determined after populating the VSync combobox
- if (Settings::IsConfiguringGlobal()) {
- const auto vsync_mode_setting = Settings::values.vsync_mode.GetValue();
- const auto vsync_mode = VSyncSettingToMode(vsync_mode_setting);
- int index{};
- for (const auto mode : vsync_mode_combobox_enum_map) {
- if (mode == vsync_mode) {
- break;
+ if (setting->Id() == Settings::values.renderer_backend.Id()) {
+ // Add the renderer combobox now so it's at the top
+ api_grid_layout->addWidget(widget);
+ api_combobox = widget->combobox;
+ api_restore_global_button = widget->restore_button;
+
+ if (!Settings::IsConfiguringGlobal()) {
+ QObject::connect(api_restore_global_button, &QAbstractButton::clicked,
+ [this](bool) { UpdateAPILayout(); });
+
+ // Detach API's restore button and place it where we want
+ // Lets us put it on the side, and it will automatically scale if there's a
+ // second combobox (shader_backend, vulkan_device)
+ widget->layout()->removeWidget(api_restore_global_button);
+ api_layout->addWidget(api_restore_global_button);
}
- index++;
- }
- if (static_cast<unsigned long>(index) < vsync_mode_combobox_enum_map.size()) {
- ui->vsync_mode_combobox->setCurrentIndex(index);
+ } else if (setting->Id() == Settings::values.vulkan_device.Id()) {
+ // Keep track of vulkan_device's combobox so we can populate it
+ hold_api.push_back(widget);
+ vulkan_device_combobox = widget->combobox;
+ vulkan_device_widget = widget;
+ } else if (setting->Id() == Settings::values.shader_backend.Id()) {
+ // Keep track of shader_backend's combobox so we can populate it
+ hold_api.push_back(widget);
+ shader_backend_combobox = widget->combobox;
+ shader_backend_widget = widget;
+ } else if (setting->Id() == Settings::values.vsync_mode.Id()) {
+ // Keep track of vsync_mode's combobox so we can populate it
+ vsync_mode_combobox = widget->combobox;
+ hold_graphics.emplace(setting->Id(), widget);
+ } else if (setting->Id() == Settings::values.aspect_ratio.Id()) {
+ // Keep track of the aspect ratio combobox to update other UI tabs that need it
+ aspect_ratio_combobox = widget->combobox;
+ hold_graphics.emplace(setting->Id(), widget);
+ } else if (setting->Id() == Settings::values.resolution_setup.Id()) {
+ // Keep track of the resolution combobox to update other UI tabs that need it
+ resolution_combobox = widget->combobox;
+ hold_graphics.emplace(setting->Id(), widget);
+ } else {
+ hold_graphics.emplace(setting->Id(), widget);
}
}
-}
-void ConfigureGraphics::SetFSRIndicatorText(int percentage) {
- ui->fsr_sharpening_value->setText(
- tr("%1%", "FSR sharpening percentage (e.g. 50%)").arg(100 - (percentage / 2)));
+ for (const auto& [id, widget] : hold_graphics) {
+ graphics_layout.addWidget(widget);
+ }
+
+ for (auto widget : hold_api) {
+ api_grid_layout->addWidget(widget);
+ }
+
+ // Background color is too specific to build into the new system, so we manage it here
+ // (3 settings, all collected into a single widget with a QColor to manage on top)
+ if (Settings::IsConfiguringGlobal()) {
+ apply_funcs.push_back([this](bool powered_on) {
+ Settings::values.bg_red.SetValue(static_cast<u8>(bg_color.red()));
+ Settings::values.bg_green.SetValue(static_cast<u8>(bg_color.green()));
+ Settings::values.bg_blue.SetValue(static_cast<u8>(bg_color.blue()));
+ });
+ } else {
+ QPushButton* bg_restore_button = ConfigurationShared::Widget::CreateRestoreGlobalButton(
+ Settings::values.bg_red.UsingGlobal(), ui->bg_widget);
+ ui->bg_widget->layout()->addWidget(bg_restore_button);
+
+ QObject::connect(bg_restore_button, &QAbstractButton::clicked,
+ [bg_restore_button, this](bool) {
+ const int r = Settings::values.bg_red.GetValue(true);
+ const int g = Settings::values.bg_green.GetValue(true);
+ const int b = Settings::values.bg_blue.GetValue(true);
+ UpdateBackgroundColorButton(QColor::fromRgb(r, g, b));
+
+ bg_restore_button->setVisible(false);
+ bg_restore_button->setEnabled(false);
+ });
+
+ QObject::connect(ui->bg_button, &QAbstractButton::clicked, [bg_restore_button](bool) {
+ bg_restore_button->setVisible(true);
+ bg_restore_button->setEnabled(true);
+ });
+
+ apply_funcs.push_back([bg_restore_button, this](bool powered_on) {
+ const bool using_global = !bg_restore_button->isEnabled();
+ Settings::values.bg_red.SetGlobal(using_global);
+ Settings::values.bg_green.SetGlobal(using_global);
+ Settings::values.bg_blue.SetGlobal(using_global);
+ if (!using_global) {
+ Settings::values.bg_red.SetValue(static_cast<u8>(bg_color.red()));
+ Settings::values.bg_green.SetValue(static_cast<u8>(bg_color.green()));
+ Settings::values.bg_blue.SetValue(static_cast<u8>(bg_color.blue()));
+ }
+ });
+ }
}
const QString ConfigureGraphics::TranslateVSyncMode(VkPresentModeKHR mode,
@@ -315,130 +385,48 @@ const QString ConfigureGraphics::TranslateVSyncMode(VkPresentModeKHR mode,
}
}
+int ConfigureGraphics::FindIndex(u32 enumeration, int value) const {
+ for (u32 i = 0; i < combobox_translations.at(enumeration).size(); i++) {
+ if (combobox_translations.at(enumeration)[i].first == static_cast<u32>(value)) {
+ return i;
+ }
+ }
+ return -1;
+}
+
void ConfigureGraphics::ApplyConfiguration() {
- const auto resolution_setup = static_cast<Settings::ResolutionSetup>(
- ui->resolution_combobox->currentIndex() -
- ((Settings::IsConfiguringGlobal()) ? 0 : ConfigurationShared::USE_GLOBAL_OFFSET));
-
- const auto scaling_filter = static_cast<Settings::ScalingFilter>(
- ui->scaling_filter_combobox->currentIndex() -
- ((Settings::IsConfiguringGlobal()) ? 0 : ConfigurationShared::USE_GLOBAL_OFFSET));
-
- const auto anti_aliasing = static_cast<Settings::AntiAliasing>(
- ui->anti_aliasing_combobox->currentIndex() -
- ((Settings::IsConfiguringGlobal()) ? 0 : ConfigurationShared::USE_GLOBAL_OFFSET));
-
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.fullscreen_mode,
- ui->fullscreen_mode_combobox);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.aspect_ratio,
- ui->aspect_ratio_combobox);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.use_disk_shader_cache,
- ui->use_disk_shader_cache, use_disk_shader_cache);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.use_asynchronous_gpu_emulation,
- ui->use_asynchronous_gpu_emulation,
- use_asynchronous_gpu_emulation);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.accelerate_astc, ui->accelerate_astc,
- accelerate_astc);
+ const bool powered_on = system.IsPoweredOn();
+ for (const auto& func : apply_funcs) {
+ func(powered_on);
+ }
if (Settings::IsConfiguringGlobal()) {
- // Guard if during game and set to game-specific value
- if (Settings::values.renderer_backend.UsingGlobal()) {
- Settings::values.renderer_backend.SetValue(GetCurrentGraphicsBackend());
- }
- if (Settings::values.nvdec_emulation.UsingGlobal()) {
- Settings::values.nvdec_emulation.SetValue(GetCurrentNvdecEmulation());
- }
- if (Settings::values.shader_backend.UsingGlobal()) {
- Settings::values.shader_backend.SetValue(shader_backend);
- }
- if (Settings::values.vulkan_device.UsingGlobal()) {
- Settings::values.vulkan_device.SetValue(vulkan_device);
- }
- if (Settings::values.bg_red.UsingGlobal()) {
- Settings::values.bg_red.SetValue(static_cast<u8>(bg_color.red()));
- Settings::values.bg_green.SetValue(static_cast<u8>(bg_color.green()));
- Settings::values.bg_blue.SetValue(static_cast<u8>(bg_color.blue()));
- }
- if (Settings::values.resolution_setup.UsingGlobal()) {
- Settings::values.resolution_setup.SetValue(resolution_setup);
- }
- if (Settings::values.scaling_filter.UsingGlobal()) {
- Settings::values.scaling_filter.SetValue(scaling_filter);
- }
- if (Settings::values.anti_aliasing.UsingGlobal()) {
- Settings::values.anti_aliasing.SetValue(anti_aliasing);
- }
- Settings::values.fsr_sharpening_slider.SetValue(ui->fsr_sharpening_slider->value());
-
- const auto mode = vsync_mode_combobox_enum_map[ui->vsync_mode_combobox->currentIndex()];
+ const auto mode = vsync_mode_combobox_enum_map[vsync_mode_combobox->currentIndex()];
const auto vsync_mode = PresentModeToSetting(mode);
Settings::values.vsync_mode.SetValue(vsync_mode);
- } else {
- if (ui->resolution_combobox->currentIndex() == ConfigurationShared::USE_GLOBAL_INDEX) {
- Settings::values.resolution_setup.SetGlobal(true);
- } else {
- Settings::values.resolution_setup.SetGlobal(false);
- Settings::values.resolution_setup.SetValue(resolution_setup);
- }
- if (ui->scaling_filter_combobox->currentIndex() == ConfigurationShared::USE_GLOBAL_INDEX) {
- Settings::values.scaling_filter.SetGlobal(true);
- } else {
- Settings::values.scaling_filter.SetGlobal(false);
- Settings::values.scaling_filter.SetValue(scaling_filter);
- }
- if (ui->anti_aliasing_combobox->currentIndex() == ConfigurationShared::USE_GLOBAL_INDEX) {
- Settings::values.anti_aliasing.SetGlobal(true);
- } else {
- Settings::values.anti_aliasing.SetGlobal(false);
- Settings::values.anti_aliasing.SetValue(anti_aliasing);
- }
- if (ui->api->currentIndex() == ConfigurationShared::USE_GLOBAL_INDEX) {
- Settings::values.renderer_backend.SetGlobal(true);
- Settings::values.shader_backend.SetGlobal(true);
- Settings::values.vulkan_device.SetGlobal(true);
- } else {
- Settings::values.renderer_backend.SetGlobal(false);
- Settings::values.renderer_backend.SetValue(GetCurrentGraphicsBackend());
- switch (GetCurrentGraphicsBackend()) {
- case Settings::RendererBackend::OpenGL:
- case Settings::RendererBackend::Null:
- Settings::values.shader_backend.SetGlobal(false);
- Settings::values.vulkan_device.SetGlobal(true);
- Settings::values.shader_backend.SetValue(shader_backend);
- break;
- case Settings::RendererBackend::Vulkan:
- Settings::values.shader_backend.SetGlobal(true);
- Settings::values.vulkan_device.SetGlobal(false);
- Settings::values.vulkan_device.SetValue(vulkan_device);
- break;
- }
- }
-
- if (ui->nvdec_emulation->currentIndex() == ConfigurationShared::USE_GLOBAL_INDEX) {
- Settings::values.nvdec_emulation.SetGlobal(true);
- } else {
- Settings::values.nvdec_emulation.SetGlobal(false);
- Settings::values.nvdec_emulation.SetValue(GetCurrentNvdecEmulation());
- }
-
- if (ui->bg_combobox->currentIndex() == ConfigurationShared::USE_GLOBAL_INDEX) {
- Settings::values.bg_red.SetGlobal(true);
- Settings::values.bg_green.SetGlobal(true);
- Settings::values.bg_blue.SetGlobal(true);
- } else {
- Settings::values.bg_red.SetGlobal(false);
- Settings::values.bg_green.SetGlobal(false);
- Settings::values.bg_blue.SetGlobal(false);
- Settings::values.bg_red.SetValue(static_cast<u8>(bg_color.red()));
- Settings::values.bg_green.SetValue(static_cast<u8>(bg_color.green()));
- Settings::values.bg_blue.SetValue(static_cast<u8>(bg_color.blue()));
- }
+ }
- if (ui->fsr_sharpening_combobox->currentIndex() == ConfigurationShared::USE_GLOBAL_INDEX) {
- Settings::values.fsr_sharpening_slider.SetGlobal(true);
- } else {
- Settings::values.fsr_sharpening_slider.SetGlobal(false);
- Settings::values.fsr_sharpening_slider.SetValue(ui->fsr_sharpening_slider->value());
+ Settings::values.vulkan_device.SetGlobal(true);
+ Settings::values.shader_backend.SetGlobal(true);
+ if (Settings::IsConfiguringGlobal() ||
+ (!Settings::IsConfiguringGlobal() && api_restore_global_button->isEnabled())) {
+ auto backend = static_cast<Settings::RendererBackend>(
+ combobox_translations
+ .at(Settings::EnumMetadata<
+ Settings::RendererBackend>::Index())[api_combobox->currentIndex()]
+ .first);
+ switch (backend) {
+ case Settings::RendererBackend::OpenGL:
+ Settings::values.shader_backend.SetGlobal(Settings::IsConfiguringGlobal());
+ Settings::values.shader_backend.SetValue(static_cast<Settings::ShaderBackend>(
+ shader_mapping[shader_backend_combobox->currentIndex()].first));
+ break;
+ case Settings::RendererBackend::Vulkan:
+ Settings::values.vulkan_device.SetGlobal(Settings::IsConfiguringGlobal());
+ Settings::values.vulkan_device.SetValue(vulkan_device_combobox->currentIndex());
+ break;
+ case Settings::RendererBackend::Null:
+ break;
}
}
}
@@ -466,36 +454,26 @@ void ConfigureGraphics::UpdateBackgroundColorButton(QColor color) {
}
void ConfigureGraphics::UpdateAPILayout() {
- if (!Settings::IsConfiguringGlobal() &&
- ui->api->currentIndex() == ConfigurationShared::USE_GLOBAL_INDEX) {
- vulkan_device = Settings::values.vulkan_device.GetValue(true);
- shader_backend = Settings::values.shader_backend.GetValue(true);
- ui->device_widget->setEnabled(false);
- ui->backend_widget->setEnabled(false);
- } else {
- vulkan_device = Settings::values.vulkan_device.GetValue();
- shader_backend = Settings::values.shader_backend.GetValue();
- ui->device_widget->setEnabled(true);
- ui->backend_widget->setEnabled(true);
- }
-
- switch (GetCurrentGraphicsBackend()) {
- case Settings::RendererBackend::OpenGL:
- ui->backend->setCurrentIndex(static_cast<u32>(shader_backend));
- ui->device_widget->setVisible(false);
- ui->backend_widget->setVisible(true);
- break;
- case Settings::RendererBackend::Vulkan:
- if (static_cast<int>(vulkan_device) < ui->device->count()) {
- ui->device->setCurrentIndex(vulkan_device);
- }
- ui->device_widget->setVisible(true);
- ui->backend_widget->setVisible(false);
- break;
- case Settings::RendererBackend::Null:
- ui->device_widget->setVisible(false);
- ui->backend_widget->setVisible(false);
- break;
+ bool runtime_lock = !system.IsPoweredOn();
+ bool need_global = !(Settings::IsConfiguringGlobal() || api_restore_global_button->isEnabled());
+ vulkan_device = Settings::values.vulkan_device.GetValue(need_global);
+ shader_backend = Settings::values.shader_backend.GetValue(need_global);
+ vulkan_device_widget->setEnabled(!need_global && runtime_lock);
+ shader_backend_widget->setEnabled(!need_global && runtime_lock);
+
+ const auto current_backend = GetCurrentGraphicsBackend();
+ const bool is_opengl = current_backend == Settings::RendererBackend::OpenGL;
+ const bool is_vulkan = current_backend == Settings::RendererBackend::Vulkan;
+
+ vulkan_device_widget->setVisible(is_vulkan);
+ shader_backend_widget->setVisible(is_opengl);
+
+ if (is_opengl) {
+ shader_backend_combobox->setCurrentIndex(
+ FindIndex(Settings::EnumMetadata<Settings::ShaderBackend>::Index(),
+ static_cast<int>(shader_backend)));
+ } else if (is_vulkan && static_cast<int>(vulkan_device) < vulkan_device_combobox->count()) {
+ vulkan_device_combobox->setCurrentIndex(vulkan_device);
}
}
@@ -515,92 +493,19 @@ void ConfigureGraphics::RetrieveVulkanDevices() {
}
Settings::RendererBackend ConfigureGraphics::GetCurrentGraphicsBackend() const {
- if (Settings::IsConfiguringGlobal()) {
- return static_cast<Settings::RendererBackend>(ui->api->currentIndex());
- }
-
- if (ui->api->currentIndex() == ConfigurationShared::USE_GLOBAL_INDEX) {
- Settings::values.renderer_backend.SetGlobal(true);
- return Settings::values.renderer_backend.GetValue();
- }
- Settings::values.renderer_backend.SetGlobal(false);
- return static_cast<Settings::RendererBackend>(ui->api->currentIndex() -
- ConfigurationShared::USE_GLOBAL_OFFSET);
-}
-
-Settings::NvdecEmulation ConfigureGraphics::GetCurrentNvdecEmulation() const {
- if (Settings::IsConfiguringGlobal()) {
- return static_cast<Settings::NvdecEmulation>(ui->nvdec_emulation->currentIndex());
- }
-
- if (ui->nvdec_emulation->currentIndex() == ConfigurationShared::USE_GLOBAL_INDEX) {
- Settings::values.nvdec_emulation.SetGlobal(true);
- return Settings::values.nvdec_emulation.GetValue();
- }
- Settings::values.nvdec_emulation.SetGlobal(false);
- return static_cast<Settings::NvdecEmulation>(ui->nvdec_emulation->currentIndex() -
- ConfigurationShared::USE_GLOBAL_OFFSET);
-}
-
-void ConfigureGraphics::SetupPerGameUI() {
- if (Settings::IsConfiguringGlobal()) {
- ui->api->setEnabled(Settings::values.renderer_backend.UsingGlobal());
- ui->device->setEnabled(Settings::values.renderer_backend.UsingGlobal());
- ui->fullscreen_mode_combobox->setEnabled(Settings::values.fullscreen_mode.UsingGlobal());
- ui->aspect_ratio_combobox->setEnabled(Settings::values.aspect_ratio.UsingGlobal());
- ui->resolution_combobox->setEnabled(Settings::values.resolution_setup.UsingGlobal());
- ui->scaling_filter_combobox->setEnabled(Settings::values.scaling_filter.UsingGlobal());
- ui->fsr_sharpening_slider->setEnabled(Settings::values.fsr_sharpening_slider.UsingGlobal());
- ui->anti_aliasing_combobox->setEnabled(Settings::values.anti_aliasing.UsingGlobal());
- ui->use_asynchronous_gpu_emulation->setEnabled(
- Settings::values.use_asynchronous_gpu_emulation.UsingGlobal());
- ui->nvdec_emulation->setEnabled(Settings::values.nvdec_emulation.UsingGlobal());
- ui->accelerate_astc->setEnabled(Settings::values.accelerate_astc.UsingGlobal());
- ui->use_disk_shader_cache->setEnabled(Settings::values.use_disk_shader_cache.UsingGlobal());
- ui->bg_button->setEnabled(Settings::values.bg_red.UsingGlobal());
- ui->fsr_slider_layout->setEnabled(Settings::values.fsr_sharpening_slider.UsingGlobal());
-
- return;
+ const auto selected_backend = [&]() {
+ if (!Settings::IsConfiguringGlobal() && !api_restore_global_button->isEnabled()) {
+ return Settings::values.renderer_backend.GetValue(true);
+ }
+ return static_cast<Settings::RendererBackend>(
+ combobox_translations.at(Settings::EnumMetadata<Settings::RendererBackend>::Index())
+ .at(api_combobox->currentIndex())
+ .first);
+ }();
+
+ if (selected_backend == Settings::RendererBackend::Vulkan &&
+ UISettings::values.has_broken_vulkan) {
+ return Settings::RendererBackend::OpenGL;
}
-
- connect(ui->bg_combobox, qOverload<int>(&QComboBox::activated), this, [this](int index) {
- ui->bg_button->setEnabled(index == 1);
- ConfigurationShared::SetHighlight(ui->bg_layout, index == 1);
- });
-
- connect(ui->fsr_sharpening_combobox, qOverload<int>(&QComboBox::activated), this,
- [this](int index) {
- ui->fsr_sharpening_slider->setEnabled(index == 1);
- ui->fsr_sharpening_value->setEnabled(index == 1);
- ConfigurationShared::SetHighlight(ui->fsr_sharpening_layout, index == 1);
- });
-
- ConfigurationShared::SetColoredTristate(
- ui->use_disk_shader_cache, Settings::values.use_disk_shader_cache, use_disk_shader_cache);
- ConfigurationShared::SetColoredTristate(ui->accelerate_astc, Settings::values.accelerate_astc,
- accelerate_astc);
- ConfigurationShared::SetColoredTristate(ui->use_asynchronous_gpu_emulation,
- Settings::values.use_asynchronous_gpu_emulation,
- use_asynchronous_gpu_emulation);
-
- ConfigurationShared::SetColoredComboBox(ui->aspect_ratio_combobox, ui->ar_label,
- Settings::values.aspect_ratio.GetValue(true));
- ConfigurationShared::SetColoredComboBox(
- ui->fullscreen_mode_combobox, ui->fullscreen_mode_label,
- static_cast<int>(Settings::values.fullscreen_mode.GetValue(true)));
- ConfigurationShared::SetColoredComboBox(
- ui->resolution_combobox, ui->resolution_label,
- static_cast<int>(Settings::values.resolution_setup.GetValue(true)));
- ConfigurationShared::SetColoredComboBox(
- ui->scaling_filter_combobox, ui->scaling_filter_label,
- static_cast<int>(Settings::values.scaling_filter.GetValue(true)));
- ConfigurationShared::SetColoredComboBox(
- ui->anti_aliasing_combobox, ui->anti_aliasing_label,
- static_cast<int>(Settings::values.anti_aliasing.GetValue(true)));
- ConfigurationShared::InsertGlobalItem(
- ui->api, static_cast<int>(Settings::values.renderer_backend.GetValue(true)));
- ConfigurationShared::InsertGlobalItem(
- ui->nvdec_emulation, static_cast<int>(Settings::values.nvdec_emulation.GetValue(true)));
-
- ui->vsync_mode_layout->setVisible(false);
+ return selected_backend;
}
diff --git a/src/yuzu/configuration/configure_graphics.h b/src/yuzu/configuration/configure_graphics.h
index be9310b74..9c24a56db 100644
--- a/src/yuzu/configuration/configure_graphics.h
+++ b/src/yuzu/configuration/configure_graphics.h
@@ -5,6 +5,8 @@
#include <functional>
#include <memory>
+#include <type_traits>
+#include <typeindex>
#include <vector>
#include <QColor>
#include <QString>
@@ -12,10 +14,15 @@
#include <qobjectdefs.h>
#include <vulkan/vulkan_core.h>
#include "common/common_types.h"
+#include "common/settings_enums.h"
+#include "configuration/shared_translation.h"
#include "vk_device_info.h"
+#include "yuzu/configuration/configuration_shared.h"
+class QPushButton;
class QEvent;
class QObject;
+class QComboBox;
namespace Settings {
enum class NvdecEmulation : u32;
@@ -27,31 +34,34 @@ namespace Core {
class System;
}
-namespace ConfigurationShared {
-enum class CheckState;
-}
-
namespace Ui {
class ConfigureGraphics;
}
-class ConfigureGraphics : public QWidget {
- Q_OBJECT
+namespace ConfigurationShared {
+class Builder;
+}
+class ConfigureGraphics : public ConfigurationShared::Tab {
public:
- explicit ConfigureGraphics(const Core::System& system_,
- std::vector<VkDeviceInfo::Record>& records,
- const std::function<void()>& expose_compute_option_,
- QWidget* parent = nullptr);
+ explicit ConfigureGraphics(
+ const Core::System& system_, std::vector<VkDeviceInfo::Record>& records,
+ const std::function<void()>& expose_compute_option,
+ const std::function<void(Settings::AspectRatio, Settings::ResolutionSetup)>&
+ update_aspect_ratio,
+ std::shared_ptr<std::vector<ConfigurationShared::Tab*>> group,
+ const ConfigurationShared::Builder& builder, QWidget* parent = nullptr);
~ConfigureGraphics() override;
- void ApplyConfiguration();
- void SetConfiguration();
+ void ApplyConfiguration() override;
+ void SetConfiguration() override;
private:
void changeEvent(QEvent* event) override;
void RetranslateUI();
+ void Setup(const ConfigurationShared::Builder& builder);
+
void PopulateVSyncModeSelection();
void UpdateBackgroundColorButton(QColor color);
void UpdateAPILayout();
@@ -60,34 +70,43 @@ private:
void RetrieveVulkanDevices();
- void SetFSRIndicatorText(int percentage);
/* Turns a Vulkan present mode into a textual string for a UI
* (and eventually for a human to read) */
const QString TranslateVSyncMode(VkPresentModeKHR mode,
Settings::RendererBackend backend) const;
- void SetupPerGameUI();
-
Settings::RendererBackend GetCurrentGraphicsBackend() const;
- Settings::NvdecEmulation GetCurrentNvdecEmulation() const;
+
+ int FindIndex(u32 enumeration, int value) const;
std::unique_ptr<Ui::ConfigureGraphics> ui;
QColor bg_color;
- ConfigurationShared::CheckState use_nvdec_emulation;
- ConfigurationShared::CheckState accelerate_astc;
- ConfigurationShared::CheckState use_disk_shader_cache;
- ConfigurationShared::CheckState use_asynchronous_gpu_emulation;
+ std::vector<std::function<void(bool)>> apply_funcs{};
std::vector<VkDeviceInfo::Record>& records;
std::vector<QString> vulkan_devices;
std::vector<std::vector<VkPresentModeKHR>> device_present_modes;
std::vector<VkPresentModeKHR>
- vsync_mode_combobox_enum_map; //< Keeps track of which present mode corresponds to which
- // selection in the combobox
+ vsync_mode_combobox_enum_map{}; //< Keeps track of which present mode corresponds to which
+ // selection in the combobox
u32 vulkan_device{};
Settings::ShaderBackend shader_backend{};
const std::function<void()>& expose_compute_option;
+ const std::function<void(Settings::AspectRatio, Settings::ResolutionSetup)> update_aspect_ratio;
const Core::System& system;
+ const ConfigurationShared::ComboboxTranslationMap& combobox_translations;
+ const std::vector<std::pair<u32, QString>>& shader_mapping;
+
+ QPushButton* api_restore_global_button;
+ QComboBox* vulkan_device_combobox;
+ QComboBox* api_combobox;
+ QComboBox* shader_backend_combobox;
+ QComboBox* vsync_mode_combobox;
+ QWidget* vulkan_device_widget;
+ QWidget* api_widget;
+ QWidget* shader_backend_widget;
+ QComboBox* aspect_ratio_combobox;
+ QComboBox* resolution_combobox;
};
diff --git a/src/yuzu/configuration/configure_graphics.ui b/src/yuzu/configuration/configure_graphics.ui
index 39f70e406..d09415d70 100644
--- a/src/yuzu/configuration/configure_graphics.ui
+++ b/src/yuzu/configuration/configure_graphics.ui
@@ -27,7 +27,7 @@
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QWidget" name="api_widget" native="true">
- <layout class="QGridLayout" name="gridLayout">
+ <layout class="QHBoxLayout" name="horizontalLayout">
<property name="leftMargin">
<number>0</number>
</property>
@@ -40,115 +40,6 @@
<property name="bottomMargin">
<number>0</number>
</property>
- <property name="horizontalSpacing">
- <number>6</number>
- </property>
- <item row="4" column="0">
- <widget class="QWidget" name="backend_widget" native="true">
- <layout class="QHBoxLayout" name="backend_layout">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="backend_label">
- <property name="text">
- <string>Shader Backend:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="backend"/>
- </item>
- </layout>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QWidget" name="device_widget" native="true">
- <layout class="QHBoxLayout" name="device_layout">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="device_label">
- <property name="text">
- <string>Device:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="device"/>
- </item>
- </layout>
- </widget>
- </item>
- <item row="0" column="0">
- <widget class="QWidget" name="api_layout_2" native="true">
- <layout class="QHBoxLayout" name="api_layout">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="api_label">
- <property name="text">
- <string>API:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="api">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <item>
- <property name="text">
- <string notr="true">OpenGL</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">Vulkan</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>None</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
</layout>
</widget>
</item>
@@ -168,111 +59,8 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
- <widget class="QCheckBox" name="use_disk_shader_cache">
- <property name="text">
- <string>Use disk pipeline cache</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="use_asynchronous_gpu_emulation">
- <property name="text">
- <string>Use asynchronous GPU emulation</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="accelerate_astc">
- <property name="text">
- <string>Accelerate ASTC texture decoding</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="vsync_mode_layout" native="true">
- <layout class="QHBoxLayout" name="horizontalLayout_4">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="vsync_mode_label">
- <property name="text">
- <string>VSync Mode:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="vsync_mode_combobox">
- <property name="toolTip">
- <string>FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen refresh rate.
-FIFO Relaxed is similar to FIFO but allows tearing as it recovers from a slow down.
-Mailbox can have lower latency than FIFO and does not tear but may drop frames.
-Immediate (no synchronization) just presents whatever is available and can exhibit tearing.</string>
- </property>
- <property name="currentText">
- <string/>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="nvdec_emulation_widget" native="true">
- <layout class="QHBoxLayout" name="nvdec_emulation_layout">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="nvdec_emulation_label">
- <property name="text">
- <string>NVDEC emulation:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="nvdec_emulation">
- <item>
- <property name="text">
- <string>No Video Output</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>CPU Video Decoding</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>GPU Video Decoding (Default)</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="fullscreen_mode_layout" native="true">
- <layout class="QHBoxLayout" name="horizontalLayout_1">
+ <widget class="QWidget" name="graphics_widget" native="true">
+ <layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>0</number>
</property>
@@ -285,33 +73,12 @@ Immediate (no synchronization) just presents whatever is available and can exhib
<property name="bottomMargin">
<number>0</number>
</property>
- <item>
- <widget class="QLabel" name="fullscreen_mode_label">
- <property name="text">
- <string>Fullscreen Mode:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="fullscreen_mode_combobox">
- <item>
- <property name="text">
- <string>Borderless Windowed</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Exclusive Fullscreen</string>
- </property>
- </item>
- </widget>
- </item>
</layout>
</widget>
</item>
<item>
- <widget class="QWidget" name="aspect_ratio_layout" native="true">
- <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <widget class="QWidget" name="bg_widget" native="true">
+ <layout class="QHBoxLayout" name="bg_layout">
<property name="leftMargin">
<number>0</number>
</property>
@@ -325,452 +92,35 @@ Immediate (no synchronization) just presents whatever is available and can exhib
<number>0</number>
</property>
<item>
- <widget class="QLabel" name="ar_label">
- <property name="text">
- <string>Aspect Ratio:</string>
+ <widget class="QLabel" name="label">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="aspect_ratio_combobox">
- <item>
- <property name="text">
- <string>Default (16:9)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Force 4:3</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Force 21:9</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Force 16:10</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Stretch to Window</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="resolution_layout" native="true">
- <layout class="QHBoxLayout" name="horizontalLayout_5">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="resolution_label">
- <property name="text">
- <string>Resolution:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="resolution_combobox">
- <item>
- <property name="text">
- <string>0.5X (360p/540p) [EXPERIMENTAL]</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>0.75X (540p/810p) [EXPERIMENTAL]</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>1X (720p/1080p)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>1.5X (1080p/1620p) [EXPERIMENTAL]</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>2X (1440p/2160p)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>3X (2160p/3240p)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>4X (2880p/4320p)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>5X (3600p/5400p)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>6X (4320p/6480p)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>7X (5040p/7560p)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>8X (5760p/8640p)</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="scaling_filter_layout" native="true">
- <layout class="QHBoxLayout" name="horizontalLayout_6">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="scaling_filter_label">
- <property name="text">
- <string>Window Adapting Filter:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="scaling_filter_combobox">
- <item>
- <property name="text">
- <string>Nearest Neighbor</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bilinear</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Bicubic</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Gaussian</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>ScaleForce</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>AMD FidelityFX™️ Super Resolution</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="anti_aliasing_layout" native="true">
- <layout class="QHBoxLayout" name="horizontalLayout_7">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="anti_aliasing_label">
- <property name="text">
- <string>Anti-Aliasing Method:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="anti_aliasing_combobox">
- <item>
- <property name="text">
- <string>None</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>FXAA</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>SMAA</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="fsr_sharpening_layout" native="true">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <property name="spacing">
- <number>6</number>
- </property>
- <property name="sizeConstraint">
- <enum>QLayout::SetDefaultConstraint</enum>
- </property>
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <layout class="QHBoxLayout" name="fsr_sharpening_label_group">
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QComboBox" name="fsr_sharpening_combobox">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Maximum" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <item>
- <property name="text">
- <string>Use global FSR Sharpness</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Set FSR Sharpness</string>
- </property>
- </item>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="fsr_sharpening_label">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>FSR Sharpness:</string>
- </property>
- </widget>
- </item>
- <item>
- <spacer name="horizontalSpacer_2">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="fsr_slider_layout">
- <property name="spacing">
- <number>6</number>
- </property>
- <item>
- <widget class="QSlider" name="fsr_sharpening_slider">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="baseSize">
- <size>
- <width>0</width>
- <height>0</height>
- </size>
- </property>
- <property name="maximum">
- <number>200</number>
- </property>
- <property name="sliderPosition">
- <number>25</number>
- </property>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="invertedAppearance">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="fsr_sharpening_value">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Maximum" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>32</width>
- <height>0</height>
- </size>
- </property>
- <property name="text">
- <string>100%</string>
- </property>
- <property name="alignment">
- <set>Qt::AlignCenter</set>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="bg_layout" native="true">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <property name="spacing">
- <number>6</number>
- </property>
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QComboBox" name="bg_combobox">
- <property name="currentText">
- <string>Use global background color</string>
- </property>
- <property name="currentIndex">
- <number>0</number>
- </property>
- <property name="maxVisibleItems">
- <number>10</number>
- </property>
- <item>
- <property name="text">
- <string>Use global background color</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Set background color:</string>
- </property>
- </item>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="bg_label">
<property name="text">
<string>Background Color:</string>
</property>
</widget>
</item>
<item>
- <spacer name="horizontalSpacer">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>40</width>
- <height>20</height>
- </size>
- </property>
- </spacer>
- </item>
- <item>
<widget class="QPushButton" name="bg_button">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
<property name="maximumSize">
<size>
<width>40</width>
<height>16777215</height>
</size>
</property>
+ <property name="text">
+ <string/>
+ </property>
</widget>
</item>
</layout>
diff --git a/src/yuzu/configuration/configure_graphics_advanced.cpp b/src/yuzu/configuration/configure_graphics_advanced.cpp
index c0a044767..4db18673d 100644
--- a/src/yuzu/configuration/configure_graphics_advanced.cpp
+++ b/src/yuzu/configuration/configure_graphics_advanced.cpp
@@ -1,104 +1,68 @@
// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include <vector>
+#include <QLabel>
+#include <qnamespace.h>
#include "common/settings.h"
#include "core/core.h"
#include "ui_configure_graphics_advanced.h"
#include "yuzu/configuration/configuration_shared.h"
#include "yuzu/configuration/configure_graphics_advanced.h"
+#include "yuzu/configuration/shared_translation.h"
+#include "yuzu/configuration/shared_widget.h"
-ConfigureGraphicsAdvanced::ConfigureGraphicsAdvanced(const Core::System& system_, QWidget* parent)
- : QWidget(parent), ui{std::make_unique<Ui::ConfigureGraphicsAdvanced>()}, system{system_} {
+ConfigureGraphicsAdvanced::ConfigureGraphicsAdvanced(
+ const Core::System& system_, std::shared_ptr<std::vector<ConfigurationShared::Tab*>> group_,
+ const ConfigurationShared::Builder& builder, QWidget* parent)
+ : Tab(group_, parent), ui{std::make_unique<Ui::ConfigureGraphicsAdvanced>()}, system{system_} {
ui->setupUi(this);
- SetupPerGameUI();
+ Setup(builder);
SetConfiguration();
- ui->enable_compute_pipelines_checkbox->setVisible(false);
+ checkbox_enable_compute_pipelines->setVisible(false);
}
ConfigureGraphicsAdvanced::~ConfigureGraphicsAdvanced() = default;
-void ConfigureGraphicsAdvanced::SetConfiguration() {
- const bool runtime_lock = !system.IsPoweredOn();
- ui->use_reactive_flushing->setEnabled(runtime_lock);
- ui->async_present->setEnabled(runtime_lock);
- ui->renderer_force_max_clock->setEnabled(runtime_lock);
- ui->async_astc->setEnabled(runtime_lock);
- ui->astc_recompression_combobox->setEnabled(runtime_lock);
- ui->use_asynchronous_shaders->setEnabled(runtime_lock);
- ui->anisotropic_filtering_combobox->setEnabled(runtime_lock);
- ui->enable_compute_pipelines_checkbox->setEnabled(runtime_lock);
-
- ui->async_present->setChecked(Settings::values.async_presentation.GetValue());
- ui->renderer_force_max_clock->setChecked(Settings::values.renderer_force_max_clock.GetValue());
- ui->use_reactive_flushing->setChecked(Settings::values.use_reactive_flushing.GetValue());
- ui->async_astc->setChecked(Settings::values.async_astc.GetValue());
- ui->use_asynchronous_shaders->setChecked(Settings::values.use_asynchronous_shaders.GetValue());
- ui->use_fast_gpu_time->setChecked(Settings::values.use_fast_gpu_time.GetValue());
- ui->use_vulkan_driver_pipeline_cache->setChecked(
- Settings::values.use_vulkan_driver_pipeline_cache.GetValue());
- ui->enable_compute_pipelines_checkbox->setChecked(
- Settings::values.enable_compute_pipelines.GetValue());
- ui->use_video_framerate_checkbox->setChecked(Settings::values.use_video_framerate.GetValue());
- ui->barrier_feedback_loops_checkbox->setChecked(
- Settings::values.barrier_feedback_loops.GetValue());
-
- if (Settings::IsConfiguringGlobal()) {
- ui->gpu_accuracy->setCurrentIndex(
- static_cast<int>(Settings::values.gpu_accuracy.GetValue()));
- ui->anisotropic_filtering_combobox->setCurrentIndex(
- Settings::values.max_anisotropy.GetValue());
- ui->astc_recompression_combobox->setCurrentIndex(
- static_cast<int>(Settings::values.astc_recompression.GetValue()));
- } else {
- ConfigurationShared::SetPerGameSetting(ui->gpu_accuracy, &Settings::values.gpu_accuracy);
- ConfigurationShared::SetPerGameSetting(ui->anisotropic_filtering_combobox,
- &Settings::values.max_anisotropy);
- ConfigurationShared::SetPerGameSetting(ui->astc_recompression_combobox,
- &Settings::values.astc_recompression);
- ConfigurationShared::SetHighlight(ui->label_gpu_accuracy,
- !Settings::values.gpu_accuracy.UsingGlobal());
- ConfigurationShared::SetHighlight(ui->af_label,
- !Settings::values.max_anisotropy.UsingGlobal());
- ConfigurationShared::SetHighlight(ui->label_astc_recompression,
- !Settings::values.astc_recompression.UsingGlobal());
+void ConfigureGraphicsAdvanced::SetConfiguration() {}
+
+void ConfigureGraphicsAdvanced::Setup(const ConfigurationShared::Builder& builder) {
+ auto& layout = *ui->populate_target->layout();
+ std::map<u32, QWidget*> hold{}; // A map will sort the data for us
+
+ for (auto setting :
+ Settings::values.linkage.by_category[Settings::Category::RendererAdvanced]) {
+ ConfigurationShared::Widget* widget = builder.BuildWidget(setting, apply_funcs);
+
+ if (widget == nullptr) {
+ continue;
+ }
+ if (!widget->Valid()) {
+ widget->deleteLater();
+ continue;
+ }
+
+ hold.emplace(setting->Id(), widget);
+
+ // Keep track of enable_compute_pipelines so we can display it when needed
+ if (setting->Id() == Settings::values.enable_compute_pipelines.Id()) {
+ checkbox_enable_compute_pipelines = widget;
+ }
+ }
+ for (const auto& [id, widget] : hold) {
+ layout.addWidget(widget);
}
}
void ConfigureGraphicsAdvanced::ApplyConfiguration() {
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.gpu_accuracy, ui->gpu_accuracy);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.async_presentation,
- ui->async_present, async_present);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.renderer_force_max_clock,
- ui->renderer_force_max_clock,
- renderer_force_max_clock);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.max_anisotropy,
- ui->anisotropic_filtering_combobox);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.use_reactive_flushing,
- ui->use_reactive_flushing, use_reactive_flushing);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.async_astc, ui->async_astc,
- async_astc);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.astc_recompression,
- ui->astc_recompression_combobox);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.use_asynchronous_shaders,
- ui->use_asynchronous_shaders,
- use_asynchronous_shaders);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.use_fast_gpu_time,
- ui->use_fast_gpu_time, use_fast_gpu_time);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.use_vulkan_driver_pipeline_cache,
- ui->use_vulkan_driver_pipeline_cache,
- use_vulkan_driver_pipeline_cache);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.enable_compute_pipelines,
- ui->enable_compute_pipelines_checkbox,
- enable_compute_pipelines);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.use_video_framerate,
- ui->use_video_framerate_checkbox, use_video_framerate);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.barrier_feedback_loops,
- ui->barrier_feedback_loops_checkbox,
- barrier_feedback_loops);
+ const bool is_powered_on = system.IsPoweredOn();
+ for (const auto& func : apply_funcs) {
+ func(is_powered_on);
+ }
}
void ConfigureGraphicsAdvanced::changeEvent(QEvent* event) {
@@ -113,71 +77,6 @@ void ConfigureGraphicsAdvanced::RetranslateUI() {
ui->retranslateUi(this);
}
-void ConfigureGraphicsAdvanced::SetupPerGameUI() {
- // Disable if not global (only happens during game)
- if (Settings::IsConfiguringGlobal()) {
- ui->gpu_accuracy->setEnabled(Settings::values.gpu_accuracy.UsingGlobal());
- ui->async_present->setEnabled(Settings::values.async_presentation.UsingGlobal());
- ui->renderer_force_max_clock->setEnabled(
- Settings::values.renderer_force_max_clock.UsingGlobal());
- ui->use_reactive_flushing->setEnabled(Settings::values.use_reactive_flushing.UsingGlobal());
- ui->async_astc->setEnabled(Settings::values.async_astc.UsingGlobal());
- ui->astc_recompression_combobox->setEnabled(
- Settings::values.astc_recompression.UsingGlobal());
- ui->use_asynchronous_shaders->setEnabled(
- Settings::values.use_asynchronous_shaders.UsingGlobal());
- ui->use_fast_gpu_time->setEnabled(Settings::values.use_fast_gpu_time.UsingGlobal());
- ui->use_vulkan_driver_pipeline_cache->setEnabled(
- Settings::values.use_vulkan_driver_pipeline_cache.UsingGlobal());
- ui->anisotropic_filtering_combobox->setEnabled(
- Settings::values.max_anisotropy.UsingGlobal());
- ui->enable_compute_pipelines_checkbox->setEnabled(
- Settings::values.enable_compute_pipelines.UsingGlobal());
- ui->use_video_framerate_checkbox->setEnabled(
- Settings::values.use_video_framerate.UsingGlobal());
- ui->barrier_feedback_loops_checkbox->setEnabled(
- Settings::values.barrier_feedback_loops.UsingGlobal());
-
- return;
- }
-
- ConfigurationShared::SetColoredTristate(ui->async_present, Settings::values.async_presentation,
- async_present);
- ConfigurationShared::SetColoredTristate(ui->renderer_force_max_clock,
- Settings::values.renderer_force_max_clock,
- renderer_force_max_clock);
- ConfigurationShared::SetColoredTristate(
- ui->use_reactive_flushing, Settings::values.use_reactive_flushing, use_reactive_flushing);
- ConfigurationShared::SetColoredTristate(ui->async_astc, Settings::values.async_astc,
- async_astc);
- ConfigurationShared::SetColoredTristate(ui->use_asynchronous_shaders,
- Settings::values.use_asynchronous_shaders,
- use_asynchronous_shaders);
- ConfigurationShared::SetColoredTristate(ui->use_fast_gpu_time,
- Settings::values.use_fast_gpu_time, use_fast_gpu_time);
- ConfigurationShared::SetColoredTristate(ui->use_vulkan_driver_pipeline_cache,
- Settings::values.use_vulkan_driver_pipeline_cache,
- use_vulkan_driver_pipeline_cache);
- ConfigurationShared::SetColoredTristate(ui->enable_compute_pipelines_checkbox,
- Settings::values.enable_compute_pipelines,
- enable_compute_pipelines);
- ConfigurationShared::SetColoredTristate(ui->use_video_framerate_checkbox,
- Settings::values.use_video_framerate,
- use_video_framerate);
- ConfigurationShared::SetColoredTristate(ui->barrier_feedback_loops_checkbox,
- Settings::values.barrier_feedback_loops,
- barrier_feedback_loops);
- ConfigurationShared::SetColoredComboBox(
- ui->gpu_accuracy, ui->label_gpu_accuracy,
- static_cast<int>(Settings::values.gpu_accuracy.GetValue(true)));
- ConfigurationShared::SetColoredComboBox(
- ui->anisotropic_filtering_combobox, ui->af_label,
- static_cast<int>(Settings::values.max_anisotropy.GetValue(true)));
- ConfigurationShared::SetColoredComboBox(
- ui->astc_recompression_combobox, ui->label_astc_recompression,
- static_cast<int>(Settings::values.astc_recompression.GetValue(true)));
-}
-
void ConfigureGraphicsAdvanced::ExposeComputeOption() {
- ui->enable_compute_pipelines_checkbox->setVisible(true);
+ checkbox_enable_compute_pipelines->setVisible(true);
}
diff --git a/src/yuzu/configuration/configure_graphics_advanced.h b/src/yuzu/configuration/configure_graphics_advanced.h
index 369a7c83e..78b5389c3 100644
--- a/src/yuzu/configuration/configure_graphics_advanced.h
+++ b/src/yuzu/configuration/configure_graphics_advanced.h
@@ -4,51 +4,44 @@
#pragma once
#include <memory>
+#include <vector>
#include <QWidget>
+#include "yuzu/configuration/configuration_shared.h"
namespace Core {
class System;
}
-namespace ConfigurationShared {
-enum class CheckState;
-}
-
namespace Ui {
class ConfigureGraphicsAdvanced;
}
-class ConfigureGraphicsAdvanced : public QWidget {
- Q_OBJECT
+namespace ConfigurationShared {
+class Builder;
+}
+class ConfigureGraphicsAdvanced : public ConfigurationShared::Tab {
public:
- explicit ConfigureGraphicsAdvanced(const Core::System& system_, QWidget* parent = nullptr);
+ explicit ConfigureGraphicsAdvanced(
+ const Core::System& system_, std::shared_ptr<std::vector<ConfigurationShared::Tab*>> group,
+ const ConfigurationShared::Builder& builder, QWidget* parent = nullptr);
~ConfigureGraphicsAdvanced() override;
- void ApplyConfiguration();
- void SetConfiguration();
+ void ApplyConfiguration() override;
+ void SetConfiguration() override;
void ExposeComputeOption();
private:
+ void Setup(const ConfigurationShared::Builder& builder);
void changeEvent(QEvent* event) override;
void RetranslateUI();
- void SetupPerGameUI();
-
std::unique_ptr<Ui::ConfigureGraphicsAdvanced> ui;
- ConfigurationShared::CheckState async_present;
- ConfigurationShared::CheckState renderer_force_max_clock;
- ConfigurationShared::CheckState use_vsync;
- ConfigurationShared::CheckState async_astc;
- ConfigurationShared::CheckState use_reactive_flushing;
- ConfigurationShared::CheckState use_asynchronous_shaders;
- ConfigurationShared::CheckState use_fast_gpu_time;
- ConfigurationShared::CheckState use_vulkan_driver_pipeline_cache;
- ConfigurationShared::CheckState enable_compute_pipelines;
- ConfigurationShared::CheckState use_video_framerate;
- ConfigurationShared::CheckState barrier_feedback_loops;
-
const Core::System& system;
+
+ std::vector<std::function<void(bool)>> apply_funcs;
+
+ QWidget* checkbox_enable_compute_pipelines{};
};
diff --git a/src/yuzu/configuration/configure_graphics_advanced.ui b/src/yuzu/configuration/configure_graphics_advanced.ui
index d527a6f38..37a854ca3 100644
--- a/src/yuzu/configuration/configure_graphics_advanced.ui
+++ b/src/yuzu/configuration/configure_graphics_advanced.ui
@@ -26,8 +26,8 @@
</property>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
- <widget class="QWidget" name="gpu_accuracy_layout" native="true">
- <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <widget class="QWidget" name="populate_target" native="true">
+ <layout class="QVBoxLayout" name="verticalLayout">
<property name="leftMargin">
<number>0</number>
</property>
@@ -40,233 +40,6 @@
<property name="bottomMargin">
<number>0</number>
</property>
- <item>
- <widget class="QLabel" name="label_gpu_accuracy">
- <property name="text">
- <string>Accuracy Level:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="gpu_accuracy">
- <item>
- <property name="text">
- <string notr="true">Normal</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">High</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string notr="true">Extreme(very slow)</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="astc_recompression_layout" native="true">
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="label_astc_recompression">
- <property name="text">
- <string>ASTC recompression:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="astc_recompression_combobox">
- <item>
- <property name="text">
- <string>Uncompressed (Best quality)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>BC1 (Low quality)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>BC3 (Medium quality)</string>
- </property>
- </item>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="async_present">
- <property name="text">
- <string>Enable asynchronous presentation (Vulkan only)</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="renderer_force_max_clock">
- <property name="toolTip">
- <string>Runs work in the background while waiting for graphics commands to keep the GPU from lowering its clock speed.</string>
- </property>
- <property name="text">
- <string>Force maximum clocks (Vulkan only)</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="async_astc">
- <property name="toolTip">
- <string>Enables asynchronous ASTC texture decoding, which may reduce load time stutter. This feature is experimental.</string>
- </property>
- <property name="text">
- <string>Decode ASTC textures asynchronously (Hack)</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="use_reactive_flushing">
- <property name="toolTip">
- <string>Uses reactive flushing instead of predictive flushing. Allowing a more accurate syncing of memory.</string>
- </property>
- <property name="text">
- <string>Enable Reactive Flushing</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="use_asynchronous_shaders">
- <property name="toolTip">
- <string>Enables asynchronous shader compilation, which may reduce shader stutter. This feature is experimental.</string>
- </property>
- <property name="text">
- <string>Use asynchronous shader building (Hack)</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="use_fast_gpu_time">
- <property name="toolTip">
- <string>Enables Fast GPU Time. This option will force most games to run at their highest native resolution.</string>
- </property>
- <property name="text">
- <string>Use Fast GPU Time (Hack)</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="use_vulkan_driver_pipeline_cache">
- <property name="toolTip">
- <string>Enables GPU vendor-specific pipeline cache. This option can improve shader loading time significantly in cases where the Vulkan driver does not store pipeline cache files internally.</string>
- </property>
- <property name="text">
- <string>Use Vulkan pipeline cache</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="enable_compute_pipelines_checkbox">
- <property name="toolTip">
- <string>Enable compute pipelines, required by some games. This setting only exists for Intel proprietary drivers, and may crash if enabled.
-Compute pipelines are always enabled on all other drivers.</string>
- </property>
- <property name="text">
- <string>Enable Compute Pipelines (Intel Vulkan only)</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="use_video_framerate_checkbox">
- <property name="toolTip">
- <string>Run the game at normal speed during video playback, even when the framerate is unlocked.</string>
- </property>
- <property name="text">
- <string>Sync to framerate of video playback</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="barrier_feedback_loops_checkbox">
- <property name="toolTip">
- <string>Improves rendering of transparency effects in specific games.</string>
- </property>
- <property name="text">
- <string>Barrier feedback loops</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QWidget" name="af_layout" native="true">
- <layout class="QHBoxLayout" name="horizontalLayout_1">
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>0</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QLabel" name="af_label">
- <property name="text">
- <string>Anisotropic Filtering:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="anisotropic_filtering_combobox">
- <item>
- <property name="text">
- <string>Automatic</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Default</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>2x</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>4x</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>8x</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>16x</string>
- </property>
- </item>
- </widget>
- </item>
</layout>
</widget>
</item>
diff --git a/src/yuzu/configuration/configure_input.cpp b/src/yuzu/configuration/configure_input.cpp
index 7fce85bca..e8f9ebfd8 100644
--- a/src/yuzu/configuration/configure_input.cpp
+++ b/src/yuzu/configuration/configure_input.cpp
@@ -4,6 +4,8 @@
#include <memory>
#include <thread>
+#include "common/settings.h"
+#include "common/settings_enums.h"
#include "core/core.h"
#include "core/hid/emulated_controller.h"
#include "core/hid/hid_core.h"
@@ -197,9 +199,11 @@ void ConfigureInput::ApplyConfiguration() {
advanced->ApplyConfiguration();
- const bool pre_docked_mode = Settings::values.use_docked_mode.GetValue();
- Settings::values.use_docked_mode.SetValue(ui->radioDocked->isChecked());
- OnDockedModeChanged(pre_docked_mode, Settings::values.use_docked_mode.GetValue(), system);
+ const bool pre_docked_mode = Settings::IsDockedMode();
+ const bool docked_mode_selected = ui->radioDocked->isChecked();
+ Settings::values.use_docked_mode.SetValue(
+ docked_mode_selected ? Settings::ConsoleMode::Docked : Settings::ConsoleMode::Handheld);
+ OnDockedModeChanged(pre_docked_mode, docked_mode_selected, system);
Settings::values.vibration_enabled.SetValue(ui->vibrationGroup->isChecked());
Settings::values.motion_enabled.SetValue(ui->motionGroup->isChecked());
@@ -267,8 +271,8 @@ void ConfigureInput::UpdateDockedState(bool is_handheld) {
ui->radioDocked->setEnabled(!is_handheld);
ui->radioUndocked->setEnabled(!is_handheld);
- ui->radioDocked->setChecked(Settings::values.use_docked_mode.GetValue());
- ui->radioUndocked->setChecked(!Settings::values.use_docked_mode.GetValue());
+ ui->radioDocked->setChecked(Settings::IsDockedMode());
+ ui->radioUndocked->setChecked(!Settings::IsDockedMode());
// Also force into undocked mode if the controller type is handheld.
if (is_handheld) {
diff --git a/src/yuzu/configuration/configure_per_game.cpp b/src/yuzu/configuration/configure_per_game.cpp
index eb96e6068..b91d6ad4a 100644
--- a/src/yuzu/configuration/configure_per_game.cpp
+++ b/src/yuzu/configuration/configure_per_game.cpp
@@ -17,6 +17,9 @@
#include <QTimer>
#include "common/fs/fs_util.h"
+#include "common/settings_enums.h"
+#include "common/settings_input.h"
+#include "configuration/shared_widget.h"
#include "core/core.h"
#include "core/file_sys/control_metadata.h"
#include "core/file_sys/patch_manager.h"
@@ -24,9 +27,9 @@
#include "core/loader/loader.h"
#include "ui_configure_per_game.h"
#include "yuzu/configuration/config.h"
+#include "yuzu/configuration/configuration_shared.h"
#include "yuzu/configuration/configure_audio.h"
#include "yuzu/configuration/configure_cpu.h"
-#include "yuzu/configuration/configure_general.h"
#include "yuzu/configuration/configure_graphics.h"
#include "yuzu/configuration/configure_graphics_advanced.h"
#include "yuzu/configuration/configure_input_per_game.h"
@@ -41,26 +44,28 @@ ConfigurePerGame::ConfigurePerGame(QWidget* parent, u64 title_id_, const std::st
std::vector<VkDeviceInfo::Record>& vk_device_records,
Core::System& system_)
: QDialog(parent),
- ui(std::make_unique<Ui::ConfigurePerGame>()), title_id{title_id_}, system{system_} {
+ ui(std::make_unique<Ui::ConfigurePerGame>()), title_id{title_id_}, system{system_},
+ builder{std::make_unique<ConfigurationShared::Builder>(this, !system_.IsPoweredOn())},
+ tab_group{std::make_shared<std::vector<ConfigurationShared::Tab*>>()} {
const auto file_path = std::filesystem::path(Common::FS::ToU8String(file_name));
const auto config_file_name = title_id == 0 ? Common::FS::PathToUTF8String(file_path.filename())
: fmt::format("{:016X}", title_id);
game_config = std::make_unique<Config>(config_file_name, Config::ConfigType::PerGameConfig);
addons_tab = std::make_unique<ConfigurePerGameAddons>(system_, this);
- audio_tab = std::make_unique<ConfigureAudio>(system_, this);
- cpu_tab = std::make_unique<ConfigureCpu>(system_, this);
- general_tab = std::make_unique<ConfigureGeneral>(system_, this);
- graphics_advanced_tab = std::make_unique<ConfigureGraphicsAdvanced>(system_, this);
+ audio_tab = std::make_unique<ConfigureAudio>(system_, tab_group, *builder, this);
+ cpu_tab = std::make_unique<ConfigureCpu>(system_, tab_group, *builder, this);
+ graphics_advanced_tab =
+ std::make_unique<ConfigureGraphicsAdvanced>(system_, tab_group, *builder, this);
graphics_tab = std::make_unique<ConfigureGraphics>(
- system_, vk_device_records, [&]() { graphics_advanced_tab->ExposeComputeOption(); }, this);
+ system_, vk_device_records, [&]() { graphics_advanced_tab->ExposeComputeOption(); },
+ [](Settings::AspectRatio, Settings::ResolutionSetup) {}, tab_group, *builder, this);
input_tab = std::make_unique<ConfigureInputPerGame>(system_, game_config.get(), this);
- system_tab = std::make_unique<ConfigureSystem>(system_, this);
+ system_tab = std::make_unique<ConfigureSystem>(system_, tab_group, *builder, this);
ui->setupUi(this);
ui->tabWidget->addTab(addons_tab.get(), tr("Add-Ons"));
- ui->tabWidget->addTab(general_tab.get(), tr("General"));
ui->tabWidget->addTab(system_tab.get(), tr("System"));
ui->tabWidget->addTab(cpu_tab.get(), tr("CPU"));
ui->tabWidget->addTab(graphics_tab.get(), tr("Graphics"));
@@ -88,15 +93,18 @@ ConfigurePerGame::ConfigurePerGame(QWidget* parent, u64 title_id_, const std::st
ConfigurePerGame::~ConfigurePerGame() = default;
void ConfigurePerGame::ApplyConfiguration() {
+ for (const auto tab : *tab_group) {
+ tab->ApplyConfiguration();
+ }
addons_tab->ApplyConfiguration();
- general_tab->ApplyConfiguration();
- cpu_tab->ApplyConfiguration();
- system_tab->ApplyConfiguration();
- graphics_tab->ApplyConfiguration();
- graphics_advanced_tab->ApplyConfiguration();
- audio_tab->ApplyConfiguration();
input_tab->ApplyConfiguration();
+ if (Settings::IsDockedMode() && Settings::values.players.GetValue()[0].controller_type ==
+ Settings::ControllerType::Handheld) {
+ Settings::values.use_docked_mode.SetValue(Settings::ConsoleMode::Handheld);
+ Settings::values.use_docked_mode.SetGlobal(true);
+ }
+
system.ApplySettings();
Settings::LogSettings();
diff --git a/src/yuzu/configuration/configure_per_game.h b/src/yuzu/configuration/configure_per_game.h
index 7ec1ded06..1a727f32c 100644
--- a/src/yuzu/configuration/configure_per_game.h
+++ b/src/yuzu/configuration/configure_per_game.h
@@ -10,9 +10,12 @@
#include <QDialog>
#include <QList>
+#include "configuration/shared_widget.h"
#include "core/file_sys/vfs_types.h"
#include "vk_device_info.h"
#include "yuzu/configuration/config.h"
+#include "yuzu/configuration/configuration_shared.h"
+#include "yuzu/configuration/shared_translation.h"
namespace Core {
class System;
@@ -25,7 +28,6 @@ class InputSubsystem;
class ConfigurePerGameAddons;
class ConfigureAudio;
class ConfigureCpu;
-class ConfigureGeneral;
class ConfigureGraphics;
class ConfigureGraphicsAdvanced;
class ConfigureInputPerGame;
@@ -73,11 +75,12 @@ private:
std::unique_ptr<Config> game_config;
Core::System& system;
+ std::unique_ptr<ConfigurationShared::Builder> builder;
+ std::shared_ptr<std::vector<ConfigurationShared::Tab*>> tab_group;
std::unique_ptr<ConfigurePerGameAddons> addons_tab;
std::unique_ptr<ConfigureAudio> audio_tab;
std::unique_ptr<ConfigureCpu> cpu_tab;
- std::unique_ptr<ConfigureGeneral> general_tab;
std::unique_ptr<ConfigureGraphicsAdvanced> graphics_advanced_tab;
std::unique_ptr<ConfigureGraphics> graphics_tab;
std::unique_ptr<ConfigureInputPerGame> input_tab;
diff --git a/src/yuzu/configuration/configure_per_game.ui b/src/yuzu/configuration/configure_per_game.ui
index 85c86e107..99ba2fd18 100644
--- a/src/yuzu/configuration/configure_per_game.ui
+++ b/src/yuzu/configuration/configure_per_game.ui
@@ -2,6 +2,14 @@
<ui version="4.0">
<class>ConfigurePerGame</class>
<widget class="QDialog" name="ConfigurePerGame">
+ <property name="geometry">
+ <rect>
+ <x>0</x>
+ <y>0</y>
+ <width>900</width>
+ <height>607</height>
+ </rect>
+ </property>
<property name="minimumSize">
<size>
<width>900</width>
@@ -225,20 +233,31 @@
</layout>
</item>
<item>
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <property name="standardButtons">
- <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
- </property>
- </widget>
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <item>
+ <widget class="QLabel" name="label_8">
+ <property name="text">
+ <string>Some settings are only available when a game is not running.</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="orientation">
+ <enum>Qt::Horizontal</enum>
+ </property>
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
+ </property>
+ </widget>
+ </item>
+ </layout>
</item>
</layout>
</widget>
diff --git a/src/yuzu/configuration/configure_system.cpp b/src/yuzu/configuration/configure_system.cpp
index f1ae312c6..0c8e5c8b4 100644
--- a/src/yuzu/configuration/configure_system.cpp
+++ b/src/yuzu/configuration/configure_system.cpp
@@ -3,16 +3,23 @@
#include <chrono>
#include <optional>
+#include <vector>
+#include <QCheckBox>
+#include <QComboBox>
+#include <QDateTimeEdit>
#include <QFileDialog>
#include <QGraphicsItem>
+#include <QLineEdit>
#include <QMessageBox>
#include "common/settings.h"
#include "core/core.h"
#include "core/hle/service/time/time_manager.h"
#include "ui_configure_system.h"
+#include "yuzu/configuration/config.h"
#include "yuzu/configuration/configuration_shared.h"
#include "yuzu/configuration/configure_system.h"
+#include "yuzu/configuration/shared_widget.h"
constexpr std::array<u32, 7> LOCALE_BLOCKLIST{
// pzzefezrpnkzeidfej
@@ -37,44 +44,32 @@ static bool IsValidLocale(u32 region_index, u32 language_index) {
return ((LOCALE_BLOCKLIST.at(region_index) >> language_index) & 1) == 0;
}
-ConfigureSystem::ConfigureSystem(Core::System& system_, QWidget* parent)
- : QWidget(parent), ui{std::make_unique<Ui::ConfigureSystem>()}, system{system_} {
+ConfigureSystem::ConfigureSystem(Core::System& system_,
+ std::shared_ptr<std::vector<ConfigurationShared::Tab*>> group_,
+ const ConfigurationShared::Builder& builder, QWidget* parent)
+ : Tab(group_, parent), ui{std::make_unique<Ui::ConfigureSystem>()}, system{system_} {
ui->setupUi(this);
- connect(ui->rng_seed_checkbox, &QCheckBox::stateChanged, this, [this](int state) {
- ui->rng_seed_edit->setEnabled(state == Qt::Checked);
- if (state != Qt::Checked) {
- ui->rng_seed_edit->setText(QStringLiteral("00000000"));
- }
- });
-
- connect(ui->custom_rtc_checkbox, &QCheckBox::stateChanged, this, [this](int state) {
- ui->custom_rtc_edit->setEnabled(state == Qt::Checked);
- if (state != Qt::Checked) {
- ui->custom_rtc_edit->setDateTime(QDateTime::currentDateTime());
- }
- });
+ Setup(builder);
- const auto locale_check = [this](int index) {
- const auto region_index = ConfigurationShared::GetComboboxIndex(
- Settings::values.region_index.GetValue(true), ui->combo_region);
- const auto language_index = ConfigurationShared::GetComboboxIndex(
- Settings::values.language_index.GetValue(true), ui->combo_language);
+ const auto locale_check = [this]() {
+ const auto region_index = combo_region->currentIndex();
+ const auto language_index = combo_language->currentIndex();
const bool valid_locale = IsValidLocale(region_index, language_index);
ui->label_warn_invalid_locale->setVisible(!valid_locale);
if (!valid_locale) {
ui->label_warn_invalid_locale->setText(
tr("Warning: \"%1\" is not a valid language for region \"%2\"")
- .arg(ui->combo_language->currentText())
- .arg(ui->combo_region->currentText()));
+ .arg(combo_language->currentText())
+ .arg(combo_region->currentText()));
}
};
- connect(ui->combo_language, qOverload<int>(&QComboBox::currentIndexChanged), this,
- locale_check);
- connect(ui->combo_region, qOverload<int>(&QComboBox::currentIndexChanged), this, locale_check);
+ connect(combo_language, qOverload<int>(&QComboBox::currentIndexChanged), this, locale_check);
+ connect(combo_region, qOverload<int>(&QComboBox::currentIndexChanged), this, locale_check);
- SetupPerGameUI();
+ ui->label_warn_invalid_locale->setVisible(false);
+ locale_check();
SetConfiguration();
}
@@ -93,137 +88,71 @@ void ConfigureSystem::RetranslateUI() {
ui->retranslateUi(this);
}
-void ConfigureSystem::SetConfiguration() {
- enabled = !system.IsPoweredOn();
- const auto rng_seed =
- QStringLiteral("%1")
- .arg(Settings::values.rng_seed.GetValue().value_or(0), 8, 16, QLatin1Char{'0'})
- .toUpper();
- const auto rtc_time = Settings::values.custom_rtc.value_or(QDateTime::currentSecsSinceEpoch());
-
- ui->rng_seed_checkbox->setChecked(Settings::values.rng_seed.GetValue().has_value());
- ui->rng_seed_edit->setEnabled(Settings::values.rng_seed.GetValue().has_value() &&
- Settings::values.rng_seed.UsingGlobal());
- ui->rng_seed_edit->setText(rng_seed);
-
- ui->custom_rtc_checkbox->setChecked(Settings::values.custom_rtc.has_value());
- ui->custom_rtc_edit->setEnabled(Settings::values.custom_rtc.has_value());
- ui->custom_rtc_edit->setDateTime(QDateTime::fromSecsSinceEpoch(rtc_time));
- ui->device_name_edit->setText(
- QString::fromUtf8(Settings::values.device_name.GetValue().c_str()));
- ui->use_unsafe_extended_memory_layout->setEnabled(enabled);
- ui->use_unsafe_extended_memory_layout->setChecked(
- Settings::values.use_unsafe_extended_memory_layout.GetValue());
-
- if (Settings::IsConfiguringGlobal()) {
- ui->combo_language->setCurrentIndex(Settings::values.language_index.GetValue());
- ui->combo_region->setCurrentIndex(Settings::values.region_index.GetValue());
- ui->combo_time_zone->setCurrentIndex(Settings::values.time_zone_index.GetValue());
- } else {
- ConfigurationShared::SetPerGameSetting(ui->combo_language,
- &Settings::values.language_index);
- ConfigurationShared::SetPerGameSetting(ui->combo_region, &Settings::values.region_index);
- ConfigurationShared::SetPerGameSetting(ui->combo_time_zone,
- &Settings::values.time_zone_index);
-
- ConfigurationShared::SetHighlight(ui->label_language,
- !Settings::values.language_index.UsingGlobal());
- ConfigurationShared::SetHighlight(ui->label_region,
- !Settings::values.region_index.UsingGlobal());
- ConfigurationShared::SetHighlight(ui->label_timezone,
- !Settings::values.time_zone_index.UsingGlobal());
- }
-}
+void ConfigureSystem::Setup(const ConfigurationShared::Builder& builder) {
+ auto& core_layout = *ui->core_widget->layout();
+ auto& system_layout = *ui->system_widget->layout();
-void ConfigureSystem::ReadSystemSettings() {}
+ std::map<u32, QWidget*> core_hold{};
+ std::map<u32, QWidget*> system_hold{};
-void ConfigureSystem::ApplyConfiguration() {
- // Allow setting custom RTC even if system is powered on,
- // to allow in-game time to be fast forwarded
- if (Settings::IsConfiguringGlobal()) {
- if (ui->custom_rtc_checkbox->isChecked()) {
- Settings::values.custom_rtc = ui->custom_rtc_edit->dateTime().toSecsSinceEpoch();
- if (system.IsPoweredOn()) {
- const s64 posix_time{*Settings::values.custom_rtc};
- system.GetTimeManager().UpdateLocalSystemClockTime(posix_time);
- }
- } else {
- Settings::values.custom_rtc = std::nullopt;
+ std::vector<Settings::BasicSetting*> settings;
+ auto push = [&settings](auto& list) {
+ for (auto setting : list) {
+ settings.push_back(setting);
}
- }
+ };
- Settings::values.device_name = ui->device_name_edit->text().toStdString();
+ push(Settings::values.linkage.by_category[Settings::Category::Core]);
+ push(Settings::values.linkage.by_category[Settings::Category::System]);
- if (!enabled) {
- return;
- }
+ for (auto setting : settings) {
+ if (setting->Id() == Settings::values.use_docked_mode.Id() &&
+ Settings::IsConfiguringGlobal()) {
+ continue;
+ }
+
+ ConfigurationShared::Widget* widget = builder.BuildWidget(setting, apply_funcs);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.language_index, ui->combo_language);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.region_index, ui->combo_region);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.time_zone_index,
- ui->combo_time_zone);
- ConfigurationShared::ApplyPerGameSetting(&Settings::values.use_unsafe_extended_memory_layout,
- ui->use_unsafe_extended_memory_layout,
- use_unsafe_extended_memory_layout);
-
- if (Settings::IsConfiguringGlobal()) {
- // Guard if during game and set to game-specific value
- if (Settings::values.rng_seed.UsingGlobal()) {
- if (ui->rng_seed_checkbox->isChecked()) {
- Settings::values.rng_seed.SetValue(ui->rng_seed_edit->text().toUInt(nullptr, 16));
- } else {
- Settings::values.rng_seed.SetValue(std::nullopt);
- }
+ if (widget == nullptr) {
+ continue;
}
- } else {
- switch (use_rng_seed) {
- case ConfigurationShared::CheckState::On:
- case ConfigurationShared::CheckState::Off:
- Settings::values.rng_seed.SetGlobal(false);
- if (ui->rng_seed_checkbox->isChecked()) {
- Settings::values.rng_seed.SetValue(ui->rng_seed_edit->text().toUInt(nullptr, 16));
- } else {
- Settings::values.rng_seed.SetValue(std::nullopt);
- }
- break;
- case ConfigurationShared::CheckState::Global:
- Settings::values.rng_seed.SetGlobal(false);
- Settings::values.rng_seed.SetValue(std::nullopt);
- Settings::values.rng_seed.SetGlobal(true);
+ if (!widget->Valid()) {
+ widget->deleteLater();
+ continue;
+ }
+
+ if (setting->Id() == Settings::values.region_index.Id()) {
+ // Keep track of the region_index (and langauge_index) combobox to validate the selected
+ // settings
+ combo_region = widget->combobox;
+ } else if (setting->Id() == Settings::values.language_index.Id()) {
+ combo_language = widget->combobox;
+ }
+
+ switch (setting->GetCategory()) {
+ case Settings::Category::Core:
+ core_hold.emplace(setting->Id(), widget);
break;
- case ConfigurationShared::CheckState::Count:
+ case Settings::Category::System:
+ system_hold.emplace(setting->Id(), widget);
break;
+ default:
+ widget->deleteLater();
}
}
+ for (const auto& [label, widget] : core_hold) {
+ core_layout.addWidget(widget);
+ }
+ for (const auto& [id, widget] : system_hold) {
+ system_layout.addWidget(widget);
+ }
}
-void ConfigureSystem::SetupPerGameUI() {
- if (Settings::IsConfiguringGlobal()) {
- ui->combo_language->setEnabled(Settings::values.language_index.UsingGlobal());
- ui->combo_region->setEnabled(Settings::values.region_index.UsingGlobal());
- ui->combo_time_zone->setEnabled(Settings::values.time_zone_index.UsingGlobal());
- ui->rng_seed_checkbox->setEnabled(Settings::values.rng_seed.UsingGlobal());
- ui->rng_seed_edit->setEnabled(Settings::values.rng_seed.UsingGlobal());
+void ConfigureSystem::SetConfiguration() {}
- return;
+void ConfigureSystem::ApplyConfiguration() {
+ const bool powered_on = system.IsPoweredOn();
+ for (const auto& func : apply_funcs) {
+ func(powered_on);
}
-
- ConfigurationShared::SetColoredComboBox(ui->combo_language, ui->label_language,
- Settings::values.language_index.GetValue(true));
- ConfigurationShared::SetColoredComboBox(ui->combo_region, ui->label_region,
- Settings::values.region_index.GetValue(true));
- ConfigurationShared::SetColoredComboBox(ui->combo_time_zone, ui->label_timezone,
- Settings::values.time_zone_index.GetValue(true));
-
- ConfigurationShared::SetColoredTristate(
- ui->rng_seed_checkbox, Settings::values.rng_seed.UsingGlobal(),
- Settings::values.rng_seed.GetValue().has_value(),
- Settings::values.rng_seed.GetValue(true).has_value(), use_rng_seed);
-
- ConfigurationShared::SetColoredTristate(ui->use_unsafe_extended_memory_layout,
- Settings::values.use_unsafe_extended_memory_layout,
- use_unsafe_extended_memory_layout);
-
- ui->custom_rtc_checkbox->setVisible(false);
- ui->custom_rtc_edit->setVisible(false);
}
diff --git a/src/yuzu/configuration/configure_system.h b/src/yuzu/configuration/configure_system.h
index ce1a91601..eab99a48a 100644
--- a/src/yuzu/configuration/configure_system.h
+++ b/src/yuzu/configuration/configure_system.h
@@ -3,45 +3,53 @@
#pragma once
+#include <functional>
#include <memory>
+#include <vector>
#include <QWidget>
+#include "yuzu/configuration/configuration_shared.h"
+class QCheckBox;
+class QLineEdit;
+class QComboBox;
+class QDateTimeEdit;
namespace Core {
class System;
}
-namespace ConfigurationShared {
-enum class CheckState;
-}
-
namespace Ui {
class ConfigureSystem;
}
-class ConfigureSystem : public QWidget {
- Q_OBJECT
+namespace ConfigurationShared {
+class Builder;
+}
+class ConfigureSystem : public ConfigurationShared::Tab {
public:
- explicit ConfigureSystem(Core::System& system_, QWidget* parent = nullptr);
+ explicit ConfigureSystem(Core::System& system_,
+ std::shared_ptr<std::vector<ConfigurationShared::Tab*>> group,
+ const ConfigurationShared::Builder& builder,
+ QWidget* parent = nullptr);
~ConfigureSystem() override;
- void ApplyConfiguration();
- void SetConfiguration();
+ void ApplyConfiguration() override;
+ void SetConfiguration() override;
private:
void changeEvent(QEvent* event) override;
void RetranslateUI();
- void ReadSystemSettings();
+ void Setup(const ConfigurationShared::Builder& builder);
- void SetupPerGameUI();
+ std::vector<std::function<void(bool)>> apply_funcs{};
std::unique_ptr<Ui::ConfigureSystem> ui;
bool enabled = false;
- ConfigurationShared::CheckState use_rng_seed;
- ConfigurationShared::CheckState use_unsafe_extended_memory_layout;
-
Core::System& system;
+
+ QComboBox* combo_region;
+ QComboBox* combo_language;
};
diff --git a/src/yuzu/configuration/configure_system.ui b/src/yuzu/configuration/configure_system.ui
index e0caecd5e..2a735836e 100644
--- a/src/yuzu/configuration/configure_system.ui
+++ b/src/yuzu/configuration/configure_system.ui
@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>366</width>
+ <width>605</width>
<height>483</height>
</rect>
</property>
@@ -22,470 +22,63 @@
<item>
<widget class="QGroupBox" name="group_system_settings">
<property name="title">
- <string>System Settings</string>
+ <string>System</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="1" column="0">
- <widget class="QLabel" name="label_region">
- <property name="text">
- <string>Region:</string>
- </property>
- </widget>
- </item>
- <item row="2" column="1">
- <widget class="QComboBox" name="combo_time_zone">
- <item>
- <property name="text">
- <string>Auto</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Default</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>CET</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>CST6CDT</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Cuba</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>EET</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Egypt</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Eire</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>EST</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>EST5EDT</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>GB</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>GB-Eire</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>GMT</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>GMT+0</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>GMT-0</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>GMT0</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Greenwich</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Hongkong</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>HST</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Iceland</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Iran</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Israel</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Jamaica</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Japan</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Kwajalein</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Libya</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>MET</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>MST</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>MST7MDT</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Navajo</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>NZ</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>NZ-CHAT</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Poland</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Portugal</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>PRC</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>PST8PDT</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>ROC</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>ROK</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Singapore</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Turkey</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>UCT</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Universal</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>UTC</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>W-SU</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>WET</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Zulu</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QComboBox" name="combo_region">
- <item>
- <property name="text">
- <string>Japan</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>USA</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Europe</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Australia</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>China</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Korea</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Taiwan</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_timezone">
- <property name="text">
- <string>Time Zone:</string>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QComboBox" name="combo_language">
- <property name="toolTip">
- <string>Note: this can be overridden when region setting is auto-select</string>
- </property>
- <item>
- <property name="text">
- <string>Japanese (日本語)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>American English</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>French (français)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>German (Deutsch)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Italian (italiano)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Spanish (español)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Chinese</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Korean (한국어)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Dutch (Nederlands)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Portuguese (português)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Russian (Русский)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Taiwanese</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>British English</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Canadian French</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Latin American Spanish</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Simplified Chinese</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Traditional Chinese (正體中文)</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Brazilian Portuguese (português do Brasil)</string>
- </property>
- </item>
- </widget>
- </item>
- <item row="4" column="0">
- <widget class="QCheckBox" name="custom_rtc_checkbox">
- <property name="text">
- <string>Custom RTC</string>
- </property>
- </widget>
- </item>
- <item row="0" column="0">
- <widget class="QLabel" name="label_language">
- <property name="text">
- <string>Language</string>
- </property>
- </widget>
- </item>
- <item row="5" column="0">
- <widget class="QCheckBox" name="rng_seed_checkbox">
- <property name="text">
- <string>RNG Seed</string>
- </property>
- </widget>
- </item>
- <item row="6" column="0">
- <widget class="QLabel" name="device_name_label">
- <property name="text">
- <string>Device Name</string>
- </property>
- </widget>
- </item>
- <item row="4" column="1">
- <widget class="QDateTimeEdit" name="custom_rtc_edit">
- <property name="minimumDate">
- <date>
- <year>1970</year>
- <month>1</month>
- <day>1</day>
- </date>
- </property>
- </widget>
- </item>
- <item row="6" column="1">
- <widget class="QLineEdit" name="device_name_edit">
- <property name="maxLength">
- <number>128</number>
- </property>
- </widget>
- </item>
- <item row="5" column="1">
- <widget class="QLineEdit" name="rng_seed_edit">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="font">
- <font>
- <family>Lucida Console</family>
- </font>
- </property>
- <property name="inputMask">
- <string notr="true">HHHHHHHH</string>
- </property>
- <property name="maxLength">
- <number>8</number>
- </property>
- </widget>
- </item>
- <item row="7" column="0">
- <widget class="QCheckBox" name="use_unsafe_extended_memory_layout">
- <property name="text">
- <string>Unsafe extended memory layout (8GB DRAM)</string>
- </property>
- </widget>
- </item>
- </layout>
+ <widget class="QWidget" name="system_widget" native="true">
+ <layout class="QVBoxLayout" name="verticalLayout_3">
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_warn_invalid_locale">
+ <property name="text">
+ <string/>
+ </property>
+ <property name="wordWrap">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="QGroupBox" name="groupBox">
+ <property name="title">
+ <string>Core</string>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout_6">
+ <item>
+ <widget class="QWidget" name="core_widget" native="true">
+ <layout class="QVBoxLayout" name="verticalLayout_5">
+ <property name="leftMargin">
+ <number>0</number>
+ </property>
+ <property name="topMargin">
+ <number>0</number>
+ </property>
+ <property name="rightMargin">
+ <number>0</number>
+ </property>
+ <property name="bottomMargin">
+ <number>0</number>
+ </property>
+ </layout>
+ </widget>
</item>
</layout>
</widget>
@@ -503,26 +96,6 @@
</property>
</spacer>
</item>
- <item>
- <widget class="QLabel" name="label_warn_invalid_locale">
- <property name="text">
- <string></string>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="label_disable_info">
- <property name="text">
- <string>System settings are available only when game is not running.</string>
- </property>
- <property name="wordWrap">
- <bool>true</bool>
- </property>
- </widget>
- </item>
</layout>
</item>
</layout>
diff --git a/src/yuzu/configuration/configure_ui.cpp b/src/yuzu/configuration/configure_ui.cpp
index 2ebb80302..82f3b6e78 100644
--- a/src/yuzu/configuration/configure_ui.cpp
+++ b/src/yuzu/configuration/configure_ui.cpp
@@ -1,18 +1,32 @@
// SPDX-FileCopyrightText: 2016 Citra Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include "yuzu/configuration/configure_ui.h"
+
#include <array>
+#include <cstdlib>
+#include <set>
+#include <stdexcept>
+#include <string>
#include <utility>
-#include <QFileDialog>
+#include <QCheckBox>
+#include <QComboBox>
+#include <QCoreApplication>
#include <QDirIterator>
+#include <QFileDialog>
+#include <QString>
+#include <QToolButton>
+#include <QVariant>
+
#include "common/common_types.h"
#include "common/fs/path_util.h"
#include "common/logging/log.h"
#include "common/settings.h"
+#include "common/settings_enums.h"
#include "core/core.h"
+#include "core/frontend/framebuffer_layout.h"
#include "ui_configure_ui.h"
-#include "yuzu/configuration/configure_ui.h"
#include "yuzu/uisettings.h"
namespace {
@@ -54,8 +68,40 @@ QString GetTranslatedRowTextName(size_t index) {
}
} // Anonymous namespace
+static float GetUpFactor(Settings::ResolutionSetup res_setup) {
+ Settings::ResolutionScalingInfo info{};
+ Settings::TranslateResolutionInfo(res_setup, info);
+ return info.up_factor;
+}
+
+static void PopulateResolutionComboBox(QComboBox* screenshot_height, QWidget* parent) {
+ screenshot_height->clear();
+
+ const auto& enumeration =
+ Settings::EnumMetadata<Settings::ResolutionSetup>::Canonicalizations();
+ std::set<u32> resolutions{};
+ for (const auto& [name, value] : enumeration) {
+ const float up_factor = GetUpFactor(value);
+ u32 height_undocked = Layout::ScreenUndocked::Height * up_factor;
+ u32 height_docked = Layout::ScreenDocked::Height * up_factor;
+ resolutions.emplace(height_undocked);
+ resolutions.emplace(height_docked);
+ }
+
+ screenshot_height->addItem(parent->tr("Auto", "Screenshot height option"));
+ for (const auto res : resolutions) {
+ screenshot_height->addItem(QString::fromStdString(std::to_string(res)));
+ }
+}
+
+static u32 ScreenshotDimensionToInt(const QString& height) {
+ return std::strtoul(height.toUtf8(), nullptr, 0);
+}
+
ConfigureUi::ConfigureUi(Core::System& system_, QWidget* parent)
- : QWidget(parent), ui{std::make_unique<Ui::ConfigureUi>()}, system{system_} {
+ : QWidget(parent), ui{std::make_unique<Ui::ConfigureUi>()},
+ ratio{Settings::values.aspect_ratio.GetValue()},
+ resolution_setting{Settings::values.resolution_setup.GetValue()}, system{system_} {
ui->setupUi(this);
InitializeLanguageComboBox();
@@ -68,6 +114,8 @@ ConfigureUi::ConfigureUi(Core::System& system_, QWidget* parent)
InitializeIconSizeComboBox();
InitializeRowComboBoxes();
+ PopulateResolutionComboBox(ui->screenshot_height, this);
+
SetConfiguration();
// Force game list reload if any of the relevant settings are changed.
@@ -75,6 +123,8 @@ ConfigureUi::ConfigureUi(Core::System& system_, QWidget* parent)
connect(ui->show_compat, &QCheckBox::stateChanged, this, &ConfigureUi::RequestGameListUpdate);
connect(ui->show_size, &QCheckBox::stateChanged, this, &ConfigureUi::RequestGameListUpdate);
connect(ui->show_types, &QCheckBox::stateChanged, this, &ConfigureUi::RequestGameListUpdate);
+ connect(ui->show_play_time, &QCheckBox::stateChanged, this,
+ &ConfigureUi::RequestGameListUpdate);
connect(ui->game_icon_size_combobox, QOverload<int>::of(&QComboBox::currentIndexChanged), this,
&ConfigureUi::RequestGameListUpdate);
connect(ui->folder_icon_size_combobox, QOverload<int>::of(&QComboBox::currentIndexChanged),
@@ -104,6 +154,10 @@ ConfigureUi::ConfigureUi(Core::System& system_, QWidget* parent)
ui->screenshot_path_edit->setText(dir);
}
});
+
+ connect(ui->screenshot_height, &QComboBox::currentTextChanged, [this]() { UpdateWidthText(); });
+
+ UpdateWidthText();
}
ConfigureUi::~ConfigureUi() = default;
@@ -115,6 +169,7 @@ void ConfigureUi::ApplyConfiguration() {
UISettings::values.show_compat = ui->show_compat->isChecked();
UISettings::values.show_size = ui->show_size->isChecked();
UISettings::values.show_types = ui->show_types->isChecked();
+ UISettings::values.show_play_time = ui->show_play_time->isChecked();
UISettings::values.game_icon_size = ui->game_icon_size_combobox->currentData().toUInt();
UISettings::values.folder_icon_size = ui->folder_icon_size_combobox->currentData().toUInt();
UISettings::values.row_1_text_id = ui->row_1_text_combobox->currentData().toUInt();
@@ -123,6 +178,11 @@ void ConfigureUi::ApplyConfiguration() {
UISettings::values.enable_screenshot_save_as = ui->enable_screenshot_save_as->isChecked();
Common::FS::SetYuzuPath(Common::FS::YuzuPath::ScreenshotsDir,
ui->screenshot_path_edit->text().toStdString());
+
+ const u32 height = ScreenshotDimensionToInt(ui->screenshot_height->currentText());
+ UISettings::values.screenshot_height.SetValue(height);
+
+ RequestGameListUpdate();
system.ApplySettings();
}
@@ -138,6 +198,7 @@ void ConfigureUi::SetConfiguration() {
ui->show_compat->setChecked(UISettings::values.show_compat.GetValue());
ui->show_size->setChecked(UISettings::values.show_size.GetValue());
ui->show_types->setChecked(UISettings::values.show_types.GetValue());
+ ui->show_play_time->setChecked(UISettings::values.show_play_time.GetValue());
ui->game_icon_size_combobox->setCurrentIndex(
ui->game_icon_size_combobox->findData(UISettings::values.game_icon_size.GetValue()));
ui->folder_icon_size_combobox->setCurrentIndex(
@@ -147,6 +208,13 @@ void ConfigureUi::SetConfiguration() {
UISettings::values.enable_screenshot_save_as.GetValue());
ui->screenshot_path_edit->setText(QString::fromStdString(
Common::FS::GetYuzuPathString(Common::FS::YuzuPath::ScreenshotsDir)));
+
+ const auto height = UISettings::values.screenshot_height.GetValue();
+ if (height == 0) {
+ ui->screenshot_height->setCurrentIndex(0);
+ } else {
+ ui->screenshot_height->setCurrentText(QStringLiteral("%1").arg(height));
+ }
}
void ConfigureUi::changeEvent(QEvent* event) {
@@ -317,3 +385,29 @@ void ConfigureUi::OnLanguageChanged(int index) {
emit LanguageChanged(ui->language_combobox->itemData(index).toString());
}
+
+void ConfigureUi::UpdateWidthText() {
+ const u32 height = ScreenshotDimensionToInt(ui->screenshot_height->currentText());
+ const u32 width = UISettings::CalculateWidth(height, ratio);
+ if (height == 0) {
+ const auto up_factor = GetUpFactor(resolution_setting);
+ const u32 height_docked = Layout::ScreenDocked::Height * up_factor;
+ const u32 width_docked = UISettings::CalculateWidth(height_docked, ratio);
+ const u32 height_undocked = Layout::ScreenUndocked::Height * up_factor;
+ const u32 width_undocked = UISettings::CalculateWidth(height_undocked, ratio);
+ ui->screenshot_width->setText(tr("Auto (%1 x %2, %3 x %4)", "Screenshot width value")
+ .arg(width_undocked)
+ .arg(height_undocked)
+ .arg(width_docked)
+ .arg(height_docked));
+ } else {
+ ui->screenshot_width->setText(QStringLiteral("%1 x").arg(width));
+ }
+}
+
+void ConfigureUi::UpdateScreenshotInfo(Settings::AspectRatio ratio_,
+ Settings::ResolutionSetup resolution_setting_) {
+ ratio = ratio_;
+ resolution_setting = resolution_setting_;
+ UpdateWidthText();
+}
diff --git a/src/yuzu/configuration/configure_ui.h b/src/yuzu/configuration/configure_ui.h
index 95af8370e..2a2563a13 100644
--- a/src/yuzu/configuration/configure_ui.h
+++ b/src/yuzu/configuration/configure_ui.h
@@ -5,6 +5,7 @@
#include <memory>
#include <QWidget>
+#include "common/settings_enums.h"
namespace Core {
class System;
@@ -23,6 +24,9 @@ public:
void ApplyConfiguration();
+ void UpdateScreenshotInfo(Settings::AspectRatio ratio,
+ Settings::ResolutionSetup resolution_info);
+
private slots:
void OnLanguageChanged(int index);
@@ -44,7 +48,11 @@ private:
void UpdateFirstRowComboBox(bool init = false);
void UpdateSecondRowComboBox(bool init = false);
+ void UpdateWidthText();
+
std::unique_ptr<Ui::ConfigureUi> ui;
+ Settings::AspectRatio ratio;
+ Settings::ResolutionSetup resolution_setting;
Core::System& system;
};
diff --git a/src/yuzu/configuration/configure_ui.ui b/src/yuzu/configuration/configure_ui.ui
index 10bb27312..b8e648381 100644
--- a/src/yuzu/configuration/configure_ui.ui
+++ b/src/yuzu/configuration/configure_ui.ui
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>363</width>
- <height>562</height>
+ <height>603</height>
</rect>
</property>
<property name="windowTitle">
@@ -105,6 +105,13 @@
</widget>
</item>
<item>
+ <widget class="QCheckBox" name="show_play_time">
+ <property name="text">
+ <string>Show Play Time Column</string>
+ </property>
+ </widget>
+ </item>
+ <item>
<layout class="QHBoxLayout" name="game_icon_size_qhbox_layout_2">
<item>
<widget class="QLabel" name="game_icon_size_label">
@@ -201,6 +208,41 @@
</item>
</layout>
</item>
+ <item>
+ <layout class="QGridLayout" name="gridLayout">
+ <property name="spacing">
+ <number>6</number>
+ </property>
+ <item row="0" column="1">
+ <layout class="QHBoxLayout" name="horizontalLayout_5">
+ <item>
+ <widget class="QLabel" name="screenshot_width">
+ <property name="text">
+ <string>TextLabel</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QComboBox" name="screenshot_height">
+ <property name="editable">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="label_3">
+ <property name="text">
+ <string>Resolution:</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
</layout>
</item>
</layout>
diff --git a/src/yuzu/configuration/shared_translation.cpp b/src/yuzu/configuration/shared_translation.cpp
new file mode 100644
index 000000000..a4e8af1b4
--- /dev/null
+++ b/src/yuzu/configuration/shared_translation.cpp
@@ -0,0 +1,392 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "common/time_zone.h"
+#include "yuzu/configuration/shared_translation.h"
+
+#include <map>
+#include <memory>
+#include <tuple>
+#include <utility>
+#include <QWidget>
+#include "common/settings.h"
+#include "common/settings_enums.h"
+#include "common/settings_setting.h"
+#include "yuzu/uisettings.h"
+
+namespace ConfigurationShared {
+
+std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent) {
+ std::unique_ptr<TranslationMap> translations = std::make_unique<TranslationMap>();
+ const auto& tr = [parent](const char* text) -> QString { return parent->tr(text); };
+
+#define INSERT(SETTINGS, ID, NAME, TOOLTIP) \
+ translations->insert(std::pair{SETTINGS::values.ID.Id(), std::pair{tr((NAME)), tr((TOOLTIP))}})
+
+ // A setting can be ignored by giving it a blank name
+
+ // Audio
+ INSERT(Settings, sink_id, "Output Engine:", "");
+ INSERT(Settings, audio_output_device_id, "Output Device:", "");
+ INSERT(Settings, audio_input_device_id, "Input Device:", "");
+ INSERT(Settings, audio_muted, "Mute audio", "");
+ INSERT(Settings, volume, "Volume:", "");
+ INSERT(Settings, dump_audio_commands, "", "");
+ INSERT(UISettings, mute_when_in_background, "Mute audio when in background", "");
+
+ // Core
+ INSERT(Settings, use_multi_core, "Multicore CPU Emulation", "");
+ INSERT(Settings, memory_layout_mode, "Memory Layout", "");
+ INSERT(Settings, use_speed_limit, "", "");
+ INSERT(Settings, speed_limit, "Limit Speed Percent", "");
+
+ // Cpu
+ INSERT(Settings, cpu_accuracy, "Accuracy:", "");
+
+ // Cpu Debug
+
+ // Cpu Unsafe
+ INSERT(Settings, cpuopt_unsafe_unfuse_fma,
+ "Unfuse FMA (improve performance on CPUs without FMA)",
+ "This option improves speed by reducing accuracy of fused-multiply-add instructions on "
+ "CPUs without native FMA support.");
+ INSERT(Settings, cpuopt_unsafe_reduce_fp_error, "Faster FRSQRTE and FRECPE",
+ "This option improves the speed of some approximate floating-point functions by using "
+ "less accurate native approximations.");
+ INSERT(Settings, cpuopt_unsafe_ignore_standard_fpcr, "Faster ASIMD instructions (32 bits only)",
+ "This option improves the speed of 32 bits ASIMD floating-point functions by running "
+ "with incorrect rounding modes.");
+ INSERT(Settings, cpuopt_unsafe_inaccurate_nan, "Inaccurate NaN handling",
+ "This option improves speed by removing NaN checking. Please note this also reduces "
+ "accuracy of certain floating-point instructions.");
+ INSERT(
+ Settings, cpuopt_unsafe_fastmem_check, "Disable address space checks",
+ "This option improves speed by eliminating a safety check before every memory read/write "
+ "in guest. Disabling it may allow a game to read/write the emulator's memory.");
+ INSERT(Settings, cpuopt_unsafe_ignore_global_monitor, "Ignore global monitor",
+ "This option improves speed by relying only on the semantics of cmpxchg to ensure "
+ "safety of exclusive access instructions. Please note this may result in deadlocks and "
+ "other race conditions.");
+
+ // Renderer
+ INSERT(Settings, renderer_backend, "API:", "");
+ INSERT(Settings, vulkan_device, "Device:", "");
+ INSERT(Settings, shader_backend, "Shader Backend:", "");
+ INSERT(Settings, resolution_setup, "Resolution:", "");
+ INSERT(Settings, scaling_filter, "Window Adapting Filter:", "");
+ INSERT(Settings, fsr_sharpening_slider, "FSR Sharpness:", "");
+ INSERT(Settings, anti_aliasing, "Anti-Aliasing Method:", "");
+ INSERT(Settings, fullscreen_mode, "Fullscreen Mode:", "");
+ INSERT(Settings, aspect_ratio, "Aspect Ratio:", "");
+ INSERT(Settings, use_disk_shader_cache, "Use disk pipeline cache", "");
+ INSERT(Settings, use_asynchronous_gpu_emulation, "Use asynchronous GPU emulation", "");
+ INSERT(Settings, nvdec_emulation, "NVDEC emulation:", "");
+ INSERT(Settings, accelerate_astc, "ASTC Decoding Method:", "");
+ INSERT(Settings, astc_recompression, "ASTC Recompression Method:", "");
+ INSERT(Settings, vsync_mode, "VSync Mode:",
+ "FIFO (VSync) does not drop frames or exhibit tearing but is limited by the screen "
+ "refresh rate.\nFIFO Relaxed is similar to FIFO but allows tearing as it recovers from "
+ "a slow down.\nMailbox can have lower latency than FIFO and does not tear but may drop "
+ "frames.\nImmediate (no synchronization) just presents whatever is available and can "
+ "exhibit tearing.");
+ INSERT(Settings, bg_red, "", "");
+ INSERT(Settings, bg_green, "", "");
+ INSERT(Settings, bg_blue, "", "");
+
+ // Renderer (Advanced Graphics)
+ INSERT(Settings, async_presentation, "Enable asynchronous presentation (Vulkan only)", "");
+ INSERT(Settings, renderer_force_max_clock, "Force maximum clocks (Vulkan only)",
+ "Runs work in the background while waiting for graphics commands to keep the GPU from "
+ "lowering its clock speed.");
+ INSERT(Settings, max_anisotropy, "Anisotropic Filtering:", "");
+ INSERT(Settings, gpu_accuracy, "Accuracy Level:", "");
+ INSERT(Settings, use_asynchronous_shaders, "Use asynchronous shader building (Hack)",
+ "Enables asynchronous shader compilation, which may reduce shader stutter. This feature "
+ "is experimental.");
+ INSERT(Settings, use_fast_gpu_time, "Use Fast GPU Time (Hack)",
+ "Enables Fast GPU Time. This option will force most games to run at their highest "
+ "native resolution.");
+ INSERT(Settings, use_vulkan_driver_pipeline_cache, "Use Vulkan pipeline cache",
+ "Enables GPU vendor-specific pipeline cache. This option can improve shader loading "
+ "time significantly in cases where the Vulkan driver does not store pipeline cache "
+ "files internally.");
+ INSERT(Settings, enable_compute_pipelines, "Enable Compute Pipelines (Intel Vulkan Only)",
+ "Enable compute pipelines, required by some games.\nThis setting only exists for Intel "
+ "proprietary drivers, and may crash if enabled.\nCompute pipelines are always enabled "
+ "on all other drivers.");
+ INSERT(Settings, use_reactive_flushing, "Enable Reactive Flushing",
+ "Uses reactive flushing instead of predictive flushing, allowing more accurate memory "
+ "syncing.");
+ INSERT(Settings, use_video_framerate, "Sync to framerate of video playback",
+ "Run the game at normal speed during video playback, even when the framerate is "
+ "unlocked.");
+ INSERT(Settings, barrier_feedback_loops, "Barrier feedback loops",
+ "Improves rendering of transparency effects in specific games.");
+
+ // Renderer (Debug)
+
+ // System
+ INSERT(Settings, rng_seed, "RNG Seed", "");
+ INSERT(Settings, rng_seed_enabled, "", "");
+ INSERT(Settings, device_name, "Device Name", "");
+ INSERT(Settings, custom_rtc, "Custom RTC", "");
+ INSERT(Settings, custom_rtc_enabled, "", "");
+ INSERT(Settings, language_index,
+ "Language:", "Note: this can be overridden when region setting is auto-select");
+ INSERT(Settings, region_index, "Region:", "");
+ INSERT(Settings, time_zone_index, "Time Zone:", "");
+ INSERT(Settings, sound_index, "Sound Output Mode:", "");
+ INSERT(Settings, use_docked_mode, "Console Mode:", "");
+ INSERT(Settings, current_user, "", "");
+
+ // Controls
+
+ // Data Storage
+
+ // Debugging
+
+ // Debugging Graphics
+
+ // Network
+
+ // Web Service
+
+ // Ui
+
+ // Ui General
+ INSERT(UISettings, select_user_on_boot, "Prompt for user on game boot", "");
+ INSERT(UISettings, pause_when_in_background, "Pause emulation when in background", "");
+ INSERT(UISettings, confirm_before_closing, "Confirm exit while emulation is running", "");
+ INSERT(UISettings, hide_mouse, "Hide mouse on inactivity", "");
+ INSERT(UISettings, controller_applet_disabled, "Disable controller applet", "");
+
+ // Ui Debugging
+
+ // Ui Multiplayer
+
+ // Ui Games list
+
+#undef INSERT
+
+ return translations;
+}
+
+std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QWidget* parent) {
+ std::unique_ptr<ComboboxTranslationMap> translations =
+ std::make_unique<ComboboxTranslationMap>();
+ const auto& tr = [&](const char* text, const char* context = "") {
+ return parent->tr(text, context);
+ };
+
+#define PAIR(ENUM, VALUE, TRANSLATION) \
+ { static_cast<u32>(Settings::ENUM::VALUE), tr(TRANSLATION) }
+#define CTX_PAIR(ENUM, VALUE, TRANSLATION, CONTEXT) \
+ { static_cast<u32>(Settings::ENUM::VALUE), tr(TRANSLATION, CONTEXT) }
+
+ // Intentionally skipping VSyncMode to let the UI fill that one out
+
+ translations->insert({Settings::EnumMetadata<Settings::AstcDecodeMode>::Index(),
+ {
+ PAIR(AstcDecodeMode, Cpu, "CPU"),
+ PAIR(AstcDecodeMode, Gpu, "GPU"),
+ PAIR(AstcDecodeMode, CpuAsynchronous, "CPU Asynchronous"),
+ }});
+ translations->insert({Settings::EnumMetadata<Settings::AstcRecompression>::Index(),
+ {
+ PAIR(AstcRecompression, Uncompressed, "Uncompressed (Best quality)"),
+ PAIR(AstcRecompression, Bc1, "BC1 (Low quality)"),
+ PAIR(AstcRecompression, Bc3, "BC3 (Medium quality)"),
+ }});
+ translations->insert({Settings::EnumMetadata<Settings::RendererBackend>::Index(),
+ {
+#ifdef HAS_OPENGL
+ PAIR(RendererBackend, OpenGL, "OpenGL"),
+#endif
+ PAIR(RendererBackend, Vulkan, "Vulkan"),
+ PAIR(RendererBackend, Null, "Null"),
+ }});
+ translations->insert({Settings::EnumMetadata<Settings::ShaderBackend>::Index(),
+ {
+ PAIR(ShaderBackend, Glsl, "GLSL"),
+ PAIR(ShaderBackend, Glasm, "GLASM (Assembly Shaders, NVIDIA Only)"),
+ PAIR(ShaderBackend, SpirV, "SPIR-V (Experimental, Mesa Only)"),
+ }});
+ translations->insert({Settings::EnumMetadata<Settings::GpuAccuracy>::Index(),
+ {
+ PAIR(GpuAccuracy, Normal, "Normal"),
+ PAIR(GpuAccuracy, High, "High"),
+ PAIR(GpuAccuracy, Extreme, "Extreme"),
+ }});
+ translations->insert({Settings::EnumMetadata<Settings::CpuAccuracy>::Index(),
+ {
+ PAIR(CpuAccuracy, Auto, "Auto"),
+ PAIR(CpuAccuracy, Accurate, "Accurate"),
+ PAIR(CpuAccuracy, Unsafe, "Unsafe"),
+ PAIR(CpuAccuracy, Paranoid, "Paranoid (disables most optimizations)"),
+ }});
+ translations->insert({Settings::EnumMetadata<Settings::FullscreenMode>::Index(),
+ {
+ PAIR(FullscreenMode, Borderless, "Borderless Windowed"),
+ PAIR(FullscreenMode, Exclusive, "Exclusive Fullscreen"),
+ }});
+ translations->insert({Settings::EnumMetadata<Settings::NvdecEmulation>::Index(),
+ {
+ PAIR(NvdecEmulation, Off, "No Video Output"),
+ PAIR(NvdecEmulation, Cpu, "CPU Video Decoding"),
+ PAIR(NvdecEmulation, Gpu, "GPU Video Decoding (Default)"),
+ }});
+ translations->insert({Settings::EnumMetadata<Settings::ResolutionSetup>::Index(),
+ {
+ PAIR(ResolutionSetup, Res1_2X, "0.5X (360p/540p) [EXPERIMENTAL]"),
+ PAIR(ResolutionSetup, Res3_4X, "0.75X (540p/810p) [EXPERIMENTAL]"),
+ PAIR(ResolutionSetup, Res1X, "1X (720p/1080p)"),
+ PAIR(ResolutionSetup, Res3_2X, "1.5X (1080p/1620p) [EXPERIMENTAL]"),
+ PAIR(ResolutionSetup, Res2X, "2X (1440p/2160p)"),
+ PAIR(ResolutionSetup, Res3X, "3X (2160p/3240p)"),
+ PAIR(ResolutionSetup, Res4X, "4X (2880p/4320p)"),
+ PAIR(ResolutionSetup, Res5X, "5X (3600p/5400p)"),
+ PAIR(ResolutionSetup, Res6X, "6X (4320p/6480p)"),
+ PAIR(ResolutionSetup, Res7X, "7X (5040p/7560p)"),
+ PAIR(ResolutionSetup, Res8X, "8X (5760p/8640p)"),
+ }});
+ translations->insert({Settings::EnumMetadata<Settings::ScalingFilter>::Index(),
+ {
+ PAIR(ScalingFilter, NearestNeighbor, "Nearest Neighbor"),
+ PAIR(ScalingFilter, Bilinear, "Bilinear"),
+ PAIR(ScalingFilter, Bicubic, "Bicubic"),
+ PAIR(ScalingFilter, Gaussian, "Gaussian"),
+ PAIR(ScalingFilter, ScaleForce, "ScaleForce"),
+ PAIR(ScalingFilter, Fsr, "AMD FidelityFX™️ Super Resolution"),
+ }});
+ translations->insert({Settings::EnumMetadata<Settings::AntiAliasing>::Index(),
+ {
+ PAIR(AntiAliasing, None, "None"),
+ PAIR(AntiAliasing, Fxaa, "FXAA"),
+ PAIR(AntiAliasing, Smaa, "SMAA"),
+ }});
+ translations->insert({Settings::EnumMetadata<Settings::AspectRatio>::Index(),
+ {
+ PAIR(AspectRatio, R16_9, "Default (16:9)"),
+ PAIR(AspectRatio, R4_3, "Force 4:3"),
+ PAIR(AspectRatio, R21_9, "Force 21:9"),
+ PAIR(AspectRatio, R16_10, "Force 16:10"),
+ PAIR(AspectRatio, Stretch, "Stretch to Window"),
+ }});
+ translations->insert({Settings::EnumMetadata<Settings::AnisotropyMode>::Index(),
+ {
+ PAIR(AnisotropyMode, Automatic, "Automatic"),
+ PAIR(AnisotropyMode, Default, "Default"),
+ PAIR(AnisotropyMode, X2, "2x"),
+ PAIR(AnisotropyMode, X4, "4x"),
+ PAIR(AnisotropyMode, X8, "8x"),
+ PAIR(AnisotropyMode, X16, "16x"),
+ }});
+ translations->insert(
+ {Settings::EnumMetadata<Settings::Language>::Index(),
+ {
+ PAIR(Language, Japanese, "Japanese (日本語)"),
+ PAIR(Language, EnglishAmerican, "American English"),
+ PAIR(Language, French, "French (français)"),
+ PAIR(Language, German, "German (Deutsch)"),
+ PAIR(Language, Italian, "Italian (italiano)"),
+ PAIR(Language, Spanish, "Spanish (español)"),
+ PAIR(Language, Chinese, "Chinese"),
+ PAIR(Language, Korean, "Korean (한국어)"),
+ PAIR(Language, Dutch, "Dutch (Nederlands)"),
+ PAIR(Language, Portuguese, "Portuguese (português)"),
+ PAIR(Language, Russian, "Russian (Русский)"),
+ PAIR(Language, Taiwanese, "Taiwanese"),
+ PAIR(Language, EnglishBritish, "British English"),
+ PAIR(Language, FrenchCanadian, "Canadian French"),
+ PAIR(Language, SpanishLatin, "Latin American Spanish"),
+ PAIR(Language, ChineseSimplified, "Simplified Chinese"),
+ PAIR(Language, ChineseTraditional, "Traditional Chinese (正體中文)"),
+ PAIR(Language, PortugueseBrazilian, "Brazilian Portuguese (português do Brasil)"),
+ }});
+ translations->insert({Settings::EnumMetadata<Settings::Region>::Index(),
+ {
+ PAIR(Region, Japan, "Japan"),
+ PAIR(Region, Usa, "USA"),
+ PAIR(Region, Europe, "Europe"),
+ PAIR(Region, Australia, "Australia"),
+ PAIR(Region, China, "China"),
+ PAIR(Region, Korea, "Korea"),
+ PAIR(Region, Taiwan, "Taiwan"),
+ }});
+ translations->insert(
+ {Settings::EnumMetadata<Settings::TimeZone>::Index(),
+ {
+ {static_cast<u32>(Settings::TimeZone::Auto),
+ tr("Auto (%1)", "Auto select time zone")
+ .arg(QString::fromStdString(
+ Settings::GetTimeZoneString(Settings::TimeZone::Auto)))},
+ {static_cast<u32>(Settings::TimeZone::Default),
+ tr("Default (%1)", "Default time zone")
+ .arg(QString::fromStdString(Common::TimeZone::GetDefaultTimeZone()))},
+ PAIR(TimeZone, Cet, "CET"),
+ PAIR(TimeZone, Cst6Cdt, "CST6CDT"),
+ PAIR(TimeZone, Cuba, "Cuba"),
+ PAIR(TimeZone, Eet, "EET"),
+ PAIR(TimeZone, Egypt, "Egypt"),
+ PAIR(TimeZone, Eire, "Eire"),
+ PAIR(TimeZone, Est, "EST"),
+ PAIR(TimeZone, Est5Edt, "EST5EDT"),
+ PAIR(TimeZone, Gb, "GB"),
+ PAIR(TimeZone, GbEire, "GB-Eire"),
+ PAIR(TimeZone, Gmt, "GMT"),
+ PAIR(TimeZone, GmtPlusZero, "GMT+0"),
+ PAIR(TimeZone, GmtMinusZero, "GMT-0"),
+ PAIR(TimeZone, GmtZero, "GMT0"),
+ PAIR(TimeZone, Greenwich, "Greenwich"),
+ PAIR(TimeZone, Hongkong, "Hongkong"),
+ PAIR(TimeZone, Hst, "HST"),
+ PAIR(TimeZone, Iceland, "Iceland"),
+ PAIR(TimeZone, Iran, "Iran"),
+ PAIR(TimeZone, Israel, "Israel"),
+ PAIR(TimeZone, Jamaica, "Jamaica"),
+ PAIR(TimeZone, Japan, "Japan"),
+ PAIR(TimeZone, Kwajalein, "Kwajalein"),
+ PAIR(TimeZone, Libya, "Libya"),
+ PAIR(TimeZone, Met, "MET"),
+ PAIR(TimeZone, Mst, "MST"),
+ PAIR(TimeZone, Mst7Mdt, "MST7MDT"),
+ PAIR(TimeZone, Navajo, "Navajo"),
+ PAIR(TimeZone, Nz, "NZ"),
+ PAIR(TimeZone, NzChat, "NZ-CHAT"),
+ PAIR(TimeZone, Poland, "Poland"),
+ PAIR(TimeZone, Portugal, "Portugal"),
+ PAIR(TimeZone, Prc, "PRC"),
+ PAIR(TimeZone, Pst8Pdt, "PST8PDT"),
+ PAIR(TimeZone, Roc, "ROC"),
+ PAIR(TimeZone, Rok, "ROK"),
+ PAIR(TimeZone, Singapore, "Singapore"),
+ PAIR(TimeZone, Turkey, "Turkey"),
+ PAIR(TimeZone, Uct, "UCT"),
+ PAIR(TimeZone, Universal, "Universal"),
+ PAIR(TimeZone, Utc, "UTC"),
+ PAIR(TimeZone, WSu, "W-SU"),
+ PAIR(TimeZone, Wet, "WET"),
+ PAIR(TimeZone, Zulu, "Zulu"),
+ }});
+ translations->insert({Settings::EnumMetadata<Settings::AudioMode>::Index(),
+ {
+ PAIR(AudioMode, Mono, "Mono"),
+ 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)"),
+ }});
+ translations->insert(
+ {Settings::EnumMetadata<Settings::ConsoleMode>::Index(),
+ {PAIR(ConsoleMode, Docked, "Docked"), PAIR(ConsoleMode, Handheld, "Handheld")}});
+
+#undef PAIR
+#undef CTX_PAIR
+
+ return translations;
+}
+} // namespace ConfigurationShared
diff --git a/src/yuzu/configuration/shared_translation.h b/src/yuzu/configuration/shared_translation.h
new file mode 100644
index 000000000..99a0e808c
--- /dev/null
+++ b/src/yuzu/configuration/shared_translation.h
@@ -0,0 +1,25 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <map>
+#include <memory>
+#include <typeindex>
+#include <utility>
+#include <vector>
+#include <QString>
+#include "common/common_types.h"
+
+class QWidget;
+
+namespace ConfigurationShared {
+using TranslationMap = std::map<u32, std::pair<QString, QString>>;
+using ComboboxTranslations = std::vector<std::pair<u32, QString>>;
+using ComboboxTranslationMap = std::map<u32, ComboboxTranslations>;
+
+std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent);
+
+std::unique_ptr<ComboboxTranslationMap> ComboboxEnumeration(QWidget* parent);
+
+} // namespace ConfigurationShared
diff --git a/src/yuzu/configuration/shared_widget.cpp b/src/yuzu/configuration/shared_widget.cpp
new file mode 100644
index 000000000..ea8d7add4
--- /dev/null
+++ b/src/yuzu/configuration/shared_widget.cpp
@@ -0,0 +1,802 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "yuzu/configuration/shared_widget.h"
+
+#include <functional>
+#include <limits>
+#include <typeindex>
+#include <typeinfo>
+#include <utility>
+#include <vector>
+
+#include <QAbstractButton>
+#include <QAbstractSlider>
+#include <QBoxLayout>
+#include <QCheckBox>
+#include <QComboBox>
+#include <QDateTime>
+#include <QDateTimeEdit>
+#include <QIcon>
+#include <QLabel>
+#include <QLayout>
+#include <QLineEdit>
+#include <QObject>
+#include <QPushButton>
+#include <QRadioButton>
+#include <QRegularExpression>
+#include <QSizePolicy>
+#include <QSlider>
+#include <QSpinBox>
+#include <QStyle>
+#include <QValidator>
+#include <QVariant>
+#include <QtCore/qglobal.h>
+#include <QtCore/qobjectdefs.h>
+#include <fmt/core.h>
+#include <qglobal.h>
+#include <qnamespace.h>
+
+#include "common/assert.h"
+#include "common/common_types.h"
+#include "common/logging/log.h"
+#include "common/settings.h"
+#include "common/settings_common.h"
+#include "yuzu/configuration/shared_translation.h"
+
+namespace ConfigurationShared {
+
+static int restore_button_count = 0;
+
+static std::string RelevantDefault(const Settings::BasicSetting& setting) {
+ return Settings::IsConfiguringGlobal() ? setting.DefaultToString() : setting.ToStringGlobal();
+}
+
+static QString DefaultSuffix(QWidget* parent, Settings::BasicSetting& setting) {
+ const auto tr = [parent](const char* text, const char* context) {
+ return parent->tr(text, context);
+ };
+
+ if ((setting.Specialization() & Settings::SpecializationAttributeMask) ==
+ Settings::Specialization::Percentage) {
+ std::string context{fmt::format("{} percentage (e.g. 50%)", setting.GetLabel())};
+ return tr("%", context.c_str());
+ }
+
+ return default_suffix;
+}
+
+QPushButton* Widget::CreateRestoreGlobalButton(bool using_global, QWidget* parent) {
+ restore_button_count++;
+
+ QStyle* style = parent->style();
+ QIcon* icon = new QIcon(style->standardIcon(QStyle::SP_LineEditClearButton));
+ QPushButton* restore_button = new QPushButton(*icon, QStringLiteral(), parent);
+ restore_button->setObjectName(QStringLiteral("RestoreButton%1").arg(restore_button_count));
+ restore_button->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
+
+ // Workaround for dark theme causing min-width to be much larger than 0
+ restore_button->setStyleSheet(
+ QStringLiteral("QAbstractButton#%1 { min-width: 0px }").arg(restore_button->objectName()));
+
+ QSizePolicy sp_retain = restore_button->sizePolicy();
+ sp_retain.setRetainSizeWhenHidden(true);
+ restore_button->setSizePolicy(sp_retain);
+
+ restore_button->setEnabled(!using_global);
+ restore_button->setVisible(!using_global);
+
+ return restore_button;
+}
+
+QLabel* Widget::CreateLabel(const QString& text) {
+ QLabel* qt_label = new QLabel(text, this->parent);
+ qt_label->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
+ return qt_label;
+}
+
+QWidget* Widget::CreateCheckBox(Settings::BasicSetting* bool_setting, const QString& label,
+ std::function<std::string()>& serializer,
+ std::function<void()>& restore_func,
+ const std::function<void()>& touch) {
+ checkbox = new QCheckBox(label, this);
+ checkbox->setCheckState(bool_setting->ToString() == "true" ? Qt::CheckState::Checked
+ : Qt::CheckState::Unchecked);
+ checkbox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
+
+ if (!bool_setting->Save() && !Settings::IsConfiguringGlobal() && runtime_lock) {
+ checkbox->setEnabled(false);
+ }
+
+ serializer = [this]() {
+ return checkbox->checkState() == Qt::CheckState::Checked ? "true" : "false";
+ };
+
+ restore_func = [this, bool_setting]() {
+ checkbox->setCheckState(RelevantDefault(*bool_setting) == "true" ? Qt::Checked
+ : Qt::Unchecked);
+ };
+
+ if (!Settings::IsConfiguringGlobal()) {
+ QObject::connect(checkbox, &QCheckBox::clicked, [touch]() { touch(); });
+ }
+
+ return checkbox;
+}
+
+QWidget* Widget::CreateCombobox(std::function<std::string()>& serializer,
+ std::function<void()>& restore_func,
+ const std::function<void()>& touch) {
+ const auto type = setting.EnumIndex();
+
+ combobox = new QComboBox(this);
+ combobox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
+
+ const ComboboxTranslations* enumeration{nullptr};
+ if (combobox_enumerations.contains(type)) {
+ enumeration = &combobox_enumerations.at(type);
+ for (const auto& [id, name] : *enumeration) {
+ combobox->addItem(name);
+ }
+ } else {
+ return combobox;
+ }
+
+ const auto find_index = [=](u32 value) -> int {
+ for (u32 i = 0; i < enumeration->size(); i++) {
+ if (enumeration->at(i).first == value) {
+ return i;
+ }
+ }
+ return -1;
+ };
+
+ const u32 setting_value = std::strtoul(setting.ToString().c_str(), nullptr, 0);
+ combobox->setCurrentIndex(find_index(setting_value));
+
+ serializer = [this, enumeration]() {
+ int current = combobox->currentIndex();
+ return std::to_string(enumeration->at(current).first);
+ };
+
+ restore_func = [this, find_index]() {
+ const u32 global_value = std::strtoul(RelevantDefault(setting).c_str(), nullptr, 0);
+ combobox->setCurrentIndex(find_index(global_value));
+ };
+
+ if (!Settings::IsConfiguringGlobal()) {
+ QObject::connect(combobox, QOverload<int>::of(&QComboBox::activated),
+ [touch]() { touch(); });
+ }
+
+ return combobox;
+}
+
+QWidget* Widget::CreateRadioGroup(std::function<std::string()>& serializer,
+ std::function<void()>& restore_func,
+ const std::function<void()>& touch) {
+ const auto type = setting.EnumIndex();
+
+ QWidget* group = new QWidget(this);
+ QHBoxLayout* layout = new QHBoxLayout(group);
+ layout->setContentsMargins(0, 0, 0, 0);
+ group->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
+
+ const ComboboxTranslations* enumeration{nullptr};
+ if (combobox_enumerations.contains(type)) {
+ enumeration = &combobox_enumerations.at(type);
+ for (const auto& [id, name] : *enumeration) {
+ QRadioButton* radio_button = new QRadioButton(name, group);
+ layout->addWidget(radio_button);
+ radio_buttons.push_back({id, radio_button});
+ }
+ } else {
+ return group;
+ }
+
+ const auto get_selected = [=]() -> int {
+ for (const auto& [id, button] : radio_buttons) {
+ if (button->isChecked()) {
+ return id;
+ }
+ }
+ return -1;
+ };
+
+ const auto set_index = [=](u32 value) {
+ for (const auto& [id, button] : radio_buttons) {
+ button->setChecked(id == value);
+ }
+ };
+
+ const u32 setting_value = std::strtoul(setting.ToString().c_str(), nullptr, 0);
+ set_index(setting_value);
+
+ serializer = [get_selected]() {
+ int current = get_selected();
+ return std::to_string(current);
+ };
+
+ restore_func = [this, set_index]() {
+ const u32 global_value = std::strtoul(RelevantDefault(setting).c_str(), nullptr, 0);
+ set_index(global_value);
+ };
+
+ if (!Settings::IsConfiguringGlobal()) {
+ for (const auto& [id, button] : radio_buttons) {
+ QObject::connect(button, &QAbstractButton::clicked, [touch]() { touch(); });
+ }
+ }
+
+ return group;
+}
+
+QWidget* Widget::CreateLineEdit(std::function<std::string()>& serializer,
+ std::function<void()>& restore_func,
+ const std::function<void()>& touch, bool managed) {
+ const QString text = QString::fromStdString(setting.ToString());
+ line_edit = new QLineEdit(this);
+ line_edit->setText(text);
+
+ serializer = [this]() { return line_edit->text().toStdString(); };
+
+ if (!managed) {
+ return line_edit;
+ }
+
+ restore_func = [this]() {
+ line_edit->setText(QString::fromStdString(RelevantDefault(setting)));
+ };
+
+ if (!Settings::IsConfiguringGlobal()) {
+ QObject::connect(line_edit, &QLineEdit::textChanged, [touch]() { touch(); });
+ }
+
+ return line_edit;
+}
+
+static void CreateIntSlider(Settings::BasicSetting& setting, bool reversed, float multiplier,
+ QLabel* feedback, const QString& use_format, QSlider* slider,
+ std::function<std::string()>& serializer,
+ std::function<void()>& restore_func) {
+ const int max_val = std::strtol(setting.MaxVal().c_str(), nullptr, 0);
+
+ const auto update_feedback = [=](int value) {
+ int present = (reversed ? max_val - value : value) * multiplier + 0.5f;
+ feedback->setText(use_format.arg(QVariant::fromValue(present).value<QString>()));
+ };
+
+ QObject::connect(slider, &QAbstractSlider::valueChanged, update_feedback);
+ update_feedback(std::strtol(setting.ToString().c_str(), nullptr, 0));
+
+ slider->setMinimum(std::strtol(setting.MinVal().c_str(), nullptr, 0));
+ slider->setMaximum(max_val);
+ slider->setValue(std::strtol(setting.ToString().c_str(), nullptr, 0));
+
+ serializer = [slider]() { return std::to_string(slider->value()); };
+ restore_func = [slider, &setting]() {
+ slider->setValue(std::strtol(RelevantDefault(setting).c_str(), nullptr, 0));
+ };
+}
+
+static void CreateFloatSlider(Settings::BasicSetting& setting, bool reversed, float multiplier,
+ QLabel* feedback, const QString& use_format, QSlider* slider,
+ std::function<std::string()>& serializer,
+ std::function<void()>& restore_func) {
+ const float max_val = std::strtof(setting.MaxVal().c_str(), nullptr);
+ const float min_val = std::strtof(setting.MinVal().c_str(), nullptr);
+ const float use_multiplier =
+ multiplier == default_multiplier ? default_float_multiplier : multiplier;
+
+ const auto update_feedback = [=](float value) {
+ int present = (reversed ? max_val - value : value) + 0.5f;
+ feedback->setText(use_format.arg(QVariant::fromValue(present).value<QString>()));
+ };
+
+ QObject::connect(slider, &QAbstractSlider::valueChanged, update_feedback);
+ update_feedback(std::strtof(setting.ToString().c_str(), nullptr));
+
+ slider->setMinimum(min_val * use_multiplier);
+ slider->setMaximum(max_val * use_multiplier);
+ slider->setValue(std::strtof(setting.ToString().c_str(), nullptr) * use_multiplier);
+
+ serializer = [slider, use_multiplier]() {
+ return std::to_string(slider->value() / use_multiplier);
+ };
+ restore_func = [slider, &setting, use_multiplier]() {
+ slider->setValue(std::strtof(RelevantDefault(setting).c_str(), nullptr) * use_multiplier);
+ };
+}
+
+QWidget* Widget::CreateSlider(bool reversed, float multiplier, const QString& given_suffix,
+ std::function<std::string()>& serializer,
+ std::function<void()>& restore_func,
+ const std::function<void()>& touch) {
+ if (!setting.Ranged()) {
+ LOG_ERROR(Frontend, "\"{}\" is not a ranged setting, but a slider was requested.",
+ setting.GetLabel());
+ return nullptr;
+ }
+
+ QWidget* container = new QWidget(this);
+ QHBoxLayout* layout = new QHBoxLayout(container);
+
+ slider = new QSlider(Qt::Horizontal, this);
+ QLabel* feedback = new QLabel(this);
+
+ layout->addWidget(slider);
+ layout->addWidget(feedback);
+
+ container->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
+
+ layout->setContentsMargins(0, 0, 0, 0);
+
+ QString suffix = given_suffix == default_suffix ? DefaultSuffix(this, setting) : given_suffix;
+
+ const QString use_format = QStringLiteral("%1").append(suffix);
+
+ if (setting.IsIntegral()) {
+ CreateIntSlider(setting, reversed, multiplier, feedback, use_format, slider, serializer,
+ restore_func);
+ } else {
+ CreateFloatSlider(setting, reversed, multiplier, feedback, use_format, slider, serializer,
+ restore_func);
+ }
+
+ slider->setInvertedAppearance(reversed);
+
+ if (!Settings::IsConfiguringGlobal()) {
+ QObject::connect(slider, &QAbstractSlider::actionTriggered, [touch]() { touch(); });
+ }
+
+ return container;
+}
+
+QWidget* Widget::CreateSpinBox(const QString& given_suffix,
+ std::function<std::string()>& serializer,
+ std::function<void()>& restore_func,
+ const std::function<void()>& touch) {
+ const auto min_val = std::strtol(setting.MinVal().c_str(), nullptr, 0);
+ const auto max_val = std::strtol(setting.MaxVal().c_str(), nullptr, 0);
+ const auto default_val = std::strtol(setting.ToString().c_str(), nullptr, 0);
+
+ QString suffix = given_suffix == default_suffix ? DefaultSuffix(this, setting) : given_suffix;
+
+ spinbox = new QSpinBox(this);
+ spinbox->setRange(min_val, max_val);
+ spinbox->setValue(default_val);
+ spinbox->setSuffix(suffix);
+ spinbox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
+
+ serializer = [this]() { return std::to_string(spinbox->value()); };
+
+ restore_func = [this]() {
+ auto value{std::strtol(RelevantDefault(setting).c_str(), nullptr, 0)};
+ spinbox->setValue(value);
+ };
+
+ if (!Settings::IsConfiguringGlobal()) {
+ QObject::connect(spinbox, QOverload<int>::of(&QSpinBox::valueChanged), [this, touch]() {
+ if (spinbox->value() != std::strtol(setting.ToStringGlobal().c_str(), nullptr, 0)) {
+ touch();
+ }
+ });
+ }
+
+ return spinbox;
+}
+
+QWidget* Widget::CreateDoubleSpinBox(const QString& given_suffix,
+ std::function<std::string()>& serializer,
+ std::function<void()>& restore_func,
+ const std::function<void()>& touch) {
+ const auto min_val = std::strtod(setting.MinVal().c_str(), nullptr);
+ const auto max_val = std::strtod(setting.MaxVal().c_str(), nullptr);
+ const auto default_val = std::strtod(setting.ToString().c_str(), nullptr);
+
+ QString suffix = given_suffix == default_suffix ? DefaultSuffix(this, setting) : given_suffix;
+
+ double_spinbox = new QDoubleSpinBox(this);
+ double_spinbox->setRange(min_val, max_val);
+ double_spinbox->setValue(default_val);
+ double_spinbox->setSuffix(suffix);
+ double_spinbox->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
+
+ serializer = [this]() { return fmt::format("{:f}", double_spinbox->value()); };
+
+ restore_func = [this]() {
+ auto value{std::strtod(RelevantDefault(setting).c_str(), nullptr)};
+ double_spinbox->setValue(value);
+ };
+
+ if (!Settings::IsConfiguringGlobal()) {
+ QObject::connect(double_spinbox, QOverload<double>::of(&QDoubleSpinBox::valueChanged),
+ [this, touch]() {
+ if (double_spinbox->value() !=
+ std::strtod(setting.ToStringGlobal().c_str(), nullptr)) {
+ touch();
+ }
+ });
+ }
+
+ return double_spinbox;
+}
+
+QWidget* Widget::CreateHexEdit(std::function<std::string()>& serializer,
+ std::function<void()>& restore_func,
+ const std::function<void()>& touch) {
+ auto* data_component = CreateLineEdit(serializer, restore_func, touch, false);
+ if (data_component == nullptr) {
+ return nullptr;
+ }
+
+ auto to_hex = [=](const std::string& input) {
+ return QString::fromStdString(
+ fmt::format("{:08x}", std::strtoul(input.c_str(), nullptr, 0)));
+ };
+
+ QRegularExpressionValidator* regex = new QRegularExpressionValidator(
+ QRegularExpression{QStringLiteral("^[0-9a-fA-F]{0,8}$")}, line_edit);
+
+ const QString default_val = to_hex(setting.ToString());
+
+ line_edit->setText(default_val);
+ line_edit->setMaxLength(8);
+ line_edit->setValidator(regex);
+
+ auto hex_to_dec = [this]() -> std::string {
+ return std::to_string(std::strtoul(line_edit->text().toStdString().c_str(), nullptr, 16));
+ };
+
+ serializer = [hex_to_dec]() { return hex_to_dec(); };
+
+ restore_func = [this, to_hex]() { line_edit->setText(to_hex(RelevantDefault(setting))); };
+
+ if (!Settings::IsConfiguringGlobal()) {
+
+ QObject::connect(line_edit, &QLineEdit::textChanged, [touch]() { touch(); });
+ }
+
+ return line_edit;
+}
+
+QWidget* Widget::CreateDateTimeEdit(bool disabled, bool restrict,
+ std::function<std::string()>& serializer,
+ std::function<void()>& restore_func,
+ const std::function<void()>& touch) {
+ const long long current_time = QDateTime::currentSecsSinceEpoch();
+ const s64 the_time =
+ disabled ? current_time : std::strtoll(setting.ToString().c_str(), nullptr, 0);
+ const auto default_val = QDateTime::fromSecsSinceEpoch(the_time);
+
+ date_time_edit = new QDateTimeEdit(this);
+ date_time_edit->setDateTime(default_val);
+ date_time_edit->setMinimumDateTime(QDateTime::fromSecsSinceEpoch(0));
+ date_time_edit->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
+
+ serializer = [this]() { return std::to_string(date_time_edit->dateTime().toSecsSinceEpoch()); };
+
+ auto get_clear_val = [this, restrict, current_time]() {
+ return QDateTime::fromSecsSinceEpoch([this, restrict, current_time]() {
+ if (restrict && checkbox->checkState() == Qt::Checked) {
+ return std::strtoll(RelevantDefault(setting).c_str(), nullptr, 0);
+ }
+ return current_time;
+ }());
+ };
+
+ restore_func = [this, get_clear_val]() { date_time_edit->setDateTime(get_clear_val()); };
+
+ if (!Settings::IsConfiguringGlobal()) {
+ QObject::connect(date_time_edit, &QDateTimeEdit::editingFinished,
+ [this, get_clear_val, touch]() {
+ if (date_time_edit->dateTime() != get_clear_val()) {
+ touch();
+ }
+ });
+ }
+
+ return date_time_edit;
+}
+
+void Widget::SetupComponent(const QString& label, std::function<void()>& load_func, bool managed,
+ RequestType request, float multiplier,
+ Settings::BasicSetting* other_setting, const QString& suffix) {
+ created = true;
+ const auto type = setting.TypeId();
+
+ QLayout* layout = new QHBoxLayout(this);
+ layout->setContentsMargins(0, 0, 0, 0);
+
+ if (other_setting == nullptr) {
+ other_setting = setting.PairedSetting();
+ }
+
+ const bool require_checkbox =
+ other_setting != nullptr && other_setting->TypeId() == typeid(bool);
+
+ if (other_setting != nullptr && other_setting->TypeId() != typeid(bool)) {
+ LOG_WARNING(
+ Frontend,
+ "Extra setting \"{}\" specified but is not bool, refusing to create checkbox for it.",
+ other_setting->GetLabel());
+ }
+
+ std::function<std::string()> checkbox_serializer = []() -> std::string { return {}; };
+ std::function<void()> checkbox_restore_func = []() {};
+
+ std::function<void()> touch = []() {};
+ std::function<std::string()> serializer = []() -> std::string { return {}; };
+ std::function<void()> restore_func = []() {};
+
+ QWidget* data_component{nullptr};
+
+ request = [&]() {
+ if (request != RequestType::Default) {
+ return request;
+ }
+ switch (setting.Specialization() & Settings::SpecializationTypeMask) {
+ case Settings::Specialization::Default:
+ return RequestType::Default;
+ case Settings::Specialization::Time:
+ return RequestType::DateTimeEdit;
+ case Settings::Specialization::Hex:
+ return RequestType::HexEdit;
+ case Settings::Specialization::RuntimeList:
+ managed = false;
+ [[fallthrough]];
+ case Settings::Specialization::List:
+ return RequestType::ComboBox;
+ case Settings::Specialization::Scalar:
+ return RequestType::Slider;
+ case Settings::Specialization::Countable:
+ return RequestType::SpinBox;
+ case Settings::Specialization::Radio:
+ return RequestType::RadioGroup;
+ default:
+ break;
+ }
+ return request;
+ }();
+
+ if (!Settings::IsConfiguringGlobal() && managed) {
+ restore_button = CreateRestoreGlobalButton(setting.UsingGlobal(), this);
+
+ touch = [this]() {
+ LOG_DEBUG(Frontend, "Enabling custom setting for \"{}\"", setting.GetLabel());
+ restore_button->setEnabled(true);
+ restore_button->setVisible(true);
+ };
+ }
+
+ if (require_checkbox) {
+ QWidget* lhs =
+ CreateCheckBox(other_setting, label, checkbox_serializer, checkbox_restore_func, touch);
+ layout->addWidget(lhs);
+ } else if (setting.TypeId() != typeid(bool)) {
+ QLabel* qt_label = CreateLabel(label);
+ layout->addWidget(qt_label);
+ }
+
+ if (setting.TypeId() == typeid(bool)) {
+ data_component = CreateCheckBox(&setting, label, serializer, restore_func, touch);
+ } else if (setting.IsEnum()) {
+ if (request == RequestType::RadioGroup) {
+ data_component = CreateRadioGroup(serializer, restore_func, touch);
+ } else {
+ data_component = CreateCombobox(serializer, restore_func, touch);
+ }
+ } else if (setting.IsIntegral()) {
+ switch (request) {
+ case RequestType::Slider:
+ case RequestType::ReverseSlider:
+ data_component = CreateSlider(request == RequestType::ReverseSlider, multiplier, suffix,
+ serializer, restore_func, touch);
+ break;
+ case RequestType::Default:
+ case RequestType::LineEdit:
+ data_component = CreateLineEdit(serializer, restore_func, touch);
+ break;
+ case RequestType::DateTimeEdit:
+ data_component = CreateDateTimeEdit(other_setting->ToString() != "true", true,
+ serializer, restore_func, touch);
+ break;
+ case RequestType::SpinBox:
+ data_component = CreateSpinBox(suffix, serializer, restore_func, touch);
+ break;
+ case RequestType::HexEdit:
+ data_component = CreateHexEdit(serializer, restore_func, touch);
+ break;
+ case RequestType::ComboBox:
+ data_component = CreateCombobox(serializer, restore_func, touch);
+ break;
+ default:
+ UNIMPLEMENTED();
+ }
+ } else if (setting.IsFloatingPoint()) {
+ switch (request) {
+ case RequestType::Default:
+ case RequestType::SpinBox:
+ data_component = CreateDoubleSpinBox(suffix, serializer, restore_func, touch);
+ break;
+ case RequestType::Slider:
+ case RequestType::ReverseSlider:
+ data_component = CreateSlider(request == RequestType::ReverseSlider, multiplier, suffix,
+ serializer, restore_func, touch);
+ break;
+ default:
+ UNIMPLEMENTED();
+ }
+ } else if (type == typeid(std::string)) {
+ switch (request) {
+ case RequestType::Default:
+ case RequestType::LineEdit:
+ data_component = CreateLineEdit(serializer, restore_func, touch);
+ break;
+ case RequestType::ComboBox:
+ data_component = CreateCombobox(serializer, restore_func, touch);
+ break;
+ default:
+ UNIMPLEMENTED();
+ }
+ }
+
+ if (data_component == nullptr) {
+ LOG_ERROR(Frontend, "Failed to create widget for \"{}\"", setting.GetLabel());
+ created = false;
+ return;
+ }
+
+ layout->addWidget(data_component);
+
+ if (!managed) {
+ return;
+ }
+
+ if (Settings::IsConfiguringGlobal()) {
+ load_func = [this, serializer, checkbox_serializer, require_checkbox, other_setting]() {
+ if (require_checkbox && other_setting->UsingGlobal()) {
+ other_setting->LoadString(checkbox_serializer());
+ }
+ if (setting.UsingGlobal()) {
+ setting.LoadString(serializer());
+ }
+ };
+ } else {
+ layout->addWidget(restore_button);
+
+ QObject::connect(restore_button, &QAbstractButton::clicked,
+ [this, restore_func, checkbox_restore_func](bool) {
+ LOG_DEBUG(Frontend, "Restore global state for \"{}\"",
+ setting.GetLabel());
+
+ restore_button->setEnabled(false);
+ restore_button->setVisible(false);
+
+ checkbox_restore_func();
+ restore_func();
+ });
+
+ load_func = [this, serializer, require_checkbox, checkbox_serializer, other_setting]() {
+ bool using_global = !restore_button->isEnabled();
+ setting.SetGlobal(using_global);
+ if (!using_global) {
+ setting.LoadString(serializer());
+ }
+ if (require_checkbox) {
+ other_setting->SetGlobal(using_global);
+ if (!using_global) {
+ other_setting->LoadString(checkbox_serializer());
+ }
+ }
+ };
+ }
+
+ if (other_setting != nullptr) {
+ const auto reset = [restore_func, data_component](int state) {
+ data_component->setEnabled(state == Qt::Checked);
+ if (state != Qt::Checked) {
+ restore_func();
+ }
+ };
+ connect(checkbox, &QCheckBox::stateChanged, reset);
+ reset(checkbox->checkState());
+ }
+}
+
+bool Widget::Valid() const {
+ return created;
+}
+
+Widget::~Widget() = default;
+
+Widget::Widget(Settings::BasicSetting* setting_, const TranslationMap& translations_,
+ const ComboboxTranslationMap& combobox_translations_, QWidget* parent_,
+ bool runtime_lock_, std::vector<std::function<void(bool)>>& apply_funcs_,
+ RequestType request, bool managed, float multiplier,
+ Settings::BasicSetting* other_setting, const QString& suffix)
+ : QWidget(parent_), parent{parent_}, translations{translations_},
+ combobox_enumerations{combobox_translations_}, setting{*setting_}, apply_funcs{apply_funcs_},
+ runtime_lock{runtime_lock_} {
+ if (!Settings::IsConfiguringGlobal() && !setting.Switchable()) {
+ LOG_DEBUG(Frontend, "\"{}\" is not switchable, skipping...", setting.GetLabel());
+ return;
+ }
+
+ const int id = setting.Id();
+
+ const auto [label, tooltip] = [&]() {
+ const auto& setting_label = setting.GetLabel();
+ if (translations.contains(id)) {
+ return std::pair{translations.at(id).first, translations.at(id).second};
+ }
+ LOG_WARNING(Frontend, "Translation table lacks entry for \"{}\"", setting_label);
+ return std::pair{QString::fromStdString(setting_label), QStringLiteral()};
+ }();
+
+ if (label == QStringLiteral()) {
+ LOG_DEBUG(Frontend, "Translation table has empty entry for \"{}\", skipping...",
+ setting.GetLabel());
+ return;
+ }
+
+ std::function<void()> load_func = []() {};
+
+ SetupComponent(label, load_func, managed, request, multiplier, other_setting, suffix);
+
+ if (!created) {
+ LOG_WARNING(Frontend, "No widget was created for \"{}\"", setting.GetLabel());
+ return;
+ }
+
+ apply_funcs.push_back([load_func, setting_](bool powered_on) {
+ if (setting_->RuntimeModfiable() || !powered_on) {
+ load_func();
+ }
+ });
+
+ bool enable = runtime_lock || setting.RuntimeModfiable();
+ if (setting.Switchable() && Settings::IsConfiguringGlobal() && !runtime_lock) {
+ enable &= setting.UsingGlobal();
+ }
+ this->setEnabled(enable);
+
+ this->setToolTip(tooltip);
+}
+
+Builder::Builder(QWidget* parent_, bool runtime_lock_)
+ : translations{InitializeTranslations(parent_)},
+ combobox_translations{ComboboxEnumeration(parent_)}, parent{parent_}, runtime_lock{
+ runtime_lock_} {}
+
+Builder::~Builder() = default;
+
+Widget* Builder::BuildWidget(Settings::BasicSetting* setting,
+ std::vector<std::function<void(bool)>>& apply_funcs,
+ RequestType request, bool managed, float multiplier,
+ Settings::BasicSetting* other_setting, const QString& suffix) const {
+ if (!Settings::IsConfiguringGlobal() && !setting->Switchable()) {
+ return nullptr;
+ }
+
+ if (setting->Specialization() == Settings::Specialization::Paired) {
+ LOG_DEBUG(Frontend, "\"{}\" has specialization Paired: ignoring", setting->GetLabel());
+ return nullptr;
+ }
+
+ return new Widget(setting, *translations, *combobox_translations, parent, runtime_lock,
+ apply_funcs, request, managed, multiplier, other_setting, suffix);
+}
+
+Widget* Builder::BuildWidget(Settings::BasicSetting* setting,
+ std::vector<std::function<void(bool)>>& apply_funcs,
+ Settings::BasicSetting* other_setting, RequestType request,
+ const QString& suffix) const {
+ return BuildWidget(setting, apply_funcs, request, true, 1.0f, other_setting, suffix);
+}
+
+const ComboboxTranslationMap& Builder::ComboboxTranslations() const {
+ return *combobox_translations;
+}
+
+} // namespace ConfigurationShared
diff --git a/src/yuzu/configuration/shared_widget.h b/src/yuzu/configuration/shared_widget.h
new file mode 100644
index 000000000..226284cf3
--- /dev/null
+++ b/src/yuzu/configuration/shared_widget.h
@@ -0,0 +1,178 @@
+// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <functional>
+#include <memory>
+#include <string>
+#include <vector>
+#include <QString>
+#include <QStringLiteral>
+#include <QWidget>
+#include <qobjectdefs.h>
+#include "yuzu/configuration/shared_translation.h"
+
+class QCheckBox;
+class QComboBox;
+class QDateTimeEdit;
+class QLabel;
+class QLineEdit;
+class QObject;
+class QPushButton;
+class QSlider;
+class QSpinBox;
+class QDoubleSpinBox;
+class QRadioButton;
+
+namespace Settings {
+class BasicSetting;
+} // namespace Settings
+
+namespace ConfigurationShared {
+
+enum class RequestType {
+ Default,
+ ComboBox,
+ SpinBox,
+ Slider,
+ ReverseSlider,
+ LineEdit,
+ HexEdit,
+ DateTimeEdit,
+ RadioGroup,
+ MaxEnum,
+};
+
+constexpr float default_multiplier{1.f};
+constexpr float default_float_multiplier{100.f};
+static const QString default_suffix = QStringLiteral();
+
+class Widget : public QWidget {
+ Q_OBJECT
+
+public:
+ /**
+ * @param setting The primary Setting to create the Widget for
+ * @param translations Map of translations to display on the left side label/checkbox
+ * @param combobox_translations Map of translations for enumerating combo boxes
+ * @param parent Qt parent
+ * @param runtime_lock Emulated guest powered on state, for use on settings that should be
+ * configured during guest execution
+ * @param apply_funcs_ List to append, functions to run to apply the widget state to the setting
+ * @param request What type of data representation component to create -- not always respected
+ * for the Setting data type
+ * @param managed Set true if the caller will set up component data and handling
+ * @param multiplier Value to multiply the slider feedback label
+ * @param other_setting Second setting to modify, to replace the label with a checkbox
+ * @param suffix Set to specify formats for Slider feedback labels or SpinBox
+ */
+ explicit Widget(Settings::BasicSetting* setting, const TranslationMap& translations,
+ const ComboboxTranslationMap& combobox_translations, QWidget* parent,
+ bool runtime_lock, std::vector<std::function<void(bool)>>& apply_funcs_,
+ RequestType request = RequestType::Default, bool managed = true,
+ float multiplier = default_multiplier,
+ Settings::BasicSetting* other_setting = nullptr,
+ const QString& suffix = default_suffix);
+ virtual ~Widget();
+
+ /**
+ * @returns True if the Widget successfully created the components for the setting
+ */
+ bool Valid() const;
+
+ /**
+ * Creates a button to appear when a setting has been modified. This exists for custom
+ * configurations and wasn't designed to work for the global configuration. It has public access
+ * for settings that need to be unmanaged but can be custom.
+ *
+ * @param using_global The global state of the setting this button is for
+ * @param parent QWidget parent
+ */
+ [[nodiscard]] static QPushButton* CreateRestoreGlobalButton(bool using_global, QWidget* parent);
+
+ // Direct handles to sub components created
+ QPushButton* restore_button{}; ///< Restore button for custom configurations
+ QLineEdit* line_edit{}; ///< QLineEdit, used for LineEdit and HexEdit
+ QSpinBox* spinbox{};
+ QDoubleSpinBox* double_spinbox{};
+ QCheckBox* checkbox{};
+ QSlider* slider{};
+ QComboBox* combobox{};
+ QDateTimeEdit* date_time_edit{};
+ std::vector<std::pair<u32, QRadioButton*>> radio_buttons{};
+
+private:
+ void SetupComponent(const QString& label, std::function<void()>& load_func, bool managed,
+ RequestType request, float multiplier,
+ Settings::BasicSetting* other_setting, const QString& suffix);
+
+ QLabel* CreateLabel(const QString& text);
+ QWidget* CreateCheckBox(Settings::BasicSetting* bool_setting, const QString& label,
+ std::function<std::string()>& serializer,
+ std::function<void()>& restore_func,
+ const std::function<void()>& touch);
+
+ QWidget* CreateCombobox(std::function<std::string()>& serializer,
+ std::function<void()>& restore_func,
+ const std::function<void()>& touch);
+ QWidget* CreateRadioGroup(std::function<std::string()>& serializer,
+ std::function<void()>& restore_func,
+ const std::function<void()>& touch);
+ QWidget* CreateLineEdit(std::function<std::string()>& serializer,
+ std::function<void()>& restore_func, const std::function<void()>& touch,
+ bool managed = true);
+ QWidget* CreateHexEdit(std::function<std::string()>& serializer,
+ std::function<void()>& restore_func, const std::function<void()>& touch);
+ QWidget* CreateSlider(bool reversed, float multiplier, const QString& suffix,
+ std::function<std::string()>& serializer,
+ std::function<void()>& restore_func, const std::function<void()>& touch);
+ QWidget* CreateDateTimeEdit(bool disabled, bool restrict,
+ std::function<std::string()>& serializer,
+ std::function<void()>& restore_func,
+ const std::function<void()>& touch);
+ QWidget* CreateSpinBox(const QString& suffix, std::function<std::string()>& serializer,
+ std::function<void()>& restore_func, const std::function<void()>& touch);
+ QWidget* CreateDoubleSpinBox(const QString& suffix, std::function<std::string()>& serializer,
+ std::function<void()>& restore_func,
+ const std::function<void()>& touch);
+
+ QWidget* parent;
+ const TranslationMap& translations;
+ const ComboboxTranslationMap& combobox_enumerations;
+ Settings::BasicSetting& setting;
+ std::vector<std::function<void(bool)>>& apply_funcs;
+
+ bool created{false};
+ bool runtime_lock{false};
+};
+
+class Builder {
+public:
+ explicit Builder(QWidget* parent, bool runtime_lock);
+ ~Builder();
+
+ Widget* BuildWidget(Settings::BasicSetting* setting,
+ std::vector<std::function<void(bool)>>& apply_funcs,
+ RequestType request = RequestType::Default, bool managed = true,
+ float multiplier = default_multiplier,
+ Settings::BasicSetting* other_setting = nullptr,
+ const QString& suffix = default_suffix) const;
+
+ Widget* BuildWidget(Settings::BasicSetting* setting,
+ std::vector<std::function<void(bool)>>& apply_funcs,
+ Settings::BasicSetting* other_setting,
+ RequestType request = RequestType::Default,
+ const QString& suffix = default_suffix) const;
+
+ const ComboboxTranslationMap& ComboboxTranslations() const;
+
+private:
+ std::unique_ptr<TranslationMap> translations;
+ std::unique_ptr<ComboboxTranslationMap> combobox_translations;
+
+ QWidget* parent;
+ const bool runtime_lock;
+};
+
+} // namespace ConfigurationShared
diff --git a/src/yuzu/discord_impl.cpp b/src/yuzu/discord_impl.cpp
index ac2fc1bcb..57b50abd0 100644
--- a/src/yuzu/discord_impl.cpp
+++ b/src/yuzu/discord_impl.cpp
@@ -3,9 +3,14 @@
#include <chrono>
#include <string>
+
+#include <QEventLoop>
+#include <QNetworkAccessManager>
+#include <QNetworkReply>
+
#include <discord_rpc.h>
#include <fmt/format.h>
-#include <httplib.h>
+
#include "common/common_types.h"
#include "common/string_util.h"
#include "core/core.h"
@@ -31,7 +36,7 @@ void DiscordImpl::Pause() {
Discord_ClearPresence();
}
-static std::string GetGameString(const std::string& title) {
+std::string DiscordImpl::GetGameString(const std::string& title) {
// Convert to lowercase
std::string icon_name = Common::ToLower(title);
@@ -56,51 +61,56 @@ static std::string GetGameString(const std::string& title) {
return icon_name;
}
-void DiscordImpl::Update() {
+void DiscordImpl::UpdateGameStatus(bool use_default) {
+ const std::string default_text = "yuzu is an emulator for the Nintendo Switch";
+ const std::string default_image = "yuzu_logo";
+ const std::string url = use_default ? default_image : game_url;
s64 start_time = std::chrono::duration_cast<std::chrono::seconds>(
std::chrono::system_clock::now().time_since_epoch())
.count();
+ DiscordRichPresence presence{};
+
+ presence.largeImageKey = url.c_str();
+ presence.largeImageText = game_title.c_str();
+ presence.smallImageKey = default_image.c_str();
+ presence.smallImageText = default_text.c_str();
+ presence.state = game_title.c_str();
+ presence.details = "Currently in game";
+ presence.startTimestamp = start_time;
+ Discord_UpdatePresence(&presence);
+}
+
+void DiscordImpl::Update() {
const std::string default_text = "yuzu is an emulator for the Nintendo Switch";
const std::string default_image = "yuzu_logo";
- std::string game_cover_url = "https://yuzu-emu.org";
- std::string title;
-
- DiscordRichPresence presence{};
if (system.IsPoweredOn()) {
- system.GetAppLoader().ReadTitle(title);
+ system.GetAppLoader().ReadTitle(game_title);
// Used to format Icon URL for yuzu website game compatibility page
- std::string icon_name = GetGameString(title);
-
- // New Check for game cover
- httplib::Client cli(game_cover_url);
- cli.set_connection_timeout(std::chrono::seconds(3));
- cli.set_read_timeout(std::chrono::seconds(3));
-
- if (auto res = cli.Head(fmt::format("/images/game/boxart/{}.png", icon_name))) {
- if (res->status == 200) {
- game_cover_url += fmt::format("/images/game/boxart/{}.png", icon_name);
- } else {
- game_cover_url = "yuzu_logo";
- }
- } else {
- game_cover_url = "yuzu_logo";
- }
-
- presence.largeImageKey = game_cover_url.c_str();
- presence.largeImageText = title.c_str();
-
- presence.smallImageKey = default_image.c_str();
- presence.smallImageText = default_text.c_str();
- presence.state = title.c_str();
- presence.details = "Currently in game";
- } else {
- presence.largeImageKey = default_image.c_str();
- presence.largeImageText = default_text.c_str();
- presence.details = "Currently not in game";
+ std::string icon_name = GetGameString(game_title);
+ game_url = fmt::format("https://yuzu-emu.org/images/game/boxart/{}.png", icon_name);
+
+ QNetworkAccessManager manager;
+ QNetworkRequest request;
+ request.setUrl(QUrl(QString::fromStdString(game_url)));
+ request.setTransferTimeout(3000);
+ QNetworkReply* reply = manager.head(request);
+ QEventLoop request_event_loop;
+ QObject::connect(reply, &QNetworkReply::finished, &request_event_loop, &QEventLoop::quit);
+ request_event_loop.exec();
+ UpdateGameStatus(reply->error());
+ return;
}
+ s64 start_time = std::chrono::duration_cast<std::chrono::seconds>(
+ std::chrono::system_clock::now().time_since_epoch())
+ .count();
+
+ DiscordRichPresence presence{};
+ presence.largeImageKey = default_image.c_str();
+ presence.largeImageText = default_text.c_str();
+ presence.details = "Currently not in game";
presence.startTimestamp = start_time;
Discord_UpdatePresence(&presence);
}
diff --git a/src/yuzu/discord_impl.h b/src/yuzu/discord_impl.h
index 84710b9c6..eb6cf9ae0 100644
--- a/src/yuzu/discord_impl.h
+++ b/src/yuzu/discord_impl.h
@@ -19,6 +19,13 @@ public:
void Pause() override;
void Update() override;
+private:
+ std::string GetGameString(const std::string& title);
+ void UpdateGameStatus(bool use_default);
+
+ std::string game_url{};
+ std::string game_title{};
+
Core::System& system;
};
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp
index 465084fea..74f48031a 100644
--- a/src/yuzu/game_list.cpp
+++ b/src/yuzu/game_list.cpp
@@ -214,13 +214,17 @@ void GameList::OnTextChanged(const QString& new_text) {
const int children_count = folder->rowCount();
for (int j = 0; j < children_count; ++j) {
++children_total;
+
const QStandardItem* child = folder->child(j, 0);
+
+ const auto program_id = child->data(GameListItemPath::ProgramIdRole).toULongLong();
+
const QString file_path =
child->data(GameListItemPath::FullPathRole).toString().toLower();
const QString file_title =
child->data(GameListItemPath::TitleRole).toString().toLower();
const QString file_program_id =
- child->data(GameListItemPath::ProgramIdRole).toString().toLower();
+ QStringLiteral("%1").arg(program_id, 16, 16, QLatin1Char{'0'});
// Only items which filename in combination with its title contains all words
// that are in the searchfield will be visible in the gamelist
@@ -231,7 +235,7 @@ void GameList::OnTextChanged(const QString& new_text) {
file_path.mid(file_path.lastIndexOf(QLatin1Char{'/'}) + 1) + QLatin1Char{' '} +
file_title;
if (ContainsAllWords(file_name, edit_filter_text) ||
- (file_program_id.count() == 16 && edit_filter_text.contains(file_program_id))) {
+ (file_program_id.count() == 16 && file_program_id.contains(edit_filter_text))) {
tree_view->setRowHidden(j, folder_index, false);
++result_count;
} else {
@@ -308,8 +312,10 @@ void GameList::OnFilterCloseClicked() {
}
GameList::GameList(FileSys::VirtualFilesystem vfs_, FileSys::ManualContentProvider* provider_,
- Core::System& system_, GMainWindow* parent)
- : QWidget{parent}, vfs{std::move(vfs_)}, provider{provider_}, system{system_} {
+ PlayTime::PlayTimeManager& play_time_manager_, Core::System& system_,
+ GMainWindow* parent)
+ : QWidget{parent}, vfs{std::move(vfs_)}, provider{provider_},
+ play_time_manager{play_time_manager_}, system{system_} {
watcher = new QFileSystemWatcher(this);
connect(watcher, &QFileSystemWatcher::directoryChanged, this, &GameList::RefreshGameDirectory);
@@ -336,6 +342,7 @@ GameList::GameList(FileSys::VirtualFilesystem vfs_, FileSys::ManualContentProvid
tree_view->setColumnHidden(COLUMN_ADD_ONS, !UISettings::values.show_add_ons);
tree_view->setColumnHidden(COLUMN_COMPATIBILITY, !UISettings::values.show_compat);
+ tree_view->setColumnHidden(COLUMN_PLAY_TIME, !UISettings::values.show_play_time);
item_model->setSortRole(GameListItemPath::SortRole);
connect(main_window, &GMainWindow::UpdateThemedIcons, this, &GameList::OnUpdateThemedIcons);
@@ -544,6 +551,7 @@ void GameList::AddGamePopup(QMenu& context_menu, u64 program_id, const std::stri
QAction* remove_update = remove_menu->addAction(tr("Remove Installed Update"));
QAction* remove_dlc = remove_menu->addAction(tr("Remove All Installed DLC"));
QAction* remove_custom_config = remove_menu->addAction(tr("Remove Custom Configuration"));
+ QAction* remove_play_time_data = remove_menu->addAction(tr("Remove Play Time Data"));
QAction* remove_cache_storage = remove_menu->addAction(tr("Remove Cache Storage"));
QAction* remove_gl_shader_cache = remove_menu->addAction(tr("Remove OpenGL Pipeline Cache"));
QAction* remove_vk_shader_cache = remove_menu->addAction(tr("Remove Vulkan Pipeline Cache"));
@@ -553,11 +561,12 @@ void GameList::AddGamePopup(QMenu& context_menu, u64 program_id, const std::stri
QMenu* dump_romfs_menu = context_menu.addMenu(tr("Dump RomFS"));
QAction* dump_romfs = dump_romfs_menu->addAction(tr("Dump RomFS"));
QAction* dump_romfs_sdmc = dump_romfs_menu->addAction(tr("Dump RomFS to SDMC"));
+ QAction* verify_integrity = context_menu.addAction(tr("Verify Integrity"));
QAction* copy_tid = context_menu.addAction(tr("Copy Title ID to Clipboard"));
QAction* navigate_to_gamedb_entry = context_menu.addAction(tr("Navigate to GameDB entry"));
-#ifndef WIN32
QMenu* shortcut_menu = context_menu.addMenu(tr("Create Shortcut"));
QAction* create_desktop_shortcut = shortcut_menu->addAction(tr("Add to Desktop"));
+#ifndef WIN32
QAction* create_applications_menu_shortcut =
shortcut_menu->addAction(tr("Add to Applications Menu"));
#endif
@@ -584,10 +593,12 @@ void GameList::AddGamePopup(QMenu& context_menu, u64 program_id, const std::stri
emit OpenFolderRequested(program_id, GameListOpenTarget::SaveData, path);
});
connect(start_game, &QAction::triggered, [this, path]() {
- emit BootGame(QString::fromStdString(path), 0, 0, StartGameType::Normal);
+ emit BootGame(QString::fromStdString(path), 0, 0, StartGameType::Normal,
+ AmLaunchType::UserInitiated);
});
connect(start_game_global, &QAction::triggered, [this, path]() {
- emit BootGame(QString::fromStdString(path), 0, 0, StartGameType::Global);
+ emit BootGame(QString::fromStdString(path), 0, 0, StartGameType::Global,
+ AmLaunchType::UserInitiated);
});
connect(open_mod_location, &QAction::triggered, [this, program_id, path]() {
emit OpenFolderRequested(program_id, GameListOpenTarget::ModData, path);
@@ -615,6 +626,8 @@ void GameList::AddGamePopup(QMenu& context_menu, u64 program_id, const std::stri
connect(remove_custom_config, &QAction::triggered, [this, program_id, path]() {
emit RemoveFileRequested(program_id, GameListRemoveTarget::CustomConfiguration, path);
});
+ connect(remove_play_time_data, &QAction::triggered,
+ [this, program_id]() { emit RemovePlayTimeRequested(program_id); });
connect(remove_cache_storage, &QAction::triggered, [this, program_id, path] {
emit RemoveFileRequested(program_id, GameListRemoveTarget::CacheStorage, path);
});
@@ -624,15 +637,17 @@ void GameList::AddGamePopup(QMenu& context_menu, u64 program_id, const std::stri
connect(dump_romfs_sdmc, &QAction::triggered, [this, program_id, path]() {
emit DumpRomFSRequested(program_id, path, DumpRomFSTarget::SDMC);
});
+ connect(verify_integrity, &QAction::triggered,
+ [this, path]() { emit VerifyIntegrityRequested(path); });
connect(copy_tid, &QAction::triggered,
[this, program_id]() { emit CopyTIDRequested(program_id); });
connect(navigate_to_gamedb_entry, &QAction::triggered, [this, program_id]() {
emit NavigateToGamedbEntryRequested(program_id, compatibility_list);
});
-#ifndef WIN32
connect(create_desktop_shortcut, &QAction::triggered, [this, program_id, path]() {
emit CreateShortcut(program_id, path, GameListShortcutTarget::Desktop);
});
+#ifndef WIN32
connect(create_applications_menu_shortcut, &QAction::triggered, [this, program_id, path]() {
emit CreateShortcut(program_id, path, GameListShortcutTarget::Applications);
});
@@ -781,6 +796,7 @@ void GameList::RetranslateUI() {
item_model->setHeaderData(COLUMN_ADD_ONS, Qt::Horizontal, tr("Add-ons"));
item_model->setHeaderData(COLUMN_FILE_TYPE, Qt::Horizontal, tr("File type"));
item_model->setHeaderData(COLUMN_SIZE, Qt::Horizontal, tr("Size"));
+ item_model->setHeaderData(COLUMN_PLAY_TIME, Qt::Horizontal, tr("Play time"));
}
void GameListSearchField::changeEvent(QEvent* event) {
@@ -808,6 +824,7 @@ void GameList::PopulateAsync(QVector<UISettings::GameDir>& game_dirs) {
tree_view->setColumnHidden(COLUMN_COMPATIBILITY, !UISettings::values.show_compat);
tree_view->setColumnHidden(COLUMN_FILE_TYPE, !UISettings::values.show_types);
tree_view->setColumnHidden(COLUMN_SIZE, !UISettings::values.show_size);
+ tree_view->setColumnHidden(COLUMN_PLAY_TIME, !UISettings::values.show_play_time);
// Delete any rows that might already exist if we're repopulating
item_model->removeRows(0, item_model->rowCount());
@@ -816,7 +833,7 @@ void GameList::PopulateAsync(QVector<UISettings::GameDir>& game_dirs) {
emit ShouldCancelWorker();
GameListWorker* worker =
- new GameListWorker(vfs, provider, game_dirs, compatibility_list, system);
+ new GameListWorker(vfs, provider, game_dirs, compatibility_list, play_time_manager, system);
connect(worker, &GameListWorker::EntryReady, this, &GameList::AddEntry, Qt::QueuedConnection);
connect(worker, &GameListWorker::DirEntryReady, this, &GameList::AddDirEntry,
diff --git a/src/yuzu/game_list.h b/src/yuzu/game_list.h
index 6c2f75e53..712570cea 100644
--- a/src/yuzu/game_list.h
+++ b/src/yuzu/game_list.h
@@ -18,6 +18,7 @@
#include "core/core.h"
#include "uisettings.h"
#include "yuzu/compatibility_list.h"
+#include "yuzu/play_time_manager.h"
namespace Core {
class System;
@@ -28,6 +29,7 @@ class GameListWorker;
class GameListSearchField;
class GameListDir;
class GMainWindow;
+enum class AmLaunchType;
enum class StartGameType;
namespace FileSys {
@@ -74,11 +76,13 @@ public:
COLUMN_ADD_ONS,
COLUMN_FILE_TYPE,
COLUMN_SIZE,
+ COLUMN_PLAY_TIME,
COLUMN_COUNT, // Number of columns
};
explicit GameList(std::shared_ptr<FileSys::VfsFilesystem> vfs_,
- FileSys::ManualContentProvider* provider_, Core::System& system_,
+ FileSys::ManualContentProvider* provider_,
+ PlayTime::PlayTimeManager& play_time_manager_, Core::System& system_,
GMainWindow* parent = nullptr);
~GameList() override;
@@ -103,7 +107,7 @@ public:
signals:
void BootGame(const QString& game_path, u64 program_id, std::size_t program_index,
- StartGameType type);
+ StartGameType type, AmLaunchType launch_type);
void GameChosen(const QString& game_path, const u64 title_id = 0);
void ShouldCancelWorker();
void OpenFolderRequested(u64 program_id, GameListOpenTarget target,
@@ -112,7 +116,9 @@ signals:
void RemoveInstalledEntryRequested(u64 program_id, InstalledEntryType type);
void RemoveFileRequested(u64 program_id, GameListRemoveTarget target,
const std::string& game_path);
+ void RemovePlayTimeRequested(u64 program_id);
void DumpRomFSRequested(u64 program_id, const std::string& game_path, DumpRomFSTarget target);
+ void VerifyIntegrityRequested(const std::string& game_path);
void CopyTIDRequested(u64 program_id);
void CreateShortcut(u64 program_id, const std::string& game_path,
GameListShortcutTarget target);
@@ -166,6 +172,7 @@ private:
friend class GameListSearchField;
+ const PlayTime::PlayTimeManager& play_time_manager;
Core::System& system;
};
diff --git a/src/yuzu/game_list_p.h b/src/yuzu/game_list_p.h
index 1800f090f..86a0c41d9 100644
--- a/src/yuzu/game_list_p.h
+++ b/src/yuzu/game_list_p.h
@@ -18,6 +18,7 @@
#include "common/common_types.h"
#include "common/logging/log.h"
#include "common/string_util.h"
+#include "yuzu/play_time_manager.h"
#include "yuzu/uisettings.h"
#include "yuzu/util/util.h"
@@ -221,6 +222,31 @@ public:
}
};
+/**
+ * GameListItem for Play Time values.
+ * This object stores the play time of a game in seconds, and its readable
+ * representation in minutes/hours
+ */
+class GameListItemPlayTime : public GameListItem {
+public:
+ static constexpr int PlayTimeRole = SortRole;
+
+ GameListItemPlayTime() = default;
+ explicit GameListItemPlayTime(const qulonglong time_seconds) {
+ setData(time_seconds, PlayTimeRole);
+ }
+
+ void setData(const QVariant& value, int role) override {
+ qulonglong time_seconds = value.toULongLong();
+ GameListItem::setData(PlayTime::ReadablePlayTime(time_seconds), Qt::DisplayRole);
+ GameListItem::setData(value, PlayTimeRole);
+ }
+
+ bool operator<(const QStandardItem& other) const override {
+ return data(PlayTimeRole).toULongLong() < other.data(PlayTimeRole).toULongLong();
+ }
+};
+
class GameListDir : public GameListItem {
public:
static constexpr int GameDirRole = Qt::UserRole + 2;
diff --git a/src/yuzu/game_list_worker.cpp b/src/yuzu/game_list_worker.cpp
index 5c910c9e0..588f1dd6e 100644
--- a/src/yuzu/game_list_worker.cpp
+++ b/src/yuzu/game_list_worker.cpp
@@ -191,8 +191,10 @@ QString FormatPatchNameVersions(const FileSys::PatchManager& patch_manager,
}
QList<QStandardItem*> MakeGameListEntry(const std::string& path, const std::string& name,
- const std::vector<u8>& icon, Loader::AppLoader& loader,
- u64 program_id, const CompatibilityList& compatibility_list,
+ const std::size_t size, const std::vector<u8>& icon,
+ Loader::AppLoader& loader, u64 program_id,
+ const CompatibilityList& compatibility_list,
+ const PlayTime::PlayTimeManager& play_time_manager,
const FileSys::PatchManager& patch) {
const auto it = FindMatchingCompatibilityEntry(compatibility_list, program_id);
@@ -210,7 +212,8 @@ QList<QStandardItem*> MakeGameListEntry(const std::string& path, const std::stri
file_type_string, program_id),
new GameListItemCompat(compatibility),
new GameListItem(file_type_string),
- new GameListItemSize(Common::FS::GetSize(path)),
+ new GameListItemSize(size),
+ new GameListItemPlayTime(play_time_manager.GetPlayTime(program_id)),
};
const auto patch_versions = GetGameListCachedObject(
@@ -226,9 +229,12 @@ QList<QStandardItem*> MakeGameListEntry(const std::string& path, const std::stri
GameListWorker::GameListWorker(FileSys::VirtualFilesystem vfs_,
FileSys::ManualContentProvider* provider_,
QVector<UISettings::GameDir>& game_dirs_,
- const CompatibilityList& compatibility_list_, Core::System& system_)
+ const CompatibilityList& compatibility_list_,
+ const PlayTime::PlayTimeManager& play_time_manager_,
+ Core::System& system_)
: vfs{std::move(vfs_)}, provider{provider_}, game_dirs{game_dirs_},
- compatibility_list{compatibility_list_}, system{system_} {}
+ compatibility_list{compatibility_list_},
+ play_time_manager{play_time_manager_}, system{system_} {}
GameListWorker::~GameListWorker() = default;
@@ -265,7 +271,11 @@ void GameListWorker::AddTitlesToGameList(GameListDir* parent_dir) {
std::vector<u8> icon;
std::string name;
u64 program_id = 0;
- loader->ReadProgramId(program_id);
+ const auto result = loader->ReadProgramId(program_id);
+
+ if (result != Loader::ResultStatus::Success) {
+ continue;
+ }
const PatchManager patch{program_id, system.GetFileSystemController(),
system.GetContentProvider()};
@@ -274,8 +284,8 @@ void GameListWorker::AddTitlesToGameList(GameListDir* parent_dir) {
GetMetadataFromControlNCA(patch, *control, icon, name);
}
- emit EntryReady(MakeGameListEntry(file->GetFullPath(), name, icon, *loader, program_id,
- compatibility_list, patch),
+ emit EntryReady(MakeGameListEntry(file->GetFullPath(), name, file->GetSize(), icon, *loader,
+ program_id, compatibility_list, play_time_manager, patch),
parent_dir);
}
}
@@ -350,8 +360,10 @@ void GameListWorker::ScanFileSystem(ScanTarget target, const std::string& dir_pa
const FileSys::PatchManager patch{id, system.GetFileSystemController(),
system.GetContentProvider()};
- emit EntryReady(MakeGameListEntry(physical_name, name, icon, *loader, id,
- compatibility_list, patch),
+ emit EntryReady(MakeGameListEntry(physical_name, name,
+ Common::FS::GetSize(physical_name), icon,
+ *loader, id, compatibility_list,
+ play_time_manager, patch),
parent_dir);
}
} else {
@@ -364,8 +376,10 @@ void GameListWorker::ScanFileSystem(ScanTarget target, const std::string& dir_pa
const FileSys::PatchManager patch{program_id, system.GetFileSystemController(),
system.GetContentProvider()};
- emit EntryReady(MakeGameListEntry(physical_name, name, icon, *loader,
- program_id, compatibility_list, patch),
+ emit EntryReady(MakeGameListEntry(physical_name, name,
+ Common::FS::GetSize(physical_name), icon,
+ *loader, program_id, compatibility_list,
+ play_time_manager, patch),
parent_dir);
}
}
diff --git a/src/yuzu/game_list_worker.h b/src/yuzu/game_list_worker.h
index 24a4e92c3..2bb0a0cb6 100644
--- a/src/yuzu/game_list_worker.h
+++ b/src/yuzu/game_list_worker.h
@@ -13,6 +13,7 @@
#include <QString>
#include "yuzu/compatibility_list.h"
+#include "yuzu/play_time_manager.h"
namespace Core {
class System;
@@ -36,7 +37,9 @@ public:
explicit GameListWorker(std::shared_ptr<FileSys::VfsFilesystem> vfs_,
FileSys::ManualContentProvider* provider_,
QVector<UISettings::GameDir>& game_dirs_,
- const CompatibilityList& compatibility_list_, Core::System& system_);
+ const CompatibilityList& compatibility_list_,
+ const PlayTime::PlayTimeManager& play_time_manager_,
+ Core::System& system_);
~GameListWorker() override;
/// Starts the processing of directory tree information.
@@ -76,6 +79,7 @@ private:
FileSys::ManualContentProvider* provider;
QVector<UISettings::GameDir>& game_dirs;
const CompatibilityList& compatibility_list;
+ const PlayTime::PlayTimeManager& play_time_manager;
QStringList watch_list;
std::atomic_bool stop_processing;
diff --git a/src/yuzu/hotkeys.h b/src/yuzu/hotkeys.h
index 848239c35..56eee8d82 100644
--- a/src/yuzu/hotkeys.h
+++ b/src/yuzu/hotkeys.h
@@ -4,10 +4,12 @@
#pragma once
#include <map>
+#include <QKeySequence>
+#include <QString>
+#include <QWidget>
#include "core/hid/hid_types.h"
class QDialog;
-class QKeySequence;
class QSettings;
class QShortcut;
class ControllerShortcut;
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 6cd557c29..5427758c1 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -8,6 +8,8 @@
#include <iostream>
#include <memory>
#include <thread>
+#include "core/loader/nca.h"
+#include "core/tools/renderdoc.h"
#ifdef __APPLE__
#include <unistd.h> // for chdir
#endif
@@ -16,6 +18,8 @@
#include <sys/socket.h>
#endif
+#include <boost/container/flat_set.hpp>
+
// VFS includes must be before glad as they will conflict with Windows file api, which uses defines.
#include "applets/qt_amiibo_settings.h"
#include "applets/qt_controller.h"
@@ -24,6 +28,7 @@
#include "applets/qt_software_keyboard.h"
#include "applets/qt_web_browser.h"
#include "common/nvidia_flags.h"
+#include "common/settings_enums.h"
#include "configuration/configure_input.h"
#include "configuration/configure_per_game.h"
#include "configuration/configure_tas.h"
@@ -93,6 +98,7 @@ static FileSys::VirtualFile VfsDirectoryCreateFileWrapper(const FileSys::Virtual
#include "common/scm_rev.h"
#include "common/scope_exit.h"
#ifdef _WIN32
+#include <shlobj.h>
#include "common/windows/timer_resolution.h"
#endif
#ifdef ARCHITECTURE_x86_64
@@ -145,6 +151,7 @@ static FileSys::VirtualFile VfsDirectoryCreateFileWrapper(const FileSys::Virtual
#include "yuzu/install_dialog.h"
#include "yuzu/loading_screen.h"
#include "yuzu/main.h"
+#include "yuzu/play_time_manager.h"
#include "yuzu/startup_checks.h"
#include "yuzu/uisettings.h"
#include "yuzu/util/clickable_label.h"
@@ -333,6 +340,8 @@ GMainWindow::GMainWindow(std::unique_ptr<Config> config_, bool has_broken_vulkan
SetDiscordEnabled(UISettings::values.enable_discord_presence.GetValue());
discord_rpc->Update();
+ play_time_manager = std::make_unique<PlayTime::PlayTimeManager>();
+
system->GetRoomNetwork().Init();
RegisterMetaTypes();
@@ -441,8 +450,13 @@ GMainWindow::GMainWindow(std::unique_ptr<Config> config_, bool has_broken_vulkan
"#yuzu-starts-with-the-error-broken-vulkan-installation-detected'>"
"here for instructions to fix the issue</a>."));
+#ifdef HAS_OPENGL
Settings::values.renderer_backend = Settings::RendererBackend::OpenGL;
+#else
+ Settings::values.renderer_backend = Settings::RendererBackend::Null;
+#endif
+ UpdateAPIText();
renderer_status_button->setDisabled(true);
renderer_status_button->setChecked(false);
} else {
@@ -976,7 +990,7 @@ void GMainWindow::InitializeWidgets() {
render_window = new GRenderWindow(this, emu_thread.get(), input_subsystem, *system);
render_window->hide();
- game_list = new GameList(vfs, provider.get(), *system, this);
+ game_list = new GameList(vfs, provider.get(), *play_time_manager, *system, this);
ui->horizontalLayout->addWidget(game_list);
game_list_placeholder = new GameListPlaceholder(this);
@@ -1095,10 +1109,9 @@ void GMainWindow::InitializeWidgets() {
aa_status_button->setFocusPolicy(Qt::NoFocus);
connect(aa_status_button, &QPushButton::clicked, [&] {
auto aa_mode = Settings::values.anti_aliasing.GetValue();
- if (aa_mode == Settings::AntiAliasing::LastAA) {
+ aa_mode = static_cast<Settings::AntiAliasing>(static_cast<u32>(aa_mode) + 1);
+ if (aa_mode == Settings::AntiAliasing::MaxEnum) {
aa_mode = Settings::AntiAliasing::None;
- } else {
- aa_mode = static_cast<Settings::AntiAliasing>(static_cast<u32>(aa_mode) + 1);
}
Settings::values.anti_aliasing.SetValue(aa_mode);
aa_status_button->setChecked(true);
@@ -1158,9 +1171,9 @@ void GMainWindow::InitializeWidgets() {
[this](const QPoint& menu_location) {
QMenu context_menu;
- for (auto const& docked_mode_pair : Config::use_docked_mode_texts_map) {
- context_menu.addAction(docked_mode_pair.second, [this, docked_mode_pair] {
- if (docked_mode_pair.first != Settings::values.use_docked_mode.GetValue()) {
+ for (auto const& pair : Config::use_docked_mode_texts_map) {
+ context_menu.addAction(pair.second, [this, &pair] {
+ if (pair.first != Settings::values.use_docked_mode.GetValue()) {
OnToggleDockedMode();
}
});
@@ -1183,7 +1196,7 @@ void GMainWindow::InitializeWidgets() {
QMenu context_menu;
for (auto const& gpu_accuracy_pair : Config::gpu_accuracy_texts_map) {
- if (gpu_accuracy_pair.first == Settings::GPUAccuracy::Extreme) {
+ if (gpu_accuracy_pair.first == Settings::GpuAccuracy::Extreme) {
continue;
}
context_menu.addAction(gpu_accuracy_pair.second, [this, gpu_accuracy_pair] {
@@ -1342,6 +1355,11 @@ void GMainWindow::InitializeHotkeys() {
connect_shortcut(QStringLiteral("Toggle Framerate Limit"), [] {
Settings::values.use_speed_limit.SetValue(!Settings::values.use_speed_limit.GetValue());
});
+ connect_shortcut(QStringLiteral("Toggle Renderdoc Capture"), [this] {
+ if (Settings::values.enable_renderdoc_hotkey) {
+ system->GetRenderdocAPI().ToggleCapture();
+ }
+ });
connect_shortcut(QStringLiteral("Toggle Mouse Panning"), [&] {
if (Settings::values.mouse_enabled) {
Settings::values.mouse_panning = false;
@@ -1433,6 +1451,7 @@ void GMainWindow::OnAppFocusStateChanged(Qt::ApplicationState state) {
Settings::values.audio_muted = false;
auto_muted = false;
}
+ UpdateVolumeUI();
}
}
@@ -1446,7 +1465,11 @@ void GMainWindow::ConnectWidgetEvents() {
connect(game_list, &GameList::RemoveInstalledEntryRequested, this,
&GMainWindow::OnGameListRemoveInstalledEntry);
connect(game_list, &GameList::RemoveFileRequested, this, &GMainWindow::OnGameListRemoveFile);
+ connect(game_list, &GameList::RemovePlayTimeRequested, this,
+ &GMainWindow::OnGameListRemovePlayTimeData);
connect(game_list, &GameList::DumpRomFSRequested, this, &GMainWindow::OnGameListDumpRomFS);
+ connect(game_list, &GameList::VerifyIntegrityRequested, this,
+ &GMainWindow::OnGameListVerifyIntegrity);
connect(game_list, &GameList::CopyTIDRequested, this, &GMainWindow::OnGameListCopyTID);
connect(game_list, &GameList::NavigateToGamedbEntryRequested, this,
&GMainWindow::OnGameListNavigateToGamedbEntry);
@@ -1537,6 +1560,16 @@ void GMainWindow::ConnectMenuEvents() {
// Tools
connect_menu(ui->action_Rederive, std::bind(&GMainWindow::OnReinitializeKeys, this,
ReinitializeKeyBehavior::Warning));
+ connect_menu(ui->action_Load_Album, &GMainWindow::OnAlbum);
+ connect_menu(ui->action_Load_Cabinet_Nickname_Owner,
+ [this]() { OnCabinet(Service::NFP::CabinetMode::StartNicknameAndOwnerSettings); });
+ connect_menu(ui->action_Load_Cabinet_Eraser,
+ [this]() { OnCabinet(Service::NFP::CabinetMode::StartGameDataEraser); });
+ connect_menu(ui->action_Load_Cabinet_Restorer,
+ [this]() { OnCabinet(Service::NFP::CabinetMode::StartRestorer); });
+ connect_menu(ui->action_Load_Cabinet_Formatter,
+ [this]() { OnCabinet(Service::NFP::CabinetMode::StartFormatter); });
+ connect_menu(ui->action_Load_Mii_Edit, &GMainWindow::OnMiiEdit);
connect_menu(ui->action_Capture_Screenshot, &GMainWindow::OnCaptureScreenshot);
// TAS
@@ -1547,11 +1580,13 @@ void GMainWindow::ConnectMenuEvents() {
// Help
connect_menu(ui->action_Open_yuzu_Folder, &GMainWindow::OnOpenYuzuFolder);
+ connect_menu(ui->action_Verify_installed_contents, &GMainWindow::OnVerifyInstalledContents);
connect_menu(ui->action_About, &GMainWindow::OnAbout);
}
void GMainWindow::UpdateMenuState() {
const bool is_paused = emu_thread == nullptr || !emu_thread->IsRunning();
+ const bool is_firmware_available = CheckFirmwarePresence();
const std::array running_actions{
ui->action_Stop,
@@ -1562,10 +1597,23 @@ void GMainWindow::UpdateMenuState() {
ui->action_Pause,
};
+ const std::array applet_actions{
+ ui->action_Load_Album,
+ ui->action_Load_Cabinet_Nickname_Owner,
+ ui->action_Load_Cabinet_Eraser,
+ ui->action_Load_Cabinet_Restorer,
+ ui->action_Load_Cabinet_Formatter,
+ ui->action_Load_Mii_Edit,
+ };
+
for (QAction* action : running_actions) {
action->setEnabled(emulation_running);
}
+ for (QAction* action : applet_actions) {
+ action->setEnabled(is_firmware_available && !emulation_running);
+ }
+
ui->action_Capture_Screenshot->setEnabled(emulation_running && !is_paused);
if (emulation_running && is_paused) {
@@ -1698,7 +1746,8 @@ void GMainWindow::AllowOSSleep() {
#endif
}
-bool GMainWindow::LoadROM(const QString& filename, u64 program_id, std::size_t program_index) {
+bool GMainWindow::LoadROM(const QString& filename, u64 program_id, std::size_t program_index,
+ AmLaunchType launch_type) {
// Shutdown previous session if the emu thread is still active...
if (emu_thread != nullptr) {
ShutdownGame();
@@ -1710,6 +1759,10 @@ bool GMainWindow::LoadROM(const QString& filename, u64 program_id, std::size_t p
system->SetFilesystem(vfs);
+ if (launch_type == AmLaunchType::UserInitiated) {
+ system->GetUserChannel().clear();
+ }
+
system->SetAppletFrontendSet({
std::make_unique<QtAmiiboSettings>(*this), // Amiibo Settings
(UISettings::values.controller_applet_disabled.GetValue() == true)
@@ -1811,8 +1864,45 @@ bool GMainWindow::SelectAndSetCurrentUser(
return true;
}
+void GMainWindow::ConfigureFilesystemProvider(const std::string& filepath) {
+ // Ensure all NCAs are registered before launching the game
+ const auto file = vfs->OpenFile(filepath, FileSys::Mode::Read);
+ if (!file) {
+ return;
+ }
+
+ auto loader = Loader::GetLoader(*system, file);
+ if (!loader) {
+ return;
+ }
+
+ const auto file_type = loader->GetFileType();
+ if (file_type == Loader::FileType::Unknown || file_type == Loader::FileType::Error) {
+ return;
+ }
+
+ u64 program_id = 0;
+ const auto res2 = loader->ReadProgramId(program_id);
+ if (res2 == Loader::ResultStatus::Success && file_type == Loader::FileType::NCA) {
+ provider->AddEntry(FileSys::TitleType::Application,
+ FileSys::GetCRTypeFromNCAType(FileSys::NCA{file}.GetType()), program_id,
+ file);
+ } else if (res2 == Loader::ResultStatus::Success &&
+ (file_type == Loader::FileType::XCI || file_type == Loader::FileType::NSP)) {
+ const auto nsp = file_type == Loader::FileType::NSP
+ ? std::make_shared<FileSys::NSP>(file)
+ : FileSys::XCI{file}.GetSecurePartitionNSP();
+ for (const auto& title : nsp->GetNCAs()) {
+ for (const auto& entry : title.second) {
+ provider->AddEntry(entry.first.first, entry.first.second, title.first,
+ entry.second->GetBaseFile());
+ }
+ }
+ }
+}
+
void GMainWindow::BootGame(const QString& filename, u64 program_id, std::size_t program_index,
- StartGameType type) {
+ StartGameType type, AmLaunchType launch_type) {
LOG_INFO(Frontend, "yuzu starting...");
StoreRecentFile(filename); // Put the filename on top of the list
@@ -1825,6 +1915,7 @@ void GMainWindow::BootGame(const QString& filename, u64 program_id, std::size_t
last_filename_booted = filename;
+ ConfigureFilesystemProvider(filename.toStdString());
const auto v_file = Core::GetGameFileFromPath(vfs, filename.toUtf8().constData());
const auto loader = Loader::GetLoader(*system, v_file, program_id, program_index);
@@ -1855,7 +1946,7 @@ void GMainWindow::BootGame(const QString& filename, u64 program_id, std::size_t
}
}
- if (!LoadROM(filename, program_id, program_index)) {
+ if (!LoadROM(filename, program_id, program_index, launch_type)) {
return;
}
@@ -1972,8 +2063,16 @@ bool GMainWindow::OnShutdownBegin() {
emit EmulationStopping();
+ int shutdown_time = 1000;
+
+ if (system->DebuggerEnabled()) {
+ shutdown_time = 0;
+ } else if (system->GetExitLocked()) {
+ shutdown_time = 5000;
+ }
+
shutdown_timer.setSingleShot(true);
- shutdown_timer.start(system->DebuggerEnabled() ? 0 : 5000);
+ shutdown_timer.start(shutdown_time);
connect(&shutdown_timer, &QTimer::timeout, this, &GMainWindow::OnEmulationStopTimeExpired);
connect(emu_thread.get(), &QThread::finished, this, &GMainWindow::OnEmulationStopped);
@@ -2034,6 +2133,8 @@ void GMainWindow::OnEmulationStopped() {
OnTasStateChanged();
render_window->FinalizeCamera();
+ system->GetAppletManager().SetCurrentAppletId(Service::AM::Applets::AppletId::None);
+
// Enable all controllers
system->HIDCore().SetSupportedStyleTag({Core::HID::NpadStyleSet::All});
@@ -2229,40 +2330,62 @@ void GMainWindow::OnTransferableShaderCacheOpenFile(u64 program_id) {
QDesktopServices::openUrl(QUrl::fromLocalFile(qt_shader_cache_path));
}
-static std::size_t CalculateRomFSEntrySize(const FileSys::VirtualDir& dir, bool full) {
- std::size_t out = 0;
-
- for (const auto& subdir : dir->GetSubdirectories()) {
- out += 1 + CalculateRomFSEntrySize(subdir, full);
- }
-
- return out + (full ? dir->GetFiles().size() : 0);
-}
-
-static bool RomFSRawCopy(QProgressDialog& dialog, const FileSys::VirtualDir& src,
- const FileSys::VirtualDir& dest, std::size_t block_size, bool full) {
+static bool RomFSRawCopy(size_t total_size, size_t& read_size, QProgressDialog& dialog,
+ const FileSys::VirtualDir& src, const FileSys::VirtualDir& dest,
+ bool full) {
if (src == nullptr || dest == nullptr || !src->IsReadable() || !dest->IsWritable())
return false;
if (dialog.wasCanceled())
return false;
+ std::vector<u8> buffer(CopyBufferSize);
+ auto last_timestamp = std::chrono::steady_clock::now();
+
+ const auto QtRawCopy = [&](const FileSys::VirtualFile& src_file,
+ const FileSys::VirtualFile& dest_file) {
+ if (src_file == nullptr || dest_file == nullptr) {
+ return false;
+ }
+ if (!dest_file->Resize(src_file->GetSize())) {
+ return false;
+ }
+
+ for (std::size_t i = 0; i < src_file->GetSize(); i += buffer.size()) {
+ if (dialog.wasCanceled()) {
+ dest_file->Resize(0);
+ return false;
+ }
+
+ using namespace std::literals::chrono_literals;
+ const auto new_timestamp = std::chrono::steady_clock::now();
+
+ if ((new_timestamp - last_timestamp) > 33ms) {
+ last_timestamp = new_timestamp;
+ dialog.setValue(
+ static_cast<int>(std::min(read_size, total_size) * 100 / total_size));
+ QCoreApplication::processEvents();
+ }
+
+ const auto read = src_file->Read(buffer.data(), buffer.size(), i);
+ dest_file->Write(buffer.data(), read, i);
+
+ read_size += read;
+ }
+
+ return true;
+ };
+
if (full) {
for (const auto& file : src->GetFiles()) {
const auto out = VfsDirectoryCreateFileWrapper(dest, file->GetName());
- if (!FileSys::VfsRawCopy(file, out, block_size))
- return false;
- dialog.setValue(dialog.value() + 1);
- if (dialog.wasCanceled())
+ if (!QtRawCopy(file, out))
return false;
}
}
for (const auto& dir : src->GetSubdirectories()) {
const auto out = dest->CreateSubdirectory(dir->GetName());
- if (!RomFSRawCopy(dialog, dir, out, block_size, full))
- return false;
- dialog.setValue(dialog.value() + 1);
- if (dialog.wasCanceled())
+ if (!RomFSRawCopy(total_size, read_size, dialog, dir, out, full))
return false;
}
@@ -2420,6 +2543,17 @@ void GMainWindow::OnGameListRemoveFile(u64 program_id, GameListRemoveTarget targ
}
}
+void GMainWindow::OnGameListRemovePlayTimeData(u64 program_id) {
+ if (QMessageBox::question(this, tr("Remove Play Time Data"), tr("Reset play time?"),
+ QMessageBox::Yes | QMessageBox::No,
+ QMessageBox::No) != QMessageBox::Yes) {
+ return;
+ }
+
+ play_time_manager->ResetProgramPlayTime(program_id);
+ game_list->PopulateAsync(UISettings::values.game_dirs);
+}
+
void GMainWindow::RemoveTransferableShaderCache(u64 program_id, GameListRemoveTarget target) {
const auto target_file_name = [target] {
switch (target) {
@@ -2535,16 +2669,34 @@ void GMainWindow::OnGameListDumpRomFS(u64 program_id, const std::string& game_pa
return;
}
- FileSys::VirtualFile file;
- if (loader->ReadRomFS(file) != Loader::ResultStatus::Success) {
+ FileSys::VirtualFile packed_update_raw{};
+ loader->ReadUpdateRaw(packed_update_raw);
+
+ const auto& installed = system->GetContentProvider();
+
+ u64 title_id{};
+ u8 raw_type{};
+ if (!SelectRomFSDumpTarget(installed, program_id, &title_id, &raw_type)) {
failed();
return;
}
- const auto& installed = system->GetContentProvider();
- const auto romfs_title_id = SelectRomFSDumpTarget(installed, program_id);
+ const auto type = static_cast<FileSys::ContentRecordType>(raw_type);
+ const auto base_nca = installed.GetEntry(title_id, type);
+ if (!base_nca) {
+ failed();
+ return;
+ }
- if (!romfs_title_id) {
+ const FileSys::NCA update_nca{packed_update_raw, nullptr};
+ if (type != FileSys::ContentRecordType::Program ||
+ update_nca.GetStatus() != Loader::ResultStatus::ErrorMissingBKTRBaseRomFS ||
+ update_nca.GetTitleId() != FileSys::GetUpdateTitleID(title_id)) {
+ packed_update_raw = {};
+ }
+
+ const auto base_romfs = base_nca->GetRomFS();
+ if (!base_romfs) {
failed();
return;
}
@@ -2553,26 +2705,12 @@ void GMainWindow::OnGameListDumpRomFS(u64 program_id, const std::string& game_pa
target == DumpRomFSTarget::Normal
? Common::FS::GetYuzuPath(Common::FS::YuzuPath::DumpDir)
: Common::FS::GetYuzuPath(Common::FS::YuzuPath::SDMCDir) / "atmosphere" / "contents";
- const auto romfs_dir = fmt::format("{:016X}/romfs", *romfs_title_id);
+ const auto romfs_dir = fmt::format("{:016X}/romfs", title_id);
const auto path = Common::FS::PathToUTF8String(dump_dir / romfs_dir);
- FileSys::VirtualFile romfs;
-
- if (*romfs_title_id == program_id) {
- const u64 ivfc_offset = loader->ReadRomFSIVFCOffset();
- const FileSys::PatchManager pm{program_id, system->GetFileSystemController(), installed};
- romfs =
- pm.PatchRomFS(file, ivfc_offset, FileSys::ContentRecordType::Program, nullptr, false);
- } else {
- romfs = installed.GetEntry(*romfs_title_id, FileSys::ContentRecordType::Data)->GetRomFS();
- }
-
- const auto extracted = FileSys::ExtractRomFS(romfs, FileSys::RomFSExtractionType::Full);
- if (extracted == nullptr) {
- failed();
- return;
- }
+ const FileSys::PatchManager pm{title_id, system->GetFileSystemController(), installed};
+ auto romfs = pm.PatchRomFS(base_nca.get(), base_romfs, type, packed_update_raw, false);
const auto out = VfsFilesystemCreateDirectoryWrapper(vfs, path, FileSys::Mode::ReadWrite);
@@ -2596,11 +2734,16 @@ void GMainWindow::OnGameListDumpRomFS(u64 program_id, const std::string& game_pa
return;
}
+ const auto extracted = FileSys::ExtractRomFS(romfs, FileSys::RomFSExtractionType::Full);
+ if (extracted == nullptr) {
+ failed();
+ return;
+ }
+
const auto full = res == selections.constFirst();
- const auto entry_size = CalculateRomFSEntrySize(extracted, full);
- // The minimum required space is the size of the extracted RomFS + 1 GiB
- const auto minimum_free_space = extracted->GetSize() + 0x40000000;
+ // The expected required space is the size of the RomFS + 1 GiB
+ const auto minimum_free_space = romfs->GetSize() + 0x40000000;
if (full && Common::FS::GetFreeSpaceSize(path) < minimum_free_space) {
QMessageBox::warning(this, tr("RomFS Extraction Failed!"),
@@ -2611,12 +2754,15 @@ void GMainWindow::OnGameListDumpRomFS(u64 program_id, const std::string& game_pa
return;
}
- QProgressDialog progress(tr("Extracting RomFS..."), tr("Cancel"), 0,
- static_cast<s32>(entry_size), this);
+ QProgressDialog progress(tr("Extracting RomFS..."), tr("Cancel"), 0, 100, this);
progress.setWindowModality(Qt::WindowModal);
progress.setMinimumDuration(100);
+ progress.setAutoClose(false);
+ progress.setAutoReset(false);
- if (RomFSRawCopy(progress, extracted, out, 0x400000, full)) {
+ size_t read_size = 0;
+
+ if (RomFSRawCopy(romfs->GetSize(), read_size, progress, extracted, out, full)) {
progress.close();
QMessageBox::information(this, tr("RomFS Extraction Succeeded!"),
tr("The operation completed successfully."));
@@ -2628,6 +2774,54 @@ void GMainWindow::OnGameListDumpRomFS(u64 program_id, const std::string& game_pa
}
}
+void GMainWindow::OnGameListVerifyIntegrity(const std::string& game_path) {
+ const auto NotImplemented = [this] {
+ QMessageBox::warning(this, tr("Integrity verification couldn't be performed!"),
+ tr("File contents were not checked for validity."));
+ };
+ const auto Failed = [this] {
+ QMessageBox::critical(this, tr("Integrity verification failed!"),
+ tr("File contents may be corrupt."));
+ };
+
+ const auto loader = Loader::GetLoader(*system, vfs->OpenFile(game_path, FileSys::Mode::Read));
+ if (loader == nullptr) {
+ NotImplemented();
+ return;
+ }
+
+ QProgressDialog progress(tr("Verifying integrity..."), tr("Cancel"), 0, 100, this);
+ progress.setWindowModality(Qt::WindowModal);
+ progress.setMinimumDuration(100);
+ progress.setAutoClose(false);
+ progress.setAutoReset(false);
+
+ const auto QtProgressCallback = [&](size_t processed_size, size_t total_size) {
+ if (progress.wasCanceled()) {
+ return false;
+ }
+
+ progress.setValue(static_cast<int>((processed_size * 100) / total_size));
+ return true;
+ };
+
+ const auto status = loader->VerifyIntegrity(QtProgressCallback);
+ if (progress.wasCanceled() ||
+ status == Loader::ResultStatus::ErrorIntegrityVerificationNotImplemented) {
+ NotImplemented();
+ return;
+ }
+
+ if (status == Loader::ResultStatus::ErrorIntegrityVerificationFailed) {
+ Failed();
+ return;
+ }
+
+ progress.close();
+ QMessageBox::information(this, tr("Integrity verification succeeded!"),
+ tr("The operation completed successfully."));
+}
+
void GMainWindow::OnGameListCopyTID(u64 program_id) {
QClipboard* clipboard = QGuiApplication::clipboard();
clipboard->setText(QString::fromStdString(fmt::format("{:016X}", program_id)));
@@ -2651,7 +2845,6 @@ void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& ga
const QStringList args = QApplication::arguments();
std::filesystem::path yuzu_command = args[0].toStdString();
-#if defined(__linux__) || defined(__FreeBSD__)
// If relative path, make it an absolute path
if (yuzu_command.c_str()[0] == '.') {
yuzu_command = Common::FS::GetCurrentDir() / yuzu_command;
@@ -2674,12 +2867,14 @@ void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& ga
UISettings::values.shortcut_already_warned = true;
}
#endif // __linux__
-#endif // __linux__ || __FreeBSD__
std::filesystem::path target_directory{};
// Determine target directory for shortcut
-#if defined(__linux__) || defined(__FreeBSD__)
+#if defined(WIN32)
+ const char* home = std::getenv("USERPROFILE");
+#else
const char* home = std::getenv("HOME");
+#endif
const std::filesystem::path home_path = (home == nullptr ? "~" : home);
const char* xdg_data_home = std::getenv("XDG_DATA_HOME");
@@ -2689,7 +2884,7 @@ void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& ga
QMessageBox::critical(
this, tr("Create Shortcut"),
tr("Cannot create shortcut on desktop. Path \"%1\" does not exist.")
- .arg(QString::fromStdString(target_directory)),
+ .arg(QString::fromStdString(target_directory.generic_string())),
QMessageBox::StandardButton::Ok);
return;
}
@@ -2697,15 +2892,15 @@ void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& ga
target_directory = (xdg_data_home == nullptr ? home_path / ".local/share" : xdg_data_home) /
"applications";
if (!Common::FS::CreateDirs(target_directory)) {
- QMessageBox::critical(this, tr("Create Shortcut"),
- tr("Cannot create shortcut in applications menu. Path \"%1\" "
- "does not exist and cannot be created.")
- .arg(QString::fromStdString(target_directory)),
- QMessageBox::StandardButton::Ok);
+ QMessageBox::critical(
+ this, tr("Create Shortcut"),
+ tr("Cannot create shortcut in applications menu. Path \"%1\" "
+ "does not exist and cannot be created.")
+ .arg(QString::fromStdString(target_directory.generic_string())),
+ QMessageBox::StandardButton::Ok);
return;
}
}
-#endif
const std::string game_file_name = std::filesystem::path(game_path).filename().string();
// Determine full paths for icon and shortcut
@@ -2727,9 +2922,14 @@ void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& ga
const std::filesystem::path shortcut_path =
target_directory / (program_id == 0 ? fmt::format("yuzu-{}.desktop", game_file_name)
: fmt::format("yuzu-{:016X}.desktop", program_id));
+#elif defined(WIN32)
+ std::filesystem::path icons_path =
+ Common::FS::GetYuzuPathString(Common::FS::YuzuPath::IconsDir);
+ std::filesystem::path icon_path =
+ icons_path / ((program_id == 0 ? fmt::format("yuzu-{}.ico", game_file_name)
+ : fmt::format("yuzu-{:016X}.ico", program_id)));
#else
- const std::filesystem::path icon_path{};
- const std::filesystem::path shortcut_path{};
+ std::string icon_extension;
#endif
// Get title from game file
@@ -2754,29 +2954,37 @@ void GMainWindow::OnGameListCreateShortcut(u64 program_id, const std::string& ga
LOG_WARNING(Frontend, "Could not read icon from {:s}", game_path);
}
- QImage icon_jpeg =
+ QImage icon_data =
QImage::fromData(icon_image_file.data(), static_cast<int>(icon_image_file.size()));
#if defined(__linux__) || defined(__FreeBSD__)
// Convert and write the icon as a PNG
- if (!icon_jpeg.save(QString::fromStdString(icon_path.string()))) {
+ if (!icon_data.save(QString::fromStdString(icon_path.string()))) {
LOG_ERROR(Frontend, "Could not write icon as PNG to file");
} else {
LOG_INFO(Frontend, "Wrote an icon to {}", icon_path.string());
}
+#elif defined(WIN32)
+ if (!SaveIconToFile(icon_path.string(), icon_data)) {
+ LOG_ERROR(Frontend, "Could not write icon to file");
+ return;
+ }
#endif // __linux__
-#if defined(__linux__) || defined(__FreeBSD__)
+#ifdef _WIN32
+ // Replace characters that are illegal in Windows filenames by a dash
+ const std::string illegal_chars = "<>:\"/\\|?*";
+ for (char c : illegal_chars) {
+ std::replace(title.begin(), title.end(), c, '_');
+ }
+ const std::filesystem::path shortcut_path = target_directory / (title + ".lnk").c_str();
+#endif
+
const std::string comment =
tr("Start %1 with the yuzu Emulator").arg(QString::fromStdString(title)).toStdString();
const std::string arguments = fmt::format("-g \"{:s}\"", game_path);
const std::string categories = "Game;Emulator;Qt;";
const std::string keywords = "Switch;Nintendo;";
-#else
- const std::string comment{};
- const std::string arguments{};
- const std::string categories{};
- const std::string keywords{};
-#endif
+
if (!CreateShortcut(shortcut_path.string(), title, comment, icon_path.string(),
yuzu_command.string(), arguments, categories, keywords)) {
QMessageBox::critical(this, tr("Create Shortcut"),
@@ -2962,10 +3170,9 @@ void GMainWindow::OnMenuInstallToNAND() {
QFuture<InstallResult> future;
InstallResult result;
- if (file.endsWith(QStringLiteral("xci"), Qt::CaseInsensitive) ||
- file.endsWith(QStringLiteral("nsp"), Qt::CaseInsensitive)) {
+ if (file.endsWith(QStringLiteral("nsp"), Qt::CaseInsensitive)) {
- future = QtConcurrent::run([this, &file] { return InstallNSPXCI(file); });
+ future = QtConcurrent::run([this, &file] { return InstallNSP(file); });
while (!future.isFinished()) {
QCoreApplication::processEvents();
@@ -3024,7 +3231,7 @@ void GMainWindow::OnMenuInstallToNAND() {
ui->action_Install_File_NAND->setEnabled(true);
}
-InstallResult GMainWindow::InstallNSPXCI(const QString& filename) {
+InstallResult GMainWindow::InstallNSP(const QString& filename) {
const auto qt_raw_copy = [this](const FileSys::VirtualFile& src,
const FileSys::VirtualFile& dest, std::size_t block_size) {
if (src == nullptr || dest == nullptr) {
@@ -3058,9 +3265,7 @@ InstallResult GMainWindow::InstallNSPXCI(const QString& filename) {
return InstallResult::Failure;
}
} else {
- const auto xci = std::make_shared<FileSys::XCI>(
- vfs->OpenFile(filename.toStdString(), FileSys::Mode::Read));
- nsp = xci->GetSecurePartitionNSP();
+ return InstallResult::Failure;
}
if (nsp->GetStatus() != Loader::ResultStatus::Success) {
@@ -3186,6 +3391,9 @@ void GMainWindow::OnStartGame() {
UpdateMenuState();
OnTasStateChanged();
+ play_time_manager->SetProgramId(system->GetApplicationProcessProgramID());
+ play_time_manager->Start();
+
discord_rpc->Update();
}
@@ -3201,6 +3409,7 @@ void GMainWindow::OnRestartGame() {
void GMainWindow::OnPauseGame() {
emu_thread->SetRunning(false);
+ play_time_manager->Stop();
UpdateMenuState();
AllowOSSleep();
}
@@ -3217,10 +3426,13 @@ void GMainWindow::OnPauseContinueGame() {
}
void GMainWindow::OnStopGame() {
- if (system->GetExitLock() && !ConfirmForceLockedExit()) {
+ if (system->GetExitLocked() && !ConfirmForceLockedExit()) {
return;
}
+ play_time_manager->Stop();
+ // Update game list to show new play time
+ game_list->PopulateAsync(UISettings::values.game_dirs);
if (OnShutdownBegin()) {
OnShutdownBeginDialog();
} else {
@@ -3234,7 +3446,8 @@ void GMainWindow::OnLoadComplete() {
void GMainWindow::OnExecuteProgram(std::size_t program_index) {
ShutdownGame();
- BootGame(last_filename_booted, 0, program_index);
+ BootGame(last_filename_booted, 0, program_index, StartGameType::Normal,
+ AmLaunchType::ApplicationInitiated);
}
void GMainWindow::OnExit() {
@@ -3630,7 +3843,7 @@ void GMainWindow::OnTasReset() {
}
void GMainWindow::OnToggleDockedMode() {
- const bool is_docked = Settings::values.use_docked_mode.GetValue();
+ const bool is_docked = Settings::IsDockedMode();
auto* player_1 = system->HIDCore().GetEmulatedController(Core::HID::NpadIdType::Player1);
auto* handheld = system->HIDCore().GetEmulatedController(Core::HID::NpadIdType::Handheld);
@@ -3644,21 +3857,22 @@ void GMainWindow::OnToggleDockedMode() {
controller_dialog->refreshConfiguration();
}
- Settings::values.use_docked_mode.SetValue(!is_docked);
+ Settings::values.use_docked_mode.SetValue(is_docked ? Settings::ConsoleMode::Handheld
+ : Settings::ConsoleMode::Docked);
UpdateDockedButton();
OnDockedModeChanged(is_docked, !is_docked, *system);
}
void GMainWindow::OnToggleGpuAccuracy() {
switch (Settings::values.gpu_accuracy.GetValue()) {
- case Settings::GPUAccuracy::High: {
- Settings::values.gpu_accuracy.SetValue(Settings::GPUAccuracy::Normal);
+ case Settings::GpuAccuracy::High: {
+ Settings::values.gpu_accuracy.SetValue(Settings::GpuAccuracy::Normal);
break;
}
- case Settings::GPUAccuracy::Normal:
- case Settings::GPUAccuracy::Extreme:
+ case Settings::GpuAccuracy::Normal:
+ case Settings::GpuAccuracy::Extreme:
default: {
- Settings::values.gpu_accuracy.SetValue(Settings::GPUAccuracy::High);
+ Settings::values.gpu_accuracy.SetValue(Settings::GpuAccuracy::High);
break;
}
}
@@ -3702,10 +3916,9 @@ void GMainWindow::OnIncreaseVolume() {
void GMainWindow::OnToggleAdaptingFilter() {
auto filter = Settings::values.scaling_filter.GetValue();
- if (filter == Settings::ScalingFilter::LastFilter) {
+ filter = static_cast<Settings::ScalingFilter>(static_cast<u32>(filter) + 1);
+ if (filter == Settings::ScalingFilter::MaxEnum) {
filter = Settings::ScalingFilter::NearestNeighbor;
- } else {
- filter = static_cast<Settings::ScalingFilter>(static_cast<u32>(filter) + 1);
}
Settings::values.scaling_filter.SetValue(filter);
filter_status_button->setChecked(true);
@@ -3714,10 +3927,14 @@ void GMainWindow::OnToggleAdaptingFilter() {
void GMainWindow::OnToggleGraphicsAPI() {
auto api = Settings::values.renderer_backend.GetValue();
- if (api == Settings::RendererBackend::OpenGL) {
+ if (api != Settings::RendererBackend::Vulkan) {
api = Settings::RendererBackend::Vulkan;
} else {
+#ifdef HAS_OPENGL
api = Settings::RendererBackend::OpenGL;
+#else
+ api = Settings::RendererBackend::Null;
+#endif
}
Settings::values.renderer_backend.SetValue(api);
renderer_status_button->setChecked(api == Settings::RendererBackend::Vulkan);
@@ -3789,6 +4006,34 @@ bool GMainWindow::CreateShortcut(const std::string& shortcut_path, const std::st
shortcut_stream.close();
return true;
+#elif defined(WIN32)
+ IShellLinkW* shell_link;
+ auto hres = CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLinkW,
+ (void**)&shell_link);
+ if (FAILED(hres)) {
+ return false;
+ }
+ shell_link->SetPath(
+ Common::UTF8ToUTF16W(command).data()); // Path to the object we are referring to
+ shell_link->SetArguments(Common::UTF8ToUTF16W(arguments).data());
+ shell_link->SetDescription(Common::UTF8ToUTF16W(comment).data());
+ shell_link->SetIconLocation(Common::UTF8ToUTF16W(icon_path).data(), 0);
+
+ IPersistFile* persist_file;
+ hres = shell_link->QueryInterface(IID_IPersistFile, (void**)&persist_file);
+ if (FAILED(hres)) {
+ return false;
+ }
+
+ hres = persist_file->Save(Common::UTF8ToUTF16W(shortcut_path).data(), TRUE);
+ if (FAILED(hres)) {
+ return false;
+ }
+
+ persist_file->Release();
+ shell_link->Release();
+
+ return true;
#endif
return false;
}
@@ -3861,6 +4106,108 @@ void GMainWindow::OnOpenYuzuFolder() {
QString::fromStdString(Common::FS::GetYuzuPathString(Common::FS::YuzuPath::YuzuDir))));
}
+void GMainWindow::OnVerifyInstalledContents() {
+ // Declare sizes.
+ size_t total_size = 0;
+ size_t processed_size = 0;
+
+ // Initialize a progress dialog.
+ QProgressDialog progress(tr("Verifying integrity..."), tr("Cancel"), 0, 100, this);
+ progress.setWindowModality(Qt::WindowModal);
+ progress.setMinimumDuration(100);
+ progress.setAutoClose(false);
+ progress.setAutoReset(false);
+
+ // Declare a list of file names which failed to verify.
+ std::vector<std::string> failed;
+
+ // Declare progress callback.
+ auto QtProgressCallback = [&](size_t nca_processed, size_t nca_total) {
+ if (progress.wasCanceled()) {
+ return false;
+ }
+ progress.setValue(static_cast<int>(((processed_size + nca_processed) * 100) / total_size));
+ return true;
+ };
+
+ // Get content registries.
+ auto bis_contents = system->GetFileSystemController().GetSystemNANDContents();
+ auto user_contents = system->GetFileSystemController().GetUserNANDContents();
+
+ std::vector<FileSys::RegisteredCache*> content_providers;
+ if (bis_contents) {
+ content_providers.push_back(bis_contents);
+ }
+ if (user_contents) {
+ content_providers.push_back(user_contents);
+ }
+
+ // Get associated NCA files.
+ std::vector<FileSys::VirtualFile> nca_files;
+
+ // Get all installed IDs.
+ for (auto nca_provider : content_providers) {
+ const auto entries = nca_provider->ListEntriesFilter();
+
+ for (const auto& entry : entries) {
+ auto nca_file = nca_provider->GetEntryRaw(entry.title_id, entry.type);
+ if (!nca_file) {
+ continue;
+ }
+
+ total_size += nca_file->GetSize();
+ nca_files.push_back(std::move(nca_file));
+ }
+ }
+
+ // Using the NCA loader, determine if all NCAs are valid.
+ for (auto& nca_file : nca_files) {
+ Loader::AppLoader_NCA nca_loader(nca_file);
+
+ auto status = nca_loader.VerifyIntegrity(QtProgressCallback);
+ if (progress.wasCanceled()) {
+ break;
+ }
+ if (status != Loader::ResultStatus::Success) {
+ FileSys::NCA nca(nca_file);
+ const auto title_id = nca.GetTitleId();
+ std::string title_name = "unknown";
+
+ const auto control = provider->GetEntry(FileSys::GetBaseTitleID(title_id),
+ FileSys::ContentRecordType::Control);
+ if (control && control->GetStatus() == Loader::ResultStatus::Success) {
+ const FileSys::PatchManager pm{title_id, system->GetFileSystemController(),
+ *provider};
+ const auto [nacp, logo] = pm.ParseControlNCA(*control);
+ if (nacp) {
+ title_name = nacp->GetApplicationName();
+ }
+ }
+
+ if (title_id > 0) {
+ failed.push_back(
+ fmt::format("{} ({:016X}) ({})", nca_file->GetName(), title_id, title_name));
+ } else {
+ failed.push_back(fmt::format("{} (unknown)", nca_file->GetName()));
+ }
+ }
+
+ processed_size += nca_file->GetSize();
+ }
+
+ progress.close();
+
+ if (failed.size() > 0) {
+ auto failed_names = QString::fromStdString(fmt::format("{}", fmt::join(failed, "\n")));
+ QMessageBox::critical(
+ this, tr("Integrity verification failed!"),
+ tr("Verification failed for the following files:\n\n%1").arg(failed_names));
+ } else {
+ QMessageBox::information(this, tr("Integrity verification succeeded!"),
+ tr("The operation completed successfully."));
+ }
+}
+
void GMainWindow::OnAbout() {
AboutDialog aboutDialog(this);
aboutDialog.exec();
@@ -3879,6 +4226,76 @@ void GMainWindow::OnToggleStatusBar() {
statusBar()->setVisible(ui->action_Show_Status_Bar->isChecked());
}
+void GMainWindow::OnAlbum() {
+ constexpr u64 AlbumId = 0x010000000000100Dull;
+ auto bis_system = system->GetFileSystemController().GetSystemNANDContents();
+ if (!bis_system) {
+ QMessageBox::warning(this, tr("No firmware available"),
+ tr("Please install the firmware to use the Album applet."));
+ return;
+ }
+
+ auto album_nca = bis_system->GetEntry(AlbumId, FileSys::ContentRecordType::Program);
+ if (!album_nca) {
+ QMessageBox::warning(this, tr("Album Applet"),
+ tr("Album applet is not available. Please reinstall firmware."));
+ return;
+ }
+
+ system->GetAppletManager().SetCurrentAppletId(Service::AM::Applets::AppletId::PhotoViewer);
+
+ const auto filename = QString::fromStdString(album_nca->GetFullPath());
+ UISettings::values.roms_path = QFileInfo(filename).path();
+ BootGame(filename);
+}
+
+void GMainWindow::OnCabinet(Service::NFP::CabinetMode mode) {
+ constexpr u64 CabinetId = 0x0100000000001002ull;
+ auto bis_system = system->GetFileSystemController().GetSystemNANDContents();
+ if (!bis_system) {
+ QMessageBox::warning(this, tr("No firmware available"),
+ tr("Please install the firmware to use the Cabinet applet."));
+ return;
+ }
+
+ auto cabinet_nca = bis_system->GetEntry(CabinetId, FileSys::ContentRecordType::Program);
+ if (!cabinet_nca) {
+ QMessageBox::warning(this, tr("Cabinet Applet"),
+ tr("Cabinet applet is not available. Please reinstall firmware."));
+ return;
+ }
+
+ system->GetAppletManager().SetCurrentAppletId(Service::AM::Applets::AppletId::Cabinet);
+ system->GetAppletManager().SetCabinetMode(mode);
+
+ const auto filename = QString::fromStdString(cabinet_nca->GetFullPath());
+ UISettings::values.roms_path = QFileInfo(filename).path();
+ BootGame(filename);
+}
+
+void GMainWindow::OnMiiEdit() {
+ constexpr u64 MiiEditId = 0x0100000000001009ull;
+ auto bis_system = system->GetFileSystemController().GetSystemNANDContents();
+ if (!bis_system) {
+ QMessageBox::warning(this, tr("No firmware available"),
+ tr("Please install the firmware to use the Mii editor."));
+ return;
+ }
+
+ auto mii_applet_nca = bis_system->GetEntry(MiiEditId, FileSys::ContentRecordType::Program);
+ if (!mii_applet_nca) {
+ QMessageBox::warning(this, tr("Mii Edit Applet"),
+ tr("Mii editor is not available. Please reinstall firmware."));
+ return;
+ }
+
+ system->GetAppletManager().SetCurrentAppletId(Service::AM::Applets::AppletId::MiiEdit);
+
+ const auto filename = QString::fromStdString((mii_applet_nca->GetFullPath()));
+ UISettings::values.roms_path = QFileInfo(filename).path();
+ BootGame(filename);
+}
+
void GMainWindow::OnCaptureScreenshot() {
if (emu_thread == nullptr || !emu_thread->IsRunning()) {
return;
@@ -4071,14 +4488,14 @@ void GMainWindow::UpdateGPUAccuracyButton() {
const auto gpu_accuracy = Settings::values.gpu_accuracy.GetValue();
const auto gpu_accuracy_text = Config::gpu_accuracy_texts_map.find(gpu_accuracy)->second;
gpu_accuracy_button->setText(gpu_accuracy_text.toUpper());
- gpu_accuracy_button->setChecked(gpu_accuracy != Settings::GPUAccuracy::Normal);
+ gpu_accuracy_button->setChecked(gpu_accuracy != Settings::GpuAccuracy::Normal);
}
void GMainWindow::UpdateDockedButton() {
- const bool is_docked = Settings::values.use_docked_mode.GetValue();
- dock_status_button->setChecked(is_docked);
+ const auto console_mode = Settings::values.use_docked_mode.GetValue();
+ dock_status_button->setChecked(Settings::IsDockedMode());
dock_status_button->setText(
- Config::use_docked_mode_texts_map.find(is_docked)->second.toUpper());
+ Config::use_docked_mode_texts_map.find(console_mode)->second.toUpper());
}
void GMainWindow::UpdateAPIText() {
@@ -4285,6 +4702,8 @@ void GMainWindow::OnReinitializeKeys(ReinitializeKeyBehavior behavior) {
if (behavior == ReinitializeKeyBehavior::Warning) {
game_list->PopulateAsync(UISettings::values.game_dirs);
}
+
+ UpdateMenuState();
}
bool GMainWindow::CheckSystemArchiveDecryption() {
@@ -4306,28 +4725,63 @@ bool GMainWindow::CheckSystemArchiveDecryption() {
return mii_nca->GetRomFS().get() != nullptr;
}
-std::optional<u64> GMainWindow::SelectRomFSDumpTarget(const FileSys::ContentProvider& installed,
- u64 program_id) {
- const auto dlc_entries =
- installed.ListEntriesFilter(FileSys::TitleType::AOC, FileSys::ContentRecordType::Data);
- std::vector<FileSys::ContentProviderEntry> dlc_match;
- dlc_match.reserve(dlc_entries.size());
- std::copy_if(dlc_entries.begin(), dlc_entries.end(), std::back_inserter(dlc_match),
- [&program_id, &installed](const FileSys::ContentProviderEntry& entry) {
- return FileSys::GetBaseTitleID(entry.title_id) == program_id &&
- installed.GetEntry(entry)->GetStatus() == Loader::ResultStatus::Success;
- });
-
- std::vector<u64> romfs_tids;
- romfs_tids.push_back(program_id);
- for (const auto& entry : dlc_match) {
- romfs_tids.push_back(entry.title_id);
- }
-
- if (romfs_tids.size() > 1) {
- QStringList list{QStringLiteral("Base")};
- for (std::size_t i = 1; i < romfs_tids.size(); ++i) {
- list.push_back(QStringLiteral("DLC %1").arg(romfs_tids[i] & 0x7FF));
+bool GMainWindow::CheckFirmwarePresence() {
+ constexpr u64 MiiEditId = 0x0100000000001009ull;
+
+ auto bis_system = system->GetFileSystemController().GetSystemNANDContents();
+ if (!bis_system) {
+ return false;
+ }
+
+ auto mii_applet_nca = bis_system->GetEntry(MiiEditId, FileSys::ContentRecordType::Program);
+ if (!mii_applet_nca) {
+ return false;
+ }
+
+ return true;
+}
+
+bool GMainWindow::SelectRomFSDumpTarget(const FileSys::ContentProvider& installed, u64 program_id,
+ u64* selected_title_id, u8* selected_content_record_type) {
+ using ContentInfo = std::tuple<u64, FileSys::TitleType, FileSys::ContentRecordType>;
+ boost::container::flat_set<ContentInfo> available_title_ids;
+
+ const auto RetrieveEntries = [&](FileSys::TitleType title_type,
+ FileSys::ContentRecordType record_type) {
+ const auto entries = installed.ListEntriesFilter(title_type, record_type);
+ for (const auto& entry : entries) {
+ if (FileSys::GetBaseTitleID(entry.title_id) == program_id &&
+ installed.GetEntry(entry)->GetStatus() == Loader::ResultStatus::Success) {
+ available_title_ids.insert({entry.title_id, title_type, record_type});
+ }
+ }
+ };
+
+ RetrieveEntries(FileSys::TitleType::Application, FileSys::ContentRecordType::Program);
+ RetrieveEntries(FileSys::TitleType::Application, FileSys::ContentRecordType::HtmlDocument);
+ RetrieveEntries(FileSys::TitleType::Application, FileSys::ContentRecordType::LegalInformation);
+ RetrieveEntries(FileSys::TitleType::AOC, FileSys::ContentRecordType::Data);
+
+ if (available_title_ids.empty()) {
+ return false;
+ }
+
+ size_t title_index = 0;
+
+ if (available_title_ids.size() > 1) {
+ QStringList list;
+ for (auto& [title_id, title_type, record_type] : available_title_ids) {
+ const auto hex_title_id = QString::fromStdString(fmt::format("{:X}", title_id));
+ if (record_type == FileSys::ContentRecordType::Program) {
+ list.push_back(QStringLiteral("Program [%1]").arg(hex_title_id));
+ } else if (record_type == FileSys::ContentRecordType::HtmlDocument) {
+ list.push_back(QStringLiteral("HTML document [%1]").arg(hex_title_id));
+ } else if (record_type == FileSys::ContentRecordType::LegalInformation) {
+ list.push_back(QStringLiteral("Legal information [%1]").arg(hex_title_id));
+ } else {
+ list.push_back(
+ QStringLiteral("DLC %1 [%2]").arg(title_id & 0x7FF).arg(hex_title_id));
+ }
}
bool ok;
@@ -4335,13 +4789,16 @@ std::optional<u64> GMainWindow::SelectRomFSDumpTarget(const FileSys::ContentProv
this, tr("Select RomFS Dump Target"),
tr("Please select which RomFS you would like to dump."), list, 0, false, &ok);
if (!ok) {
- return {};
+ return false;
}
- return romfs_tids[list.indexOf(res)];
+ title_index = list.indexOf(res);
}
- return program_id;
+ const auto& [title_id, title_type, record_type] = *available_title_ids.nth(title_index);
+ *selected_title_id = title_id;
+ *selected_content_record_type = static_cast<u8>(record_type);
+ return true;
}
bool GMainWindow::ConfirmClose() {
@@ -4471,6 +4928,8 @@ void GMainWindow::RequestGameExit() {
auto applet_ae = sm.GetService<Service::AM::AppletAE>("appletAE");
bool has_signalled = false;
+ system->SetExitRequested(true);
+
if (applet_oe != nullptr) {
applet_oe->GetMessageQueue()->RequestExit();
has_signalled = true;
diff --git a/src/yuzu/main.h b/src/yuzu/main.h
index 2cfb96257..2346eb3bd 100644
--- a/src/yuzu/main.h
+++ b/src/yuzu/main.h
@@ -58,6 +58,11 @@ enum class StartGameType {
Global, // Only uses global configuration
};
+enum class AmLaunchType {
+ UserInitiated,
+ ApplicationInitiated,
+};
+
namespace Core {
enum class SystemResultStatus : u32;
class System;
@@ -76,6 +81,10 @@ namespace DiscordRPC {
class DiscordInterface;
}
+namespace PlayTime {
+class PlayTimeManager;
+}
+
namespace FileSys {
class ContentProvider;
class ManualContentProvider;
@@ -97,6 +106,10 @@ namespace Service::NFC {
class NfcDevice;
} // namespace Service::NFC
+namespace Service::NFP {
+enum class CabinetMode : u8;
+} // namespace Service::NFP
+
namespace Ui {
class MainWindow;
}
@@ -239,9 +252,11 @@ private:
void PreventOSSleep();
void AllowOSSleep();
- bool LoadROM(const QString& filename, u64 program_id, std::size_t program_index);
+ bool LoadROM(const QString& filename, u64 program_id, std::size_t program_index,
+ AmLaunchType launch_type);
void BootGame(const QString& filename, u64 program_id = 0, std::size_t program_index = 0,
- StartGameType with_config = StartGameType::Normal);
+ StartGameType with_config = StartGameType::Normal,
+ AmLaunchType launch_type = AmLaunchType::UserInitiated);
void ShutdownGame();
void ShowTelemetryCallout();
@@ -312,7 +327,9 @@ private slots:
void OnGameListRemoveInstalledEntry(u64 program_id, InstalledEntryType type);
void OnGameListRemoveFile(u64 program_id, GameListRemoveTarget target,
const std::string& game_path);
+ void OnGameListRemovePlayTimeData(u64 program_id);
void OnGameListDumpRomFS(u64 program_id, const std::string& game_path, DumpRomFSTarget target);
+ void OnGameListVerifyIntegrity(const std::string& game_path);
void OnGameListCopyTID(u64 program_id);
void OnGameListNavigateToGamedbEntry(u64 program_id,
const CompatibilityList& compatibility_list);
@@ -342,6 +359,7 @@ private slots:
void OnConfigurePerGame();
void OnLoadAmiibo();
void OnOpenYuzuFolder();
+ void OnVerifyInstalledContents();
void OnAbout();
void OnToggleFilterBar();
void OnToggleStatusBar();
@@ -356,6 +374,9 @@ private slots:
void ResetWindowSize720();
void ResetWindowSize900();
void ResetWindowSize1080();
+ void OnAlbum();
+ void OnCabinet(Service::NFP::CabinetMode mode);
+ void OnMiiEdit();
void OnCaptureScreenshot();
void OnReinitializeKeys(ReinitializeKeyBehavior behavior);
void OnLanguageChanged(const QString& locale);
@@ -374,9 +395,11 @@ private:
void RemoveVulkanDriverPipelineCache(u64 program_id);
void RemoveAllTransferableShaderCaches(u64 program_id);
void RemoveCustomConfiguration(u64 program_id, const std::string& game_path);
+ void RemovePlayTimeData(u64 program_id);
void RemoveCacheStorage(u64 program_id);
- std::optional<u64> SelectRomFSDumpTarget(const FileSys::ContentProvider&, u64 program_id);
- InstallResult InstallNSPXCI(const QString& filename);
+ bool SelectRomFSDumpTarget(const FileSys::ContentProvider&, u64 program_id,
+ u64* selected_title_id, u8* selected_content_record_type);
+ InstallResult InstallNSP(const QString& filename);
InstallResult InstallNCA(const QString& filename);
void MigrateConfigFiles();
void UpdateWindowTitle(std::string_view title_name = {}, std::string_view title_version = {},
@@ -399,6 +422,8 @@ private:
void OpenPerGameConfiguration(u64 title_id, const std::string& file_name);
bool CheckDarkMode();
bool CheckSystemArchiveDecryption();
+ bool CheckFirmwarePresence();
+ void ConfigureFilesystemProvider(const std::string& filepath);
QString GetTasStateDescription() const;
bool CreateShortcut(const std::string& shortcut_path, const std::string& title,
@@ -410,6 +435,7 @@ private:
std::unique_ptr<Core::System> system;
std::unique_ptr<DiscordRPC::DiscordInterface> discord_rpc;
+ std::unique_ptr<PlayTime::PlayTimeManager> play_time_manager;
std::shared_ptr<InputCommon::InputSubsystem> input_subsystem;
MultiplayerState* multiplayer_state = nullptr;
diff --git a/src/yuzu/main.ui b/src/yuzu/main.ui
index 013ba0ceb..88684ffb5 100644
--- a/src/yuzu/main.ui
+++ b/src/yuzu/main.ui
@@ -137,6 +137,15 @@
<property name="title">
<string>&amp;Tools</string>
</property>
+ <widget class="QMenu" name="menu_cabinet_applet">
+ <property name="title">
+ <string>&amp;Amiibo</string>
+ </property>
+ <addaction name="action_Load_Cabinet_Nickname_Owner"/>
+ <addaction name="action_Load_Cabinet_Eraser"/>
+ <addaction name="action_Load_Cabinet_Restorer"/>
+ <addaction name="action_Load_Cabinet_Formatter"/>
+ </widget>
<widget class="QMenu" name="menuTAS">
<property name="title">
<string>&amp;TAS</string>
@@ -148,6 +157,11 @@
<addaction name="action_Configure_Tas"/>
</widget>
<addaction name="action_Rederive"/>
+ <addaction name="action_Verify_installed_contents"/>
+ <addaction name="separator"/>
+ <addaction name="menu_cabinet_applet"/>
+ <addaction name="action_Load_Album"/>
+ <addaction name="action_Load_Mii_Edit"/>
<addaction name="separator"/>
<addaction name="action_Capture_Screenshot"/>
<addaction name="menuTAS"/>
@@ -214,6 +228,11 @@
<string>&amp;Reinitialize keys...</string>
</property>
</action>
+ <action name="action_Verify_installed_contents">
+ <property name="text">
+ <string>&amp;Verify Installed Contents</string>
+ </property>
+ </action>
<action name="action_About">
<property name="text">
<string>&amp;About yuzu</string>
@@ -362,6 +381,36 @@
<string>&amp;Capture Screenshot</string>
</property>
</action>
+ <action name="action_Load_Album">
+ <property name="text">
+ <string>Open &amp;Album</string>
+ </property>
+ </action>
+ <action name="action_Load_Cabinet_Nickname_Owner">
+ <property name="text">
+ <string>&amp;Set Nickname and Owner</string>
+ </property>
+ </action>
+ <action name="action_Load_Cabinet_Eraser">
+ <property name="text">
+ <string>&amp;Delete Game Data</string>
+ </property>
+ </action>
+ <action name="action_Load_Cabinet_Restorer">
+ <property name="text">
+ <string>&amp;Restore Amiibo</string>
+ </property>
+ </action>
+ <action name="action_Load_Cabinet_Formatter">
+ <property name="text">
+ <string>&amp;Format Amiibo</string>
+ </property>
+ </action>
+ <action name="action_Load_Mii_Edit">
+ <property name="text">
+ <string>Open &amp;Mii Editor</string>
+ </property>
+ </action>
<action name="action_Configure_Tas">
<property name="text">
<string>&amp;Configure TAS...</string>
diff --git a/src/yuzu/multiplayer/direct_connect.cpp b/src/yuzu/multiplayer/direct_connect.cpp
index d71cc23a7..a415a953f 100644
--- a/src/yuzu/multiplayer/direct_connect.cpp
+++ b/src/yuzu/multiplayer/direct_connect.cpp
@@ -34,13 +34,14 @@ DirectConnectWindow::DirectConnectWindow(Core::System& system_, QWidget* parent)
connect(watcher, &QFutureWatcher<void>::finished, this, &DirectConnectWindow::OnConnection);
ui->nickname->setValidator(validation.GetNickname());
- ui->nickname->setText(UISettings::values.multiplayer_nickname.GetValue());
+ ui->nickname->setText(
+ QString::fromStdString(UISettings::values.multiplayer_nickname.GetValue()));
if (ui->nickname->text().isEmpty() && !Settings::values.yuzu_username.GetValue().empty()) {
// Use yuzu Web Service user name as nickname by default
ui->nickname->setText(QString::fromStdString(Settings::values.yuzu_username.GetValue()));
}
ui->ip->setValidator(validation.GetIP());
- ui->ip->setText(UISettings::values.multiplayer_ip.GetValue());
+ ui->ip->setText(QString::fromStdString(UISettings::values.multiplayer_ip.GetValue()));
ui->port->setValidator(validation.GetPort());
ui->port->setText(QString::number(UISettings::values.multiplayer_port.GetValue()));
@@ -91,8 +92,8 @@ void DirectConnectWindow::Connect() {
}
// Store settings
- UISettings::values.multiplayer_nickname = ui->nickname->text();
- UISettings::values.multiplayer_ip = ui->ip->text();
+ UISettings::values.multiplayer_nickname = ui->nickname->text().toStdString();
+ UISettings::values.multiplayer_ip = ui->ip->text().toStdString();
if (ui->port->isModified() && !ui->port->text().isEmpty()) {
UISettings::values.multiplayer_port = ui->port->text().toInt();
} else {
diff --git a/src/yuzu/multiplayer/host_room.cpp b/src/yuzu/multiplayer/host_room.cpp
index a8faa5b24..ef364ee43 100644
--- a/src/yuzu/multiplayer/host_room.cpp
+++ b/src/yuzu/multiplayer/host_room.cpp
@@ -55,12 +55,14 @@ HostRoomWindow::HostRoomWindow(QWidget* parent, QStandardItemModel* list,
connect(ui->host, &QPushButton::clicked, this, &HostRoomWindow::Host);
// Restore the settings:
- ui->username->setText(UISettings::values.multiplayer_room_nickname.GetValue());
+ ui->username->setText(
+ QString::fromStdString(UISettings::values.multiplayer_room_nickname.GetValue()));
if (ui->username->text().isEmpty() && !Settings::values.yuzu_username.GetValue().empty()) {
// Use yuzu Web Service user name as nickname by default
ui->username->setText(QString::fromStdString(Settings::values.yuzu_username.GetValue()));
}
- ui->room_name->setText(UISettings::values.multiplayer_room_name.GetValue());
+ ui->room_name->setText(
+ QString::fromStdString(UISettings::values.multiplayer_room_name.GetValue()));
ui->port->setText(QString::number(UISettings::values.multiplayer_room_port.GetValue()));
ui->max_player->setValue(UISettings::values.multiplayer_max_player.GetValue());
int index = UISettings::values.multiplayer_host_type.GetValue();
@@ -72,7 +74,8 @@ HostRoomWindow::HostRoomWindow(QWidget* parent, QStandardItemModel* list,
if (index != -1) {
ui->game_list->setCurrentIndex(index);
}
- ui->room_description->setText(UISettings::values.multiplayer_room_description.GetValue());
+ ui->room_description->setText(
+ QString::fromStdString(UISettings::values.multiplayer_room_description.GetValue()));
}
HostRoomWindow::~HostRoomWindow() = default;
@@ -218,8 +221,8 @@ void HostRoomWindow::Host() {
Network::NoPreferredIP, password, token);
// Store settings
- UISettings::values.multiplayer_room_nickname = ui->username->text();
- UISettings::values.multiplayer_room_name = ui->room_name->text();
+ UISettings::values.multiplayer_room_nickname = ui->username->text().toStdString();
+ UISettings::values.multiplayer_room_name = ui->room_name->text().toStdString();
UISettings::values.multiplayer_game_id =
ui->game_list->currentData(GameListItemPath::ProgramIdRole).toLongLong();
UISettings::values.multiplayer_max_player = ui->max_player->value();
@@ -230,7 +233,8 @@ void HostRoomWindow::Host() {
} else {
UISettings::values.multiplayer_room_port = Network::DefaultRoomPort;
}
- UISettings::values.multiplayer_room_description = ui->room_description->toPlainText();
+ UISettings::values.multiplayer_room_description =
+ ui->room_description->toPlainText().toStdString();
ui->host->setEnabled(true);
emit SaveConfig();
close();
diff --git a/src/yuzu/multiplayer/lobby.cpp b/src/yuzu/multiplayer/lobby.cpp
index 387f6f7c9..603e9ae3d 100644
--- a/src/yuzu/multiplayer/lobby.cpp
+++ b/src/yuzu/multiplayer/lobby.cpp
@@ -60,7 +60,8 @@ Lobby::Lobby(QWidget* parent, QStandardItemModel* list,
ui->room_list->setContextMenuPolicy(Qt::CustomContextMenu);
ui->nickname->setValidator(validation.GetNickname());
- ui->nickname->setText(UISettings::values.multiplayer_nickname.GetValue());
+ ui->nickname->setText(
+ QString::fromStdString(UISettings::values.multiplayer_nickname.GetValue()));
// Try find the best nickname by default
if (ui->nickname->text().isEmpty() || ui->nickname->text() == QStringLiteral("yuzu")) {
@@ -202,9 +203,9 @@ void Lobby::OnJoinRoom(const QModelIndex& source) {
// TODO(jroweboy): disable widgets and display a connecting while we wait
// Save settings
- UISettings::values.multiplayer_nickname = ui->nickname->text();
+ UISettings::values.multiplayer_nickname = ui->nickname->text().toStdString();
UISettings::values.multiplayer_ip =
- proxy->data(connection_index, LobbyItemHost::HostIPRole).toString();
+ proxy->data(connection_index, LobbyItemHost::HostIPRole).value<QString>().toStdString();
UISettings::values.multiplayer_port =
proxy->data(connection_index, LobbyItemHost::HostPortRole).toInt();
emit SaveConfig();
diff --git a/src/yuzu/play_time_manager.cpp b/src/yuzu/play_time_manager.cpp
new file mode 100644
index 000000000..155c36b7d
--- /dev/null
+++ b/src/yuzu/play_time_manager.cpp
@@ -0,0 +1,179 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "common/alignment.h"
+#include "common/fs/file.h"
+#include "common/fs/fs.h"
+#include "common/fs/path_util.h"
+#include "common/logging/log.h"
+#include "common/settings.h"
+#include "common/thread.h"
+#include "core/hle/service/acc/profile_manager.h"
+#include "yuzu/play_time_manager.h"
+
+namespace PlayTime {
+
+namespace {
+
+struct PlayTimeElement {
+ ProgramId program_id;
+ PlayTime play_time;
+};
+
+std::optional<std::filesystem::path> GetCurrentUserPlayTimePath() {
+ const Service::Account::ProfileManager manager;
+ const auto uuid = manager.GetUser(static_cast<s32>(Settings::values.current_user));
+ if (!uuid.has_value()) {
+ return std::nullopt;
+ }
+ return Common::FS::GetYuzuPath(Common::FS::YuzuPath::PlayTimeDir) /
+ uuid->RawString().append(".bin");
+}
+
+[[nodiscard]] bool ReadPlayTimeFile(PlayTimeDatabase& out_play_time_db) {
+ const auto filename = GetCurrentUserPlayTimePath();
+
+ if (!filename.has_value()) {
+ LOG_ERROR(Frontend, "Failed to get current user path");
+ return false;
+ }
+
+ out_play_time_db.clear();
+
+ if (Common::FS::Exists(filename.value())) {
+ Common::FS::IOFile file{filename.value(), Common::FS::FileAccessMode::Read,
+ Common::FS::FileType::BinaryFile};
+ if (!file.IsOpen()) {
+ LOG_ERROR(Frontend, "Failed to open play time file: {}",
+ Common::FS::PathToUTF8String(filename.value()));
+ return false;
+ }
+
+ const size_t num_elements = file.GetSize() / sizeof(PlayTimeElement);
+ std::vector<PlayTimeElement> elements(num_elements);
+
+ if (file.ReadSpan<PlayTimeElement>(elements) != num_elements) {
+ return false;
+ }
+
+ for (const auto& [program_id, play_time] : elements) {
+ if (program_id != 0) {
+ out_play_time_db[program_id] = play_time;
+ }
+ }
+ }
+
+ return true;
+}
+
+[[nodiscard]] bool WritePlayTimeFile(const PlayTimeDatabase& play_time_db) {
+ const auto filename = GetCurrentUserPlayTimePath();
+
+ if (!filename.has_value()) {
+ LOG_ERROR(Frontend, "Failed to get current user path");
+ return false;
+ }
+
+ Common::FS::IOFile file{filename.value(), Common::FS::FileAccessMode::Write,
+ Common::FS::FileType::BinaryFile};
+ if (!file.IsOpen()) {
+ LOG_ERROR(Frontend, "Failed to open play time file: {}",
+ Common::FS::PathToUTF8String(filename.value()));
+ return false;
+ }
+
+ std::vector<PlayTimeElement> elements;
+ elements.reserve(play_time_db.size());
+
+ for (auto& [program_id, play_time] : play_time_db) {
+ if (program_id != 0) {
+ elements.push_back(PlayTimeElement{program_id, play_time});
+ }
+ }
+
+ return file.WriteSpan<PlayTimeElement>(elements) == elements.size();
+}
+
+} // namespace
+
+PlayTimeManager::PlayTimeManager() {
+ if (!ReadPlayTimeFile(database)) {
+ LOG_ERROR(Frontend, "Failed to read play time database! Resetting to default.");
+ }
+}
+
+PlayTimeManager::~PlayTimeManager() {
+ Save();
+}
+
+void PlayTimeManager::SetProgramId(u64 program_id) {
+ running_program_id = program_id;
+}
+
+void PlayTimeManager::Start() {
+ play_time_thread = std::jthread([&](std::stop_token stop_token) { AutoTimestamp(stop_token); });
+}
+
+void PlayTimeManager::Stop() {
+ play_time_thread = {};
+}
+
+void PlayTimeManager::AutoTimestamp(std::stop_token stop_token) {
+ Common::SetCurrentThreadName("PlayTimeReport");
+
+ using namespace std::literals::chrono_literals;
+ using std::chrono::seconds;
+ using std::chrono::steady_clock;
+
+ auto timestamp = steady_clock::now();
+
+ const auto GetDuration = [&]() -> u64 {
+ const auto last_timestamp = std::exchange(timestamp, steady_clock::now());
+ const auto duration = std::chrono::duration_cast<seconds>(timestamp - last_timestamp);
+ return static_cast<u64>(duration.count());
+ };
+
+ while (!stop_token.stop_requested()) {
+ Common::StoppableTimedWait(stop_token, 30s);
+
+ database[running_program_id] += GetDuration();
+ Save();
+ }
+}
+
+void PlayTimeManager::Save() {
+ if (!WritePlayTimeFile(database)) {
+ LOG_ERROR(Frontend, "Failed to update play time database!");
+ }
+}
+
+u64 PlayTimeManager::GetPlayTime(u64 program_id) const {
+ auto it = database.find(program_id);
+ if (it != database.end()) {
+ return it->second;
+ } else {
+ return 0;
+ }
+}
+
+void PlayTimeManager::ResetProgramPlayTime(u64 program_id) {
+ database.erase(program_id);
+ Save();
+}
+
+QString ReadablePlayTime(qulonglong time_seconds) {
+ if (time_seconds == 0) {
+ return {};
+ }
+ const auto time_minutes = std::max(static_cast<double>(time_seconds) / 60, 1.0);
+ const auto time_hours = static_cast<double>(time_seconds) / 3600;
+ const bool is_minutes = time_minutes < 60;
+ const char* unit = is_minutes ? "m" : "h";
+ const auto value = is_minutes ? time_minutes : time_hours;
+
+ return QStringLiteral("%L1 %2")
+ .arg(value, 0, 'f', !is_minutes && time_seconds % 60 != 0)
+ .arg(QString::fromUtf8(unit));
+}
+
+} // namespace PlayTime
diff --git a/src/yuzu/play_time_manager.h b/src/yuzu/play_time_manager.h
new file mode 100644
index 000000000..5f96f3447
--- /dev/null
+++ b/src/yuzu/play_time_manager.h
@@ -0,0 +1,44 @@
+// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+#include <QString>
+
+#include <map>
+
+#include "common/common_funcs.h"
+#include "common/common_types.h"
+#include "common/polyfill_thread.h"
+
+namespace PlayTime {
+
+using ProgramId = u64;
+using PlayTime = u64;
+using PlayTimeDatabase = std::map<ProgramId, PlayTime>;
+
+class PlayTimeManager {
+public:
+ explicit PlayTimeManager();
+ ~PlayTimeManager();
+
+ YUZU_NON_COPYABLE(PlayTimeManager);
+ YUZU_NON_MOVEABLE(PlayTimeManager);
+
+ u64 GetPlayTime(u64 program_id) const;
+ void ResetProgramPlayTime(u64 program_id);
+ void SetProgramId(u64 program_id);
+ void Start();
+ void Stop();
+
+private:
+ PlayTimeDatabase database;
+ u64 running_program_id;
+ std::jthread play_time_thread;
+ void AutoTimestamp(std::stop_token stop_token);
+ void Save();
+};
+
+QString ReadablePlayTime(qulonglong time_seconds);
+
+} // namespace PlayTime
diff --git a/src/yuzu/uisettings.cpp b/src/yuzu/uisettings.cpp
index 2c1b547fb..1c833767b 100644
--- a/src/yuzu/uisettings.cpp
+++ b/src/yuzu/uisettings.cpp
@@ -3,6 +3,18 @@
#include "yuzu/uisettings.h"
+#ifndef CANNOT_EXPLICITLY_INSTANTIATE
+namespace Settings {
+template class Setting<bool>;
+template class Setting<std::string>;
+template class Setting<u16, true>;
+template class Setting<u32>;
+template class Setting<u8, true>;
+template class Setting<u8>;
+template class Setting<unsigned long long>;
+} // namespace Settings
+#endif
+
namespace UISettings {
const Themes themes{{
@@ -24,4 +36,20 @@ bool IsDarkTheme() {
Values values = {};
+u32 CalculateWidth(u32 height, Settings::AspectRatio ratio) {
+ switch (ratio) {
+ case Settings::AspectRatio::R4_3:
+ return height * 4 / 3;
+ case Settings::AspectRatio::R21_9:
+ return height * 21 / 9;
+ case Settings::AspectRatio::R16_10:
+ return height * 16 / 10;
+ case Settings::AspectRatio::R16_9:
+ case Settings::AspectRatio::Stretch:
+ // TODO: Move this function wherever appropriate to implement Stretched aspect
+ break;
+ }
+ return height * 16 / 9;
+}
+
} // namespace UISettings
diff --git a/src/yuzu/uisettings.h b/src/yuzu/uisettings.h
index 20a517d34..975008159 100644
--- a/src/yuzu/uisettings.h
+++ b/src/yuzu/uisettings.h
@@ -13,6 +13,22 @@
#include <QVector>
#include "common/common_types.h"
#include "common/settings.h"
+#include "common/settings_enums.h"
+
+using Settings::Category;
+using Settings::Setting;
+
+#ifndef CANNOT_EXPLICITLY_INSTANTIATE
+namespace Settings {
+extern template class Setting<bool>;
+extern template class Setting<std::string>;
+extern template class Setting<u16, true>;
+extern template class Setting<u32>;
+extern template class Setting<u8, true>;
+extern template class Setting<u8>;
+extern template class Setting<unsigned long long>;
+} // namespace Settings
+#endif
namespace UISettings {
@@ -56,6 +72,8 @@ struct GameDir {
};
struct Values {
+ Settings::Linkage linkage{1000};
+
QByteArray geometry;
QByteArray state;
@@ -64,30 +82,56 @@ struct Values {
QByteArray gamelist_header_state;
QByteArray microprofile_geometry;
- Settings::Setting<bool> microprofile_visible{false, "microProfileDialogVisible"};
-
- Settings::Setting<bool> single_window_mode{true, "singleWindowMode"};
- Settings::Setting<bool> fullscreen{false, "fullscreen"};
- Settings::Setting<bool> display_titlebar{true, "displayTitleBars"};
- Settings::Setting<bool> show_filter_bar{true, "showFilterBar"};
- Settings::Setting<bool> show_status_bar{true, "showStatusBar"};
-
- Settings::Setting<bool> confirm_before_closing{true, "confirmClose"};
- Settings::Setting<bool> first_start{true, "firstStart"};
- Settings::Setting<bool> pause_when_in_background{false, "pauseWhenInBackground"};
- Settings::Setting<bool> mute_when_in_background{false, "muteWhenInBackground"};
- Settings::Setting<bool> hide_mouse{true, "hideInactiveMouse"};
- Settings::Setting<bool> controller_applet_disabled{false, "disableControllerApplet"};
-
+ Setting<bool> microprofile_visible{linkage, false, "microProfileDialogVisible",
+ Category::UiLayout};
+
+ Setting<bool> single_window_mode{linkage, true, "singleWindowMode", Category::Ui};
+ Setting<bool> fullscreen{linkage, false, "fullscreen", Category::Ui};
+ Setting<bool> display_titlebar{linkage, true, "displayTitleBars", Category::Ui};
+ Setting<bool> show_filter_bar{linkage, true, "showFilterBar", Category::Ui};
+ Setting<bool> show_status_bar{linkage, true, "showStatusBar", Category::Ui};
+
+ Setting<bool> confirm_before_closing{
+ linkage, true, "confirmClose", Category::UiGeneral, Settings::Specialization::Default,
+ true, true};
+ Setting<bool> first_start{linkage, true, "firstStart", Category::Ui};
+ Setting<bool> pause_when_in_background{linkage,
+ false,
+ "pauseWhenInBackground",
+ Category::UiGeneral,
+ Settings::Specialization::Default,
+ true,
+ true};
+ Setting<bool> mute_when_in_background{
+ linkage, false, "muteWhenInBackground", Category::Audio, Settings::Specialization::Default,
+ true, true};
+ Setting<bool> hide_mouse{
+ linkage, true, "hideInactiveMouse", Category::UiGeneral, Settings::Specialization::Default,
+ true, true};
+ Setting<bool> controller_applet_disabled{linkage, false, "disableControllerApplet",
+ Category::UiGeneral};
// Set when Vulkan is known to crash the application
bool has_broken_vulkan = false;
- Settings::Setting<bool> select_user_on_boot{false, "select_user_on_boot"};
+ Setting<bool> select_user_on_boot{linkage,
+ false,
+ "select_user_on_boot",
+ Category::UiGeneral,
+ Settings::Specialization::Default,
+ true,
+ true};
+ Setting<bool> disable_web_applet{linkage, true, "disable_web_applet", Category::Ui};
// Discord RPC
- Settings::Setting<bool> enable_discord_presence{true, "enable_discord_presence"};
+ Setting<bool> enable_discord_presence{linkage, true, "enable_discord_presence", Category::Ui};
+
+ // logging
+ Setting<bool> show_console{linkage, false, "showConsole", Category::Ui};
- Settings::Setting<bool> enable_screenshot_save_as{true, "enable_screenshot_save_as"};
+ // Screenshots
+ Setting<bool> enable_screenshot_save_as{linkage, true, "enable_screenshot_save_as",
+ Category::Screenshots};
+ Setting<u32> screenshot_height{linkage, 0, "screenshot_height", Category::Screenshots};
QString roms_path;
QString symbols_path;
@@ -102,51 +146,55 @@ struct Values {
// Shortcut name <Shortcut, context>
std::vector<Shortcut> shortcuts;
- Settings::Setting<uint32_t> callout_flags{0, "calloutFlags"};
+ Setting<u32> callout_flags{linkage, 0, "calloutFlags", Category::Ui};
// multiplayer settings
- Settings::Setting<QString> multiplayer_nickname{{}, "nickname"};
- Settings::Setting<QString> multiplayer_ip{{}, "ip"};
- Settings::SwitchableSetting<uint, true> multiplayer_port{24872, 0, UINT16_MAX, "port"};
- Settings::Setting<QString> multiplayer_room_nickname{{}, "room_nickname"};
- Settings::Setting<QString> multiplayer_room_name{{}, "room_name"};
- Settings::SwitchableSetting<uint, true> multiplayer_max_player{8, 0, 8, "max_player"};
- Settings::SwitchableSetting<uint, true> multiplayer_room_port{24872, 0, UINT16_MAX,
- "room_port"};
- Settings::SwitchableSetting<uint, true> multiplayer_host_type{0, 0, 1, "host_type"};
- Settings::Setting<qulonglong> multiplayer_game_id{{}, "game_id"};
- Settings::Setting<QString> multiplayer_room_description{{}, "room_description"};
+ Setting<std::string> multiplayer_nickname{linkage, {}, "nickname", Category::Multiplayer};
+ Setting<std::string> multiplayer_ip{linkage, {}, "ip", Category::Multiplayer};
+ Setting<u16, true> multiplayer_port{linkage, 24872, 0,
+ UINT16_MAX, "port", Category::Multiplayer};
+ Setting<std::string> multiplayer_room_nickname{
+ linkage, {}, "room_nickname", Category::Multiplayer};
+ Setting<std::string> multiplayer_room_name{linkage, {}, "room_name", Category::Multiplayer};
+ Setting<u8, true> multiplayer_max_player{linkage, 8, 0, 8, "max_player", Category::Multiplayer};
+ Setting<u16, true> multiplayer_room_port{linkage, 24872, 0,
+ UINT16_MAX, "room_port", Category::Multiplayer};
+ Setting<u8, true> multiplayer_host_type{linkage, 0, 0, 1, "host_type", Category::Multiplayer};
+ Setting<unsigned long long> multiplayer_game_id{linkage, {}, "game_id", Category::Multiplayer};
+ Setting<std::string> multiplayer_room_description{
+ linkage, {}, "room_description", Category::Multiplayer};
std::pair<std::vector<std::string>, std::vector<std::string>> multiplayer_ban_list;
- // logging
- Settings::Setting<bool> show_console{false, "showConsole"};
-
// Game List
- Settings::Setting<bool> show_add_ons{true, "show_add_ons"};
- Settings::Setting<uint32_t> game_icon_size{64, "game_icon_size"};
- Settings::Setting<uint32_t> folder_icon_size{48, "folder_icon_size"};
- Settings::Setting<uint8_t> row_1_text_id{3, "row_1_text_id"};
- Settings::Setting<uint8_t> row_2_text_id{2, "row_2_text_id"};
+ Setting<bool> show_add_ons{linkage, true, "show_add_ons", Category::UiGameList};
+ Setting<u32> game_icon_size{linkage, 64, "game_icon_size", Category::UiGameList};
+ Setting<u32> folder_icon_size{linkage, 48, "folder_icon_size", Category::UiGameList};
+ Setting<u8> row_1_text_id{linkage, 3, "row_1_text_id", Category::UiGameList};
+ Setting<u8> row_2_text_id{linkage, 2, "row_2_text_id", Category::UiGameList};
std::atomic_bool is_game_list_reload_pending{false};
- Settings::Setting<bool> cache_game_list{true, "cache_game_list"};
- Settings::Setting<bool> favorites_expanded{true, "favorites_expanded"};
+ Setting<bool> cache_game_list{linkage, true, "cache_game_list", Category::UiGameList};
+ Setting<bool> favorites_expanded{linkage, true, "favorites_expanded", Category::UiGameList};
QVector<u64> favorited_ids;
// Compatibility List
- Settings::Setting<bool> show_compat{false, "show_compat"};
+ Setting<bool> show_compat{linkage, false, "show_compat", Category::UiGameList};
// Size & File Types Column
- Settings::Setting<bool> show_size{true, "show_size"};
- Settings::Setting<bool> show_types{true, "show_types"};
+ Setting<bool> show_size{linkage, true, "show_size", Category::UiGameList};
+ Setting<bool> show_types{linkage, true, "show_types", Category::UiGameList};
+
+ // Play time
+ Setting<bool> show_play_time{linkage, true, "show_play_time", Category::UiGameList};
bool configuration_applied;
bool reset_to_defaults;
bool shortcut_already_warned{false};
- Settings::Setting<bool> disable_web_applet{true, "disable_web_applet"};
};
extern Values values;
+u32 CalculateWidth(u32 height, Settings::AspectRatio ratio);
+
} // namespace UISettings
Q_DECLARE_METATYPE(UISettings::GameDir*);
diff --git a/src/yuzu/util/util.cpp b/src/yuzu/util/util.cpp
index 5c3e4589e..61cf00176 100644
--- a/src/yuzu/util/util.cpp
+++ b/src/yuzu/util/util.cpp
@@ -5,6 +5,10 @@
#include <cmath>
#include <QPainter>
#include "yuzu/util/util.h"
+#ifdef _WIN32
+#include <windows.h>
+#include "common/fs/file.h"
+#endif
QFont GetMonospaceFont() {
QFont font(QStringLiteral("monospace"));
@@ -37,3 +41,76 @@ QPixmap CreateCirclePixmapFromColor(const QColor& color) {
painter.drawEllipse({circle_pixmap.width() / 2.0, circle_pixmap.height() / 2.0}, 7.0, 7.0);
return circle_pixmap;
}
+
+bool SaveIconToFile(const std::string_view path, const QImage& image) {
+#if defined(WIN32)
+#pragma pack(push, 2)
+ struct IconDir {
+ WORD id_reserved;
+ WORD id_type;
+ WORD id_count;
+ };
+
+ struct IconDirEntry {
+ BYTE width;
+ BYTE height;
+ BYTE color_count;
+ BYTE reserved;
+ WORD planes;
+ WORD bit_count;
+ DWORD bytes_in_res;
+ DWORD image_offset;
+ };
+#pragma pack(pop)
+
+ QImage source_image = image.convertToFormat(QImage::Format_RGB32);
+ constexpr int bytes_per_pixel = 4;
+ const int image_size = source_image.width() * source_image.height() * bytes_per_pixel;
+
+ BITMAPINFOHEADER info_header{};
+ info_header.biSize = sizeof(BITMAPINFOHEADER), info_header.biWidth = source_image.width(),
+ info_header.biHeight = source_image.height() * 2, info_header.biPlanes = 1,
+ info_header.biBitCount = bytes_per_pixel * 8, info_header.biCompression = BI_RGB;
+
+ const IconDir icon_dir{.id_reserved = 0, .id_type = 1, .id_count = 1};
+ const IconDirEntry icon_entry{.width = static_cast<BYTE>(source_image.width()),
+ .height = static_cast<BYTE>(source_image.height() * 2),
+ .color_count = 0,
+ .reserved = 0,
+ .planes = 1,
+ .bit_count = bytes_per_pixel * 8,
+ .bytes_in_res =
+ static_cast<DWORD>(sizeof(BITMAPINFOHEADER) + image_size),
+ .image_offset = sizeof(IconDir) + sizeof(IconDirEntry)};
+
+ Common::FS::IOFile icon_file(path, Common::FS::FileAccessMode::Write,
+ Common::FS::FileType::BinaryFile);
+ if (!icon_file.IsOpen()) {
+ return false;
+ }
+
+ if (!icon_file.Write(icon_dir)) {
+ return false;
+ }
+ if (!icon_file.Write(icon_entry)) {
+ return false;
+ }
+ if (!icon_file.Write(info_header)) {
+ return false;
+ }
+
+ for (int y = 0; y < image.height(); y++) {
+ const auto* line = source_image.scanLine(source_image.height() - 1 - y);
+ std::vector<u8> line_data(source_image.width() * bytes_per_pixel);
+ std::memcpy(line_data.data(), line, line_data.size());
+ if (!icon_file.Write(line_data)) {
+ return false;
+ }
+ }
+ icon_file.Close();
+
+ return true;
+#else
+ return false;
+#endif
+}
diff --git a/src/yuzu/util/util.h b/src/yuzu/util/util.h
index 39dd2d895..09c14ce3f 100644
--- a/src/yuzu/util/util.h
+++ b/src/yuzu/util/util.h
@@ -7,14 +7,22 @@
#include <QString>
/// Returns a QFont object appropriate to use as a monospace font for debugging widgets, etc.
-QFont GetMonospaceFont();
+[[nodiscard]] QFont GetMonospaceFont();
/// Convert a size in bytes into a readable format (KiB, MiB, etc.)
-QString ReadableByteSize(qulonglong size);
+[[nodiscard]] QString ReadableByteSize(qulonglong size);
/**
* Creates a circle pixmap from a specified color
* @param color The color the pixmap shall have
* @return QPixmap circle pixmap
*/
-QPixmap CreateCirclePixmapFromColor(const QColor& color);
+[[nodiscard]] QPixmap CreateCirclePixmapFromColor(const QColor& color);
+
+/**
+ * Saves a windows icon to a file
+ * @param path The icons path
+ * @param image The image to save
+ * @return bool If the operation succeeded
+ */
+[[nodiscard]] bool SaveIconToFile(const std::string_view path, const QImage& image);
diff --git a/src/yuzu/vk_device_info.cpp b/src/yuzu/vk_device_info.cpp
index e1a0e6a2a..92f10d315 100644
--- a/src/yuzu/vk_device_info.cpp
+++ b/src/yuzu/vk_device_info.cpp
@@ -3,6 +3,9 @@
#include <utility>
#include <vector>
+
+#include "yuzu/qt_common.h"
+
#include "common/dynamic_library.h"
#include "common/logging/log.h"
#include "video_core/vulkan_common/vulkan_device.h"
@@ -11,7 +14,6 @@
#include "video_core/vulkan_common/vulkan_surface.h"
#include "video_core/vulkan_common/vulkan_wrapper.h"
#include "vulkan/vulkan_core.h"
-#include "yuzu/qt_common.h"
#include "yuzu/vk_device_info.h"
class QWindow;
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp
index c5bc472ca..0d25ff400 100644
--- a/src/yuzu_cmd/config.cpp
+++ b/src/yuzu_cmd/config.cpp
@@ -98,8 +98,26 @@ void Config::ReadSetting(const std::string& group, Settings::Setting<Type, range
static_cast<long>(setting.GetDefault())));
}
+void Config::ReadCategory(Settings::Category category) {
+ for (const auto setting : Settings::values.linkage.by_category[category]) {
+ const char* category_name = [&]() {
+ if (category == Settings::Category::Controls) {
+ // For compatibility with older configs
+ return "ControlsGeneral";
+ } else {
+ return Settings::TranslateCategory(category);
+ }
+ }();
+ std::string setting_value =
+ sdl2_config->Get(category_name, setting->GetLabel(), setting->DefaultToString());
+ setting->LoadString(setting_value);
+ }
+}
+
void Config::ReadValues() {
// Controls
+ ReadCategory(Settings::Category::Controls);
+
for (std::size_t p = 0; p < Settings::values.players.GetValue().size(); ++p) {
auto& player = Settings::values.players.GetValue()[p];
@@ -139,13 +157,6 @@ void Config::ReadValues() {
player.connected = sdl2_config->GetBoolean(group, "connected", false);
}
- ReadSetting("ControlsGeneral", Settings::values.mouse_enabled);
-
- ReadSetting("ControlsGeneral", Settings::values.touch_device);
-
- ReadSetting("ControlsGeneral", Settings::values.keyboard_enabled);
-
- ReadSetting("ControlsGeneral", Settings::values.debug_pad_enabled);
for (int i = 0; i < Settings::NativeButton::NumButtons; ++i) {
std::string default_param = InputCommon::GenerateKeyboardParam(default_buttons[i]);
Settings::values.debug_pad_buttons[i] = sdl2_config->Get(
@@ -166,14 +177,6 @@ void Config::ReadValues() {
Settings::values.debug_pad_analogs[i] = default_param;
}
- ReadSetting("ControlsGeneral", Settings::values.enable_raw_input);
- ReadSetting("ControlsGeneral", Settings::values.enable_joycon_driver);
- ReadSetting("ControlsGeneral", Settings::values.enable_procon_driver);
- ReadSetting("ControlsGeneral", Settings::values.random_amiibo_id);
- ReadSetting("ControlsGeneral", Settings::values.emulate_analog_keyboard);
- ReadSetting("ControlsGeneral", Settings::values.vibration_enabled);
- ReadSetting("ControlsGeneral", Settings::values.enable_accurate_vibrations);
- ReadSetting("ControlsGeneral", Settings::values.motion_enabled);
Settings::values.touchscreen.enabled =
sdl2_config->GetBoolean("ControlsGeneral", "touch_enabled", true);
Settings::values.touchscreen.rotation_angle =
@@ -217,10 +220,24 @@ void Config::ReadValues() {
Settings::values.touch_from_button_map_index = std::clamp(
Settings::values.touch_from_button_map_index.GetValue(), 0, num_touch_from_button_maps - 1);
- ReadSetting("ControlsGeneral", Settings::values.udp_input_servers);
+ ReadCategory(Settings::Category::Audio);
+ ReadCategory(Settings::Category::Core);
+ ReadCategory(Settings::Category::Cpu);
+ ReadCategory(Settings::Category::CpuDebug);
+ ReadCategory(Settings::Category::CpuUnsafe);
+ ReadCategory(Settings::Category::Renderer);
+ ReadCategory(Settings::Category::RendererAdvanced);
+ ReadCategory(Settings::Category::RendererDebug);
+ ReadCategory(Settings::Category::System);
+ ReadCategory(Settings::Category::SystemAudio);
+ ReadCategory(Settings::Category::DataStorage);
+ ReadCategory(Settings::Category::Debugging);
+ ReadCategory(Settings::Category::DebuggingGraphics);
+ ReadCategory(Settings::Category::Miscellaneous);
+ ReadCategory(Settings::Category::Network);
+ ReadCategory(Settings::Category::WebService);
// Data Storage
- ReadSetting("Data Storage", Settings::values.use_virtual_sd);
FS::SetYuzuPath(FS::YuzuPath::NANDDir,
sdl2_config->Get("Data Storage", "nand_directory",
FS::GetYuzuPathString(FS::YuzuPath::NANDDir)));
@@ -233,130 +250,16 @@ void Config::ReadValues() {
FS::SetYuzuPath(FS::YuzuPath::DumpDir,
sdl2_config->Get("Data Storage", "dump_directory",
FS::GetYuzuPathString(FS::YuzuPath::DumpDir)));
- ReadSetting("Data Storage", Settings::values.gamecard_inserted);
- ReadSetting("Data Storage", Settings::values.gamecard_current_game);
- ReadSetting("Data Storage", Settings::values.gamecard_path);
-
- // System
- ReadSetting("System", Settings::values.use_docked_mode);
-
- ReadSetting("System", Settings::values.current_user);
- Settings::values.current_user = std::clamp<int>(Settings::values.current_user.GetValue(), 0,
- Service::Account::MAX_USERS - 1);
-
- const auto rng_seed_enabled = sdl2_config->GetBoolean("System", "rng_seed_enabled", false);
- if (rng_seed_enabled) {
- Settings::values.rng_seed.SetValue(sdl2_config->GetInteger("System", "rng_seed", 0));
- } else {
- Settings::values.rng_seed.SetValue(std::nullopt);
- }
-
- const auto custom_rtc_enabled = sdl2_config->GetBoolean("System", "custom_rtc_enabled", false);
- if (custom_rtc_enabled) {
- Settings::values.custom_rtc = sdl2_config->GetInteger("System", "custom_rtc", 0);
- } else {
- Settings::values.custom_rtc = std::nullopt;
- }
-
- ReadSetting("System", Settings::values.language_index);
- ReadSetting("System", Settings::values.region_index);
- ReadSetting("System", Settings::values.time_zone_index);
- ReadSetting("System", Settings::values.sound_index);
-
- // Core
- ReadSetting("Core", Settings::values.use_multi_core);
- ReadSetting("Core", Settings::values.use_unsafe_extended_memory_layout);
-
- // Cpu
- ReadSetting("Cpu", Settings::values.cpu_accuracy);
- ReadSetting("Cpu", Settings::values.cpu_debug_mode);
- ReadSetting("Cpu", Settings::values.cpuopt_page_tables);
- ReadSetting("Cpu", Settings::values.cpuopt_block_linking);
- ReadSetting("Cpu", Settings::values.cpuopt_return_stack_buffer);
- ReadSetting("Cpu", Settings::values.cpuopt_fast_dispatcher);
- ReadSetting("Cpu", Settings::values.cpuopt_context_elimination);
- ReadSetting("Cpu", Settings::values.cpuopt_const_prop);
- ReadSetting("Cpu", Settings::values.cpuopt_misc_ir);
- ReadSetting("Cpu", Settings::values.cpuopt_reduce_misalign_checks);
- ReadSetting("Cpu", Settings::values.cpuopt_fastmem);
- ReadSetting("Cpu", Settings::values.cpuopt_fastmem_exclusives);
- ReadSetting("Cpu", Settings::values.cpuopt_recompile_exclusives);
- ReadSetting("Cpu", Settings::values.cpuopt_ignore_memory_aborts);
- ReadSetting("Cpu", Settings::values.cpuopt_unsafe_unfuse_fma);
- ReadSetting("Cpu", Settings::values.cpuopt_unsafe_reduce_fp_error);
- ReadSetting("Cpu", Settings::values.cpuopt_unsafe_ignore_standard_fpcr);
- ReadSetting("Cpu", Settings::values.cpuopt_unsafe_inaccurate_nan);
- ReadSetting("Cpu", Settings::values.cpuopt_unsafe_fastmem_check);
- ReadSetting("Cpu", Settings::values.cpuopt_unsafe_ignore_global_monitor);
-
- // Renderer
- ReadSetting("Renderer", Settings::values.renderer_backend);
- ReadSetting("Renderer", Settings::values.async_presentation);
- ReadSetting("Renderer", Settings::values.renderer_force_max_clock);
- ReadSetting("Renderer", Settings::values.renderer_debug);
- ReadSetting("Renderer", Settings::values.renderer_shader_feedback);
- ReadSetting("Renderer", Settings::values.enable_nsight_aftermath);
- ReadSetting("Renderer", Settings::values.disable_shader_loop_safety_checks);
- ReadSetting("Renderer", Settings::values.vulkan_device);
-
- ReadSetting("Renderer", Settings::values.resolution_setup);
- ReadSetting("Renderer", Settings::values.scaling_filter);
- ReadSetting("Renderer", Settings::values.fsr_sharpening_slider);
- ReadSetting("Renderer", Settings::values.anti_aliasing);
- ReadSetting("Renderer", Settings::values.fullscreen_mode);
- ReadSetting("Renderer", Settings::values.aspect_ratio);
- ReadSetting("Renderer", Settings::values.max_anisotropy);
- ReadSetting("Renderer", Settings::values.use_speed_limit);
- ReadSetting("Renderer", Settings::values.speed_limit);
- ReadSetting("Renderer", Settings::values.use_disk_shader_cache);
- ReadSetting("Renderer", Settings::values.gpu_accuracy);
- ReadSetting("Renderer", Settings::values.use_asynchronous_gpu_emulation);
- ReadSetting("Renderer", Settings::values.vsync_mode);
- ReadSetting("Renderer", Settings::values.shader_backend);
- ReadSetting("Renderer", Settings::values.use_reactive_flushing);
- ReadSetting("Renderer", Settings::values.use_asynchronous_shaders);
- ReadSetting("Renderer", Settings::values.nvdec_emulation);
- ReadSetting("Renderer", Settings::values.accelerate_astc);
- ReadSetting("Renderer", Settings::values.async_astc);
- ReadSetting("Renderer", Settings::values.astc_recompression);
- ReadSetting("Renderer", Settings::values.use_fast_gpu_time);
- ReadSetting("Renderer", Settings::values.use_vulkan_driver_pipeline_cache);
-
- ReadSetting("Renderer", Settings::values.bg_red);
- ReadSetting("Renderer", Settings::values.bg_green);
- ReadSetting("Renderer", Settings::values.bg_blue);
-
- // Audio
- ReadSetting("Audio", Settings::values.sink_id);
- ReadSetting("Audio", Settings::values.audio_output_device_id);
- ReadSetting("Audio", Settings::values.volume);
-
- // Miscellaneous
- // log_filter has a different default here than from common
- Settings::values.log_filter =
- sdl2_config->Get("Miscellaneous", Settings::values.log_filter.GetLabel(), "*:Trace");
- ReadSetting("Miscellaneous", Settings::values.use_dev_keys);
// Debugging
Settings::values.record_frame_times =
sdl2_config->GetBoolean("Debugging", "record_frame_times", false);
- ReadSetting("Debugging", Settings::values.dump_exefs);
- ReadSetting("Debugging", Settings::values.dump_nso);
- ReadSetting("Debugging", Settings::values.enable_fs_access_log);
- ReadSetting("Debugging", Settings::values.reporting_services);
- ReadSetting("Debugging", Settings::values.quest_flag);
- ReadSetting("Debugging", Settings::values.use_debug_asserts);
- ReadSetting("Debugging", Settings::values.use_auto_stub);
- ReadSetting("Debugging", Settings::values.disable_macro_jit);
- ReadSetting("Debugging", Settings::values.disable_macro_hle);
- ReadSetting("Debugging", Settings::values.use_gdbstub);
- ReadSetting("Debugging", Settings::values.gdbstub_port);
const auto title_list = sdl2_config->Get("AddOns", "title_ids", "");
std::stringstream ss(title_list);
std::string line;
while (std::getline(ss, line, '|')) {
- const auto title_id = std::stoul(line, nullptr, 16);
+ const auto title_id = std::strtoul(line.c_str(), nullptr, 16);
const auto disabled_list = sdl2_config->Get("AddOns", "disabled_" + line, "");
std::stringstream inner_ss(disabled_list);
@@ -368,15 +271,6 @@ void Config::ReadValues() {
Settings::values.disabled_addons.insert_or_assign(title_id, out);
}
-
- // Web Service
- ReadSetting("WebService", Settings::values.enable_telemetry);
- ReadSetting("WebService", Settings::values.web_api_url);
- ReadSetting("WebService", Settings::values.yuzu_username);
- ReadSetting("WebService", Settings::values.yuzu_token);
-
- // Network
- ReadSetting("Network", Settings::values.network_interface);
}
void Config::Reload() {
diff --git a/src/yuzu_cmd/config.h b/src/yuzu_cmd/config.h
index 021438b17..512591a39 100644
--- a/src/yuzu_cmd/config.h
+++ b/src/yuzu_cmd/config.h
@@ -34,4 +34,5 @@ private:
*/
template <typename Type, bool ranged>
void ReadSetting(const std::string& group, Settings::Setting<Type, ranged>& setting);
+ void ReadCategory(Settings::Category category);
};
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index d0433ffc6..087cfaa26 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -264,8 +264,9 @@ int main(int argc, char** argv) {
nickname = match[1];
password = match[2];
address = match[3];
- if (!match[4].str().empty())
- port = std::stoi(match[4]);
+ if (!match[4].str().empty()) {
+ port = static_cast<u16>(std::strtoul(match[4].str().c_str(), nullptr, 0));
+ }
std::regex nickname_re("^[a-zA-Z0-9._\\- ]+$");
if (!std::regex_match(nickname, nickname_re)) {
std::cout
@@ -358,6 +359,7 @@ int main(int argc, char** argv) {
system.SetContentProvider(std::make_unique<FileSys::ContentProviderUnion>());
system.SetFilesystem(std::make_shared<FileSys::RealVfsFilesystem>());
system.GetFileSystemController().CreateFactories(*system.GetFilesystem());
+ system.GetUserChannel().clear();
const Core::SystemResultStatus load_result{system.Load(*emu_window, filepath)};
diff --git a/vcpkg.json b/vcpkg.json
index 7d9e631a1..203fc9708 100644
--- a/vcpkg.json
+++ b/vcpkg.json
@@ -12,6 +12,7 @@
"boost-context",
"boost-crc",
"boost-functional",
+ "boost-heap",
"boost-icl",
"boost-intrusive",
"boost-mpl",