http://bugs.winehq.org/show_bug.cgi?id=11674 philippe.gislard(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |philippe.gislard(a)gmail.com --- Comment #36 from philippe.gislard(a)gmail.com 2010-09-21 14:10:22 CDT --- (In reply to comment #33)
wine wow cataclysm smp cpu fix
--- dlls/kernel32/process.c_old 2010-08-20 23:23:50.000000000 +0600 +++ dlls/kernel32/process.c 2010-09-16 19:24:22.000000000 +0600 @@ -3333,11 +3333,36 @@ */ BOOL WINAPI GetLogicalProcessorInformation(PSYSTEM_LOGICAL_PROCESSOR_INFORMATION buffer, PDWORD pBufLen) { - FIXME("(%p,%p): stub\n", buffer, pBufLen); - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return FALSE; + *pBufLen=sizeof(SYSTEM_LOGICAL_PROCESSOR_INFORMATION)*3; + if(buffer==NULL){ + SetLastError(ERROR_INSUFFICIENT_BUFFER); + return FALSE; + } + + buffer[0].ProcessorMask=3; + buffer[0].Relationship=1; + buffer[0].NumaNode.NodeNumber=0; + buffer[0].Reserved[0]=0; + buffer[0].Reserved[1]=0; + + buffer[1].ProcessorMask=1; + buffer[1].Relationship=0; + buffer[1].ProcessorCore.Flags=0; + buffer[1].Reserved[0]=0; + buffer[1].Reserved[1]=0; + + buffer[2].ProcessorMask=2; + buffer[2].Relationship=0; + buffer[2].ProcessorCore.Flags=0; + buffer[2].Reserved[0]=0; + buffer[2].Reserved[1]=0; + +// FIXME("(%p,%p): stub\n", buffer, pBufLen); + return TRUE; }
+ + /*********************************************************************** * GetLogicalProcessorInformationEx (KERNEL32.@) */
Does this patch has an impact on WoW performances on dual core processors ? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.