diff options
author | Willem Jan Palenstijn | 2009-09-27 16:33:59 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2009-09-27 16:33:59 +0000 |
commit | 8c8b996f56fc52f468fd14307d6ebf6dcdc7969c (patch) | |
tree | 7b210831ecf7a63c818faf5057887e2bc044d636 /engines/sci | |
parent | f4597ee83ecc3ecda72f99714e24e5e03d14179a (diff) | |
download | scummvm-rg350-8c8b996f56fc52f468fd14307d6ebf6dcdc7969c.tar.gz scummvm-rg350-8c8b996f56fc52f468fd14307d6ebf6dcdc7969c.tar.bz2 scummvm-rg350-8c8b996f56fc52f468fd14307d6ebf6dcdc7969c.zip |
SCI: Add workaround for file mask used by QfG3
svn-id: r44411
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/kfile.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp index f4b54765f4..e746cb30af 100644 --- a/engines/sci/engine/kfile.cpp +++ b/engines/sci/engine/kfile.cpp @@ -832,6 +832,9 @@ reg_t kFileIO(EngineState *s, int, int argc, reg_t *argv) { int attr = argv[3].toUint16(); // We won't use this, Win32 might, though... debug(3, "K_FILEIO_FIND_FIRST(%s,0x%x)", mask.c_str(), attr); + // QfG3 uses this mask for the character import + if (mask == "/\\*.*") + mask = "*.*"; #ifndef WIN32 if (mask == "*.*") mask = "*"; // For UNIX |