fix cam900 damage in fuukifg2 / fg3 from May (#3971)

This commit is contained in:
David Haywood 2018-09-07 08:17:51 +01:00 committed by Olivier Galibert
parent 828dc80f32
commit a44c639287
2 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ void fuuki16_state::video_start()
/* Wrapper to handle bg and bg2 ttogether */ /* 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 ) 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 ) switch( i )
{ {

View File

@ -123,7 +123,7 @@ void fuuki32_state::video_start()
/* Wrapper to handle bg and bg2 ttogether */ /* 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 ) 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 ) switch( i )
{ {