write(0x0101d5, 0x25);
    public boolean saveRom(File rompath)    {        if (!this.isLoaded) //don't try to save if nothing is loaded        {            return false;        }        //ensure mirror for ExHiRom        if (length() == 0x600200)        {            write(0x0101d7, 0x0d);            write(0x408200, readByte(0x008200, 0x8000));        }        if (rompath != super.path)        {            try            {                RandomAccessFile newRom = new RandomAccessFile(rompath, "rwd");                rom.seek(0);                newRom.seek(0);                byte[] b = new byte[(int) rom.length()];                rom.read(b);                newRom.write(b);                rom = newRom;                path = rompath;            }            catch (FileNotFoundException e)            {                e.printStackTrace();            }            catch (IOException e)            {                e.printStackTrace();            }            setDefaultDir(rompath.getParent());        }        return true;    }