Fixing compilation for linux.

This commit is contained in:
yabause 2008-12-28 19:01:21 +00:00
parent 49b10c65e3
commit e074ab18e0
2 changed files with 12 additions and 12 deletions

View File

@ -56,13 +56,13 @@ static u8 FASTCALL _MMU_ARM7_read08(u32 adr);
static u16 FASTCALL _MMU_ARM7_read16(u32 adr); static u16 FASTCALL _MMU_ARM7_read16(u32 adr);
static u32 FASTCALL _MMU_ARM7_read32(u32 adr); static u32 FASTCALL _MMU_ARM7_read32(u32 adr);
u8 (*_MMU_read08[2])(u32 addr) = {_MMU_ARM9_read08, _MMU_ARM7_read08}; u8 (* FASTCALL _MMU_read08[2])(u32 addr) = {_MMU_ARM9_read08, _MMU_ARM7_read08};
u16 (*_MMU_read16[2])(u32 addr) = {_MMU_ARM9_read16, _MMU_ARM7_read16}; u16 (* FASTCALL _MMU_read16[2])(u32 addr) = {_MMU_ARM9_read16, _MMU_ARM7_read16};
u32 (*_MMU_read32[2])(u32 addr) = {_MMU_ARM9_read32, _MMU_ARM7_read32}; u32 (* FASTCALL _MMU_read32[2])(u32 addr) = {_MMU_ARM9_read32, _MMU_ARM7_read32};
void (*_MMU_write08[2])(u32 addr, u8 val) = {_MMU_ARM9_write08, _MMU_ARM7_write08}; void (* FASTCALL _MMU_write08[2])(u32 addr, u8 val) = {_MMU_ARM9_write08, _MMU_ARM7_write08};
void (*_MMU_write16[2])(u32 addr, u16 val) = {_MMU_ARM9_write16, _MMU_ARM7_write16}; void (* FASTCALL _MMU_write16[2])(u32 addr, u16 val) = {_MMU_ARM9_write16, _MMU_ARM7_write16};
void (*_MMU_write32[2])(u32 addr, u32 val) = {_MMU_ARM9_write32, _MMU_ARM7_write32}; void (* FASTCALL _MMU_write32[2])(u32 addr, u32 val) = {_MMU_ARM9_write32, _MMU_ARM7_write32};
//http://home.utah.edu/~nahaj/factoring/isqrt.c.html //http://home.utah.edu/~nahaj/factoring/isqrt.c.html
static u64 isqrt (u64 x) { static u64 isqrt (u64 x) {

View File

@ -177,13 +177,13 @@ extern struct armcpu_memory_iface arm9_direct_memory_iface;
extern u8 *MMU_RenderMapToLCD(u32 vram_addr); extern u8 *MMU_RenderMapToLCD(u32 vram_addr);
extern u8 (*_MMU_read08[2])(u32 addr); extern u8 (* FASTCALL _MMU_read08[2])(u32 addr);
extern u16 (*_MMU_read16[2])(u32 addr); extern u16 (* FASTCALL _MMU_read16[2])(u32 addr);
extern u32 (*_MMU_read32[2])(u32 addr); extern u32 (* FASTCALL _MMU_read32[2])(u32 addr);
extern void (*_MMU_write08[2])(u32 addr, u8 val); extern void (* FASTCALL _MMU_write08[2])(u32 addr, u8 val);
extern void (*_MMU_write16[2])(u32 addr, u16 val); extern void (* FASTCALL _MMU_write16[2])(u32 addr, u16 val);
extern void (*_MMU_write32[2])(u32 addr, u32 val); extern void (* FASTCALL _MMU_write32[2])(u32 addr, u32 val);
#ifdef MMU_ENABLE_ACL #ifdef MMU_ENABLE_ACL