erpt: implement new 21.0.0 commands

This commit is contained in:
Michael Scire authored and SciresM committed 2025-11-15 12:31:07 -07:00
1 parent 4f1201a022
commit e1d82a13f3
6 files changed
+175 -24

No files matched your search

@@ -124,6 +124,10 @@ namespace ams::erpt::srv {
}
}
constexpr inline bool IsValidCategory(CategoryId id) {
return FindCategoryIndex(id).has_value();
}
constexpr inline CategoryId ConvertFieldToCategory(FieldId id) {
const auto index = FindFieldIndex(id);
AMS_ASSERT(index.has_value());