Merge pull request #102 from gwilymk/update-template-to-use-new-entrypoint

Template should use agb::entry rather than no_mangle
This commit is contained in:
Corwin 2021-08-08 12:05:39 +01:00 committed by GitHub
commit 6f229b3426
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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