diff options
Diffstat (limited to 'src/mess/video/pc_aga.c')
-rw-r--r-- | src/mess/video/pc_aga.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mess/video/pc_aga.c b/src/mess/video/pc_aga.c index 46baa88ad50..7ca4d933690 100644 --- a/src/mess/video/pc_aga.c +++ b/src/mess/video/pc_aga.c @@ -124,7 +124,7 @@ static WRITE_LINE_DEVICE_HANDLER( aga_vsync_changed ) { /* colors need fixing in the mda_text_* functions ! */ static MC6845_UPDATE_ROW( mda_text_inten_update_row ) { - const rgb_t *palette = palette_entry_list_raw(bitmap.palette()); + const rgb_t *palette = bitmap.palette()->entry_list_raw(); UINT8 *videoram = aga.videoram; UINT32 *p = &bitmap.pix32(y); UINT16 chr_base = ( ra & 0x08 ) ? 0x800 | ( ra & 0x07 ) : ra; @@ -185,7 +185,7 @@ static MC6845_UPDATE_ROW( mda_text_inten_update_row ) { static MC6845_UPDATE_ROW( mda_text_blink_update_row ) { UINT8 *videoram = aga.videoram; - const rgb_t *palette = palette_entry_list_raw(bitmap.palette()); + const rgb_t *palette = bitmap.palette()->entry_list_raw(); UINT32 *p = &bitmap.pix32(y); UINT16 chr_base = ( ra & 0x08 ) ? 0x800 | ( ra & 0x07 ) : ra; int i; @@ -246,7 +246,7 @@ static MC6845_UPDATE_ROW( mda_text_blink_update_row ) { static MC6845_UPDATE_ROW( cga_text_inten_update_row ) { UINT8 *videoram = aga.videoram; - const rgb_t *palette = palette_entry_list_raw(bitmap.palette()); + const rgb_t *palette = bitmap.palette()->entry_list_raw(); UINT32 *p = &bitmap.pix32(y); int i; @@ -275,7 +275,7 @@ static MC6845_UPDATE_ROW( cga_text_inten_update_row ) { } static MC6845_UPDATE_ROW( cga_text_inten_alt_update_row ) { - const rgb_t *palette = palette_entry_list_raw(bitmap.palette()); + const rgb_t *palette = bitmap.palette()->entry_list_raw(); UINT8 *videoram = aga.videoram; UINT32 *p = &bitmap.pix32(y); int i; @@ -304,7 +304,7 @@ static MC6845_UPDATE_ROW( cga_text_inten_alt_update_row ) { } static MC6845_UPDATE_ROW( cga_text_blink_update_row ) { - const rgb_t *palette = palette_entry_list_raw(bitmap.palette()); + const rgb_t *palette = bitmap.palette()->entry_list_raw(); UINT8 *videoram = aga.videoram; UINT32 *p = &bitmap.pix32(y); int i; @@ -337,7 +337,7 @@ static MC6845_UPDATE_ROW( cga_text_blink_update_row ) { } static MC6845_UPDATE_ROW( cga_text_blink_alt_update_row ) { - const rgb_t *palette = palette_entry_list_raw(bitmap.palette()); + const rgb_t *palette = bitmap.palette()->entry_list_raw(); UINT8 *videoram = aga.videoram; UINT32 *p = &bitmap.pix32(y); int i; @@ -372,7 +372,7 @@ static MC6845_UPDATE_ROW( cga_text_blink_alt_update_row ) { } static MC6845_UPDATE_ROW( cga_gfx_4bppl_update_row ) { - const rgb_t *palette = palette_entry_list_raw(bitmap.palette()); + const rgb_t *palette = bitmap.palette()->entry_list_raw(); UINT8 *videoram = aga.videoram; UINT32 *p = &bitmap.pix32(y); int i; @@ -398,7 +398,7 @@ static MC6845_UPDATE_ROW( cga_gfx_4bppl_update_row ) { static MC6845_UPDATE_ROW( cga_gfx_4bpph_update_row ) { UINT8 *videoram = aga.videoram; - const rgb_t *palette = palette_entry_list_raw(bitmap.palette()); + const rgb_t *palette = bitmap.palette()->entry_list_raw(); UINT32 *p = &bitmap.pix32(y); int i; @@ -431,7 +431,7 @@ static MC6845_UPDATE_ROW( cga_gfx_4bpph_update_row ) { static MC6845_UPDATE_ROW( cga_gfx_2bpp_update_row ) { UINT8 *videoram = aga.videoram; - const rgb_t *palette = palette_entry_list_raw(bitmap.palette()); + const rgb_t *palette = bitmap.palette()->entry_list_raw(); UINT32 *p = &bitmap.pix32(y); int i; @@ -456,7 +456,7 @@ static MC6845_UPDATE_ROW( cga_gfx_2bpp_update_row ) { static MC6845_UPDATE_ROW( cga_gfx_1bpp_update_row ) { UINT8 *videoram = aga.videoram; - const rgb_t *palette = palette_entry_list_raw(bitmap.palette()); + const rgb_t *palette = bitmap.palette()->entry_list_raw(); UINT32 *p = &bitmap.pix32(y); UINT8 fg = aga.cga_color_select & 0x0F; int i; |