Skip to content

Commit

Permalink
sync non-translatable file
Browse files Browse the repository at this point in the history
Signed-off-by: Simo <[email protected]>
  • Loading branch information
Simo3ds authored Nov 25, 2023
1 parent 283f75e commit bf8f4a7
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion k11_extension/source/svc/SendSyncRequest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -57,7 +66,7 @@ Result SendSyncRequestHook(Handle handle)
if(isNdmuWorkaround(info, pid))
{
cmdbuf[0] = 0x10040;
cmdbuf[1] = 0;
cmdbuf[1] = 1;
skip = true;
}

Expand Down

0 comments on commit bf8f4a7

Please sign in to comment.