aboutsummaryrefslogtreecommitdiff
path: root/hw/es1370.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/es1370.c')
-rw-r--r--hw/es1370.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/es1370.c b/hw/es1370.c
index 0d2d861166..d607a94852 100644
--- a/hw/es1370.c
+++ b/hw/es1370.c
@@ -324,7 +324,7 @@ static void es1370_update_status (ES1370State *s, uint32_t new_status)
else {
s->status = new_status & ~STAT_INTR;
}
- pci_set_irq (s->pci_dev, 0, !!level);
+ qemu_set_irq(s->pci_dev->irq[0], !!level);
}
static void es1370_reset (ES1370State *s)
@@ -350,7 +350,7 @@ static void es1370_reset (ES1370State *s)
s->dac_voice[i] = NULL;
}
}
- pci_set_irq (s->pci_dev, 0, 0);
+ qemu_irq_lower(s->pci_dev->irq[0]);
}
static void es1370_maybe_lower_irq (ES1370State *s, uint32_t sctl)