mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-09 11:51:58 -04:00
kern: add InfoType_IsSvcPermitted
This commit is contained in:
parent
ef1b67b87b
commit
14e768cd10
7 changed files with 73 additions and 0 deletions
|
@ -194,6 +194,10 @@ namespace ams::kern {
|
|||
return m_attached_object != nullptr;
|
||||
}
|
||||
|
||||
constexpr bool IsPermittedSvc(svc::SvcId svc_id) const {
|
||||
return m_capabilities.IsPermittedSvc(svc_id);
|
||||
}
|
||||
|
||||
constexpr bool IsPermittedInterrupt(int32_t interrupt_id) const {
|
||||
return m_capabilities.IsPermittedInterrupt(interrupt_id);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue