mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
cause vram gc to run before enabling mixer
this avoids the harsh sounds at the start of the game
This commit is contained in:
parent
dc722d5199
commit
ccec26706e
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue