diff --git a/examples/syscall.rs b/examples/syscall.rs index 3c5effd7..ddec6530 100644 --- a/examples/syscall.rs +++ b/examples/syscall.rs @@ -6,8 +6,8 @@ use gba::{display, syscall}; #[start] fn main(_argc: isize, _argv: *const *const u8) -> isize { - let gba = gba::Gba::new(); - let bitmap = gba.display.bitmap3(); + let mut gba = gba::Gba::new(); + let mut bitmap = gba.display.video.bitmap3(); for x in 0..display::WIDTH { let y = syscall::sqrt(x << 6);