summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tryout.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-03-10 02:29:15 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-03-10 02:29:15 +0000
commit0862cce4533c015cbfe078d63ae5c0cdabdf0c8b (patch)
tree86842e0b9d77e245d85cec75fc12478267b4fce8 /src/mame/drivers/tryout.c
parent198f401cf544c3148f650e1447a49feb9ccdcc09 (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/mame/drivers/tryout.c')
-rw-r--r--src/mame/drivers/tryout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/tryout.c b/src/mame/drivers/tryout.c
index ea918f339db..0fc09475efe 100644
--- a/src/mame/drivers/tryout.c
+++ b/src/mame/drivers/tryout.c
@@ -68,7 +68,7 @@ static ADDRESS_MAP_START( main_cpu, ADDRESS_SPACE_PROGRAM, 8 )
AM_RANGE(0xe301, 0xe301) AM_WRITE(tryout_flipscreen_w)
AM_RANGE(0xe302, 0xe302) AM_WRITE(tryout_bankswitch_w)
AM_RANGE(0xe401, 0xe401) AM_WRITE(tryout_vram_bankswitch_w)
- AM_RANGE(0xe402, 0xe404) AM_WRITE(MWA8_RAM) AM_BASE(&tryout_gfx_control)
+ AM_RANGE(0xe402, 0xe404) AM_WRITE(SMH_RAM) AM_BASE(&tryout_gfx_control)
AM_RANGE(0xe414, 0xe414) AM_WRITE(tryout_sound_w)
AM_RANGE(0xe417, 0xe417) AM_WRITE(tryout_nmi_ack_w)
AM_RANGE(0xfff0, 0xffff) AM_ROM AM_REGION(REGION_CPU1, 0xbff0) /* resect vectors */