summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/alesis_qs.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/alesis_qs.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/alesis_qs.cpp')
-rw-r--r--src/mame/drivers/alesis_qs.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/drivers/alesis_qs.cpp b/src/mame/drivers/alesis_qs.cpp
index 12ea0764cb2..8a273db943d 100644
--- a/src/mame/drivers/alesis_qs.cpp
+++ b/src/mame/drivers/alesis_qs.cpp
@@ -25,6 +25,7 @@ public:
{ }
void qs7(machine_config &config);
+ void qs7_prog_map(address_map &map);
protected:
required_device<cpu_device> m_maincpu;
};
@@ -42,7 +43,7 @@ static INPUT_PORTS_START( qs7 )
// PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("?") PORT_CODE(KEYCODE_)
INPUT_PORTS_END
-static ADDRESS_MAP_START( qs7_prog_map, AS_PROGRAM, 16, qs_state )
+ADDRESS_MAP_START(qs_state::qs7_prog_map)
//ADDRESS_MAP_GLOBAL_MASK(0x3ffff)
AM_RANGE(0x00000, 0x3ffff) AM_ROM
ADDRESS_MAP_END