summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/common/logging/backend.cpp1
-rw-r--r--src/common/logging/log.h1
-rw-r--r--src/core/hle/service/acc/acc_u0.cpp16
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 {
32 CLS(Kernel) \ 32 CLS(Kernel) \
33 SUB(Kernel, SVC) \ 33 SUB(Kernel, SVC) \
34 CLS(Service) \ 34 CLS(Service) \
35 SUB(Service, ACC) \
35 SUB(Service, SM) \ 36 SUB(Service, SM) \
36 SUB(Service, FS) \ 37 SUB(Service, FS) \
37 SUB(Service, GSP) \ 38 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 {
49 Kernel_SVC, ///< Kernel system calls 49 Kernel_SVC, ///< Kernel system calls
50 Service, ///< HLE implementation of system services. Each major service 50 Service, ///< HLE implementation of system services. Each major service
51 /// should have its own subclass. 51 /// should have its own subclass.
52 Service_ACC, ///< The ACC (Account service) implementation
52 Service_SM, ///< The SRV (Service Directory) implementation 53 Service_SM, ///< The SRV (Service Directory) implementation
53 Service_FS, ///< The FS (Filesystem) service implementation 54 Service_FS, ///< The FS (Filesystem) service implementation
54 Service_GSP, ///< The GSP (GPU control) service 55 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:
20 20
21private: 21private:
22 void GetBase(Kernel::HLERequestContext& ctx) { 22 void GetBase(Kernel::HLERequestContext& ctx) {
23 LOG_WARNING(Service, "(STUBBED) called"); 23 LOG_WARNING(Service_ACC, "(STUBBED) called");
24 ProfileBase profile_base{}; 24 ProfileBase profile_base{};
25 IPC::ResponseBuilder rb{ctx, 16}; 25 IPC::ResponseBuilder rb{ctx, 16};
26 rb.Push(RESULT_SUCCESS); 26 rb.Push(RESULT_SUCCESS);
@@ -40,14 +40,14 @@ public:
40 40
41private: 41private:
42 void CheckAvailability(Kernel::HLERequestContext& ctx) { 42 void CheckAvailability(Kernel::HLERequestContext& ctx) {
43 LOG_WARNING(Service, "(STUBBED) called"); 43 LOG_WARNING(Service_ACC, "(STUBBED) called");
44 IPC::ResponseBuilder rb{ctx, 3}; 44 IPC::ResponseBuilder rb{ctx, 3};
45 rb.Push(RESULT_SUCCESS); 45 rb.Push(RESULT_SUCCESS);
46 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
47 } 47 }
48 48
49 void GetAccountId(Kernel::HLERequestContext& ctx) { 49 void GetAccountId(Kernel::HLERequestContext& ctx) {
50 LOG_WARNING(Service, "(STUBBED) called"); 50 LOG_WARNING(Service_ACC, "(STUBBED) called");
51 IPC::ResponseBuilder rb{ctx, 4}; 51 IPC::ResponseBuilder rb{ctx, 4};
52 rb.Push(RESULT_SUCCESS); 52 rb.Push(RESULT_SUCCESS);
53 rb.Push<u64>(0x12345678ABCDEF); 53 rb.Push<u64>(0x12345678ABCDEF);
@@ -55,7 +55,7 @@ private:
55}; 55};
56 56
57void ACC_U0::GetUserExistence(Kernel::HLERequestContext& ctx) { 57void ACC_U0::GetUserExistence(Kernel::HLERequestContext& ctx) {
58 LOG_WARNING(Service, "(STUBBED) called"); 58 LOG_WARNING(Service_ACC, "(STUBBED) called");
59 IPC::ResponseBuilder rb{ctx, 3}; 59 IPC::ResponseBuilder rb{ctx, 3};
60 rb.Push(RESULT_SUCCESS); 60 rb.Push(RESULT_SUCCESS);
61 rb.Push(true); // TODO: Check when this is supposed to return true and when not 61 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) {
65 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 65 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
66 rb.Push(RESULT_SUCCESS); 66 rb.Push(RESULT_SUCCESS);
67 rb.PushIpcInterface<IProfile>(); 67 rb.PushIpcInterface<IProfile>();
68 LOG_DEBUG(Service, "called"); 68 LOG_DEBUG(Service_ACC, "called");
69} 69}
70 70
71void ACC_U0::InitializeApplicationInfo(Kernel::HLERequestContext& ctx) { 71void ACC_U0::InitializeApplicationInfo(Kernel::HLERequestContext& ctx) {
72 LOG_WARNING(Service, "(STUBBED) called"); 72 LOG_WARNING(Service_ACC, "(STUBBED) called");
73 IPC::ResponseBuilder rb{ctx, 2}; 73 IPC::ResponseBuilder rb{ctx, 2};
74 rb.Push(RESULT_SUCCESS); 74 rb.Push(RESULT_SUCCESS);
75} 75}
@@ -78,11 +78,11 @@ void ACC_U0::GetBaasAccountManagerForApplication(Kernel::HLERequestContext& ctx)
78 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 78 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
79 rb.Push(RESULT_SUCCESS); 79 rb.Push(RESULT_SUCCESS);
80 rb.PushIpcInterface<IManagerForApplication>(); 80 rb.PushIpcInterface<IManagerForApplication>();
81 LOG_DEBUG(Service, "called"); 81 LOG_DEBUG(Service_ACC, "called");
82} 82}
83 83
84void ACC_U0::GetLastOpenedUser(Kernel::HLERequestContext& ctx) { 84void ACC_U0::GetLastOpenedUser(Kernel::HLERequestContext& ctx) {
85 LOG_WARNING(Service, "(STUBBED) called"); 85 LOG_WARNING(Service_ACC, "(STUBBED) called");
86 IPC::ResponseBuilder rb{ctx, 6}; 86 IPC::ResponseBuilder rb{ctx, 6};
87 rb.Push(RESULT_SUCCESS); 87 rb.Push(RESULT_SUCCESS);
88 rb.Push<u64>(0x0); 88 rb.Push<u64>(0x0);