summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/aim65_40.cpp
diff options
context:
space:
mode:
authorGravatarGravatar Olivier Galibert <galibert@pobox.com>2018-02-01 10:04:01 +0100
committerGravatarGravatar Olivier Galibert <galibert@pobox.com>2018-02-12 10:04:52 +0100
commitc5219643162cb7d2a8688425a09008d28c8e2437 (patch) (github)
treef2775ca3b1770ab0d3fb568f0bdd6d9212c68bf6 /src/mame/drivers/aim65_40.cpp
parent09b6ce46873b38de9030a3c0378ff327f17af881 (diff)
downloadmame-c5219643162cb7d2a8688425a09008d28c8e2437.tar.bz2
mame-c5219643162cb7d2a8688425a09008d28c8e2437.zip
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/aim65_40.cpp')
-rw-r--r--src/mame/drivers/aim65_40.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/aim65_40.cpp b/src/mame/drivers/aim65_40.cpp
index d967c3acf64..ac07ed6be62 100644
--- a/src/mame/drivers/aim65_40.cpp
+++ b/src/mame/drivers/aim65_40.cpp
@@ -77,6 +77,7 @@ public:
{ }
void aim65_40(machine_config &config);
+ void aim65_40_mem(address_map &map);
// devices
//device_t *m_via0;
//device_t *m_via1;
@@ -90,7 +91,7 @@ private:
ADDRESS MAPS
***************************************************************************/
-static ADDRESS_MAP_START( aim65_40_mem, AS_PROGRAM, 8, aim65_40_state )
+ADDRESS_MAP_START(aim65_40_state::aim65_40_mem)
AM_RANGE(0x0000, 0x3fff) AM_RAM
AM_RANGE(0xa000, 0xcfff) AM_ROM AM_REGION("roms", 0)
AM_RANGE(0xf000, 0xff7f) AM_ROM AM_REGION("roms", 0x3000)