diff options
author | 2017-12-13 17:32:17 +1100 | |
---|---|---|
committer | 2017-12-13 19:26:12 +1100 | |
commit | 9bf81912d3e6c7a59b83ebbbdab72189d1c3cc75 (patch) | |
tree | c95b463f45b0a67d67c37bce2d2e859b7354740b /src/devices/machine/z80sio.cpp | |
parent | bb524ec858e142a497767fd3f1605f43bea7cca9 (diff) |
get rid of legacy BITSWAP* (nw)
Diffstat (limited to 'src/devices/machine/z80sio.cpp')
-rw-r--r-- | src/devices/machine/z80sio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/z80sio.cpp b/src/devices/machine/z80sio.cpp index ddf951161b4..efe83ac2486 100644 --- a/src/devices/machine/z80sio.cpp +++ b/src/devices/machine/z80sio.cpp @@ -1128,7 +1128,7 @@ void z80sio_channel::sync_tx_sr_empty() LOGTX("%s() Channel %c Transmit FCS '%04x' m_wr5:%02x\n", FUNCNAME, 'A' + m_index, m_tx_crc, m_wr5); // just for fun, SDLC sends the FCS inverted in reverse bit order - uint16_t const fcs(BITSWAP16(m_tx_crc, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)); + uint16_t const fcs(bitswap<16>(m_tx_crc, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)); tx_setup(((m_wr4 & WR4_SYNC_MODE_MASK) == WR4_SYNC_MODE_SDLC) ? ~fcs : fcs, 16, 0, false, true); // set the underrun flag so it will send sync next time |