mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 13:20:30 +00:00
Update file_stream.c
This commit is contained in:
parent
130e4522e2
commit
e4bb8e7aeb
@ -121,17 +121,6 @@ FILE* filestream_get_fp(RFILE *stream)
|
||||
return stream->fp;
|
||||
}
|
||||
|
||||
int filestream_get_fd(RFILE *stream)
|
||||
{
|
||||
if (!stream)
|
||||
return -1;
|
||||
#if defined(HAVE_BUFFERED_IO)
|
||||
if ((stream->hints & RFILE_HINT_UNBUFFERED) == 0)
|
||||
return fileno(stream->fp);
|
||||
#endif
|
||||
return stream->fd;
|
||||
}
|
||||
|
||||
const char *filestream_get_ext(RFILE *stream)
|
||||
{
|
||||
if (!stream)
|
||||
|
Loading…
x
Reference in New Issue
Block a user