Update src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/EmulationFragment.kt
All checks were successful
eden-license / license-header (pull_request) Successful in 40s
All checks were successful
eden-license / license-header (pull_request) Successful in 40s
returning to original implementation but with stored pause state. new info from Producdevity points to another direction.
This commit is contained in:
parent
86a93f66ed
commit
86aa36fc14
1 changed files with 3 additions and 11 deletions
|
@ -913,17 +913,9 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
|
|||
val socPosition = IntSetting.SOC_OVERLAY_POSITION.getInt()
|
||||
updateSocPosition(socPosition)
|
||||
|
||||
emulationState?.let { state ->
|
||||
updatePauseMenuEntry(state.isPaused)
|
||||
}
|
||||
|
||||
emulationState?.let { state ->
|
||||
updatePauseMenuEntry(state.isPaused)
|
||||
} ?: run {
|
||||
binding.inGameMenu.post {
|
||||
emulationState?.isPaused?.let { paused ->
|
||||
updatePauseMenuEntry(paused)
|
||||
}
|
||||
binding.inGameMenu.post {
|
||||
emulationState?.isPaused?.let { paused ->
|
||||
updatePauseMenuEntry(paused)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue