Don't use setvbuf for PSP too

This commit is contained in:
twinaphex 2019-02-02 16:43:17 +01:00
parent 027745d113
commit 1796d359c5
2 changed files with 2 additions and 2 deletions

View File

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

View File

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