From 13b8f559a621f1bfe03f252646ba431268665524 Mon Sep 17 00:00:00 2001 From: crueter Date: Tue, 19 Aug 2025 15:40:19 -0400 Subject: [PATCH] [frontend] make sync memops setting runtime modifiable, fix strings Signed-off-by: crueter --- src/android/app/src/main/res/values/strings.xml | 2 +- src/common/settings.h | 2 +- src/yuzu/configuration/shared_translation.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/android/app/src/main/res/values/strings.xml b/src/android/app/src/main/res/values/strings.xml index 417aa5a8ee..88474faf3c 100644 --- a/src/android/app/src/main/res/values/strings.xml +++ b/src/android/app/src/main/res/values/strings.xml @@ -93,7 +93,7 @@ Release Fences Early 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. Sync Memory Operations - 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. + 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. Disable Buffer Reorder When checked, disables reordering of mapped memory uploads which allows to associate uploads with specific draws. May reduce performance in some cases. diff --git a/src/common/settings.h b/src/common/settings.h index dc815aa24e..288a41b369 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -466,7 +466,7 @@ struct Values { true, true}; #endif - SwitchableSetting sync_memory_operations{linkage, false, "sync_memory_operations", Category::RendererAdvanced}; + SwitchableSetting sync_memory_operations{linkage, false, "sync_memory_operations", Category::RendererAdvanced, true, true}; SwitchableSetting async_presentation{linkage, #ifdef ANDROID true, diff --git a/src/yuzu/configuration/shared_translation.cpp b/src/yuzu/configuration/shared_translation.cpp index 2cdf8a4e85..fd541d4fd7 100644 --- a/src/yuzu/configuration/shared_translation.cpp +++ b/src/yuzu/configuration/shared_translation.cpp @@ -270,7 +270,7 @@ std::unique_ptr 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)"),