summaryrefslogtreecommitdiffstats
path: root/src/core/FileMgr.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/core/FileMgr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/FileMgr.h b/src/core/FileMgr.h
index a6e4b6e5..1d0faf50 100644
--- a/src/core/FileMgr.h
+++ b/src/core/FileMgr.h
@@ -11,6 +11,7 @@ public:
static void SetDirMyDocuments(void);
static int LoadFile(const char *file, uint8 *buf, int unused, const char *mode);
static int OpenFile(const char *file, const char *mode);
+ static int OpenFile(const char *file) { return OpenFile(file, "rb"); }
static int OpenFileForWriting(const char *file);
static int Read(int fd, const char *buf, int len);
static int Write(int fd, const char *buf, int len);