From c8aa2e8a897f5596960fcb6fb8a1ebc633e965b2 Mon Sep 17 00:00:00 2001 From: TuxSH Date: Sat, 28 Mar 2020 10:58:36 +0000 Subject: [PATCH] change notification 0x1001=>0x2000 --- sysmodules/pm/source/termination.c | 2 +- sysmodules/rosalina/source/main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sysmodules/pm/source/termination.c b/sysmodules/pm/source/termination.c index 73d0d6d..72241ca 100644 --- a/sysmodules/pm/source/termination.c +++ b/sysmodules/pm/source/termination.c @@ -313,7 +313,7 @@ ProcessData *terminateAllProcesses(u32 callerPid, s64 timeout) // Send custom notification to at least Rosalina to make it relinquish some non-KIP services handles, stop the debugger, etc. if (numKips >= 6) { - notifySubscribers(0x1001); + notifySubscribers(0x2000); } // Send notification 0x100 to the currently running application diff --git a/sysmodules/rosalina/source/main.c b/sysmodules/rosalina/source/main.c index 3e04dea..653527f 100644 --- a/sysmodules/rosalina/source/main.c +++ b/sysmodules/rosalina/source/main.c @@ -200,7 +200,7 @@ static const ServiceManagerNotificationEntry notifications[] = { { 0x100 , handleTermNotification }, //{ 0x103 , relinquishConnectionSessions }, // Sleep mode entry <=== causes issues { 0x1000, handleNextApplicationDebuggedByForce }, - { 0x1001, relinquishConnectionSessions }, + { 0x2000, relinquishConnectionSessions }, { 0x000, NULL }, };