Fix initrd_fs not accounting for read_sector clobbering HL

This commit is contained in:
pjht 2023-02-05 11:05:21 -06:00
parent 5e4485a267
commit 6c9c9349b6
Signed by: pjht
GPG Key ID: 7B5F6AFBEC7EE78E

View File

@ -29,7 +29,7 @@ push de
ld b, 0 ; Load the filename length in BC ld b, 0 ; Load the filename length in BC
ld a, (0x8000) ld a, (0x8000)
ld c, a ld c, a
inc hl ld hl, 0x8001
ldir ldir
ld a, (hl) ld a, (hl)
ld (de), a ld (de), a