1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-11-24 18:42:05 +00:00
This commit is contained in:
flb 2021-09-08 12:14:21 +02:00
parent 752ca376c4
commit 8e34b5fbd3
2 changed files with 3 additions and 4 deletions

1
.gitignore vendored
View file

@ -11,6 +11,7 @@ switch/
*.bin *.bin
*.nsp *.nsp
*.psd *.psd
*.bak
resources/i18n/zh-Hans resources/i18n/zh-Hans
resources/i18n/zh-Hant resources/i18n/zh-Hant
resources/i18n/en-GB resources/i18n/en-GB

View file

@ -235,16 +235,15 @@ void AppPage_Exclude::PopulatePage()
listItem->setThumbnail(controlData->icon, sizeof(controlData->icon)); listItem->setThumbnail(controlData->icon, sizeof(controlData->icon));
items.insert(std::make_pair(listItem, util::formatApplicationId(tid))); items.insert(std::make_pair(listItem, util::formatApplicationId(tid)));
list->addView(listItem); list->addView(listItem);
free(controlData);
} }
delete[] records; free(controlData);
} }
} }
else { else {
label = new brls::Label(brls::LabelStyle::SMALL, "menus/common/applet_mode_not_supported"_i18n, true); label = new brls::Label(brls::LabelStyle::SMALL, "menus/common/applet_mode_not_supported"_i18n, true);
list->addView(label); list->addView(label);
} }
delete[] records;
list->registerAction("menus/cheats/exclude_titles_save"_i18n, brls::Key::B, [this] { list->registerAction("menus/cheats/exclude_titles_save"_i18n, brls::Key::B, [this] {
std::set<std::string> exclude; std::set<std::string> exclude;
@ -298,4 +297,3 @@ void AppPage_DownloadedCheats::GetExistingCheatsTids() {
} }
} }
} }