mirror of
https://github.com/holub/mame
synced 2025-07-01 00:09:18 +03:00
tatsumi.cpp: Fix broken transparent pen (wait there's MORE!) (nw)
This commit is contained in:
parent
254aeff5c7
commit
cd08b36562
@ -119,7 +119,7 @@ void cyclwarr_state::tile_expand()
|
|||||||
uint8_t respix = m_cyclwarr_tileclut[(c << 3)|pix];
|
uint8_t respix = m_cyclwarr_tileclut[(c << 3)|pix];
|
||||||
*dest++ = respix;
|
*dest++ = respix;
|
||||||
// Transparent pixels are set by both the tile pixel data==0 AND colour palette==0
|
// Transparent pixels are set by both the tile pixel data==0 AND colour palette==0
|
||||||
m_mask[(c << 3) | (y & 7)] |= ((pix != 0) || ((pix == 0) && (respix != 0))) ? (0x80 >> (x & 7)) : 0;
|
m_mask[(c << 3) | (y & 7)] |= ((pix != 0) && (respix != 0)) ? (0x80 >> (x & 7)) : 0;
|
||||||
}
|
}
|
||||||
c0base += gx0->rowbytes();
|
c0base += gx0->rowbytes();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user