Add support for system applets

This commit is contained in:
Pengfei
2021-08-07 01:00:39 +08:00
parent 5b55f801f0
commit ed8d6a1a82
3 changed files with 19 additions and 19 deletions
+6
View File
@@ -36,6 +36,12 @@ enum class ContentType {
SystemApplet, // This should belong to System Title, but they cause problems so a new category.
};
constexpr bool CanBuildCIA(ContentType type) {
return type == ContentType::Application || type == ContentType::Update ||
type == ContentType::DLC || type == ContentType::SystemTitle ||
type == ContentType::SystemApplet;
}
/**
* Encryption type of an importable content.
*/