fs.mitm: ns registers program index map info, not am

This commit is contained in:
Michael Scire 2021-06-28 22:43:56 -07:00
parent a3dd445b32
commit 846cde52e0

View file

@ -43,7 +43,7 @@ namespace ams::mitm::fs {
return true; return true;
} }
/* We want to mitm ns, to intercept SD card requests. */ /* We want to mitm ns, to intercept SD card requests and program index map info registration. */
if (program_id == ncm::SystemProgramId::Ns) { if (program_id == ncm::SystemProgramId::Ns) {
return true; return true;
} }
@ -58,11 +58,6 @@ namespace ams::mitm::fs {
return true; return true;
} }
/* We want to mitm am, to intercept program info map registration. */
if (program_id == ncm::SystemProgramId::Am) {
return true;
}
return false; return false;
} }