diff options
author | 2022-03-02 18:09:45 -0900 | |
---|---|---|
committer | 2022-03-02 22:09:45 -0500 | |
commit | 37e1c2ab749c07d8dac7703bfd9bca8cb436a7c7 (patch) | |
tree | bdba8cb0aca8223d6ecb2bb2fc7b64c287d5e35d | |
parent | ef88fd17e63b1fc632f1e3b1e5bf7b370616aba0 (diff) |
bus/nes: Properly acknowledge IRQ for UNL-SC-127 board. (#9362)
-rw-r--r-- | src/devices/bus/nes/bootleg.cpp | 3 |
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; |