[Android] Add wad file support.
This commit is contained in:
1 parent
670b028492
commit
d83dffe442
2 files changed
+2
-2
No files matched your search
@@ -54,7 +54,7 @@ public final class FolderBrowser extends Fragment
|
|||||||
List<FolderBrowserItem>fls = new ArrayList<FolderBrowserItem>();
|
List<FolderBrowserItem>fls = new ArrayList<FolderBrowserItem>();
|
||||||
|
|
||||||
// Supported extensions to filter by
|
// Supported extensions to filter by
|
||||||
Set<String> validExts = new HashSet<String>(Arrays.asList(".gcm", ".iso", ".wbfs", ".gcz", ".dol", ".elf", ".dff"));
|
Set<String> validExts = new HashSet<String>(Arrays.asList(".gcm", ".iso", ".wbfs", ".gcz", ".dol", ".elf", ".dff", ".wad"));
|
||||||
|
|
||||||
// Search for any directories or files within the current dir.
|
// Search for any directories or files within the current dir.
|
||||||
for(File entry : dirs)
|
for(File entry : dirs)
|
||||||
|
|||||||
@@ -69,7 +69,7 @@ public final class GameListFragment extends Fragment
|
|||||||
int intDirectories = Integer.parseInt(Directories);
|
int intDirectories = Integer.parseInt(Directories);
|
||||||
|
|
||||||
// Extensions to filter by.
|
// Extensions to filter by.
|
||||||
Set<String> exts = new HashSet<String>(Arrays.asList(".gcm", ".iso", ".wbfs", ".gcz", ".dol", ".elf", ".dff"));
|
Set<String> exts = new HashSet<String>(Arrays.asList(".gcm", ".iso", ".wbfs", ".gcz", ".dol", ".elf", ".dff", ".wad"));
|
||||||
|
|
||||||
for (int a = 0; a < intDirectories; ++a)
|
for (int a = 0; a < intDirectories; ++a)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user