summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/process.h
diff options
context:
space:
mode:
authorGravatar Lioncash2018-12-30 21:09:00 -0500
committerGravatar Lioncash2018-12-30 21:09:46 -0500
commit87696041442fdcb735f405f05ca4e3722b4f7128 (patch)
treec56c54c4677de9d07be0a0e727f4a4d8d2ad5b26 /src/core/hle/kernel/process.h
parentkernel/svc: Simplify thread core ID sanitizing in CreateThread (diff)
downloadyuzu-87696041442fdcb735f405f05ca4e3722b4f7128.tar.gz
yuzu-87696041442fdcb735f405f05ca4e3722b4f7128.tar.xz
yuzu-87696041442fdcb735f405f05ca4e3722b4f7128.zip
kernel/process: Rename GetAllowedProcessorMask() and GetAllowedThreadPriorityMask()
Makes them consistent with their kernel capability counterparts.
Diffstat (limited to 'src/core/hle/kernel/process.h')
-rw-r--r--src/core/hle/kernel/process.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/process.h b/src/core/hle/kernel/process.h
index 450dc6eeb..b710104ab 100644
--- a/src/core/hle/kernel/process.h
+++ b/src/core/hle/kernel/process.h
@@ -173,13 +173,13 @@ public:
173 return ideal_core; 173 return ideal_core;
174 } 174 }
175 175
176 /// Gets the bitmask of allowed CPUs that this process' threads can run on. 176 /// Gets the bitmask of allowed cores that this process' threads can run on.
177 u64 GetAllowedProcessorMask() const { 177 u64 GetCoreMask() const {
178 return capabilities.GetCoreMask(); 178 return capabilities.GetCoreMask();
179 } 179 }
180 180
181 /// Gets the bitmask of allowed thread priorities. 181 /// Gets the bitmask of allowed thread priorities.
182 u64 GetAllowedThreadPriorityMask() const { 182 u64 GetPriorityMask() const {
183 return capabilities.GetPriorityMask(); 183 return capabilities.GetPriorityMask();
184 } 184 }
185 185