diff options
Diffstat (limited to 'common/file.h')
-rw-r--r-- | common/file.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/common/file.h b/common/file.h index b037b6cdc2..e6a7b1505d 100644 --- a/common/file.h +++ b/common/file.h @@ -26,10 +26,6 @@ #include "stdafx.h" #include "scummsys.h" -// fopen_nocase is like fopen only that it will try various variations -// of the given filename (with different cases) if the initial one isn't found. -FILE *fopen_nocase(const char *path, const char *mode); - class File { private: @@ -37,6 +33,8 @@ private: bool _ioFailed; byte _encbyte; +FILE *fopenNoCase(const char *filename, const char *directory, const char *mode); + public: enum { kFileReadMode = 1, @@ -45,7 +43,7 @@ public: File(); ~File(); - bool open(const char *filename, int mode = kFileReadMode, byte encbyte = 0); + bool open(const char *filename, const char *directory, int mode = kFileReadMode, byte encbyte = 0); void close(); bool isOpen(); bool ioFailed(); |