diff options
author | bunnei <bunneidev@gmail.com> | 2023-03-19 05:28:22 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2023-06-03 09:05:43 +0200 |
commit | b5b4e50c32364ed1cd5c56f70a055cf8b20b1837 (patch) | |
tree | d4caa10210ce9a2aa96f45ba214eee49d6c12479 /src/android/app | |
parent | android: res: fragment_emulation: Ensure FPS counter is shown. (diff) | |
download | yuzu-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/app')
-rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/activities/EmulationActivity.kt | 4 |
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 |