From c77acb32be8ef31389fc2e94a74e51d76e5b41e1 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Tue, 22 Jul 2025 00:36:51 -0700 Subject: [PATCH] fs.mitm: steal some heap when building romfs for kotor2 (closes #2564) --- stratosphere/ams_mitm/source/fs_mitm/fsmitm_romfs.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stratosphere/ams_mitm/source/fs_mitm/fsmitm_romfs.cpp b/stratosphere/ams_mitm/source/fs_mitm/fsmitm_romfs.cpp index 025fcaba3..cba29e380 100644 --- a/stratosphere/ams_mitm/source/fs_mitm/fsmitm_romfs.cpp +++ b/stratosphere/ams_mitm/source/fs_mitm/fsmitm_romfs.cpp @@ -36,6 +36,11 @@ namespace ams::mitm::fs { }; constexpr const ApplicationWithDynamicHeapInfo ApplicationsWithDynamicHeap[] = { + /* STAR WARS: Knights of the Old Republic II: The Sith Lords. */ + /* Requirement ? MB. 16 MB stolen heap fixes a crash, though. */ + /* Unknown heap sensitivity. */ + { 0x0100B2C016252000, 16_MB, 0_MB }, + /* Animal Crossing: New Horizons. */ /* Requirement ~24 MB. */ /* No particular heap sensitivity. */