]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/cirrus_vga.c
Introduce vga_common_reset() to be able to typcheck vga_reset()
[mirror_qemu.git] / hw / cirrus_vga.c
index 6e9cbd412d783a4d4ebcee010e34ec88d30ff3cf..b2bf0d9659e4250d5f84aeb8021d978987bd3a8a 100644 (file)
@@ -3125,7 +3125,7 @@ static void cirrus_reset(void *opaque)
 {
     CirrusVGAState *s = opaque;
 
-    vga_reset(s);
+    vga_common_reset(&s->vga);
     unmap_linear_vram(s);
     s->vga.sr[0x06] = 0x0f;
     if (s->device_id == CIRRUS_ID_CLGD5446) {