erpt: implement new 21.0.0 commands

This commit is contained in:
Michael Scire authored and NaGa committed 2025-12-04 03:13:08 +01:00
1 parent 9cdc2c22f6
commit a878a6bbb2
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());