cause vram gc to run before enabling mixer

this avoids the harsh sounds at the start of the game
This commit is contained in:
Corwin 2022-06-21 02:08:24 +01:00
parent dc722d5199
commit ccec26706e

View file

@ -807,6 +807,9 @@ fn main(mut agb: agb::Gba) -> ! {
);
loop {
world_display.commit(&mut vram);
world_display.show();
vram.set_background_palettes(tile_sheet::background.palettes);
let object = agb.display.object.get();