GBA Thread: Fix possible hang when loading an archive

This commit is contained in:
Jeffrey Pfau 2015-01-25 00:12:33 -08:00
parent c50b228243
commit 0cf3006952
2 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ Bugfixes:
- GBA BIOS: Fix BIOS prefetch after returning from an IRQ - GBA BIOS: Fix BIOS prefetch after returning from an IRQ
- GBA BIOS: Fix BIOS prefetch after reset - GBA BIOS: Fix BIOS prefetch after reset
- GBA Memory: Fix alignment of open bus 8- and 16-bit loads - GBA Memory: Fix alignment of open bus 8- and 16-bit loads
- GBA Thread: Fix possible hang when loading an archive
Misc: Misc:
- GBA Audio: Change internal audio sample buffer from 32-bit to 16-bit samples - GBA Audio: Change internal audio sample buffer from 32-bit to 16-bit samples
- GBA Memory: Simplify memory API and use fixed bus width - GBA Memory: Simplify memory API and use fixed bus width

View File

@ -315,6 +315,7 @@ bool GBAThreadStart(struct GBAThread* threadContext) {
struct Patch patchTemp; struct Patch patchTemp;
struct VFile* vf = threadContext->gameDir->openFile(threadContext->gameDir, dirent->name(dirent), O_RDONLY); struct VFile* vf = threadContext->gameDir->openFile(threadContext->gameDir, dirent->name(dirent), O_RDONLY);
if (!vf) { if (!vf) {
dirent = threadContext->gameDir->listNext(threadContext->gameDir);
continue; continue;
} }
if (!threadContext->rom && GBAIsROM(vf)) { if (!threadContext->rom && GBAIsROM(vf)) {