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:
parent
12caa79178
commit
744629e9a8
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue