diff options
| author | 2018-12-31 11:10:05 -0500 | |
|---|---|---|
| committer | 2018-12-31 11:10:05 -0500 | |
| commit | 09ffa0cb21fa5421934bfa3f69ba9226a345e193 (patch) | |
| tree | abe7a8e46dedee288fd91e6de02496169d381a2a /src/core/hle/kernel/process.h | |
| parent | Merge pull request #1965 from lioncash/fmt (diff) | |
| parent | kernel/svc: Correct misleading error message within CreateThread() (diff) | |
| download | yuzu-09ffa0cb21fa5421934bfa3f69ba9226a345e193.tar.gz yuzu-09ffa0cb21fa5421934bfa3f69ba9226a345e193.tar.xz yuzu-09ffa0cb21fa5421934bfa3f69ba9226a345e193.zip | |
Merge pull request #1967 from lioncash/thread
kernel/svc: Sanitize core and priority masks within CreateThread
Diffstat (limited to 'src/core/hle/kernel/process.h')
| -rw-r--r-- | src/core/hle/kernel/process.h | 6 |
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 | ||