Browse Source

[frontend] make sync memops setting runtime modifiable, fix strings

Signed-off-by: crueter <crueter@eden-emu.dev>
pull/276/head
crueter 7 months ago
parent
commit
13b8f559a6
No known key found for this signature in database GPG Key ID: 425ACD2D4830EBC6
  1. 2
      src/android/app/src/main/res/values/strings.xml
  2. 2
      src/common/settings.h
  3. 2
      src/yuzu/configuration/shared_translation.cpp

2
src/android/app/src/main/res/values/strings.xml

@ -93,7 +93,7 @@
<string name="renderer_early_release_fences">Release Fences Early</string>
<string name="renderer_early_release_fences_description">Helps fix 0 FPS in games like DKCR:HD, Subnautica Below Zero and Ori 2, but may break loading or performance in Unreal Engine games.</string>
<string name="sync_memory_operations">Sync Memory Operations</string>
<string name="sync_memory_operations_description">Ensures data consistency between compute and memory operations. This option should fix issues in some games, but may also reduce performance in some cases. The games with Unreal Engine 4 seem to be the most affected.</string>
<string name="sync_memory_operations_description">Ensures data consistency between compute and memory operations. This option should fix issues in some games, but may also reduce performance in some cases. Unreal Engine 4 games often see the most significant changes thereof.</string>
<string name="buffer_reorder_disable">Disable Buffer Reorder</string>
<string name="buffer_reorder_disable_description">When checked, disables reordering of mapped memory uploads which allows to associate uploads with specific draws. May reduce performance in some cases.</string>

2
src/common/settings.h

@ -466,7 +466,7 @@ struct Values {
true,
true};
#endif
SwitchableSetting<bool> sync_memory_operations{linkage, false, "sync_memory_operations", Category::RendererAdvanced};
SwitchableSetting<bool> sync_memory_operations{linkage, false, "sync_memory_operations", Category::RendererAdvanced, true, true};
SwitchableSetting<bool> async_presentation{linkage,
#ifdef ANDROID
true,

2
src/yuzu/configuration/shared_translation.cpp

@ -270,7 +270,7 @@ std::unique_ptr<TranslationMap> InitializeTranslations(QWidget* parent)
// Renderer (Advanced Graphics)
INSERT(Settings, sync_memory_operations, tr("Sync Memory Operations"),
tr("Ensures data consistency between compute and memory operations.\nThis option should fix issues in some games, but may also reduce performance in some cases.\nThe games with Unreal Engine 4 seem to be the most affected."));
tr("Ensures data consistency between compute and memory operations.\nThis option should fix issues in some games, but may also reduce performance in some cases.\nUnreal Engine 4 games often see the most significant changes thereof."));
INSERT(Settings,
async_presentation,
tr("Enable asynchronous presentation (Vulkan only)"),

Loading…
Cancel
Save