remove outer loop

This commit is contained in:
Corwin 2023-09-14 13:28:00 +01:00
parent c12ae4b5d9
commit 473181718b
No known key found for this signature in database

View file

@ -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) -> ! {
); );
} }
} }
}