Common/FileSystem: Fix modification time not being set in find

Fixes game list list always re-scanning on Linux/Android.
This commit is contained in:
Connor McLaughlin 2020-11-27 23:10:21 +10:00
parent 12caa79178
commit 744629e9a8
1 changed files with 1 additions and 0 deletions

View File

@ -1322,6 +1322,7 @@ static u32 RecursiveFindFiles(const char* OriginPath, const char* ParentPath, co
} }
outData.Size = static_cast<u64>(sDir.st_size); outData.Size = static_cast<u64>(sDir.st_size);
outData.ModificationTime.SetUnixTimestamp(static_cast<Timestamp::UnixTimestampValue>(sDir.st_mtim.tv_sec));
// match the filename // match the filename
if (hasWildCards) if (hasWildCards)