diff options
| author | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-31 08:53:11 -0400 |
|---|---|---|
| committer | Takoroka <137927095+Takoroka@users.noreply.github.com> | 2026-10-31 08:53:11 -0400 |
| commit | df8d77511bcc1d8b6a7ef5afa6ac27a0dcdfe870 (patch) | |
| tree | c1ffefdadc26adfb43adf811b88aead126e102e6 /src/common/host_memory.cpp | |
| parent | 2b72e348561bd4696d3e44ca3b855fe565106c64 (diff) | |
audio: don't free an upsampler when cleaning up a circular buffer sink
CircularBufferSinkInfo::CleanUp read its state as a DeviceState and
freed DeviceState::upsampler_info. Only device sinks own an upsampler;
a circular buffer sink's state starts with its buffer positions, so a
game that changed or removed its circular buffer sink made the audio
service free a pointer built from those positions and crash the
emulator. Mario Tennis Fever does this during startup.
Diffstat (limited to 'src/common/host_memory.cpp')
0 files changed, 0 insertions, 0 deletions
