Message ID | bf6e1a6a58d13062dbda1e721905808e390a8061.1255541443.git.quintela@redhat.com |
---|---|
State | New |
Headers | show |
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;
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(-)