aboutsummaryrefslogtreecommitdiff
path: root/hw/vmware_vga.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-14 19:25:30 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:56 -0500
commit3b1297f50b6ad12f52ed08556130e278d066bac1 (patch)
treebdbf4071b4ade1be53cc103cff48c46f870e5433 /hw/vmware_vga.c
parent0c681322596ba3eb0f654c790b86bca21fb66ee0 (diff)
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 <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/vmware_vga.c')
-rw-r--r--hw/vmware_vga.c2
1 files changed, 1 insertions, 1 deletions
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;