add some debug prints

This commit is contained in:
Bluzume 2021-08-13 16:49:46 +12:00
parent 0bbc504570
commit b69a6cc252
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@ -441,12 +441,14 @@ namespace CXMLDecompiler
IntIdTableOffset = AddGetIntIdTable(int.Parse(attribute.Value, System.Globalization.NumberStyles.HexNumber), -1); IntIdTableOffset = AddGetIntIdTable(int.Parse(attribute.Value, System.Globalization.NumberStyles.HexNumber), -1);
bWorkRam.Write(IntIdTableOffset); bWorkRam.Write(IntIdTableOffset);
bWorkRam.Write((int)0x00); bWorkRam.Write((int)0x00);
Console.WriteLine("Int Id: " + IntIdTableOffset + " sz: 0");
break; break;
default: default:
Console.WriteLine("UNKNOWN TYPE @ " + TreeTable.Position); Console.WriteLine("UNKNOWN TYPE @ " + TreeTable.Position);
Console.ReadKey(); Console.ReadKey();
break; break;
} }
Console.WriteLine(attribute.Name + "=" + attribute.Value);
} }
public void WriteElement(XmlNode node) public void WriteElement(XmlNode node)
{ {