1
0
Fork 0

Use modification instead of creation date.(rcblanke)

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3809
This commit is contained in:
Peter Veenstra 2013-01-01 12:53:00 +00:00
parent 5e5fac479e
commit 613c8fb9d4

View file

@ -968,7 +968,10 @@ nextfile:
/* Compare name to search pattern */
if(!WildFileCmp(find_name,srch_pattern)) goto nextfile;
dta.SetResult(find_name, sectbuf[entryoffset].entrysize, sectbuf[entryoffset].crtDate, sectbuf[entryoffset].crtTime, sectbuf[entryoffset].attrib);
//dta.SetResult(find_name, sectbuf[entryoffset].entrysize, sectbuf[entryoffset].crtDate, sectbuf[entryoffset].crtTime, sectbuf[entryoffset].attrib);
dta.SetResult(find_name, sectbuf[entryoffset].entrysize, sectbuf[entryoffset].modDate, sectbuf[entryoffset].modTime, sectbuf[entryoffset].attrib);
memcpy(foundEntry, &sectbuf[entryoffset], sizeof(direntry));
return true;