From ef8704628c37b912795c891f8de8f25bb57522ba Mon Sep 17 00:00:00 2001 From: AvnerSounds Date: Mon, 9 Jun 2025 14:05:45 -0400 Subject: [PATCH] Update fsmitm_romfs.cpp Disable themes on FW 20+ --- stratosphere/ams_mitm/source/fs_mitm/fsmitm_romfs.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stratosphere/ams_mitm/source/fs_mitm/fsmitm_romfs.cpp b/stratosphere/ams_mitm/source/fs_mitm/fsmitm_romfs.cpp index 025fcaba3..c42bf75ed 100644 --- a/stratosphere/ams_mitm/source/fs_mitm/fsmitm_romfs.cpp +++ b/stratosphere/ams_mitm/source/fs_mitm/fsmitm_romfs.cpp @@ -759,9 +759,9 @@ namespace ams::mitm::fs { /* If there is no romfs folder on the SD, don't bother continuing. */ { FsDir dir; - if (R_FAILED(mitm::fs::OpenAtmosphereRomfsDirectory(std::addressof(dir), m_program_id, m_root->path, OpenDirectoryMode_Directory, std::addressof(sd_filesystem)))) { - return; - } + if (R_FAILED(mitm::fs::OpenAtmosphereRomfsDirectory(std::addressof(dir), m_program_id, m_root->path, OpenDirectoryMode_Directory, std::addressof(sd_filesystem))) || (hosversionAtLeast(20,0,0) && m_program_id == (ncm::ProgramId) 0x0100000000001000)) { + return; + } fsDirClose(std::addressof(dir)); }