mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
(VITA) FIX gets
This commit is contained in:
parent
2dd13faa74
commit
80c3bf0ec2
@ -284,6 +284,11 @@ char *filestream_gets(RFILE *stream, char *s, size_t len)
|
|||||||
return NULL;
|
return NULL;
|
||||||
#if defined(HAVE_BUFFERED_IO)
|
#if defined(HAVE_BUFFERED_IO)
|
||||||
return fgets(s, len, stream->fp);
|
return fgets(s, len, stream->fp);
|
||||||
|
#elif defined(VITA) || defined(PSP)
|
||||||
|
if(filestream_read(stream,s,len)==len)
|
||||||
|
return s;
|
||||||
|
else
|
||||||
|
return NULL;
|
||||||
#else
|
#else
|
||||||
return gets(s);
|
return gets(s);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user