diff options
Diffstat (limited to 'src/mame/drivers/hh_amis2k.cpp')
-rw-r--r-- | src/mame/drivers/hh_amis2k.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/hh_amis2k.cpp b/src/mame/drivers/hh_amis2k.cpp index ac251bead7b..1ced76fd304 100644 --- a/src/mame/drivers/hh_amis2k.cpp +++ b/src/mame/drivers/hh_amis2k.cpp @@ -316,12 +316,12 @@ static const u8 wildfire_7seg_table[0x10] = MACHINE_CONFIG_START(wildfire_state::wildfire) /* basic machine hardware */ - MCFG_CPU_ADD("maincpu", AMI_S2152, MASTER_CLOCK) + MCFG_DEVICE_ADD("maincpu", AMI_S2152, MASTER_CLOCK) MCFG_AMI_S2000_7SEG_DECODER(wildfire_7seg_table) MCFG_AMI_S2000_READ_I_CB(IOPORT("IN1")) - MCFG_AMI_S2000_WRITE_D_CB(WRITE8(wildfire_state, write_d)) - MCFG_AMI_S2000_WRITE_A_CB(WRITE16(wildfire_state, write_a)) - MCFG_AMI_S2152_FOUT_CB(WRITELINE(wildfire_state, write_f)) + MCFG_AMI_S2000_WRITE_D_CB(WRITE8(*this, wildfire_state, write_d)) + MCFG_AMI_S2000_WRITE_A_CB(WRITE16(*this, wildfire_state, write_a)) + MCFG_AMI_S2152_FOUT_CB(WRITELINE(*this, wildfire_state, write_f)) MCFG_TIMER_DRIVER_ADD_PERIODIC("display_decay", wildfire_state, display_decay_tick, attotime::from_msec(1)) MCFG_TIMER_DRIVER_ADD("a12_decay", wildfire_state, reset_q2) @@ -332,7 +332,7 @@ MACHINE_CONFIG_START(wildfire_state::wildfire) /* sound hardware */ MCFG_SPEAKER_STANDARD_MONO("mono") - MCFG_SOUND_ADD("speaker", SPEAKER_SOUND, 0) + MCFG_DEVICE_ADD("speaker", SPEAKER_SOUND) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) MACHINE_CONFIG_END |