Commit bfdb36293fb947ae4c30e24d00fb883a24ef88e5

Authored by Blue Swirl
1 parent b1332393

Fix SDL zooming with pl110 (cf. d3ffcafe)

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Showing 1 changed file with 3 additions and 0 deletions
hw/pl110.c
@@ -169,6 +169,9 @@ static void pl110_invalidate_display(void * opaque) @@ -169,6 +169,9 @@ static void pl110_invalidate_display(void * opaque)
169 { 169 {
170 pl110_state *s = (pl110_state *)opaque; 170 pl110_state *s = (pl110_state *)opaque;
171 s->invalidate = 1; 171 s->invalidate = 1;
  172 + if (pl110_enabled(s)) {
  173 + qemu_console_resize(s->ds, s->cols, s->rows);
  174 + }
172 } 175 }
173 176
174 static void pl110_update_pallette(pl110_state *s, int n) 177 static void pl110_update_pallette(pl110_state *s, int n)