From bcb0dbf7e168f383e8be2971fc0362668ca08afe Mon Sep 17 00:00:00 2001 From: bunnei Date: Fri, 14 Nov 2014 23:47:32 -0500 Subject: Archive: Fixed close archive before freeing. --- src/core/hle/kernel/archive.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/kernel/archive.cpp b/src/core/hle/kernel/archive.cpp index e911f4dc9..ece4cd73f 100644 --- a/src/core/hle/kernel/archive.cpp +++ b/src/core/hle/kernel/archive.cpp @@ -99,8 +99,8 @@ public: case FileCommand::Close: { DEBUG_LOG(KERNEL, "Close %s %s", GetTypeName().c_str(), GetName().c_str()); - Kernel::g_object_pool.Destroy(GetHandle()); CloseArchive(backend->GetIdCode()); + Kernel::g_object_pool.Destroy(GetHandle()); break; } // Unknown command... -- cgit v1.2.3