mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-15 02:30:32 +01:00
FolderMemoryCard: Fix Linux compile error.
This commit is contained in:
1 parent
f9e6a02346
commit
b2831ac2fd
1 file changed
+3
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user