Update fsmitm_romfs.cpp

Disable themes on FW 20+
This commit is contained in:
AvnerSounds 2025-06-09 14:05:45 -04:00 committed by GitHub
parent d8a37b4b71
commit ef8704628c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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));
}