GBA Thread: Interrupting should halt the emulation as soon as possible
Jeffrey Pfau jeffrey@endrift.com
Sat, 24 Jan 2015 00:32:56 -0800
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/gba/gba-thread.c
→
src/gba/gba-thread.c
@@ -485,6 +485,7 @@ }
threadContext->savedState = threadContext->state; _waitOnInterrupt(threadContext); threadContext->state = THREAD_INTERRUPTING; + threadContext->gba->cpu->nextEvent = 0; if (threadContext->debugger && threadContext->debugger->state == DEBUGGER_RUNNING) { threadContext->debugger->state = DEBUGGER_EXITING; }