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.
This commit is contained in:
JosJuice 2023-03-14 21:17:52 +01:00
parent 11041e950d
commit 5aa80603d7
1 changed files with 2 additions and 0 deletions

View File

@ -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.