diff options
Diffstat (limited to 'engines/sci/engine/kfile.cpp')
-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 |