diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2010-02-03 18:22:12 +0100 |
---|---|---|
committer | Segher Boessenkool <segher@kernel.crashing.org> | 2010-02-03 18:22:12 +0100 |
commit | 22f06280b73d93e4b2287ee81e03dba17a0def07 (patch) | |
tree | e31a75f58bfd5cc7b52613b865e7f2a2eb9ff19e | |
parent | b47823644d01754ccb906037d6029b43b3e480d8 (diff) |
Remove some useless inlines
-rw-r--r-- | emu.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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]; } |