Skip to content

Commit

Permalink
Seibu Cup Soccer uses a YM3812, not YM2151 (nw)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajrhacker authored and cuavas committed Nov 28, 2016
1 parent 0136468 commit ad67119
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/mame/drivers/legionna.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1453,19 +1453,18 @@ static MACHINE_CONFIG_START( cupsoc, legionna_state )
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")

MCFG_YM2151_ADD("ymsnd", 14318180/4)
MCFG_YM2151_IRQ_HANDLER(DEVWRITELINE("seibu_sound", seibu_sound_device, fm_irqhandler))
MCFG_SOUND_ROUTE(0, "mono", 0.50)
MCFG_SOUND_ROUTE(1, "mono", 0.50)
MCFG_SOUND_ADD("ymsnd", YM3812, 14318180/4)
MCFG_YM3812_IRQ_HANDLER(DEVWRITELINE("seibu_sound", seibu_sound_device, fm_irqhandler))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.0)

MCFG_OKIM6295_ADD("oki", 1320000, OKIM6295_PIN7_LOW)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.40)

MCFG_DEVICE_ADD("seibu_sound", SEIBU_SOUND, 0)
MCFG_SEIBU_SOUND_CPU("audiocpu")
MCFG_SEIBU_SOUND_ROMBANK("seibu_bank1")
MCFG_SEIBU_SOUND_YM_READ_CB(DEVREAD8("ymsnd", ym2151_device, read))
MCFG_SEIBU_SOUND_YM_WRITE_CB(DEVWRITE8("ymsnd", ym2151_device, write))
MCFG_SEIBU_SOUND_YM_READ_CB(DEVREAD8("ymsnd", ym3812_device, read))
MCFG_SEIBU_SOUND_YM_WRITE_CB(DEVWRITE8("ymsnd", ym3812_device, write))
MACHINE_CONFIG_END

static MACHINE_CONFIG_DERIVED( cupsocs, cupsoc )
Expand Down

0 comments on commit ad67119

Please sign in to comment.