diff options
author | Lioncash <mathew1800@gmail.com> | 2018-11-26 19:51:09 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-11-26 21:23:15 -0500 |
commit | 5905162e364abe8312cd95dd04555aaefcfc2293 (patch) | |
tree | 6b2b4fe4bbfa474e9210fe97f057df443c56d541 /src/video_core/macro_interpreter.cpp | |
parent | eb5596044dfb3ee862ca239f9cb08eb4b9b3903f (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