From: Lukas Krickl Date: Thu, 3 Jul 2025 15:50:53 +0000 (+0200) Subject: bug: fixed shadow oam alignment. this caused DMA not behave wrongly. X-Git-Url: https://git.krickl.dev/?a=commitdiff_plain;h=fcedba6e7defc1ef5d2b5d3414c5810c5b0194b8;p=gbrg%2F.git bug: fixed shadow oam alignment. this caused DMA not behave wrongly. --- diff --git a/src/wram.s b/src/wram.s index 516f054..18b71bf 100644 --- 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