| Previous | 15994 Revisions | Next |
| r6949 Wednesday 6th January, 2010 at 03:43:52 UTC by Barry Rodewald |
|---|
| [FMTOWNS] Fixed 16bpp sprite transparency. |
| [src/mess/video] | fmtowns.c |
| r6948 | r6949 | |
|---|---|---|
| 725 | 725 | voffset += (towns_crtc_reg[24] * 4) * ypos; // scanline size in bytes * y pos |
| 726 | 726 | voffset += (xpos & 0x1ff) * 2; |
| 727 | 727 | voffset &= 0x7ffff; |
| 728 | if(xpos <= rect->max_x && ypos <= rect->max_y) | |
| 728 | if(xpos <= rect->max_x && ypos <= rect->max_y && col < 0x8000) | |
| 729 | 729 | { |
| 730 | 730 | towns_gfxvram[voffset+1] = (col & 0xff00) >> 8; |
| 731 | 731 | towns_gfxvram[voffset] = col & 0x00ff; |
| Previous | 15994 Revisions | Next |