mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 05:35:34 +08:00
(VF): addtional check for exe files.
This commit is contained in:
parent
a7f6862c49
commit
5f9340c32b
@ -66,6 +66,8 @@ namespace GameRes.Formats.LiveMaker
|
||||
&& (0x5A4D == (signature & 0xFFFF))) // 'MZ'
|
||||
{
|
||||
base_offset = SkipExeData (index_file);
|
||||
if (base_offset >= file.MaxOffset)
|
||||
return null;
|
||||
signature = index_file.View.ReadUInt32 (base_offset);
|
||||
}
|
||||
else if (!file.Name.HasExtension (".dat"))
|
||||
|
Loading…
Reference in New Issue
Block a user