pcsx2: init FileMemoryCard

CID 147037
This commit is contained in:
Gregory Hainaut 2016-03-28 17:21:10 +02:00
parent 27400b0be1
commit eb2c61ccc0
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,7 @@ public:
s32 Save ( uint slot, const u8 *src, u32 adr, int size );
s32 EraseBlock ( uint slot, u32 adr );
u64 GetCRC ( uint slot );
protected:
bool Seek( wxFFile& f, u32 adr );
bool Create( const wxString& mcdFile, uint sizeInMB );
@ -143,6 +143,7 @@ wxString FileMcd_GetDefaultName(uint slot)
FileMemoryCard::FileMemoryCard()
{
memset8<0xff>( m_effeffs );
m_chkaddr = 0;
}
void FileMemoryCard::Open()