mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
[Android] Organize the list of allowed file extensions for the folder browser and game list alphabetically.
Keeps things nice and sorted.
This commit is contained in:
@ -53,7 +53,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", ".wad"));
|
Set<String> validExts = new HashSet<String>(Arrays.asList(".dff", ".dol", ".elf", ".gcm", ".gcz", ".iso", ".wad", ".wbfs"));
|
||||||
|
|
||||||
// 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)
|
||||||
|
@ -70,7 +70,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", ".wad"));
|
Set<String> exts = new HashSet<String>(Arrays.asList(".dff", ".dol", ".elf", ".gcm", ".gcz", ".iso", ".wad", ".wbfs"));
|
||||||
|
|
||||||
for (int a = 0; a < intDirectories; ++a)
|
for (int a = 0; a < intDirectories; ++a)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user