(MESS) cdp1869: Fixed regression. (nw)

This commit is contained in:
Curt Coder 2012-09-13 14:10:49 +00:00
parent f7b855e854
commit 511f05c574
2 changed files with 2 additions and 2 deletions

View File

@ -381,6 +381,7 @@ void cdp1869_device::device_start()
// initialize palette // initialize palette
initialize_palette(); initialize_palette();
m_bkg = 0;
// create sound stream // create sound stream
m_stream = machine().sound().stream_alloc(*this, 0, 1, machine().sample_rate()); 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; outer &= cliprect;
bitmap.fill(m_bkg, outer); bitmap.fill(m_palette[m_bkg], outer);
if (!m_dispoff) if (!m_dispoff)
{ {

View File

@ -57,7 +57,6 @@
// TYPE DEFINITIONS // TYPE DEFINITIONS
//************************************************************************** //**************************************************************************
// ======================> cdp1862_interface // ======================> cdp1862_interface
struct cdp1862_interface struct cdp1862_interface