The old code passed a ym2203 structure to an ay8912, which happened to work before because there was no type checking. Now it causes an error (nw)

This commit is contained in:
smf- 2013-05-12 19:14:13 +00:00
parent afffa28cda
commit a968a3847b

View File

@ -677,7 +677,7 @@ static MACHINE_CONFIG_START( multi8, multi8_state )
/* Audio */ /* Audio */
MCFG_SPEAKER_STANDARD_MONO("mono") MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("aysnd", AY8912, 1500000) //unknown clock / divider MCFG_SOUND_ADD("aysnd", AY8912, 1500000) //unknown clock / divider
MCFG_YM2203_AY8910_INTF(&ay8910_config) MCFG_SOUND_CONFIG(&ay8910_config)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MCFG_SOUND_ADD("beeper", BEEP, 0) MCFG_SOUND_ADD("beeper", BEEP, 0)
MCFG_SOUND_ROUTE(ALL_OUTPUTS,"mono",0.50) MCFG_SOUND_ROUTE(ALL_OUTPUTS,"mono",0.50)