[MT05116] fixed array out of bounds access in src/mess/video/mc6847.c ([Oliver Stöneberg]

This commit is contained in:
Oliver Stöneberg 2013-03-09 09:39:33 +00:00
parent 4ed6e53088
commit 4c434517b8

View File

@ -844,7 +844,7 @@ UINT32 mc6847_base_device::screen_update(screen_device &screen, bitmap_rgb32 &bi
}
}
for (y = MAX(0, min_y - base_y); y <= MIN(192, max_y - base_y); y++)
for (y = MAX(0, min_y - base_y); y < MIN(192, max_y - base_y); y++)
{
/* left border */
for (x = min_x; x < base_x; x++)