aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/acc
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-05-21 01:06:31 -0400
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-06-02 00:39:27 -0400
commita0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484 (patch)
tree7d6a0f2189410ff77f9e768704abcfea9ef34f3b /src/core/hle/service/acc
parent12c1766997f2596b4b1b1a6a411e4f6d56605ee7 (diff)
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.cpp6
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:
LOG_ERROR(Service_ACC, "Failed to get profile base and data for user={}",
user_id.Format());
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(RESULT_UNKNOWN); // TODO(ogniK): Get actual error code
+ rb.Push(ResultUnknown); // TODO(ogniK): Get actual error code
}
}
@@ -318,7 +318,7 @@ protected:
} else {
LOG_ERROR(Service_ACC, "Failed to get profile base for user={}", user_id.Format());
IPC::ResponseBuilder rb{ctx, 2};
- rb.Push(RESULT_UNKNOWN); // TODO(ogniK): Get actual error code
+ rb.Push(ResultUnknown); // TODO(ogniK): Get actual error code
}
}
@@ -903,7 +903,7 @@ void Module::Interface::TrySelectUserWithoutInteraction(Kernel::HLERequestContex
const auto user_list = profile_manager->GetAllUsers();
if (std::all_of(user_list.begin(), user_list.end(),
[](const auto& user) { return user.uuid == Common::INVALID_UUID; })) {
- rb.Push(RESULT_UNKNOWN); // TODO(ogniK): Find the correct error code
+ rb.Push(ResultUnknown); // TODO(ogniK): Find the correct error code
rb.PushRaw<u128>(Common::INVALID_UUID);
return;
}