summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/CommandProcessor.cpp
diff options
context:
space:
mode:
authorDentomologist <dentomologist@gmail.com>2026-03-13 20:25:57 -0700
committerDentomologist <dentomologist@gmail.com>2026-03-13 20:29:58 -0700
commite8a78ed95f9f1a001bbdbb3a04a0761f251a7a29 (patch)
tree67f66f0ff1d6b2458c28e3fd2232546641cbcea2 /Source/Core/VideoCommon/CommandProcessor.cpp
parent7a45ede688d28debef23030d5e8449a800770539 (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