Emulator Issues #11829 ยป dolphin_bug965285.patch
Source/Core/AudioCommon/WASAPIStream.cpp | ||
---|---|---|
__uuidof(IMMDeviceEnumerator), reinterpret_cast<LPVOID*>(&enumerator));
|
||
if (!HandleWinAPI("Failed to create MMDeviceEnumerator", result))
|
||
return false;
|
||
return nullptr;
|
||
IMMDeviceCollection* devices;
|
||
result = enumerator->EnumAudioEndpoints(eRender, DEVICE_STATE_ACTIVE, &devices);
|
Source/Core/Common/StringUtil.cpp | ||
---|---|---|
output.resize(size);
|
||
if (size != WideCharToMultiByte(code_page, 0, input.data(), static_cast<int>(input.size()),
|
||
&output[0], static_cast<int>(output.size()), nullptr, false))
|
||
&output[0], static_cast<int>(output.size()), nullptr, nullptr))
|
||
{
|
||
const DWORD error_code = GetLastError();
|
||
ERROR_LOG(COMMON, "WideCharToMultiByte Error in String '%s': %lu",
|