diff options
| author | Dentomologist <dentomologist@gmail.com> | 2026-03-13 20:25:57 -0700 |
|---|---|---|
| committer | Dentomologist <dentomologist@gmail.com> | 2026-03-13 20:29:58 -0700 |
| commit | e8a78ed95f9f1a001bbdbb3a04a0761f251a7a29 (patch) | |
| tree | 67f66f0ff1d6b2458c28e3fd2232546641cbcea2 /Source/Core/VideoCommon/CommandProcessor.cpp | |
| parent | 7a45ede688d28debef23030d5e8449a800770539 (diff) | |
WASAPIStream: Fix crash when GetBuffer call fails
Check the return value of calls to `GetBuffer` and stop the `WASAPI
handler` sound thread if they fail.
This prevents a crash due to a null pointer dereference if `GetBuffer`
is unable to retrieve a buffer, which could be triggered during
emulation by disabling the selected WASAPI output device in the Windows
Sound settings.
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
0 files changed, 0 insertions, 0 deletions
