aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/scumm/gfxARM.s5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/scumm/gfxARM.s b/engines/scumm/gfxARM.s
index caefa7175a..24f627647a 100644
--- a/engines/scumm/gfxARM.s
+++ b/engines/scumm/gfxARM.s
@@ -116,7 +116,8 @@ end:
@ extern "C" void asmCopy8Col(byte *dst,
@ int dstPitch,
@ const byte *src,
- @ int height);
+ @ int height,
+ @ int bitdepth);
@
@ In addition, we assume that src and dst are both word (4 byte)
@ aligned. This is the same assumption that the old 'inline' version
@@ -126,7 +127,7 @@ asmCopy8Col:
@ r1 = dstPitch
@ r2 = src
@ r3 = height
- @ <> = bitdepth
+ @ <> = bitdepth (badly named, should be bytedepth, 1 or 2)
LDR r12,[r13]
STR r14,[r13,#-4]!
CMP r12,#1