mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-03 00:28:27 +00:00
(libretro-db) Backport 5471e8cfa5
This commit is contained in:
parent
7ad55484ce
commit
3591e4a308
@ -150,7 +150,11 @@ int libretrodb_open(const char *path, libretrodb_t *db)
|
||||
libretrodb_header_t header;
|
||||
libretrodb_metadata_t md;
|
||||
int rv;
|
||||
#ifdef _WIN32
|
||||
int fd = open(path, O_RDWR | O_BINARY);
|
||||
#else
|
||||
int fd = open(path, O_RDWR);
|
||||
#endif
|
||||
|
||||
if (fd == -1)
|
||||
return -errno;
|
||||
|
Loading…
Reference in New Issue
Block a user