Android: Use SelectedGames instead of SelectedGame in StartupHandler
Regression from the automatic disc change PR. See https://forums.dolphin-emu.org/Thread-commit-63c9831-broke-game-autostarting-on-android
This commit is contained in:
parent
4cd5667319
commit
2c6a975d1f
|
@ -37,7 +37,7 @@ public final class StartupHandler
|
||||||
{
|
{
|
||||||
// Start the emulation activity, send the ISO passed in and finish the main activity
|
// Start the emulation activity, send the ISO passed in and finish the main activity
|
||||||
Intent emulation_intent = new Intent(parent, EmulationActivity.class);
|
Intent emulation_intent = new Intent(parent, EmulationActivity.class);
|
||||||
emulation_intent.putExtra("SelectedGame", start_file);
|
emulation_intent.putExtra(EmulationActivity.EXTRA_SELECTED_GAMES, new String[]{start_file});
|
||||||
parent.startActivity(emulation_intent);
|
parent.startActivity(emulation_intent);
|
||||||
parent.finish();
|
parent.finish();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue