public PatnPage(PatnFile file) { //Console.WriteLine("DEBUG > PatnPage > Filepath: " + filepath); handler = new PatnPageHandler(file); DataContext = handler; InitializeComponent(); }
public PatnPageHandler(PatnFile file) { MemOffsetFallback = "21D16C40"; // PCSX2 CCZ's eng patch fileType = Enum.FileType.KH2_00BATTLE; subBarName = "patn"; stringToFind = subBarName; findAddress(); Console.WriteLine("DEBUG > PatnPageHandler > Processing file..."); PatnFileLoaded = file; processFile(); Console.WriteLine("DEBUG > PatnPageHandler > File processed!"); }