[Bug 11674] Dual-core not being correctly supported in World of Warcraft (WOW)
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Sep 16 11:04:21 CDT 2010
http://bugs.winehq.org/show_bug.cgi?id=11674
ae <aeforeve at mail.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aeforeve at mail.ru
--- Comment #33 from ae <aeforeve at mail.ru> 2010-09-16 11:04:20 CDT ---
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.@)
*/
--
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.
More information about the wine-bugs
mailing list