summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2010-02-03 18:22:12 +0100
committerSegher Boessenkool <segher@kernel.crashing.org>2010-02-03 18:22:12 +0100
commit22f06280b73d93e4b2287ee81e03dba17a0def07 (patch)
treee31a75f58bfd5cc7b52613b865e7f2a2eb9ff19e
parentb47823644d01754ccb906037d6029b43b3e480d8 (diff)
Remove some useless inlines
-rw-r--r--emu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/emu.c b/emu.c
index 6cc69c7..0efd85e 100644
--- a/emu.c
+++ b/emu.c
@@ -81,7 +81,7 @@ static void store(u16 val, u32 addr)
printf("ROM STORE %04x to %04x\n", val, addr);
}
-static inline u16 load(u32 addr)
+static u16 load(u32 addr)
{
if (addr < 0x2800 || addr >= 0x4000) // RAM / ROM
return mem[addr];
@@ -95,7 +95,7 @@ static inline u16 load(u32 addr)
return io_load(addr);
}
-static inline u32 cs_pc(void)
+static u32 cs_pc(void)
{
return ((reg[6] & 0x3f) << 16) | reg[7];
}