mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
Added support to latest LUS (#155)
This commit is contained in:
+2
-2
@@ -22,11 +22,11 @@ enum class ParseMode {
|
||||
};
|
||||
|
||||
enum class GBIVersion {
|
||||
f3db,
|
||||
f3d,
|
||||
f3dex,
|
||||
f3db,
|
||||
f3dex2,
|
||||
f3dexb,
|
||||
f3dex2,
|
||||
};
|
||||
|
||||
enum class GBIMinorVersion {
|
||||
|
||||
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user