diff options
| author | 2014-11-14 23:47:32 -0500 | |
|---|---|---|
| committer | 2014-11-17 22:19:14 -0500 | |
| commit | bcb0dbf7e168f383e8be2971fc0362668ca08afe (patch) | |
| tree | cf4b745c75410df73bd41e05900fbb247fe49536 | |
| parent | FS_User: Support FileSye::Path in a more generic way. (diff) | |
| download | yuzu-bcb0dbf7e168f383e8be2971fc0362668ca08afe.tar.gz yuzu-bcb0dbf7e168f383e8be2971fc0362668ca08afe.tar.xz yuzu-bcb0dbf7e168f383e8be2971fc0362668ca08afe.zip | |
Archive: Fixed close archive before freeing.
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/kernel/archive.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
| 99 | case FileCommand::Close: | 99 | case FileCommand::Close: |
| 100 | { | 100 | { |
| 101 | DEBUG_LOG(KERNEL, "Close %s %s", GetTypeName().c_str(), GetName().c_str()); | 101 | DEBUG_LOG(KERNEL, "Close %s %s", GetTypeName().c_str(), GetName().c_str()); |
| 102 | Kernel::g_object_pool.Destroy<Archive>(GetHandle()); | ||
| 103 | CloseArchive(backend->GetIdCode()); | 102 | CloseArchive(backend->GetIdCode()); |
| 103 | Kernel::g_object_pool.Destroy<Archive>(GetHandle()); | ||
| 104 | break; | 104 | break; |
| 105 | } | 105 | } |
| 106 | // Unknown command... | 106 | // Unknown command... |