Skip to content

Commit

Permalink
Update for latest libtesla, libnx (#10)
Browse files Browse the repository at this point in the history
and Atmosphere
  • Loading branch information
lookye committed Jul 6, 2021
1 parent a68e023 commit f21bbd1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -38,7 +38,7 @@ include $(DEVKITPRO)/libnx/switch_rules
# NACP building is skipped as well.
#---------------------------------------------------------------------------------
APP_TITLE := Sysmodules
APP_VERSION := 1.2.1
APP_VERSION := 1.2.2

TARGET := ovlSysmodules
BUILD := build
Expand Down
2 changes: 1 addition & 1 deletion libs/libtesla
4 changes: 2 additions & 2 deletions source/gui_main.cpp
Expand Up @@ -72,7 +72,7 @@ GuiMain::GuiMain() {
};

module.listItem->setClickListener([this, module](u64 click) -> bool {
if (click & KEY_A && !module.needReboot) {
if (click & HidNpadButton_A && !module.needReboot) {
if (this->isRunning(module)) {
/* Kill process. */
pmshellTerminateProgram(module.programId);
Expand All @@ -88,7 +88,7 @@ GuiMain::GuiMain() {
return true;
}

if (click & KEY_Y) {
if (click & HidNpadButton_Y) {
std::snprintf(pathBuffer, FS_MAX_PATH, boot2FlagFormat, module.programId);
if (this->hasFlag(module)) {
/* Remove boot2 flag file. */
Expand Down

0 comments on commit f21bbd1

Please sign in to comment.