erpt: implement new 21.0.0 commands
This commit is contained in:
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());
|
||||
|
||||
Reference in new issue
Block a user