From: Juan Quintela Date: Wed, 14 Oct 2009 17:25:30 +0000 (+0200) Subject: vmware_vga: the support to change dinamically depth is not there X-Git-Tag: v0.12.0-rc0~502 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=3b1297f50b6ad12f52ed08556130e278d066bac1;p=users%2Fdwmw2%2Fqemu.git vmware_vga: the support to change dinamically depth is not there For a start bypp is not changed after vmsvga_reset() and it depends on depth Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index cc0acf7a7a..d0a19dddcb 100644 --- a/hw/vmware_vga.c +++ b/hw/vmware_vga.c @@ -1095,7 +1095,7 @@ static int vmsvga_load(struct vmsvga_state_s *s, QEMUFile *f) s->syncing=qemu_get_be32(f); s->fb_size=qemu_get_be32(f); - if (s->enable && depth != s->depth) { + if (depth != s->depth) { printf("%s: need colour depth of %i bits to resume operation.\n", __FUNCTION__, depth); return -EINVAL;