summaryrefslogtreecommitdiff
path: root/src/factories/LightsFactory.cpp
diff options
context:
space:
mode:
authorAltoXorg <atrl101@yahoo.com>2024-04-20 18:19:55 +0800
committerLywx <kiritodev01@gmail.com>2024-04-20 14:45:55 -0600
commit2503284a2d9339ce726775c17bdbfab90e231cc0 (patch)
tree31565b627a64ae3c3067d5b1eda9cf2c0844aedb /src/factories/LightsFactory.cpp
parenta72020cca7f1498f73d42c71e694fd114843fe73 (diff)
add index size override option
Diffstat (limited to 'src/factories/LightsFactory.cpp')
-rw-r--r--src/factories/LightsFactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/factories/LightsFactory.cpp b/src/factories/LightsFactory.cpp
index 44b7195..811583b 100644
--- a/src/factories/LightsFactory.cpp
+++ b/src/factories/LightsFactory.cpp
@@ -16,7 +16,7 @@ ExportResult LightsHeaderExporter::Export(std::ostream &write, std::shared_ptr<I
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){
return std::nullopt;
@@ -36,7 +36,7 @@ ExportResult LightsCodeExporter::Export(std::ostream &write, std::shared_ptr<IPa
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){