mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-10-30 03:47:51 +00:00
todo
This commit is contained in:
parent
32da0983d8
commit
7688c89bc7
3 changed files with 13 additions and 4 deletions
|
@ -99,7 +99,7 @@ public:
|
|||
{140, nullptr, "GetNetworkServiceLicenseCache"}, // 5.0.0+
|
||||
{141, nullptr, "RefreshNetworkServiceLicenseCacheAsync"}, // 5.0.0+
|
||||
{142, nullptr, "RefreshNetworkServiceLicenseCacheAsyncIfSecondsElapsed"}, // 5.0.0+
|
||||
{143, D<&IManagerForSystemService::GetNetworkServiceLicenseEx>, "GetNetworkServiceLicenseCacheEx"}, // 15.0.0+
|
||||
{143, &IManagerForSystemService::GetNetworkServiceLicenseEx, "GetNetworkServiceLicenseCacheEx"}, // 15.0.0+
|
||||
{150, nullptr, "CreateAuthorizationRequest"},
|
||||
{160, nullptr, "RequiresUpdateNetworkServiceAccountIdTokenCache"}, // 15.0.0+
|
||||
{161, nullptr, "RequireReauthenticationOfNetworkServiceAccount"}, // 16.0.0+
|
||||
|
@ -122,9 +122,13 @@ private:
|
|||
R_SUCCEED();
|
||||
}
|
||||
|
||||
Result GetNetworkServiceLicenseEx() {
|
||||
void GetNetworkServiceLicenseEx(HLERequestContext& ctx) {
|
||||
LOG_WARNING(Service_ACC, "(STUBBED) called");
|
||||
R_SUCCEED();
|
||||
IPC::ResponseBuilder rb {ctx, 16};
|
||||
rb.Push(ResultSuccess);
|
||||
for (int i = 0; i < 16; i++) {
|
||||
rb.Push(0x0);
|
||||
}
|
||||
}
|
||||
|
||||
Common::UUID account_id;
|
||||
|
|
|
@ -565,6 +565,10 @@ void IGeneralService::IsAnyForegroundRequestAccepted(HLERequestContext& ctx) {
|
|||
rb.Push<u8>(is_accepted);
|
||||
}
|
||||
|
||||
void IGeneralService::ConfirmSystemAvailability(HLERequestContext& ctx) {
|
||||
IPC::ResponseBuilder rb {ctx, 0};
|
||||
rb.Push(ResultSuccess);
|
||||
}
|
||||
IGeneralService::IGeneralService(Core::System& system_)
|
||||
: ServiceFramework{system_, "IGeneralService"}, network{system_.GetRoomNetwork()} {
|
||||
// clang-format off
|
||||
|
@ -600,7 +604,7 @@ IGeneralService::IGeneralService(Core::System& system_)
|
|||
{30, nullptr, "SetEthernetCommunicationEnabledForTest"},
|
||||
{31, nullptr, "GetTelemetorySystemEventReadableHandle"},
|
||||
{32, nullptr, "GetTelemetryInfo"},
|
||||
{33, nullptr, "ConfirmSystemAvailability"},
|
||||
{33, &IGeneralService::ConfirmSystemAvailability, "ConfirmSystemAvailability"},
|
||||
{34, nullptr, "SetBackgroundRequestEnabled"},
|
||||
{35, nullptr, "GetScanData"},
|
||||
{36, nullptr, "GetCurrentAccessPoint"},
|
||||
|
|
|
@ -36,6 +36,7 @@ private:
|
|||
void IsEthernetCommunicationEnabled(HLERequestContext& ctx);
|
||||
void IsAnyInternetRequestAccepted(HLERequestContext& ctx);
|
||||
void IsAnyForegroundRequestAccepted(HLERequestContext& ctx);
|
||||
void ConfirmSystemAvailability(HLERequestContext& ctx);
|
||||
|
||||
Network::RoomNetwork& network;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue