mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
remove outer loop
This commit is contained in:
parent
c12ae4b5d9
commit
473181718b
|
@ -24,7 +24,6 @@ fn entry(gba: agb::Gba) -> ! {
|
||||||
fn main(mut gba: agb::Gba) -> ! {
|
fn main(mut gba: agb::Gba) -> ! {
|
||||||
let (mut unmanaged, _sprites) = gba.display.object.get_unmanaged();
|
let (mut unmanaged, _sprites) = gba.display.object.get_unmanaged();
|
||||||
|
|
||||||
loop {
|
|
||||||
let mut palette = [0x0; 16];
|
let mut palette = [0x0; 16];
|
||||||
palette[1] = 0xFF_FF;
|
palette[1] = 0xFF_FF;
|
||||||
palette[2] = 0x00_FF;
|
palette[2] = 0x00_FF;
|
||||||
|
@ -96,4 +95,3 @@ fn main(mut gba: agb::Gba) -> ! {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in a new issue