Skip to content
Snippets Groups Projects
Commit 272058d7 authored by mailwl's avatar mailwl
Browse files

acc:u0 : stub GetAccountId

parent abc4be8e
No related branches found
No related tags found
No related merge requests found
...@@ -30,9 +30,10 @@ private: ...@@ -30,9 +30,10 @@ private:
class IManagerForApplication final : public ServiceFramework<IManagerForApplication> { class IManagerForApplication final : public ServiceFramework<IManagerForApplication> {
public: public:
IManagerForApplication() : ServiceFramework("IProfile") { IManagerForApplication() : ServiceFramework("IManagerForApplication") {
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &IManagerForApplication::CheckAvailability, "CheckAvailability"}, {0, &IManagerForApplication::CheckAvailability, "CheckAvailability"},
{1, &IManagerForApplication::GetAccountId, "GetAccountId"},
}; };
RegisterHandlers(functions); RegisterHandlers(functions);
} }
...@@ -44,6 +45,13 @@ private: ...@@ -44,6 +45,13 @@ private:
rb.Push(RESULT_SUCCESS); rb.Push(RESULT_SUCCESS);
rb.Push(true); // TODO: Check when this is supposed to return true and when not rb.Push(true); // TODO: Check when this is supposed to return true and when not
} }
void GetAccountId(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service, "(STUBBED) called");
IPC::ResponseBuilder rb{ctx, 4};
rb.Push(RESULT_SUCCESS);
rb.Push<u64>(0x12345678ABCDEF);
}
}; };
void ACC_U0::GetUserExistence(Kernel::HLERequestContext& ctx) { void ACC_U0::GetUserExistence(Kernel::HLERequestContext& ctx) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment