[Scummvm-cvs-logs] SF.net SVN: scummvm:[44411] scummvm/trunk/engines/sci/engine/kfile.cpp
wjpalenstijn at users.sourceforge.net
wjpalenstijn at users.sourceforge.net
Sun Sep 27 18:34:00 CEST 2009
Revision: 44411
http://scummvm.svn.sourceforge.net/scummvm/?rev=44411&view=rev
Author: wjpalenstijn
Date: 2009-09-27 16:33:59 +0000 (Sun, 27 Sep 2009)
Log Message:
-----------
SCI: Add workaround for file mask used by QfG3
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kfile.cpp
Modified: scummvm/trunk/engines/sci/engine/kfile.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kfile.cpp 2009-09-27 16:06:06 UTC (rev 44410)
+++ scummvm/trunk/engines/sci/engine/kfile.cpp 2009-09-27 16:33:59 UTC (rev 44411)
@@ -832,6 +832,9 @@
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
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list