[Scummvm-cvs-logs] SF.net SVN: scummvm: [32212] scummvm/trunk/engines/gob/video.cpp

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Thu May 22 19:10:41 CEST 2008


Revision: 32212
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32212&view=rev
Author:   drmccoy
Date:     2008-05-22 10:10:41 -0700 (Thu, 22 May 2008)

Log Message:
-----------
Fixing another split screen glitch

Modified Paths:
--------------
    scummvm/trunk/engines/gob/video.cpp

Modified: scummvm/trunk/engines/gob/video.cpp
===================================================================
--- scummvm/trunk/engines/gob/video.cpp	2008-05-22 16:52:24 UTC (rev 32211)
+++ scummvm/trunk/engines/gob/video.cpp	2008-05-22 17:10:41 UTC (rev 32212)
@@ -183,7 +183,7 @@
 		int screenX = _screenDeltaX;
 		int screenY = _screenDeltaY;
 		int screenWidth = MIN<int>(_surfWidth, _vm->_width);
-		int screenHeight = MIN<int>(_splitHeight1, _vm->_height - _splitHeight2 - _screenDeltaY);
+		int screenHeight = MIN<int>(_surfHeight + _screenDeltaY - _splitHeight2, _vm->_height);
 
 		g_system->copyRectToScreen(_vm->_global->_primarySurfDesc->getVidMem() + screenOffset,
 				_surfWidth, screenX, screenY, screenWidth, screenHeight);


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