Print frame which shows issue

This commit is contained in:
Gwilym Kuiper 2022-04-23 22:48:05 +01:00
parent b78b888ce3
commit a562a4f600

View file

@ -47,7 +47,17 @@ fn main(mut gba: agb::Gba) -> ! {
bg.commit();
bg.show();
let mut frame = 0;
loop {
vblank.wait_for_vblank();
let mut writer = FONT.render_text((4u16, 0u16).into(), 1, 2, &mut bg, &mut vram);
writeln!(&mut writer, "Frame {}", frame).unwrap();
writer.commit();
bg.commit();
frame += 1;
}
}