summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/dsp_dsp.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-12-31 03:30:07 +0100
committerbunnei <bunneidev@gmail.com>2015-12-31 03:30:07 +0100
commit085c8f2987aa5fb56de042714be5546a5b6184c9 (patch)
tree4bc9cb1cedab769e82a84b7a77154872da87df57 /src/core/hle/service/dsp_dsp.cpp
parentMerge pull request #1316 from lioncash/decode (diff)
parentservices: Update some function tables (diff)
downloadyuzu-085c8f2987aa5fb56de042714be5546a5b6184c9.tar
yuzu-085c8f2987aa5fb56de042714be5546a5b6184c9.tar.gz
yuzu-085c8f2987aa5fb56de042714be5546a5b6184c9.tar.bz2
yuzu-085c8f2987aa5fb56de042714be5546a5b6184c9.tar.lz
yuzu-085c8f2987aa5fb56de042714be5546a5b6184c9.tar.xz
yuzu-085c8f2987aa5fb56de042714be5546a5b6184c9.tar.zst
yuzu-085c8f2987aa5fb56de042714be5546a5b6184c9.zip
Diffstat (limited to 'src/core/hle/service/dsp_dsp.cpp')
-rw-r--r--src/core/hle/service/dsp_dsp.cpp14
1 files changed, 11 insertions, 3 deletions
diff --git a/src/core/hle/service/dsp_dsp.cpp b/src/core/hle/service/dsp_dsp.cpp
index ce5619069..d6b8d1318 100644
--- a/src/core/hle/service/dsp_dsp.cpp
+++ b/src/core/hle/service/dsp_dsp.cpp
@@ -150,13 +150,13 @@ static void RegisterInterruptEvents(Service::Interface* self) {
}
/**
- * DSP_DSP::WriteReg0x10 service function
+ * DSP_DSP::SetSemaphore service function
* Inputs:
* 1 : Unknown (observed only half word used)
* Outputs:
* 1 : Result of function, 0 on success, otherwise error code
*/
-static void WriteReg0x10(Service::Interface* self) {
+static void SetSemaphore(Service::Interface* self) {
u32* cmd_buff = Kernel::GetCommandBuffer();
SignalInterrupt();
@@ -276,12 +276,17 @@ const Interface::FunctionInfo FunctionTable[] = {
{0x00020040, nullptr, "RecvDataIsReady"},
{0x00030080, nullptr, "SendData"},
{0x00040040, nullptr, "SendDataIsEmpty"},
- {0x00070040, WriteReg0x10, "WriteReg0x10"},
+ {0x000500C2, nullptr, "SendFifoEx"},
+ {0x000600C0, nullptr, "RecvFifoEx"},
+ {0x00070040, SetSemaphore, "SetSemaphore"},
{0x00080000, nullptr, "GetSemaphore"},
{0x00090040, nullptr, "ClearSemaphore"},
+ {0x000A0040, nullptr, "MaskSemaphore"},
{0x000B0000, nullptr, "CheckSemaphoreRequest"},
{0x000C0040, ConvertProcessAddressFromDspDram, "ConvertProcessAddressFromDspDram"},
{0x000D0082, WriteProcessPipe, "WriteProcessPipe"},
+ {0x000E00C0, nullptr, "ReadPipe"},
+ {0x000F0080, nullptr, "GetPipeReadableSize"},
{0x001000C0, ReadPipeIfPossible, "ReadPipeIfPossible"},
{0x001100C2, LoadComponent, "LoadComponent"},
{0x00120000, nullptr, "UnloadComponent"},
@@ -295,7 +300,10 @@ const Interface::FunctionInfo FunctionTable[] = {
{0x001A0042, nullptr, "SetIirFilterI2S1_cmd1"},
{0x001B0042, nullptr, "SetIirFilterI2S1_cmd2"},
{0x001C0082, nullptr, "SetIirFilterEQ"},
+ {0x001D00C0, nullptr, "ReadMultiEx_SPI2"},
+ {0x001E00C2, nullptr, "WriteMultiEx_SPI2"},
{0x001F0000, GetHeadphoneStatus, "GetHeadphoneStatus"},
+ {0x00200040, nullptr, "ForceHeadphoneOut"},
{0x00210000, nullptr, "GetIsDspOccupied"},
};