aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS/Src
diff options
context:
space:
mode:
authorChris Apers2004-05-25 13:26:21 +0000
committerChris Apers2004-05-25 13:26:21 +0000
commitf29db9e03e272d555bf87ecbfaa187981585f647 (patch)
treedf40a60d2a0430fd2655eb4b297ee1754f05bc8d /backends/PalmOS/Src
parent7dcb1b76d90bcb96e83c1c60e5bd3cbccf7c61d3 (diff)
downloadscummvm-rg350-f29db9e03e272d555bf87ecbfaa187981585f647.tar.gz
scummvm-rg350-f29db9e03e272d555bf87ecbfaa187981585f647.tar.bz2
scummvm-rg350-f29db9e03e272d555bf87ecbfaa187981585f647.zip
Removed, new version coming
svn-id: r13866
Diffstat (limited to 'backends/PalmOS/Src')
-rw-r--r--backends/PalmOS/Src/arm/wide_landscape.cpp30
-rw-r--r--backends/PalmOS/Src/arm/wide_portrait.cpp43
2 files changed, 0 insertions, 73 deletions
diff --git a/backends/PalmOS/Src/arm/wide_landscape.cpp b/backends/PalmOS/Src/arm/wide_landscape.cpp
deleted file mode 100644
index 8590c8cd0e..0000000000
--- a/backends/PalmOS/Src/arm/wide_landscape.cpp
+++ /dev/null
@@ -1,30 +0,0 @@
-#include "PACEInterfaceLib.h"
-#include "ArmNative.h"
-#include "endianutils.h"
-#include "../shared.h"
-
-unsigned long OSystem_PALMOS_update_screen__wide_landscape(void *userData68KP) {
- DataOSysWidePtr dataP = (DataOSysWideType *)userData68KP;
-
- Coord x, y;
- UInt8 *dst = (UInt8 *)ReadUnaligned32(&(dataP->dst));
- UInt8 *src = (UInt8 *)ReadUnaligned32(&(dataP->src));
-
- for (y = 0; y < WIDE_HALF_HEIGHT; y++) {
- for (x = 0; x < WIDE_HALF_WIDTH; x++) {
- *dst++ = *src++;
- *dst++ = *src;
- *dst++ = *src++;
- }
- for (x = 0; x < WIDE_HALF_WIDTH; x++) {
- *dst++ = *src++;
- *dst++ = *src;
- *dst++ = *src++;
- }
-
- MemMove(dst, dst - 480, 480);
- dst += 480;
- }
-
- return 0;
-}
diff --git a/backends/PalmOS/Src/arm/wide_portrait.cpp b/backends/PalmOS/Src/arm/wide_portrait.cpp
deleted file mode 100644
index 7e4213137e..0000000000
--- a/backends/PalmOS/Src/arm/wide_portrait.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-#include "PACEInterfaceLib.h"
-#include "ArmNative.h"
-#include "endianutils.h"
-#include "../shared.h"
-
-unsigned long OSystem_PALMOS_update_screen__wide_portrait(void *userData68KP) {
- DataOSysWidePtr dataP = (DataOSysWideType *)userData68KP;
-
- Coord x, y;
- UInt8 *dst = (UInt8 *)ReadUnaligned32(&(dataP->dst));
- UInt8 *src1 = (UInt8 *)ReadUnaligned32(&(dataP->src));
- UInt8 *src2 = src1;
-
- for (x = 0; x < WIDE_HALF_WIDTH; x++)
- {
- for (y = 0; y < WIDE_HALF_HEIGHT; y++)
- {
- *dst++ = *src1;
- src1 += WIDE_PITCH;
- *dst++ = *src1;
- *dst++ = *src1;
- src1 += WIDE_PITCH;
- }
- src1 = --src2;
- dst += 20; // we draw 200pix scaled to 1.5 = 300, screen width=320, so next is 20
-
- for (y = 0; y < WIDE_HALF_HEIGHT; y++)
- {
- *dst++ = *src1;
- src1 += WIDE_PITCH;
- *dst++ = *src1;
- *dst++ = *src1;
- src1 += WIDE_PITCH;
- }
- src1 = --src2;
- dst += 20;
-
- MemMove(dst, dst - WIDE_PITCH, 300); // 300 = 200 x 1.5
- dst += WIDE_PITCH;
- }
-
- return 0;
-} \ No newline at end of file