src/mame/video/archimds.c
| r8801 | r8802 | |
| 90 | 90 | |
| 91 | 91 | if(vidc_interlace) |
| 92 | 92 | { |
| 93 | | if ((res_x) <= screen->visible_area().max_x && (res_y) <= screen->visible_area().max_y && (res_x) <= xend && (res_y) <= yend) |
| 93 | if ((res_x) >= 0 && |
| 94 | (res_y) >= 0 && |
| 95 | (res_x) <= screen->visible_area().max_x && (res_y) <= screen->visible_area().max_y && (res_x) <= xend && (res_y) <= yend) |
| 94 | 96 | *BITMAP_ADDR32(bitmap, res_y, res_x) = screen->machine->pens[(pen&0xff)+0x100]; |
| 95 | | if ((res_x) <= screen->visible_area().max_x && (res_y+1) <= screen->visible_area().max_y && (res_x) <= xend && (res_y+1) <= yend) |
| 97 | if ((res_x) >= 0 && |
| 98 | (res_y) >= 0 && |
| 99 | (res_x) <= screen->visible_area().max_x && (res_y+1) <= screen->visible_area().max_y && (res_x) <= xend && (res_y+1) <= yend) |
| 96 | 100 | *BITMAP_ADDR32(bitmap, res_y+1, res_x) = screen->machine->pens[(pen&0xff)+0x100]; |
| 97 | 101 | } |
| 98 | 102 | else |
| 99 | 103 | { |
| 100 | | if ((res_x) <= screen->visible_area().max_x && (res_y) <= screen->visible_area().max_y && (res_x) <= xend && (res_y) <= yend) |
| 104 | if ((res_x) >= 0 && |
| 105 | (res_y) >= 0 && |
| 106 | (res_x) <= screen->visible_area().max_x && (res_y) <= screen->visible_area().max_y && (res_x) <= xend && (res_y) <= yend) |
| 101 | 107 | *BITMAP_ADDR32(bitmap, res_y, res_x) = screen->machine->pens[(pen&0xff)+0x100]; |
| 102 | 108 | } |
| 103 | 109 | |