summaryrefslogtreecommitdiff
path: root/src/core/hle/service/aoc
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/aoc
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/aoc')
-rw-r--r--src/core/hle/service/aoc/aoc_u.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/core/hle/service/aoc/aoc_u.cpp b/src/core/hle/service/aoc/aoc_u.cpp
index 1863260f1..67787496a 100644
--- a/src/core/hle/service/aoc/aoc_u.cpp
+++ b/src/core/hle/service/aoc/aoc_u.cpp
@@ -76,7 +76,7 @@ private:
76 LOG_WARNING(Service_AOC, "(STUBBED) called, unknown_1={}", unknown_1); 76 LOG_WARNING(Service_AOC, "(STUBBED) called, unknown_1={}", unknown_1);
77 77
78 IPC::ResponseBuilder rb{ctx, 2}; 78 IPC::ResponseBuilder rb{ctx, 2};
79 rb.Push(RESULT_SUCCESS); 79 rb.Push(ResultSuccess);
80 } 80 }
81 81
82 void SetDeliveryTarget(Kernel::HLERequestContext& ctx) { 82 void SetDeliveryTarget(Kernel::HLERequestContext& ctx) {
@@ -88,14 +88,14 @@ private:
88 LOG_WARNING(Service_AOC, "(STUBBED) called, unknown_1={}", unknown_1); 88 LOG_WARNING(Service_AOC, "(STUBBED) called, unknown_1={}", unknown_1);
89 89
90 IPC::ResponseBuilder rb{ctx, 2}; 90 IPC::ResponseBuilder rb{ctx, 2};
91 rb.Push(RESULT_SUCCESS); 91 rb.Push(ResultSuccess);
92 } 92 }
93 93
94 void GetPurchasedEventReadableHandle(Kernel::HLERequestContext& ctx) { 94 void GetPurchasedEventReadableHandle(Kernel::HLERequestContext& ctx) {
95 LOG_WARNING(Service_AOC, "called"); 95 LOG_WARNING(Service_AOC, "called");
96 96
97 IPC::ResponseBuilder rb{ctx, 2, 1}; 97 IPC::ResponseBuilder rb{ctx, 2, 1};
98 rb.Push(RESULT_SUCCESS); 98 rb.Push(ResultSuccess);
99 rb.PushCopyObjects(purchased_event.GetReadableEvent()); 99 rb.PushCopyObjects(purchased_event.GetReadableEvent());
100 } 100 }
101 101
@@ -144,7 +144,7 @@ void AOC_U::CountAddOnContent(Kernel::HLERequestContext& ctx) {
144 LOG_DEBUG(Service_AOC, "called. process_id={}", params.process_id); 144 LOG_DEBUG(Service_AOC, "called. process_id={}", params.process_id);
145 145
146 IPC::ResponseBuilder rb{ctx, 3}; 146 IPC::ResponseBuilder rb{ctx, 3};
147 rb.Push(RESULT_SUCCESS); 147 rb.Push(ResultSuccess);
148 148
149 const auto current = system.CurrentProcess()->GetTitleID(); 149 const auto current = system.CurrentProcess()->GetTitleID();
150 150
@@ -201,7 +201,7 @@ void AOC_U::ListAddOnContent(Kernel::HLERequestContext& ctx) {
201 ctx.WriteBuffer(out); 201 ctx.WriteBuffer(out);
202 202
203 IPC::ResponseBuilder rb{ctx, 3}; 203 IPC::ResponseBuilder rb{ctx, 3};
204 rb.Push(RESULT_SUCCESS); 204 rb.Push(ResultSuccess);
205 rb.Push(out_count); 205 rb.Push(out_count);
206} 206}
207 207
@@ -217,7 +217,7 @@ void AOC_U::GetAddOnContentBaseId(Kernel::HLERequestContext& ctx) {
217 LOG_DEBUG(Service_AOC, "called. process_id={}", params.process_id); 217 LOG_DEBUG(Service_AOC, "called. process_id={}", params.process_id);
218 218
219 IPC::ResponseBuilder rb{ctx, 4}; 219 IPC::ResponseBuilder rb{ctx, 4};
220 rb.Push(RESULT_SUCCESS); 220 rb.Push(ResultSuccess);
221 221
222 const auto title_id = system.CurrentProcess()->GetTitleID(); 222 const auto title_id = system.CurrentProcess()->GetTitleID();
223 const FileSys::PatchManager pm{title_id, system.GetFileSystemController(), 223 const FileSys::PatchManager pm{title_id, system.GetFileSystemController(),
@@ -246,14 +246,14 @@ void AOC_U::PrepareAddOnContent(Kernel::HLERequestContext& ctx) {
246 process_id); 246 process_id);
247 247
248 IPC::ResponseBuilder rb{ctx, 2}; 248 IPC::ResponseBuilder rb{ctx, 2};
249 rb.Push(RESULT_SUCCESS); 249 rb.Push(ResultSuccess);
250} 250}
251 251
252void AOC_U::GetAddOnContentListChangedEvent(Kernel::HLERequestContext& ctx) { 252void AOC_U::GetAddOnContentListChangedEvent(Kernel::HLERequestContext& ctx) {
253 LOG_WARNING(Service_AOC, "(STUBBED) called"); 253 LOG_WARNING(Service_AOC, "(STUBBED) called");
254 254
255 IPC::ResponseBuilder rb{ctx, 2, 1}; 255 IPC::ResponseBuilder rb{ctx, 2, 1};
256 rb.Push(RESULT_SUCCESS); 256 rb.Push(ResultSuccess);
257 rb.PushCopyObjects(aoc_change_event.GetReadableEvent()); 257 rb.PushCopyObjects(aoc_change_event.GetReadableEvent());
258} 258}
259 259
@@ -261,7 +261,7 @@ void AOC_U::CreateEcPurchasedEventManager(Kernel::HLERequestContext& ctx) {
261 LOG_WARNING(Service_AOC, "(STUBBED) called"); 261 LOG_WARNING(Service_AOC, "(STUBBED) called");
262 262
263 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 263 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
264 rb.Push(RESULT_SUCCESS); 264 rb.Push(ResultSuccess);
265 rb.PushIpcInterface<IPurchaseEventManager>(system); 265 rb.PushIpcInterface<IPurchaseEventManager>(system);
266} 266}
267 267
@@ -269,7 +269,7 @@ void AOC_U::CreatePermanentEcPurchasedEventManager(Kernel::HLERequestContext& ct
269 LOG_WARNING(Service_AOC, "(STUBBED) called"); 269 LOG_WARNING(Service_AOC, "(STUBBED) called");
270 270
271 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 271 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
272 rb.Push(RESULT_SUCCESS); 272 rb.Push(ResultSuccess);
273 rb.PushIpcInterface<IPurchaseEventManager>(system); 273 rb.PushIpcInterface<IPurchaseEventManager>(system);
274} 274}
275 275