From d1f7ee35933b1eb0ba8a87c406538a8e81a30662 Mon Sep 17 00:00:00 2001 From: Gliniak Date: Mon, 28 Sep 2020 22:42:27 +0200 Subject: [PATCH] [Audio/XMA] Invalidate output buffer when there is no valid input buffer --- src/xenia/apu/xma_context.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xenia/apu/xma_context.cc b/src/xenia/apu/xma_context.cc index 16d6e66a8..e5cdb2561 100644 --- a/src/xenia/apu/xma_context.cc +++ b/src/xenia/apu/xma_context.cc @@ -302,6 +302,7 @@ void XmaContext::DecodePackets(XMA_CONTEXT_DATA* data) { // No available data. if (!data->input_buffer_0_valid && !data->input_buffer_1_valid) { + data->output_buffer_valid = 0; return; }