summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/maygaysw.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-02-01 10:04:01 +0100
committer Olivier Galibert <galibert@pobox.com>2018-02-12 10:04:52 +0100
commitc5219643162cb7d2a8688425a09008d28c8e2437 (patch)
treef2775ca3b1770ab0d3fb568f0bdd6d9212c68bf6 /src/mame/drivers/maygaysw.cpp
parent09b6ce46873b38de9030a3c0378ff327f17af881 (diff)
API change: Memory maps are now methods of the owner class [O. Galibert]
Also, a lot more freedom happened, that's going to be more visible soon.
Diffstat (limited to 'src/mame/drivers/maygaysw.cpp')
-rw-r--r--src/mame/drivers/maygaysw.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/maygaysw.cpp b/src/mame/drivers/maygaysw.cpp
index bef0db0f8d5..3ca68e2b38f 100644
--- a/src/mame/drivers/maygaysw.cpp
+++ b/src/mame/drivers/maygaysw.cpp
@@ -110,11 +110,12 @@ public:
m_maincpu(*this, "maincpu") { }
required_device<cpu_device> m_maincpu;
void maygayew(machine_config &config);
+ void maygayew_map(address_map &map);
};
-static ADDRESS_MAP_START( maygayew_map, AS_PROGRAM, 16, maygayew_state )
+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)