1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-24 18:42:05 +00:00

Fixed current cheat version not reset when deleting all cheats

This commit is contained in:
flb 2020-09-29 17:05:13 +02:00
parent dc43c0cf6b
commit 28bc41b0ab
3 changed files with 2 additions and 8 deletions

View file

@ -1,11 +1,4 @@
[ [
{
"L_BTN": "0A1E0A",
"L_JC": "82FF96",
"R_BTN": "0A1E28",
"R_JC": "96F5F5",
"name": "Animal Crossing: New Horizons"
},
{ {
"L_BTN": "0F0F0F", "L_BTN": "0F0F0F",
"L_JC": "828282", "L_JC": "828282",

View file

@ -33,7 +33,7 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true)
verTitles.push_back("v1.1.3"); verTitles.push_back("v1.1.3");
changes.push_back("\uE016 Now displays the latest installed cheat version.\n"\ changes.push_back("\uE016 Now displays the latest installed cheat version.\n"\
"\uE016 Now warns if in the app title if a new update is available."); "\uE016 Now warns in the app title if a new update is available.");
int nbVersions = verTitles.size(); int nbVersions = verTitles.size();
items.reserve(nbVersions); items.reserve(nbVersions);

View file

@ -316,5 +316,6 @@ void removeCheats(CFW cfw){
} }
} }
std::filesystem::remove(UPDATED_TITLES_PATH); std::filesystem::remove(UPDATED_TITLES_PATH);
std::filesystem::remove(CHEATS_VERSION);
ProgressEvent::instance().setStep(ProgressEvent::instance().getMax()); ProgressEvent::instance().setStep(ProgressEvent::instance().getMax());
} }