mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
add generic array resource type
This commit is contained in:
@@ -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());
|
||||
|
||||
@@ -21,6 +21,7 @@ enum class ResourceType {
|
||||
Lights = 0x46669697, // LGTS
|
||||
Vec3f = 0x56433346, // VC3F
|
||||
Vec3s = 0x56433353, // VC3S
|
||||
GenericArray = 0x47415252, // GARR
|
||||
|
||||
// SM64
|
||||
Anim = 0x414E494D, // ANIM
|
||||
|
||||
Reference in New Issue
Block a user