summaryrefslogtreecommitdiffstats
path: root/hw/gus.c
diff options
context:
space:
mode:
authormalc2009-05-14 01:11:35 +0200
committermalc2009-05-14 01:20:43 +0200
commit1a7dafce1dfc3dc2052d0c5d8397e72121291c57 (patch)
tree6b83da7787156494d16c58e2d5a41396a01a964f /hw/gus.c
parentRemove redundant pcnet.o (diff)
downloadqemu-1a7dafce1dfc3dc2052d0c5d8397e72121291c57.tar.gz
qemu-1a7dafce1dfc3dc2052d0c5d8397e72121291c57.tar.xz
qemu-1a7dafce1dfc3dc2052d0c5d8397e72121291c57.zip
Remove any pretense that there can be more than one AudioState
Diffstat (limited to 'hw/gus.c')
-rw-r--r--hw/gus.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/gus.c b/hw/gus.c
index 44f3e253a9..8915d43467 100644
--- a/hw/gus.c
+++ b/hw/gus.c
@@ -252,13 +252,12 @@ static int GUS_load (QEMUFile *f, void *opaque, int version_id)
int GUS_init (qemu_irq *pic)
{
- AudioState *audio = AUD_init();
GUSState *s;
struct audsettings as;
s = qemu_mallocz (sizeof (*s));
- AUD_register_card (audio, "gus", &s->card);
+ AUD_register_card ("gus", &s->card);
as.freq = conf.freq;
as.nchannels = 2;