android: Fixed onResume attempting to pause instead of unpause

This commit is contained in:
OpenSauce04 2026-03-15 15:33:04 +00:00 committed by OpenSauce
parent 4109bb200b
commit e677f72bda

View File

@ -488,7 +488,7 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback, Choreographer.Fram
super.onResume()
Choreographer.getInstance().postFrameCallback(this)
if (NativeLibrary.isRunning()) {
emulationState.pause()
emulationState.unpause()
// If the overlay is enabled, we need to update the position if changed
val position = IntSetting.PERFORMANCE_OVERLAY_POSITION.int