diff options
author | 2019-03-21 01:00:58 +1100 | |
---|---|---|
committer | 2019-03-21 01:00:58 +1100 | |
commit | 8d8157ec52aba33cd53b1fcff085dcd8dc1b4614 (patch) | |
tree | 88fdf4f7ed5f0136b91fd3b0f36e62963781ba2b | |
parent | 635a6a32fd3026e276c7569eb1a8e589f28792ea (diff) |
(nw) better
-rw-r--r-- | src/devices/machine/tms5501.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/machine/tms5501.cpp b/src/devices/machine/tms5501.cpp index c6ed149ac72..d067497567a 100644 --- a/src/devices/machine/tms5501.cpp +++ b/src/devices/machine/tms5501.cpp @@ -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; } |