aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/resource_limit.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-01-12 10:14:30 -0500
committerGitHub <noreply@github.com>2017-01-12 10:14:30 -0500
commit7ddfd3054dc67fa727ec7c7267f27a438ac37dc3 (patch)
tree30bd821242a3f3dad780595673c3d5adf92ebe86 /src/core/hle/kernel/resource_limit.cpp
parent597a7c615c9ca3ed8e2fdb49b75111badf537af5 (diff)
parent1ddff1451140ef58058237a3198d363b96dc238e (diff)
Merge pull request #2425 from Subv/cleanup_todos
Implement some TODOs in the code.
Diffstat (limited to 'src/core/hle/kernel/resource_limit.cpp')
-rw-r--r--src/core/hle/kernel/resource_limit.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/resource_limit.cpp b/src/core/hle/kernel/resource_limit.cpp
index 253ab7045..3f51bc5de 100644
--- a/src/core/hle/kernel/resource_limit.cpp
+++ b/src/core/hle/kernel/resource_limit.cpp
@@ -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: