CP1610 - maskable interrupts do not latch [H@P]

* maskable interrupts that trigger while interrupts are disabled are not latched.
* fixes Activision's Dreadnaught Factor. (intv driver in MESS)
This commit is contained in:
Miodrag Milanovic 2011-06-29 13:28:29 +00:00
parent 09328e0990
commit 88a4d565b8

View File

@ -3409,8 +3409,7 @@ static void cp1610_set_irq_line(cp1610_state *cpustate, UINT32 irqline, int stat
switch(irqline)
{
case CP1610_INT_INTRM:
if (state == ASSERT_LINE)
cpustate->intrm_pending = 1;
cpustate->intrm_pending = (state == ASSERT_LINE);
cpustate->intrm_state = state;
break;
case CP1610_RESET: