change notification 0x1001=>0x2000

This commit is contained in:
TuxSH 2020-03-28 10:58:36 +00:00
parent c7a3a0278c
commit c8aa2e8a89
2 changed files with 2 additions and 2 deletions

View File

@ -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. // Send custom notification to at least Rosalina to make it relinquish some non-KIP services handles, stop the debugger, etc.
if (numKips >= 6) { if (numKips >= 6) {
notifySubscribers(0x1001); notifySubscribers(0x2000);
} }
// Send notification 0x100 to the currently running application // Send notification 0x100 to the currently running application

View File

@ -200,7 +200,7 @@ static const ServiceManagerNotificationEntry notifications[] = {
{ 0x100 , handleTermNotification }, { 0x100 , handleTermNotification },
//{ 0x103 , relinquishConnectionSessions }, // Sleep mode entry <=== causes issues //{ 0x103 , relinquishConnectionSessions }, // Sleep mode entry <=== causes issues
{ 0x1000, handleNextApplicationDebuggedByForce }, { 0x1000, handleNextApplicationDebuggedByForce },
{ 0x1001, relinquishConnectionSessions }, { 0x2000, relinquishConnectionSessions },
{ 0x000, NULL }, { 0x000, NULL },
}; };