aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process_capability.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-12-19 21:43:10 -0500
committerLioncash <mathew1800@gmail.com>2018-12-21 07:05:34 -0500
commit10824c5d635be0bdfb79f4b3af8c9481034b437f (patch)
tree3fafb8ccaccb180d3ff3f9e4800babc4c02665b2 /src/core/hle/kernel/process_capability.h
parente0e84aede01763f219c4ac4fc0c9c5034dd2656b (diff)
kernel/process_capability: Handle handle table capability flags
This just specifies the handle table size. There's also a section of reserved bits that are checked against.
Diffstat (limited to 'src/core/hle/kernel/process_capability.h')
-rw-r--r--src/core/hle/kernel/process_capability.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/kernel/process_capability.h b/src/core/hle/kernel/process_capability.h
index 9a7da8bfa..7b9f24d51 100644
--- a/src/core/hle/kernel/process_capability.h
+++ b/src/core/hle/kernel/process_capability.h
@@ -155,6 +155,11 @@ public:
return program_type;
}
+ /// Gets the number of total allowable handles for the process' handle table.
+ u32 GetHandleTableSize() const {
+ return handle_table_size;
+ }
+
/// Gets the kernel version value.
u32 GetKernelVersion() const {
return kernel_version;