From 5460bc0d3d80560992121d9837ddc5f1f434ee07 Mon Sep 17 00:00:00 2001 From: smf- Date: Fri, 27 Jul 2018 21:56:06 +0100 Subject: prevent HOLD_LINE & irq acknowledge infection (nw) --- src/devices/cpu/psx/psx.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/devices/cpu/psx/psx.cpp b/src/devices/cpu/psx/psx.cpp index 050a090b456..9ea179f6716 100644 --- a/src/devices/cpu/psx/psx.cpp +++ b/src/devices/cpu/psx/psx.cpp @@ -1456,12 +1456,12 @@ void psxcpu_device::update_cop0(int reg) { if (ip & CAUSE_IP0) debugger_exception_hook(EXC_INT); if (ip & CAUSE_IP1) debugger_exception_hook(EXC_INT); - if (ip & CAUSE_IP2) standard_irq_callback(PSXCPU_IRQ0); - if (ip & CAUSE_IP3) standard_irq_callback(PSXCPU_IRQ1); - if (ip & CAUSE_IP4) standard_irq_callback(PSXCPU_IRQ2); - if (ip & CAUSE_IP5) standard_irq_callback(PSXCPU_IRQ3); - if (ip & CAUSE_IP6) standard_irq_callback(PSXCPU_IRQ4); - if (ip & CAUSE_IP7) standard_irq_callback(PSXCPU_IRQ5); + //if (ip & CAUSE_IP2) debugger_interrupt_hook(PSXCPU_IRQ0); + //if (ip & CAUSE_IP3) debugger_interrupt_hook(PSXCPU_IRQ1); + //if (ip & CAUSE_IP4) debugger_interrupt_hook(PSXCPU_IRQ2); + //if (ip & CAUSE_IP5) debugger_interrupt_hook(PSXCPU_IRQ3); + //if (ip & CAUSE_IP6) debugger_interrupt_hook(PSXCPU_IRQ4); + //if (ip & CAUSE_IP7) debugger_interrupt_hook(PSXCPU_IRQ5); m_op = m_cache->read_dword(m_pc); execute_unstoppable_instructions(1); exception(EXC_INT); -- cgit v1.2.3