From 04b6c690837f8afa69ec0e3afcea653229b012f1 Mon Sep 17 00:00:00 2001 From: David Griswold Date: Wed, 5 Nov 2025 15:30:04 +0300 Subject: [PATCH] Default VSync to false on Android Co-authored-by: OpenSauce04 --- .../citra_emu/features/settings/model/BooleanSetting.kt | 2 +- src/android/app/src/main/jni/default_ini.h | 6 +++--- src/android/app/src/main/res/values/strings.xml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/model/BooleanSetting.kt b/src/android/app/src/main/java/org/citra/citra_emu/features/settings/model/BooleanSetting.kt index 11f55d184..ff3bbdf21 100644 --- a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/model/BooleanSetting.kt +++ b/src/android/app/src/main/java/org/citra/citra_emu/features/settings/model/BooleanSetting.kt @@ -44,7 +44,7 @@ enum class BooleanSetting( CPU_JIT("use_cpu_jit", Settings.SECTION_CORE, true), HW_SHADER("use_hw_shader", Settings.SECTION_RENDERER, true), SHADER_JIT("use_shader_jit", Settings.SECTION_RENDERER, true), - VSYNC("use_vsync_new", Settings.SECTION_RENDERER, true), + VSYNC("use_vsync_new", Settings.SECTION_RENDERER, false), USE_FRAME_LIMIT("use_frame_limit", Settings.SECTION_RENDERER, true), DEBUG_RENDERER("renderer_debug", Settings.SECTION_DEBUG, false), DISABLE_RIGHT_EYE_RENDER("disable_right_eye_render", Settings.SECTION_RENDERER, false), diff --git a/src/android/app/src/main/jni/default_ini.h b/src/android/app/src/main/jni/default_ini.h index 5bedfa319..35fee46b7 100644 --- a/src/android/app/src/main/jni/default_ini.h +++ b/src/android/app/src/main/jni/default_ini.h @@ -134,9 +134,9 @@ use_shader_jit = # 0 (default): Game Controlled, 1: Nearest Neighbor, 2: Linear texture_sampling = -# Forces VSync on the display thread. Usually doesn't impact performance, but on some drivers it can -# so only turn this off if you notice a speed difference. -# 0: Off, 1 (default): On +# Forces VSync on the display thread. Can cause input delay, so only turn this on +# if you have screen tearing, which is unusual on Android +# 0 (default): Off, 1: On use_vsync_new = # Reduce stuttering by storing and loading generated shaders to disk diff --git a/src/android/app/src/main/res/values/strings.xml b/src/android/app/src/main/res/values/strings.xml index 078113f12..f60fdd0e3 100644 --- a/src/android/app/src/main/res/values/strings.xml +++ b/src/android/app/src/main/res/values/strings.xml @@ -320,7 +320,7 @@ Uses hardware to emulate 3DS shaders. When enabled, game performance will be significantly improved. CPU Clock Speed Enable V-Sync - Synchronizes the game frame rate to the refresh rate of your device. + Synchronizes the game frame rate to the refresh rate of your device. Can cause additional input latency but may reduce tearing in some cases. Debug Renderer Log additional graphics related debug information. When enabled, game performance will be significantly reduced. Flush Log Output on Every Message