mirror of
https://github.com/holub/mame
synced 2025-04-26 18:23:08 +03:00
exidy audio: get rid of double tms5220 device read (nw)
This commit is contained in:
parent
69e58bfbfe
commit
c403a51761
@ -403,13 +403,13 @@ WRITE8_MEMBER(exidy_sh8253_sound_device::r6532_porta_w)
|
|||||||
|
|
||||||
READ8_MEMBER(exidy_sh8253_sound_device::r6532_porta_r)
|
READ8_MEMBER(exidy_sh8253_sound_device::r6532_porta_r)
|
||||||
{
|
{
|
||||||
|
uint8_t status = 0xff;
|
||||||
if (m_tms.found())
|
if (m_tms.found())
|
||||||
{
|
{
|
||||||
logerror("(%f)%s:TMS5220 status read = %02X\n", machine().time().as_double(), machine().describe_context(), m_tms->status_r());
|
status = m_tms->status_r();
|
||||||
return m_tms->status_r();
|
logerror("(%f)%s:TMS5220 status read = %02X\n", machine().time().as_double(), machine().describe_context(), status);
|
||||||
}
|
}
|
||||||
else
|
return status;
|
||||||
return 0xff;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
WRITE8_MEMBER(exidy_sh8253_sound_device::r6532_portb_w)
|
WRITE8_MEMBER(exidy_sh8253_sound_device::r6532_portb_w)
|
||||||
|
Loading…
Reference in New Issue
Block a user