mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-23 21:55:34 +08:00
(MCG): added trace logging.
This commit is contained in:
parent
317ef8de44
commit
c8f696beea
@ -26,11 +26,11 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.Composition;
|
using System.ComponentModel.Composition;
|
||||||
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using GameRes.Formats.Strings;
|
using GameRes.Formats.Strings;
|
||||||
using GameRes.Utility;
|
|
||||||
|
|
||||||
namespace GameRes.Formats.FC01
|
namespace GameRes.Formats.FC01
|
||||||
{
|
{
|
||||||
@ -240,6 +240,7 @@ namespace GameRes.Formats.FC01
|
|||||||
lzss.Unpack();
|
lzss.Unpack();
|
||||||
if (input.Length - input.Position <= 1)
|
if (input.Length - input.Position <= 1)
|
||||||
{
|
{
|
||||||
|
Trace.WriteLine (string.Format ("Found matching key {0:X2}", key), "[MCG]");
|
||||||
m_output = lzss.Data;
|
m_output = lzss.Data;
|
||||||
m_key = (byte)key;
|
m_key = (byte)key;
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user