aboutsummaryrefslogtreecommitdiff
path: root/hw/gus.c
diff options
context:
space:
mode:
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;