projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
221643b
)
debug: fixed update tile rendereing
author
Lukas Krickl
<lukas@krickl.dev>
Thu, 20 Nov 2025 16:24:16 +0000
(17:24 +0100)
committer
Lukas Krickl
<lukas@krickl.dev>
Thu, 20 Nov 2025 16:24:16 +0000
(17:24 +0100)
src/debug.s
patch
|
blob
|
history
diff --git
a/src/debug.s
b/src/debug.s
index 416e2faaf43339fadea0421e669051a23aa5cc08..edd387ae202a6920250ebd4ead9fbf7610e4b085 100644
(file)
--- a/
src/debug.s
+++ b/
src/debug.s
@@
-95,7
+95,7
@@
debug_current_tile_draw:
ld a, [scroll_y]
ld b, a
- ld a, [
current
_tile_y]
+ ld a, [
update
_tile_y]
mul16 a
add a, OBJ_OFF_Y
sub a, b ; - scroll
@@
-105,7
+105,7
@@
debug_current_tile_draw:
ld a, [scroll_x]
ld b, a
- ld a, [
current
_tile_x]
+ ld a, [
update
_tile_x]
mul16 a
add a, OBJ_OFF_X
sub a, b ; - scroll x