mirror of
https://github.com/lifegpc/GARbro.git
synced 2026-06-06 05:28:49 +08:00
(ImageArray): use Array.Empty
This commit is contained in:
@@ -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>())
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user