diff options
author | Willem Jan Palenstijn | 2011-06-10 20:30:49 +0200 |
---|---|---|
committer | CeRiAl | 2011-06-10 21:31:03 +0200 |
commit | a1f12c25cae2dbcc8a904d628827dd4789b738cc (patch) | |
tree | 65f51a1c8201942be0011b8b3bf389b7fd97ee67 /graphics/scaler | |
parent | ef3484646a837ff898fe1e4e2d203f8c0ce4b6af (diff) | |
download | scummvm-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.s | 1 |
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 |