sm: change InstallMitM to wait for registration instead of 0xE15

This commit is contained in:
Michael Scire 2019-01-20 17:00:35 -08:00
parent b6684ff845
commit 83025080c8
5 changed files with 25 additions and 15 deletions

View file

@ -467,7 +467,7 @@ Result Registration::InstallMitmForPid(u64 pid, u64 service, Handle *out, Handle
/* Verify the service exists. */
Registration::Service *target_service = GetService(service);
if (target_service == NULL) {
return 0xE15;
return RESULT_DEFER_SESSION;
}
/* Verify the service isn't already being mitm'd. */