From 6b78a99211469a4ff0c9cbb37730af97ebcb7f8a Mon Sep 17 00:00:00 2001 From: Corwin Kuiper Date: Mon, 8 Mar 2021 01:59:54 +0000 Subject: [PATCH] fix syscall example --- examples/syscall.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);