Fixed core failed to initialize if cpuid failed
Former-commit-id: c95487666c09206720db795c41ae12ca0e22f7dc
This commit is contained in:
@@ -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())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user