From 2068192dcccd8a80dddfcc8df6164cf9c26e0fc4 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 26 Apr 2016 15:39:22 +0200 Subject: vga: update vga register setup on vbe changes Call the new vbe_update_vgaregs() function on vbe configuration changes, to make sure vga registers are up-to-date. Signed-off-by: Gerd Hoffmann --- hw/display/vga.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/display/vga.c') diff --git a/hw/display/vga.c b/hw/display/vga.c index e12f5ac9dc..eeeb9c8861 100644 --- a/hw/display/vga.c +++ b/hw/display/vga.c @@ -763,6 +763,7 @@ void vbe_ioport_write_data(void *opaque, uint32_t addr, uint32_t val) case VBE_DISPI_INDEX_Y_OFFSET: s->vbe_regs[s->vbe_index] = val; vbe_fixup_regs(s); + vbe_update_vgaregs(s); break; case VBE_DISPI_INDEX_BANK: val &= s->vbe_bank_mask; -- cgit v1.2.3-55-g7522