aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-07-31 09:10:02 +0300
committerBlue Swirl <blauwirbel@gmail.com>2009-07-31 09:10:02 +0300
commitbfdb36293fb947ae4c30e24d00fb883a24ef88e5 (patch)
treebde2e4645a0534ac988b4122da3780c0c03094cd /hw
parentb1332393cdd7d023de8f1f8aa136ee7866a18968 (diff)
Fix SDL zooming with pl110 (cf. d3ffcafe25b5966b351ea6100160c2156688f22f)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/pl110.c3
1 files changed, 3 insertions, 0 deletions
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)