Browse Source
Merge pull request #11572 from t895/import-heuristic
android: Adjust valid user data check
pull/15/merge
Charles Lombardo
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
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 -> |
|
|
checkStream.use { stream -> |
|
|
var ze: ZipEntry? = null |
|
|
var ze: ZipEntry? = null |
|
|
while (stream.nextEntry?.also { ze = it } != 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 |
|
|
isYuzuBackup = true |
|
|
return@use |
|
|
return@use |
|
|
} |
|
|
} |
|
|
|