mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 16:21:33 +11:00
fix syscall example
This commit is contained in:
parent
0dc5d620c7
commit
6b78a99211
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue