[Scummvm-cvs-logs] SF.net SVN: scummvm:[45665] scummvm/trunk/engines/sci/engine/kgraphics.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Nov 4 15:17:17 CET 2009


Revision: 45665
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45665&view=rev
Author:   thebluegr
Date:     2009-11-04 14:17:14 +0000 (Wed, 04 Nov 2009)

Log Message:
-----------
Reapplied the LSL1 casino workaround, which got disabled accidentally in commit #45661

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kgraphics.cpp

Modified: scummvm/trunk/engines/sci/engine/kgraphics.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-11-04 13:26:43 UTC (rev 45664)
+++ scummvm/trunk/engines/sci/engine/kgraphics.cpp	2009-11-04 14:17:14 UTC (rev 45665)
@@ -496,10 +496,10 @@
 
 	// WORKAROUND for a problem in LSL1VGA. This allows the casino door to be opened,
 	// till the actual problem is found
-	//if (s->_gameName == "lsl1sci" && s->currentRoomNumber() == 300) {
-	//	int top = GET_SEL32V(s->_segMan, object, brTop);
-	//	PUT_SEL32V(s->_segMan, object, brTop, top + 2);
-	//}
+	if (s->_gameName == "lsl1sci" && s->currentRoomNumber() == 300) {
+		int top = GET_SEL32V(s->_segMan, object, brTop);
+		PUT_SEL32V(s->_segMan, object, brTop, top + 2);
+	}
 
 	return s->r_acc;
 }


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