diff options
Diffstat (limited to 'src/emu/sound/cdp1864.c')
-rw-r--r-- | src/emu/sound/cdp1864.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/sound/cdp1864.c b/src/emu/sound/cdp1864.c index 91ae48a0989..ffb3a69d673 100644 --- a/src/emu/sound/cdp1864.c +++ b/src/emu/sound/cdp1864.c @@ -83,7 +83,7 @@ inline void cdp1864_device::initialize_palette() int g = (i & 1) ? luma : 0; int b = (i & 2) ? luma : 0; - palette_set_color_rgb(machine(), i, r, g, b); + m_palette[i] = MAKE_RGB(r, g, b); } } @@ -422,7 +422,7 @@ WRITE8_MEMBER( cdp1864_device::dma_w ) color = (gdata << 2) | (bdata << 1) | rdata; } - m_bitmap.pix16(y, sx + x) = color; + m_bitmap.pix32(y, sx + x) = m_palette[color]; data <<= 1; } @@ -470,7 +470,7 @@ WRITE_LINE_MEMBER( cdp1864_device::evs_w ) // update_screen - //------------------------------------------------- -UINT32 cdp1864_device::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect) +UINT32 cdp1864_device::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { if (m_disp) { |