projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6a8ca7
)
update: video adjust scroll now hapens in game update state instead of blank
author
Lukas Krickl
<lukas@krickl.dev>
Tue, 23 Sep 2025 17:08:16 +0000
(19:08 +0200)
committer
Lukas Krickl
<lukas@krickl.dev>
Tue, 23 Sep 2025 17:08:16 +0000
(19:08 +0200)
src/update.s
patch
|
blob
|
history
src/video.s
patch
|
blob
|
history
diff --git
a/src/update.s
b/src/update.s
index 016a04b94f2745ae1e02ea1f143a2984b2e8b027..d286ec0912911f5684eb4b1c90092f645d69bd39 100644
(file)
--- a/
src/update.s
+++ b/
src/update.s
@@
-7,11
+7,14
@@
update_game:
; clear oam
call shadow_oam_clear
+
+ call video_map_adjust_scroll
call player_draw
call player_update
call actor_update_all
+
ret
diff --git
a/src/video.s
b/src/video.s
index 408ff45e1496ef0b60a4a05928ee3a77fab2cea0..023252457df88f4d7c9c1191a318b526786d0745 100644
(file)
--- a/
src/video.s
+++ b/
src/video.s
@@
-24,11
+24,7
@@
vblank:
; dma previous frame's oam
call OAMDMAFN
-
call scroll_write
-
-
- call video_map_adjust_scroll
ld a, 1
ld [frame_ready], a