bps-delta-moremem supports manifests

This commit is contained in:
Alcaro
2017-05-17 12:00:33 +02:00
parent de30ca5507
commit ef813f6ce7
2 changed files with 1 additions and 2 deletions

View File

@@ -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="";

View File

@@ -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;