From a44c639287e4d91b5e926f246fd14707b86c66ac Mon Sep 17 00:00:00 2001 From: David Haywood Date: Fri, 7 Sep 2018 08:17:51 +0100 Subject: [PATCH] fix cam900 damage in fuukifg2 / fg3 from May (#3971) --- src/mame/video/fuukifg2.cpp | 2 +- src/mame/video/fuukifg3.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mame/video/fuukifg2.cpp b/src/mame/video/fuukifg2.cpp index 0fc08a62ab4..c931183a79b 100644 --- a/src/mame/video/fuukifg2.cpp +++ b/src/mame/video/fuukifg2.cpp @@ -129,7 +129,7 @@ void fuuki16_state::video_start() /* Wrapper to handle bg and bg2 ttogether */ void fuuki16_state::draw_layer( screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int i, int flag, int pri ) { - int buffer = (m_vregs[0x1e / 2] & 0x40); + int buffer = (m_vregs[0x1e / 2] & 0x40) >> 6; switch( i ) { diff --git a/src/mame/video/fuukifg3.cpp b/src/mame/video/fuukifg3.cpp index a0e285b15f1..49eab40a929 100644 --- a/src/mame/video/fuukifg3.cpp +++ b/src/mame/video/fuukifg3.cpp @@ -123,7 +123,7 @@ void fuuki32_state::video_start() /* Wrapper to handle bg and bg2 ttogether */ void fuuki32_state::draw_layer( screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect, int i, int flag, int pri ) { - int buffer = ((m_vregs[0x1e / 4] & 0x0000ffff) & 0x40); + int buffer = ((m_vregs[0x1e / 4] & 0x0000ffff) & 0x40) >> 6; switch( i ) {