diff options
| author | 2021-05-21 01:06:31 -0400 | |
|---|---|---|
| committer | 2021-06-02 00:39:27 -0400 | |
| commit | a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484 (patch) | |
| tree | 7d6a0f2189410ff77f9e768704abcfea9ef34f3b /src/core/hle/service/acc | |
| parent | general: Replace RESULT_SUCCESS with ResultSuccess (diff) | |
| download | yuzu-a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484.tar.gz yuzu-a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484.tar.xz yuzu-a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484.zip | |
general: Replace RESULT_UNKNOWN with ResultUnknown
Transition to PascalCase for result names.
Diffstat (limited to 'src/core/hle/service/acc')
| -rw-r--r-- | src/core/hle/service/acc/acc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cpp index ecf815484..d1c1fb71d 100644 --- a/src/core/hle/service/acc/acc.cpp +++ b/src/core/hle/service/acc/acc.cpp | |||
| @@ -304,7 +304,7 @@ protected: | |||
| 304 | LOG_ERROR(Service_ACC, "Failed to get profile base and data for user={}", | 304 | LOG_ERROR(Service_ACC, "Failed to get profile base and data for user={}", |
| 305 | user_id.Format()); | 305 | user_id.Format()); |
| 306 | IPC::ResponseBuilder rb{ctx, 2}; | 306 | IPC::ResponseBuilder rb{ctx, 2}; |
| 307 | rb.Push(RESULT_UNKNOWN); // TODO(ogniK): Get actual error code | 307 | rb.Push(ResultUnknown); // TODO(ogniK): Get actual error code |
| 308 | } | 308 | } |
| 309 | } | 309 | } |
| 310 | 310 | ||
| @@ -318,7 +318,7 @@ protected: | |||
| 318 | } else { | 318 | } else { |
| 319 | LOG_ERROR(Service_ACC, "Failed to get profile base for user={}", user_id.Format()); | 319 | LOG_ERROR(Service_ACC, "Failed to get profile base for user={}", user_id.Format()); |
| 320 | IPC::ResponseBuilder rb{ctx, 2}; | 320 | IPC::ResponseBuilder rb{ctx, 2}; |
| 321 | rb.Push(RESULT_UNKNOWN); // TODO(ogniK): Get actual error code | 321 | rb.Push(ResultUnknown); // TODO(ogniK): Get actual error code |
| 322 | } | 322 | } |
| 323 | } | 323 | } |
| 324 | 324 | ||
| @@ -903,7 +903,7 @@ void Module::Interface::TrySelectUserWithoutInteraction(Kernel::HLERequestContex | |||
| 903 | const auto user_list = profile_manager->GetAllUsers(); | 903 | const auto user_list = profile_manager->GetAllUsers(); |
| 904 | if (std::all_of(user_list.begin(), user_list.end(), | 904 | if (std::all_of(user_list.begin(), user_list.end(), |
| 905 | [](const auto& user) { return user.uuid == Common::INVALID_UUID; })) { | 905 | [](const auto& user) { return user.uuid == Common::INVALID_UUID; })) { |
| 906 | rb.Push(RESULT_UNKNOWN); // TODO(ogniK): Find the correct error code | 906 | rb.Push(ResultUnknown); // TODO(ogniK): Find the correct error code |
| 907 | rb.PushRaw<u128>(Common::INVALID_UUID); | 907 | rb.PushRaw<u128>(Common::INVALID_UUID); |
| 908 | return; | 908 | return; |
| 909 | } | 909 | } |