From 1a7dafce1dfc3dc2052d0c5d8397e72121291c57 Mon Sep 17 00:00:00 2001 From: malc Date: Thu, 14 May 2009 03:11:35 +0400 Subject: Remove any pretense that there can be more than one AudioState --- hw/gus.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hw/gus.c') diff --git a/hw/gus.c b/hw/gus.c index 44f3e253a..8915d4346 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; -- cgit v1.2.3