Update the wave example

This commit is contained in:
Gwilym Kuiper 2022-01-23 20:03:59 +00:00
parent 38e57489a3
commit 472875edac

View file

@ -19,7 +19,9 @@ struct BackCosines {
fn main(mut gba: agb::Gba) -> ! { fn main(mut gba: agb::Gba) -> ! {
let mut gfx = gba.display.video.tiled0(); let mut gfx = gba.display.video.tiled0();
example_logo::display_logo(&mut gfx); let mut background = gfx.background();
example_logo::display_logo(&mut background, &mut gfx.vram);
let mut time = 0; let mut time = 0;
let cosines = [0_u16; 32]; let cosines = [0_u16; 32];