Minor edit

Make returned values more predictable
This commit is contained in:
introspec
2021-04-07 19:54:23 +01:00
committed by GitHub
parent 004db30296
commit e9a85e92dc

View File

@@ -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