[Scummvm-cvs-logs] SF.net SVN: scummvm:[36335] scummvm/branches/branch-0-13-0/engines/sword1/ screen.cpp

wjpalenstijn at users.sourceforge.net wjpalenstijn at users.sourceforge.net
Sat Feb 14 19:34:37 CET 2009


Revision: 36335
          http://scummvm.svn.sourceforge.net/scummvm/?rev=36335&view=rev
Author:   wjpalenstijn
Date:     2009-02-14 18:34:36 +0000 (Sat, 14 Feb 2009)

Log Message:
-----------
from trunk: clear full screen before playing movie in BS1 (fixes #2599573)

Modified Paths:
--------------
    scummvm/branches/branch-0-13-0/engines/sword1/screen.cpp

Modified: scummvm/branches/branch-0-13-0/engines/sword1/screen.cpp
===================================================================
--- scummvm/branches/branch-0-13-0/engines/sword1/screen.cpp	2009-02-14 18:34:10 UTC (rev 36334)
+++ scummvm/branches/branch-0-13-0/engines/sword1/screen.cpp	2009-02-14 18:34:36 UTC (rev 36335)
@@ -70,9 +70,7 @@
 	if (_screenBuf) {
 		_fullRefresh = true;
 		memset(_screenBuf, 0, _scrnSizeX * _scrnSizeY);
-		// The buffer isn't necessarily big enough to clear the entire
-		// screen, so the menu areas are unaffected. For now.
-		_system->copyRectToScreen(_screenBuf, SCREEN_WIDTH, 0, 40, SCREEN_WIDTH, SCREEN_DEPTH);
+		_system->clearScreen();
 	}
 }
 


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