From b65c10afc7ff0bbcd9f245ab3d8c4179517832f2 Mon Sep 17 00:00:00 2001 From: alyosha-tas Date: Wed, 6 Dec 2017 08:12:41 -0500 Subject: [PATCH] GBHawk: CPU Update for new test --- BizHawk.Emulation.Cores/CPUs/LR35902/LR35902.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.Emulation.Cores/CPUs/LR35902/LR35902.cs b/BizHawk.Emulation.Cores/CPUs/LR35902/LR35902.cs index 401f1fe397..e22ab03ea5 100644 --- a/BizHawk.Emulation.Cores/CPUs/LR35902/LR35902.cs +++ b/BizHawk.Emulation.Cores/CPUs/LR35902/LR35902.cs @@ -252,7 +252,7 @@ namespace BizHawk.Emulation.Common.Components.LR35902 SET_Func(cur_instr[instr_pntr++], cur_instr[instr_pntr++]); break; case EI: - EI_pending = 2; + if (EI_pending == 0) { EI_pending = 2; } break; case DI: interrupts_enabled = false;