From 1ffca6236454c0d54289034fd1c0f8d7fae85e66 Mon Sep 17 00:00:00 2001 From: morkt Date: Mon, 15 Oct 2018 23:23:59 +0400 Subject: [PATCH] (QLIE): set ContainedFormats property. --- ArcFormats/Qlie/ArcQLIE.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArcFormats/Qlie/ArcQLIE.cs b/ArcFormats/Qlie/ArcQLIE.cs index f62b8a4d..ec0879f9 100644 --- a/ArcFormats/Qlie/ArcQLIE.cs +++ b/ArcFormats/Qlie/ArcQLIE.cs @@ -84,6 +84,7 @@ namespace GameRes.Formats.Qlie public PackOpener () { Extensions = new string [] { "pack" }; + ContainedFormats = new[] { "ABMP/QLIE", "DPNG", "PNG", "JPEG", "OGG", "WAV" }; } /// @@ -147,7 +148,7 @@ namespace GameRes.Formats.Qlie if (name_length != index.Read (name_buffer, 0, name_length)) return null; var name = enc.DecryptName (name_buffer, name_length); - var entry = FormatCatalog.Instance.Create (name); + var entry = Create (name); if (use_pack_keyfile) entry.RawName = name_buffer.Take (name_length).ToArray();