diff options
Diffstat (limited to 'src/mame/drivers/amaticmg.cpp')
-rw-r--r-- | src/mame/drivers/amaticmg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/amaticmg.cpp b/src/mame/drivers/amaticmg.cpp index bbf0e691862..d2cf7a98511 100644 --- a/src/mame/drivers/amaticmg.cpp +++ b/src/mame/drivers/amaticmg.cpp @@ -1055,7 +1055,7 @@ void amaticmg_state::encf(uint8_t ciphertext, int address, uint8_t &plaintext, i int aux = address & 0xfff; aux = aux ^ (aux>>6); aux = ((aux<<6) | (aux>>6)) & 0xfff; - uint8_t aux2 = bitswap<8>(aux, 9,10,4,1,6,0,7,3); + uint8_t aux2 = BITSWAP8(aux, 9,10,4,1,6,0,7,3); aux2 ^= aux2>>4; aux2 = (aux2<<4) | (aux2>>4); ciphertext ^= ciphertext<<4; |