summaryrefslogtreecommitdiff
path: root/_inc
diff options
context:
space:
mode:
authorClownacy <Clownacy@users.noreply.github.com>2018-11-14 16:10:38 +0000
committerClownacy <Clownacy@users.noreply.github.com>2018-11-14 16:10:38 +0000
commitf0f88bfba0c028cf3a069729f1fbdc02a5e681a2 (patch)
tree260c5f6a7d5530367c82d458158c42423b51c3df /_inc
parentc4fd84dd5ba90442cc953f81de43beb858c8e91f (diff)
parent1f63340ecd42cefd51c48c4dab12596bb682f52d (diff)
Merge branch 'master' into AS
Diffstat (limited to '_inc')
-rw-r--r--_inc/Nemesis Decompression.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/_inc/Nemesis Decompression.asm b/_inc/Nemesis Decompression.asm
index b789af3..2859f8b 100644
--- a/_inc/Nemesis Decompression.asm
+++ b/_inc/Nemesis Decompression.asm
@@ -207,8 +207,8 @@ NemBCT_Loop:
; so if 11000 is a valid code then all indices of the form 11000XXX need to have the same entry
NemBCT_ShortCode:
move.b (a0)+,d0 ; get code
- add.w d0,d0 ; shift so that high bit is in bit position 7
lsl.w d1,d0 ; get index into code table
+ add.w d0,d0 ; shift so that high bit is in bit position 7
moveq #1,d5
lsl.w d1,d5
subq.w #1,d5 ; d5 = 2^d1 - 1