summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/manohman.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/manohman.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/manohman.cpp')
-rw-r--r--src/mame/drivers/manohman.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/manohman.cpp b/src/mame/drivers/manohman.cpp
index 25308374be8..01f943cc6aa 100644
--- a/src/mame/drivers/manohman.cpp
+++ b/src/mame/drivers/manohman.cpp
@@ -154,6 +154,7 @@ public:
IRQ_CALLBACK_MEMBER(iack_handler);
void manohman(machine_config &config);
+ void mem_map(address_map &map);
private:
virtual void machine_start() override;
@@ -179,7 +180,7 @@ IRQ_CALLBACK_MEMBER(manohman_state::iack_handler)
* Memory Map Definition *
*********************************************/
-static ADDRESS_MAP_START( mem_map, AS_PROGRAM, 16, manohman_state )
+ADDRESS_MAP_START(manohman_state::mem_map)
AM_RANGE(0x000000, 0x01ffff) AM_ROM
AM_RANGE(0x100000, 0x10003f) AM_DEVREADWRITE8("pit", pit68230_device, read, write, 0x00ff)
AM_RANGE(0x200000, 0x20001f) AM_DEVREADWRITE8("duart", mc68681_device, read, write, 0x00ff)