service: acc: Stub IManagerForApplication::StoreOpenContext.

- Used by Super Mario 3D All-Stars.
This commit is contained in:
bunnei 2020-10-14 20:05:47 -07:00
parent d47ac3ce09
commit 1d714c8c7f

View File

@ -496,7 +496,7 @@ public:
{3, nullptr, "LoadIdTokenCache"}, {3, nullptr, "LoadIdTokenCache"},
{130, nullptr, "GetNintendoAccountUserResourceCacheForApplication"}, {130, nullptr, "GetNintendoAccountUserResourceCacheForApplication"},
{150, nullptr, "CreateAuthorizationRequest"}, {150, nullptr, "CreateAuthorizationRequest"},
{160, nullptr, "StoreOpenContext"}, {160, &IManagerForApplication::StoreOpenContext, "StoreOpenContext"},
{170, nullptr, "LoadNetworkServiceLicenseKindAsync"}, {170, nullptr, "LoadNetworkServiceLicenseKindAsync"},
}; };
// clang-format on // clang-format on
@ -520,6 +520,12 @@ private:
rb.PushRaw<u64>(user_id.GetNintendoID()); rb.PushRaw<u64>(user_id.GetNintendoID());
} }
void StoreOpenContext(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_ACC, "(STUBBED) called");
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
}
Common::UUID user_id; Common::UUID user_id;
}; };