loader: refactor to use fs bindings

This commit is contained in:
Michael Scire
2020-03-09 03:10:12 -07:00
parent 4c5e980e07
commit 237b513408
30 changed files with 821 additions and 650 deletions

View File

@@ -49,7 +49,7 @@ namespace ams::ldr {
if (IsTrackableSystemProgramId(program_id)) {
return HasLaunchedSystemProgram(ncm::SystemProgramId{program_id.value});
} else {
return g_launched_programs.find(static_cast<u64>(program_id)) != g_launched_programs.end();
return g_launched_programs.find(program_id.value) != g_launched_programs.end();
}
}