mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 12:45:44 +00:00
Thread: Added priority range checking to svcSetThreadPriority and removed priority clamping code from Thread::SetPriority.
This commit is contained in:
parent
c77cafb0a7
commit
fbe090645c
3 changed files with 18 additions and 18 deletions
|
@ -62,6 +62,8 @@ s32 ResourceLimit::GetCurrentResourceValue(u32 resource) const {
|
|||
|
||||
s32 ResourceLimit::GetMaxResourceValue(u32 resource) const {
|
||||
switch (resource) {
|
||||
case PRIORITY:
|
||||
return max_priority;
|
||||
case COMMIT:
|
||||
return max_commit;
|
||||
case THREAD:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue