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

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Thu Jun 10 12:15:33 CEST 2010


Revision: 49565
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49565&view=rev
Author:   m_kiewitz
Date:     2010-06-10 10:15:32 +0000 (Thu, 10 Jun 2010)

Log Message:
-----------
SCI: set picport when loading saved games

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

Modified: scummvm/trunk/engines/sci/engine/savegame.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/savegame.cpp	2010-06-10 09:22:30 UTC (rev 49564)
+++ scummvm/trunk/engines/sci/engine/savegame.cpp	2010-06-10 10:15:32 UTC (rev 49565)
@@ -369,6 +369,10 @@
 		s.syncAsSint16LE(picPortRect.right);
 		s.syncAsSint16LE(picPortTop);
 		s.syncAsSint16LE(picPortLeft);
+
+		if (s.isLoading()) {
+			g_sci->_gfxPorts->kernelSetPicWindow(picPortRect, picPortTop, picPortLeft, false);
+		}
 	}
 
 	s.skip(1, VER(9), VER(9));	// obsolete: used to be a flag indicating if we got sci11 or not


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