diff options
author | 2014-09-18 04:30:33 +0000 | |
---|---|---|
committer | 2014-09-18 04:30:33 +0000 | |
commit | b888f5e86ecb89ad56a0dee4d0b88f8913f03a16 (patch) | |
tree | b7578830864ffa89950100fbd48fe032f8159a8b /src/emu/cpu/m6502 | |
parent | 66e0b0128b99b9df982f60075fa437c18c789aa7 (diff) |
Magic strings, just say no (nw)
Diffstat (limited to 'src/emu/cpu/m6502')
-rw-r--r-- | src/emu/cpu/m6502/m5074x.c | 2 | ||||
-rw-r--r-- | src/emu/cpu/m6502/m5074x.h | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/emu/cpu/m6502/m5074x.c b/src/emu/cpu/m6502/m5074x.c index ed9d02a2174..b3ffc1dee88 100644 --- a/src/emu/cpu/m6502/m5074x.c +++ b/src/emu/cpu/m6502/m5074x.c @@ -473,7 +473,7 @@ static ADDRESS_MAP_START( m50740_map, AS_PROGRAM, 8, m50740_device ) AM_RANGE(0x0000, 0x005f) AM_RAM AM_RANGE(0x00e0, 0x00e9) AM_READWRITE(ports_r, ports_w) AM_RANGE(0x00f9, 0x00ff) AM_READWRITE(tmrirq_r, tmrirq_w) - AM_RANGE(0x1400, 0x1fff) AM_ROM AM_REGION("internal", 0) + AM_RANGE(0x1400, 0x1fff) AM_ROM AM_REGION(M5074X_INTERNAL_ROM_REGION, 0) ADDRESS_MAP_END m50740_device::m50740_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : diff --git a/src/emu/cpu/m6502/m5074x.h b/src/emu/cpu/m6502/m5074x.h index 5b40a8ae4c3..b4192b1fce7 100644 --- a/src/emu/cpu/m6502/m5074x.h +++ b/src/emu/cpu/m6502/m5074x.h @@ -6,6 +6,14 @@ #include "m740.h" //************************************************************************** +// CONSTANTS +//************************************************************************** + +// internal ROM region +#define M5074X_INTERNAL_ROM_REGION "internal" +#define M5074X_INTERNAL_ROM(_tag) (_tag ":" M5074X_INTERNAL_ROM_REGION) + +//************************************************************************** // INTERFACE CONFIGURATION MACROS //************************************************************************** |