diff --git a/src/mame/drivers/zac2650.c b/src/mame/drivers/zac2650.c index dcce8909419..2dd0712d10c 100644 --- a/src/mame/drivers/zac2650.c +++ b/src/mame/drivers/zac2650.c @@ -193,6 +193,12 @@ PALETTE_INIT_MEMBER(zac2650_state, zac2650) palette.set_pen_color(3,rgb_t::black); } +static const s2636_interface s2636_config = +{ + 0x100, + 0, 0 +}; + /************************************************************************************************ Video is slightly odd on these zac boards @@ -258,7 +264,7 @@ static MACHINE_CONFIG_START( tinvader, zac2650_state ) /* sound hardware */ MCFG_SPEAKER_STANDARD_MONO("mono") - MCFG_SOUND_ADD("s2636snd", S2636, 0) + MCFG_S2636_ADD("s2636", s2636_config) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) MACHINE_CONFIG_END diff --git a/src/mame/includes/zac2650.h b/src/mame/includes/zac2650.h index e55ba7896d4..ed7ae4c152c 100644 --- a/src/mame/includes/zac2650.h +++ b/src/mame/includes/zac2650.h @@ -8,7 +8,7 @@ public: m_videoram(*this, "videoram"), m_s2636_0_ram(*this, "s2636_0_ram"), m_maincpu(*this, "maincpu"), - m_s2636_sound(*this, "s2636snd"), + m_s2636(*this, "s2636"), m_gfxdecode(*this, "gfxdecode"), m_screen(*this, "screen"), m_palette(*this, "palette") { } @@ -17,7 +17,7 @@ public: required_shared_ptr m_s2636_0_ram; required_device m_maincpu; - required_device m_s2636_sound; + required_device m_s2636; required_device m_gfxdecode; required_device m_screen; required_device m_palette; diff --git a/src/mame/video/zac2650.c b/src/mame/video/zac2650.c index d0451f933ab..adce84455e2 100644 --- a/src/mame/video/zac2650.c +++ b/src/mame/video/zac2650.c @@ -34,7 +34,7 @@ WRITE8_MEMBER(zac2650_state::zac_s2636_w) m_gfxdecode->gfx(2)->mark_dirty(offset/8); if (offset == 0xc7) { - m_s2636_sound->soundport_w(0, data); + m_s2636->soundport_w(0, data); } }