return saveRom(this.path);
if (!this.isLoaded) { return false; } this.path = rompath; setDefaultDir(rompath.getParent());  try { FileOutputStream out = new FileOutputStream(rompath); byte[] b = new byte[this.rom.length]; for (int i = 0; i < this.rom.length; i++) { b[i] = (byte) this.rom[i]; } out.write(b); out.close(); } catch (FileNotFoundException e) { System.out.println("Error: File not saved: File not found."); e.printStackTrace(); return false; } catch (IOException e) { System.out.println("Error: File not saved: Could write file."); e.printStackTrace(); return false; } System.out.println("Saved ROM: " + this.path.length() + " bytes"); return true;
    public boolean saveRom()    {        return saveRom(this.path);    }