mirror of
https://github.com/HamletDuFromage/aio-switch-updater.git
synced 2024-12-28 02:16:03 +00:00
fixed crash in appletmode
This commit is contained in:
parent
5ecdd0ed5b
commit
75f4ad009c
3 changed files with 6 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -22,7 +22,7 @@ DATA := data
|
|||
INCLUDES := include lib/zipper/include /lib/borealis/library/include/borealis/extern/nlohmann
|
||||
APP_TITLE := All-in-One Switch Updater
|
||||
APP_AUTHOR := HamletDuFromage
|
||||
APP_VERSION := 2.19.0
|
||||
APP_VERSION := 2.19.1
|
||||
TARGET := $(notdir $(CURDIR))
|
||||
|
||||
ROMFS := resources
|
||||
|
|
|
@ -57,6 +57,8 @@ void AppPage::PopulatePage()
|
|||
else {
|
||||
tid = GetCurrentApplicationId();
|
||||
if (R_SUCCEEDED(InitControlData(&controlData)) && R_SUCCEEDED(GetControlData(tid & 0xFFFFFFFFFFFFF000, controlData, controlSize, name))) {
|
||||
listItem = new brls::ListItem(name, "", util::formatApplicationId(tid));
|
||||
listItem->setThumbnail(controlData->icon, sizeof(controlData->icon));
|
||||
this->AddListItem(name, tid);
|
||||
}
|
||||
label = new brls::Label(brls::LabelStyle::SMALL, "menus/common/applet_mode_not_supported"_i18n, true);
|
||||
|
|
|
@ -240,6 +240,9 @@ ChangelogPage::ChangelogPage() : AppletFrame(true, true)
|
|||
verTitles.push_back("v2.19.0");
|
||||
changes.push_back("\uE016 Added ability to view games with missing updates.\n\uE016 Updated Japanese localisation (https://github.com/yyoossk).\n\uE016 Updated Chinese localisation (https://github.com/Physton).");
|
||||
|
||||
verTitles.push_back("v2.19.1");
|
||||
changes.push_back("\uE016 Fixed crash when trying to download cheats in applet mode.\n\uE016 Updated Japanese localisation (https://github.com/yyoossk).\n\uE016 Updated Chinese localisation (https://github.com/qazrfv1234).");
|
||||
|
||||
|
||||
for (int i = verTitles.size() - 1; i >= 0; i--) {
|
||||
listItem = new brls::ListItem(verTitles[i]);
|
||||
|
|
Loading…
Reference in a new issue