all repos — mgba @ 4bb8b7b1fdc48cfa37ea1ae3e44553bf8330ebaa

mGBA Game Boy Advance Emulator

Shutdown thread preemptively if the loaded file is not a ROM
Jeffrey Pfau jeffrey@endrift.com
Tue, 21 Oct 2014 22:24:32 -0700
commit

4bb8b7b1fdc48cfa37ea1ae3e44553bf8330ebaa

parent

03b5e2d78eb58a1aac3fccd4bd0e6fff5d13bc59

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

jump to
M src/gba/gba-thread.csrc/gba/gba-thread.c

@@ -282,6 +282,7 @@

} if (!threadContext->rom) { + threadContext->state = THREAD_SHUTDOWN; return false; }