[Scummvm-cvs-logs] SF.net SVN: scummvm: [26667] scummvm/trunk/backends/platform/wince/CEScaler .cpp
knakos at users.sourceforge.net
knakos at users.sourceforge.net
Sun Apr 29 00:35:14 CEST 2007
Revision: 26667
http://scummvm.svn.sourceforge.net/scummvm/?rev=26667&view=rev
Author: knakos
Date: 2007-04-28 15:35:14 -0700 (Sat, 28 Apr 2007)
Log Message:
-----------
bugfix aspect scaler
Modified Paths:
--------------
scummvm/trunk/backends/platform/wince/CEScaler.cpp
Modified: scummvm/trunk/backends/platform/wince/CEScaler.cpp
===================================================================
--- scummvm/trunk/backends/platform/wince/CEScaler.cpp 2007-04-28 22:31:55 UTC (rev 26666)
+++ scummvm/trunk/backends/platform/wince/CEScaler.cpp 2007-04-28 22:35:14 UTC (rev 26667)
@@ -95,7 +95,7 @@
uint16 srcPitch16 = (uint16)(srcPitch / sizeof(uint16));
uint16 dstPitch16 = (uint16)(dstPitch / sizeof(uint16));
- for (i = 0; i < height/6; i++) {
+ for (i = 0; i < height/5; i++) {
for (j=0; j < width; j++) {
p1 = *((uint16*)inbuf+j); inbuf += srcPitch16;
*((uint16*)outbuf+j) = p1; outbuf += dstPitch16;
@@ -187,7 +187,6 @@
}
}
-//#ifdef WIN32_PLATFORM_WFSP
void SmartphoneLandscape(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) {
uint8 *work;
int i;
@@ -218,5 +217,3 @@
}
}
}
-//#endif
-
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