src/mess/video/fmtowns.c
| r6723 | r6724 | |
| 634 | 634 | voffset += (xpos & 0x1ff) * 2; |
| 635 | 635 | voffset &= 0x3ffff; |
| 636 | 636 | voffset += (towns_sprite_reg[6] & 0x10) ? 0x60000 : 0x40000; |
| 637 | | if(xpos <= rect->max_x && ypos <= rect->max_y && col != 0) |
| 637 | if(xpos <= rect->max_x && ypos <= rect->max_y && pixel != 0) |
| 638 | 638 | { |
| 639 | 639 | towns_gfxvram[voffset+1] = (col & 0xff00) >> 8; |
| 640 | 640 | towns_gfxvram[voffset] = col & 0x00ff; |
| r6723 | r6724 | |
| 644 | 644 | col = towns_sprram[coffset+(pixel*2)] | (towns_sprram[coffset+(pixel*2)+1] << 8); |
| 645 | 645 | voffset &= 0x3ffff; |
| 646 | 646 | voffset += (towns_sprite_reg[6] & 0x10) ? 0x60000 : 0x40000; |
| 647 | | if(xpos <= rect->max_x && ypos <= rect->max_y && col != 0) |
| 647 | if(xpos <= rect->max_x && ypos <= rect->max_y && pixel != 0) |
| 648 | 648 | { |
| 649 | 649 | towns_gfxvram[voffset+1] = (col & 0xff00) >> 8; |
| 650 | 650 | towns_gfxvram[voffset] = col & 0x00ff; |