예제 #1
0
 public Exporter(byte[] romData, string path, string rompath)
 {
     this.path    = path;
     this.rompath = rompath;
     this.romData = romData;
     ROM.DATA     = romData;
     ROMStructure.loadDefaultProject();
     Export();
 }
예제 #2
0
        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);
        }