diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2009-07-31 09:10:02 +0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-27 21:23:35 -0500 |
commit | 0ea2326a2c26f1b7b46c9225e33614daa314d6ca (patch) | |
tree | 11c3ca19efc650af0c11609771158f50f86ee3f0 | |
parent | cfd28938fcb071280e41f23ed520e6a1a8b9764f (diff) |
Fix SDL zooming with pl110 (cf. d3ffcafe25b5966b351ea6100160c2156688f22f)
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-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) |