mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-26 06:25:44 +01:00
android: Adjust valid user data check
This commit is contained in:
parent
bd5ae33153
commit
f3bc7354b1
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user