summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2018-04-24 10:30:27 -0400
committerGravatar Lioncash2018-04-24 12:00:56 -0400
commit47054327c2760faca023c3169e0d6ef8f98b737e (patch)
treeb75adace7acc1aa759d83b9b2000d5671a90cf8b /src
parentnfp: Move logging macros over to new fmt-compatible ones (diff)
downloadyuzu-47054327c2760faca023c3169e0d6ef8f98b737e.tar.gz
yuzu-47054327c2760faca023c3169e0d6ef8f98b737e.tar.xz
yuzu-47054327c2760faca023c3169e0d6ef8f98b737e.zip
nifm: Move logging macros over to new fmt-compatible ones
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/nifm/nifm.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cpp
index df1e7f8fe..eee92cfcd 100644
--- a/src/core/hle/service/nifm/nifm.cpp
+++ b/src/core/hle/service/nifm/nifm.cpp
@@ -62,24 +62,24 @@ public:
62 62
63private: 63private:
64 void GetRequestState(Kernel::HLERequestContext& ctx) { 64 void GetRequestState(Kernel::HLERequestContext& ctx) {
65 LOG_WARNING(Service_NIFM, "(STUBBED) called"); 65 NGLOG_WARNING(Service_NIFM, "(STUBBED) called");
66 IPC::ResponseBuilder rb{ctx, 3}; 66 IPC::ResponseBuilder rb{ctx, 3};
67 rb.Push(RESULT_SUCCESS); 67 rb.Push(RESULT_SUCCESS);
68 rb.Push<u32>(0); 68 rb.Push<u32>(0);
69 } 69 }
70 void GetResult(Kernel::HLERequestContext& ctx) { 70 void GetResult(Kernel::HLERequestContext& ctx) {
71 LOG_WARNING(Service_NIFM, "(STUBBED) called"); 71 NGLOG_WARNING(Service_NIFM, "(STUBBED) called");
72 IPC::ResponseBuilder rb{ctx, 2}; 72 IPC::ResponseBuilder rb{ctx, 2};
73 rb.Push(RESULT_SUCCESS); 73 rb.Push(RESULT_SUCCESS);
74 } 74 }
75 void GetSystemEventReadableHandles(Kernel::HLERequestContext& ctx) { 75 void GetSystemEventReadableHandles(Kernel::HLERequestContext& ctx) {
76 LOG_WARNING(Service_NIFM, "(STUBBED) called"); 76 NGLOG_WARNING(Service_NIFM, "(STUBBED) called");
77 IPC::ResponseBuilder rb{ctx, 2, 2}; 77 IPC::ResponseBuilder rb{ctx, 2, 2};
78 rb.Push(RESULT_SUCCESS); 78 rb.Push(RESULT_SUCCESS);
79 rb.PushCopyObjects(event1, event2); 79 rb.PushCopyObjects(event1, event2);
80 } 80 }
81 void Cancel(Kernel::HLERequestContext& ctx) { 81 void Cancel(Kernel::HLERequestContext& ctx) {
82 LOG_WARNING(Service_NIFM, "(STUBBED) called"); 82 NGLOG_WARNING(Service_NIFM, "(STUBBED) called");
83 IPC::ResponseBuilder rb{ctx, 2}; 83 IPC::ResponseBuilder rb{ctx, 2};
84 rb.Push(RESULT_SUCCESS); 84 rb.Push(RESULT_SUCCESS);
85 } 85 }
@@ -105,7 +105,7 @@ public:
105 105
106private: 106private:
107 void GetClientId(Kernel::HLERequestContext& ctx) { 107 void GetClientId(Kernel::HLERequestContext& ctx) {
108 LOG_WARNING(Service_NIFM, "(STUBBED) called"); 108 NGLOG_WARNING(Service_NIFM, "(STUBBED) called");
109 IPC::ResponseBuilder rb{ctx, 4}; 109 IPC::ResponseBuilder rb{ctx, 4};
110 rb.Push(RESULT_SUCCESS); 110 rb.Push(RESULT_SUCCESS);
111 rb.Push<u64>(0); 111 rb.Push<u64>(0);
@@ -116,7 +116,7 @@ private:
116 rb.Push(RESULT_SUCCESS); 116 rb.Push(RESULT_SUCCESS);
117 rb.PushIpcInterface<IScanRequest>(); 117 rb.PushIpcInterface<IScanRequest>();
118 118
119 LOG_DEBUG(Service_NIFM, "called"); 119 NGLOG_DEBUG(Service_NIFM, "called");
120 } 120 }
121 void CreateRequest(Kernel::HLERequestContext& ctx) { 121 void CreateRequest(Kernel::HLERequestContext& ctx) {
122 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 122 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
@@ -124,10 +124,10 @@ private:
124 rb.Push(RESULT_SUCCESS); 124 rb.Push(RESULT_SUCCESS);
125 rb.PushIpcInterface<IRequest>(); 125 rb.PushIpcInterface<IRequest>();
126 126
127 LOG_DEBUG(Service_NIFM, "called"); 127 NGLOG_DEBUG(Service_NIFM, "called");
128 } 128 }
129 void RemoveNetworkProfile(Kernel::HLERequestContext& ctx) { 129 void RemoveNetworkProfile(Kernel::HLERequestContext& ctx) {
130 LOG_WARNING(Service_NIFM, "(STUBBED) called"); 130 NGLOG_WARNING(Service_NIFM, "(STUBBED) called");
131 IPC::ResponseBuilder rb{ctx, 2}; 131 IPC::ResponseBuilder rb{ctx, 2};
132 rb.Push(RESULT_SUCCESS); 132 rb.Push(RESULT_SUCCESS);
133 } 133 }
@@ -137,7 +137,7 @@ private:
137 rb.Push(RESULT_SUCCESS); 137 rb.Push(RESULT_SUCCESS);
138 rb.PushIpcInterface<INetworkProfile>(); 138 rb.PushIpcInterface<INetworkProfile>();
139 139
140 LOG_DEBUG(Service_NIFM, "called"); 140 NGLOG_DEBUG(Service_NIFM, "called");
141 } 141 }
142}; 142};
143 143
@@ -187,14 +187,14 @@ void Module::Interface::CreateGeneralServiceOld(Kernel::HLERequestContext& ctx)
187 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 187 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
188 rb.Push(RESULT_SUCCESS); 188 rb.Push(RESULT_SUCCESS);
189 rb.PushIpcInterface<IGeneralService>(); 189 rb.PushIpcInterface<IGeneralService>();
190 LOG_DEBUG(Service_NIFM, "called"); 190 NGLOG_DEBUG(Service_NIFM, "called");
191} 191}
192 192
193void Module::Interface::CreateGeneralService(Kernel::HLERequestContext& ctx) { 193void Module::Interface::CreateGeneralService(Kernel::HLERequestContext& ctx) {
194 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 194 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
195 rb.Push(RESULT_SUCCESS); 195 rb.Push(RESULT_SUCCESS);
196 rb.PushIpcInterface<IGeneralService>(); 196 rb.PushIpcInterface<IGeneralService>();
197 LOG_DEBUG(Service_NIFM, "called"); 197 NGLOG_DEBUG(Service_NIFM, "called");
198} 198}
199 199
200Module::Interface::Interface(std::shared_ptr<Module> module, const char* name) 200Module::Interface::Interface(std::shared_ptr<Module> module, const char* name)