mirror of
https://github.com/holub/mame
synced 2025-05-28 16:43:04 +03:00
Fixed taking of interrupts in the Nintendo Minx cpu core.
This commit is contained in:
parent
9933905b03
commit
e290212a9d
@ -171,9 +171,9 @@ static int minx_execute( int cycles )
|
||||
if ( regs.interrupt_pending )
|
||||
{
|
||||
regs.halted = 0;
|
||||
if ( ( regs.F & 0xc0 ) == 0x40 )
|
||||
if ( ! ( regs.F & 0xc0 ) )
|
||||
{
|
||||
logerror("minx_execute(): taking IRQ\n");
|
||||
//logerror("minx_execute(): taking IRQ\n");
|
||||
PUSH8( regs.V );
|
||||
PUSH16( regs.PC );
|
||||
PUSH8( regs.F );
|
||||
|
Loading…
Reference in New Issue
Block a user