VFS: Fix reading 7z archives without rewinding first

This commit is contained in:
Jeffrey Pfau 2016-02-07 22:24:07 -08:00
parent 6d0f370630
commit be42f298da
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
0.5.0: (Future)
Bugfixes:
- VFS: Fix reading 7z archives without rewinding first
0.4.0: (2016-02-02)
Features:
- Officially supported ports for the Nintendo 3DS, Wii, and PlayStation Vita

View File

@ -103,7 +103,7 @@ struct VDir* VDirOpen7z(const char* path, int flags) {
return 0;
}
vd->dirent.index = 0;
vd->dirent.index = -1;
vd->dirent.utf8 = 0;
vd->dirent.vd = vd;
vd->dirent.d.name = _vde7zName;