mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-04-07 09:25:00 -05:00
Update BaseState logic.
This commit is contained in:
parent
6af4bed9fa
commit
2860294d86
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user