src/mess/video/saa5050.c
| r1966 | r1967 | |
| 9 | 9 | #include "driver.h" |
| 10 | 10 | #include "saa5050.h" |
| 11 | 11 | |
| 12 | | /* TODO: Remove dependency on this */ |
| 13 | | #include "mslegacy.h" |
| 14 | | |
| 15 | 12 | static INT8 frame_count; |
| 16 | 13 | |
| 17 | 14 | #define SAA5050_DBLHI 0x0001 |
| r1966 | r1967 | |
| 101 | 98 | |
| 102 | 99 | static PALETTE_INIT( saa5050 ) |
| 103 | 100 | { |
| 104 | | palette_set_colors_rgb(machine, 0, saa5050_palette, sizeof(saa5050_palette) / 3); |
| 101 | int i; |
| 102 | |
| 103 | for ( i = 0; i < sizeof(saa5050_palette) / 3; i++ ) { |
| 104 | palette_set_color_rgb(machine, i, saa5050_palette[i*3], saa5050_palette[i*3+1], saa5050_palette[i*3+2]); |
| 105 | } |
| 105 | 106 | } |
| 106 | 107 | |
| 107 | 108 | static VIDEO_START( saa5050 ) |