From e557bd29764f914053d3535fafb803a2974497dd Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Sun, 28 Jul 2024 19:03:05 +0300 Subject: [PATCH 1/2] Fix HLE__DSP::RecvData --- src/core/audio/hle_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/audio/hle_core.cpp b/src/core/audio/hle_core.cpp index 12c8f4c81..1f77974fe 100644 --- a/src/core/audio/hle_core.cpp +++ b/src/core/audio/hle_core.cpp @@ -110,7 +110,7 @@ namespace Audio { Helpers::panic("Audio: invalid register in HLE frontend"); } - return dspState == DSPState::On; + return dspState != DSPState::On; } void HLE_DSP::writeProcessPipe(u32 channel, u32 size, u32 buffer) { From 908222f26fbbcdda2ecfc79cdf4c2eee7a823b37 Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Sun, 28 Jul 2024 19:05:50 +0300 Subject: [PATCH 2/2] HLE DSP: Don't printf on buffer queue dirty --- src/core/audio/hle_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/audio/hle_core.cpp b/src/core/audio/hle_core.cpp index 1f77974fe..d39bdbbff 100644 --- a/src/core/audio/hle_core.cpp +++ b/src/core/audio/hle_core.cpp @@ -317,7 +317,7 @@ namespace Audio { if (config.bufferQueueDirty) { config.bufferQueueDirty = 0; - printf("Buffer queue dirty for voice %d\n", source.index); + // printf("Buffer queue dirty for voice %d\n", source.index); } config.dirtyRaw = 0;