diff --git a/flips-gtk.cpp b/flips-gtk.cpp index 0989937..599b612 100644 --- a/flips-gtk.cpp +++ b/flips-gtk.cpp @@ -433,7 +433,6 @@ static void a_ApplyPatch(GtkButton* widget, gpointer user_data) if (!inromname) goto cleanup; { - //char * patchbasename=GetBaseName(filename); const char * inromext=GetExtension(inromname); if (!inromext) inromext=""; diff --git a/flips.cpp b/flips.cpp index 7835c97..efae8e9 100644 --- a/flips.cpp +++ b/flips.cpp @@ -768,7 +768,7 @@ struct errorinfo CreatePatchToMem(LPCWSTR inromname, LPCWSTR outromname, enum pa struct errorinfo manifesterr={el_ok, NULL}; struct manifestinfo defmanifestinfo={true,false,NULL}; if (!manifestinfo) manifestinfo=&defmanifestinfo; - if (patchtype==ty_bps || patchtype==ty_bps_linear) + if (patchtype==ty_bps || patchtype==ty_bps_linear || patchtype==ty_bps_moremem) { LPCWSTR manifestname; if (manifestinfo->name) manifestname=manifestinfo->name;