(Unity): changed assests deserializer constructor.

This commit is contained in:
morkt 2018-09-02 23:56:27 +04:00
parent 356faa01c9
commit 9cb100d0d2

View File

@ -52,7 +52,7 @@ namespace GameRes.Formats.Unity
using (var stream = file.CreateStream()) using (var stream = file.CreateStream())
using (var input = new AssetReader (stream)) using (var input = new AssetReader (stream))
{ {
var index = new ResourcesAssetsDeserializer (file); var index = new ResourcesAssetsDeserializer (file.Name);
var dir = index.Parse (input); var dir = index.Parse (input);
if (null == dir || 0 == dir.Count) if (null == dir || 0 == dir.Count)
return null; return null;