mirror of https://github.com/PCSX2/pcsx2.git
Merge pull request #771 from AdmiralCurtiss/linux-compile-fix-memcard-wxtime
FolderMemoryCard: Fix Linux compile error.
This commit is contained in:
commit
9e97742a95
|
@ -1415,7 +1415,9 @@ void FileAccessHelper::CloseFileHandle( wxFFile* file, const MemoryCardFileEntry
|
||||||
|
|
||||||
if ( entry != nullptr ) {
|
if ( entry != nullptr ) {
|
||||||
wxFileName fn( file->GetName() );
|
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;
|
delete file;
|
||||||
|
|
Loading…
Reference in New Issue