Message ID | CAAu8pHu1kP4MbUDbFsYab_HhwqFU69U8rSpMSk2_0JN-Kq3QOA@mail.gmail.com |
---|---|
State | New |
Headers | show |
diff --git a/hw/vga.c b/hw/vga.c index d87c4f9..729ab8d 100644 --- a/hw/vga.c +++ b/hw/vga.c @@ -1779,7 +1779,7 @@ static void vga_draw_graphic(VGACommonState *s, int full_update) } page0 = addr; page1 = addr + bwidth - 1; - update = memory_region_get_dirty(&s->vram, page0, page1, + update = memory_region_get_dirty(&s->vram, page0, bwidth - 1, DIRTY_MEMORY_VGA); /* explicit invalidation for the hardware cursor */