diff options
| author | 2021-04-09 22:47:34 -0700 | |
|---|---|---|
| committer | 2021-04-09 22:47:34 -0700 | |
| commit | 31c80b8c6faa7681e7b16a4052403281c7f2b9cd (patch) | |
| tree | 01d09ebe1b0b4c9397a8682e3f4a66bcb884ba96 /src | |
| parent | Merge pull request #6156 from lioncash/lock-discard (diff) | |
| parent | wlan: Update to 12.x (diff) | |
| download | yuzu-31c80b8c6faa7681e7b16a4052403281c7f2b9cd.tar.gz yuzu-31c80b8c6faa7681e7b16a4052403281c7f2b9cd.tar.xz yuzu-31c80b8c6faa7681e7b16a4052403281c7f2b9cd.zip | |
Merge pull request #6171 from german77/services
service: Update service function tables and use proper names
Diffstat (limited to 'src')
30 files changed, 137 insertions, 97 deletions
diff --git a/src/core/hle/service/audio/audin_a.cpp b/src/core/hle/service/audio/audin_a.cpp index 79c3aa920..10acaad19 100644 --- a/src/core/hle/service/audio/audin_a.cpp +++ b/src/core/hle/service/audio/audin_a.cpp | |||
| @@ -9,10 +9,10 @@ namespace Service::Audio { | |||
| 9 | AudInA::AudInA(Core::System& system_) : ServiceFramework{system_, "audin:a"} { | 9 | AudInA::AudInA(Core::System& system_) : ServiceFramework{system_, "audin:a"} { |
| 10 | // clang-format off | 10 | // clang-format off |
| 11 | static const FunctionInfo functions[] = { | 11 | static const FunctionInfo functions[] = { |
| 12 | {0, nullptr, "RequestSuspendAudioIns"}, | 12 | {0, nullptr, "RequestSuspend"}, |
| 13 | {1, nullptr, "RequestResumeAudioIns"}, | 13 | {1, nullptr, "RequestResume"}, |
| 14 | {2, nullptr, "GetAudioInsProcessMasterVolume"}, | 14 | {2, nullptr, "GetProcessMasterVolume"}, |
| 15 | {3, nullptr, "SetAudioInsProcessMasterVolume"}, | 15 | {3, nullptr, "SetProcessMasterVolume"}, |
| 16 | }; | 16 | }; |
| 17 | // clang-format on | 17 | // clang-format on |
| 18 | 18 | ||
diff --git a/src/core/hle/service/audio/audin_u.cpp b/src/core/hle/service/audio/audin_u.cpp index 26a6deddf..ecd05e4a6 100644 --- a/src/core/hle/service/audio/audin_u.cpp +++ b/src/core/hle/service/audio/audin_u.cpp | |||
| @@ -15,19 +15,19 @@ public: | |||
| 15 | // clang-format off | 15 | // clang-format off |
| 16 | static const FunctionInfo functions[] = { | 16 | static const FunctionInfo functions[] = { |
| 17 | {0, nullptr, "GetAudioInState"}, | 17 | {0, nullptr, "GetAudioInState"}, |
| 18 | {1, nullptr, "StartAudioIn"}, | 18 | {1, nullptr, "Start"}, |
| 19 | {2, nullptr, "StopAudioIn"}, | 19 | {2, nullptr, "Stop"}, |
| 20 | {3, nullptr, "AppendAudioInBuffer"}, | 20 | {3, nullptr, "AppendAudioInBuffer"}, |
| 21 | {4, nullptr, "RegisterBufferEvent"}, | 21 | {4, nullptr, "RegisterBufferEvent"}, |
| 22 | {5, nullptr, "GetReleasedAudioInBuffer"}, | 22 | {5, nullptr, "GetReleasedAudioInBuffer"}, |
| 23 | {6, nullptr, "ContainsAudioInBuffer"}, | 23 | {6, nullptr, "ContainsAudioInBuffer"}, |
| 24 | {7, nullptr, "AppendAudioInBufferWithUserEvent"}, | 24 | {7, nullptr, "AppendUacInBuffer"}, |
| 25 | {8, nullptr, "AppendAudioInBufferAuto"}, | 25 | {8, nullptr, "AppendAudioInBufferAuto"}, |
| 26 | {9, nullptr, "GetReleasedAudioInBufferAuto"}, | 26 | {9, nullptr, "GetReleasedAudioInBuffersAuto"}, |
| 27 | {10, nullptr, "AppendAudioInBufferWithUserEventAuto"}, | 27 | {10, nullptr, "AppendUacInBufferAuto"}, |
| 28 | {11, nullptr, "GetAudioInBufferCount"}, | 28 | {11, nullptr, "GetAudioInBufferCount"}, |
| 29 | {12, nullptr, "SetAudioInDeviceGain"}, | 29 | {12, nullptr, "SetDeviceGain"}, |
| 30 | {13, nullptr, "GetAudioInDeviceGain"}, | 30 | {13, nullptr, "GetDeviceGain"}, |
| 31 | {14, nullptr, "FlushAudioInBuffers"}, | 31 | {14, nullptr, "FlushAudioInBuffers"}, |
| 32 | }; | 32 | }; |
| 33 | // clang-format on | 33 | // clang-format on |
diff --git a/src/core/hle/service/audio/audout_a.cpp b/src/core/hle/service/audio/audout_a.cpp index 19825fd5d..3ee522b50 100644 --- a/src/core/hle/service/audio/audout_a.cpp +++ b/src/core/hle/service/audio/audout_a.cpp | |||
| @@ -9,12 +9,12 @@ namespace Service::Audio { | |||
| 9 | AudOutA::AudOutA(Core::System& system_) : ServiceFramework{system_, "audout:a"} { | 9 | AudOutA::AudOutA(Core::System& system_) : ServiceFramework{system_, "audout:a"} { |
| 10 | // clang-format off | 10 | // clang-format off |
| 11 | static const FunctionInfo functions[] = { | 11 | static const FunctionInfo functions[] = { |
| 12 | {0, nullptr, "RequestSuspendAudioOuts"}, | 12 | {0, nullptr, "RequestSuspend"}, |
| 13 | {1, nullptr, "RequestResumeAudioOuts"}, | 13 | {1, nullptr, "RequestResume"}, |
| 14 | {2, nullptr, "GetAudioOutsProcessMasterVolume"}, | 14 | {2, nullptr, "GetProcessMasterVolume"}, |
| 15 | {3, nullptr, "SetAudioOutsProcessMasterVolume"}, | 15 | {3, nullptr, "SetProcessMasterVolume"}, |
| 16 | {4, nullptr, "GetAudioOutsProcessRecordVolume"}, | 16 | {4, nullptr, "GetProcessRecordVolume"}, |
| 17 | {5, nullptr, "SetAudioOutsProcessRecordVolume"}, | 17 | {5, nullptr, "SetProcessRecordVolume"}, |
| 18 | }; | 18 | }; |
| 19 | // clang-format on | 19 | // clang-format on |
| 20 | 20 | ||
diff --git a/src/core/hle/service/audio/audout_u.cpp b/src/core/hle/service/audio/audout_u.cpp index 5ed9cb20e..5f51fca9a 100644 --- a/src/core/hle/service/audio/audout_u.cpp +++ b/src/core/hle/service/audio/audout_u.cpp | |||
| @@ -49,11 +49,11 @@ public: | |||
| 49 | // clang-format off | 49 | // clang-format off |
| 50 | static const FunctionInfo functions[] = { | 50 | static const FunctionInfo functions[] = { |
| 51 | {0, &IAudioOut::GetAudioOutState, "GetAudioOutState"}, | 51 | {0, &IAudioOut::GetAudioOutState, "GetAudioOutState"}, |
| 52 | {1, &IAudioOut::StartAudioOut, "StartAudioOut"}, | 52 | {1, &IAudioOut::StartAudioOut, "Start"}, |
| 53 | {2, &IAudioOut::StopAudioOut, "StopAudioOut"}, | 53 | {2, &IAudioOut::StopAudioOut, "Stop"}, |
| 54 | {3, &IAudioOut::AppendAudioOutBufferImpl, "AppendAudioOutBuffer"}, | 54 | {3, &IAudioOut::AppendAudioOutBufferImpl, "AppendAudioOutBuffer"}, |
| 55 | {4, &IAudioOut::RegisterBufferEvent, "RegisterBufferEvent"}, | 55 | {4, &IAudioOut::RegisterBufferEvent, "RegisterBufferEvent"}, |
| 56 | {5, &IAudioOut::GetReleasedAudioOutBufferImpl, "GetReleasedAudioOutBuffer"}, | 56 | {5, &IAudioOut::GetReleasedAudioOutBufferImpl, "GetReleasedAudioOutBuffers"}, |
| 57 | {6, &IAudioOut::ContainsAudioOutBuffer, "ContainsAudioOutBuffer"}, | 57 | {6, &IAudioOut::ContainsAudioOutBuffer, "ContainsAudioOutBuffer"}, |
| 58 | {7, &IAudioOut::AppendAudioOutBufferImpl, "AppendAudioOutBufferAuto"}, | 58 | {7, &IAudioOut::AppendAudioOutBufferImpl, "AppendAudioOutBufferAuto"}, |
| 59 | {8, &IAudioOut::GetReleasedAudioOutBufferImpl, "GetReleasedAudioOutBufferAuto"}, | 59 | {8, &IAudioOut::GetReleasedAudioOutBufferImpl, "GetReleasedAudioOutBufferAuto"}, |
diff --git a/src/core/hle/service/audio/audrec_a.cpp b/src/core/hle/service/audio/audrec_a.cpp index c5ab7cad4..70fc17ae2 100644 --- a/src/core/hle/service/audio/audrec_a.cpp +++ b/src/core/hle/service/audio/audrec_a.cpp | |||
| @@ -9,8 +9,8 @@ namespace Service::Audio { | |||
| 9 | AudRecA::AudRecA(Core::System& system_) : ServiceFramework{system_, "audrec:a"} { | 9 | AudRecA::AudRecA(Core::System& system_) : ServiceFramework{system_, "audrec:a"} { |
| 10 | // clang-format off | 10 | // clang-format off |
| 11 | static const FunctionInfo functions[] = { | 11 | static const FunctionInfo functions[] = { |
| 12 | {0, nullptr, "RequestSuspendFinalOutputRecorders"}, | 12 | {0, nullptr, "RequestSuspend"}, |
| 13 | {1, nullptr, "RequestResumeFinalOutputRecorders"}, | 13 | {1, nullptr, "RequestResume"}, |
| 14 | }; | 14 | }; |
| 15 | // clang-format on | 15 | // clang-format on |
| 16 | 16 | ||
diff --git a/src/core/hle/service/audio/audrec_u.cpp b/src/core/hle/service/audio/audrec_u.cpp index eb5c63c62..74a65ccff 100644 --- a/src/core/hle/service/audio/audrec_u.cpp +++ b/src/core/hle/service/audio/audrec_u.cpp | |||
| @@ -13,16 +13,17 @@ public: | |||
| 13 | // clang-format off | 13 | // clang-format off |
| 14 | static const FunctionInfo functions[] = { | 14 | static const FunctionInfo functions[] = { |
| 15 | {0, nullptr, "GetFinalOutputRecorderState"}, | 15 | {0, nullptr, "GetFinalOutputRecorderState"}, |
| 16 | {1, nullptr, "StartFinalOutputRecorder"}, | 16 | {1, nullptr, "Start"}, |
| 17 | {2, nullptr, "StopFinalOutputRecorder"}, | 17 | {2, nullptr, "Stop"}, |
| 18 | {3, nullptr, "AppendFinalOutputRecorderBuffer"}, | 18 | {3, nullptr, "AppendFinalOutputRecorderBuffer"}, |
| 19 | {4, nullptr, "RegisterBufferEvent"}, | 19 | {4, nullptr, "RegisterBufferEvent"}, |
| 20 | {5, nullptr, "GetReleasedFinalOutputRecorderBuffer"}, | 20 | {5, nullptr, "GetReleasedFinalOutputRecorderBuffers"}, |
| 21 | {6, nullptr, "ContainsFinalOutputRecorderBuffer"}, | 21 | {6, nullptr, "ContainsFinalOutputRecorderBuffer"}, |
| 22 | {7, nullptr, "GetFinalOutputRecorderBufferEndTime"}, | 22 | {7, nullptr, "GetFinalOutputRecorderBufferEndTime"}, |
| 23 | {8, nullptr, "AppendFinalOutputRecorderBufferAuto"}, | 23 | {8, nullptr, "AppendFinalOutputRecorderBufferAuto"}, |
| 24 | {9, nullptr, "GetReleasedFinalOutputRecorderBufferAuto"}, | 24 | {9, nullptr, "GetReleasedFinalOutputRecorderBufferAuto"}, |
| 25 | {10, nullptr, "FlushFinalOutputRecorderBuffers"}, | 25 | {10, nullptr, "FlushFinalOutputRecorderBuffers"}, |
| 26 | {11, nullptr, "AttachWorkBuffer"}, | ||
| 26 | }; | 27 | }; |
| 27 | // clang-format on | 28 | // clang-format on |
| 28 | 29 | ||
diff --git a/src/core/hle/service/audio/audren_a.cpp b/src/core/hle/service/audio/audren_a.cpp index 5e9f866f0..cf8c34a15 100644 --- a/src/core/hle/service/audio/audren_a.cpp +++ b/src/core/hle/service/audio/audren_a.cpp | |||
| @@ -9,14 +9,14 @@ namespace Service::Audio { | |||
| 9 | AudRenA::AudRenA(Core::System& system_) : ServiceFramework{system_, "audren:a"} { | 9 | AudRenA::AudRenA(Core::System& system_) : ServiceFramework{system_, "audren:a"} { |
| 10 | // clang-format off | 10 | // clang-format off |
| 11 | static const FunctionInfo functions[] = { | 11 | static const FunctionInfo functions[] = { |
| 12 | {0, nullptr, "RequestSuspendAudioRenderers"}, | 12 | {0, nullptr, "RequestSuspend"}, |
| 13 | {1, nullptr, "RequestResumeAudioRenderers"}, | 13 | {1, nullptr, "RequestResume"}, |
| 14 | {2, nullptr, "GetAudioRenderersProcessMasterVolume"}, | 14 | {2, nullptr, "GetProcessMasterVolume"}, |
| 15 | {3, nullptr, "SetAudioRenderersProcessMasterVolume"}, | 15 | {3, nullptr, "SetProcessMasterVolume"}, |
| 16 | {4, nullptr, "RegisterAppletResourceUserId"}, | 16 | {4, nullptr, "RegisterAppletResourceUserId"}, |
| 17 | {5, nullptr, "UnregisterAppletResourceUserId"}, | 17 | {5, nullptr, "UnregisterAppletResourceUserId"}, |
| 18 | {6, nullptr, "GetAudioRenderersProcessRecordVolume"}, | 18 | {6, nullptr, "GetProcessRecordVolume"}, |
| 19 | {7, nullptr, "SetAudioRenderersProcessRecordVolume"}, | 19 | {7, nullptr, "SetProcessRecordVolume"}, |
| 20 | }; | 20 | }; |
| 21 | // clang-format on | 21 | // clang-format on |
| 22 | 22 | ||
diff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cpp index b2b2ffc5a..572be8e00 100644 --- a/src/core/hle/service/audio/audren_u.cpp +++ b/src/core/hle/service/audio/audren_u.cpp | |||
| @@ -332,9 +332,9 @@ AudRenU::AudRenU(Core::System& system_) : ServiceFramework{system_, "audren:u"} | |||
| 332 | // clang-format off | 332 | // clang-format off |
| 333 | static const FunctionInfo functions[] = { | 333 | static const FunctionInfo functions[] = { |
| 334 | {0, &AudRenU::OpenAudioRenderer, "OpenAudioRenderer"}, | 334 | {0, &AudRenU::OpenAudioRenderer, "OpenAudioRenderer"}, |
| 335 | {1, &AudRenU::GetAudioRendererWorkBufferSize, "GetAudioRendererWorkBufferSize"}, | 335 | {1, &AudRenU::GetAudioRendererWorkBufferSize, "GetWorkBufferSize"}, |
| 336 | {2, &AudRenU::GetAudioDeviceService, "GetAudioDeviceService"}, | 336 | {2, &AudRenU::GetAudioDeviceService, "GetAudioDeviceService"}, |
| 337 | {3, &AudRenU::OpenAudioRendererAuto, "OpenAudioRendererAuto"}, | 337 | {3, &AudRenU::OpenAudioRendererForManualExecution, "OpenAudioRendererForManualExecution"}, |
| 338 | {4, &AudRenU::GetAudioDeviceServiceWithRevisionInfo, "GetAudioDeviceServiceWithRevisionInfo"}, | 338 | {4, &AudRenU::GetAudioDeviceServiceWithRevisionInfo, "GetAudioDeviceServiceWithRevisionInfo"}, |
| 339 | }; | 339 | }; |
| 340 | // clang-format on | 340 | // clang-format on |
| @@ -665,7 +665,7 @@ void AudRenU::GetAudioDeviceService(Kernel::HLERequestContext& ctx) { | |||
| 665 | rb.PushIpcInterface<IAudioDevice>(system, Common::MakeMagic('R', 'E', 'V', '1')); | 665 | rb.PushIpcInterface<IAudioDevice>(system, Common::MakeMagic('R', 'E', 'V', '1')); |
| 666 | } | 666 | } |
| 667 | 667 | ||
| 668 | void AudRenU::OpenAudioRendererAuto(Kernel::HLERequestContext& ctx) { | 668 | void AudRenU::OpenAudioRendererForManualExecution(Kernel::HLERequestContext& ctx) { |
| 669 | LOG_DEBUG(Service_Audio, "called"); | 669 | LOG_DEBUG(Service_Audio, "called"); |
| 670 | 670 | ||
| 671 | OpenAudioRendererImpl(ctx); | 671 | OpenAudioRendererImpl(ctx); |
diff --git a/src/core/hle/service/audio/audren_u.h b/src/core/hle/service/audio/audren_u.h index d693dc406..37e8b4716 100644 --- a/src/core/hle/service/audio/audren_u.h +++ b/src/core/hle/service/audio/audren_u.h | |||
| @@ -25,7 +25,7 @@ private: | |||
| 25 | void OpenAudioRenderer(Kernel::HLERequestContext& ctx); | 25 | void OpenAudioRenderer(Kernel::HLERequestContext& ctx); |
| 26 | void GetAudioRendererWorkBufferSize(Kernel::HLERequestContext& ctx); | 26 | void GetAudioRendererWorkBufferSize(Kernel::HLERequestContext& ctx); |
| 27 | void GetAudioDeviceService(Kernel::HLERequestContext& ctx); | 27 | void GetAudioDeviceService(Kernel::HLERequestContext& ctx); |
| 28 | void OpenAudioRendererAuto(Kernel::HLERequestContext& ctx); | 28 | void OpenAudioRendererForManualExecution(Kernel::HLERequestContext& ctx); |
| 29 | void GetAudioDeviceServiceWithRevisionInfo(Kernel::HLERequestContext& ctx); | 29 | void GetAudioDeviceServiceWithRevisionInfo(Kernel::HLERequestContext& ctx); |
| 30 | 30 | ||
| 31 | void OpenAudioRendererImpl(Kernel::HLERequestContext& ctx); | 31 | void OpenAudioRendererImpl(Kernel::HLERequestContext& ctx); |
diff --git a/src/core/hle/service/audio/codecctl.cpp b/src/core/hle/service/audio/codecctl.cpp index 94afec1b6..42961d908 100644 --- a/src/core/hle/service/audio/codecctl.cpp +++ b/src/core/hle/service/audio/codecctl.cpp | |||
| @@ -8,19 +8,19 @@ namespace Service::Audio { | |||
| 8 | 8 | ||
| 9 | CodecCtl::CodecCtl(Core::System& system_) : ServiceFramework{system_, "codecctl"} { | 9 | CodecCtl::CodecCtl(Core::System& system_) : ServiceFramework{system_, "codecctl"} { |
| 10 | static const FunctionInfo functions[] = { | 10 | static const FunctionInfo functions[] = { |
| 11 | {0, nullptr, "InitializeCodecController"}, | 11 | {0, nullptr, "Initialize"}, |
| 12 | {1, nullptr, "FinalizeCodecController"}, | 12 | {1, nullptr, "Finalize"}, |
| 13 | {2, nullptr, "SleepCodecController"}, | 13 | {2, nullptr, "Sleep"}, |
| 14 | {3, nullptr, "WakeCodecController"}, | 14 | {3, nullptr, "Wake"}, |
| 15 | {4, nullptr, "SetCodecVolume"}, | 15 | {4, nullptr, "SetVolume"}, |
| 16 | {5, nullptr, "GetCodecVolumeMax"}, | 16 | {5, nullptr, "GetVolumeMax"}, |
| 17 | {6, nullptr, "GetCodecVolumeMin"}, | 17 | {6, nullptr, "GetVolumeMin"}, |
| 18 | {7, nullptr, "SetCodecActiveTarget"}, | 18 | {7, nullptr, "SetActiveTarget"}, |
| 19 | {8, nullptr, "GetCodecActiveTarget"}, | 19 | {8, nullptr, "GetActiveTarget"}, |
| 20 | {9, nullptr, "BindCodecHeadphoneMicJackInterrupt"}, | 20 | {9, nullptr, "BindHeadphoneMicJackInterrupt"}, |
| 21 | {10, nullptr, "IsCodecHeadphoneMicJackInserted"}, | 21 | {10, nullptr, "IsHeadphoneMicJackInserted"}, |
| 22 | {11, nullptr, "ClearCodecHeadphoneMicJackInterrupt"}, | 22 | {11, nullptr, "ClearHeadphoneMicJackInterrupt"}, |
| 23 | {12, nullptr, "IsCodecDeviceRequested"}, | 23 | {12, nullptr, "IsRequested"}, |
| 24 | }; | 24 | }; |
| 25 | RegisterHandlers(functions); | 25 | RegisterHandlers(functions); |
| 26 | } | 26 | } |
diff --git a/src/core/hle/service/bcat/module.cpp b/src/core/hle/service/bcat/module.cpp index 503109fdd..b68e2c345 100644 --- a/src/core/hle/service/bcat/module.cpp +++ b/src/core/hle/service/bcat/module.cpp | |||
| @@ -155,10 +155,12 @@ public: | |||
| 155 | {30210, nullptr, "SetDeliveryTaskTimer"}, | 155 | {30210, nullptr, "SetDeliveryTaskTimer"}, |
| 156 | {30300, nullptr, "RegisterSystemApplicationDeliveryTasks"}, | 156 | {30300, nullptr, "RegisterSystemApplicationDeliveryTasks"}, |
| 157 | {90100, nullptr, "EnumerateBackgroundDeliveryTask"}, | 157 | {90100, nullptr, "EnumerateBackgroundDeliveryTask"}, |
| 158 | {90101, nullptr, "Unknown90101"}, | ||
| 158 | {90200, nullptr, "GetDeliveryList"}, | 159 | {90200, nullptr, "GetDeliveryList"}, |
| 159 | {90201, &IBcatService::ClearDeliveryCacheStorage, "ClearDeliveryCacheStorage"}, | 160 | {90201, &IBcatService::ClearDeliveryCacheStorage, "ClearDeliveryCacheStorage"}, |
| 160 | {90202, nullptr, "ClearDeliveryTaskSubscriptionStatus"}, | 161 | {90202, nullptr, "ClearDeliveryTaskSubscriptionStatus"}, |
| 161 | {90300, nullptr, "GetPushNotificationLog"}, | 162 | {90300, nullptr, "GetPushNotificationLog"}, |
| 163 | {90301, nullptr, "Unknown90301"}, | ||
| 162 | }; | 164 | }; |
| 163 | // clang-format on | 165 | // clang-format on |
| 164 | RegisterHandlers(functions); | 166 | RegisterHandlers(functions); |
diff --git a/src/core/hle/service/bpc/bpc.cpp b/src/core/hle/service/bpc/bpc.cpp index e4630320e..78e01d8d8 100644 --- a/src/core/hle/service/bpc/bpc.cpp +++ b/src/core/hle/service/bpc/bpc.cpp | |||
| @@ -29,8 +29,8 @@ public: | |||
| 29 | {11, nullptr, "CreateWakeupTimerEx"}, | 29 | {11, nullptr, "CreateWakeupTimerEx"}, |
| 30 | {12, nullptr, "GetLastEnabledWakeupTimerType"}, | 30 | {12, nullptr, "GetLastEnabledWakeupTimerType"}, |
| 31 | {13, nullptr, "CleanAllWakeupTimers"}, | 31 | {13, nullptr, "CleanAllWakeupTimers"}, |
| 32 | {14, nullptr, "Unknown"}, | 32 | {14, nullptr, "GetPowerButton"}, |
| 33 | {15, nullptr, "Unknown2"}, | 33 | {15, nullptr, "SetEnableWakeupTimer"}, |
| 34 | }; | 34 | }; |
| 35 | // clang-format on | 35 | // clang-format on |
| 36 | 36 | ||
diff --git a/src/core/hle/service/caps/caps_a.cpp b/src/core/hle/service/caps/caps_a.cpp index 1fe4f0e14..6220e9f77 100644 --- a/src/core/hle/service/caps/caps_a.cpp +++ b/src/core/hle/service/caps/caps_a.cpp | |||
| @@ -49,6 +49,7 @@ CAPS_A::CAPS_A(Core::System& system_) : ServiceFramework{system_, "caps:a"} { | |||
| 49 | {16, nullptr, "GetAlbumMountResult"}, | 49 | {16, nullptr, "GetAlbumMountResult"}, |
| 50 | {17, nullptr, "GetAlbumUsage16"}, | 50 | {17, nullptr, "GetAlbumUsage16"}, |
| 51 | {18, nullptr, "Unknown18"}, | 51 | {18, nullptr, "Unknown18"}, |
| 52 | {19, nullptr, "Unknown19"}, | ||
| 52 | {100, nullptr, "GetAlbumFileCountEx0"}, | 53 | {100, nullptr, "GetAlbumFileCountEx0"}, |
| 53 | {101, nullptr, "GetAlbumFileListEx0"}, | 54 | {101, nullptr, "GetAlbumFileListEx0"}, |
| 54 | {202, nullptr, "SaveEditedScreenShot"}, | 55 | {202, nullptr, "SaveEditedScreenShot"}, |
diff --git a/src/core/hle/service/caps/caps_u.cpp b/src/core/hle/service/caps/caps_u.cpp index 842316a2e..10b8d54b1 100644 --- a/src/core/hle/service/caps/caps_u.cpp +++ b/src/core/hle/service/caps/caps_u.cpp | |||
| @@ -43,6 +43,7 @@ CAPS_U::CAPS_U(Core::System& system_) : ServiceFramework{system_, "caps:u"} { | |||
| 43 | {141, nullptr, "GetAlbumFileList2AafeUidAruidDeprecated"}, | 43 | {141, nullptr, "GetAlbumFileList2AafeUidAruidDeprecated"}, |
| 44 | {142, &CAPS_U::GetAlbumFileList3AaeAruid, "GetAlbumFileList3AaeAruid"}, | 44 | {142, &CAPS_U::GetAlbumFileList3AaeAruid, "GetAlbumFileList3AaeAruid"}, |
| 45 | {143, nullptr, "GetAlbumFileList4AaeUidAruid"}, | 45 | {143, nullptr, "GetAlbumFileList4AaeUidAruid"}, |
| 46 | {144, nullptr, "GetAllAlbumFileList3AaeAruid"}, | ||
| 46 | {60002, nullptr, "OpenAccessorSessionForApplication"}, | 47 | {60002, nullptr, "OpenAccessorSessionForApplication"}, |
| 47 | }; | 48 | }; |
| 48 | // clang-format on | 49 | // clang-format on |
diff --git a/src/core/hle/service/glue/arp.cpp b/src/core/hle/service/glue/arp.cpp index fc77e7286..322125135 100644 --- a/src/core/hle/service/glue/arp.cpp +++ b/src/core/hle/service/glue/arp.cpp | |||
| @@ -41,6 +41,12 @@ ARP_R::ARP_R(Core::System& system_, const ARPManager& manager_) | |||
| 41 | {1, &ARP_R::GetApplicationLaunchPropertyWithApplicationId, "GetApplicationLaunchPropertyWithApplicationId"}, | 41 | {1, &ARP_R::GetApplicationLaunchPropertyWithApplicationId, "GetApplicationLaunchPropertyWithApplicationId"}, |
| 42 | {2, &ARP_R::GetApplicationControlProperty, "GetApplicationControlProperty"}, | 42 | {2, &ARP_R::GetApplicationControlProperty, "GetApplicationControlProperty"}, |
| 43 | {3, &ARP_R::GetApplicationControlPropertyWithApplicationId, "GetApplicationControlPropertyWithApplicationId"}, | 43 | {3, &ARP_R::GetApplicationControlPropertyWithApplicationId, "GetApplicationControlPropertyWithApplicationId"}, |
| 44 | {4, nullptr, "GetApplicationInstanceUnregistrationNotifier"}, | ||
| 45 | {5, nullptr, "ListApplicationInstanceId"}, | ||
| 46 | {6, nullptr, "GetMicroApplicationInstanceId"}, | ||
| 47 | {7, nullptr, "GetApplicationCertificate"}, | ||
| 48 | {9998, nullptr, "GetPreomiaApplicationLaunchProperty"}, | ||
| 49 | {9999, nullptr, "GetPreomiaApplicationControlProperty"}, | ||
| 44 | }; | 50 | }; |
| 45 | // clang-format on | 51 | // clang-format on |
| 46 | 52 | ||
| @@ -243,7 +249,8 @@ ARP_W::ARP_W(Core::System& system_, ARPManager& manager_) | |||
| 243 | // clang-format off | 249 | // clang-format off |
| 244 | static const FunctionInfo functions[] = { | 250 | static const FunctionInfo functions[] = { |
| 245 | {0, &ARP_W::AcquireRegistrar, "AcquireRegistrar"}, | 251 | {0, &ARP_W::AcquireRegistrar, "AcquireRegistrar"}, |
| 246 | {1, &ARP_W::DeleteProperties, "DeleteProperties"}, | 252 | {1, &ARP_W::UnregisterApplicationInstance , "UnregisterApplicationInstance "}, |
| 253 | {2, nullptr, "AcquireUpdater"}, | ||
| 247 | }; | 254 | }; |
| 248 | // clang-format on | 255 | // clang-format on |
| 249 | 256 | ||
| @@ -270,7 +277,7 @@ void ARP_W::AcquireRegistrar(Kernel::HLERequestContext& ctx) { | |||
| 270 | rb.PushIpcInterface(registrar); | 277 | rb.PushIpcInterface(registrar); |
| 271 | } | 278 | } |
| 272 | 279 | ||
| 273 | void ARP_W::DeleteProperties(Kernel::HLERequestContext& ctx) { | 280 | void ARP_W::UnregisterApplicationInstance(Kernel::HLERequestContext& ctx) { |
| 274 | IPC::RequestParser rp{ctx}; | 281 | IPC::RequestParser rp{ctx}; |
| 275 | const auto process_id = rp.PopRaw<u64>(); | 282 | const auto process_id = rp.PopRaw<u64>(); |
| 276 | 283 | ||
diff --git a/src/core/hle/service/glue/arp.h b/src/core/hle/service/glue/arp.h index 34b412e26..0df3c5e1f 100644 --- a/src/core/hle/service/glue/arp.h +++ b/src/core/hle/service/glue/arp.h | |||
| @@ -32,7 +32,7 @@ public: | |||
| 32 | 32 | ||
| 33 | private: | 33 | private: |
| 34 | void AcquireRegistrar(Kernel::HLERequestContext& ctx); | 34 | void AcquireRegistrar(Kernel::HLERequestContext& ctx); |
| 35 | void DeleteProperties(Kernel::HLERequestContext& ctx); | 35 | void UnregisterApplicationInstance(Kernel::HLERequestContext& ctx); |
| 36 | 36 | ||
| 37 | ARPManager& manager; | 37 | ARPManager& manager; |
| 38 | std::shared_ptr<IRegistrar> registrar; | 38 | std::shared_ptr<IRegistrar> registrar; |
diff --git a/src/core/hle/service/ldr/ldr.cpp b/src/core/hle/service/ldr/ldr.cpp index d111c1357..c8bc60ad1 100644 --- a/src/core/hle/service/ldr/ldr.cpp +++ b/src/core/hle/service/ldr/ldr.cpp | |||
| @@ -118,9 +118,9 @@ public: | |||
| 118 | explicit DebugMonitor(Core::System& system_) : ServiceFramework{system_, "ldr:dmnt"} { | 118 | explicit DebugMonitor(Core::System& system_) : ServiceFramework{system_, "ldr:dmnt"} { |
| 119 | // clang-format off | 119 | // clang-format off |
| 120 | static const FunctionInfo functions[] = { | 120 | static const FunctionInfo functions[] = { |
| 121 | {0, nullptr, "AddProcessToDebugLaunchQueue"}, | 121 | {0, nullptr, "SetProgramArgument"}, |
| 122 | {1, nullptr, "ClearDebugLaunchQueue"}, | 122 | {1, nullptr, "FlushArguments"}, |
| 123 | {2, nullptr, "GetNsoInfos"}, | 123 | {2, nullptr, "GetProcessModuleInfo"}, |
| 124 | }; | 124 | }; |
| 125 | // clang-format on | 125 | // clang-format on |
| 126 | 126 | ||
| @@ -135,8 +135,8 @@ public: | |||
| 135 | static const FunctionInfo functions[] = { | 135 | static const FunctionInfo functions[] = { |
| 136 | {0, nullptr, "CreateProcess"}, | 136 | {0, nullptr, "CreateProcess"}, |
| 137 | {1, nullptr, "GetProgramInfo"}, | 137 | {1, nullptr, "GetProgramInfo"}, |
| 138 | {2, nullptr, "RegisterTitle"}, | 138 | {2, nullptr, "PinProgram"}, |
| 139 | {3, nullptr, "UnregisterTitle"}, | 139 | {3, nullptr, "UnpinProgram"}, |
| 140 | {4, nullptr, "SetEnabledProgramVerification"}, | 140 | {4, nullptr, "SetEnabledProgramVerification"}, |
| 141 | }; | 141 | }; |
| 142 | // clang-format on | 142 | // clang-format on |
| @@ -150,8 +150,8 @@ public: | |||
| 150 | explicit Shell(Core::System& system_) : ServiceFramework{system_, "ldr:shel"} { | 150 | explicit Shell(Core::System& system_) : ServiceFramework{system_, "ldr:shel"} { |
| 151 | // clang-format off | 151 | // clang-format off |
| 152 | static const FunctionInfo functions[] = { | 152 | static const FunctionInfo functions[] = { |
| 153 | {0, nullptr, "AddProcessToLaunchQueue"}, | 153 | {0, nullptr, "SetProgramArgument"}, |
| 154 | {1, nullptr, "ClearLaunchQueue"}, | 154 | {1, nullptr, "FlushArguments"}, |
| 155 | }; | 155 | }; |
| 156 | // clang-format on | 156 | // clang-format on |
| 157 | 157 | ||
| @@ -164,19 +164,19 @@ public: | |||
| 164 | explicit RelocatableObject(Core::System& system_) : ServiceFramework{system_, "ldr:ro"} { | 164 | explicit RelocatableObject(Core::System& system_) : ServiceFramework{system_, "ldr:ro"} { |
| 165 | // clang-format off | 165 | // clang-format off |
| 166 | static const FunctionInfo functions[] = { | 166 | static const FunctionInfo functions[] = { |
| 167 | {0, &RelocatableObject::LoadNro, "LoadNro"}, | 167 | {0, &RelocatableObject::LoadModule, "LoadModule"}, |
| 168 | {1, &RelocatableObject::UnloadNro, "UnloadNro"}, | 168 | {1, &RelocatableObject::UnloadModule, "UnloadModule"}, |
| 169 | {2, &RelocatableObject::LoadNrr, "LoadNrr"}, | 169 | {2, &RelocatableObject::RegisterModuleInfo, "RegisterModuleInfo"}, |
| 170 | {3, &RelocatableObject::UnloadNrr, "UnloadNrr"}, | 170 | {3, &RelocatableObject::UnregisterModuleInfo, "UnregisterModuleInfo"}, |
| 171 | {4, &RelocatableObject::Initialize, "Initialize"}, | 171 | {4, &RelocatableObject::Initialize, "Initialize"}, |
| 172 | {10, nullptr, "LoadNrrEx"}, | 172 | {10, nullptr, "RegisterModuleInfo2"}, |
| 173 | }; | 173 | }; |
| 174 | // clang-format on | 174 | // clang-format on |
| 175 | 175 | ||
| 176 | RegisterHandlers(functions); | 176 | RegisterHandlers(functions); |
| 177 | } | 177 | } |
| 178 | 178 | ||
| 179 | void LoadNrr(Kernel::HLERequestContext& ctx) { | 179 | void RegisterModuleInfo(Kernel::HLERequestContext& ctx) { |
| 180 | struct Parameters { | 180 | struct Parameters { |
| 181 | u64_le process_id; | 181 | u64_le process_id; |
| 182 | u64_le nrr_address; | 182 | u64_le nrr_address; |
| @@ -273,7 +273,7 @@ public: | |||
| 273 | rb.Push(RESULT_SUCCESS); | 273 | rb.Push(RESULT_SUCCESS); |
| 274 | } | 274 | } |
| 275 | 275 | ||
| 276 | void UnloadNrr(Kernel::HLERequestContext& ctx) { | 276 | void UnregisterModuleInfo(Kernel::HLERequestContext& ctx) { |
| 277 | IPC::RequestParser rp{ctx}; | 277 | IPC::RequestParser rp{ctx}; |
| 278 | const auto pid = rp.Pop<u64>(); | 278 | const auto pid = rp.Pop<u64>(); |
| 279 | const auto nrr_address = rp.Pop<VAddr>(); | 279 | const auto nrr_address = rp.Pop<VAddr>(); |
| @@ -408,7 +408,7 @@ public: | |||
| 408 | data_start, bss_end_addr - data_start, Kernel::KMemoryPermission::ReadAndWrite); | 408 | data_start, bss_end_addr - data_start, Kernel::KMemoryPermission::ReadAndWrite); |
| 409 | } | 409 | } |
| 410 | 410 | ||
| 411 | void LoadNro(Kernel::HLERequestContext& ctx) { | 411 | void LoadModule(Kernel::HLERequestContext& ctx) { |
| 412 | struct Parameters { | 412 | struct Parameters { |
| 413 | u64_le process_id; | 413 | u64_le process_id; |
| 414 | u64_le image_address; | 414 | u64_le image_address; |
| @@ -546,7 +546,7 @@ public: | |||
| 546 | return RESULT_SUCCESS; | 546 | return RESULT_SUCCESS; |
| 547 | } | 547 | } |
| 548 | 548 | ||
| 549 | void UnloadNro(Kernel::HLERequestContext& ctx) { | 549 | void UnloadModule(Kernel::HLERequestContext& ctx) { |
| 550 | if (!initialized) { | 550 | if (!initialized) { |
| 551 | LOG_ERROR(Service_LDR, "LDR:RO not initialized before use!"); | 551 | LOG_ERROR(Service_LDR, "LDR:RO not initialized before use!"); |
| 552 | IPC::ResponseBuilder rb{ctx, 2}; | 552 | IPC::ResponseBuilder rb{ctx, 2}; |
diff --git a/src/core/hle/service/ns/pl_u.cpp b/src/core/hle/service/ns/pl_u.cpp index fcd15d81f..da139fdc4 100644 --- a/src/core/hle/service/ns/pl_u.cpp +++ b/src/core/hle/service/ns/pl_u.cpp | |||
| @@ -154,6 +154,10 @@ PL_U::PL_U(Core::System& system_) | |||
| 154 | {100, nullptr, "RequestApplicationFunctionAuthorization"}, | 154 | {100, nullptr, "RequestApplicationFunctionAuthorization"}, |
| 155 | {101, nullptr, "RequestApplicationFunctionAuthorizationByProcessId"}, | 155 | {101, nullptr, "RequestApplicationFunctionAuthorizationByProcessId"}, |
| 156 | {102, nullptr, "RequestApplicationFunctionAuthorizationByApplicationId"}, | 156 | {102, nullptr, "RequestApplicationFunctionAuthorizationByApplicationId"}, |
| 157 | {103, nullptr, "RefreshApplicationFunctionBlackListDebugRecord"}, | ||
| 158 | {104, nullptr, "RequestApplicationFunctionAuthorizationByProgramId"}, | ||
| 159 | {105, nullptr, "GetFunctionBlackListSystemVersionToAuthorize"}, | ||
| 160 | {106, nullptr, "GetFunctionBlackListVersion"}, | ||
| 157 | {1000, nullptr, "LoadNgWordDataForPlatformRegionChina"}, | 161 | {1000, nullptr, "LoadNgWordDataForPlatformRegionChina"}, |
| 158 | {1001, nullptr, "GetNgWordDataSizeForPlatformRegionChina"}, | 162 | {1001, nullptr, "GetNgWordDataSizeForPlatformRegionChina"}, |
| 159 | }; | 163 | }; |
diff --git a/src/core/hle/service/olsc/olsc.cpp b/src/core/hle/service/olsc/olsc.cpp index e2ac71fa1..b066c3417 100644 --- a/src/core/hle/service/olsc/olsc.cpp +++ b/src/core/hle/service/olsc/olsc.cpp | |||
| @@ -26,6 +26,7 @@ public: | |||
| 26 | {22, nullptr, "DeleteSaveDataBackupAsync"}, | 26 | {22, nullptr, "DeleteSaveDataBackupAsync"}, |
| 27 | {25, nullptr, "ListDownloadableSaveDataBackupInfoAsync"}, | 27 | {25, nullptr, "ListDownloadableSaveDataBackupInfoAsync"}, |
| 28 | {26, nullptr, "DownloadSaveDataBackupAsync"}, | 28 | {26, nullptr, "DownloadSaveDataBackupAsync"}, |
| 29 | {27, nullptr, "UploadSaveDataBackupAsync"}, | ||
| 29 | {9010, nullptr, "VerifySaveDataBackupLicenseAsyncForDebug"}, | 30 | {9010, nullptr, "VerifySaveDataBackupLicenseAsyncForDebug"}, |
| 30 | {9013, nullptr, "GetSaveDataBackupSettingForDebug"}, | 31 | {9013, nullptr, "GetSaveDataBackupSettingForDebug"}, |
| 31 | {9014, nullptr, "SetSaveDataBackupSettingEnabledForDebug"}, | 32 | {9014, nullptr, "SetSaveDataBackupSettingEnabledForDebug"}, |
diff --git a/src/core/hle/service/pcie/pcie.cpp b/src/core/hle/service/pcie/pcie.cpp index f6686fc4d..9bc851591 100644 --- a/src/core/hle/service/pcie/pcie.cpp +++ b/src/core/hle/service/pcie/pcie.cpp | |||
| @@ -37,7 +37,7 @@ public: | |||
| 37 | {19, nullptr, "SetIrqEnable"}, | 37 | {19, nullptr, "SetIrqEnable"}, |
| 38 | {20, nullptr, "SetAspmEnable"}, | 38 | {20, nullptr, "SetAspmEnable"}, |
| 39 | {21, nullptr, "SetResetUponResumeEnable"}, | 39 | {21, nullptr, "SetResetUponResumeEnable"}, |
| 40 | {22, nullptr, "Unknown22"}, | 40 | {22, nullptr, "ResetFunction"}, |
| 41 | {23, nullptr, "Unknown23"}, | 41 | {23, nullptr, "Unknown23"}, |
| 42 | }; | 42 | }; |
| 43 | // clang-format on | 43 | // clang-format on |
diff --git a/src/core/hle/service/pctl/module.cpp b/src/core/hle/service/pctl/module.cpp index f9089bf2f..e6cd4b3c7 100644 --- a/src/core/hle/service/pctl/module.cpp +++ b/src/core/hle/service/pctl/module.cpp | |||
| @@ -50,6 +50,7 @@ public: | |||
| 50 | {1046, nullptr, "DisableFeaturesForReset"}, | 50 | {1046, nullptr, "DisableFeaturesForReset"}, |
| 51 | {1047, nullptr, "NotifyApplicationDownloadStarted"}, | 51 | {1047, nullptr, "NotifyApplicationDownloadStarted"}, |
| 52 | {1048, nullptr, "NotifyNetworkProfileCreated"}, | 52 | {1048, nullptr, "NotifyNetworkProfileCreated"}, |
| 53 | {1049, nullptr, "ResetFreeCommunicationApplicationList"}, | ||
| 53 | {1061, &IParentalControlService::ConfirmStereoVisionRestrictionConfigurable, "ConfirmStereoVisionRestrictionConfigurable"}, | 54 | {1061, &IParentalControlService::ConfirmStereoVisionRestrictionConfigurable, "ConfirmStereoVisionRestrictionConfigurable"}, |
| 54 | {1062, &IParentalControlService::GetStereoVisionRestriction, "GetStereoVisionRestriction"}, | 55 | {1062, &IParentalControlService::GetStereoVisionRestriction, "GetStereoVisionRestriction"}, |
| 55 | {1063, &IParentalControlService::SetStereoVisionRestriction, "SetStereoVisionRestriction"}, | 56 | {1063, &IParentalControlService::SetStereoVisionRestriction, "SetStereoVisionRestriction"}, |
| @@ -69,6 +70,8 @@ public: | |||
| 69 | {1421, nullptr, "GetAccountNickname"}, | 70 | {1421, nullptr, "GetAccountNickname"}, |
| 70 | {1424, nullptr, "GetAccountState"}, | 71 | {1424, nullptr, "GetAccountState"}, |
| 71 | {1425, nullptr, "RequestPostEvents"}, | 72 | {1425, nullptr, "RequestPostEvents"}, |
| 73 | {1426, nullptr, "GetPostEventInterval"}, | ||
| 74 | {1427, nullptr, "SetPostEventInterval"}, | ||
| 72 | {1432, nullptr, "GetSynchronizationEvent"}, | 75 | {1432, nullptr, "GetSynchronizationEvent"}, |
| 73 | {1451, nullptr, "StartPlayTimer"}, | 76 | {1451, nullptr, "StartPlayTimer"}, |
| 74 | {1452, nullptr, "StopPlayTimer"}, | 77 | {1452, nullptr, "StopPlayTimer"}, |
diff --git a/src/core/hle/service/set/set_sys.cpp b/src/core/hle/service/set/set_sys.cpp index b58b2c8c5..5909fdd85 100644 --- a/src/core/hle/service/set/set_sys.cpp +++ b/src/core/hle/service/set/set_sys.cpp | |||
| @@ -261,6 +261,10 @@ SET_SYS::SET_SYS(Core::System& system_) : ServiceFramework{system_, "set:sys"} { | |||
| 261 | {155, nullptr, "SetAccountOnlineStorageSettings"}, | 261 | {155, nullptr, "SetAccountOnlineStorageSettings"}, |
| 262 | {156, nullptr, "GetPctlReadyFlag"}, | 262 | {156, nullptr, "GetPctlReadyFlag"}, |
| 263 | {157, nullptr, "SetPctlReadyFlag"}, | 263 | {157, nullptr, "SetPctlReadyFlag"}, |
| 264 | {158, nullptr, "GetAnalogStickUserCalibrationL"}, | ||
| 265 | {159, nullptr, "SetAnalogStickUserCalibrationL"}, | ||
| 266 | {160, nullptr, "GetAnalogStickUserCalibrationR"}, | ||
| 267 | {161, nullptr, "SetAnalogStickUserCalibrationR"}, | ||
| 264 | {162, nullptr, "GetPtmBatteryVersion"}, | 268 | {162, nullptr, "GetPtmBatteryVersion"}, |
| 265 | {163, nullptr, "SetPtmBatteryVersion"}, | 269 | {163, nullptr, "SetPtmBatteryVersion"}, |
| 266 | {164, nullptr, "GetUsb30HostEnableFlag"}, | 270 | {164, nullptr, "GetUsb30HostEnableFlag"}, |
| @@ -302,6 +306,8 @@ SET_SYS::SET_SYS(Core::System& system_) : ServiceFramework{system_, "set:sys"} { | |||
| 302 | {200, nullptr, "SetButtonConfigRegisteredSettings"}, | 306 | {200, nullptr, "SetButtonConfigRegisteredSettings"}, |
| 303 | {201, nullptr, "GetFieldTestingFlag"}, | 307 | {201, nullptr, "GetFieldTestingFlag"}, |
| 304 | {202, nullptr, "SetFieldTestingFlag"}, | 308 | {202, nullptr, "SetFieldTestingFlag"}, |
| 309 | {203, nullptr, "GetPanelCrcMode"}, | ||
| 310 | {204, nullptr, "SetPanelCrcMode"}, | ||
| 305 | }; | 311 | }; |
| 306 | // clang-format on | 312 | // clang-format on |
| 307 | 313 | ||
diff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cpp index 2b91a89d1..94608d529 100644 --- a/src/core/hle/service/sm/sm.cpp +++ b/src/core/hle/service/sm/sm.cpp | |||
| @@ -190,10 +190,11 @@ SM::SM(std::shared_ptr<ServiceManager> service_manager_, Core::System& system_) | |||
| 190 | : ServiceFramework{system_, "sm:", 4}, | 190 | : ServiceFramework{system_, "sm:", 4}, |
| 191 | service_manager{std::move(service_manager_)}, kernel{system_.Kernel()} { | 191 | service_manager{std::move(service_manager_)}, kernel{system_.Kernel()} { |
| 192 | static const FunctionInfo functions[] = { | 192 | static const FunctionInfo functions[] = { |
| 193 | {0x00000000, &SM::Initialize, "Initialize"}, | 193 | {0, &SM::Initialize, "Initialize"}, |
| 194 | {0x00000001, &SM::GetService, "GetService"}, | 194 | {1, &SM::GetService, "GetService"}, |
| 195 | {0x00000002, &SM::RegisterService, "RegisterService"}, | 195 | {2, &SM::RegisterService, "RegisterService"}, |
| 196 | {0x00000003, &SM::UnregisterService, "UnregisterService"}, | 196 | {3, &SM::UnregisterService, "UnregisterService"}, |
| 197 | {4, nullptr, "DetachClient"}, | ||
| 197 | }; | 198 | }; |
| 198 | RegisterHandlers(functions); | 199 | RegisterHandlers(functions); |
| 199 | } | 200 | } |
diff --git a/src/core/hle/service/sockets/ethc.cpp b/src/core/hle/service/sockets/ethc.cpp index 05681ca2d..899a64c2f 100644 --- a/src/core/hle/service/sockets/ethc.cpp +++ b/src/core/hle/service/sockets/ethc.cpp | |||
| @@ -15,6 +15,7 @@ ETHC_C::ETHC_C(Core::System& system_) : ServiceFramework{system_, "ethc:c"} { | |||
| 15 | {3, nullptr, "GetMediaList"}, | 15 | {3, nullptr, "GetMediaList"}, |
| 16 | {4, nullptr, "SetMediaType"}, | 16 | {4, nullptr, "SetMediaType"}, |
| 17 | {5, nullptr, "GetMediaType"}, | 17 | {5, nullptr, "GetMediaType"}, |
| 18 | {6, nullptr, "Unknown6"}, | ||
| 18 | }; | 19 | }; |
| 19 | // clang-format on | 20 | // clang-format on |
| 20 | 21 | ||
diff --git a/src/core/hle/service/sockets/nsd.cpp b/src/core/hle/service/sockets/nsd.cpp index 51c3739bb..1159debc5 100644 --- a/src/core/hle/service/sockets/nsd.cpp +++ b/src/core/hle/service/sockets/nsd.cpp | |||
| @@ -9,6 +9,7 @@ namespace Service::Sockets { | |||
| 9 | NSD::NSD(Core::System& system_, const char* name) : ServiceFramework{system_, name} { | 9 | NSD::NSD(Core::System& system_, const char* name) : ServiceFramework{system_, name} { |
| 10 | // clang-format off | 10 | // clang-format off |
| 11 | static const FunctionInfo functions[] = { | 11 | static const FunctionInfo functions[] = { |
| 12 | {5, nullptr, "GetSettingUrl"}, | ||
| 12 | {10, nullptr, "GetSettingName"}, | 13 | {10, nullptr, "GetSettingName"}, |
| 13 | {11, nullptr, "GetEnvironmentIdentifier"}, | 14 | {11, nullptr, "GetEnvironmentIdentifier"}, |
| 14 | {12, nullptr, "GetDeviceId"}, | 15 | {12, nullptr, "GetDeviceId"}, |
diff --git a/src/core/hle/service/sockets/sfdnsres.cpp b/src/core/hle/service/sockets/sfdnsres.cpp index 3a6329f56..5c71f423c 100644 --- a/src/core/hle/service/sockets/sfdnsres.cpp +++ b/src/core/hle/service/sockets/sfdnsres.cpp | |||
| @@ -9,8 +9,8 @@ namespace Service::Sockets { | |||
| 9 | 9 | ||
| 10 | SFDNSRES::SFDNSRES(Core::System& system_) : ServiceFramework{system_, "sfdnsres"} { | 10 | SFDNSRES::SFDNSRES(Core::System& system_) : ServiceFramework{system_, "sfdnsres"} { |
| 11 | static const FunctionInfo functions[] = { | 11 | static const FunctionInfo functions[] = { |
| 12 | {0, nullptr, "SetDnsAddressesPrivate"}, | 12 | {0, nullptr, "SetDnsAddressesPrivateRequest"}, |
| 13 | {1, nullptr, "GetDnsAddressPrivate"}, | 13 | {1, nullptr, "GetDnsAddressPrivateRequest"}, |
| 14 | {2, nullptr, "GetHostByNameRequest"}, | 14 | {2, nullptr, "GetHostByNameRequest"}, |
| 15 | {3, nullptr, "GetHostByAddrRequest"}, | 15 | {3, nullptr, "GetHostByAddrRequest"}, |
| 16 | {4, nullptr, "GetHostStringErrorRequest"}, | 16 | {4, nullptr, "GetHostStringErrorRequest"}, |
diff --git a/src/core/hle/service/spl/spl.cpp b/src/core/hle/service/spl/spl.cpp index 4e212610f..fff3f3c42 100644 --- a/src/core/hle/service/spl/spl.cpp +++ b/src/core/hle/service/spl/spl.cpp | |||
| @@ -60,6 +60,8 @@ SPL_FS::SPL_FS(Core::System& system_, std::shared_ptr<Module> module_) | |||
| 60 | {4, nullptr, "GenerateAesKey"}, | 60 | {4, nullptr, "GenerateAesKey"}, |
| 61 | {5, nullptr, "SetConfig"}, | 61 | {5, nullptr, "SetConfig"}, |
| 62 | {7, &SPL::GetRandomBytes, "GenerateRandomBytes"}, | 62 | {7, &SPL::GetRandomBytes, "GenerateRandomBytes"}, |
| 63 | {9, nullptr, "ImportLotusKey"}, | ||
| 64 | {10, nullptr, "DecryptLotusMessage"}, | ||
| 63 | {11, nullptr, "IsDevelopment"}, | 65 | {11, nullptr, "IsDevelopment"}, |
| 64 | {12, nullptr, "GenerateSpecificAesKey"}, | 66 | {12, nullptr, "GenerateSpecificAesKey"}, |
| 65 | {14, nullptr, "DecryptAesKey"}, | 67 | {14, nullptr, "DecryptAesKey"}, |
| @@ -123,6 +125,7 @@ SPL_ES::SPL_ES(Core::System& system_, std::shared_ptr<Module> module_) | |||
| 123 | {14, nullptr, "DecryptAesKey"}, | 125 | {14, nullptr, "DecryptAesKey"}, |
| 124 | {15, nullptr, "CryptAesCtr"}, | 126 | {15, nullptr, "CryptAesCtr"}, |
| 125 | {16, nullptr, "ComputeCmac"}, | 127 | {16, nullptr, "ComputeCmac"}, |
| 128 | {17, nullptr, "ImportEsKey"}, | ||
| 126 | {18, nullptr, "UnwrapTitleKey"}, | 129 | {18, nullptr, "UnwrapTitleKey"}, |
| 127 | {20, nullptr, "PrepareEsCommonKey"}, | 130 | {20, nullptr, "PrepareEsCommonKey"}, |
| 128 | {21, nullptr, "AllocateAesKeyslot"}, | 131 | {21, nullptr, "AllocateAesKeyslot"}, |
diff --git a/src/core/hle/service/time/time_zone_service.cpp b/src/core/hle/service/time/time_zone_service.cpp index 25cecbc83..3117627cf 100644 --- a/src/core/hle/service/time/time_zone_service.cpp +++ b/src/core/hle/service/time/time_zone_service.cpp | |||
| @@ -20,6 +20,7 @@ ITimeZoneService ::ITimeZoneService(Core::System& system_, | |||
| 20 | {3, nullptr, "LoadLocationNameList"}, | 20 | {3, nullptr, "LoadLocationNameList"}, |
| 21 | {4, &ITimeZoneService::LoadTimeZoneRule, "LoadTimeZoneRule"}, | 21 | {4, &ITimeZoneService::LoadTimeZoneRule, "LoadTimeZoneRule"}, |
| 22 | {5, nullptr, "GetTimeZoneRuleVersion"}, | 22 | {5, nullptr, "GetTimeZoneRuleVersion"}, |
| 23 | {6, nullptr, "GetDeviceLocationNameAndUpdatedTime"}, | ||
| 23 | {100, &ITimeZoneService::ToCalendarTime, "ToCalendarTime"}, | 24 | {100, &ITimeZoneService::ToCalendarTime, "ToCalendarTime"}, |
| 24 | {101, &ITimeZoneService::ToCalendarTimeWithMyRule, "ToCalendarTimeWithMyRule"}, | 25 | {101, &ITimeZoneService::ToCalendarTimeWithMyRule, "ToCalendarTimeWithMyRule"}, |
| 25 | {201, &ITimeZoneService::ToPosixTime, "ToPosixTime"}, | 26 | {201, &ITimeZoneService::ToPosixTime, "ToPosixTime"}, |
diff --git a/src/core/hle/service/usb/usb.cpp b/src/core/hle/service/usb/usb.cpp index 579de83e4..b3b230a8c 100644 --- a/src/core/hle/service/usb/usb.cpp +++ b/src/core/hle/service/usb/usb.cpp | |||
| @@ -69,15 +69,15 @@ public: | |||
| 69 | : ServiceFramework{system_, "IClientEpSession"} { | 69 | : ServiceFramework{system_, "IClientEpSession"} { |
| 70 | // clang-format off | 70 | // clang-format off |
| 71 | static const FunctionInfo functions[] = { | 71 | static const FunctionInfo functions[] = { |
| 72 | {0, nullptr, "Open"}, | 72 | {0, nullptr, "ReOpen"}, |
| 73 | {1, nullptr, "Close"}, | 73 | {1, nullptr, "Close"}, |
| 74 | {2, nullptr, "Unknown2"}, | 74 | {2, nullptr, "GetCompletionEvent"}, |
| 75 | {3, nullptr, "Populate"}, | 75 | {3, nullptr, "PopulateRing"}, |
| 76 | {4, nullptr, "PostBufferAsync"}, | 76 | {4, nullptr, "PostBufferAsync"}, |
| 77 | {5, nullptr, "GetXferReport"}, | 77 | {5, nullptr, "GetXferReport"}, |
| 78 | {6, nullptr, "PostBufferMultiAsync"}, | 78 | {6, nullptr, "PostBufferMultiAsync"}, |
| 79 | {7, nullptr, "Unknown7"}, | 79 | {7, nullptr, "CreateSmmuSpace"}, |
| 80 | {8, nullptr, "Unknown8"}, | 80 | {8, nullptr, "ShareReportRing"}, |
| 81 | }; | 81 | }; |
| 82 | // clang-format on | 82 | // clang-format on |
| 83 | 83 | ||
| @@ -91,7 +91,7 @@ public: | |||
| 91 | : ServiceFramework{system_, "IClientIfSession"} { | 91 | : ServiceFramework{system_, "IClientIfSession"} { |
| 92 | // clang-format off | 92 | // clang-format off |
| 93 | static const FunctionInfo functions[] = { | 93 | static const FunctionInfo functions[] = { |
| 94 | {0, nullptr, "Unknown0"}, | 94 | {0, nullptr, "GetStateChangeEvent"}, |
| 95 | {1, nullptr, "SetInterface"}, | 95 | {1, nullptr, "SetInterface"}, |
| 96 | {2, nullptr, "GetInterface"}, | 96 | {2, nullptr, "GetInterface"}, |
| 97 | {3, nullptr, "GetAlternateInterface"}, | 97 | {3, nullptr, "GetAlternateInterface"}, |
| @@ -176,15 +176,15 @@ public: | |||
| 176 | : ServiceFramework{system_, "IPdCradleSession"} { | 176 | : ServiceFramework{system_, "IPdCradleSession"} { |
| 177 | // clang-format off | 177 | // clang-format off |
| 178 | static const FunctionInfo functions[] = { | 178 | static const FunctionInfo functions[] = { |
| 179 | {0, nullptr, "VdmUserWrite"}, | 179 | {0, nullptr, "SetCradleVdo"}, |
| 180 | {1, nullptr, "VdmUserRead"}, | 180 | {1, nullptr, "GetCradleVdo"}, |
| 181 | {2, nullptr, "Vdm20Init"}, | 181 | {2, nullptr, "ResetCradleUsbHub"}, |
| 182 | {3, nullptr, "GetFwType"}, | 182 | {3, nullptr, "GetHostPdcFirmwareType"}, |
| 183 | {4, nullptr, "GetFwRevision"}, | 183 | {4, nullptr, "GetHostPdcFirmwareRevision"}, |
| 184 | {5, nullptr, "GetManufacturerId"}, | 184 | {5, nullptr, "GetHostPdcManufactureId"}, |
| 185 | {6, nullptr, "GetDeviceId"}, | 185 | {6, nullptr, "GetHostPdcDeviceId"}, |
| 186 | {7, nullptr, "Unknown7"}, | 186 | {7, nullptr, "AwakeCradle"}, |
| 187 | {8, nullptr, "Unknown8"}, | 187 | {8, nullptr, "SleepCradle"}, |
| 188 | }; | 188 | }; |
| 189 | // clang-format on | 189 | // clang-format on |
| 190 | 190 | ||
| @@ -219,12 +219,12 @@ public: | |||
| 219 | explicit USB_PM(Core::System& system_) : ServiceFramework{system_, "usb:pm"} { | 219 | explicit USB_PM(Core::System& system_) : ServiceFramework{system_, "usb:pm"} { |
| 220 | // clang-format off | 220 | // clang-format off |
| 221 | static const FunctionInfo functions[] = { | 221 | static const FunctionInfo functions[] = { |
| 222 | {0, nullptr, "Unknown0"}, | 222 | {0, nullptr, "GetPowerEvent"}, |
| 223 | {1, nullptr, "Unknown1"}, | 223 | {1, nullptr, "GetPowerState"}, |
| 224 | {2, nullptr, "Unknown2"}, | 224 | {2, nullptr, "GetDataEvent"}, |
| 225 | {3, nullptr, "Unknown3"}, | 225 | {3, nullptr, "GetDataRole"}, |
| 226 | {4, nullptr, "Unknown4"}, | 226 | {4, nullptr, "SetDiagData"}, |
| 227 | {5, nullptr, "Unknown5"}, | 227 | {5, nullptr, "GetDiagData"}, |
| 228 | }; | 228 | }; |
| 229 | // clang-format on | 229 | // clang-format on |
| 230 | 230 | ||
diff --git a/src/core/hle/service/wlan/wlan.cpp b/src/core/hle/service/wlan/wlan.cpp index ddbf04069..44957e01d 100644 --- a/src/core/hle/service/wlan/wlan.cpp +++ b/src/core/hle/service/wlan/wlan.cpp | |||
| @@ -46,6 +46,13 @@ public: | |||
| 46 | {28, nullptr, "Unknown28"}, | 46 | {28, nullptr, "Unknown28"}, |
| 47 | {29, nullptr, "Unknown29"}, | 47 | {29, nullptr, "Unknown29"}, |
| 48 | {30, nullptr, "Unknown30"}, | 48 | {30, nullptr, "Unknown30"}, |
| 49 | {31, nullptr, "Unknown31"}, | ||
| 50 | {32, nullptr, "Unknown32"}, | ||
| 51 | {33, nullptr, "Unknown33"}, | ||
| 52 | {34, nullptr, "Unknown34"}, | ||
| 53 | {35, nullptr, "Unknown35"}, | ||
| 54 | {36, nullptr, "Unknown36"}, | ||
| 55 | {37, nullptr, "Unknown37"}, | ||
| 49 | }; | 56 | }; |
| 50 | // clang-format on | 57 | // clang-format on |
| 51 | 58 | ||