From f8aa5558cdb6bf8a50da0cae0c340555994800a4 Mon Sep 17 00:00:00 2001 From: Maschell Date: Thu, 20 Jul 2017 16:01:08 +0200 Subject: [PATCH] added variable for the app status --- utils/CPRetainVars.cpp | 1 + utils/CPRetainVars.hpp | 1 + 2 files changed, 2 insertions(+) diff --git a/utils/CPRetainVars.cpp b/utils/CPRetainVars.cpp index 1bb9dfc..ebab4a3 100644 --- a/utils/CPRetainVars.cpp +++ b/utils/CPRetainVars.cpp @@ -62,6 +62,7 @@ wpad_connect_callback_t gKPADConnectCallback[4] __attribute__((section(".data")) wpad_extension_callback_t gExtensionCallback[4] __attribute__((section(".data"))); wpad_sampling_callback_t gSamplingCallback __attribute__((section(".data"))) = 0; u8 gCallbackCooldown __attribute__((section(".data"))) = 0; +u8 gAppStatus __attribute__((section(".data"))) = 0; u8 gGlobalRumbleActivated __attribute__((section(".data"))) = 0; diff --git a/utils/CPRetainVars.hpp b/utils/CPRetainVars.hpp index 4f71d4d..72aa05a 100644 --- a/utils/CPRetainVars.hpp +++ b/utils/CPRetainVars.hpp @@ -67,6 +67,7 @@ extern wpad_extension_callback_t gExtensionCallback[4]; extern wpad_sampling_callback_t gSamplingCallback; extern u8 gCallbackCooldown; extern u8 gGlobalRumbleActivated; +extern u8 gAppStatus; extern u32 gUDPClientip; extern ControllerMappingPADInfo* gProPadInfo[4];