aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
Diffstat (limited to 'hw')
-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;