diff options
author | Charles Lombardo <clombardo169@gmail.com> | 2023-09-22 20:53:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-22 20:53:39 +0200 |
commit | 33e2dce715ebba2673d7f6d8213998bbb28caeb6 (patch) | |
tree | 30c7f107b23a38e03e8c5c874f2b82c0ecaf25a2 /src/android/app | |
parent | Merge pull request #11561 from german77/hle_applet (diff) | |
parent | android: Adjust valid user data check (diff) | |
download | yuzu-33e2dce715ebba2673d7f6d8213998bbb28caeb6.tar yuzu-33e2dce715ebba2673d7f6d8213998bbb28caeb6.tar.gz yuzu-33e2dce715ebba2673d7f6d8213998bbb28caeb6.tar.bz2 yuzu-33e2dce715ebba2673d7f6d8213998bbb28caeb6.tar.lz yuzu-33e2dce715ebba2673d7f6d8213998bbb28caeb6.tar.xz yuzu-33e2dce715ebba2673d7f6d8213998bbb28caeb6.tar.zst yuzu-33e2dce715ebba2673d7f6d8213998bbb28caeb6.zip |
Diffstat (limited to 'src/android/app')
-rw-r--r-- | src/android/app/src/main/java/org/yuzu/yuzu_emu/ui/main/MainActivity.kt | 3 |
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 } |