Android: Use EmulationActivity.launchFile() for StartupHandler

This commit is contained in:
Stenzek 2019-07-18 22:00:26 +10:00
parent 9961e2866a
commit 6a29e8fa58
1 changed files with 1 additions and 3 deletions

View File

@ -44,9 +44,7 @@ public final class StartupHandler
if (start_files != null && start_files.length > 0)
{
// Start the emulation activity, send the ISO passed in and finish the main activity
Intent emulation_intent = new Intent(parent, EmulationActivity.class);
emulation_intent.putExtra(EmulationActivity.EXTRA_SELECTED_GAMES, start_files);
parent.startActivity(emulation_intent);
EmulationActivity.launchFile(parent, start_files);
parent.finish();
}
}