Multipliers were not actually being applied.

main
Síle Ekaterin Liszka 2021-05-29 06:43:13 -05:00
parent 3bb4b1ebf9
commit 61551d2407
2 changed files with 4 additions and 1 deletions

Binary file not shown.

View File

@ -231,21 +231,24 @@ void Exdeath::btnApply_clicked(bool trigger) {
QString temp = QString(":/patches/xp/"); QString temp = QString(":/patches/xp/");
temp.append(butsXP->checkedButton()->text()); temp.append(butsXP->checkedButton()->text());
temp.append(".ips"); temp.append(".ips");
patches << temp;
} }
if (!butsAP->checkedButton()->text().compare("1x")) { if (!butsAP->checkedButton()->text().compare("1x")) {
QString temp = QString(":/patches/ap/"); QString temp = QString(":/patches/ap/");
temp.append(butsAP->checkedButton()->text()); temp.append(butsAP->checkedButton()->text());
temp.append(".ips"); temp.append(".ips");
patches << temp;
} }
if (!butsGil->checkedButton()->text().compare("1x")) { if (!butsGil->checkedButton()->text().compare("1x")) {
QString temp = QString(":/patches/gil/"); QString temp = QString(":/patches/gil/");
temp.append(butsGil->checkedButton()->text()); temp.append(butsGil->checkedButton()->text());
temp.append(".ips"); temp.append(".ips");
patches << temp;
} }
target = new QFile(output); target = new QFile(output);
target->open(QIODevice::ReadWrite); target->open(QIODevice::ReadWrite);
if (patches.size() != 0) { if (patches.size() > 0) {
for (int i = 0; i < patches.size(); i++) { for (int i = 0; i < patches.size(); i++) {
applyPatch(target, patches[i]); applyPatch(target, patches[i]);
} }