Skip to content

Commit 41c4231

Browse files
hd-geniusgibbed
authored andcommitted
[Base] Set the path for posix file info
1 parent 4a3b04d commit 41c4231

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/xenia/base/filesystem_posix.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ std::vector<FileInfo> ListFiles(const std::filesystem::path& path) {
225225
info.create_timestamp = convertUnixtimeToWinFiletime(st.st_ctime);
226226
info.access_timestamp = convertUnixtimeToWinFiletime(st.st_atime);
227227
info.write_timestamp = convertUnixtimeToWinFiletime(st.st_mtime);
228+
info.path = path;
228229
if (ent->d_type == DT_DIR) {
229230
info.type = FileInfo::Type::kDirectory;
230231
info.total_size = 0;

0 commit comments

Comments
 (0)