summaryrefslogtreecommitdiff
path: root/src/core/hle/service/nim
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/nim
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/nim')
-rw-r--r--src/core/hle/service/nim/nim.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/core/hle/service/nim/nim.cpp b/src/core/hle/service/nim/nim.cpp
index 420a5a075..7447cc38f 100644
--- a/src/core/hle/service/nim/nim.cpp
+++ b/src/core/hle/service/nim/nim.cpp
@@ -52,7 +52,7 @@ private:
52 void CreateAsyncInterface(Kernel::HLERequestContext& ctx) { 52 void CreateAsyncInterface(Kernel::HLERequestContext& ctx) {
53 LOG_WARNING(Service_NIM, "(STUBBED) called"); 53 LOG_WARNING(Service_NIM, "(STUBBED) called");
54 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 54 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
55 rb.Push(RESULT_SUCCESS); 55 rb.Push(ResultSuccess);
56 rb.PushIpcInterface<IShopServiceAsync>(system); 56 rb.PushIpcInterface<IShopServiceAsync>(system);
57 } 57 }
58}; 58};
@@ -74,7 +74,7 @@ private:
74 void CreateAccessorInterface(Kernel::HLERequestContext& ctx) { 74 void CreateAccessorInterface(Kernel::HLERequestContext& ctx) {
75 LOG_WARNING(Service_NIM, "(STUBBED) called"); 75 LOG_WARNING(Service_NIM, "(STUBBED) called");
76 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 76 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
77 rb.Push(RESULT_SUCCESS); 77 rb.Push(ResultSuccess);
78 rb.PushIpcInterface<IShopServiceAccessor>(system); 78 rb.PushIpcInterface<IShopServiceAccessor>(system);
79 } 79 }
80}; 80};
@@ -240,7 +240,7 @@ private:
240 void CreateServerInterface(Kernel::HLERequestContext& ctx) { 240 void CreateServerInterface(Kernel::HLERequestContext& ctx) {
241 LOG_WARNING(Service_NIM, "(STUBBED) called"); 241 LOG_WARNING(Service_NIM, "(STUBBED) called");
242 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 242 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
243 rb.Push(RESULT_SUCCESS); 243 rb.Push(ResultSuccess);
244 rb.PushIpcInterface<IShopServiceAccessServer>(system); 244 rb.PushIpcInterface<IShopServiceAccessServer>(system);
245 } 245 }
246 246
@@ -252,7 +252,7 @@ private:
252 LOG_INFO(Service_NIM, "(STUBBED) called, unknown={}", unknown); 252 LOG_INFO(Service_NIM, "(STUBBED) called, unknown={}", unknown);
253 253
254 IPC::ResponseBuilder rb{ctx, 3}; 254 IPC::ResponseBuilder rb{ctx, 3};
255 rb.Push(RESULT_SUCCESS); 255 rb.Push(ResultSuccess);
256 rb.Push(false); 256 rb.Push(false);
257 } 257 }
258}; 258};
@@ -325,14 +325,14 @@ private:
325 LOG_DEBUG(Service_NIM, "called"); 325 LOG_DEBUG(Service_NIM, "called");
326 finished_event.GetWritableEvent().Signal(); 326 finished_event.GetWritableEvent().Signal();
327 IPC::ResponseBuilder rb{ctx, 2}; 327 IPC::ResponseBuilder rb{ctx, 2};
328 rb.Push(RESULT_SUCCESS); 328 rb.Push(ResultSuccess);
329 } 329 }
330 330
331 void GetFinishNotificationEvent(Kernel::HLERequestContext& ctx) { 331 void GetFinishNotificationEvent(Kernel::HLERequestContext& ctx) {
332 LOG_DEBUG(Service_NIM, "called"); 332 LOG_DEBUG(Service_NIM, "called");
333 333
334 IPC::ResponseBuilder rb{ctx, 2, 1}; 334 IPC::ResponseBuilder rb{ctx, 2, 1};
335 rb.Push(RESULT_SUCCESS); 335 rb.Push(ResultSuccess);
336 rb.PushCopyObjects(finished_event.GetReadableEvent()); 336 rb.PushCopyObjects(finished_event.GetReadableEvent());
337 } 337 }
338 338
@@ -340,21 +340,21 @@ private:
340 LOG_DEBUG(Service_NIM, "called"); 340 LOG_DEBUG(Service_NIM, "called");
341 341
342 IPC::ResponseBuilder rb{ctx, 2}; 342 IPC::ResponseBuilder rb{ctx, 2};
343 rb.Push(RESULT_SUCCESS); 343 rb.Push(ResultSuccess);
344 } 344 }
345 345
346 void Cancel(Kernel::HLERequestContext& ctx) { 346 void Cancel(Kernel::HLERequestContext& ctx) {
347 LOG_DEBUG(Service_NIM, "called"); 347 LOG_DEBUG(Service_NIM, "called");
348 finished_event.GetWritableEvent().Clear(); 348 finished_event.GetWritableEvent().Clear();
349 IPC::ResponseBuilder rb{ctx, 2}; 349 IPC::ResponseBuilder rb{ctx, 2};
350 rb.Push(RESULT_SUCCESS); 350 rb.Push(ResultSuccess);
351 } 351 }
352 352
353 void IsProcessing(Kernel::HLERequestContext& ctx) { 353 void IsProcessing(Kernel::HLERequestContext& ctx) {
354 LOG_DEBUG(Service_NIM, "called"); 354 LOG_DEBUG(Service_NIM, "called");
355 355
356 IPC::ResponseBuilder rb{ctx, 3}; 356 IPC::ResponseBuilder rb{ctx, 3};
357 rb.Push(RESULT_SUCCESS); 357 rb.Push(ResultSuccess);
358 rb.PushRaw<u32>(0); // We instantly process the request 358 rb.PushRaw<u32>(0); // We instantly process the request
359 } 359 }
360 360
@@ -365,7 +365,7 @@ private:
365 std::chrono::system_clock::now().time_since_epoch()) 365 std::chrono::system_clock::now().time_since_epoch())
366 .count()}; 366 .count()};
367 IPC::ResponseBuilder rb{ctx, 4}; 367 IPC::ResponseBuilder rb{ctx, 4};
368 rb.Push(RESULT_SUCCESS); 368 rb.Push(ResultSuccess);
369 rb.PushRaw<s64>(server_time); 369 rb.PushRaw<s64>(server_time);
370 } 370 }
371}; 371};
@@ -389,7 +389,7 @@ private:
389 LOG_DEBUG(Service_NIM, "called"); 389 LOG_DEBUG(Service_NIM, "called");
390 390
391 IPC::ResponseBuilder rb{ctx, 2, 0, 1}; 391 IPC::ResponseBuilder rb{ctx, 2, 0, 1};
392 rb.Push(RESULT_SUCCESS); 392 rb.Push(ResultSuccess);
393 rb.PushIpcInterface<IEnsureNetworkClockAvailabilityService>(system); 393 rb.PushIpcInterface<IEnsureNetworkClockAvailabilityService>(system);
394 } 394 }
395 395
@@ -398,14 +398,14 @@ private:
398 LOG_WARNING(Service_NIM, "(STUBBED) called"); 398 LOG_WARNING(Service_NIM, "(STUBBED) called");
399 399
400 IPC::ResponseBuilder rb{ctx, 2}; 400 IPC::ResponseBuilder rb{ctx, 2};
401 rb.Push(RESULT_SUCCESS); 401 rb.Push(ResultSuccess);
402 } 402 }
403 403
404 void ResumeAutonomicTimeCorrection(Kernel::HLERequestContext& ctx) { 404 void ResumeAutonomicTimeCorrection(Kernel::HLERequestContext& ctx) {
405 LOG_WARNING(Service_NIM, "(STUBBED) called"); 405 LOG_WARNING(Service_NIM, "(STUBBED) called");
406 406
407 IPC::ResponseBuilder rb{ctx, 2}; 407 IPC::ResponseBuilder rb{ctx, 2};
408 rb.Push(RESULT_SUCCESS); 408 rb.Push(ResultSuccess);
409 } 409 }
410}; 410};
411 411