mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-14 14:45:46 -04:00
Misc: Purge unused code and report startup error to host
This commit is contained in:
@ -658,8 +658,14 @@ int main(int argc, char* argv[])
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if (!System::Internal::CPUThreadInitialize())
|
||||
return EXIT_FAILURE;
|
||||
{
|
||||
Error startup_error;
|
||||
if (!System::Internal::CPUThreadInitialize(&startup_error))
|
||||
{
|
||||
Log_ErrorFmt("CPUThreadInitialize() failed: {}", startup_error.GetDescription());
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
}
|
||||
|
||||
RegTestHost::HookSignals();
|
||||
|
||||
|
Reference in New Issue
Block a user