createPatchFooter(p);
p.sysex[264] = MW2Constants.SYSEX_END_BYTE;
    public Patch createNewPatch() {        byte[] sysex  = new byte[MW2Constants.PATCH_SIZE];        Patch p;                try {            java.io.InputStream fileIn = getClass().getResourceAsStream(MW2Constants.DEFAULT_SYSEX_FILENAME);            fileIn.read(sysex);            fileIn.close();            p = new Patch(sysex, this);                    } catch (Exception e) {            System.err.println("Unable to find " + MW2Constants.DEFAULT_SYSEX_FILENAME + " using hardcoded default.");                                   p = new Patch(sysex, this);            createPatchHeader(p);            createPatchFooter(p);                                   setPatchName(p, "New program");            calculateChecksum(p);        }                return p;    }