summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/scn2674.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/scn2674.cpp')
-rw-r--r--src/devices/video/scn2674.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/video/scn2674.cpp b/src/devices/video/scn2674.cpp
index 2ef9434bc02..7eb29163884 100644
--- a/src/devices/video/scn2674.cpp
+++ b/src/devices/video/scn2674.cpp
@@ -1161,6 +1161,9 @@ TIMER_CALLBACK_MEMBER(scn2674_device::scanline_timer)
address = m_display_buffer_first_address;
}
+ if (!m_display_enabled)
+ std::fill_n(&m_bitmap.pix32(m_linecounter), m_character_per_row * m_hpixels_per_column, rgb_t::black());
+
if (m_gfx_enabled || (charrow == (m_scanline_per_char_row - 1)))
m_address = address;
}
@@ -1186,10 +1189,7 @@ TIMER_CALLBACK_MEMBER(scn2674_device::vblank_timer)
uint32_t scn2674_device::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect)
{
- if (!m_display_enabled)
- m_bitmap.fill(rgb_t::black(), cliprect);
- else
- copybitmap(bitmap, m_bitmap, 0, 0, 0, 0, cliprect);
+ copybitmap(bitmap, m_bitmap, 0, 0, 0, 0, cliprect);
return 0;
}