diff options
Diffstat (limited to 'src/android/app')
-rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt index 5f1a94190..e00f02f86 100644 --- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt +++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt @@ -470,8 +470,6 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback { if (state != State.PAUSED) { Log.debug("[EmulationFragment] Pausing emulation.") - // Release the surface before pausing, since emulation has to be running for that. - NativeLibrary.surfaceDestroyed() NativeLibrary.pauseEmulation() state = State.PAUSED @@ -516,7 +514,6 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback { Log.debug("[EmulationFragment] Surface destroyed.") when (state) { State.RUNNING -> { - NativeLibrary.surfaceDestroyed() state = State.PAUSED } |