diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-07-31 09:10:02 +0300 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-07-31 09:10:02 +0300 |
commit | bfdb36293fb947ae4c30e24d00fb883a24ef88e5 (patch) | |
tree | bde2e4645a0534ac988b4122da3780c0c03094cd /hw/pl110.c | |
parent | b1332393cdd7d023de8f1f8aa136ee7866a18968 (diff) | |
download | qemu-bfdb36293fb947ae4c30e24d00fb883a24ef88e5.tar.gz qemu-bfdb36293fb947ae4c30e24d00fb883a24ef88e5.tar.bz2 qemu-bfdb36293fb947ae4c30e24d00fb883a24ef88e5.zip |
Fix SDL zooming with pl110 (cf. d3ffcafe25b5966b351ea6100160c2156688f22f)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/pl110.c')
-rw-r--r-- | hw/pl110.c | 3 |
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) |