move mixer frame

This commit is contained in:
Corwin 2023-04-18 20:25:31 +01:00
parent 542e683dc8
commit f3c4593a51
No known key found for this signature in database

View file

@ -2266,8 +2266,8 @@ fn game_with_level(gba: &mut agb::Gba) {
);
start_at_boss = loop {
vblank.wait_for_vblank();
sfx.frame();
vblank.wait_for_vblank();
game.level.background.commit(&mut vram);
game.level.foreground.commit(&mut vram);
game.level.clouds.commit(&mut vram);