From a271cf89cf74df2783261bbe9c067366f78daf50 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 21 Jan 2022 15:33:18 -0500 Subject: service/acc: Update unknown function names Switchbrew has the function names now. --- src/core/hle/service/acc/acc_su.cpp | 4 ++-- src/core/hle/service/acc/acc_u1.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core') diff --git a/src/core/hle/service/acc/acc_su.cpp b/src/core/hle/service/acc/acc_su.cpp index 94a1b8814..f4034d591 100644 --- a/src/core/hle/service/acc/acc_su.cpp +++ b/src/core/hle/service/acc/acc_su.cpp @@ -37,8 +37,8 @@ ACC_SU::ACC_SU(std::shared_ptr module_, std::shared_ptr {130, nullptr, "ActivateOpenContextRetention"}, {140, &ACC_SU::ListQualifiedUsers, "ListQualifiedUsers"}, {150, nullptr, "AuthenticateApplicationAsync"}, - {151, nullptr, "Unknown151"}, - {152, nullptr, "Unknown152"}, + {151, nullptr, "EnsureSignedDeviceIdentifierCacheForNintendoAccountAsync"}, + {152, nullptr, "LoadSignedDeviceIdentifierCacheForNintendoAccount"}, {190, nullptr, "GetUserLastOpenedApplication"}, {191, nullptr, "ActivateOpenContextHolder"}, {200, nullptr, "BeginUserRegistration"}, diff --git a/src/core/hle/service/acc/acc_u1.cpp b/src/core/hle/service/acc/acc_u1.cpp index 6ce7fe8e6..991921984 100644 --- a/src/core/hle/service/acc/acc_u1.cpp +++ b/src/core/hle/service/acc/acc_u1.cpp @@ -37,8 +37,8 @@ ACC_U1::ACC_U1(std::shared_ptr module_, std::shared_ptr {130, nullptr, "ActivateOpenContextRetention"}, {140, &ACC_U1::ListQualifiedUsers, "ListQualifiedUsers"}, {150, nullptr, "AuthenticateApplicationAsync"}, - {151, nullptr, "Unknown151"}, - {152, nullptr, "Unknown152"}, + {151, nullptr, "EnsureSignedDeviceIdentifierCacheForNintendoAccountAsync"}, + {152, nullptr, "LoadSignedDeviceIdentifierCacheForNintendoAccount"}, {190, nullptr, "GetUserLastOpenedApplication"}, {191, nullptr, "ActivateOpenContextHolder"}, {997, nullptr, "DebugInvalidateTokenCacheForUser"}, -- cgit v1.2.3 From 29e3636e0a877e13527d54903991568137761d88 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 21 Jan 2022 15:40:08 -0500 Subject: service/am: Update omm function tables --- src/core/hle/service/am/omm.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core') diff --git a/src/core/hle/service/am/omm.cpp b/src/core/hle/service/am/omm.cpp index 55de67e1d..6da9b9f58 100644 --- a/src/core/hle/service/am/omm.cpp +++ b/src/core/hle/service/am/omm.cpp @@ -37,6 +37,7 @@ OMM::OMM(Core::System& system_) : ServiceFramework{system_, "omm"} { {25, nullptr, "SetApplicationCecSettingsAndNotifyChanged"}, {26, nullptr, "GetOperationModeSystemInfo"}, {27, nullptr, "GetAppletFullAwakingSystemEvent"}, + {28, nullptr, "CreateCradleFirmwareUpdater"}, }; // clang-format on -- cgit v1.2.3 From 0f7337c5220b26ba54c586be23094255566b7c30 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 21 Jan 2022 15:50:38 -0500 Subject: service/audio: Update audctl unknown function names --- src/core/hle/service/audio/audctl.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/core') diff --git a/src/core/hle/service/audio/audctl.cpp b/src/core/hle/service/audio/audctl.cpp index 2e46e7161..260fd0e0e 100644 --- a/src/core/hle/service/audio/audctl.cpp +++ b/src/core/hle/service/audio/audctl.cpp @@ -41,14 +41,14 @@ AudCtl::AudCtl(Core::System& system_) : ServiceFramework{system_, "audctl"} { {27, nullptr, "SetVolumeMappingTableForDev"}, {28, nullptr, "GetAudioOutputChannelCountForPlayReport"}, {29, nullptr, "BindAudioOutputChannelCountUpdateEventForPlayReport"}, - {30, nullptr, "Unknown30"}, - {31, nullptr, "Unknown31"}, - {32, nullptr, "Unknown32"}, - {33, nullptr, "Unknown33"}, - {34, nullptr, "Unknown34"}, - {10000, nullptr, "Unknown10000"}, - {10001, nullptr, "Unknown10001"}, - {10002, nullptr, "Unknown10002"}, + {30, nullptr, "SetSpeakerAutoMuteEnabled"}, + {31, nullptr, "IsSpeakerAutoMuteEnabled"}, + {32, nullptr, "GetActiveOutputTarget"}, + {33, nullptr, "GetTargetDeviceInfo"}, + {34, nullptr, "AcquireTargetNotification"}, + {10000, nullptr, "NotifyAudioOutputTargetForPlayReport"}, + {10001, nullptr, "NotifyAudioOutputChannelCountForPlayReport"}, + {10002, nullptr, "NotifyUnsupportedUsbOutputDeviceAttachedForPlayReport"}, }; // clang-format on -- cgit v1.2.3 From 3da43ad2a920dafb749cb1d21540413c1bae8bda Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 21 Jan 2022 15:59:41 -0500 Subject: service/btm: Update function tables --- src/core/hle/service/btm/btm.cpp | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'src/core') diff --git a/src/core/hle/service/btm/btm.cpp b/src/core/hle/service/btm/btm.cpp index d337fd317..cc268d877 100644 --- a/src/core/hle/service/btm/btm.cpp +++ b/src/core/hle/service/btm/btm.cpp @@ -201,6 +201,22 @@ public: {62, nullptr, "Unknown62"}, {63, nullptr, "Unknown63"}, {64, nullptr, "Unknown64"}, + {65, nullptr, "Unknown65"}, + {66, nullptr, "Unknown66"}, + {67, nullptr, "Unknown67"}, + {68, nullptr, "Unknown68"}, + {69, nullptr, "Unknown69"}, + {70, nullptr, "Unknown70"}, + {71, nullptr, "Unknown71"}, + {72, nullptr, "Unknown72"}, + {73, nullptr, "Unknown73"}, + {74, nullptr, "Unknown74"}, + {75, nullptr, "Unknown75"}, + {76, nullptr, "Unknown76"}, + {100, nullptr, "Unknown100"}, + {101, nullptr, "Unknown101"}, + {110, nullptr, "Unknown102"}, + {111, nullptr, "Unknown103"}, }; // clang-format on @@ -249,6 +265,20 @@ public: {7, nullptr, "AcquireRadioEvent"}, {8, nullptr, "AcquireGamepadPairingEvent"}, {9, nullptr, "IsGamepadPairingStarted"}, + {10, nullptr, "StartAudioDeviceDiscovery"}, + {11, nullptr, "StopAudioDeviceDiscovery"}, + {12, nullptr, "IsDiscoveryingAudioDevice"}, + {13, nullptr, "GetDiscoveredAudioDevice"}, + {14, nullptr, "AcquireAudioDeviceConnectionEvent"}, + {15, nullptr, "ConnectAudioDevice"}, + {16, nullptr, "IsConnectingAudioDevice"}, + {17, nullptr, "GetConnectedAudioDevices"}, + {18, nullptr, "DisconnectAudioDevice"}, + {19, nullptr, "AcquirePairedAudioDeviceInfoChangedEvent"}, + {20, nullptr, "GetPairedAudioDevices"}, + {21, nullptr, "RemoveAudioDevicePairing"}, + {22, nullptr, "RequestAudioDeviceConnectionRejection"}, + {23, nullptr, "CancelAudioDeviceConnectionRejection"} }; // clang-format on -- cgit v1.2.3 From 54150f5afad63d0400628dfd7e2f9d59b4eafec3 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 21 Jan 2022 16:07:01 -0500 Subject: service/filsystem: Update fsp-srv function table --- src/core/hle/service/filesystem/fsp_srv.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/core') diff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cpp index 3501bc1a4..b087e7bba 100644 --- a/src/core/hle/service/filesystem/fsp_srv.cpp +++ b/src/core/hle/service/filesystem/fsp_srv.cpp @@ -744,6 +744,7 @@ FSP_SRV::FSP_SRV(Core::System& system_) {203, &FSP_SRV::OpenPatchDataStorageByCurrentProcess, "OpenPatchDataStorageByCurrentProcess"}, {204, nullptr, "OpenDataFileSystemByProgramIndex"}, {205, &FSP_SRV::OpenDataStorageWithProgramIndex, "OpenDataStorageWithProgramIndex"}, + {206, nullptr, "OpenDataStorageByPath"}, {400, nullptr, "OpenDeviceOperator"}, {500, nullptr, "OpenSdCardDetectionEventNotifier"}, {501, nullptr, "OpenGameCardDetectionEventNotifier"}, @@ -796,6 +797,8 @@ FSP_SRV::FSP_SRV(Core::System& system_) {1014, nullptr, "OutputMultiProgramTagAccessLog"}, {1016, nullptr, "FlushAccessLogOnSdCard"}, {1017, nullptr, "OutputApplicationInfoAccessLog"}, + {1018, nullptr, "SetDebugOption"}, + {1019, nullptr, "UnsetDebugOption"}, {1100, nullptr, "OverrideSaveDataTransferTokenSignVerificationKey"}, {1110, nullptr, "CorruptSaveDataFileSystemBySaveDataSpaceId2"}, {1200, &FSP_SRV::OpenMultiCommitManager, "OpenMultiCommitManager"}, -- cgit v1.2.3 From 888bc10c173e02e7315cb8fa8e673a7d8755fd78 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 21 Jan 2022 16:08:46 -0500 Subject: service/friend: Update unknown function table entries --- src/core/hle/service/friend/friend.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/core') diff --git a/src/core/hle/service/friend/friend.cpp b/src/core/hle/service/friend/friend.cpp index 3c36f4085..9f9cea1e0 100644 --- a/src/core/hle/service/friend/friend.cpp +++ b/src/core/hle/service/friend/friend.cpp @@ -27,13 +27,13 @@ public: {10101, &IFriendService::GetFriendList, "GetFriendList"}, {10102, nullptr, "UpdateFriendInfo"}, {10110, nullptr, "GetFriendProfileImage"}, - {10120, nullptr, "Unknown10120"}, - {10121, nullptr, "Unknown10121"}, + {10120, nullptr, "IsFriendListCacheAvailable"}, + {10121, nullptr, "EnsureFriendListAvailable"}, {10200, nullptr, "SendFriendRequestForApplication"}, {10211, nullptr, "AddFacedFriendRequestForApplication"}, {10400, &IFriendService::GetBlockedUserListIds, "GetBlockedUserListIds"}, - {10420, nullptr, "Unknown10420"}, - {10421, nullptr, "Unknown10421"}, + {10420, nullptr, "IsBlockedUserListCacheAvailable"}, + {10421, nullptr, "EnsureBlockedUserListAvailable"}, {10500, nullptr, "GetProfileList"}, {10600, nullptr, "DeclareOpenOnlinePlaySession"}, {10601, &IFriendService::DeclareCloseOnlinePlaySession, "DeclareCloseOnlinePlaySession"}, @@ -103,8 +103,8 @@ public: {30900, nullptr, "SendFriendInvitation"}, {30910, nullptr, "ReadFriendInvitation"}, {30911, nullptr, "ReadAllFriendInvitations"}, - {40100, nullptr, "Unknown40100"}, - {40400, nullptr, "Unknown40400"}, + {40100, nullptr, "DeleteFriendListCache"}, + {40400, nullptr, "DeleteBlockedUserListCache"}, {49900, nullptr, "DeleteNetworkServiceAccountCache"}, }; // clang-format on -- cgit v1.2.3 From 19c11e2fd2e8d4be2c29a838b100b82d160c3d18 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 21 Jan 2022 16:17:40 -0500 Subject: service/nim: Update unknown function table entries --- src/core/hle/service/nim/nim.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/core') diff --git a/src/core/hle/service/nim/nim.cpp b/src/core/hle/service/nim/nim.cpp index 196f274e1..4fc23a958 100644 --- a/src/core/hle/service/nim/nim.cpp +++ b/src/core/hle/service/nim/nim.cpp @@ -211,6 +211,11 @@ public: {127, nullptr, "Unknown127"}, {128, nullptr, "Unknown128"}, {129, nullptr, "Unknown129"}, + {130, nullptr, "Unknown130"}, + {131, nullptr, "Unknown131"}, + {132, nullptr, "Unknown132"}, + {133, nullptr, "Unknown133"}, + {134, nullptr, "Unknown134"}, }; // clang-format on @@ -287,6 +292,7 @@ public: {502, nullptr, "RequestDownloadTicketForPrepurchasedContents"}, {503, nullptr, "RequestSyncTicket"}, {504, nullptr, "RequestDownloadTicketForPrepurchasedContents2"}, + {505, nullptr, "RequestDownloadTicketForPrepurchasedContentsForAccount"}, }; // clang-format on -- cgit v1.2.3 From 7ba6f68a8db067d299ca7be0f7cb658e94819502 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 21 Jan 2022 16:21:35 -0500 Subject: service/ns: Update function tables --- src/core/hle/service/ns/ns.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/core') diff --git a/src/core/hle/service/ns/ns.cpp b/src/core/hle/service/ns/ns.cpp index 382ddcae5..5eaad0474 100644 --- a/src/core/hle/service/ns/ns.cpp +++ b/src/core/hle/service/ns/ns.cpp @@ -158,6 +158,7 @@ IApplicationManagerInterface::IApplicationManagerInterface(Core::System& system_ {605, nullptr, "ListApplicationContentMetaStatusWithRightsCheck"}, {606, nullptr, "GetContentMetaStorage"}, {607, nullptr, "ListAvailableAddOnContent"}, + {609, nullptr, "ListAvailabilityAssuredAddOnContent"}, {700, nullptr, "PushDownloadTaskList"}, {701, nullptr, "ClearTaskStatusList"}, {702, nullptr, "RequestDownloadTaskList"}, @@ -289,6 +290,11 @@ IApplicationManagerInterface::IApplicationManagerInterface(Core::System& system_ {2514, nullptr, "ClearTaskOfAsyncTaskManager"}, {2515, nullptr, "CleanupAllPlaceHolderAndFragmentsIfNoTask"}, {2516, nullptr, "EnsureApplicationCertificate"}, + {2517, nullptr, "CreateApplicationInstance"}, + {2518, nullptr, "UpdateQualificationForDebug"}, + {2519, nullptr, "IsQualificationTransitionSupported"}, + {2520, nullptr, "IsQualificationTransitionSupportedByProcessId"}, + {2521, nullptr, "GetRightsUserChangedEvent"}, {2800, nullptr, "GetApplicationIdOfPreomia"}, {3000, nullptr, "RegisterDeviceLockKey"}, {3001, nullptr, "UnregisterDeviceLockKey"}, -- cgit v1.2.3 From 43039d95ac05fc16c76e62a8d64ee3719ad9acd7 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 21 Jan 2022 16:26:12 -0500 Subject: service/set: Update function tables --- src/core/hle/service/set/set_sys.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core') diff --git a/src/core/hle/service/set/set_sys.cpp b/src/core/hle/service/set/set_sys.cpp index 286578b17..38e6eae04 100644 --- a/src/core/hle/service/set/set_sys.cpp +++ b/src/core/hle/service/set/set_sys.cpp @@ -307,6 +307,8 @@ SET_SYS::SET_SYS(Core::System& system_) : ServiceFramework{system_, "set:sys"} { {202, nullptr, "SetFieldTestingFlag"}, {203, nullptr, "GetPanelCrcMode"}, {204, nullptr, "SetPanelCrcMode"}, + {205, nullptr, "GetNxControllerSettingsEx"}, + {206, nullptr, "SetNxControllerSettingsEx"}, }; // clang-format on -- cgit v1.2.3 From 8dd6dc9a29b876c0e8039941120914d3cde8207f Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 21 Jan 2022 16:31:57 -0500 Subject: service/usb: Update function tables --- src/core/hle/service/usb/usb.cpp | 42 ++++++++++++++-------------------------- 1 file changed, 15 insertions(+), 27 deletions(-) (limited to 'src/core') diff --git a/src/core/hle/service/usb/usb.cpp b/src/core/hle/service/usb/usb.cpp index 502dfbb4a..0747c33cd 100644 --- a/src/core/hle/service/usb/usb.cpp +++ b/src/core/hle/service/usb/usb.cpp @@ -15,36 +15,11 @@ namespace Service::USB { class IDsInterface final : public ServiceFramework { public: explicit IDsInterface(Core::System& system_) : ServiceFramework{system_, "IDsInterface"} { - // clang-format off - static const FunctionInfo functions[] = { - {0, nullptr, "GetDsEndpoint"}, - {1, nullptr, "GetSetupEvent"}, - {2, nullptr, "Unknown2"}, - {3, nullptr, "EnableInterface"}, - {4, nullptr, "DisableInterface"}, - {5, nullptr, "CtrlInPostBufferAsync"}, - {6, nullptr, "CtrlOutPostBufferAsync"}, - {7, nullptr, "GetCtrlInCompletionEvent"}, - {8, nullptr, "GetCtrlInReportData"}, - {9, nullptr, "GetCtrlOutCompletionEvent"}, - {10, nullptr, "GetCtrlOutReportData"}, - {11, nullptr, "StallCtrl"}, - {12, nullptr, "AppendConfigurationData"}, - }; - // clang-format on - - RegisterHandlers(functions); - } -}; - -class USB_DS final : public ServiceFramework { -public: - explicit USB_DS(Core::System& system_) : ServiceFramework{system_, "usb:ds"} { // clang-format off static const FunctionInfo functions[] = { {0, nullptr, "BindDevice"}, {1, nullptr, "BindClientProcess"}, - {2, nullptr, "GetDsInterface"}, + {2, nullptr, "AddInterface"}, {3, nullptr, "GetStateChangeEvent"}, {4, nullptr, "GetState"}, {5, nullptr, "ClearDeviceData"}, @@ -62,6 +37,19 @@ public: } }; +class USB_DS final : public ServiceFramework { +public: + explicit USB_DS(Core::System& system_) : ServiceFramework{system_, "usb:ds"} { + // clang-format off + static const FunctionInfo functions[] = { + {0, nullptr, "OpenDsService"}, + }; + // clang-format on + + RegisterHandlers(functions); + } +}; + class IClientEpSession final : public ServiceFramework { public: explicit IClientEpSession(Core::System& system_) @@ -120,7 +108,7 @@ public: {5, nullptr, "DestroyInterfaceAvailableEvent"}, {6, nullptr, "GetInterfaceStateChangeEvent"}, {7, nullptr, "AcquireUsbIf"}, - {8, nullptr, "Unknown8"}, + {8, nullptr, "ResetDevice"}, }; // clang-format on -- cgit v1.2.3 From 12bf8ca929c2797a65ce209bcd6b70003571be1a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Fri, 21 Jan 2022 16:35:39 -0500 Subject: service/wlan: Update function tables --- src/core/hle/service/wlan/wlan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core') diff --git a/src/core/hle/service/wlan/wlan.cpp b/src/core/hle/service/wlan/wlan.cpp index 44957e01d..f10b8c853 100644 --- a/src/core/hle/service/wlan/wlan.cpp +++ b/src/core/hle/service/wlan/wlan.cpp @@ -53,6 +53,7 @@ public: {35, nullptr, "Unknown35"}, {36, nullptr, "Unknown36"}, {37, nullptr, "Unknown37"}, + {38, nullptr, "Unknown38"}, }; // clang-format on @@ -117,7 +118,6 @@ public: {49, nullptr, "Unknown49"}, {50, nullptr, "Unknown50"}, {51, nullptr, "Unknown51"}, - {52, nullptr, "Unknown52"}, }; // clang-format on -- cgit v1.2.3