mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
* Feature: Reimplement POSIX CPU information.
* BugFix: Correct a typo in setProcessoInformation -> setProcessorInformation.
This commit is contained in:
parent
c687c0d23a
commit
2368f1d97c
5 changed files with 221 additions and 17 deletions
|
|
@ -28,7 +28,8 @@
|
|||
|
||||
Signal<void(void)> Platform::SystemInfoReady;
|
||||
|
||||
void SetProcessoInfo(Platform::SystemInfo_struct::Processor& pInfo, char* vendor, char* brand)
|
||||
// fill the specified structure with information obtained from asm code
|
||||
void SetProcessorInfo(Platform::SystemInfo_struct::Processor& pInfo, const char* vendor, const char* brand)
|
||||
{
|
||||
if (dStricmp(vendor, "GenuineIntel") == 0)
|
||||
{
|
||||
|
|
@ -70,4 +71,4 @@ void SetProcessoInfo(Platform::SystemInfo_struct::Processor& pInfo, char* vendor
|
|||
|
||||
// Trigger the signal
|
||||
Platform::SystemInfoReady.trigger();
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue