mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 06:44:27 +00:00
Buildfix
This commit is contained in:
parent
2fd8210e59
commit
85d9d986eb
@ -162,7 +162,7 @@ RFILE *filestream_open(const char *path, unsigned mode, unsigned hints)
|
|||||||
stream->hints = hints;
|
stream->hints = hints;
|
||||||
|
|
||||||
#ifdef HAVE_MMAP
|
#ifdef HAVE_MMAP
|
||||||
if (stream->hints & RFILE_HINT_MMAP && (stream->mode == RFILE_MODE_READ))
|
if (stream->hints & RFILE_HINT_MMAP && mode == RFILE_MODE_READ)
|
||||||
stream->hints |= RFILE_HINT_UNBUFFERED;
|
stream->hints |= RFILE_HINT_UNBUFFERED;
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user