From f3c4593a516ad71e13be032e153338db7674ac0a Mon Sep 17 00:00:00 2001 From: Corwin Date: Tue, 18 Apr 2023 20:25:31 +0100 Subject: [PATCH] move mixer frame --- examples/the-purple-night/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/the-purple-night/src/lib.rs b/examples/the-purple-night/src/lib.rs index a116061d..5c370ab8 100644 --- a/examples/the-purple-night/src/lib.rs +++ b/examples/the-purple-night/src/lib.rs @@ -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);