From 5aa80603d75e4a7e878540865ffb2e2f8f983148 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Tue, 14 Mar 2023 21:17:52 +0100 Subject: [PATCH] Android: Reload EmulationActivity settings on title change This way, we ensure that game INI settings are properly applied. I don't think we actually expose the affected settings on a per-game basis in the UI, but still. --- .../org/dolphinemu/dolphinemu/activities/EmulationActivity.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/activities/EmulationActivity.kt b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/activities/EmulationActivity.kt index 66009e7d29..4b363ce008 100644 --- a/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/activities/EmulationActivity.kt +++ b/Source/Android/app/src/main/java/org/dolphinemu/dolphinemu/activities/EmulationActivity.kt @@ -222,6 +222,8 @@ class EmulationActivity : AppCompatActivity(), ThemeProvider { title = NativeLibrary.GetCurrentTitleDescription() emulationFragment?.refreshInputOverlay() + + updateDisplaySettings() } catch (_: IllegalStateException) { // Most likely the core delivered an onTitleChanged while emulation was shutting down. // Let's just ignore it, since we're about to shut down anyway.