From c8f696beeab38001962551c76592372b62b8ad29 Mon Sep 17 00:00:00 2001 From: morkt Date: Tue, 29 May 2018 16:32:26 +0400 Subject: [PATCH] (MCG): added trace logging. --- ArcFormats/FC01/ImageMCG.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArcFormats/FC01/ImageMCG.cs b/ArcFormats/FC01/ImageMCG.cs index 30f5b2d2..1a7bc2fb 100644 --- a/ArcFormats/FC01/ImageMCG.cs +++ b/ArcFormats/FC01/ImageMCG.cs @@ -26,11 +26,11 @@ using System; using System.Collections.Generic; using System.ComponentModel.Composition; +using System.Diagnostics; using System.IO; using System.Windows.Media; using System.Windows.Media.Imaging; using GameRes.Formats.Strings; -using GameRes.Utility; namespace GameRes.Formats.FC01 { @@ -240,6 +240,7 @@ namespace GameRes.Formats.FC01 lzss.Unpack(); if (input.Length - input.Position <= 1) { + Trace.WriteLine (string.Format ("Found matching key {0:X2}", key), "[MCG]"); m_output = lzss.Data; m_key = (byte)key; return;