|
|
|
|
@ -959,9 +959,9 @@ int main(int argc, char* argv[])
|
|
|
|
|
CrashHandler::Install(&Bus::CleanupMemoryMap);
|
|
|
|
|
|
|
|
|
|
Error error;
|
|
|
|
|
if (!Core::PerformEarlyHardwareChecks(&error) || !Core::ProcessStartup(&error))
|
|
|
|
|
if (!Core::PerformEarlyHardwareChecks(&error))
|
|
|
|
|
{
|
|
|
|
|
std::fprintf(stderr, "ERROR: ProcessStartup() failed: %s\n", error.GetDescription().c_str());
|
|
|
|
|
std::fprintf(stderr, "ERROR: PerformEarlyHardwareChecks() failed: %s\n", error.GetDescription().c_str());
|
|
|
|
|
return EXIT_FAILURE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -971,6 +971,12 @@ int main(int argc, char* argv[])
|
|
|
|
|
return EXIT_FAILURE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!Core::ProcessStartup(&error))
|
|
|
|
|
{
|
|
|
|
|
std::fprintf(stderr, "ERROR: ProcessStartup() failed: %s\n", error.GetDescription().c_str());
|
|
|
|
|
return EXIT_FAILURE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
std::optional<SystemBootParameters> autoboot;
|
|
|
|
|
if (!RegTestHost::ParseCommandLineParameters(argc, argv, autoboot))
|
|
|
|
|
return EXIT_FAILURE;
|
|
|
|
|
|