mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
+2
-2
@@ -786,7 +786,7 @@ void Companion::Process() {
|
||||
SPDLOG_WARN("Creating pad of 0x{:X} bytes", gap);
|
||||
const auto padfile = this->gCurrentDirectory.filename().string();
|
||||
if(this->IsDebug()){
|
||||
stream << "// 0x" << std::hex << startptr << "\n";
|
||||
stream << "// 0x" << std::hex << std::uppercase << startptr << "\n";
|
||||
}
|
||||
stream << "char pad_" << padfile << "_" << std::to_string(gCurrentPad++) << "[] = {\n" << tab;
|
||||
auto gapSize = gap & ~3;
|
||||
@@ -795,7 +795,7 @@ void Companion::Process() {
|
||||
}
|
||||
stream << "\n};\n";
|
||||
if(this->IsDebug()){
|
||||
stream << "// 0x" << std::hex << end << "\n\n";
|
||||
stream << "// 0x" << std::hex << std::uppercase << end << "\n\n";
|
||||
} else {
|
||||
stream << "\n";
|
||||
}
|
||||
|
||||
@@ -13,6 +13,7 @@ ExportResult SF64::MessageLookupHeaderExporter::Export(std::ostream &write, std:
|
||||
}
|
||||
|
||||
write << "extern MsgLookup " << symbol << "[];\n";
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
ExportResult SF64::MessageLookupCodeExporter::Export(std::ostream &write, std::shared_ptr<IParsedData> raw, std::string& entryName, YAML::Node &node, std::string* replacement ) {
|
||||
|
||||
@@ -14,6 +14,7 @@ ExportResult SF64::ObjInitHeaderExporter::Export(std::ostream &write, std::share
|
||||
}
|
||||
|
||||
write << "extern ObjectInit " << symbol << "[];\n";
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
ExportResult SF64::ObjInitCodeExporter::Export(std::ostream &write, std::shared_ptr<IParsedData> raw, std::string& entryName, YAML::Node &node, std::string* replacement ) {
|
||||
|
||||
Reference in New Issue
Block a user