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:
JosJuice 2019-01-28 20:16:48 +01:00
parent 4cd5667319
commit 2c6a975d1f
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ public final class StartupHandler
{
// 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("SelectedGame", start_file);
emulation_intent.putExtra(EmulationActivity.EXTRA_SELECTED_GAMES, new String[]{start_file});
parent.startActivity(emulation_intent);
parent.finish();
}