mirror of
https://github.com/azahar-emu/azahar
synced 2025-11-06 15:09:58 +01:00
android: Fixed new compressed format extensions not being handled correctly
This commit is contained in:
parent
e5838edf9f
commit
2697526f34
@ -64,7 +64,7 @@ class Game(
|
||||
val allExtensions: Set<String> get() = extensions + badExtensions
|
||||
|
||||
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(
|
||||
|
||||
@ -332,7 +332,7 @@ class MainActivity : AppCompatActivity(), ThemeProvider {
|
||||
}
|
||||
|
||||
val selectedFiles =
|
||||
FileBrowserHelper.getSelectedFiles(result, applicationContext, listOf("cia"))
|
||||
FileBrowserHelper.getSelectedFiles(result, applicationContext, listOf("cia", "zcia"))
|
||||
if (selectedFiles == null) {
|
||||
Toast.makeText(applicationContext, R.string.cia_file_not_found, Toast.LENGTH_LONG)
|
||||
.show()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user