diff options
author | Milek7 <Milek7@users.noreply.github.com> | 2021-04-04 08:40:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-04 07:40:56 +0100 |
commit | 33c5f984f533bc101f4a92130a2b56432d5dcc08 (patch) | |
tree | c59fe17723edfcf42b7ad63346bcd21461d46916 /src/music | |
parent | 5b1ea0ee387727a6cbae61b304d6871ce9318435 (diff) | |
download | openttd-33c5f984f533bc101f4a92130a2b56432d5dcc08.tar.xz |
Codechange: Use COINIT_MULTITHREADED in CoInitializeEx (#8938)
Diffstat (limited to 'src/music')
-rw-r--r-- | src/music/dmusic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/music/dmusic.cpp b/src/music/dmusic.cpp index b0e34070c..c9447206a 100644 --- a/src/music/dmusic.cpp +++ b/src/music/dmusic.cpp @@ -1071,7 +1071,7 @@ static const char *LoadDefaultDLSFile(const char *user_dls) const char *MusicDriver_DMusic::Start(const StringList &parm) { /* Initialize COM */ - if (FAILED(CoInitializeEx(nullptr, COINITBASE_MULTITHREADED))) return "COM initialization failed"; + if (FAILED(CoInitializeEx(nullptr, COINIT_MULTITHREADED))) return "COM initialization failed"; /* Create the DirectMusic object */ if (FAILED(CoCreateInstance( |