(Android) Change default dir for retroarch-history.txt to playlists/ dir

This commit is contained in:
twinaphex 2014-11-20 07:00:53 +01:00
parent a099e75825
commit 95f6b7fa43
2 changed files with 2 additions and 2 deletions

View File

@ -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(

View File

@ -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++)