Fixed core failed to initialize if cpuid failed
Former-commit-id: c95487666c09206720db795c41ae12ca0e22f7dc
This commit is contained in:
parent
7820a3096b
commit
1d6e6bc8cf
|
|
@ -17,10 +17,7 @@ bool NzCore::Initialize(bool initializeHardwareInfo, bool initializeTaskSchedule
|
|||
|
||||
// Initialisation du module
|
||||
if (initializeHardwareInfo && !NzHardwareInfo::Initialize())
|
||||
{
|
||||
NazaraError("Failed to initialize hardware info");
|
||||
return false;
|
||||
}
|
||||
NazaraWarning("Failed to initialize hardware info"); // Non-critique
|
||||
|
||||
if (initializeTaskScheduler && !NzTaskScheduler::Initialize())
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue