From 2bb77237bcd8a33054f03a70e963dae2cc76b6a2 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Sat, 7 Dec 2019 13:45:14 -0800 Subject: [PATCH] Increase default applet reservation size to make psel work --- common/defaults/system_settings.ini | 4 ++-- stratosphere/ams_mitm/source/set_mitm/settings_sd_kvs.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/defaults/system_settings.ini b/common/defaults/system_settings.ini index ea59c681f..c82fe9627 100644 --- a/common/defaults/system_settings.ini +++ b/common/defaults/system_settings.ini @@ -39,5 +39,5 @@ ; applet_heap_size = u64!0x0 ; Controls the amount of memory to reserve when running as applet ; for usage by other applets. This setting has no effect if -; applet_heap_size is non-zero. The default is 0x8000000. -; applet_heap_reservation_size = u64!0x8000000 \ No newline at end of file +; applet_heap_size is non-zero. The default is 0x8600000. +; applet_heap_reservation_size = u64!0x8600000 \ No newline at end of file diff --git a/stratosphere/ams_mitm/source/set_mitm/settings_sd_kvs.cpp b/stratosphere/ams_mitm/source/set_mitm/settings_sd_kvs.cpp index 733dcd443..ab08da28d 100644 --- a/stratosphere/ams_mitm/source/set_mitm/settings_sd_kvs.cpp +++ b/stratosphere/ams_mitm/source/set_mitm/settings_sd_kvs.cpp @@ -355,8 +355,8 @@ namespace ams::settings::fwdbg { /* Controls the amount of memory to reserve when running as applet */ /* for usage by other applets. This setting has no effect if */ - /* applet_heap_size is non-zero. The default is 0x8000000. */ - R_ASSERT(ParseSettingsItemValue("hbloader", "applet_heap_reservation_size", "u64!0x8000000")); + /* applet_heap_size is non-zero. The default is 0x8600000. */ + R_ASSERT(ParseSettingsItemValue("hbloader", "applet_heap_reservation_size", "u64!0x8600000")); } }