mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Fixed alignof for pointers in debugger
This commit is contained in:
parent
015641b896
commit
768cae659c
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue