summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/z80scc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/z80scc.cpp')
-rw-r--r--src/devices/machine/z80scc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/machine/z80scc.cpp b/src/devices/machine/z80scc.cpp
index 0259fb5d0b0..e3a7c8a1d00 100644
--- a/src/devices/machine/z80scc.cpp
+++ b/src/devices/machine/z80scc.cpp
@@ -724,6 +724,7 @@ uint8_t z80scc_device::modify_vector(uint8_t vec, int i, uint8_t src)
// Modify vector according to Hi/lo bit of WR9
if (m_wr9 & WR9_BIT_SHSL) // Affect V4-V6
{
+ src = bitswap<4>(src, 3, 0, 1, 2); // order switched (see table above)
vec &= 0x8f;
vec |= src << 4;
}