mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(PSB): look for layers if textures not found.
This commit is contained in:
parent
08d0494a04
commit
605624bdc6
@ -77,6 +77,8 @@ namespace GameRes.Formats.Emote
|
|||||||
if (reader.Parse (key))
|
if (reader.Parse (key))
|
||||||
{
|
{
|
||||||
var dir = reader.GetTextures();
|
var dir = reader.GetTextures();
|
||||||
|
if (null == dir)
|
||||||
|
dir = reader.GetLayers();
|
||||||
if (null == dir || 0 == dir.Count)
|
if (null == dir || 0 == dir.Count)
|
||||||
return null;
|
return null;
|
||||||
return new ArcFile (file, this, dir);
|
return new ArcFile (file, this, dir);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user