mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-12 13:51:27 +00:00
Fix this one for non-stdio backends
Why does filestream_get_fp exist
This commit is contained in:
parent
0d4ac12310
commit
2b3cc8898a
@ -381,7 +381,6 @@ void playlist_write_file(playlist_t *playlist)
|
||||
{
|
||||
size_t i;
|
||||
RFILE *file = NULL;
|
||||
FILE *fp = NULL;
|
||||
|
||||
if (!playlist || !playlist->modified)
|
||||
return;
|
||||
@ -394,10 +393,8 @@ void playlist_write_file(playlist_t *playlist)
|
||||
return;
|
||||
}
|
||||
|
||||
fp = filestream_get_fp(file);
|
||||
|
||||
for (i = 0; i < playlist->size; i++)
|
||||
fprintf(fp, "%s\n%s\n%s\n%s\n%s\n%s\n",
|
||||
filestream_printf(file, "%s\n%s\n%s\n%s\n%s\n%s\n",
|
||||
playlist->entries[i].path ? playlist->entries[i].path : "",
|
||||
playlist->entries[i].label ? playlist->entries[i].label : "",
|
||||
playlist->entries[i].core_path,
|
||||
|
Loading…
x
Reference in New Issue
Block a user