summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/apexc.cpp
diff options
context:
space:
mode:
authorGravatarGravatar Olivier Galibert <galibert@pobox.com>2018-03-13 07:36:43 +0100
committerGravatarGravatar Olivier Galibert <galibert@pobox.com>2018-03-14 14:07:14 +0100
commit115bb9936c5cd3faf955d7eb1e251a94e4744b7b (patch)
treef0230f547f6c750f9974c61479eef28cbe4ad571 /src/mame/drivers/apexc.cpp
parentf155992daab88ad024cec995428a67108218b51d (diff)
downloadmame-115bb9936c5cd3faf955d7eb1e251a94e4744b7b.tar.xz
mame-115bb9936c5cd3faf955d7eb1e251a94e4744b7b.zip
Address maps macros removal, pass 1 [O. Galibert]
Diffstat (limited to 'src/mame/drivers/apexc.cpp')
-rw-r--r--src/mame/drivers/apexc.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/apexc.cpp b/src/mame/drivers/apexc.cpp
index 5d202fe0bd9..f42a6eb6b19 100644
--- a/src/mame/drivers/apexc.cpp
+++ b/src/mame/drivers/apexc.cpp
@@ -844,10 +844,11 @@ static GFXDECODE_START( apexc )
GFXDECODE_END
-ADDRESS_MAP_START(apexc_state::apexc_mem_map)
- AM_RANGE(0x0000, 0x0fff) AM_RAM AM_SHARE("maincpu")
- AM_RANGE(0x1000, 0x7fff) AM_NOP
-ADDRESS_MAP_END
+void apexc_state::apexc_mem_map(address_map &map)
+{
+ map(0x0000, 0x0fff).ram().share("maincpu");
+ map(0x1000, 0x7fff).noprw();
+}
MACHINE_CONFIG_START(apexc_state::apexc)