mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 13:14:15 -04:00
pm/sm: add ability to forward declare mitm'd services (closes #557)
This commit is contained in:
parent
6777dd9b38
commit
fc7f06dc78
6 changed files with 198 additions and 37 deletions
|
@ -75,6 +75,12 @@ namespace sts::sm {
|
|||
return impl::WaitMitm(service);
|
||||
}
|
||||
|
||||
Result UserService::AtmosphereDeclareFutureMitm(ServiceName service) {
|
||||
R_TRY(this->EnsureInitialized());
|
||||
return impl::DeclareFutureMitm(this->pid, service);
|
||||
}
|
||||
|
||||
|
||||
Result UserService::AtmosphereHasService(Out<bool> out, ServiceName service) {
|
||||
R_TRY(this->EnsureInitialized());
|
||||
return impl::HasService(out.GetPointer(), service);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue