mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
milkymist-vgafb: fix console resizing
After enabling the framebuffer, ensure that the console is resized. Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
This commit is contained in:
parent
ecbe1de823
commit
c07050ddb9
1 changed files with 3 additions and 0 deletions
|
@ -199,6 +199,9 @@ vgafb_write(void *opaque, target_phys_addr_t addr, uint32_t value)
|
|||
addr >>= 2;
|
||||
switch (addr) {
|
||||
case R_CTRL:
|
||||
s->regs[addr] = value;
|
||||
vgafb_resize(s);
|
||||
break;
|
||||
case R_HSYNC_START:
|
||||
case R_HSYNC_END:
|
||||
case R_HSCAN:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue