summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/dsp_dsp.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-21 09:11:36 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-25 06:06:00 +0200
commit2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3 (patch)
tree7d6d61465f7a4cb6bbb68902301e1ca92f5a76a5 /src/core/hle/service/dsp_dsp.cpp
parentGSP_GPU: Move error codes from result.h to local file (diff)
downloadyuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.tar
yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.tar.gz
yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.tar.bz2
yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.tar.lz
yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.tar.xz
yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.tar.zst
yuzu-2cdb40d709f2a5d4f7f3159d4c6d80fe7905b4f3.zip
Diffstat (limited to 'src/core/hle/service/dsp_dsp.cpp')
-rw-r--r--src/core/hle/service/dsp_dsp.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/hle/service/dsp_dsp.cpp b/src/core/hle/service/dsp_dsp.cpp
index 39711ea97..79171a0bc 100644
--- a/src/core/hle/service/dsp_dsp.cpp
+++ b/src/core/hle/service/dsp_dsp.cpp
@@ -289,9 +289,7 @@ static void WriteProcessPipe(Service::Interface* self) {
"size=0x%X, buffer=0x%08X",
cmd_buff[3], pipe_index, size, buffer);
cmd_buff[0] = IPC::MakeHeader(0, 1, 0);
- cmd_buff[1] = ResultCode(ErrorDescription::OS_InvalidBufferDescriptor, ErrorModule::OS,
- ErrorSummary::WrongArgument, ErrorLevel::Permanent)
- .raw;
+ cmd_buff[1] = IPC::ERR_INVALID_BUFFER_DESCRIPTOR.raw;
return;
}