mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
Introduce vga_common_reset() to be able to typcheck vga_reset()
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
63124a0d88
commit
03a3e7ba5a
3 changed files with 9 additions and 5 deletions
|
@ -3125,7 +3125,7 @@ static void cirrus_reset(void *opaque)
|
|||
{
|
||||
CirrusVGAState *s = opaque;
|
||||
|
||||
vga_reset(s);
|
||||
vga_common_reset(&s->vga);
|
||||
unmap_linear_vram(s);
|
||||
s->vga.sr[0x06] = 0x0f;
|
||||
if (s->device_id == CIRRUS_ID_CLGD5446) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue