summaryrefslogtreecommitdiff
path: root/src/factories/Vec3fFactory.cpp
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2024-04-08 18:09:12 -0600
committerLywx <kiritodev01@gmail.com>2024-04-08 18:09:34 -0600
commit3918fde51a84f5035d6f74740195f0d91dd5c604 (patch)
treeb6274c3503af7cff7831b2272668d5659353631b /src/factories/Vec3fFactory.cpp
parentb1d39534f3ee1f04601cdadffbc8a96bcbf0b4a6 (diff)
Fixed otr header generation and fixed some binary exporters
Diffstat (limited to 'src/factories/Vec3fFactory.cpp')
-rw-r--r--src/factories/Vec3fFactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/factories/Vec3fFactory.cpp b/src/factories/Vec3fFactory.cpp
index ef55dcc..1bb1c73 100644
--- a/src/factories/Vec3fFactory.cpp
+++ b/src/factories/Vec3fFactory.cpp
@@ -20,7 +20,7 @@ ExportResult Vec3fHeaderExporter::Export(std::ostream &write, std::shared_ptr<IP
const auto symbol = GetSafeNode(node, "symbol", entryName);
if(Companion::Instance->IsOTRMode()){
- write << "static const char " << symbol << "[] = \"__OTR__" << (*replacement) << "\";\n\n";
+ write << "static const ALIGN_ASSET(2) char " << symbol << "[] = \"__OTR__" << (*replacement) << "\";\n\n";
return std::nullopt;
}
@@ -71,7 +71,7 @@ ExportResult Vec3fBinaryExporter::Export(std::ostream &write, std::shared_ptr<IP
writer.Write(y);
writer.Write(z);
}
-
+
writer.Finish(write);
return std::nullopt;
}