From 7cc92956846caf9293aeb2e874b6e5af19b4a3a6 Mon Sep 17 00:00:00 2001 From: yellows8 Date: Fri, 16 Aug 2019 22:31:01 -0400 Subject: [PATCH] Added appletInvalidateTransitionLayer. --- nx/include/switch/services/applet.h | 5 +++++ nx/source/services/applet.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/nx/include/switch/services/applet.h b/nx/include/switch/services/applet.h index fa52bf25..d170334b 100644 --- a/nx/include/switch/services/applet.h +++ b/nx/include/switch/services/applet.h @@ -1704,6 +1704,11 @@ Result appletGetHomeButtonDoubleClickEnabled(bool *out); */ Result appletPerformSystemButtonPressing(AppletSystemButtonType type); +/** + * @brief InvalidateTransitionLayer. + */ +Result appletInvalidateTransitionLayer(void); + // State / other /** diff --git a/nx/source/services/applet.c b/nx/source/services/applet.c index 09913a4c..b153a4df 100644 --- a/nx/source/services/applet.c +++ b/nx/source/services/applet.c @@ -4791,6 +4791,10 @@ Result appletPerformSystemButtonPressing(AppletSystemButtonType type) { return _appletCmdInU32(&g_appletIDebugFunctions, type, 10); } +Result appletInvalidateTransitionLayer(void) { + return _appletCmdNoIO(&g_appletIDebugFunctions, 20); +} + // State / other u8 appletGetOperationMode(void) {