diff --git a/libretro-common/file/config_file.c b/libretro-common/file/config_file.c index b92acfd0e5..3557f322ad 100644 --- a/libretro-common/file/config_file.c +++ b/libretro-common/file/config_file.c @@ -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 diff --git a/libretro-common/vfs/vfs_implementation.c b/libretro-common/vfs/vfs_implementation.c index 23f385dac4..16838f9b43 100644 --- a/libretro-common/vfs/vfs_implementation.c +++ b/libretro-common/vfs/vfs_implementation.c @@ -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