diff options
Diffstat (limited to 'src/mame/drivers/starwars.cpp')
-rw-r--r-- | src/mame/drivers/starwars.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/starwars.cpp b/src/mame/drivers/starwars.cpp index cb0f381a092..04995349634 100644 --- a/src/mame/drivers/starwars.cpp +++ b/src/mame/drivers/starwars.cpp @@ -342,8 +342,8 @@ MACHINE_CONFIG_START(starwars_state::starwars) MCFG_SCREEN_VISIBLE_AREA(0, 250, 0, 280) MCFG_SCREEN_UPDATE_DEVICE("vector", vector_device, screen_update) - MCFG_DEVICE_ADD("avg", AVG_STARWARS, 0) - MCFG_AVGDVG_VECTOR("vector") + avg_device &avg(AVG_STARWARS(config, "avg", 0)); + avg.set_vector_tag("vector"); /* sound hardware */ SPEAKER(config, "mono").front_center(); @@ -371,7 +371,7 @@ MACHINE_CONFIG_START(starwars_state::esb) MCFG_DEVICE_MODIFY("maincpu") MCFG_DEVICE_PROGRAM_MAP(esb_main_map) - MCFG_DEVICE_ADD("slapstic", SLAPSTIC, 101, false) + SLAPSTIC(config, m_slapstic_device, 101, false); subdevice<ls259_device>("outlatch")->q_out_cb<4>().append_membank("bank2"); MACHINE_CONFIG_END |