(nw) better
This commit is contained in:
parent
635a6a32fd
commit
8d8157ec52
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user