diff --git a/asm/z80/unlzsa1_fast.asm b/asm/z80/unlzsa1_fast.asm index a042e69..2b490b4 100644 --- a/asm/z80/unlzsa1_fast.asm +++ b/asm/z80/unlzsa1_fast.asm @@ -158,7 +158,7 @@ LongerMatch: ex (sp),hl : NEXT_HL : add (hl) : jr nc,CopyMatch2 ; the two-byte match length equal to zero ; designates the end-of-data marker ld a,b : or c : jr nz,CopyMatch2.UseC - pop hl : ret + pop bc : ret ELSE @@ -190,7 +190,7 @@ VeryLongMatch: ; the codes are designed to overflow; ; the two-byte match length equal to zero ; designates the end-of-data marker ld a,b : or c : jr nz,LongerMatch.UseC - pop hl : ret + pop bc : ret ENDIF