summaryrefslogtreecommitdiff
path: root/src/factories/GenericArrayFactory.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/GenericArrayFactory.cpp
parentb1d39534f3ee1f04601cdadffbc8a96bcbf0b4a6 (diff)
Fixed otr header generation and fixed some binary exporters
Diffstat (limited to 'src/factories/GenericArrayFactory.cpp')
-rw-r--r--src/factories/GenericArrayFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/factories/GenericArrayFactory.cpp b/src/factories/GenericArrayFactory.cpp
index 91819f5..c91dbe2 100644
--- a/src/factories/GenericArrayFactory.cpp
+++ b/src/factories/GenericArrayFactory.cpp
@@ -165,7 +165,7 @@ ExportResult ArrayHeaderExporter::Export(std::ostream &write, std::shared_ptr<IP
const auto type = GetSafeNode<std::string>(node, "array_type");
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;
}