summaryrefslogtreecommitdiffstats
path: root/src/android
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-03-19 05:28:22 +0100
committerbunnei <bunneidev@gmail.com>2023-06-03 09:05:43 +0200
commitb5b4e50c32364ed1cd5c56f70a055cf8b20b1837 (patch)
treed4caa10210ce9a2aa96f45ba214eee49d6c12479 /src/android
parentandroid: res: fragment_emulation: Ensure FPS counter is shown. (diff)
downloadyuzu-b5b4e50c32364ed1cd5c56f70a055cf8b20b1837.tar
yuzu-b5b4e50c32364ed1cd5c56f70a055cf8b20b1837.tar.gz
yuzu-b5b4e50c32364ed1cd5c56f70a055cf8b20b1837.tar.bz2
yuzu-b5b4e50c32364ed1cd5c56f70a055cf8b20b1837.tar.lz
yuzu-b5b4e50c32364ed1cd5c56f70a055cf8b20b1837.tar.xz
yuzu-b5b4e50c32364ed1cd5c56f70a055cf8b20b1837.tar.zst
yuzu-b5b4e50c32364ed1cd5c56f70a055cf8b20b1837.zip
Diffstat (limited to 'src/android')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt
index cbec4836b..44d002016 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt
@@ -72,12 +72,12 @@ open class EmulationActivity : AppCompatActivity() {
setContentView(R.layout.activity_emulation)
// Find or create the EmulationFragment
- var emulationFragment =
+ emulationFragment =
supportFragmentManager.findFragmentById(R.id.frame_emulation_fragment) as EmulationFragment?
if (emulationFragment == null) {
emulationFragment = EmulationFragment.newInstance(path)
supportFragmentManager.beginTransaction()
- .add(R.id.frame_emulation_fragment, emulationFragment)
+ .add(R.id.frame_emulation_fragment, emulationFragment!!)
.commit()
}
title = selectedTitle