diff options
| author | Zelllll <56516451+Zelllll@users.noreply.github.com> | 2021-01-02 16:12:55 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-02 17:12:55 -0500 |
| commit | 3f421e8ad08c329501889fba7bda3792d0eb0f9a (patch) | |
| tree | 930d376d7c83a6b0d3f13ea37dc0a5eb9f1d82f8 /ZAPD/ZSkeleton.cpp | |
| parent | cd4a8760b64474a2603c2d164ab7fb7bcd88385c (diff) | |
Fix bug with LOD skeletons (#43)
Diffstat (limited to 'ZAPD/ZSkeleton.cpp')
| -rw-r--r-- | ZAPD/ZSkeleton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/ZSkeleton.cpp b/ZAPD/ZSkeleton.cpp index 7d41b51..7e524ba 100644 --- a/ZAPD/ZSkeleton.cpp +++ b/ZAPD/ZSkeleton.cpp @@ -211,7 +211,7 @@ std::string ZSkeleton::GetSourceOutputCode(std::string prefix) if (parent->HasDeclaration(limb->address)) limbName = parent->GetDeclarationName(limb->address); - parent->AddDeclaration(limb->address, DeclarationAlignment::None, 12, entryType, limbName, entryStr); + parent->AddDeclaration(limb->address, DeclarationAlignment::None, limb->GetRawDataSize(), entryType, limbName, entryStr); } // Table |
