mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-26 23:24:00 +08:00
(ImageArray): use Array.Empty
This commit is contained in:
parent
caa3313e2a
commit
ebbe8abcab
@ -614,9 +614,7 @@ namespace GameRes.Formats.ShiinaRio
|
||||
private byte[] m_extra;
|
||||
private int m_common_length;
|
||||
|
||||
static readonly byte[] EmptyArray = new byte[0]; // Array.Empty<T>() available in .Net 4.6 only
|
||||
|
||||
public ImageArray (byte[] common) : this (common, common.Length, EmptyArray)
|
||||
public ImageArray (byte[] common) : this (common, common.Length, Array.Empty<byte>())
|
||||
{
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user