mirror of https://github.com/xemu-project/xemu.git
hw/audio/ac97: Pass error_fatal to new AUD_register_card errp arg
This commit is contained in:
parent
3f644e9069
commit
801e77cbc8
|
@ -1285,7 +1285,7 @@ void ac97_common_init(AC97LinkState *s, PCIDevice *pci_dev, AddressSpace *as)
|
|||
s->pci_dev = pci_dev;
|
||||
s->as = as;
|
||||
|
||||
AUD_register_card("ac97", &s->card);
|
||||
AUD_register_card("ac97", &s->card, &error_fatal);
|
||||
ac97_on_reset(s);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue