android: Fixed new compressed format extensions not being handled correctly

This commit is contained in:
OpenSauce04 2025-08-08 19:03:18 +01:00 committed by OpenSauce
parent e5838edf9f
commit 2697526f34
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ class Game(
val allExtensions: Set<String> get() = extensions + badExtensions val allExtensions: Set<String> get() = extensions + badExtensions
val extensions: Set<String> = HashSet( val extensions: Set<String> = HashSet(
listOf("3dsx", "elf", "axf", "cci", "cxi", "app") listOf("3dsx", "app", "axf", "cci", "cxi", "elf", "z3dsx", "zcci", "zcxi")
) )
val badExtensions: Set<String> = HashSet( val badExtensions: Set<String> = HashSet(

View File

@ -332,7 +332,7 @@ class MainActivity : AppCompatActivity(), ThemeProvider {
} }
val selectedFiles = val selectedFiles =
FileBrowserHelper.getSelectedFiles(result, applicationContext, listOf("cia")) FileBrowserHelper.getSelectedFiles(result, applicationContext, listOf("cia", "zcia"))
if (selectedFiles == null) { if (selectedFiles == null) {
Toast.makeText(applicationContext, R.string.cia_file_not_found, Toast.LENGTH_LONG) Toast.makeText(applicationContext, R.string.cia_file_not_found, Toast.LENGTH_LONG)
.show() .show()