VFS: Fix uninitialized varaible reading from 7z

This commit is contained in:
Jeffrey Pfau 2016-08-23 01:23:44 -07:00
parent 956f63bba3
commit 9b4fa75c81
2 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@ Bugfixes:
- GBA Video: WIN0/1 take priority over OBJWIN
- PSP2: Fix mapping/unmapping from not at 0
- Wii: Fix garbage flash at startup
- VFS: Fix uninitialized varaible reading from 7z
Misc:
- 3DS: Use blip_add_delta_fast for a small speed improvement
- OpenGL: Log shader compilation failure

View File

@ -301,6 +301,7 @@ struct VFile* _vd7zOpenFile(struct VDir* vd, const char* path, int mode) {
vf->d.truncate = _vf7zTruncate;
vf->d.size = _vf7zSize;
vf->d.sync = _vf7zSync;
vf->offset = 0;
return &vf->d;
}