Skip to content

Commit 38b7fa5

Browse files
authored
Merge pull request #509 from boriel/bugfix/load_code_zx_next
Bugfix/load code zx next
2 parents 4ee05e7 + 1ae03e2 commit 38b7fa5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/arch/zxnext/library-asm/load.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ LOAD_CONT2:
109109
add hl, sp
110110
ld (TMP_SP), hl
111111
ld bc, -18
112-
add hl, sp
112+
add hl, bc
113113
ld sp, hl
114114

115115
LOAD_CONT3:
@@ -220,7 +220,7 @@ VR_CONT_1:
220220
inc hl
221221
ld h, (hl)
222222
ld l, a
223-
or h ; check start for zero (unespecified)
223+
or h ; check start for zero (unspecified)
224224
jr nz, VR_CONT_2 ; Jump if there was a start
225225

226226
ld l, (ix + 13) ; otherwise use destination in header

0 commit comments

Comments
 (0)