From 93121d93197489ef26c254e9f9bf9fa743b47195 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sat, 27 Aug 2016 00:55:57 -0700 Subject: [PATCH] VFS: Fix reading multiple files from a 7z archive --- CHANGES | 1 + src/util/vfs/vfs-lzma.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 53f464fc2..3098e0f0b 100644 --- a/CHANGES +++ b/CHANGES @@ -32,6 +32,7 @@ Bugfixes: - Wii: Fix garbage flash at startup - VFS: Fix uninitialized varaible reading from 7z - GBA: Fix losing IRQs when CPSR I bit isn't cleared + - VFS: Fix reading multiple files from a 7z archive Misc: - 3DS: Use blip_add_delta_fast for a small speed improvement - OpenGL: Log shader compilation failure diff --git a/src/util/vfs/vfs-lzma.c b/src/util/vfs/vfs-lzma.c index e8db0f871..359628abd 100644 --- a/src/util/vfs/vfs-lzma.c +++ b/src/util/vfs/vfs-lzma.c @@ -122,7 +122,6 @@ struct VDir* VDirOpen7z(const char* path, int flags) { bool _vf7zClose(struct VFile* vf) { struct VFile7z* vf7z = (struct VFile7z*) vf; IAlloc_Free(&vf7z->vd->allocImp, vf7z->outBuffer); - File_Close(&vf7z->vd->archiveStream.file); return true; }