Message ID | 1492763327-12742-3-git-send-email-mark.cave-ayland@ilande.co.uk (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/hw/display/cg3.c b/hw/display/cg3.c index 7d43694..b42f60e 100644 --- a/hw/display/cg3.c +++ b/hw/display/cg3.c @@ -114,7 +114,7 @@ static void cg3_update_display(void *opaque) int update = s->full_update; page = y * width; - update |= memory_region_get_dirty(&s->vram_mem, page, page + width, + update |= memory_region_get_dirty(&s->vram_mem, page, width, DIRTY_MEMORY_VGA); if (update) { if (y_start < 0) {