add generic array resource type

This commit is contained in:
inspectredc
2024-04-06 19:15:01 -06:00
committed by Lywx
parent 011ba41514
commit c7cc333974
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -270,7 +270,7 @@ ExportResult ArrayBinaryExporter::Export(std::ostream &write, std::shared_ptr<IP
ArrayType arrayType = arrayTypeMap.at(type);
WriteHeader(writer, LUS::ResourceType::Blob, 0);
WriteHeader(writer, LUS::ResourceType::GenericArray, 0);
writer.Write(static_cast<uint32_t>(arrayType));
writer.Write((uint32_t) array->mData.size());
+1
View File
@@ -21,6 +21,7 @@ enum class ResourceType {
Lights = 0x46669697, // LGTS
Vec3f = 0x56433346, // VC3F
Vec3s = 0x56433353, // VC3S
GenericArray = 0x47415252, // GARR
// SM64
Anim = 0x414E494D, // ANIM