mirror of
https://github.com/italicsjenga/agb.git
synced 2025-01-11 09:31:34 +11:00
fix chicken example
This commit is contained in:
parent
a39363b6ae
commit
ec161d9161
|
@ -48,7 +48,7 @@ pub fn main() -> ! {
|
||||||
let vblank = gba.display.vblank.get();
|
let vblank = gba.display.vblank.get();
|
||||||
let mut input = agb::input::ButtonController::new();
|
let mut input = agb::input::ButtonController::new();
|
||||||
|
|
||||||
gfx.set_sprite_palette(&CHICKEN_PALETTE);
|
gfx.set_sprite_palette_raw(&CHICKEN_PALETTE);
|
||||||
gfx.set_sprite_tilemap(&CHICKEN_TILES);
|
gfx.set_sprite_tilemap(&CHICKEN_TILES);
|
||||||
|
|
||||||
gfx.set_background_palette_raw(&MAP_PALETTE);
|
gfx.set_background_palette_raw(&MAP_PALETTE);
|
||||||
|
|
Loading…
Reference in a new issue