From fcedba6e7defc1ef5d2b5d3414c5810c5b0194b8 Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Thu, 3 Jul 2025 17:50:53 +0200 Subject: [PATCH] bug: fixed shadow oam alignment. this caused DMA not behave wrongly. --- src/wram.s | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.30.2