mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:11:01 +00:00
Take virtual sizes in account for the total vma size.
This commit is contained in:
parent
b8d54e912d
commit
2958416d83
|
@ -369,7 +369,8 @@ static int calc_vma_size( HMODULE32 hModule )
|
|||
pe_seg->NumberOfRelocations,
|
||||
pe_seg->NumberOfLinenumbers,
|
||||
pe_seg->Characteristics);
|
||||
vma_size = MAX(vma_size, pe_seg->VirtualAddress+pe_seg->SizeOfRawData);
|
||||
vma_size=MAX(vma_size, pe_seg->VirtualAddress+pe_seg->SizeOfRawData);
|
||||
vma_size=MAX(vma_size, pe_seg->VirtualAddress+pe_seg->Misc.VirtualSize);
|
||||
pe_seg++;
|
||||
}
|
||||
return vma_size;
|
||||
|
|
Loading…
Reference in a new issue