diff options
Diffstat (limited to 'hw/vga.c')
-rw-r--r-- | hw/vga.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, page1 - page0, DIRTY_MEMORY_VGA); /* explicit invalidation for the hardware cursor */ update |= (s->invalidated_y_table[y >> 5] >> (y & 0x1f)) & 1; |