projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75c6866
)
actsave: fixed bug when calculating act sg pointer
author
Lukas Krickl
<lukas@krickl.dev>
Fri, 22 Aug 2025 17:34:50 +0000
(19:34 +0200)
committer
Lukas Krickl
<lukas@krickl.dev>
Fri, 22 Aug 2025 17:34:50 +0000
(19:34 +0200)
src/actsave.s
patch
|
blob
|
history
diff --git
a/src/actsave.s
b/src/actsave.s
index 437f642171df08630fb1912c6f48894e0e331feb..e9a90f0933ece3c8365f3fab8720b9da4081f614 100644
(file)
--- 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
n
z, @loop REL
@done:
push hl
pop bc ; we want return value in bc