diff options
author | malc <av1474@comtv.ru> | 2009-05-14 03:11:35 +0400 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2009-05-14 03:20:43 +0400 |
commit | 1a7dafce1dfc3dc2052d0c5d8397e72121291c57 (patch) | |
tree | 6b83da7787156494d16c58e2d5a41396a01a964f /hw/sb16.c | |
parent | b36aa85c7bef893bdad1f0646a2f6b3018eff0fb (diff) |
Remove any pretense that there can be more than one AudioState
Diffstat (limited to 'hw/sb16.c')
-rw-r--r-- | hw/sb16.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; } |