This commit is contained in:
parent
abb7429a60
commit
2d7a516a97
1 changed files with 2 additions and 2 deletions
|
@ -157,13 +157,13 @@ bool CSaveLoadDatabase::startSave(char *_filename,int _fileNum=-1)
|
||||||
ASSERT(!m_loading);
|
ASSERT(!m_loading);
|
||||||
ASSERT(!m_formatting);
|
ASSERT(!m_formatting);
|
||||||
ASSERT(!m_autoloading);
|
ASSERT(!m_autoloading);
|
||||||
|
/* hey fool, your blanking out existing filenames!!
|
||||||
if(_fileNum!=-1)
|
if(_fileNum!=-1)
|
||||||
{
|
{
|
||||||
strncat(nameBuf,MemCard::GetFileName(0,_fileNum),8);
|
strncat(nameBuf,MemCard::GetFileName(0,_fileNum),8);
|
||||||
_filename=nameBuf;
|
_filename=nameBuf;
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
// Alloc a buffer and copy everything to it
|
// Alloc a buffer and copy everything to it
|
||||||
allocateBuffer();
|
allocateBuffer();
|
||||||
memcpy((char*)&m_tempBuffer[0],m_memcardHeader,256); // Memcard header
|
memcpy((char*)&m_tempBuffer[0],m_memcardHeader,256); // Memcard header
|
||||||
|
|
Loading…
Add table
Reference in a new issue