From 3b1297f50b6ad12f52ed08556130e278d066bac1 Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 14 Oct 2009 19:25:30 +0200 Subject: [PATCH] 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 --- hw/vmware_vga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;