mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
use Array.Empty() method.
This commit is contained in:
@@ -482,7 +482,7 @@ namespace GameRes
|
||||
{
|
||||
m_source = input.GetBuffer();
|
||||
if (null == m_source)
|
||||
m_source = new byte[0];
|
||||
m_source = Array.Empty<byte>();
|
||||
}
|
||||
catch (UnauthorizedAccessException)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user