aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMax Horn2003-01-12 01:06:28 +0000
committerMax Horn2003-01-12 01:06:28 +0000
commit727399ad0e846bf41d20a52ecded39a83fe10e11 (patch)
treeaf1dd21aa86ee2302ea807bcb28b1bd9df52ee0c /common
parentee5c452deea03f947201537dc8743502b62376e4 (diff)
downloadscummvm-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
Diffstat (limited to 'common')
-rw-r--r--common/file.cpp6
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__