| 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 |
| r6728 | r6729 | |
|---|---|---|
| 656 | 656 | { |
| 657 | 657 | voffset = 0; |
| 658 | 658 | if(xflip) |
| 659 | pixel = towns_sprram[poffset] & 0x0f; | |
| 660 | else | |
| 659 | 661 | pixel = (towns_sprram[poffset] & 0xf0) >> 4; |
| 660 | else | |
| 661 | pixel = towns_sprram[poffset] & 0x0f; | |
| 662 | 662 | col = towns_sprram[coffset+(pixel*2)] | (towns_sprram[coffset+(pixel*2)+1] << 8); |
| 663 | 663 | voffset += (towns_crtc_reg[24] * 4) * ypos; // scanline size in bytes * y pos |
| 664 | 664 | voffset += (xpos & 0x1ff) * 2; |
| Previous | 15994 Revisions | Next |