This repository has been archived on 2022-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Luma3DS-3GX/sysmodules/pm/source/reslimit.h

13 lines
437 B
C
Raw Normal View History

2019-03-29 00:32:45 +01:00
#pragma once
#include <3ds/svc.h>
Result initializeReslimits(void);
Result setAppMemLimit(u32 limit);
Result resetAppMemLimit(void);
Result setAppCpuTimeLimit(s64 limit);
void setAppCpuTimeLimitAndSchedModeFromDescriptor(u64 titleId, u16 descriptor);
Result SetAppResourceLimit(u32 mbz, ResourceLimitType category, u32 value, u64 mbz2);
Result GetAppResourceLimit(s64 *value, u32 mbz, ResourceLimitType category, u32 mbz2, u64 mbz3);