1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Fixed alignof for pointers in debugger

This commit is contained in:
Brian Fiete 2020-08-01 15:07:18 -07:00
parent 015641b896
commit 768cae659c

View file

@ -7288,6 +7288,7 @@ DbgType* DbgModule::GetPointerType(DbgType* innerType)
ptrType->mTypeCode = DbgType_Ptr;
ptrType->mTypeParam = innerType;
ptrType->mSize = sizeof(addr_target);
ptrType->mAlign = (int)ptrType->mSize;
ptrType->mTypeIdx = (int32)linkedModule->mTypes.size();
linkedModule->mTypes.push_back(ptrType);