From 2860294d86cbd71c31e032a1e8be84a348564bd1 Mon Sep 17 00:00:00 2001 From: J-D-K Date: Fri, 18 Jul 2025 06:25:14 -0400 Subject: [PATCH] Update BaseState logic. --- source/appstates/BaseState.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/appstates/BaseState.cpp b/source/appstates/BaseState.cpp index 87b5d35..f2ead48 100644 --- a/source/appstates/BaseState.cpp +++ b/source/appstates/BaseState.cpp @@ -5,12 +5,14 @@ BaseState::BaseState(bool isClosable) : m_isClosable(isClosable) { - if (!m_isClosable) { appletBeginBlockingHomeButton(0); } + if (m_isClosable) { return; } + appletBeginBlockingHomeButton(0); } BaseState::~BaseState() { - if (!m_isClosable) { appletEndBlockingHomeButton(); } + if (m_isClosable) { return; } + appletEndBlockingHomeButton(); } void BaseState::deactivate() { m_isActive = false; }