From dea906b681b097f3489e2c884ecb1eece980a9d8 Mon Sep 17 00:00:00 2001 From: zerico <71151164+ZERICO2005@users.noreply.github.com> Date: Wed, 11 Feb 2026 08:51:24 -0700 Subject: [PATCH] optimized LIB_FLAGS init code --- src/libload/libload.asm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libload/libload.asm b/src/libload/libload.asm index 07e452b03..340963103 100644 --- a/src/libload/libload.asm +++ b/src/libload/libload.asm @@ -117,8 +117,10 @@ disable_relocations ld (error_sp), sp - res is_dep, (iy + LIB_FLAGS) - res optional, (iy + LIB_FLAGS) + ld (iy + LIB_FLAGS), c ; C is zero here + ; res is_dep, (iy + LIB_FLAGS) + ; res optional, (iy + LIB_FLAGS) + ld a, (hl) cp a, REQ_LIB_MARKER jr z, start