aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS/Src/arm
diff options
context:
space:
mode:
authorChris Apers2004-10-06 09:36:01 +0000
committerChris Apers2004-10-06 09:36:01 +0000
commit1f197548f2d5cf4017dd4ccb8d649d09329d9c3c (patch)
treeb76042d3366c59e4116b354d51d90b9c34c3d471 /backends/PalmOS/Src/arm
parenta5e47bf68773699eb58fbeb9c651fdaa0b24eeab (diff)
downloadscummvm-rg350-1f197548f2d5cf4017dd4ccb8d649d09329d9c3c.tar.gz
scummvm-rg350-1f197548f2d5cf4017dd4ccb8d649d09329d9c3c.tar.bz2
scummvm-rg350-1f197548f2d5cf4017dd4ccb8d649d09329d9c3c.zip
Not needed anymore
svn-id: r15428
Diffstat (limited to 'backends/PalmOS/Src/arm')
-rw-r--r--backends/PalmOS/Src/arm/proc3.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/backends/PalmOS/Src/arm/proc3.cpp b/backends/PalmOS/Src/arm/proc3.cpp
index 0d9d15e5cb..0e0aec4d2b 100644
--- a/backends/PalmOS/Src/arm/proc3.cpp
+++ b/backends/PalmOS/Src/arm/proc3.cpp
@@ -25,7 +25,6 @@ UInt32 CostumeRenderer_proc3(void *userData68KP) {
SET32 (int ,_outwidth )
SET32 (int ,_outheight )
SETPTR (byte * ,_shadow_table )
- SETPTR (byte * ,_vm_proc_special_palette )
SETPTR (byte * ,_palette )
SET8 (byte ,_shadow_mode )
@@ -70,7 +69,6 @@ UInt32 CostumeRenderer_proc3(void *userData68KP) {
len = *src++;
color = len >> v1.shr;
len &= v1.mask;
-
if (!len)
len = *src++;
@@ -82,7 +80,7 @@ UInt32 CostumeRenderer_proc3(void *userData68KP) {
// FIXME: Fully implement _shadow_mode.in Sam & Max
// For now, it's enough for transparency.
if (_shadow_mode & 0x20) {
- pcolor = _vm_proc_special_palette[*dst];
+ pcolor = _shadow_table[*dst];
} else {
pcolor = _palette[color];
if (pcolor == 13 && _shadow_table)
@@ -96,7 +94,8 @@ UInt32 CostumeRenderer_proc3(void *userData68KP) {
}
if (!--height) {
if (!--v1.skip_width)
- goto end_jump;
+ return _scaleIndexX;
+ //goto end_jump;
height = _height;
y = v1.y;
@@ -106,7 +105,8 @@ UInt32 CostumeRenderer_proc3(void *userData68KP) {
if (_scaleX == 255 || v1.scaletable[_scaleIndexX] < _scaleX) {
v1.x += v1.scaleXstep;
if (v1.x < 0 || v1.x >= _outwidth)
- goto end_jump;
+ return _scaleIndexX;
+ //goto end_jump;
maskbit = revBitMask[v1.x & 7];
v1.destptr += v1.scaleXstep;
}
@@ -118,9 +118,9 @@ UInt32 CostumeRenderer_proc3(void *userData68KP) {
} while (--len);
} while (1);
-end_jump:
+//end_jump:
// v1comp->x = ByteSwap32(v1.x);
// v1comp->destptr = (byte *)ByteSwap32(v1.destptr);
- return _scaleIndexX;
+// return _scaleIndexX;
} \ No newline at end of file