mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 15:44:00 +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