Added support to latest LUS (#155)

This commit is contained in:
Lywx
2024-10-21 15:26:23 -06:00
committed by GitHub
parent 2381a1cd0d
commit 710497aadc
2 changed files with 4 additions and 2 deletions
+2 -2
View File
@@ -22,11 +22,11 @@ enum class ParseMode {
};
enum class GBIVersion {
f3db,
f3d,
f3dex,
f3db,
f3dex2,
f3dexb,
f3dex2,
};
enum class GBIMinorVersion {
+2
View File
@@ -195,6 +195,8 @@ ExportResult DListBinaryExporter::Export(std::ostream &write, std::shared_ptr<IP
WriteHeader(writer, Torch::ResourceType::DisplayList, 0);
writer.Write((int8_t) gbi);
while (writer.GetBaseAddress() % 8 != 0)
writer.Write(static_cast<int8_t>(0xFF));