diff options
Diffstat (limited to 'src/mame/drivers/hyhoo.cpp')
-rw-r--r-- | src/mame/drivers/hyhoo.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/mame/drivers/hyhoo.cpp b/src/mame/drivers/hyhoo.cpp index acb753dd0d0..7e207e19d47 100644 --- a/src/mame/drivers/hyhoo.cpp +++ b/src/mame/drivers/hyhoo.cpp @@ -244,9 +244,7 @@ MACHINE_CONFIG_START(hyhoo_state::hyhoo) MCFG_SCREEN_VISIBLE_AREA(0, 512-1, 16, 240-1) MCFG_SCREEN_UPDATE_DRIVER(hyhoo_state, screen_update_hyhoo) - MCFG_NB1413M3_ADD("nb1413m3") - MCFG_NB1413M3_TYPE( NB1413M3_HYHOO ) - + NB1413M3(config, m_nb1413m3, 0, NB1413M3_HYHOO); /* sound hardware */ SPEAKER(config, "speaker").front_center(); @@ -262,11 +260,11 @@ MACHINE_CONFIG_START(hyhoo_state::hyhoo) MACHINE_CONFIG_END -MACHINE_CONFIG_START(hyhoo_state::hyhoo2) +void hyhoo_state::hyhoo2(machine_config &config) +{ hyhoo(config); - MCFG_DEVICE_MODIFY("nb1413m3") - MCFG_NB1413M3_TYPE( NB1413M3_HYHOO2 ) -MACHINE_CONFIG_END + m_nb1413m3->set_type(NB1413M3_HYHOO2); +} ROM_START( hyhoo ) |