mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Buildfix
This commit is contained in:
parent
2fd8210e59
commit
85d9d986eb
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue