From afa66e6b8d32113a66e819236ff4eca0a0557537 Mon Sep 17 00:00:00 2001 From: cam900 Date: Wed, 27 Jun 2018 00:14:06 +0900 Subject: atarigt.cpp : Updates, Cleanups (#3643) --- src/mame/video/atarigt.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mame/video/atarigt.cpp b/src/mame/video/atarigt.cpp index e424cc79401..d9cab371fb3 100644 --- a/src/mame/video/atarigt.cpp +++ b/src/mame/video/atarigt.cpp @@ -64,8 +64,7 @@ TILE_GET_INFO_MEMBER(atarigt_state::get_playfield_tile_info) TILEMAP_MAPPER_MEMBER(atarigt_state::atarigt_playfield_scan) { - int bank = 1 - (col / (num_cols / 2)); - return bank * (num_rows * num_cols / 2) + row * (num_cols / 2) + (col % (num_cols / 2)); + return (((col & 0x40) ^ 0x40) << 6) | ((row & 0x3f) << 6) | (col & 0x3f); } -- cgit v1.2.3