summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nes
diff options
context:
space:
mode:
author 0kmg <9137159+0kmg@users.noreply.github.com>2022-03-02 18:09:45 -0900
committer GitHub <noreply@github.com>2022-03-02 22:09:45 -0500
commit37e1c2ab749c07d8dac7703bfd9bca8cb436a7c7 (patch)
treebdba8cb0aca8223d6ecb2bb2fc7b64c287d5e35d /src/devices/bus/nes
parentef88fd17e63b1fc632f1e3b1e5bf7b370616aba0 (diff)
bus/nes: Properly acknowledge IRQ for UNL-SC-127 board. (#9362)
Diffstat (limited to 'src/devices/bus/nes')
-rw-r--r--src/devices/bus/nes/bootleg.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/bus/nes/bootleg.cpp b/src/devices/bus/nes/bootleg.cpp
index f43c7f05b1d..17f2d97685f 100644
--- a/src/devices/bus/nes/bootleg.cpp
+++ b/src/devices/bus/nes/bootleg.cpp
@@ -733,7 +733,7 @@ void nes_sc127_device::hblank_irq(int scanline, int vblank, int blanked)
if (!blanked && (m_irq_count == 0))
{
LOG_MMC(("irq fired, scanline: %d\n", scanline));
- hold_irq_line();
+ set_irq_line(ASSERT_LINE);
m_irq_enable = 0;
}
}
@@ -768,6 +768,7 @@ void nes_sc127_device::write_h(offs_t offset, uint8_t data)
break;
case 0x4002:
m_irq_enable = 0;
+ set_irq_line(CLEAR_LINE);
break;
case 0x4003:
m_irq_enable = 1;