Patchwork [15/16] vmware_vga: the support to change dinamically depth is not there

login
register
mail settings
Submitter Juan Quintela
Date Oct. 14, 2009, 5:35 p.m.
Message ID <bf6e1a6a58d13062dbda1e721905808e390a8061.1255541443.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/36016/
State New
Headers show

Comments

Juan Quintela - Oct. 14, 2009, 5:35 p.m.
For a start bypp is not changed after vmsvga_reset() and it depends on depth

Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 hw/vmware_vga.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c
index cc0acf7..d0a19dd 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;