fix size mistake

This commit is contained in:
inspectredc
2024-04-23 10:31:55 -06:00
committed by Lywx
parent bcd2450b26
commit 6512da38e4
+1 -1
View File
@@ -51,7 +51,7 @@ ExportResult SM64::MacroCodeExporter::Export(std::ostream &write, std::shared_pt
write << "\n};\n";
size_t size = (macro->mMacroData.size()) * sizeof(MacroObject) + 1;
size_t size = (macro->mMacroData.size()) * 5 * sizeof(int16_t) + 1;
return offset + size;
}