Prevent multiple include errors

This commit is contained in:
Gwilym Inzani 2023-04-30 18:31:00 +01:00
parent 878402a5b6
commit fe23bee18b
4 changed files with 3 additions and 8 deletions

View file

@ -1,5 +1,8 @@
use core::arch::global_asm;
global_asm!(include_str!("asm_include.s"));
global_asm!(include_str!("crt0.s"));
global_asm!(include_str!("interrupt_handler.s"));
global_asm!(include_str!("sound/mixer/mixer.s"));
global_asm!(include_str!("save/asm_routines.s"));

View file

@ -1,5 +1,3 @@
.include "src/asm_include.s"
@
@ char WramReadByte(const char* offset);
@

View file

@ -90,16 +90,12 @@ use crate::sync::{Mutex, RawMutexGuard};
use crate::timer::Timer;
use core::ops::Range;
use core::arch::global_asm;
mod asm_utils;
mod eeprom;
mod flash;
mod sram;
mod utils;
global_asm!(include_str!("asm_routines.s"));
/// A list of save media types.
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Debug)]
#[non_exhaustive]

View file

@ -1,5 +1,3 @@
.include "src/asm_include.s"
.section .iwram.buffer_size
.global agb_rs__buffer_size
.balign 4