From: Blue Swirl Date: Fri, 31 Jul 2009 06:10:02 +0000 (+0300) Subject: Fix SDL zooming with pl110 (cf. d3ffcafe25b5966b351ea6100160c2156688f22f) X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=bfdb36293fb947ae4c30e24d00fb883a24ef88e5;p=qemu.git Fix SDL zooming with pl110 (cf. d3ffcafe25b5966b351ea6100160c2156688f22f) Signed-off-by: Blue Swirl --- diff --git a/hw/pl110.c b/hw/pl110.c index 45b7dbeb99..2797f83896 100644 --- a/hw/pl110.c +++ b/hw/pl110.c @@ -169,6 +169,9 @@ static void pl110_invalidate_display(void * opaque) { pl110_state *s = (pl110_state *)opaque; s->invalidate = 1; + if (pl110_enabled(s)) { + qemu_console_resize(s->ds, s->cols, s->rows); + } } static void pl110_update_pallette(pl110_state *s, int n)