summaryrefslogtreecommitdiffstats
path: root/src/android
diff options
context:
space:
mode:
authorCharles Lombardo <clombardo169@gmail.com>2023-09-22 18:05:44 +0200
committerCharles Lombardo <clombardo169@gmail.com>2023-09-22 18:05:44 +0200
commitf3bc7354b1b3aa1a6aef305fb4f50846f3afceb8 (patch)
tree30c7f107b23a38e03e8c5c874f2b82c0ecaf25a2 /src/android
parentMerge pull request #11561 from german77/hle_applet (diff)
downloadyuzu-f3bc7354b1b3aa1a6aef305fb4f50846f3afceb8.tar
yuzu-f3bc7354b1b3aa1a6aef305fb4f50846f3afceb8.tar.gz
yuzu-f3bc7354b1b3aa1a6aef305fb4f50846f3afceb8.tar.bz2
yuzu-f3bc7354b1b3aa1a6aef305fb4f50846f3afceb8.tar.lz
yuzu-f3bc7354b1b3aa1a6aef305fb4f50846f3afceb8.tar.xz
yuzu-f3bc7354b1b3aa1a6aef305fb4f50846f3afceb8.tar.zst
yuzu-f3bc7354b1b3aa1a6aef305fb4f50846f3afceb8.zip
Diffstat (limited to 'src/android')
-rw-r--r--src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt
index 74941f934..54993a958 100644
--- a/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt
+++ b/src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt
@@ -664,7 +664,8 @@ class MainActivity : AppCompatActivity(), ThemeProvider {
checkStream.use { stream ->
var ze: ZipEntry? = null
while (stream.nextEntry?.also { ze = it } != null) {
- if (ze!!.name.trim() == "/config/config.ini") {
+ val itemName = ze!!.name.trim()
+ if (itemName == "/config/config.ini" || itemName == "config/config.ini") {
isYuzuBackup = true
return@use
}