# HG changeset patch # User Edwin Zhai # Date 1173872741 -28800 # Node ID c23a03f6ae56dd4699451766b12ca7d54ef6e703 # Parent 6c4f61e2be6f8bf4a12d4044c97f47eb1d14b860 explict redraw screen as no shadow_vram now diff -r 6c4f61e2be6f -r c23a03f6ae56 tools/ioemu/hw/vga.c --- a/tools/ioemu/hw/vga.c Wed Mar 14 17:01:04 2007 +0800 +++ b/tools/ioemu/hw/vga.c Wed Mar 14 19:45:41 2007 +0800 @@ -1486,6 +1486,9 @@ static void vga_draw_graphic(VGAState *s } /* explicit invalidation for the hardware cursor */ update |= (s->invalidated_y_table[y >> 5] >> (y & 0x1f)) & 1; + + /* force vga update as no shadow vram now */ + update |= VGA_DIRTY_FLAG; if (update) { if (y_start < 0) y_start = y;