From 6889b8760509b3272157210a91d9f1f4fb677f32 Mon Sep 17 00:00:00 2001 From: matusz Date: Fri, 17 Apr 2009 14:54:25 +0000 Subject: [PATCH] adding FASTCALLs to make function definitions consistent with structs --- desmume/src/MMU.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/desmume/src/MMU.cpp b/desmume/src/MMU.cpp index 57c094de6..3ebdfd304 100644 --- a/desmume/src/MMU.cpp +++ b/desmume/src/MMU.cpp @@ -3998,32 +3998,32 @@ void mmu_select_savetype(int type, int *bmemtype, u32 *bmemsize) { //////////////////////////////////////////////////////////// //function pointer handlers for gdb stub stuff -static u16 arm9_prefetch16( void *data, u32 adr) { +static u16 FASTCALL arm9_prefetch16( void *data, u32 adr) { profile_memory_access( 1, adr, PROFILE_PREFETCH); return _MMU_read16(adr); } -static u32 arm9_prefetch32( void *data, u32 adr) { +static u32 FASTCALL arm9_prefetch32( void *data, u32 adr) { profile_memory_access( 1, adr, PROFILE_PREFETCH); return _MMU_read32(adr); } -static u8 arm9_read8( void *data, u32 adr) { +static u8 FASTCALL arm9_read8( void *data, u32 adr) { profile_memory_access( 1, adr, PROFILE_READ); return _MMU_read08(adr); } -static u16 arm9_read16( void *data, u32 adr) { +static u16 FASTCALL arm9_read16( void *data, u32 adr) { profile_memory_access( 1, adr, PROFILE_READ); return _MMU_read16(adr); } -static u32 arm9_read32( void *data, u32 adr) { +static u32 FASTCALL arm9_read32( void *data, u32 adr) { profile_memory_access( 1, adr, PROFILE_READ); return _MMU_read32(adr); } -static void arm9_write8(void *data, u32 adr, u8 val) { +static void FASTCALL arm9_write8(void *data, u32 adr, u8 val) { profile_memory_access( 1, adr, PROFILE_WRITE); _MMU_write08(adr, val); }