From e0ae13230e797015d9b2d6afe0c0ae611f15f108 Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Fri, 22 Aug 2025 19:34:50 +0200 Subject: [PATCH] actsave: fixed bug when calculating act sg pointer --- src/actsave.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actsave.s b/src/actsave.s index 437f642..e9a90f0 100644 --- a/src/actsave.s +++ b/src/actsave.s @@ -24,7 +24,7 @@ act_sg_load_current_slot: @loop: add hl, de dec a - jr z, @loop REL + jr nz, @loop REL @done: push hl pop bc ; we want return value in bc -- 2.30.2