aboutsummaryrefslogtreecommitdiffstats
path: root/hw/sb16.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-08-28 14:33:43 +0400
committermalc <av1474@comtv.ru>2009-08-28 14:34:29 +0400
commitf8274971945206f350f22439497f72c8ba8365ee (patch)
treea0e85fe02bd6ac2b372f21102065f459371c6a3f /hw/sb16.c
parent660cfb6b7caf5eff5ec38b41be3c497e9931927b (diff)
Fix sb16 breakage due to unassigned s->irq
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'hw/sb16.c')
-rw-r--r--hw/sb16.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/sb16.c b/hw/sb16.c
index bc17d6f06..ac41a133f 100644
--- 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;