summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/kingobox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/kingobox.cpp')
-rw-r--r--src/mame/video/kingobox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/kingobox.cpp b/src/mame/video/kingobox.cpp
index 8335f5155d7..9a81d46f9d1 100644
--- a/src/mame/video/kingobox.cpp
+++ b/src/mame/video/kingobox.cpp
@@ -211,7 +211,7 @@ void kingofb_state::kingofb_draw_sprites(bitmap_ind16 &bitmap, const rectangle &
int roffs, bank, code, color, flipx, flipy, sx, sy;
/* the offset into spriteram seems scrambled */
- roffs = BITSWAP16(offs,15,14,13,12,11,10,4,7,6,5,9,8,3,2,1,0) ^ 0x3c;
+ roffs = bitswap<16>(offs,15,14,13,12,11,10,4,7,6,5,9,8,3,2,1,0) ^ 0x3c;
if (roffs & 0x200)
roffs ^= 0x1c0;