diff --git a/Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.cpp b/Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.cpp index edc41bd855..484ddd1fb5 100644 --- a/Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.cpp +++ b/Source/Core/Core/Src/HW/EXI_DeviceMemoryCard.cpp @@ -174,6 +174,13 @@ bool CEXIMemoryCard::IsPresent() void CEXIMemoryCard::SetCS(int cs) { + // So that memory card won't be invalidated during flushing + if(flushThread) + { + delete flushThread; + flushThread = NULL; + } + if (cs) // not-selected to selected m_uPosition = 0; else