src/mess/drivers/pc6001.c
| r8724 | r8725 | |
| 346 | 346 | int xi,yi,pen,fgcol,color; |
| 347 | 347 | UINT8 *gfx_data = memory_region(screen->machine, "gfx1"); |
| 348 | 348 | |
| 349 | | for(y=0;y<24;y++) |
| 349 | for(y=0;y<25;y++) |
| 350 | 350 | { |
| 351 | 351 | for(x=0;x<40;x++) |
| 352 | 352 | { |
| r8724 | r8725 | |
| 366 | 366 | else |
| 367 | 367 | color = pen ? fgcol : 0; |
| 368 | 368 | |
| 369 | | *BITMAP_ADDR16(bitmap, ((y*12+yi)), (x*8+xi)) = screen->machine->pens[color]; |
| 369 | if ((x*8+xi) < screen->visible_area().max_x && (y*12+yi) < screen->visible_area().max_y) |
| 370 | *BITMAP_ADDR16(bitmap, ((y*12+yi)), (x*8+xi)) = screen->machine->pens[color]; |
| 370 | 371 | } |
| 371 | 372 | } |
| 372 | 373 | } |