GBA Thread: Fix possible hang when loading an archive
Jeffrey Pfau jeffrey@endrift.com
Sun, 25 Jan 2015 00:12:33 -0800
2 files changed,
2 insertions(+),
0 deletions(-)
M
CHANGES
→
CHANGES
@@ -27,6 +27,7 @@ - GBA Audio: Audio buffer sizes are now correct sizes for both sample rates
- GBA BIOS: Fix BIOS prefetch after returning from an IRQ - GBA BIOS: Fix BIOS prefetch after reset - GBA Memory: Fix alignment of open bus 8- and 16-bit loads + - GBA Thread: Fix possible hang when loading an archive Misc: - GBA Audio: Change internal audio sample buffer from 32-bit to 16-bit samples - GBA Memory: Simplify memory API and use fixed bus width
M
src/gba/gba-thread.c
→
src/gba/gba-thread.c
@@ -315,6 +315,7 @@ while (dirent) {
struct Patch patchTemp; struct VFile* vf = threadContext->gameDir->openFile(threadContext->gameDir, dirent->name(dirent), O_RDONLY); if (!vf) { + dirent = threadContext->gameDir->listNext(threadContext->gameDir); continue; } if (!threadContext->rom && GBAIsROM(vf)) {