Template should use agb::entry rather than no_mangle

This commit is contained in:
Gwilym Kuiper 2021-08-07 18:27:10 +01:00
parent 7b122b431a
commit 6526651bb2

View file

@ -4,7 +4,7 @@
extern crate agb; extern crate agb;
use agb::{display, syscall}; use agb::{display, syscall};
#[no_mangle] #[agb::entry]
pub fn main() -> ! { pub fn main() -> ! {
let mut gba = agb::Gba::new(); let mut gba = agb::Gba::new();
let mut bitmap = gba.display.video.bitmap3(); let mut bitmap = gba.display.video.bitmap3();