aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/scumm/costume.cpp2
-rw-r--r--engines/scumm/proc3ARM.s2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/costume.cpp b/engines/scumm/costume.cpp
index caa348460f..6fc2b20395 100644
--- a/engines/scumm/costume.cpp
+++ b/engines/scumm/costume.cpp
@@ -420,7 +420,7 @@ extern "C" int ClassicProc3RendererShadowARM(int _scaleY,
int _scaleX,
int _scaleIndexX,
byte *_shadow_table,
- byte _palette[32],
+ uint16 _palette[32],
int32 _numStrips,
int _scaleIndexY);
#endif
diff --git a/engines/scumm/proc3ARM.s b/engines/scumm/proc3ARM.s
index 4194432d6e..8b3e31f5f8 100644
--- a/engines/scumm/proc3ARM.s
+++ b/engines/scumm/proc3ARM.s
@@ -246,7 +246,7 @@ innerloop:
BNE masked
@ stall
- LDRB r14,[r14,r1] @ r14 = pcolor = _palette[color]
+ LDRB r14,[r14,r1,lsl#1] @ r14 = pcolor = _palette[color]
@ stall
@ stall
CMP r14,#13 @ if (pcolor == 13)