diff options
author | Patrick Mackinlay <pmackinlay@hotmail.com> | 2021-02-01 16:38:22 +0700 |
---|---|---|
committer | Patrick Mackinlay <pmackinlay@hotmail.com> | 2021-02-01 16:38:22 +0700 |
commit | f891a3c7578400839963cbc10b8d8b91cf728411 (patch) | |
tree | 9d273297c3a3d0a2c95e43fc769337cda49281f4 | |
parent | 02198d069bdafdf11731e1363df6c51ba057449e (diff) |
z80scc: there's only one wr2
-rw-r--r-- | src/devices/machine/z80scc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/z80scc.cpp b/src/devices/machine/z80scc.cpp index a7af4fdc253..4978ff66d32 100644 --- a/src/devices/machine/z80scc.cpp +++ b/src/devices/machine/z80scc.cpp @@ -1956,7 +1956,7 @@ void z80scc_channel::do_sccreg_wr1(uint8_t data) void z80scc_channel::do_sccreg_wr2(uint8_t data) { LOG("%s(%02x): Setting the interrupt vector\n", FUNCNAME, data); - m_wr2 = data; + m_uart->m_chanA->m_wr2 = data; m_uart->m_chanA->m_rr2 = data; m_uart->m_chanB->m_rr2 = data; /* TODO: Sort out the setting of ChanB depending on bits in WR9 */ |