src/mess/drivers/x1.c
| r5689 | r5690 | |
| 229 | 229 | |
| 230 | 230 | pcg_pen = pen[2]<<2|pen[1]<<1|pen[0]<<0; |
| 231 | 231 | |
| 232 | if(color & 0x10 && video_screen_get_frame_number(machine->primary_screen) & 0x10) //reverse flickering |
| 233 | pcg_pen^=7; |
| 234 | |
| 232 | 235 | if(pcg_pen == 0 && (!(color & 8))) |
| 233 | 236 | continue; |
| 234 | 237 | |
| r5689 | r5690 | |
| 269 | 272 | if(height) |
| 270 | 273 | *BITMAP_ADDR16(bitmap, res_y+yi+1, res_x+xi) = machine->pens[pcg_pen]; |
| 271 | 274 | if(width && height) |
| 272 | | *BITMAP_ADDR16(bitmap, res_y+yi+1, res_x+xi+1) = machine->pens[pcg_pen]; |
| 275 | *BITMAP_ADDR16(bitmap, res_y+yi+1, res_x+xi+1) = machine->pens[pcg_pen]; |
| 273 | 276 | } |
| 274 | 277 | } |
| 275 | 278 | } |