summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/cdp1864.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/cdp1864.c')
-rw-r--r--src/emu/sound/cdp1864.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/sound/cdp1864.c b/src/emu/sound/cdp1864.c
index 5a4d8cafafd..0c12b01f554 100644
--- a/src/emu/sound/cdp1864.c
+++ b/src/emu/sound/cdp1864.c
@@ -417,7 +417,7 @@ UINT32 cdp1864_device::screen_update(screen_device &screen, bitmap_rgb32 &bitmap
}
else
{
- bitmap.fill(RGB_BLACK, cliprect);
+ bitmap.fill(rgb_t::black, cliprect);
}
return 0;
@@ -456,7 +456,7 @@ void cdp1864_device::initialize_palette()
if (m_chr_b != RES_INF) b = combine_1_weights(color_weights_b, BIT(i, 1));
if (m_chr_g != RES_INF) g = combine_1_weights(color_weights_g, BIT(i, 2));
- m_palette[i] = MAKE_RGB(r, g, b);
+ m_palette[i] = rgb_t(r, g, b);
// background colors
r = 0, g = 0, b = 0;
@@ -465,6 +465,6 @@ void cdp1864_device::initialize_palette()
if (m_chr_b != RES_INF) b = combine_1_weights(color_weights_bkg_b, BIT(i, 1));
if (m_chr_g != RES_INF) g = combine_1_weights(color_weights_bkg_g, BIT(i, 2));
- m_palette[i + 8] = MAKE_RGB(r, g, b);
+ m_palette[i + 8] = rgb_t(r, g, b);
}
}