From 1e8fc41df09bbe3e3d038f40967dcc6dd2992831 Mon Sep 17 00:00:00 2001 From: bmcphail Date: Tue, 26 Feb 2019 14:52:29 -0500 Subject: bac06 - fix wide mode used by Act Fancer NW --- src/mame/video/decbac06.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mame/video/decbac06.cpp b/src/mame/video/decbac06.cpp index 3c37b6a9fa2..e70e626935f 100644 --- a/src/mame/video/decbac06.cpp +++ b/src/mame/video/decbac06.cpp @@ -145,7 +145,10 @@ void deco_bac06_device::set_flip_screen(bool flip) TILEMAP_MAPPER_MEMBER(deco_bac06_device::tile_shape0_scan) { if ((m_pf_control_0[0]&2)==0) - return (row & 0xf) + ((0x3f - (col & 0x3f)) << 4); + { + int col_mask = num_cols - 1; + return (row & 0xf) + ((col_mask - (col & col_mask)) << 4); + } return (col & 0xf) + ((row & 0xf) << 4) + ((col & 0x1f0) << 4); } -- cgit v1.2.3