mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-23 08:11:33 +11:00
Prevent multiple include errors
This commit is contained in:
parent
878402a5b6
commit
fe23bee18b
|
@ -1,5 +1,8 @@
|
||||||
use core::arch::global_asm;
|
use core::arch::global_asm;
|
||||||
|
|
||||||
|
global_asm!(include_str!("asm_include.s"));
|
||||||
|
|
||||||
global_asm!(include_str!("crt0.s"));
|
global_asm!(include_str!("crt0.s"));
|
||||||
global_asm!(include_str!("interrupt_handler.s"));
|
global_asm!(include_str!("interrupt_handler.s"));
|
||||||
global_asm!(include_str!("sound/mixer/mixer.s"));
|
global_asm!(include_str!("sound/mixer/mixer.s"));
|
||||||
|
global_asm!(include_str!("save/asm_routines.s"));
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
.include "src/asm_include.s"
|
|
||||||
|
|
||||||
@
|
@
|
||||||
@ char WramReadByte(const char* offset);
|
@ char WramReadByte(const char* offset);
|
||||||
@
|
@
|
||||||
|
|
|
@ -90,16 +90,12 @@ use crate::sync::{Mutex, RawMutexGuard};
|
||||||
use crate::timer::Timer;
|
use crate::timer::Timer;
|
||||||
use core::ops::Range;
|
use core::ops::Range;
|
||||||
|
|
||||||
use core::arch::global_asm;
|
|
||||||
|
|
||||||
mod asm_utils;
|
mod asm_utils;
|
||||||
mod eeprom;
|
mod eeprom;
|
||||||
mod flash;
|
mod flash;
|
||||||
mod sram;
|
mod sram;
|
||||||
mod utils;
|
mod utils;
|
||||||
|
|
||||||
global_asm!(include_str!("asm_routines.s"));
|
|
||||||
|
|
||||||
/// A list of save media types.
|
/// A list of save media types.
|
||||||
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Debug)]
|
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Debug)]
|
||||||
#[non_exhaustive]
|
#[non_exhaustive]
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
.include "src/asm_include.s"
|
|
||||||
|
|
||||||
.section .iwram.buffer_size
|
.section .iwram.buffer_size
|
||||||
.global agb_rs__buffer_size
|
.global agb_rs__buffer_size
|
||||||
.balign 4
|
.balign 4
|
||||||
|
|
Loading…
Reference in a new issue