public Exporter(byte[] romData, string path, string rompath) { this.path = path; this.rompath = rompath; this.romData = romData; ROM.DATA = romData; ROMStructure.loadDefaultProject(); Export(); }
public Importer(string path, byte[] romData, string fname = "") { //this.logTextbox = logTextbox; //this.progressBar = progressBar; this.romData = romData; ROM.DATA = romData; ROMStructure.loadDefaultProject(); this.path = path; //#warning Test Code to remove on release; //TEST CODE //path = @"C:\Users\Adamo\Desktop\ProjectDirectory\\"; //TEST CODE //In case the ROM already have data in the 2MB portion this could be changed to be in 3MB or 4MB //Will be in the config file later the Editor use 1MB portion you can chose which one ;) //IF RANDO public int DataOffset = 0x100000; Import(fname); }