aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/macro_interpreter.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
commit5905162e364abe8312cd95dd04555aaefcfc2293 (patch)
tree6b2b4fe4bbfa474e9210fe97f057df443c56d541 /src/video_core/macro_interpreter.cpp
parenteb5596044dfb3ee862ca239f9cb08eb4b9b3903f (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/video_core/macro_interpreter.cpp')
0 files changed, 0 insertions, 0 deletions