From c5a274455050239c48a9937adf62a6d2ccb529e7 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Sat, 1 Nov 2014 12:58:18 +0100 Subject: fix build --- source/apumem.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/apumem.h') diff --git a/source/apumem.h b/source/apumem.h index 686126c..27d9bfd 100644 --- a/source/apumem.h +++ b/source/apumem.h @@ -93,7 +93,7 @@ extern uint8 W4; extern uint8 APUROM[64]; -uint8 S9xAPUGetByteZ(uint8 Address) +INLINE uint8 S9xAPUGetByteZ(uint8 Address) { if (Address >= 0xf0 && IAPU.DirectPage == IAPU.RAM) { @@ -124,7 +124,7 @@ uint8 S9xAPUGetByteZ(uint8 Address) return (IAPU.DirectPage [Address]); } -void S9xAPUSetByteZ(uint8 byte, uint8 Address) +INLINE void S9xAPUSetByteZ(uint8 byte, uint8 Address) { if (Address >= 0xf0 && IAPU.DirectPage == IAPU.RAM) { @@ -150,7 +150,7 @@ void S9xAPUSetByteZ(uint8 byte, uint8 Address) IAPU.DirectPage [Address] = byte; } -uint8 S9xAPUGetByte(uint32 Address) +INLINE uint8 S9xAPUGetByte(uint32 Address) { Address &= 0xffff; @@ -182,7 +182,7 @@ uint8 S9xAPUGetByte(uint32 Address) return (IAPU.RAM [Address]); } -void S9xAPUSetByte(uint8 byte, uint32 Address) +INLINE void S9xAPUSetByte(uint8 byte, uint32 Address) { Address &= 0xffff; -- cgit v1.2.3