From 744629e9a83f71f1fa5946adbab1ff7936e0bcd5 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 27 Nov 2020 23:10:21 +1000 Subject: [PATCH] Common/FileSystem: Fix modification time not being set in find Fixes game list list always re-scanning on Linux/Android. --- src/common/file_system.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/file_system.cpp b/src/common/file_system.cpp index e9c90a92a..fba362cce 100644 --- a/src/common/file_system.cpp +++ b/src/common/file_system.cpp @@ -1322,6 +1322,7 @@ static u32 RecursiveFindFiles(const char* OriginPath, const char* ParentPath, co } outData.Size = static_cast(sDir.st_size); + outData.ModificationTime.SetUnixTimestamp(static_cast(sDir.st_mtim.tv_sec)); // match the filename if (hasWildCards)