mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-01-31 12:13:47 +01:00
pm/0.8.3: remove memory profile adjustment entirely
This commit is contained in:
parent
cedbcba3e3
commit
2677cf68d4
@ -183,9 +183,7 @@ void ResourceLimitUtils::InitializeLimits() {
|
||||
for (unsigned int i = 0; i < 6; i++) {
|
||||
g_memory_resource_limits[i][0] += ATMOSPHERE_EXTRA_SYSTEM_MEMORY_FOR_SYSMODULES;
|
||||
/* On < 4.0.0, taking from application instead of applet fixes a rare hang on boot. */
|
||||
if (kernelAbove600()) {
|
||||
g_memory_resource_limits[i][1] -= ATMOSPHERE_EXTRA_SYSTEM_MEMORY_FOR_SYSMODULES;
|
||||
} else if (kernelAbove400()) {
|
||||
if (kernelAbove400()) {
|
||||
g_memory_resource_limits[i][2] -= ATMOSPHERE_EXTRA_SYSTEM_MEMORY_FOR_SYSMODULES;
|
||||
} else {
|
||||
g_memory_resource_limits[i][1] -= ATMOSPHERE_EXTRA_SYSTEM_MEMORY_FOR_SYSMODULES;
|
||||
|
Loading…
x
Reference in New Issue
Block a user