GBHawk: Fix a bug in I Flag check
This commit is contained in:
parent
a0e5e0e593
commit
678666ddf0
|
@ -151,6 +151,7 @@ namespace BizHawk.Emulation.Common.Components.LR35902
|
||||||
FetchInstruction(ReadMemory(RegPC++));
|
FetchInstruction(ReadMemory(RegPC++));
|
||||||
}
|
}
|
||||||
instr_pntr = 0;
|
instr_pntr = 0;
|
||||||
|
I_use = false;
|
||||||
break;
|
break;
|
||||||
case RD:
|
case RD:
|
||||||
Read_Func(cur_instr[instr_pntr++], cur_instr[instr_pntr++], cur_instr[instr_pntr++]);
|
Read_Func(cur_instr[instr_pntr++], cur_instr[instr_pntr++], cur_instr[instr_pntr++]);
|
||||||
|
@ -302,7 +303,7 @@ namespace BizHawk.Emulation.Common.Components.LR35902
|
||||||
{
|
{
|
||||||
INTERRUPT_();
|
INTERRUPT_();
|
||||||
Halt_bug_3 = false;
|
Halt_bug_3 = false;
|
||||||
Console.WriteLine("Hit this");
|
Console.WriteLine("Hit INT");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -335,6 +336,7 @@ namespace BizHawk.Emulation.Common.Components.LR35902
|
||||||
RegPC++;
|
RegPC++;
|
||||||
FetchInstruction(ReadMemory(RegPC));
|
FetchInstruction(ReadMemory(RegPC));
|
||||||
Halt_bug_3 = false;
|
Halt_bug_3 = false;
|
||||||
|
Console.WriteLine("Hit un");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue