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:
parent
11041e950d
commit
5aa80603d7
|
@ -222,6 +222,8 @@ class EmulationActivity : AppCompatActivity(), ThemeProvider {
|
||||||
title = NativeLibrary.GetCurrentTitleDescription()
|
title = NativeLibrary.GetCurrentTitleDescription()
|
||||||
|
|
||||||
emulationFragment?.refreshInputOverlay()
|
emulationFragment?.refreshInputOverlay()
|
||||||
|
|
||||||
|
updateDisplaySettings()
|
||||||
} catch (_: IllegalStateException) {
|
} catch (_: IllegalStateException) {
|
||||||
// Most likely the core delivered an onTitleChanged while emulation was shutting down.
|
// 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.
|
// Let's just ignore it, since we're about to shut down anyway.
|
||||||
|
|
Loading…
Reference in New Issue