diff options
Diffstat (limited to 'src/mame/drivers/travrusa.cpp')
-rw-r--r-- | src/mame/drivers/travrusa.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/travrusa.cpp b/src/mame/drivers/travrusa.cpp index 19f2bd3e96b..cb068c27f03 100644 --- a/src/mame/drivers/travrusa.cpp +++ b/src/mame/drivers/travrusa.cpp @@ -587,8 +587,8 @@ DRIVER_INIT_MEMBER(travrusa_state,motorace) /* The first CPU ROM has the address and data lines scrambled */ for (A = 0; A < 0x2000; A++) { - j = BITSWAP16(A,15,14,13,9,7,5,3,1,12,10,8,6,4,2,0,11); - rom[j] = BITSWAP8(buffer[A],2,7,4,1,6,3,0,5); + j = bitswap<16>(A,15,14,13,9,7,5,3,1,12,10,8,6,4,2,0,11); + rom[j] = bitswap<8>(buffer[A],2,7,4,1,6,3,0,5); } } @@ -599,7 +599,7 @@ DRIVER_INIT_MEMBER(travrusa_state,shtridra) /* D3/D4 and D5/D6 swapped */ for (A = 0; A < 0x2000; A++) - rom[A] = BITSWAP8(rom[A],7,5,6,3,4,2,1,0); + rom[A] = bitswap<8>(rom[A],7,5,6,3,4,2,1,0); } READ8_MEMBER(travrusa_state::shtridrb_port11_r) |