Fix sb16 breakage due to unassigned s->irq
authormalc <av1474@comtv.ru>
Fri, 28 Aug 2009 10:33:43 +0000 (14:33 +0400)
committermalc <av1474@comtv.ru>
Fri, 28 Aug 2009 10:34:29 +0000 (14:34 +0400)
Signed-off-by: malc <av1474@comtv.ru>

hw/sb16.c

index bc17d6f..ac41a13 100644 (file)
--- a/hw/sb16.c
+++ b/hw/sb16.c
@@ -1409,6 +1409,7 @@ int SB16_init (qemu_irq *pic)
 
     s->cmd = -1;
     s->pic = isa_reserve_irq (conf.irq);
+    s->irq = conf.irq;
     s->dma = conf.dma;
     s->hdma = conf.hdma;
     s->port = conf.port;