Skip to content

Commit ed6bb79

Browse files
ZERICO2005mateoconlechuga
authored andcommitted
optimized LIB_FLAGS init code
1 parent 1e83326 commit ed6bb79

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/libload/libload.asm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,10 @@ disable_relocations
117117

118118
ld (error_sp), sp
119119

120-
res is_dep, (iy + LIB_FLAGS)
121-
res optional, (iy + LIB_FLAGS)
120+
ld (iy + LIB_FLAGS), c ; C is zero here
121+
; res is_dep, (iy + LIB_FLAGS)
122+
; res optional, (iy + LIB_FLAGS)
123+
122124
ld a, (hl)
123125
cp a, REQ_LIB_MARKER
124126
jr z, start

0 commit comments

Comments
 (0)