diff --git a/k11_extension/source/svc/SendSyncRequest.c b/k11_extension/source/svc/SendSyncRequest.c index 774b6390..3b693a97 100644 --- a/k11_extension/source/svc/SendSyncRequest.c +++ b/k11_extension/source/svc/SendSyncRequest.c @@ -49,6 +49,15 @@ Result SendSyncRequestHook(Handle handle) if(isValidClientSession) { + if(CONFIG(NOERRDISPINSTANTREBOOT)) + { + SessionInfo *parentInfo = SessionInfo_Lookup(clientSession->parentSession); + if (parentInfo != NULL && (strcmp(parentInfo->name, "cfg:nor") == 0)) + { + skip = true; + cmdbuf[1] = -1; + } + } switch (cmdbuf[0]) { case 0x10042: @@ -57,7 +66,7 @@ Result SendSyncRequestHook(Handle handle) if(isNdmuWorkaround(info, pid)) { cmdbuf[0] = 0x10040; - cmdbuf[1] = 0; + cmdbuf[1] = 1; skip = true; }