mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-19 19:35:41 -04:00
System: Move COM init to common code
This commit is contained in:
@ -1603,7 +1603,7 @@ void EmuThread::run()
|
||||
m_started_semaphore.release();
|
||||
|
||||
// input source setup must happen on emu thread
|
||||
if (!System::Internal::ProcessStartup())
|
||||
if (!System::Internal::CPUThreadInitialize())
|
||||
{
|
||||
moveToThread(m_ui_thread);
|
||||
return;
|
||||
@ -1645,7 +1645,7 @@ void EmuThread::run()
|
||||
System::ShutdownSystem(false);
|
||||
|
||||
destroyBackgroundControllerPollTimer();
|
||||
System::Internal::ProcessShutdown();
|
||||
System::Internal::CPUThreadShutdown();
|
||||
|
||||
// move back to UI thread
|
||||
moveToThread(m_ui_thread);
|
||||
|
Reference in New Issue
Block a user