projects
/
gbrg
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd0a603
)
bug: fixed shadow oam alignment. this caused DMA not behave wrongly.
author
Lukas Krickl
<lukas@krickl.dev>
Thu, 3 Jul 2025 15:50:53 +0000
(17:50 +0200)
committer
Lukas Krickl
<lukas@krickl.dev>
Thu, 3 Jul 2025 15:50:53 +0000
(17:50 +0200)
src/wram.s
patch
|
blob
|
history
diff --git
a/src/wram.s
b/src/wram.s
index 516f05443152ca598f8977c1741d63c9fdd36198..18b71bf506958d730fee675d078f53fe79a235e2 100644
(file)
--- a/
src/wram.s
+++ b/
src/wram.s
@@
-1,15
+1,15
@@
.org WRAM
.section wram
+; needs to be at the start or alinged properly for DMA!
+shadow_oam: .adv OBJSMAX * oamsize
+shadow_oam_end:
+
; temporary variables
; that can be used by any routine
; as storage
scratch: .adv 16
-
-shadow_oam: .adv OBJSMAX * oamsize
-shadow_oam_end:
-
frame_ready: .adv 1
frame_count: .adv 1