From c5219643162cb7d2a8688425a09008d28c8e2437 Mon Sep 17 00:00:00 2001 From: Olivier Galibert Date: Thu, 1 Feb 2018 10:04:01 +0100 Subject: 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. --- src/mame/drivers/alesis_qs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mame/drivers/alesis_qs.cpp') 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 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 -- cgit v1.2.3