Skip to content
Permalink
Browse files

Android: Support opening .dff files

This is also shared by the disc change code, but changing discs to a
.dol doesn't make sense either.
  • Loading branch information...
stenzek committed Jul 18, 2019
1 parent 34e6a41 commit 9961e2866a143b5fa7bd21ce5c81c3b98f40db4b
@@ -216,7 +216,7 @@ public static void launchFile(FragmentActivity activity, String[] filePaths)
else
{
// Display the path to the file as the game title in the menu.
launcher.putExtra(EXTRA_SELECTED_TITLE, filePaths);
launcher.putExtra(EXTRA_SELECTED_TITLE, filePaths[0]);

// Use 00000000 as the game ID. This should match the Desktop version behavior.
// TODO: This should really be pulled from the Core.
@@ -19,7 +19,7 @@
public class CustomFilePickerFragment extends FilePickerFragment
{
private static final Set<String> extensions = new HashSet<>(Arrays.asList(
"gcm", "tgc", "iso", "ciso", "gcz", "wbfs", "wad", "dol", "elf"));
"gcm", "tgc", "iso", "ciso", "gcz", "wbfs", "wad", "dol", "elf", "dff"));

@NonNull
@Override

0 comments on commit 9961e28

Please sign in to comment.
You can’t perform that action at this time.