[Scummvm-cvs-logs] SF.net SVN: scummvm:[47641] scummvm/trunk/engines/sci/resource.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Thu Jan 28 12:19:28 CET 2010


Revision: 47641
          http://scummvm.svn.sourceforge.net/scummvm/?rev=47641&view=rev
Author:   thebluegr
Date:     2010-01-28 11:19:27 +0000 (Thu, 28 Jan 2010)

Log Message:
-----------
Added support for the SCI2.1 resource patches (resmap.pat and ressci.pat). GK2 goes a bit further now (but still dies because of a new script opcode)

Modified Paths:
--------------
    scummvm/trunk/engines/sci/resource.cpp

Modified: scummvm/trunk/engines/sci/resource.cpp
===================================================================
--- scummvm/trunk/engines/sci/resource.cpp	2010-01-28 10:34:11 UTC (rev 47640)
+++ scummvm/trunk/engines/sci/resource.cpp	2010-01-28 11:19:27 UTC (rev 47641)
@@ -422,6 +422,11 @@
 				}
 			}
 		}
+
+		// SCI2.1 resource patches
+		if (Common::File::exists("RESMAP.PAT") && Common::File::exists("RESSCI.PAT")) {
+			addSource(addExternalMap("RESMAP.PAT", 65535), kSourceVolume, "RESSCI.PAT", 65535);
+		}
 	}
 #else
 	} else


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