summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/maygaysw.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-03-13 07:36:43 +0100
committer Olivier Galibert <galibert@pobox.com>2018-03-14 14:07:14 +0100
commit115bb9936c5cd3faf955d7eb1e251a94e4744b7b (patch)
treef0230f547f6c750f9974c61479eef28cbe4ad571 /src/mame/drivers/maygaysw.cpp
parentf155992daab88ad024cec995428a67108218b51d (diff)
Address maps macros removal, pass 1 [O. Galibert]
Diffstat (limited to 'src/mame/drivers/maygaysw.cpp')
-rw-r--r--src/mame/drivers/maygaysw.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/mame/drivers/maygaysw.cpp b/src/mame/drivers/maygaysw.cpp
index 3ca68e2b38f..bb311f47325 100644
--- a/src/mame/drivers/maygaysw.cpp
+++ b/src/mame/drivers/maygaysw.cpp
@@ -115,12 +115,13 @@ public:
-ADDRESS_MAP_START(maygayew_state::maygayew_map)
- AM_RANGE(0x000000, 0x03ffff) AM_ROM AM_REGION("mainrom",0)
- AM_RANGE(0x100000, 0x13ffff) AM_ROM AM_REGION("mainrom",0)
- AM_RANGE(0x200000, 0x23ffff) AM_ROM AM_REGION("mainrom",0)
- AM_RANGE(0xff0000, 0xffffff) AM_RAM
-ADDRESS_MAP_END
+void maygayew_state::maygayew_map(address_map &map)
+{
+ map(0x000000, 0x03ffff).rom().region("mainrom", 0);
+ map(0x100000, 0x13ffff).rom().region("mainrom", 0);
+ map(0x200000, 0x23ffff).rom().region("mainrom", 0);
+ map(0xff0000, 0xffffff).ram();
+}
static INPUT_PORTS_START( maygayew )