Merge pull request #3844 from JosJuice/android-ciso
Fix reading CISO files on Android
This commit is contained in:
commit
2959f3607c
|
@ -42,7 +42,7 @@ public class FileListItem implements Comparable<FileListItem>
|
||||||
String fileExtension = mPath.substring(extensionStart);
|
String fileExtension = mPath.substring(extensionStart);
|
||||||
|
|
||||||
// The extensions we care about.
|
// The extensions we care about.
|
||||||
Set<String> allowedExtensions = new HashSet<String>(Arrays.asList(".dff", ".dol", ".elf", ".gcm", ".gcz", ".iso", ".wad", ".wbfs"));
|
Set<String> allowedExtensions = new HashSet<String>(Arrays.asList(".ciso", ".dff", ".dol", ".elf", ".gcm", ".gcz", ".iso", ".wad", ".wbfs"));
|
||||||
|
|
||||||
// Check that the file has an extension we care about before trying to read out of it.
|
// Check that the file has an extension we care about before trying to read out of it.
|
||||||
if (allowedExtensions.contains(fileExtension.toLowerCase()))
|
if (allowedExtensions.contains(fileExtension.toLowerCase()))
|
||||||
|
|
Loading…
Reference in New Issue