From b520f5c53b89e75697741ecb64a0f0fb8081373b Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Fri, 3 Sep 2021 00:43:34 -0700 Subject: [PATCH] fusee_cpp: emummc implies decompressed text segment --- fusee_cpp/program/source/fusee_stratosphere.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fusee_cpp/program/source/fusee_stratosphere.cpp b/fusee_cpp/program/source/fusee_stratosphere.cpp index 9648405ff..b0a805d17 100644 --- a/fusee_cpp/program/source/fusee_stratosphere.cpp +++ b/fusee_cpp/program/source/fusee_stratosphere.cpp @@ -713,6 +713,11 @@ namespace ams::nxboot { } } + /* If emummc is enabled, we need to decompress fs .text. */ + if (emummc_enabled) { + fs_meta->patch_segments |= (1 << 0); + } + /* Parse/prepare relevant nogc/kip patches. */ { /* Add nogc patches. */