diff options
Diffstat (limited to 'src/mame/video/newbrain.cpp')
-rw-r--r-- | src/mame/video/newbrain.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/mame/video/newbrain.cpp b/src/mame/video/newbrain.cpp index 4e49210aeaa..79458eb10f1 100644 --- a/src/mame/video/newbrain.cpp +++ b/src/mame/video/newbrain.cpp @@ -76,7 +76,7 @@ void newbrain_state::video_start() save_item(NAME(m_tvl)); } -void newbrain_state::screen_update(bitmap_rgb32 &bitmap, const rectangle &cliprect) +void newbrain_state::do_screen_update(bitmap_rgb32 &bitmap, const rectangle &cliprect) { int columns = m_80l ? 80 : 40; int excess = m_32_40 ? 4 : 24; @@ -155,13 +155,9 @@ void newbrain_state::screen_update(bitmap_rgb32 &bitmap, const rectangle &clipre uint32_t newbrain_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect) { if (m_tvp) - { - screen_update(bitmap, cliprect); - } + do_screen_update(bitmap, cliprect); else - { bitmap.fill(rgb_t::black(), cliprect); - } return 0; } |