From d89c5dddcda72fbab36414d74cf4c623a4343c1c Mon Sep 17 00:00:00 2001 From: "j4ck.fr0st" Date: Wed, 3 Feb 2010 20:46:22 +0000 Subject: [PATCH] whoops, forgot to remove this one. closing gci twice might not be that good... git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5005 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DolphinWX/Src/MemoryCards/GCMemcard.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/Source/Core/DolphinWX/Src/MemoryCards/GCMemcard.cpp b/Source/Core/DolphinWX/Src/MemoryCards/GCMemcard.cpp index cfd45532ef..7745996c0f 100644 --- a/Source/Core/DolphinWX/Src/MemoryCards/GCMemcard.cpp +++ b/Source/Core/DolphinWX/Src/MemoryCards/GCMemcard.cpp @@ -835,7 +835,6 @@ u32 GCMemcard::ImportGciInternal(FILE *gci, const char *inputFile, std::string o u32 size = BE16((tempDEntry->BlockCount)) * BLOCK_SIZE; u8 *tempSaveData = new u8[size]; fread(tempSaveData, 1, size, gci); - fclose(gci); u32 ret; if(!outputFile.empty()) {