mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 21:55:34 +08:00
(UpdateFileTable): check added file for existence.
This commit is contained in:
parent
931d76db04
commit
ad9fc13068
@ -251,6 +251,8 @@ namespace GameRes.Formats
|
||||
if (table.TryGetValue (id, out existing) && !(existing is AmiEntry))
|
||||
{
|
||||
var file_new = new FileInfo (entry.Name);
|
||||
if (!file_new.Exists)
|
||||
continue;
|
||||
var file_old = new FileInfo (existing.Name);
|
||||
if (file_new.LastWriteTime <= file_old.LastWriteTime)
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user