tatsumi.cpp: Fix broken transparent pen (wait there's MORE!) (nw)

This commit is contained in:
angelosa 2018-05-26 19:29:58 +02:00
parent 254aeff5c7
commit cd08b36562

View File

@ -119,7 +119,7 @@ void cyclwarr_state::tile_expand()
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) || ((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();
}