mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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;
|
||||
|
||||
#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;
|
||||
else
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user