mirror of
https://github.com/holub/mame
synced 2025-05-31 18:11:50 +03:00
Merge pull request #2070 from mgarlanger/mm6845_fix
Fix scanout of mc6845
This commit is contained in:
commit
8a22f1d76a
@ -988,7 +988,7 @@ uint32_t mc6845_device::screen_update(screen_device &screen, bitmap_rgb32 &bitma
|
||||
}
|
||||
|
||||
/* for each row in the visible region */
|
||||
for (uint16_t y = cliprect.min_y; y <= cliprect.max_y; y++)
|
||||
for (uint16_t y = cliprect.min_y; y <= cliprect.max_y && y <= m_max_visible_y; y++)
|
||||
{
|
||||
this->draw_scanline(y, bitmap, cliprect);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user