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:
parent
34e6a41d05
commit
9961e2866a
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue