diff options
| author | bunnei <bunneidev@gmail.com> | 2018-12-31 11:10:05 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-31 11:10:05 -0500 |
| commit | 09ffa0cb21fa5421934bfa3f69ba9226a345e193 (patch) | |
| tree | abe7a8e46dedee288fd91e6de02496169d381a2a /src/core/hle/kernel/process.h | |
| parent | 244b46af5a2ccde7a4f9aaabd8ed1772b925d75b (diff) | |
| parent | b4242633ad542f1f442e825c7ad426f05d703e40 (diff) | |
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: return ideal_core; } - /// Gets the bitmask of allowed CPUs that this process' threads can run on. - u64 GetAllowedProcessorMask() const { + /// Gets the bitmask of allowed cores that this process' threads can run on. + u64 GetCoreMask() const { return capabilities.GetCoreMask(); } /// Gets the bitmask of allowed thread priorities. - u64 GetAllowedThreadPriorityMask() const { + u64 GetPriorityMask() const { return capabilities.GetPriorityMask(); } |
