mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Get rid of RFILE_MODE_READ_TEXT dependency for config file/playlist
This commit is contained in:
parent
e07ed18105
commit
95cc8e12d2
@ -392,7 +392,7 @@ static config_file_t *config_file_new_internal(
|
||||
goto error;
|
||||
|
||||
conf->include_depth = depth;
|
||||
file = filestream_open(path, RFILE_MODE_READ_TEXT, 0x4000);
|
||||
file = filestream_open(path, RFILE_MODE_READ, 0x4000);
|
||||
|
||||
if (!file)
|
||||
{
|
||||
|
@ -493,7 +493,7 @@ static bool playlist_read_file(
|
||||
unsigned i;
|
||||
char buf[PLAYLIST_ENTRIES][1024];
|
||||
RFILE *file = filestream_open(
|
||||
path, RFILE_MODE_READ_TEXT, -1);
|
||||
path, RFILE_MODE_READ, -1);
|
||||
|
||||
for (i = 0; i < PLAYLIST_ENTRIES; i++)
|
||||
buf[i][0] = '\0';
|
||||
|
Loading…
x
Reference in New Issue
Block a user