summaryrefslogtreecommitdiff
path: root/hw/display/cg3.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/display/cg3.c')
-rw-r--r--hw/display/cg3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/cg3.c b/hw/display/cg3.c
index 6db8ca362a..a042b9ecbe 100644
--- a/hw/display/cg3.c
+++ b/hw/display/cg3.c
@@ -306,7 +306,7 @@ static void cg3_realizefn(DeviceState *dev, Error **errp)
sysbus_init_irq(sbd, &s->irq);
- s->con = graphic_console_init(DEVICE(dev), &cg3_ops, s);
+ s->con = graphic_console_init(DEVICE(dev), 0, &cg3_ops, s);
qemu_console_resize(s->con, s->width, s->height);
}