mirror of
https://github.com/emmanuel-marty/lzsa.git
synced 2024-11-28 14:50:44 +00:00
Remove unnecessary "ADDB #$18" as register B will always have this value from 6809 LZSA2 depacker
This commit is contained in:
parent
6a47ed7f41
commit
e9540b2e3d
@ -141,8 +141,7 @@ lz2repof ldd #$aaaa ; load match offset
|
|||||||
cmpb #$18 ; MIN_MATCH_SIZE_V2 + MATCH_RUN_LEN_V2 + 15?
|
cmpb #$18 ; MIN_MATCH_SIZE_V2 + MATCH_RUN_LEN_V2 + 15?
|
||||||
bne lz2gotln ; if not, we have the full match length, go copy
|
bne lz2gotln ; if not, we have the full match length, go copy
|
||||||
|
|
||||||
ldb ,x+ ; load extra length byte
|
addb ,x+ ; add extra length byte + MIN_MATCH_SIZE_V2 + MATCH_RUN_LEN_V2 + 15
|
||||||
addb #$18 ; add MIN_MATCH_SIZE_V2 + MATCH_RUN_LEN_V2 + 15
|
|
||||||
bcc lz2gotln ; if no overflow, we have the full length
|
bcc lz2gotln ; if no overflow, we have the full length
|
||||||
beq lz2done ; detect EOD code
|
beq lz2done ; detect EOD code
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user