Fixed possible conflicts with LUS

This commit is contained in:
KiritoDv
2024-05-25 16:31:32 -06:00
parent 1b06b44e67
commit afd800afc0
59 changed files with 166 additions and 158 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ ExportResult TypeBinaryExporter::Export(std::ostream &write, std::shared_ptr<IPa
std::optional<std::shared_ptr<IParsedData>> TypeFactory::parse(std::vector<uint8_t>& buffer, YAML::Node& node) {
auto [root, segment] = Decompressor::AutoDecode(node, buffer, 0x1000);
LUS::BinaryReader reader(segment.data, segment.size);
reader.SetEndianness(LUS::Endianness::Big);
reader.SetEndianness(Torch::Endianness::Big);
return std::make_shared<TypeData>();
}