aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/control_metadata.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-11-26 19:51:09 -0500
committerLioncash <mathew1800@gmail.com>2018-11-26 21:23:15 -0500
commit3d26167fe4467cc6c298832f36d3759bc7e5e067 (patch)
tree6b2b4fe4bbfa474e9210fe97f057df443c56d541 /src/core/file_sys/control_metadata.cpp
parent43f1204b18bb0176496e2edfdff9f8b32a7b61df (diff)
svc: Implement svcSetResourceLimitLimitValue()
The opposite of the getter functions, this function sets the limit value for a particular ResourceLimit resource category, with the restriction that the new limit value must be equal to or greater than the current resource value. If this is violated, then ERR_INVALID_STATE is returned. e.g. Assume: current[Events] = 10; limit[Events] = 20; a call to this service function lowering the limit value to 10 would be fine, however, attempting to lower it to 9 in this case would cause an invalid state error.
Diffstat (limited to 'src/core/file_sys/control_metadata.cpp')
0 files changed, 0 insertions, 0 deletions