Merge pull request #394 from lioncash/master

[Android] Fix a tiny bug in MainMenuFragment.
This commit is contained in:
Squarepusher 2013-11-19 18:42:58 -08:00
commit 0674ab47b0
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ public final class MainMenuFragment extends PreferenceListFragment implements On
UserPreferences.updateConfigFile(ctx);
final SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(ctx);
final String libretro_path = prefs.getString("libretro_path", "");
final String libretro_path = prefs.getString("libretro_path", ctx.getApplicationInfo().dataDir + "/cores");
final Intent rgui = new Intent(ctx, RetroActivity.class);
final String current_ime = Settings.Secure.getString(ctx.getContentResolver(), Settings.Secure.DEFAULT_INPUT_METHOD);
rgui.putExtra("LIBRETRO", libretro_path);