mirror of
https://github.com/holub/mame
synced 2025-04-19 23:12:11 +03:00
Fix - last checkin contained an out of date erroneous comment.
This commit is contained in:
parent
e968de67cd
commit
dc154ddf98
@ -990,7 +990,7 @@ static void draw_bg(running_machine *machine, mame_bitmap *dst, tilemap *src, co
|
||||
pp=tile_cluts[tile*8 + (p&0x7)];
|
||||
ppp=pp + ((p&0x78)<<5);
|
||||
|
||||
if ((p&0x7)!=0 || ((p&0x7)==0 && (pp&0x7)!=0)) // Not quite correct - some opaque pixels show as transparent
|
||||
if ((p&0x7)!=0 || ((p&0x7)==0 && (pp&0x7)!=0)) // Transparent pixels are set by both the tile pixel data==0 AND colour palette==0
|
||||
*BITMAP_ADDR32(dst, y, x) = machine->pens[ppp];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user