aboutsummaryrefslogtreecommitdiff
path: root/hw/cs4231a.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-05-14 03:11:35 +0400
committermalc <av1474@comtv.ru>2009-05-14 03:20:43 +0400
commit1a7dafce1dfc3dc2052d0c5d8397e72121291c57 (patch)
tree6b83da7787156494d16c58e2d5a41396a01a964f /hw/cs4231a.c
parentb36aa85c7bef893bdad1f0646a2f6b3018eff0fb (diff)
downloadqemu-1a7dafce1dfc3dc2052d0c5d8397e72121291c57.zip
qemu-1a7dafce1dfc3dc2052d0c5d8397e72121291c57.tar.gz
qemu-1a7dafce1dfc3dc2052d0c5d8397e72121291c57.tar.bz2
Remove any pretense that there can be more than one AudioState
Diffstat (limited to 'hw/cs4231a.c')
-rw-r--r--hw/cs4231a.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/cs4231a.c b/hw/cs4231a.c
index 4212ed1..33c9460 100644
--- a/hw/cs4231a.c
+++ b/hw/cs4231a.c
@@ -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;
}