W/misc fixes (#1838)

* temp

* temp

* before cleaning up

* cleanup merge

* fix warnings

* merge fix

* clang format
This commit is contained in:
water111
2022-09-05 20:29:12 -04:00
committed by GitHub
parent 80d0137dba
commit b5d21be9c5
136 changed files with 7191 additions and 1073 deletions
+2 -1
View File
@@ -5,6 +5,7 @@
#include "common/link_types.h"
#include "common/util/Assert.h"
#include "common/util/BitUtils.h"
namespace {
template <typename T>
@@ -158,7 +159,7 @@ std::vector<u8> DataObjectGenerator::generate_v4() {
first_header.type_tag = 0xffffffff;
first_header.length = sizeof(LinkHeaderV2) + link.size();
first_header.version = 4;
first_header.code_size = 4 * m_words.size();
first_header.code_size = align16(4 * m_words.size());
LinkHeaderV2 second_header;
second_header.version = 2;