summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/powerins.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2017-07-01 12:11:28 +0200
committer Olivier Galibert <galibert@pobox.com>2017-07-03 08:03:57 +0200
commitcbbbd07484c736eae2069b294ec666f231e64bff (patch)
treeb94a690f0ab10635eb6d11837425744208c7e8a4 /src/mame/drivers/powerins.cpp
parentcb1930f6e6a6b460577f01207888eab402469e9f (diff)
dimemory: Lift the cap on the number of address spaces per device [O. Galibert]
Diffstat (limited to 'src/mame/drivers/powerins.cpp')
-rw-r--r--src/mame/drivers/powerins.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/powerins.cpp b/src/mame/drivers/powerins.cpp
index 364e4e8dc41..db8a051c7ce 100644
--- a/src/mame/drivers/powerins.cpp
+++ b/src/mame/drivers/powerins.cpp
@@ -109,7 +109,7 @@ static ADDRESS_MAP_START( powerinsb_sound_io_map, AS_IO, 8, powerins_state )
AM_RANGE(0x90, 0x97) AM_DEVWRITE("nmk112", nmk112_device, okibank_w)
ADDRESS_MAP_END
-static ADDRESS_MAP_START( powerinsa_oki_map, AS_0, 8, powerins_state )
+static ADDRESS_MAP_START( powerinsa_oki_map, 0, 8, powerins_state )
AM_RANGE(0x00000, 0x2ffff) AM_ROM
AM_RANGE(0x30000, 0x3ffff) AM_ROMBANK("okibank")
ADDRESS_MAP_END
@@ -356,7 +356,7 @@ static MACHINE_CONFIG_DERIVED( powerinsa, powerins )
MCFG_MACHINE_START_OVERRIDE(powerins_state, powerinsa)
MCFG_OKIM6295_REPLACE("oki1", 990000, PIN7_LOW) // pin7 not verified
- MCFG_DEVICE_ADDRESS_MAP(AS_0, powerinsa_oki_map)
+ MCFG_DEVICE_ADDRESS_MAP(0, powerinsa_oki_map)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)
MCFG_DEVICE_REMOVE("oki2")