From aaa68d2ebcb732d7d18af1a41a292c50182e7fd5 Mon Sep 17 00:00:00 2001 From: Lywx Date: Fri, 22 Mar 2024 09:59:49 -0600 Subject: Cleanup (#49) * Auto debug info generation and some cleanup * Cleaned dry code from segments * Fixed gCurrentCompressionType bss bs --- src/factories/VtxFactory.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/factories/VtxFactory.cpp') diff --git a/src/factories/VtxFactory.cpp b/src/factories/VtxFactory.cpp index ee26fe7..928f1c7 100644 --- a/src/factories/VtxFactory.cpp +++ b/src/factories/VtxFactory.cpp @@ -24,17 +24,6 @@ ExportResult VtxCodeExporter::Export(std::ostream &write, std::shared_ptr(node, "offset"); - if (IS_SEGMENTED(offset)) { - offset = SEGMENT_OFFSET(offset); - } - - if (Companion::Instance->IsDebug()) { - if (IS_SEGMENTED(offset)) { - offset = SEGMENT_OFFSET(offset); - } - write << "// 0x" << std::hex << std::uppercase << offset << "\n"; - } - write << "Vtx " << symbol << "[] = {\n"; for (int i = 0; i < vtx.size(); ++i) { @@ -68,7 +57,7 @@ ExportResult VtxCodeExporter::Export(std::ostream &write, std::shared_ptr raw, std::string& entryName, YAML::Node &node, std::string* replacement ) { -- cgit v1.2.3