| 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 |
| r22783 | r22784 | |
|---|---|---|
| 470 | 470 | |
| 471 | 471 | READ8_MEMBER(taitol_state::extport_select_and_ym2203_r) |
| 472 | 472 | { |
| 473 | ym2203_device *ym2203 = machine().device<ym2203_device>("ymsnd"); | |
| 473 | 474 | m_extport = (offset >> 1) & 1; |
| 474 | return | |
| 475 | return ym2203->read(space, offset & 1); | |
| 475 | 476 | } |
| 476 | 477 | |
| 477 | 478 | WRITE8_MEMBER(taitol_state::mcu_data_w) |
| r22783 | r22784 | |
|---|---|---|
| 10 | 10 | : driver_device(mconfig, type, tag), |
| 11 | 11 | m_maincpu(*this, "maincpu"), |
| 12 | 12 | m_audiocpu(*this, "audiocpu"), |
| 13 | m_msm(*this, "msm"), | |
| 14 | m_ymsnd(*this, "ymsnd") | |
| 13 | m_msm(*this, "msm") | |
| 15 | 14 | { |
| 16 | 15 | } |
| 17 | 16 | |
| r22783 | r22784 | |
| 63 | 62 | required_device<cpu_device> m_maincpu; |
| 64 | 63 | optional_device<cpu_device> m_audiocpu; |
| 65 | 64 | optional_device<msm5205_device> m_msm; |
| 66 | optional_device<ym2203_device> m_ymsnd; | |
| 67 | 65 | |
| 68 | 66 | /* memory buffers */ |
| 69 | 67 | UINT8 m_rambanks[0x1000 * 12]; |
| Previous | 199869 Revisions | Next |