summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/flyball.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/flyball.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/flyball.cpp')
-rw-r--r--src/mame/drivers/flyball.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/flyball.cpp b/src/mame/drivers/flyball.cpp
index a13bf997335..0a27faa84fc 100644
--- a/src/mame/drivers/flyball.cpp
+++ b/src/mame/drivers/flyball.cpp
@@ -98,6 +98,7 @@ public:
TIMER_CALLBACK_MEMBER(quarter_callback);
void flyball(machine_config &config);
+ void flyball_map(address_map &map);
protected:
virtual void device_timer(emu_timer &timer, device_timer_id id, int param, void *ptr) override;
};
@@ -294,7 +295,7 @@ WRITE_LINE_MEMBER(flyball_state::lamp_w)
*
*************************************/
-static ADDRESS_MAP_START( flyball_map, AS_PROGRAM, 8, flyball_state )
+ADDRESS_MAP_START(flyball_state::flyball_map)
ADDRESS_MAP_GLOBAL_MASK(0x1fff)
AM_RANGE(0x0000, 0x00ff) AM_MIRROR(0x100) AM_RAM
AM_RANGE(0x0800, 0x0800) AM_NOP