diff --git a/src/lib.rs b/src/lib.rs index e171b2d..6c17365 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -55,6 +55,7 @@ pub mod bios; pub mod dma; pub mod gba_cell; pub mod gba_fixed; +pub mod mem; pub mod mmio; pub mod panic_handlers; pub mod per_project_setup; diff --git a/src/mem/copy.rs b/src/mem/copy.rs index 07bfd62..71c72af 100644 --- a/src/mem/copy.rs +++ b/src/mem/copy.rs @@ -13,7 +13,7 @@ #[inline] #[link_section = ".iwram.__aeabi_memcpy1"] #[cfg_attr(feature = "no_mangle_memcpy", no_mangle)] -#[cfg_addr(feature = "on_gba", instruction_set(arm::a32))] +#[cfg_attr(feature = "on_gba", instruction_set(arm::a32))] pub unsafe extern "C" fn __aeabi_memcpy1( dest: *mut u8, src: *const u8, byte_count: usize, ) {