mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Fix implicit false-to-nullptr conversions
This commit is contained in:
parent
a35f540e7a
commit
e67eb4693e
2 changed files with 2 additions and 2 deletions
|
@ -152,7 +152,7 @@ IMMDevice* WASAPIStream::GetDeviceByName(std::string name)
|
|||
__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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue