GBA Context: Fix file open check
Jeffrey Pfau jeffrey@endrift.com
Sat, 02 Jan 2016 02:16:01 -0800
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gba/context/directories.c
→
src/gba/context/directories.c
@@ -92,7 +92,7 @@ dirs->archive = 0;
} } else { file = VFileOpen(path, O_RDONLY); - if (!filter(file)) { + if (file && !filter(file)) { file->close(file); file = 0; }