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:
parent
5e5fac479e
commit
613c8fb9d4
1 changed files with 4 additions and 1 deletions
|
@ -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, §buf[entryoffset], sizeof(direntry));
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue