mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-25 01:01:34 +11:00
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:
commit
6f229b3426
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue