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;
|
return false;
|
||||||
|
|
||||||
/* TODO: this is only useful for a few platforms, find which and add ifdef */
|
/* 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);
|
buf = calloc(1, 0x4000);
|
||||||
setvbuf(file, (char*)buf, _IOFBF, 0x4000);
|
setvbuf(file, (char*)buf, _IOFBF, 0x4000);
|
||||||
#endif
|
#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 */
|
/* TODO: this is only useful for a few platforms, find which and add ifdef */
|
||||||
stream->fp = fp;
|
stream->fp = fp;
|
||||||
#if !defined(PS2) /* TODO: PS2 IMPROVEMENT */
|
#if !defined(PS2) && !defined(PSP)
|
||||||
stream->buf = (char*)calloc(1, 0x4000);
|
stream->buf = (char*)calloc(1, 0x4000);
|
||||||
setvbuf(stream->fp, stream->buf, _IOFBF, 0x4000);
|
setvbuf(stream->fp, stream->buf, _IOFBF, 0x4000);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue