mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
(MC): header check.
This commit is contained in:
parent
f79be94cde
commit
aadb48a7dc
@ -41,7 +41,7 @@ namespace GameRes.Formats.Seraphim
|
||||
|
||||
public override ArcFile TryOpen (ArcView file)
|
||||
{
|
||||
if (file.View.ReadInt32 (0) != 0 || !file.View.AsciiEqual (4, "MCs"))
|
||||
if (file.View.ReadInt32 (0) != 0 || !file.View.AsciiEqual (4, "MC"))
|
||||
return null;
|
||||
int count = file.View.ReadInt32 (8);
|
||||
if (!IsSaneCount (count))
|
||||
|
Loading…
x
Reference in New Issue
Block a user