src/mess/video/911_vdt.c
| r1951 | r1952 | |
| 15 | 15 | #include "911_chr.h" |
| 16 | 16 | #include "911_key.h" |
| 17 | 17 | #include "sound/beep.h" |
| 18 | | #include "deprecat.h" |
| 19 | 18 | #include "mslegacy.h" |
| 20 | 19 | |
| 21 | 20 | |
| r1951 | r1952 | |
| 467 | 466 | /* |
| 468 | 467 | Video refresh |
| 469 | 468 | */ |
| 470 | | void vdt911_refresh(bitmap_t *bitmap, int unit, int x, int y) |
| 469 | void vdt911_refresh(running_machine *machine, bitmap_t *bitmap, int unit, int x, int y) |
| 471 | 470 | { |
| 472 | | const gfx_element *gfx = Machine->gfx[vdt[unit].model]; |
| 471 | const gfx_element *gfx = machine->gfx[vdt[unit].model]; |
| 473 | 472 | int height = (vdt[unit].screen_size == char_960) ? 12 : /*25*/24; |
| 474 | 473 | int use_8bit_charcodes = USES_8BIT_CHARCODES(unit); |
| 475 | 474 | int address = 0; |
| r1951 | r1952 | |
| 511 | 510 | address++; |
| 512 | 511 | |
| 513 | 512 | drawgfx(bitmap, gfx, cur_char, color, 0, 0, |
| 514 | | x+j*7, y+i*10, &Machine->screen[0].visarea, TRANSPARENCY_NONE, 0); |
| 513 | x+j*7, y+i*10, &machine->screen[0].visarea, TRANSPARENCY_NONE, 0); |
| 515 | 514 | } |
| 516 | 515 | } |
| 517 | 516 | } |