Commit 06bd384c authored by Vitaly Lipatov's avatar Vitaly Lipatov

commit 12.2.2 upon wine-1.5.15

parent bd1e3104
......@@ -3922,7 +3922,24 @@ HRESULT WINAPI RegisterApplicationRecoveryCallback(APPLICATION_RECOVERY_CALLBACK
*/
BOOL WINAPI GetNumaHighestNodeNumber(PULONG highestnode)
{
char name[MAX_PATH], *p;
FIXME("(%p): stub\n", highestnode);
GetModuleFileNameA(GetModuleHandleA(NULL), name, sizeof(name));
p = strrchr(name, '\\');
if(p)
++p;
else
p = name;
TRACE("CubeWorld hack, \"%s\" == \"Cube.exe\"?\n", p);
if(strcasecmp(p, "Cube.exe") == 0){
TRACE("Doing CubeWorld hack\n");
if(highestnode)
*highestnode = 1;
return TRUE;
}
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return FALSE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment