Shutdown thread preemptively if the loaded file is not a ROM
Jeffrey Pfau jeffrey@endrift.com
Tue, 21 Oct 2014 22:24:32 -0700
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
src/gba/gba-thread.c
→
src/gba/gba-thread.c
@@ -282,6 +282,7 @@
} if (!threadContext->rom) { + threadContext->state = THREAD_SHUTDOWN; return false; }