mirror of https://github.com/PCSX2/pcsx2.git
Fix potential access of free'd memory when re-opening an already open folder memory card.
This commit is contained in:
parent
7f3f6e96d8
commit
3b7ba39590
|
@ -42,11 +42,11 @@ void FolderMemoryCard::InitializeInternalData() {
|
|||
memset( &m_backupBlock2, 0xFF, sizeof( m_backupBlock2 ) );
|
||||
m_cache.clear();
|
||||
m_oldDataCache.clear();
|
||||
m_lastAccessedFile.CloseAll();
|
||||
m_fileMetadataQuickAccess.clear();
|
||||
m_timeLastWritten = 0;
|
||||
m_isEnabled = false;
|
||||
m_framesUntilFlush = 0;
|
||||
m_lastAccessedFile.CloseAll();
|
||||
m_performFileWrites = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue