Fix calculation of array-of-structs bytesize calculation

This commit is contained in:
baldurk
2018-09-27 16:43:22 +01:00
parent 525ea12112
commit bcd086e423
@@ -431,6 +431,8 @@ CBufferVariableType DXBCFile::ParseRDEFType(RDEFHeader *h, char *chunkContents,
ret.members.push_back(v);
}
ret.descriptor.bytesize *= RDCMAX(1U, ret.descriptor.elements);
}
else
{