System: Move COM init to common code

This commit is contained in:
Stenzek committed 2024-04-25 12:56:02 +10:00
1 parent 425235fd31
commit 7548113afd
5 files changed
+25 -18

No files matched your search

+2 -2
View File
@@ -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);