mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-30 06:43:53 +00:00
(Android) Change default dir for retroarch-history.txt to playlists/ dir
This commit is contained in:
parent
a099e75825
commit
95f6b7fa43
@ -78,7 +78,7 @@ public final class HistorySelection extends DialogFragment
|
||||
adapter = new IconAdapter<HistoryWrapper>(ctx, R.layout.line_list_item);
|
||||
|
||||
// Populate the adapter
|
||||
File history = new File(ctx.getApplicationInfo().dataDir, "retroarch-history.txt");
|
||||
File history = new File(ctx.getApplicationInfo().dataDir, "playlists/retroarch-history.txt");
|
||||
try
|
||||
{
|
||||
BufferedReader br = new BufferedReader(new InputStreamReader(
|
||||
|
@ -238,7 +238,7 @@ public final class UserPreferences
|
||||
}
|
||||
|
||||
config.setBoolean("video_font_enable", prefs.getBoolean("video_font_enable", true));
|
||||
config.setString("game_history_path", dataDir + "/retroarch-history.txt");
|
||||
config.setString("game_history_path", dataDir + "/playlists/retroarch-history.txt");
|
||||
|
||||
// FIXME: This is incomplete. Need analog axes as well.
|
||||
for (int i = 1; i <= 4; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user