diff options
author | bunnei <bunneidev@gmail.com> | 2018-02-04 22:40:12 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-02-04 22:40:12 +0100 |
commit | a947f16b639c6fa866d690792fff01c711daa2bb (patch) | |
tree | 81d6d9caaa5e5d299614e47ddeebb4e00eba1c94 /src | |
parent | acc_u0: Stub out GetLastOpenedUser. (diff) | |
download | yuzu-a947f16b639c6fa866d690792fff01c711daa2bb.tar yuzu-a947f16b639c6fa866d690792fff01c711daa2bb.tar.gz yuzu-a947f16b639c6fa866d690792fff01c711daa2bb.tar.bz2 yuzu-a947f16b639c6fa866d690792fff01c711daa2bb.tar.lz yuzu-a947f16b639c6fa866d690792fff01c711daa2bb.tar.xz yuzu-a947f16b639c6fa866d690792fff01c711daa2bb.tar.zst yuzu-a947f16b639c6fa866d690792fff01c711daa2bb.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/common/logging/backend.cpp | 1 | ||||
-rw-r--r-- | src/common/logging/log.h | 1 | ||||
-rw-r--r-- | src/core/hle/service/acc/acc_u0.cpp | 16 |
3 files changed, 10 insertions, 8 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index be53be407..3b0a0c62b 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp @@ -32,6 +32,7 @@ namespace Log { CLS(Kernel) \ SUB(Kernel, SVC) \ CLS(Service) \ + SUB(Service, ACC) \ SUB(Service, SM) \ SUB(Service, FS) \ SUB(Service, GSP) \ diff --git a/src/common/logging/log.h b/src/common/logging/log.h index 09ea7a2c7..46a522ed9 100644 --- a/src/common/logging/log.h +++ b/src/common/logging/log.h @@ -49,6 +49,7 @@ enum class Class : ClassType { Kernel_SVC, ///< Kernel system calls Service, ///< HLE implementation of system services. Each major service /// should have its own subclass. + Service_ACC, ///< The ACC (Account service) implementation Service_SM, ///< The SRV (Service Directory) implementation Service_FS, ///< The FS (Filesystem) service implementation Service_GSP, ///< The GSP (GPU control) service diff --git a/src/core/hle/service/acc/acc_u0.cpp b/src/core/hle/service/acc/acc_u0.cpp index 8110606aa..ff9f6cca8 100644 --- a/src/core/hle/service/acc/acc_u0.cpp +++ b/src/core/hle/service/acc/acc_u0.cpp @@ -20,7 +20,7 @@ public: private: void GetBase(Kernel::HLERequestContext& ctx) { - LOG_WARNING(Service, "(STUBBED) called"); + LOG_WARNING(Service_ACC, "(STUBBED) called"); ProfileBase profile_base{}; IPC::ResponseBuilder rb{ctx, 16}; rb.Push(RESULT_SUCCESS); @@ -40,14 +40,14 @@ public: private: void CheckAvailability(Kernel::HLERequestContext& ctx) { - LOG_WARNING(Service, "(STUBBED) called"); + LOG_WARNING(Service_ACC, "(STUBBED) called"); IPC::ResponseBuilder rb{ctx, 3}; 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"); + LOG_WARNING(Service_ACC, "(STUBBED) called"); IPC::ResponseBuilder rb{ctx, 4}; rb.Push(RESULT_SUCCESS); rb.Push<u64>(0x12345678ABCDEF); @@ -55,7 +55,7 @@ private: }; void ACC_U0::GetUserExistence(Kernel::HLERequestContext& ctx) { - LOG_WARNING(Service, "(STUBBED) called"); + LOG_WARNING(Service_ACC, "(STUBBED) called"); IPC::ResponseBuilder rb{ctx, 3}; rb.Push(RESULT_SUCCESS); rb.Push(true); // TODO: Check when this is supposed to return true and when not @@ -65,11 +65,11 @@ void ACC_U0::GetProfile(Kernel::HLERequestContext& ctx) { IPC::ResponseBuilder rb{ctx, 2, 0, 1}; rb.Push(RESULT_SUCCESS); rb.PushIpcInterface<IProfile>(); - LOG_DEBUG(Service, "called"); + LOG_DEBUG(Service_ACC, "called"); } void ACC_U0::InitializeApplicationInfo(Kernel::HLERequestContext& ctx) { - LOG_WARNING(Service, "(STUBBED) called"); + LOG_WARNING(Service_ACC, "(STUBBED) called"); IPC::ResponseBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); } @@ -78,11 +78,11 @@ void ACC_U0::GetBaasAccountManagerForApplication(Kernel::HLERequestContext& ctx) IPC::ResponseBuilder rb{ctx, 2, 0, 1}; rb.Push(RESULT_SUCCESS); rb.PushIpcInterface<IManagerForApplication>(); - LOG_DEBUG(Service, "called"); + LOG_DEBUG(Service_ACC, "called"); } void ACC_U0::GetLastOpenedUser(Kernel::HLERequestContext& ctx) { - LOG_WARNING(Service, "(STUBBED) called"); + LOG_WARNING(Service_ACC, "(STUBBED) called"); IPC::ResponseBuilder rb{ctx, 6}; rb.Push(RESULT_SUCCESS); rb.Push<u64>(0x0); |