Previous 199869 Revisions Next

r22784 Sunday 12th May, 2013 at 11:28:56 UTC by smf
Fixed validate warning by reverted caching of ym2203 device (the same tag is used with different device types). (nw)
[src/mame/drivers]taito_l.c
[src/mame/includes]taito_l.h

trunk/src/mame/drivers/taito_l.c
r22783r22784
470470
471471READ8_MEMBER(taitol_state::extport_select_and_ym2203_r)
472472{
473   ym2203_device *ym2203 = machine().device<ym2203_device>("ymsnd");
473474   m_extport = (offset >> 1) & 1;
474   return m_ymsnd->read(space, offset & 1);
475   return ym2203->read(space, offset & 1);
475476}
476477
477478WRITE8_MEMBER(taitol_state::mcu_data_w)
trunk/src/mame/includes/taito_l.h
r22783r22784
1010      : driver_device(mconfig, type, tag),
1111      m_maincpu(*this, "maincpu"),
1212      m_audiocpu(*this, "audiocpu"),
13      m_msm(*this, "msm"),
14      m_ymsnd(*this, "ymsnd")
13      m_msm(*this, "msm")
1514   {
1615   }
1716
r22783r22784
6362   required_device<cpu_device> m_maincpu;
6463   optional_device<cpu_device> m_audiocpu;
6564   optional_device<msm5205_device> m_msm;
66   optional_device<ym2203_device> m_ymsnd;
6765
6866   /* memory buffers */
6967   UINT8         m_rambanks[0x1000 * 12];

Previous 199869 Revisions Next


© 1997-2024 The MAME Team