GBHawk: Fix Amazing Penguin
This commit is contained in:
parent
0e028a2284
commit
afe5a7cd11
|
@ -76,15 +76,7 @@ namespace BizHawk.Emulation.Common.Components.LR35902
|
|||
|
||||
private void HALT_()
|
||||
{
|
||||
if (!FlagI)
|
||||
{
|
||||
cur_instr = new ushort[]
|
||||
{IDLE,
|
||||
IDLE,
|
||||
IDLE,
|
||||
HALT };
|
||||
}
|
||||
else
|
||||
if (FlagI && (EI_pending == 0))
|
||||
{
|
||||
// if interrupts are disabled,
|
||||
// a glitchy decrement to the program counter happens
|
||||
|
@ -94,6 +86,14 @@ namespace BizHawk.Emulation.Common.Components.LR35902
|
|||
IDLE,
|
||||
OP_G};
|
||||
}
|
||||
else
|
||||
{
|
||||
cur_instr = new ushort[]
|
||||
{IDLE,
|
||||
IDLE,
|
||||
IDLE,
|
||||
HALT };
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue