aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wince
diff options
context:
space:
mode:
authorKostas Nakos2007-04-28 22:35:14 +0000
committerKostas Nakos2007-04-28 22:35:14 +0000
commit4a19a563af97ff4e7c3a6d4d972dc62470c2ab4e (patch)
tree2b5c8ddbdc5aa2e6269115e8b5b3ba6766e6e900 /backends/platform/wince
parentfe8d2a8e7f899858784464550423f0deb5470f6c (diff)
downloadscummvm-rg350-4a19a563af97ff4e7c3a6d4d972dc62470c2ab4e.tar.gz
scummvm-rg350-4a19a563af97ff4e7c3a6d4d972dc62470c2ab4e.tar.bz2
scummvm-rg350-4a19a563af97ff4e7c3a6d4d972dc62470c2ab4e.zip
bugfix aspect scaler
svn-id: r26667
Diffstat (limited to 'backends/platform/wince')
-rw-r--r--backends/platform/wince/CEScaler.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/backends/platform/wince/CEScaler.cpp b/backends/platform/wince/CEScaler.cpp
index 32c027f148..85151dafe5 100644
--- a/backends/platform/wince/CEScaler.cpp
+++ b/backends/platform/wince/CEScaler.cpp
@@ -95,7 +95,7 @@ void PocketPCLandscapeAspect(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr
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 @@ void PocketPCHalfZoom(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint3
}
}
-//#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 @@ void SmartphoneLandscape(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, ui
}
}
}
-//#endif
-