mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-09-12 20:45:11 -05:00
Minor code revisions.
This commit is contained in:
@@ -8,13 +8,13 @@ BaseState::BaseState(bool isClosable)
|
||||
: m_isClosable(isClosable)
|
||||
{
|
||||
if (m_isClosable) { return; }
|
||||
error::libnx(appletBeginBlockingHomeButton(0));
|
||||
error::libnx(appletBeginBlockingHomeButtonShortAndLongPressed(0));
|
||||
}
|
||||
|
||||
BaseState::~BaseState()
|
||||
{
|
||||
if (m_isClosable) { return; }
|
||||
error::libnx(appletEndBlockingHomeButton());
|
||||
error::libnx(appletEndBlockingHomeButtonShortAndLongPressed());
|
||||
}
|
||||
|
||||
void BaseState::deactivate() { m_isActive = false; }
|
||||
|
||||
Reference in New Issue
Block a user