diff options
author | Max Horn | 2003-01-12 01:06:28 +0000 |
---|---|---|
committer | Max Horn | 2003-01-12 01:06:28 +0000 |
commit | 727399ad0e846bf41d20a52ecded39a83fe10e11 (patch) | |
tree | af1dd21aa86ee2302ea807bcb28b1bd9df52ee0c | |
parent | ee5c452deea03f947201537dc8743502b62376e4 (diff) | |
download | scummvm-rg350-727399ad0e846bf41d20a52ecded39a83fe10e11.tar.gz scummvm-rg350-727399ad0e846bf41d20a52ecded39a83fe10e11.tar.bz2 scummvm-rg350-727399ad0e846bf41d20a52ecded39a83fe10e11.zip |
search for files in voices/ subdir (useful for Simon2Mac)
svn-id: r6409
-rw-r--r-- | common/file.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/file.cpp b/common/file.cpp index cbd4e82f07..64b67c5632 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -47,10 +47,12 @@ FILE *File::fopenNoCase(const char *filename, const char *directory, const char "data/", "DATA/", "resource/", - "RESOURCE/" + "RESOURCE/", + "voices/", + "VOICES/" }; - for (uint8 l = 0; l < 7; l++) { + for (uint8 l = 0; l < 9; l++) { strcpy(buf, directory); if (directory[0] != 0) { #ifdef __MORPHOS__ |