From 378258ed0be23fd8c3039f575fae0ff24333c83e Mon Sep 17 00:00:00 2001 From: wheremyfoodat Date: Sun, 11 Jun 2023 14:20:13 +0300 Subject: [PATCH] [DSP] Fix up warnings/logs --- src/core/services/dsp.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/core/services/dsp.cpp b/src/core/services/dsp.cpp index 3331d4b2..17793c55 100644 --- a/src/core/services/dsp.cpp +++ b/src/core/services/dsp.cpp @@ -140,7 +140,7 @@ std::vector DSPService::readPipe(u32 pipe, u32 size) { } if (pipe != DSPPipeType::Audio) { - Helpers::warn("Reading from non-audio pipe! This might be broken, might need to check what pipe is being read from and implement writing to it\n"); + log("Reading from non-audio pipe! This might be broken, might need to check what pipe is being read from and implement writing to it\n"); } std::vector& data = pipeData[pipe]; @@ -322,6 +322,10 @@ void DSPService::writeProcessPipe(u32 messagePointer) { break; } + case DSPPipeType::Binary: + Helpers::warn("Unimplemented write to binary pipe! Size: %d\n", size); + break; + default: log("DSP: Wrote to unimplemented pipe %d\n", channel); break;