rom[0x0101d5] = 0x25;
    public boolean saveRom(File rompath)    {        if (!this.isLoaded) //don't try to save if nothing is loaded        {            return false;        }        this.path = rompath;        setDefaultDir(rompath.getParent());        //ensure mirror for ExHiRom        if (length() == 0x600200)        {            rom[0x0101d7] = 0x0d;            System.arraycopy(rom, 0x008200, rom, 0x408200, 0x8000);        }        try        {            FileOutputStream out = new FileOutputStream(rompath);            out.write(this.rom);            out.close();        }        catch (FileNotFoundException e)        {            System.err.println("Error: File not saved: File not found.");            e.printStackTrace();            return false;        }        catch (IOException e)        {            System.err.println("Error: File not saved: Could write file.");            e.printStackTrace();            return false;        }        System.out.println("Saved ROM: " + this.path.length() + " bytes");        saveRomType();        return true;    }