From 511f05c57468c64e5ba51ad714d535a6c7759016 Mon Sep 17 00:00:00 2001 From: Curt Coder Date: Thu, 13 Sep 2012 14:10:49 +0000 Subject: [PATCH] (MESS) cdp1869: Fixed regression. (nw) --- src/emu/sound/cdp1869.c | 3 ++- src/emu/video/cdp1862.h | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emu/sound/cdp1869.c b/src/emu/sound/cdp1869.c index 6aa78288255..5bc32ba542a 100644 --- a/src/emu/sound/cdp1869.c +++ b/src/emu/sound/cdp1869.c @@ -381,6 +381,7 @@ void cdp1869_device::device_start() // initialize palette initialize_palette(); + m_bkg = 0; // create sound stream m_stream = machine().sound().stream_alloc(*this, 0, 1, machine().sample_rate()); @@ -940,7 +941,7 @@ UINT32 cdp1869_device::screen_update(screen_device &screen, bitmap_rgb32 &bitmap } outer &= cliprect; - bitmap.fill(m_bkg, outer); + bitmap.fill(m_palette[m_bkg], outer); if (!m_dispoff) { diff --git a/src/emu/video/cdp1862.h b/src/emu/video/cdp1862.h index 98d1670f60f..d918a86782e 100644 --- a/src/emu/video/cdp1862.h +++ b/src/emu/video/cdp1862.h @@ -57,7 +57,6 @@ // TYPE DEFINITIONS //************************************************************************** - // ======================> cdp1862_interface struct cdp1862_interface