summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author David Haywood <hazemamewip@hotmail.com>2018-09-07 08:17:51 +0100
committer Olivier Galibert <galibert@pobox.com>2018-09-07 09:17:51 +0200
commita44c639287e4d91b5e926f246fd14707b86c66ac (patch)
treed71063b9e9518e1bba45671fbd80baa3f3f4a67e
parent828dc80f32485b15ce1a8fbeb39b13b0cfb8b533 (diff)
fix cam900 damage in fuukifg2 / fg3 from May (#3971)
-rw-r--r--src/mame/video/fuukifg2.cpp2
-rw-r--r--src/mame/video/fuukifg3.cpp2
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 )
{