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

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Sat Mar 1 16:13:06 CET 2008


Revision: 31020
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31020&view=rev
Author:   drmccoy
Date:     2008-03-01 07:13:06 -0800 (Sat, 01 Mar 2008)

Log Message:
-----------
Fixing my Lost in Time fixes

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

Modified: scummvm/trunk/engines/gob/videoplayer.cpp
===================================================================
--- scummvm/trunk/engines/gob/videoplayer.cpp	2008-03-01 14:32:38 UTC (rev 31019)
+++ scummvm/trunk/engines/gob/videoplayer.cpp	2008-03-01 15:13:06 UTC (rev 31020)
@@ -162,7 +162,7 @@
 		} else
 			_video->setVideoMemory();
 
-		_needBlit = (flags & kFlagUseBackSurfaceContent) != 0;
+		_needBlit = ((flags & kFlagUseBackSurfaceContent) != 0) && ((flags & kFlagFrontSurface) != 0);
 
 		_video->enableSound(*_vm->_mixer);
 	}
@@ -216,7 +216,8 @@
 			fade = false;
 		}
 
-		_video->waitEndFrame();
+		if (!_noCursorSwitch)
+			_video->waitEndFrame();
 		startFrame++;
 	}
 
@@ -228,7 +229,8 @@
 				_vm->_palAnim->fade(0, -2, 0);
 				memset((char *) _vm->_draw->_vgaPalette, 0, 768);
 			}
-			_video->waitEndFrame();
+			if (!_noCursorSwitch)
+				_video->waitEndFrame();
 		}
 	}
 }


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