summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/magicfly.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/magicfly.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/magicfly.cpp')
-rw-r--r--src/mame/drivers/magicfly.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/magicfly.cpp b/src/mame/drivers/magicfly.cpp
index b4d4cfa4592..48f71e24c9d 100644
--- a/src/mame/drivers/magicfly.cpp
+++ b/src/mame/drivers/magicfly.cpp
@@ -485,6 +485,7 @@ public:
void bchance(machine_config &config);
void magicfly(machine_config &config);
void _7mezzo(machine_config &config);
+ void magicfly_map(address_map &map);
};
@@ -676,7 +677,7 @@ WRITE8_MEMBER(magicfly_state::mux_port_w)
* Memory map information *
*********************************************/
-static ADDRESS_MAP_START( magicfly_map, AS_PROGRAM, 8, magicfly_state )
+ADDRESS_MAP_START(magicfly_state::magicfly_map)
AM_RANGE(0x0000, 0x07ff) AM_RAM AM_SHARE("nvram") /* MK48Z02B NVRAM */
AM_RANGE(0x0800, 0x0800) AM_DEVWRITE("crtc", mc6845_device, address_w)
AM_RANGE(0x0801, 0x0801) AM_DEVREADWRITE("crtc", mc6845_device, register_r, register_w)