mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
Fixed validate warning by reverted caching of ym2203 device (the same tag is used with different device types). (nw)
This commit is contained in:
parent
8ea6696216
commit
10a80d903b
@ -470,8 +470,9 @@ READ8_MEMBER(taitol_state::portB_r)
|
||||
|
||||
READ8_MEMBER(taitol_state::extport_select_and_ym2203_r)
|
||||
{
|
||||
ym2203_device *ym2203 = machine().device<ym2203_device>("ymsnd");
|
||||
m_extport = (offset >> 1) & 1;
|
||||
return m_ymsnd->read(space, offset & 1);
|
||||
return ym2203->read(space, offset & 1);
|
||||
}
|
||||
|
||||
WRITE8_MEMBER(taitol_state::mcu_data_w)
|
||||
|
@ -10,8 +10,7 @@ public:
|
||||
: driver_device(mconfig, type, tag),
|
||||
m_maincpu(*this, "maincpu"),
|
||||
m_audiocpu(*this, "audiocpu"),
|
||||
m_msm(*this, "msm"),
|
||||
m_ymsnd(*this, "ymsnd")
|
||||
m_msm(*this, "msm")
|
||||
{
|
||||
}
|
||||
|
||||
@ -63,7 +62,6 @@ public:
|
||||
required_device<cpu_device> m_maincpu;
|
||||
optional_device<cpu_device> m_audiocpu;
|
||||
optional_device<msm5205_device> m_msm;
|
||||
optional_device<ym2203_device> m_ymsnd;
|
||||
|
||||
/* memory buffers */
|
||||
UINT8 m_rambanks[0x1000 * 12];
|
||||
|
Loading…
Reference in New Issue
Block a user