summaryrefslogtreecommitdiff
path: root/src/core/hle/service/nfc
diff options
context:
space:
mode:
authorGravatar Morph2021-05-21 01:05:04 -0400
committerGravatar Morph2021-06-02 00:39:27 -0400
commit12c1766997f2596b4b1b1a6a411e4f6d56605ee7 (patch)
treee718a0f18be8aaf664ebdcd197af513e5a118b72 /src/core/hle/service/nfc
parentMerge pull request #6395 from lioncash/result-move (diff)
downloadyuzu-12c1766997f2596b4b1b1a6a411e4f6d56605ee7.tar.gz
yuzu-12c1766997f2596b4b1b1a6a411e4f6d56605ee7.tar.xz
yuzu-12c1766997f2596b4b1b1a6a411e4f6d56605ee7.zip
general: Replace RESULT_SUCCESS with ResultSuccess
Transition to PascalCase for result names.
Diffstat (limited to 'src/core/hle/service/nfc')
-rw-r--r--src/core/hle/service/nfc/nfc.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/hle/service/nfc/nfc.cpp b/src/core/hle/service/nfc/nfc.cpp
index 44a5d5789..b014ea826 100644
--- a/src/core/hle/service/nfc/nfc.cpp
+++ b/src/core/hle/service/nfc/nfc.cpp
@@ -46,7 +46,7 @@ private:
46 LOG_DEBUG(Service_NFC, "called"); 46 LOG_DEBUG(Service_NFC, "called");
47 47
48 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 48 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
49 rb.Push(RESULT_SUCCESS); 49 rb.Push(ResultSuccess);
50 rb.PushIpcInterface<IAm>(system); 50 rb.PushIpcInterface<IAm>(system);
51 } 51 }
52}; 52};
@@ -94,7 +94,7 @@ private:
94 LOG_DEBUG(Service_NFC, "called"); 94 LOG_DEBUG(Service_NFC, "called");
95 95
96 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 96 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
97 rb.Push(RESULT_SUCCESS); 97 rb.Push(ResultSuccess);
98 rb.PushIpcInterface<MFIUser>(system); 98 rb.PushIpcInterface<MFIUser>(system);
99 } 99 }
100}; 100};
@@ -141,7 +141,7 @@ private:
141 LOG_DEBUG(Service_NFC, "called"); 141 LOG_DEBUG(Service_NFC, "called");
142 142
143 IPC::ResponseBuilder rb{ctx, 2, 0}; 143 IPC::ResponseBuilder rb{ctx, 2, 0};
144 rb.Push(RESULT_SUCCESS); 144 rb.Push(ResultSuccess);
145 // We don't deal with hardware initialization so we can just stub this. 145 // We don't deal with hardware initialization so we can just stub this.
146 } 146 }
147 147
@@ -149,7 +149,7 @@ private:
149 LOG_DEBUG(Service_NFC, "IsNfcEnabledOld"); 149 LOG_DEBUG(Service_NFC, "IsNfcEnabledOld");
150 150
151 IPC::ResponseBuilder rb{ctx, 3}; 151 IPC::ResponseBuilder rb{ctx, 3};
152 rb.Push(RESULT_SUCCESS); 152 rb.Push(ResultSuccess);
153 rb.PushRaw<u8>(true); 153 rb.PushRaw<u8>(true);
154 } 154 }
155 155
@@ -157,7 +157,7 @@ private:
157 LOG_WARNING(Service_NFC, "(STUBBED) called"); 157 LOG_WARNING(Service_NFC, "(STUBBED) called");
158 158
159 IPC::ResponseBuilder rb{ctx, 3}; 159 IPC::ResponseBuilder rb{ctx, 3};
160 rb.Push(RESULT_SUCCESS); 160 rb.Push(ResultSuccess);
161 rb.PushEnum(NfcStates::Finalized); // TODO(ogniK): Figure out if this matches nfp 161 rb.PushEnum(NfcStates::Finalized); // TODO(ogniK): Figure out if this matches nfp
162 } 162 }
163 163
@@ -165,7 +165,7 @@ private:
165 LOG_WARNING(Service_NFC, "(STUBBED) called"); 165 LOG_WARNING(Service_NFC, "(STUBBED) called");
166 166
167 IPC::ResponseBuilder rb{ctx, 2}; 167 IPC::ResponseBuilder rb{ctx, 2};
168 rb.Push(RESULT_SUCCESS); 168 rb.Push(ResultSuccess);
169 } 169 }
170}; 170};
171 171
@@ -186,7 +186,7 @@ private:
186 LOG_DEBUG(Service_NFC, "called"); 186 LOG_DEBUG(Service_NFC, "called");
187 187
188 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 188 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
189 rb.Push(RESULT_SUCCESS); 189 rb.Push(ResultSuccess);
190 rb.PushIpcInterface<IUser>(system); 190 rb.PushIpcInterface<IUser>(system);
191 } 191 }
192}; 192};
@@ -245,7 +245,7 @@ private:
245 LOG_DEBUG(Service_NFC, "called"); 245 LOG_DEBUG(Service_NFC, "called");
246 246
247 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 247 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
248 rb.Push(RESULT_SUCCESS); 248 rb.Push(ResultSuccess);
249 rb.PushIpcInterface<ISystem>(system); 249 rb.PushIpcInterface<ISystem>(system);
250 } 250 }
251}; 251};