romfs: zelda is a blight upon this earth

This commit is contained in:
Michael Scire
2023-05-11 23:39:02 -07:00
parent a9fc5fdab0
commit 576f1c43a4
4 changed files with 147 additions and 67 deletions

View File

@@ -259,8 +259,8 @@ namespace ams::pm::impl {
if (mitm_boost_size > 0 || is_application) {
R_ABORT_UNLESS(BoostSystemMemoryResourceLimitForMitm(mitm_boost_size));
ON_RESULT_FAILURE_2 { R_ABORT_UNLESS(BoostSystemMemoryResourceLimitForMitm(0)); };
}
ON_RESULT_FAILURE_2 { if (mitm_boost_size > 0 || is_application) { R_ABORT_UNLESS(BoostSystemMemoryResourceLimitForMitm(0)); } };
/* Ensure resources are available. */
resource::WaitResourceAvailable(std::addressof(program_info));