summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/apexc.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/apexc.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/apexc.cpp')
-rw-r--r--src/mame/drivers/apexc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/apexc.cpp b/src/mame/drivers/apexc.cpp
index 95443f9ddbc..a1804dde795 100644
--- a/src/mame/drivers/apexc.cpp
+++ b/src/mame/drivers/apexc.cpp
@@ -53,6 +53,7 @@ public:
required_device<palette_device> m_palette;
required_device<screen_device> m_screen;
void apexc(machine_config &config);
+ void apexc_mem_map(address_map &map);
};
void apexc_state::machine_start()
@@ -843,7 +844,7 @@ static GFXDECODE_START( apexc )
GFXDECODE_END
-static ADDRESS_MAP_START(apexc_mem_map, AS_PROGRAM, 32, apexc_state )
+ADDRESS_MAP_START(apexc_state::apexc_mem_map)
#if 0
AM_RANGE(0x0000, 0x03ff) AM_RAM /* 1024 32-bit words (expandable to 8192) */
AM_RANGE(0x0400, 0x1fff) AM_NOP