GB: Fix IRQs trampling each other if two happen mid-instruction
Jeffrey Pfau jeffrey@endrift.com
Sun, 29 May 2016 11:16:51 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gb/gb.c
→
src/gb/gb.c
@@ -265,7 +265,7 @@ return;
} gb->cpu->halted = false; - if (!gb->memory.ime) { + if (!gb->memory.ime || gb->cpu->irqPending) { return; }