mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 15:44:00 +08:00
(ArchiveFormat.IsSaneCount): new static method.
This commit is contained in:
parent
9fd2defa07
commit
57b0115d41
@ -234,6 +234,11 @@ namespace GameRes
|
|||||||
|
|
||||||
return GetOptions<OptType> (args.Options);
|
return GetOptions<OptType> (args.Options);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected static bool IsSaneCount (int count)
|
||||||
|
{
|
||||||
|
return count > 0 && count < 0x20000;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public delegate void ParametersRequestEventHandler (object sender, ParametersRequestEventArgs e);
|
public delegate void ParametersRequestEventHandler (object sender, ParametersRequestEventArgs e);
|
||||||
|
Loading…
Reference in New Issue
Block a user