From 87dd1792cebc18b2421d7a3439c0b9f11310f876 Mon Sep 17 00:00:00 2001 From: morkt Date: Tue, 22 Dec 2015 09:11:58 +0400 Subject: [PATCH] (MblOpener): use ImageFormat.FindByTag shortcut. --- ArcFormats/Marble/ArcMBL.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArcFormats/Marble/ArcMBL.cs b/ArcFormats/Marble/ArcMBL.cs index a37bae77..ab24dac2 100644 --- a/ArcFormats/Marble/ArcMBL.cs +++ b/ArcFormats/Marble/ArcMBL.cs @@ -81,7 +81,7 @@ namespace GameRes.Formats.Marble return arc; } - static readonly Lazy PrsFormat = new Lazy (() => FormatCatalog.Instance.ImageFormats.FirstOrDefault (x => x.Tag == "PRS")); + static readonly Lazy PrsFormat = new Lazy (() => ImageFormat.FindByTag ("PRS")); private ArcFile ReadIndex (ArcView file, int count, uint filename_len, uint index_offset) {