summaryrefslogtreecommitdiffstats
path: root/src/android/app
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2023-12-12 20:08:30 +0100
committert895 <clombardo169@gmail.com>2023-12-12 23:25:37 +0100
commitf6bf8b3ed3efac180e0f8c87d8353cef4d915304 (patch)
treef6c5fc74432cafa76ae80aa7a69c9509d46d266c /src/android/app
parentandroid: Use confirmation dialog when deleting shader cache (diff)
downloadyuzu-f6bf8b3ed3efac180e0f8c87d8353cef4d915304.tar
yuzu-f6bf8b3ed3efac180e0f8c87d8353cef4d915304.tar.gz
yuzu-f6bf8b3ed3efac180e0f8c87d8353cef4d915304.tar.bz2
yuzu-f6bf8b3ed3efac180e0f8c87d8353cef4d915304.tar.lz
yuzu-f6bf8b3ed3efac180e0f8c87d8353cef4d915304.tar.xz
yuzu-f6bf8b3ed3efac180e0f8c87d8353cef4d915304.tar.zst
yuzu-f6bf8b3ed3efac180e0f8c87d8353cef4d915304.zip
Diffstat (limited to 'src/android/app')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LaunchGameDialogFragment.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LaunchGameDialogFragment.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LaunchGameDialogFragment.kt
index f653826a6..e1ac46c48 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LaunchGameDialogFragment.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/fragments/LaunchGameDialogFragment.kt
@@ -15,7 +15,7 @@ import org.yuzu.yuzu_emu.model.Game
import org.yuzu.yuzu_emu.utils.SerializableHelper.parcelable
class LaunchGameDialogFragment : DialogFragment() {
- private var selectedItem = 0
+ private var selectedItem = 1
override fun onCreateDialog(savedInstanceState: Bundle?): Dialog {
val game = requireArguments().parcelable<Game>(GAME)
@@ -32,7 +32,7 @@ class LaunchGameDialogFragment : DialogFragment() {
.actionGlobalEmulationActivity(game, selectedItem != 0)
requireParentFragment().findNavController().navigate(action)
}
- .setSingleChoiceItems(launchOptions, 0) { _: DialogInterface, i: Int ->
+ .setSingleChoiceItems(launchOptions, 1) { _: DialogInterface, i: Int ->
selectedItem = i
}
.setNegativeButton(android.R.string.cancel, null)