1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-07 19:18:19 +02:00

Removed Win10-only call

This commit is contained in:
Brian Fiete 2019-09-18 08:15:36 -07:00
parent cde78bc8c5
commit 04702cfc57

View file

@ -346,7 +346,10 @@ void BlCvParser::ParseSymbolData(void* symbolData, int size, void* relocData, in
dataBlock.mOutSize = -1;
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);
#endif
data = sectionEnd;
while ((nextReloc < relocEnd) && ((int)nextReloc->mVirtualAddress < (int)(sectionEnd - (uint8*)symbolData)))