all repos — mgba @ 4c5ba8d8c14ec3110c732eddf2aac91379fd4e14

mGBA Game Boy Advance Emulator

GB: Fix missing EI
Jeffrey Pfau jeffrey@endrift.com
Sun, 28 Aug 2016 10:31:22 -0700
commit

4c5ba8d8c14ec3110c732eddf2aac91379fd4e14

parent

9e4f53aa241dd9a1929ce4ef90a48d7821b861a6

1 files changed, 2 insertions(+), 0 deletions(-)

jump to
M src/gb/gb.csrc/gb/gb.c

@@ -336,6 +336,8 @@ if (gb->eiPending <= 0) {

gb->memory.ime = true; GBUpdateIRQs(gb); gb->eiPending = INT_MAX; + } else { + nextEvent = gb->eiPending; } }