Fix assembly when not using LZSA_SHORT_CP

This commit is contained in:
Emmanuel Marty 2020-01-08 10:40:26 +01:00 committed by GitHub
parent 315cda7b4f
commit aa122d1e05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,6 +203,8 @@ lzsa2_unpack: ldy #0 ; Initialize source index.
.incsrc1: .incsrc1:
inc <lzsa_srcptr + 1 inc <lzsa_srcptr + 1
bne .resume_src1 ; always taken bne .resume_src1 ; always taken
!if LZSA_SHORT_CP {
.incsrc2: .incsrc2:
inc <lzsa_srcptr + 1 inc <lzsa_srcptr + 1
bne .resume_src2 ; always taken bne .resume_src2 ; always taken
@ -213,6 +215,8 @@ lzsa2_unpack: ldy #0 ; Initialize source index.
} }
}
; ;
; Copy bytes from compressed source data. ; Copy bytes from compressed source data.
; ;