mirror of
https://github.com/holub/mame
synced 2025-07-03 09:06:08 +03:00
tatsumi.cpp: fix cam900 damage on bigfight for good (nw)
This commit is contained in:
parent
76c766cc00
commit
cdab63ab4e
@ -167,8 +167,8 @@ void cyclwarr_state::tile_expand()
|
||||
uint8_t pix = (*c0++ & 7);
|
||||
uint8_t respix = m_cyclwarr_tileclut[(c << 3)|pix];
|
||||
*dest++ = respix;
|
||||
// Transparent pixels are set by both the tile pixel data==0 AND colour palette==0
|
||||
m_mask[(c << 3) | (y & 7)] |= ((pix != 0) && (respix != 0)) ? (0x80 >> (x & 7)) : 0;
|
||||
// Transparent pixels are set by both the tile pixel data==0 AND colour palette & 7 == 0
|
||||
m_mask[(c << 3) | (y & 7)] |= ((pix&0x7)!=0 || ((pix&0x7)==0 && (respix&0x7)!=0)) ? (0x80 >> (x & 7)) : 0;
|
||||
}
|
||||
c0base += gx0->rowbytes();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user