mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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;
|
||||
#if defined(HAVE_BUFFERED_IO)
|
||||
return fgets(s, len, stream->fp);
|
||||
#elif defined(VITA) || defined(PSP)
|
||||
if(filestream_read(stream,s,len)==len)
|
||||
return s;
|
||||
else
|
||||
return NULL;
|
||||
#else
|
||||
return gets(s);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user