diff options
Diffstat (limited to 'src/mame/audio/namco54.cpp')
-rw-r--r-- | src/mame/audio/namco54.cpp | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/src/mame/audio/namco54.cpp b/src/mame/audio/namco54.cpp index 1f485fc0f45..d406d24db3e 100644 --- a/src/mame/audio/namco54.cpp +++ b/src/mame/audio/namco54.cpp @@ -117,12 +117,6 @@ static ADDRESS_MAP_START( namco_54xx_map_io, AS_IO, 8, namco_54xx_device ) ADDRESS_MAP_END -static MACHINE_CONFIG_START( namco_54xx ) - MCFG_CPU_ADD("mcu", MB8844, DERIVED_CLOCK(1,1)) /* parent clock, internally divided by 6 */ - MCFG_CPU_IO_MAP(namco_54xx_map_io) -MACHINE_CONFIG_END - - ROM_START( namco_54xx ) ROM_REGION( 0x400, "mcu", 0 ) ROM_LOAD( "54xx.bin", 0x0000, 0x0400, CRC(ee7357e0) SHA1(01bdf984a49e8d0cc8761b2cc162fd6434d5afbe) ) @@ -147,14 +141,13 @@ void namco_54xx_device::device_start() } //------------------------------------------------- -// device_mconfig_additions - return a pointer to -// the device's machine fragment +// device_add_mconfig - add device configuration //------------------------------------------------- -machine_config_constructor namco_54xx_device::device_mconfig_additions() const -{ - return MACHINE_CONFIG_NAME( namco_54xx ); -} +MACHINE_CONFIG_MEMBER( namco_54xx_device::device_add_mconfig ) + MCFG_CPU_ADD("mcu", MB8844, DERIVED_CLOCK(1,1)) /* parent clock, internally divided by 6 */ + MCFG_CPU_IO_MAP(namco_54xx_map_io) +MACHINE_CONFIG_END //------------------------------------------------- // device_rom_region - return a pointer to the |