diff options
| author | AltoXorg <atrl101@yahoo.com> | 2024-04-20 18:19:55 +0800 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2024-04-20 14:45:55 -0600 |
| commit | 2503284a2d9339ce726775c17bdbfab90e231cc0 (patch) | |
| tree | 31565b627a64ae3c3067d5b1eda9cf2c0844aedb /src/factories/VtxFactory.cpp | |
| parent | a72020cca7f1498f73d42c71e694fd114843fe73 (diff) | |
add index size override option
Diffstat (limited to 'src/factories/VtxFactory.cpp')
| -rw-r--r-- | src/factories/VtxFactory.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/factories/VtxFactory.cpp b/src/factories/VtxFactory.cpp index e4f1dcf..35f9789 100644 --- a/src/factories/VtxFactory.cpp +++ b/src/factories/VtxFactory.cpp @@ -20,7 +20,8 @@ ExportResult VtxHeaderExporter::Export(std::ostream &write, std::shared_ptr<IPar const auto searchTable = Companion::Instance->SearchTable(offset); if(searchTable.has_value()){ - const auto [name, start, end, mode] = searchTable.value(); + const auto [name, start, end, mode, index_size] = searchTable.value(); + // We will ignore the overriden index_size for now... if(start != offset){ return std::nullopt; @@ -41,7 +42,7 @@ ExportResult VtxCodeExporter::Export(std::ostream &write, std::shared_ptr<IParse const auto searchTable = Companion::Instance->SearchTable(offset); if(searchTable.has_value()){ - const auto [name, start, end, mode] = searchTable.value(); + const auto [name, start, end, mode, index_size] = searchTable.value(); if(start == offset){ |
