diff --git a/libctru/source/services/apt.c b/libctru/source/services/apt.c index 96e6618..cba3347 100644 --- a/libctru/source/services/apt.c +++ b/libctru/source/services/apt.c @@ -41,7 +41,7 @@ enum static u8 aptHomeButtonState; static u32 aptFlags = FLAG_ALLOWSLEEP; -static bool home_allowed = false; +static bool aptHomeAllowed = false; static u32 aptParameters[0x1000/4]; static u64 aptChainloadTid; static u8 aptChainloadMediatype; @@ -270,12 +270,12 @@ void aptSetSleepAllowed(bool allowed) bool aptIsHomeAllowed(void) { - return home_allowed; + return aptHomeAllowed; } void aptSetHomeAllowed(bool allowed) { - home_allowed = allowed; + aptHomeAllowed = allowed; } void aptSetChainloader(u64 programID, u8 mediatype)