patterns: Fixed bitfields not respecting endian setting

Various other improvements. Fixes #292
This commit is contained in:
WerWolv
2021-09-12 13:08:52 +02:00
parent 635f0606e0
commit 86096708da
2 changed files with 43 additions and 11 deletions

View File

@@ -895,6 +895,7 @@ namespace hex::pl {
auto fieldPattern = new PatternDataBitfieldField(startOffset, bits, fieldBits);
fieldPattern->setVariableName(name);
fieldPattern->setEndian(this->getCurrentEndian());
entryPatterns.push_back(fieldPattern);
bits += fieldBits;