mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-09-12 20:45:11 -05:00
Add comments to states.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <switch.h>
|
||||
|
||||
// ---- Construction ----
|
||||
BaseState::BaseState(bool isClosable)
|
||||
: m_isClosable(isClosable)
|
||||
{
|
||||
@@ -17,6 +18,8 @@ BaseState::~BaseState()
|
||||
error::libnx(appletEndBlockingHomeButtonShortAndLongPressed());
|
||||
}
|
||||
|
||||
// ---- Public functions ----
|
||||
|
||||
void BaseState::deactivate() { m_isActive = false; }
|
||||
|
||||
void BaseState::reactivate() { m_isActive = true; }
|
||||
|
||||
Reference in New Issue
Block a user