Files
wowdecomp/Engine/Source/Os/Win64/System.cpp
T
SatyandClaude Opus 5.5 a6920c183e Os time manager and Tools/GxTest
OsTimeManager ctor/Calibrate, create/destroy, OsTimeStartup/Shutdown,
async clock getters, OsGetNumberOfProcessors. GxTest creates the D3D
device and runs a clear/present loop; stops at the unported texture path.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-25 03:03:19 +02:00

20 lines
334 B
C++

#if defined(WOWDECOMP_ARCH_64)
#include <cstdint>
#include <windows.h>
#include "Engine/Source/Os/System.h"
// OFFSET: 0x0086B240
uint32_t OsGetNumberOfProcessors() {
SYSTEM_INFO info = {};
GetSystemInfo(&info);
if (!info.dwNumberOfProcessors) {
return 1;
}
return info.dwNumberOfProcessors;
}
#endif