diff options
Diffstat (limited to 'hw')
-rw-r--r-- | hw/milkymist-vgafb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/milkymist-vgafb.c b/hw/milkymist-vgafb.c index 8922731511..2e55e42e34 100644 --- a/hw/milkymist-vgafb.c +++ b/hw/milkymist-vgafb.c @@ -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: |