mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Removed Win10-only call
This commit is contained in:
parent
cde78bc8c5
commit
04702cfc57
1 changed files with 3 additions and 0 deletions
|
@ -346,7 +346,10 @@ void BlCvParser::ParseSymbolData(void* symbolData, int size, void* relocData, in
|
||||||
dataBlock.mOutSize = -1;
|
dataBlock.mOutSize = -1;
|
||||||
|
|
||||||
WIN32_MEMORY_RANGE_ENTRY vAddrs = { dataBlock.mData, (SIZE_T)dataBlock.mSize };
|
WIN32_MEMORY_RANGE_ENTRY vAddrs = { dataBlock.mData, (SIZE_T)dataBlock.mSize };
|
||||||
|
//TODO: This was causing link errors on Win7
|
||||||
|
#if 0
|
||||||
PrefetchVirtualMemory(GetCurrentProcess(), 1, &vAddrs, 0);
|
PrefetchVirtualMemory(GetCurrentProcess(), 1, &vAddrs, 0);
|
||||||
|
#endif
|
||||||
|
|
||||||
data = sectionEnd;
|
data = sectionEnd;
|
||||||
while ((nextReloc < relocEnd) && ((int)nextReloc->mVirtualAddress < (int)(sectionEnd - (uint8*)symbolData)))
|
while ((nextReloc < relocEnd) && ((int)nextReloc->mVirtualAddress < (int)(sectionEnd - (uint8*)symbolData)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue