htc: skeleton main file/sysmodule dir

This commit is contained in:
Michael Scire
2021-02-07 18:08:20 -08:00
committed by SciresM
parent eb50e99748
commit fc060d3777
5 changed files with 392 additions and 0 deletions

View File

@@ -98,6 +98,9 @@ namespace ams::ncm {
static const SystemProgramId Pgl;
static const SystemProgramId End;
static const SystemProgramId Manu;
static const SystemProgramId Htc;
};
struct AtmosphereProgramId {
@@ -197,6 +200,9 @@ namespace ams::ncm {
inline constexpr const SystemProgramId SystemProgramId::End = { 0x01000000000007FFul };
inline constexpr const SystemProgramId SystemProgramId::Manu = { 0x010000000000B14Aul };
inline constexpr const SystemProgramId SystemProgramId::Htc = { 0x010000000000B240ul };
inline constexpr bool IsSystemProgramId(const ProgramId &program_id) {
return (SystemProgramId::Start <= program_id && program_id <= SystemProgramId::End) || IsAtmosphereProgramId(program_id);
}