public SumnPage(SumnFile file) { //Console.WriteLine("DEBUG > SumnPage > Filepath: " + filepath); handler = new SumnPageHandler(file); DataContext = handler; InitializeComponent(); }
public SumnPageHandler(SumnFile file) { MemOffsetFallback = "21D19658"; // PCSX2 CCZ's eng patch fileType = Enum.FileType.KH2_00BATTLE; subBarName = "sumn"; stringToFind = subBarName; findAddress(); Console.WriteLine("DEBUG > SumnPageHandler > Processing file..."); SumnFileLoaded = file; processFile(); Console.WriteLine("DEBUG > SumnPageHandler > File processed!"); }