pm: add AtmosphereGetCurrentLimitInfo command to pm:dmnt

This commit is contained in:
misson20000 authored and SciresM committed 2018-10-05 13:55:27 +09:00
1 parent ca0e41e8a0
commit 2d6aba7a70
4 files changed
+41 -2

No files matched your search

@@ -224,6 +224,10 @@ Handle ResourceLimitUtils::GetResourceLimitHandle(u16 application_type) {
}
}
Handle ResourceLimitUtils::GetResourceLimitHandleByCategory(ResourceLimitCategory category) {
return g_resource_limit_handles[category];
}
Result ResourceLimitUtils::BoostSystemMemoryResourceLimit(u64 boost_size) {
Result rc = 0;
if (boost_size > g_memory_resource_limits[g_memory_limit_type][ResourceLimitCategory_Application]) {