GBA Thread: Don't skip BIOS if no ROM is loaded
Jeffrey Pfau jeffrey@endrift.com
Sun, 16 Aug 2015 13:00:37 -0700
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
src/gba/supervisor/thread.c
→
src/gba/supervisor/thread.c
@@ -225,7 +225,7 @@ movie->startPlaying(movie, false);
GBARRInitPlay(&gba); } - if (threadContext->skipBios) { + if (threadContext->skipBios && gba.memory.rom) { GBASkipBIOS(&cpu); }@@ -305,7 +305,7 @@ }
MutexUnlock(&threadContext->stateMutex); if (resetScheduled) { ARMReset(&cpu); - if (threadContext->skipBios) { + if (threadContext->skipBios && gba.memory.rom) { GBASkipBIOS(&cpu); } }