[Scummvm-cvs-logs] scummvm master -> d809756c8dda738843797d70f07aaa31d10509bf

CeRiAl ikhatib at gmail.com
Tue Jun 14 22:45:24 CEST 2011


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d809756c8d SCALERS: Fix Normal1xAspect scaler bug reported in bug #3313709


Commit: d809756c8dda738843797d70f07aaa31d10509bf
    https://github.com/scummvm/scummvm/commit/d809756c8dda738843797d70f07aaa31d10509bf
Author: CeRiAl (ikhatib at gmail.com)
Date: 2011-06-14T13:43:28-07:00

Commit Message:
SCALERS: Fix Normal1xAspect scaler bug reported in bug #3313709

Changed paths:
    graphics/scaler/aspect.cpp



diff --git a/graphics/scaler/aspect.cpp b/graphics/scaler/aspect.cpp
index 943395a..b12fac4 100644
--- a/graphics/scaler/aspect.cpp
+++ b/graphics/scaler/aspect.cpp
@@ -201,7 +201,7 @@ int stretch200To240(uint8 *buf, uint32 pitch, int width, int height, int srcX, i
 template<typename ColorMask>
 void Normal1xAspectTemplate(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
 
-	for (int y = 0; y < height; ++y) {
+	for (int y = 0; y < (height * 6 / 5); ++y) {
 
 #if ASPECT_MODE == kSuperFastAndUglyAspectMode
 		if ((y % 6) == 5)






More information about the Scummvm-git-logs mailing list