Rename home_allowed to aptHomeAllowed

This commit is contained in:
Alex Taber 2018-07-10 21:35:40 -04:00 committed by Oreo639
parent f76df85633
commit 115607d671

View File

@ -41,7 +41,7 @@ enum
static u8 aptHomeButtonState; static u8 aptHomeButtonState;
static u32 aptFlags = FLAG_ALLOWSLEEP; static u32 aptFlags = FLAG_ALLOWSLEEP;
static bool home_allowed = false; static bool aptHomeAllowed = false;
static u32 aptParameters[0x1000/4]; static u32 aptParameters[0x1000/4];
static u64 aptChainloadTid; static u64 aptChainloadTid;
static u8 aptChainloadMediatype; static u8 aptChainloadMediatype;
@ -270,12 +270,12 @@ void aptSetSleepAllowed(bool allowed)
bool aptIsHomeAllowed(void) bool aptIsHomeAllowed(void)
{ {
return home_allowed; return aptHomeAllowed;
} }
void aptSetHomeAllowed(bool allowed) void aptSetHomeAllowed(bool allowed)
{ {
home_allowed = allowed; aptHomeAllowed = allowed;
} }
void aptSetChainloader(u64 programID, u8 mediatype) void aptSetChainloader(u64 programID, u8 mediatype)