diff options
| author | 2015-08-26 08:10:34 +0200 | |
|---|---|---|
| committer | 2015-08-26 08:10:34 +0200 | |
| commit | efa3a679a331ea91002a0bc72e49a230ff2a2f67 (patch) | |
| tree | 9de472bbb6862733d1982607326783d65be9c414 /src/emu/machine | |
| parent | bc5ffe493777e55f081d3ba29b8b298da90ae776 (diff) | |
Cleanups and version bumpmame0165
Diffstat (limited to 'src/emu/machine')
| -rw-r--r-- | src/emu/machine/i8251.c | 5 | ||||
| -rw-r--r-- | src/emu/machine/i8251.h | 2 | ||||
| -rw-r--r-- | src/emu/machine/tms6100.c | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/src/emu/machine/i8251.c b/src/emu/machine/i8251.c index e37da9fcb6b..7008fe394a3 100644 --- a/src/emu/machine/i8251.c +++ b/src/emu/machine/i8251.c @@ -692,7 +692,7 @@ WRITE8_MEMBER(i8251_device::data_w) { m_tx_data = data; - LOG(("data_w %02x\n" , data)); + LOG(("data_w %02x\n" , data)); // printf("i8251 transmit char: %02x\n",data); /* writing clears */ @@ -714,7 +714,6 @@ WRITE8_MEMBER(i8251_device::data_w) void i8251_device::receive_character(UINT8 ch) { - m_rx_data = ch; /* char has not been read and another has arrived! */ @@ -735,7 +734,7 @@ void i8251_device::receive_character(UINT8 ch) READ8_MEMBER(i8251_device::data_r) { - LOG(("read data: %02x, STATUS=%02x\n",m_rx_data,m_status)); + LOG(("read data: %02x, STATUS=%02x\n",m_rx_data,m_status)); /* reading clears */ m_status &= ~I8251_STATUS_RX_READY; diff --git a/src/emu/machine/i8251.h b/src/emu/machine/i8251.h index e2d271a31c3..2825faf1ed1 100644 --- a/src/emu/machine/i8251.h +++ b/src/emu/machine/i8251.h @@ -133,7 +133,7 @@ private: /* data being received */ UINT8 m_rx_data; - UINT8 m_tx_data; + UINT8 m_tx_data; bool m_tx_busy; bool m_disable_tx_pending; }; diff --git a/src/emu/machine/tms6100.c b/src/emu/machine/tms6100.c index 6c5a58673dd..7d0f3226ca5 100644 --- a/src/emu/machine/tms6100.c +++ b/src/emu/machine/tms6100.c @@ -211,7 +211,7 @@ WRITE_LINE_MEMBER(tms6100_device::tms6100_romclock_w) /* read bit at address */ if (m_variant == TMS6110_IS_M58819) { - m_data = (m_rom[m_address >> 3] >> (7-(m_address & 0x07))) & 1; + m_data = (m_rom[m_address >> 3] >> (7-(m_address & 0x07))) & 1; } else // m_variant == (TMS6110_IS_TMS6100 || TMS6110_IS_TMS6125) { |
