mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-08 18:36:28 +00:00
[Android] Fix a tiny bug in MainMenuFragment. Pass the cores directory if a direct core can't be found.
This commit is contained in:
parent
8a66d5ceef
commit
527bb976b0
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user