From 3918fde51a84f5035d6f74740195f0d91dd5c604 Mon Sep 17 00:00:00 2001 From: KiritoDv Date: Mon, 8 Apr 2024 18:09:12 -0600 Subject: Fixed otr header generation and fixed some binary exporters --- src/factories/GenericArrayFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/factories/GenericArrayFactory.cpp') 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(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; } -- cgit v1.2.3