diff options
author | bunnei <bunneidev@gmail.com> | 2018-02-04 18:04:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-04 18:04:32 +0100 |
commit | eaf75ea9706681a8b0a939ed01fc77eeb60feb70 (patch) | |
tree | 82201e4c89d3ed0d7df27c94477dd94a0f0ca334 /src/core/hle/service/acc | |
parent | Merge pull request #157 from bunnei/fix-duplicate-session (diff) | |
parent | acc:u0 : stub GetAccountId (diff) | |
download | yuzu-eaf75ea9706681a8b0a939ed01fc77eeb60feb70.tar yuzu-eaf75ea9706681a8b0a939ed01fc77eeb60feb70.tar.gz yuzu-eaf75ea9706681a8b0a939ed01fc77eeb60feb70.tar.bz2 yuzu-eaf75ea9706681a8b0a939ed01fc77eeb60feb70.tar.lz yuzu-eaf75ea9706681a8b0a939ed01fc77eeb60feb70.tar.xz yuzu-eaf75ea9706681a8b0a939ed01fc77eeb60feb70.tar.zst yuzu-eaf75ea9706681a8b0a939ed01fc77eeb60feb70.zip |
Diffstat (limited to 'src/core/hle/service/acc')
-rw-r--r-- | src/core/hle/service/acc/acc_u0.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/core/hle/service/acc/acc_u0.cpp b/src/core/hle/service/acc/acc_u0.cpp index 67f05aad4..63b60c927 100644 --- a/src/core/hle/service/acc/acc_u0.cpp +++ b/src/core/hle/service/acc/acc_u0.cpp @@ -30,9 +30,10 @@ private: class IManagerForApplication final : public ServiceFramework<IManagerForApplication> { public: - IManagerForApplication() : ServiceFramework("IProfile") { + IManagerForApplication() : ServiceFramework("IManagerForApplication") { static const FunctionInfo functions[] = { {0, &IManagerForApplication::CheckAvailability, "CheckAvailability"}, + {1, &IManagerForApplication::GetAccountId, "GetAccountId"}, }; RegisterHandlers(functions); } @@ -44,6 +45,13 @@ private: rb.Push(RESULT_SUCCESS); 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) { |