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
|
// Initialisation du module
|
||||||
if (initializeHardwareInfo && !NzHardwareInfo::Initialize())
|
if (initializeHardwareInfo && !NzHardwareInfo::Initialize())
|
||||||
{
|
NazaraWarning("Failed to initialize hardware info"); // Non-critique
|
||||||
NazaraError("Failed to initialize hardware info");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (initializeTaskScheduler && !NzTaskScheduler::Initialize())
|
if (initializeTaskScheduler && !NzTaskScheduler::Initialize())
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue