Previous 15994 Revisions Next

r6700 Thursday 17th December, 2009 at 21:15:50 UTC by Barry Rodewald
[FMTOWNS] Another transparency fix.
[src/mess/video]fmtowns.c

src/mess/video/fmtowns.c
r6699r6700
590590            off &= 0x7ffff;  // 1 layer
591591     
592592         colour = (towns_gfxvram[off+(layer*0x40000)+1] << 8) | towns_gfxvram[off+(layer*0x40000)];
593         if(colour != 0 && colour < 0x8000)
593         if(colour < 0x8000)
594594         {
595595            *BITMAP_ADDR32(bitmap,scanline,x) =
596596               ((colour & 0x001f) << 3)
r6699r6700
609609         else
610610            off &= 0x7ffff;  // 1 layer
611611         colour = (towns_gfxvram[off+(layer*0x40000)+1] << 8) | towns_gfxvram[off+(layer*0x40000)];
612         if(colour != 0 && colour < 0x8000)
612         if(colour < 0x8000)
613613         {
614614            *BITMAP_ADDR32(bitmap,scanline,x) =
615615               ((colour & 0x001f) << 3)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team