src/mess/video/hp48.c
| r1782 | r1783 | |
| 11 | 11 | 37,42,64 /* lcd dark */ |
| 12 | 12 | }; |
| 13 | 13 | |
| 14 | |
| 14 | 15 | PALETTE_INIT( hp48 ) |
| 15 | 16 | { |
| 16 | 17 | palette_set_colors_rgb(machine, 0, hp48_palette, sizeof(hp48_palette) / 3); |
| 17 | 18 | } |
| 18 | 19 | |
| 20 | |
| 19 | 21 | VIDEO_START( hp48 ) |
| 20 | 22 | { |
| 21 | 23 | videoram_size = 6 * 2 + 24; |
| 22 | 24 | videoram = (UINT8*) auto_malloc (videoram_size); |
| 23 | | |
| 24 | | #if 0 |
| 25 | | { |
| 26 | | char backdrop_name[200]; |
| 27 | | /* try to load a backdrop for the machine */ |
| 28 | | sprintf (backdrop_name, "%s.png", machine->gamedrv->name); |
| 29 | | backdrop_load(backdrop_name, 8); |
| 30 | | } |
| 31 | | #endif |
| 32 | | |
| 33 | | VIDEO_START_CALL(generic); |
| 34 | 25 | } |
| 35 | 26 | |
| 27 | |
| 36 | 28 | typedef const char *HP48_FIGURE; |
| 37 | 29 | |
| 38 | 30 | static void hp48_draw_special(mame_bitmap *bitmap,int x, int y, const HP48_FIGURE figure, int color) |