PMApp:SetAppResourceLimit

From 3dbrew
Revision as of 21:24, 29 November 2023 by Emufan4568 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

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

Response

Index Word Description
0 Header code
1 Result code

Description

Interface for svcSetResourceLimitValues. 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.