diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/service/acc/acc_u0.cpp | 9 | ||||
| -rw-r--r-- | src/core/hle/service/acc/acc_u0.h | 1 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/core/hle/service/acc/acc_u0.cpp b/src/core/hle/service/acc/acc_u0.cpp index 63b60c927..8110606aa 100644 --- a/src/core/hle/service/acc/acc_u0.cpp +++ b/src/core/hle/service/acc/acc_u0.cpp | |||
| @@ -81,9 +81,18 @@ void ACC_U0::GetBaasAccountManagerForApplication(Kernel::HLERequestContext& ctx) | |||
| 81 | LOG_DEBUG(Service, "called"); | 81 | LOG_DEBUG(Service, "called"); |
| 82 | } | 82 | } |
| 83 | 83 | ||
| 84 | void ACC_U0::GetLastOpenedUser(Kernel::HLERequestContext& ctx) { | ||
| 85 | LOG_WARNING(Service, "(STUBBED) called"); | ||
| 86 | IPC::ResponseBuilder rb{ctx, 6}; | ||
| 87 | rb.Push(RESULT_SUCCESS); | ||
| 88 | rb.Push<u64>(0x0); | ||
| 89 | rb.Push<u64>(0x0); | ||
| 90 | } | ||
| 91 | |||
| 84 | ACC_U0::ACC_U0() : ServiceFramework("acc:u0") { | 92 | ACC_U0::ACC_U0() : ServiceFramework("acc:u0") { |
| 85 | static const FunctionInfo functions[] = { | 93 | static const FunctionInfo functions[] = { |
| 86 | {1, &ACC_U0::GetUserExistence, "GetUserExistence"}, | 94 | {1, &ACC_U0::GetUserExistence, "GetUserExistence"}, |
| 95 | {4, &ACC_U0::GetLastOpenedUser, "GetLastOpenedUser"}, | ||
| 87 | {5, &ACC_U0::GetProfile, "GetProfile"}, | 96 | {5, &ACC_U0::GetProfile, "GetProfile"}, |
| 88 | {100, &ACC_U0::InitializeApplicationInfo, "InitializeApplicationInfo"}, | 97 | {100, &ACC_U0::InitializeApplicationInfo, "InitializeApplicationInfo"}, |
| 89 | {101, &ACC_U0::GetBaasAccountManagerForApplication, "GetBaasAccountManagerForApplication"}, | 98 | {101, &ACC_U0::GetBaasAccountManagerForApplication, "GetBaasAccountManagerForApplication"}, |
diff --git a/src/core/hle/service/acc/acc_u0.h b/src/core/hle/service/acc/acc_u0.h index 51676e859..b38c2f95e 100644 --- a/src/core/hle/service/acc/acc_u0.h +++ b/src/core/hle/service/acc/acc_u0.h | |||
| @@ -28,6 +28,7 @@ public: | |||
| 28 | 28 | ||
| 29 | private: | 29 | private: |
| 30 | void GetUserExistence(Kernel::HLERequestContext& ctx); | 30 | void GetUserExistence(Kernel::HLERequestContext& ctx); |
| 31 | void GetLastOpenedUser(Kernel::HLERequestContext& ctx); | ||
| 31 | void GetProfile(Kernel::HLERequestContext& ctx); | 32 | void GetProfile(Kernel::HLERequestContext& ctx); |
| 32 | void InitializeApplicationInfo(Kernel::HLERequestContext& ctx); | 33 | void InitializeApplicationInfo(Kernel::HLERequestContext& ctx); |
| 33 | void GetBaasAccountManagerForApplication(Kernel::HLERequestContext& ctx); | 34 | void GetBaasAccountManagerForApplication(Kernel::HLERequestContext& ctx); |