mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Don't use setvbuf for PSP too
This commit is contained in:
parent
027745d113
commit
1796d359c5
@ -997,7 +997,7 @@ bool config_file_write(config_file_t *conf, const char *path, bool sort)
|
||||
return false;
|
||||
|
||||
/* TODO: this is only useful for a few platforms, find which and add ifdef */
|
||||
#if !defined(PS2)
|
||||
#if !defined(PS2) && !defined(PSP)
|
||||
buf = calloc(1, 0x4000);
|
||||
setvbuf(file, (char*)buf, _IOFBF, 0x4000);
|
||||
#endif
|
||||
|
@ -410,7 +410,7 @@ libretro_vfs_implementation_file *retro_vfs_file_open_impl(const char *path, uns
|
||||
*/
|
||||
/* TODO: this is only useful for a few platforms, find which and add ifdef */
|
||||
stream->fp = fp;
|
||||
#if !defined(PS2) /* TODO: PS2 IMPROVEMENT */
|
||||
#if !defined(PS2) && !defined(PSP)
|
||||
stream->buf = (char*)calloc(1, 0x4000);
|
||||
setvbuf(stream->fp, stream->buf, _IOFBF, 0x4000);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user