http://bugs.winehq.org/show_bug.cgi?id=34332 --- Comment #14 from Berillions <berillions(a)gmail.com> --- (In reply to Sebastian Lackner from comment #13)
Created attachment 48835 [details] kernel32: Make GetLogicalProcessorInformationEx a stub which returns TRUE.
Could you please test if such a simple patch which basically just changes the return value is sufficient to make Splinter Cell happy?
I doubt that such a patch will go upstream though: MSDN says that the function should never return an empty list. The proper solution would look like:
* Clean up the current code to get processor information, to allow several output formats * Implement SystemLogicalProcessorAndGroupInformation in NtQuerySystemInformation * Let GetLogicalProcessorInformationEx redirect to NtQuerySystemInformation( ... )
Hi Sebastian, I tried your patch and as you said, the game does not work even with it. I think that the game game still crash after this function not implemented : ------ Snip ------ 0009:Call KERNEL32.GetLogicalProcessorInformationEx(0000ffff,00000000,033e1900) ret=024d1a3d 0009:fixme:process:GetLogicalProcessorInformationEx (65535,(nil),0x33e1900): stub 0009:Ret KERNEL32.GetLogicalProcessorInformationEx() retval=00000001 ret=024d1a3d ------ Snip ------ -- 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.