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.
This commit is contained in:
Stenzek 2019-07-18 20:43:23 +10:00
parent 34e6a41d05
commit 9961e2866a
2 changed files with 2 additions and 2 deletions

View File

@ -216,7 +216,7 @@ public final class EmulationActivity extends AppCompatActivity
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.

View File

@ -19,7 +19,7 @@ import java.util.Set;
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