Android: Use EmulationActivity.launchFile() for StartupHandler
This commit is contained in:
parent
9961e2866a
commit
6a29e8fa58
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue