mirror of https://github.com/mgba-emu/mgba.git
GBA Thread: Fix possible hang when loading an archive
This commit is contained in:
parent
c50b228243
commit
0cf3006952
1
CHANGES
1
CHANGES
|
@ -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
|
||||||
|
|
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in New Issue