mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
[MT05116] fixed array out of bounds access in src/mess/video/mc6847.c ([Oliver Stöneberg]
This commit is contained in:
parent
4ed6e53088
commit
4c434517b8
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user