mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
fix syscall example
This commit is contained in:
parent
0dc5d620c7
commit
6b78a99211
|
@ -6,8 +6,8 @@ use gba::{display, syscall};
|
||||||
|
|
||||||
#[start]
|
#[start]
|
||||||
fn main(_argc: isize, _argv: *const *const u8) -> isize {
|
fn main(_argc: isize, _argv: *const *const u8) -> isize {
|
||||||
let gba = gba::Gba::new();
|
let mut gba = gba::Gba::new();
|
||||||
let bitmap = gba.display.bitmap3();
|
let mut bitmap = gba.display.video.bitmap3();
|
||||||
|
|
||||||
for x in 0..display::WIDTH {
|
for x in 0..display::WIDTH {
|
||||||
let y = syscall::sqrt(x << 6);
|
let y = syscall::sqrt(x << 6);
|
||||||
|
|
Loading…
Reference in a new issue