Merge pull request #771 from AdmiralCurtiss/linux-compile-fix-memcard-wxtime

FolderMemoryCard: Fix Linux compile error.
This commit is contained in:
ramapcsx2 2015-08-17 23:21:38 +02:00
commit 9e97742a95

View File

@ -1415,7 +1415,9 @@ void FileAccessHelper::CloseFileHandle( wxFFile* file, const MemoryCardFileEntry
if ( entry != nullptr ) {
wxFileName fn( file->GetName() );
fn.SetTimes( nullptr, &entry->entry.data.timeModified.ToWxDateTime(), &entry->entry.data.timeCreated.ToWxDateTime() );
wxDateTime modified = entry->entry.data.timeModified.ToWxDateTime();
wxDateTime created = entry->entry.data.timeCreated.ToWxDateTime();
fn.SetTimes( nullptr, &modified, &created );
}
delete file;