diff options
author | 2008-03-10 02:29:15 +0000 | |
---|---|---|
committer | 2008-03-10 02:29:15 +0000 | |
commit | 0862cce4533c015cbfe078d63ae5c0cdabdf0c8b (patch) | |
tree | 86842e0b9d77e245d85cec75fc12478267b4fce8 /src/emu/inptport.c | |
parent | 198f401cf544c3148f650e1447a49feb9ccdcc09 (diff) |
Replaced the following macros (SMH == static memory handler)
MRA*_BANK*/MRA*_BANK* -> SMH_BANK*
MRA*_RAM/MRA*_ROM -> SMH_RAM
MRA*_ROM/MWA*_ROM -> SMH_ROM
MRA*_NOP/MWA*_NOP -> SMH_NOP
MRA*_UNMAP/MWA*_UNMAP -> SMH_UNMAP
This removes the silly need for a bunch of redundant constants
with faux type definitions that didn't buy anything.
Moved some memory system constants into memory.c.
Diffstat (limited to 'src/emu/inptport.c')
-rw-r--r-- | src/emu/inptport.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/inptport.c b/src/emu/inptport.c index 25f65786080..acf1f862fa7 100644 --- a/src/emu/inptport.c +++ b/src/emu/inptport.c @@ -2578,27 +2578,27 @@ int port_tag_to_index(const char *tag) read8_machine_func port_tag_to_handler8(const char *tag) { int port = port_tag_to_index(tag); - return (port == -1) ? MRA8_NOP : port_handler8[port]; + return (port == -1) ? SMH_NOP : port_handler8[port]; } read16_machine_func port_tag_to_handler16(const char *tag) { int port = port_tag_to_index(tag); - return (port == -1) ? MRA16_NOP : port_handler16[port]; + return (port == -1) ? SMH_NOP : port_handler16[port]; } read32_machine_func port_tag_to_handler32(const char *tag) { int port = port_tag_to_index(tag); - return (port == -1) ? MRA32_NOP : port_handler32[port]; + return (port == -1) ? SMH_NOP : port_handler32[port]; } read64_machine_func port_tag_to_handler64(const char *tag) { - return MRA64_NOP; + return SMH_NOP; } |