[Scummvm-cvs-logs] SF.net SVN: scummvm:[35394] scummvm/trunk/engines/gob/coktelvideo.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Tue Dec 16 19:53:26 CET 2008
Revision: 35394
http://scummvm.svn.sourceforge.net/scummvm/?rev=35394&view=rev
Author: drmccoy
Date: 2008-12-16 18:53:26 +0000 (Tue, 16 Dec 2008)
Log Message:
-----------
More video fixes for the magnifier/memory view
Modified Paths:
--------------
scummvm/trunk/engines/gob/coktelvideo.cpp
Modified: scummvm/trunk/engines/gob/coktelvideo.cpp
===================================================================
--- scummvm/trunk/engines/gob/coktelvideo.cpp 2008-12-16 17:40:34 UTC (rev 35393)
+++ scummvm/trunk/engines/gob/coktelvideo.cpp 2008-12-16 18:53:26 UTC (rev 35394)
@@ -1388,7 +1388,8 @@
srcPtr = dataPtr;
if (_bytesPerPixel > 1) {
- dest = _vidMemBuffer;
+ dest = _vidMemBuffer + _width * (top - _y) + (left - _x);
+ imdVidMem = _vidMem + _vidMemWidth * top + (left / _bytesPerPixel);
sW = _width;
}
@@ -1505,6 +1506,7 @@
}
}
+ dest = _vidMemBuffer + _width * (top - _y) + (left - _x);
blit(imdVidMem, dest, width, height);
return 1;
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