diff options
| author | = <=> | 2024-03-06 11:46:19 -0700 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2024-03-09 07:39:51 -0600 |
| commit | a2d735c5281862fdc6ece2288694ca2af743c7af (patch) | |
| tree | 0b47f82d606d9f48aa74c915ee440ed4565f2a03 /src/factories/VtxFactory.cpp | |
| parent | f06ed7388df76f09d8fbda765acea5d2923553d4 (diff) | |
Add mk64 factories
Diffstat (limited to 'src/factories/VtxFactory.cpp')
| -rw-r--r-- | src/factories/VtxFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/factories/VtxFactory.cpp b/src/factories/VtxFactory.cpp index d506a39..b8d4d79 100644 --- a/src/factories/VtxFactory.cpp +++ b/src/factories/VtxFactory.cpp @@ -59,7 +59,7 @@ void VtxCodeExporter::Export(std::ostream &write, std::shared_ptr<IParsedData> r } if (Companion::Instance->IsDebug()) { - write << fourSpaceTab << "// 0x" << std::hex << std::uppercase << (offset + (16 * vtx.size())) << "\n"; + write << fourSpaceTab << "// 0x" << std::hex << std::uppercase << (offset + (sizeof(VtxRaw) * vtx.size())) << "\n"; } write << "}; // size = 0x" << std::hex << std::uppercase << (sizeof(VtxRaw) * vtx.size()) << "\n\n"; |
