mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-08-06 07:29:33 +02:00
Update fsmitm_romfs.cpp
Disable themes on FW 20+
This commit is contained in:
parent
d8a37b4b71
commit
ef8704628c
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user