summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/piggypas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/piggypas.cpp')
-rw-r--r--src/mame/drivers/piggypas.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/piggypas.cpp b/src/mame/drivers/piggypas.cpp
index 121150f25a7..ff2468638ba 100644
--- a/src/mame/drivers/piggypas.cpp
+++ b/src/mame/drivers/piggypas.cpp
@@ -59,7 +59,7 @@ WRITE8_MEMBER(piggypas_state::ctrl_w)
WRITE8_MEMBER(piggypas_state::mcs51_tx_callback)
{
// Serial output driver is UCN5833A
- output().set_digit_value(m_digit_idx++, BITSWAP8(data,7,6,4,3,2,1,0,5) & 0x7f);
+ output().set_digit_value(m_digit_idx++, bitswap<8>(data,7,6,4,3,2,1,0,5) & 0x7f);
}
static ADDRESS_MAP_START( piggypas_map, AS_PROGRAM, 8, piggypas_state )