diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-12-20 23:40:30 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-12-21 07:05:34 -0500 |
| commit | d09fb82113e0a912a66872baa0dd6f1f5c1ef315 (patch) | |
| tree | 2fefada8ebc3e145ea1c3c53be1c00a81bcc97ce /src/core/hle/kernel/process_capability.h | |
| parent | 10824c5d635be0bdfb79f4b3af8c9481034b437f (diff) | |
kernel/process_capability: Handle debug capability flags
Diffstat (limited to 'src/core/hle/kernel/process_capability.h')
| -rw-r--r-- | src/core/hle/kernel/process_capability.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/hle/kernel/process_capability.h b/src/core/hle/kernel/process_capability.h index 7b9f24d51..fbc8812a3 100644 --- a/src/core/hle/kernel/process_capability.h +++ b/src/core/hle/kernel/process_capability.h @@ -165,6 +165,17 @@ public: return kernel_version; } + /// Whether or not this process can be debugged. + bool IsDebuggable() const { + return is_debuggable; + } + + /// Whether or not this process can forcibly debug another + /// process, even if that process is not considered debuggable. + bool CanForceDebug() const { + return can_force_debug; + } + private: /// Attempts to parse a given sequence of capability descriptors. /// |
