diff options
Diffstat (limited to 'src')
| -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: | |||
| 30 | 30 | ||
| 31 | class IManagerForApplication final : public ServiceFramework<IManagerForApplication> { | 31 | class IManagerForApplication final : public ServiceFramework<IManagerForApplication> { |
| 32 | public: | 32 | public: |
| 33 | IManagerForApplication() : ServiceFramework("IProfile") { | 33 | IManagerForApplication() : ServiceFramework("IManagerForApplication") { |
| 34 | static const FunctionInfo functions[] = { | 34 | static const FunctionInfo functions[] = { |
| 35 | {0, &IManagerForApplication::CheckAvailability, "CheckAvailability"}, | 35 | {0, &IManagerForApplication::CheckAvailability, "CheckAvailability"}, |
| 36 | {1, &IManagerForApplication::GetAccountId, "GetAccountId"}, | ||
| 36 | }; | 37 | }; |
| 37 | RegisterHandlers(functions); | 38 | RegisterHandlers(functions); |
| 38 | } | 39 | } |
| @@ -44,6 +45,13 @@ private: | |||
| 44 | rb.Push(RESULT_SUCCESS); | 45 | rb.Push(RESULT_SUCCESS); |
| 45 | rb.Push(true); // TODO: Check when this is supposed to return true and when not | 46 | rb.Push(true); // TODO: Check when this is supposed to return true and when not |
| 46 | } | 47 | } |
| 48 | |||
| 49 | void GetAccountId(Kernel::HLERequestContext& ctx) { | ||
| 50 | LOG_WARNING(Service, "(STUBBED) called"); | ||
| 51 | IPC::ResponseBuilder rb{ctx, 4}; | ||
| 52 | rb.Push(RESULT_SUCCESS); | ||
| 53 | rb.Push<u64>(0x12345678ABCDEF); | ||
| 54 | } | ||
| 47 | }; | 55 | }; |
| 48 | 56 | ||
| 49 | void ACC_U0::GetUserExistence(Kernel::HLERequestContext& ctx) { | 57 | void ACC_U0::GetUserExistence(Kernel::HLERequestContext& ctx) { |