(nw) better

This commit is contained in:
Robbbert 2019-03-21 01:00:58 +11:00
parent 635a6a32fd
commit 8d8157ec52

View File

@ -263,13 +263,13 @@ READ8_MEMBER( tms5501_device::rst_r )
READ8_MEMBER( tms5501_device::sta_r )
{
if(is_transmit_register_empty())
m_sta |= STA_XBE;
uint8_t data = m_sta;
m_sta &= ~STA_OE;
if(is_transmit_register_empty())
m_sta |= STA_XBE;
return data;
}