DSP_DSP: avoid global in WriteProcessPipe

This commit is contained in:
Weiyi Wang 2018-12-06 07:43:09 -05:00
parent e40efbf37b
commit daf23eca2e

View File

@ -94,7 +94,7 @@ void DSP_DSP::WriteProcessPipe(Kernel::HLERequestContext& ctx) {
break; break;
} }
Core::DSP().PipeWrite(pipe, buffer); system.DSP().PipeWrite(pipe, buffer);
IPC::RequestBuilder rb = rp.MakeBuilder(1, 0); IPC::RequestBuilder rb = rp.MakeBuilder(1, 0);
rb.Push(RESULT_SUCCESS); rb.Push(RESULT_SUCCESS);