aboutsummaryrefslogtreecommitdiff
path: root/graphics/scaler
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2011-06-10 20:30:49 +0200
committerCeRiAl2011-06-10 21:31:03 +0200
commita1f12c25cae2dbcc8a904d628827dd4789b738cc (patch)
tree65f51a1c8201942be0011b8b3bf389b7fd97ee67 /graphics/scaler
parentef3484646a837ff898fe1e4e2d203f8c0ce4b6af (diff)
downloadscummvm-rg350-a1f12c25cae2dbcc8a904d628827dd4789b738cc.tar.gz
scummvm-rg350-a1f12c25cae2dbcc8a904d628827dd4789b738cc.tar.bz2
scummvm-rg350-a1f12c25cae2dbcc8a904d628827dd4789b738cc.zip
ARM: Fix normal2x scaler for width % 4 != 0
The first jump to 'thin:' didn't leave r14 (remaining width) in the right state.
Diffstat (limited to 'graphics/scaler')
-rw-r--r--graphics/scaler/Normal2xARM.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/scaler/Normal2xARM.s b/graphics/scaler/Normal2xARM.s
index 9afe3f34f0..e3592295e0 100644
--- a/graphics/scaler/Normal2xARM.s
+++ b/graphics/scaler/Normal2xARM.s
@@ -44,6 +44,7 @@ Normal2xARM:
ADD r3, r3, r6
yloop:
SUBS r14,r4, #4
+ ADDLT r14,r14, #4
BLT thin
xloop:
LDRH r6, [r0], #2