diff options
| author | Anghelo Carvajal <angheloalf95@gmail.com> | 2021-12-26 19:24:12 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-26 17:24:12 -0500 |
| commit | 155a463a54a3bc9b9c86000ae6d819455875ec15 (patch) | |
| tree | 22e9b3545e0051dac9162d901ae49cb87d1ba647 /ZAPD/ZDisplayList.cpp | |
| parent | 431c1bc46c64712a42a22893dc28e9503fe3934a (diff) | |
Fix padding generation for double word aligned variables (#223)
* Don't produce a symbol for 8byte aligned symbols
* Change Vtx alignment to 8
* Remove Align16
* handle unaccounteds properly when stuff has Align8 alignment
* format
* Fix warning
* typo
Diffstat (limited to 'ZAPD/ZDisplayList.cpp')
| -rw-r--r-- | ZAPD/ZDisplayList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/ZDisplayList.cpp b/ZAPD/ZDisplayList.cpp index ad88613..5e9b1b2 100644 --- a/ZAPD/ZDisplayList.cpp +++ b/ZAPD/ZDisplayList.cpp @@ -850,7 +850,7 @@ void ZDisplayList::Opcode_G_VTX(uint64_t data, char* line) { segptr_t segmented = data & 0xFFFFFFFF; references.push_back(segmented); - parent->AddDeclaration(segmented, DeclarationAlignment::Align16, 16, "Vtx", + parent->AddDeclaration(segmented, DeclarationAlignment::Align8, 16, "Vtx", StringHelper::Sprintf("0x%08X", segmented), ""); return; } |
