diff options
author | Lioncash <mathew1800@gmail.com> | 2015-12-30 15:30:57 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-12-30 17:29:21 +0100 |
commit | 744f4af3ab797d8c4c456467c50661a04dd4931d (patch) | |
tree | a1f16d8b31b4f40eaa321ff131f5871a31b955a1 /src/core/hle/service/dsp_dsp.cpp | |
parent | Merge pull request #1306 from Subv/sync (diff) | |
download | yuzu-744f4af3ab797d8c4c456467c50661a04dd4931d.tar yuzu-744f4af3ab797d8c4c456467c50661a04dd4931d.tar.gz yuzu-744f4af3ab797d8c4c456467c50661a04dd4931d.tar.bz2 yuzu-744f4af3ab797d8c4c456467c50661a04dd4931d.tar.lz yuzu-744f4af3ab797d8c4c456467c50661a04dd4931d.tar.xz yuzu-744f4af3ab797d8c4c456467c50661a04dd4931d.tar.zst yuzu-744f4af3ab797d8c4c456467c50661a04dd4931d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/dsp_dsp.cpp | 14 |
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"}, }; |