diff options
author | aap <aap@papnet.eu> | 2021-01-08 13:51:42 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-08 13:51:42 +0100 |
commit | 8be05679249367b39bcee1e07d6831d11918210b (patch) | |
tree | ab13259d150966afc431656d0db65c5870561c3d /src/core/FileMgr.h | |
parent | wtf (diff) | |
download | re3-8be05679249367b39bcee1e07d6831d11918210b.tar re3-8be05679249367b39bcee1e07d6831d11918210b.tar.gz re3-8be05679249367b39bcee1e07d6831d11918210b.tar.bz2 re3-8be05679249367b39bcee1e07d6831d11918210b.tar.lz re3-8be05679249367b39bcee1e07d6831d11918210b.tar.xz re3-8be05679249367b39bcee1e07d6831d11918210b.tar.zst re3-8be05679249367b39bcee1e07d6831d11918210b.zip |
Diffstat (limited to 'src/core/FileMgr.h')
-rw-r--r-- | src/core/FileMgr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/FileMgr.h b/src/core/FileMgr.h index 98a78360..f70451b7 100644 --- a/src/core/FileMgr.h +++ b/src/core/FileMgr.h @@ -9,7 +9,7 @@ public: static void ChangeDir(const char *dir); static void SetDir(const char *dir); static void SetDirMyDocuments(void); - static ssize_t LoadFile(const char *file, uint8 *buf, int unused, const char *mode); + static ssize_t LoadFile(const char *file, uint8 *buf, int maxlen, 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); |