mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
Remove any pretense that there can be more than one AudioState
This commit is contained in:
parent
b36aa85c7b
commit
1a7dafce1d
16 changed files with 80 additions and 103 deletions
|
@ -638,7 +638,6 @@ static int cs_load(QEMUFile *f, void *opaque, int version_id)
|
|||
|
||||
int cs4231a_init (qemu_irq *pic)
|
||||
{
|
||||
AudioState *audio = AUD_init();
|
||||
int i;
|
||||
CSState *s;
|
||||
|
||||
|
@ -660,6 +659,6 @@ int cs4231a_init (qemu_irq *pic)
|
|||
qemu_register_reset (cs_reset, s);
|
||||
cs_reset (s);
|
||||
|
||||
AUD_register_card (audio,"cs4231a", &s->card);
|
||||
AUD_register_card ("cs4231a", &s->card);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue