diff --git a/libretro-common/file/retro_file.c b/libretro-common/file/retro_file.c index 16697bcbe0..0a91b31850 100644 --- a/libretro-common/file/retro_file.c +++ b/libretro-common/file/retro_file.c @@ -38,7 +38,7 @@ #include #endif -#if 0 +#if 1 #define HAVE_BUFFERED_IO 1 #endif diff --git a/libretro-db/libretrodb.c b/libretro-db/libretrodb.c index 3c8dd0666e..3b2b1290b0 100644 --- a/libretro-db/libretrodb.c +++ b/libretro-db/libretrodb.c @@ -191,7 +191,7 @@ int libretrodb_open(const char *path, libretrodb_t *db) libretrodb_header_t header; libretrodb_metadata_t md; int rv; - RFILE *fd = retro_fopen(path, RFILE_MODE_READ_WRITE, -1); + RFILE *fd = retro_fopen(path, RFILE_MODE_READ, -1); if (!fd) return -errno;