mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Don't use mmap for libretrodb - using mmap seems
to have adverse performance impact
This commit is contained in:
parent
8f64909886
commit
71b423c572
@ -444,7 +444,7 @@ int libretrodb_cursor_open(libretrodb_t *db, libretrodb_cursor_t *cursor,
|
||||
|
||||
fd = filestream_open(db->path,
|
||||
RETRO_VFS_FILE_ACCESS_READ,
|
||||
RETRO_VFS_FILE_ACCESS_HINT_FREQUENT_ACCESS);
|
||||
RETRO_VFS_FILE_ACCESS_HINT_NONE);
|
||||
|
||||
if (!fd)
|
||||
return -errno;
|
||||
|
Loading…
x
Reference in New Issue
Block a user