diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-08-11 17:34:22 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-08-11 17:34:22 +0200 |
commit | 0b6f8ba51e61792ea23a55394a963d0961a9906f (patch) | |
tree | 34dda39e990ee3fd9d0f3ec981e8c40eb31ebf34 /src/core/hle/service/acc/acc.cpp | |
parent | Removed const from ProfileBase Invalidate (diff) | |
download | yuzu-0b6f8ba51e61792ea23a55394a963d0961a9906f.tar yuzu-0b6f8ba51e61792ea23a55394a963d0961a9906f.tar.gz yuzu-0b6f8ba51e61792ea23a55394a963d0961a9906f.tar.bz2 yuzu-0b6f8ba51e61792ea23a55394a963d0961a9906f.tar.lz yuzu-0b6f8ba51e61792ea23a55394a963d0961a9906f.tar.xz yuzu-0b6f8ba51e61792ea23a55394a963d0961a9906f.tar.zst yuzu-0b6f8ba51e61792ea23a55394a963d0961a9906f.zip |
Diffstat (limited to 'src/core/hle/service/acc/acc.cpp')
-rw-r--r-- | src/core/hle/service/acc/acc.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp index c9ab8311e..b94dda9ea 100644 --- a/src/core/hle/service/acc/acc.cpp +++ b/src/core/hle/service/acc/acc.cpp @@ -54,6 +54,8 @@ private: rb.Push(RESULT_SUCCESS); rb.PushRaw(profile_base); } else { + LOG_ERROR(Service_ACC, "Failed to get profile base and data for user={}", + user_id.Format()); IPC::ResponseBuilder rb{ctx, 2}; rb.Push(ResultCode(-1)); // TODO(ogniK): Get actual error code } @@ -67,6 +69,7 @@ private: rb.Push(RESULT_SUCCESS); rb.PushRaw(profile_base); } else { + LOG_ERROR(Service_ACC, "Failed to get profile base for user={}", user_id.Format()); IPC::ResponseBuilder rb{ctx, 2}; rb.Push(ResultCode(-1)); // TODO(ogniK): Get actual error code } @@ -93,7 +96,7 @@ private: rb.Push<u32>(jpeg_size); } - ProfileManager& profile_manager; + const ProfileManager& profile_manager; UUID user_id; ///< The user id this profile refers to. }; @@ -202,7 +205,7 @@ void Module::Interface::GetBaasAccountManagerForApplication(Kernel::HLERequestCo Module::Interface::Interface(std::shared_ptr<Module> module, std::shared_ptr<ProfileManager> profile_manager, const char* name) : ServiceFramework(name), module(std::move(module)), - profile_manager(std::make_shared<ProfileManager>(*profile_manager)) {} + profile_manager(std::move(profile_manager)) {} void InstallInterfaces(SM::ServiceManager& service_manager) { auto module = std::make_shared<Module>(); |