mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(PSB): look for layers if textures not found.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user