Fixed format

This commit is contained in:
KiritoDv
2024-02-20 17:30:51 -06:00
parent d58f5776cb
commit 0a7123cbbd
+2 -2
View File
@@ -123,11 +123,11 @@ void Companion::ExtractNode(YAML::Node& node, std::string& name, SWrapper* binar
if(this->gConfig.exporterType == ExportType::Code) {
if(node["pad"]){
auto pad = GetSafeNode<uint32_t>(node, "pad");
stream << "char pad_" << gCurrentPad++ << "[] = {\n";
stream << "char pad_" << gCurrentPad++ << "[] = {\n" << tab;
for(int i = 0; i < pad; i++){
stream << "0x00, ";
}
stream << "};\n\n";
stream << "\n};\n\n";
}
}