[Scummvm-cvs-logs] SF.net SVN: scummvm: [21405] scummvm/trunk/engines/simon/vga.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Wed Mar 22 03:58:10 CET 2006


Revision: 21405
Author:   kirben
Date:     2006-03-22 03:57:46 -0800 (Wed, 22 Mar 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21405&view=rev

Log Message:
-----------
Small correction to scaling code in FF

Modified Paths:
--------------
    scummvm/trunk/engines/simon/vga.cpp
Modified: scummvm/trunk/engines/simon/vga.cpp
===================================================================
--- scummvm/trunk/engines/simon/vga.cpp	2006-03-22 10:32:32 UTC (rev 21404)
+++ scummvm/trunk/engines/simon/vga.cpp	2006-03-22 11:57:46 UTC (rev 21405)
@@ -879,7 +879,7 @@
 				_scaleWidth = state->width;
 				_scaleHeight = state->height;
 			} else {
-				scaleClip(state->height, state->width, state->y, state->x, _scrollY);
+				scaleClip(state->height, state->width, state->y, state->x, state->y + _scrollY);
 			}
 		} else 	if (state->flags & kDFOverlayed) {
 			state->surf_addr = getScaleBuf();
@@ -913,7 +913,7 @@
 
 			_vgaCurSpritePriority /= 10;
 			if (_vgaCurSpritePriority != 900) {
-				scaleClip(_scaleHeight, _scaleWidth, _scaleY, _scaleX, _scrollY);
+				scaleClip(_scaleHeight, _scaleWidth, _scaleY, _scaleX, _scaleY + _scrollY);
 			}
 		} else {
 			if (drawImages_clip(state) == 0)


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