htc: skeleton main file/sysmodule dir
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user