diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-04-26 15:39:22 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-05-02 16:02:59 +0200 |
commit | 2068192dcccd8a80dddfcc8df6164cf9c26e0fc4 (patch) | |
tree | 8aab6666c3cff7c60ce791c821b6a04c401667c0 /hw | |
parent | 7fa5c2c5dc9f9bf878c1e8669eb9644d70a71e71 (diff) | |
download | qemu-2068192dcccd8a80dddfcc8df6164cf9c26e0fc4.zip qemu-2068192dcccd8a80dddfcc8df6164cf9c26e0fc4.tar.gz qemu-2068192dcccd8a80dddfcc8df6164cf9c26e0fc4.tar.bz2 |
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 <kraxel@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/display/vga.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/display/vga.c b/hw/display/vga.c index e12f5ac..eeeb9c8 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; |