exidy audio: get rid of double tms5220 device read (nw)

This commit is contained in:
hap 2018-09-16 12:16:27 +02:00
parent 69e58bfbfe
commit c403a51761

View File

@ -403,13 +403,13 @@ WRITE8_MEMBER(exidy_sh8253_sound_device::r6532_porta_w)
READ8_MEMBER(exidy_sh8253_sound_device::r6532_porta_r)
{
uint8_t status = 0xff;
if (m_tms.found())
{
logerror("(%f)%s:TMS5220 status read = %02X\n", machine().time().as_double(), machine().describe_context(), m_tms->status_r());
return m_tms->status_r();
status = m_tms->status_r();
logerror("(%f)%s:TMS5220 status read = %02X\n", machine().time().as_double(), machine().describe_context(), status);
}
else
return 0xff;
return status;
}
WRITE8_MEMBER(exidy_sh8253_sound_device::r6532_portb_w)