mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 14:30:27 +02:00
Do the first CoInitializeEx on the main thread instead of the EmuThread (WASAPI). Fixes #7334
This commit is contained in:
1 parent
c8c80c0ced
commit
8a574e5cd2
4 files changed
+4
-5
No files matched your search
@@ -285,7 +285,7 @@ void WindowsHost::UpdateConsolePosition()
|
||||
HRESULT CreateLink(LPCWSTR lpszPathObj, LPCWSTR lpszArguments, LPCWSTR lpszPathLink, LPCWSTR lpszDesc) {
|
||||
HRESULT hres;
|
||||
IShellLink* psl;
|
||||
CoInitialize(0);
|
||||
CoInitializeEx(NULL, COINIT_MULTITHREADED);
|
||||
|
||||
// Get a pointer to the IShellLink interface. It is assumed that CoInitialize
|
||||
// has already been called.
|
||||
|
||||
Reference in new issue
Block a user