aboutsummaryrefslogtreecommitdiff
path: root/hw/sb16.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/sb16.c
parentb36aa85c7bef893bdad1f0646a2f6b3018eff0fb (diff)
Remove any pretense that there can be more than one AudioState
Diffstat (limited to 'hw/sb16.c')
-rw-r--r--hw/sb16.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/sb16.c b/hw/sb16.c
index 32e6a28402..218c0bac9d 100644
--- a/hw/sb16.c
+++ b/hw/sb16.c
@@ -1400,7 +1400,6 @@ static int SB_load (QEMUFile *f, void *opaque, int version_id)
int SB16_init (qemu_irq *pic)
{
- AudioState *audio = AUD_init();
SB16State *s;
int i;
static const uint8_t dsp_write_ports[] = {0x6, 0xc};
@@ -1447,6 +1446,6 @@ int SB16_init (qemu_irq *pic)
s->can_write = 1;
register_savevm ("sb16", 0, 1, SB_save, SB_load, s);
- AUD_register_card (audio, "sb16", &s->card);
+ AUD_register_card ("sb16", &s->card);
return 0;
}