all repos — mgba @ 9b4fa75c81d50768359169887efaf3f17028284a

mGBA Game Boy Advance Emulator

VFS: Fix uninitialized varaible reading from 7z
Jeffrey Pfau jeffrey@endrift.com
Tue, 23 Aug 2016 01:23:44 -0700
commit

9b4fa75c81d50768359169887efaf3f17028284a

parent

956f63bba31032ff1e955afa96ccbde0486b016a

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -30,6 +30,7 @@ - PSP2: Delete threads after they return

- 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
M src/util/vfs/vfs-lzma.csrc/util/vfs/vfs-lzma.c

@@ -301,6 +301,7 @@ vf->d.unmap = _vf7zUnmap;

vf->d.truncate = _vf7zTruncate; vf->d.size = _vf7zSize; vf->d.sync = _vf7zSync; + vf->offset = 0; return &vf->d; }