From 3dbrew
(Redirected from PMApp:SetResourceLimit)
Jump to navigation Jump to search


Index Word Description
0 Header code [0x000A0140]
1 0
2 Resource limit type (9)
3 Resource limit value.
4-5 u64, 0


Index Word Description
0 Header code
1 Result code


Interface for svcSetResourceLimitLimitValues. Resource limit type must be set to 9, meaning "Max CPU time" (see KResourceLimit). If the parameters are not set exactly as listed, or when the input reslimit-value is higher than the maximum allowed value(from PM-module state), the command will return result code 0xD8E05BF4.