[Bug 34332] Splinter Cell: Blacklist crashes on startup with WinVer set to 'Windows 7' due to GetLogicalProcessorInformationEx stub

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jan 25 13:40:53 CST 2015


https://bugs.winehq.org/show_bug.cgi?id=34332

--- Comment #15 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

the game engine first queries for the buffer size, passing zero length.
It checks for 'ERROR_INSUFFICIENT_BUFFER' last error, allocates the required
buffer on heap and then expects the data in second attempt.

Some example code that shows a similar way what the game is looking for
(excluding NUMA part):

https://github.com/erikarn/intel-pcm/blob/master/src/cpucounters.cpp#L465

Also useful:

https://stackoverflow.com/questions/14093267/confusing-returnlength-from-windows-getlogicalprocessorinformationex-function

With that part fixed the game runs into bug 36549

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list