diff options
author | Kostas Nakos | 2007-10-28 18:09:34 +0000 |
---|---|---|
committer | Kostas Nakos | 2007-10-28 18:09:34 +0000 |
commit | bb8ad040a5fa9d6cfbef10de2bdfa00c51dfe446 (patch) | |
tree | 822168a4f62760ffd9424110896a713548a7b5d3 /backends/platform | |
parent | 5a77a2624f34a198acbd2dff19d27ad2502c66b7 (diff) | |
download | scummvm-rg350-bb8ad040a5fa9d6cfbef10de2bdfa00c51dfe446.tar.gz scummvm-rg350-bb8ad040a5fa9d6cfbef10de2bdfa00c51dfe446.tar.bz2 scummvm-rg350-bb8ad040a5fa9d6cfbef10de2bdfa00c51dfe446.zip |
formatting fixes
svn-id: r29302
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/wince/CEScaler.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/backends/platform/wince/CEScaler.cpp b/backends/platform/wince/CEScaler.cpp index bb1aaec0be..d225b908c9 100644 --- a/backends/platform/wince/CEScaler.cpp +++ b/backends/platform/wince/CEScaler.cpp @@ -129,22 +129,22 @@ void PocketPCLandscapeAspect(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr #ifdef ARM extern "C" { - void PocketPCHalfARM(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height, int mask, int round); - // Rounding constants and masks used for different pixel formats - int roundingconstants[] = { 0x00200802, 0x00201002 }; - int redbluegreenMasks[] = { 0x03E07C1F, 0x07E0F81F }; + void PocketPCHalfARM(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height, int mask, int round); + // Rounding constants and masks used for different pixel formats + int roundingconstants[] = { 0x00200802, 0x00201002 }; + int redbluegreenMasks[] = { 0x03E07C1F, 0x07E0F81F }; } #endif void PocketPCHalf(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) { #ifdef ARM - PocketPCHalfARM(srcPtr, srcPitch, dstPtr, dstPitch, width, height, redbluegreenMasks[maskUsed],roundingconstants[maskUsed]); + PocketPCHalfARM(srcPtr, srcPitch, dstPtr, dstPitch, width, height, redbluegreenMasks[maskUsed],roundingconstants[maskUsed]); #else uint8 *work; int i; uint16 srcPitch16 = (uint16)(srcPitch / sizeof(uint16)); - while ((height-=2) >= 0) { + while ((height -= 2) >= 0) { i = 0; work = dstPtr; |