Also update the combo rom

This commit is contained in:
Gwilym Inzani 2023-04-18 20:29:45 +01:00
parent 6575a067b5
commit 1e0102d615
2 changed files with 7 additions and 18 deletions

View file

@ -1,16 +0,0 @@
version = "1.0"
[image.hat]
filename = "hat.png"
tile_size = "8x8"
transparent_colour = "121105"
[image.purple]
filename = "purple.png"
tile_size = "8x8"
transparent_colour = "121105"
[image.hyperspace]
filename = "hyperspace.png"
tile_size = "8x8"
transparent_colour = "121105"

View file

@ -12,7 +12,7 @@ use agb::{
Priority,
},
fixnum::{Num, Vector2D},
include_gfx,
include_background_gfx,
input::Button,
};
@ -42,7 +42,12 @@ impl Game {
}
}
include_gfx!("gfx/games.toml");
include_background_gfx!(
games, "121105",
hat => "gfx/hat.png",
purple => "gfx/purple.png",
hyperspace => "gfx/hyperspace.png"
);
fn get_game(gba: &mut agb::Gba) -> Game {
let mut input = agb::input::ButtonController::new();