mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-05 00:36:47 +00:00
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 ) {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user