mirror of https://github.com/mgba-emu/mgba.git
VFS: Fix uninitialized varaible reading from 7z
This commit is contained in:
parent
956f63bba3
commit
9b4fa75c81
1
CHANGES
1
CHANGES
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue