Previous 15994 Revisions Next

r6729 Thursday 24th December, 2009 at 09:03:09 UTC by Barry Rodewald
[FMTOWNS] Fixed 'blocky' sprites.
[src/mess/video]fmtowns.c

src/mess/video/fmtowns.c
r6728r6729
656656      {
657657         voffset = 0;
658658         if(xflip)
659            pixel = towns_sprram[poffset] & 0x0f;
660         else
659661            pixel = (towns_sprram[poffset] & 0xf0) >> 4;
660         else
661            pixel = towns_sprram[poffset] & 0x0f;
662662         col = towns_sprram[coffset+(pixel*2)] | (towns_sprram[coffset+(pixel*2)+1] << 8);
663663         voffset += (towns_crtc_reg[24] * 4) * ypos;  // scanline size in bytes * y pos
664664         voffset += (xpos & 0x1ff) * 2;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team