mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
SM: Match official SAC validation behavior.
This commit is contained in:
parent
aa158dbb5a
commit
5c6f0fc14c
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ bool Registration::IsValidForSac(u8 *sac, size_t sac_size, u64 service, bool is_
|
||||||
cur_service &= mask;
|
cur_service &= mask;
|
||||||
service_for_compare &= mask;
|
service_for_compare &= mask;
|
||||||
}
|
}
|
||||||
if (cur_service == service_for_compare && (!is_host || cur_is_host)) {
|
if (cur_service == service_for_compare && (is_host == cur_is_host)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
sac += cur_size;
|
sac += cur_size;
|
||||||
|
|
Loading…
Reference in a new issue