summaryrefslogtreecommitdiff
path: root/src/core/hle/result.h
diff options
context:
space:
mode:
authorGravatar Morph2021-05-21 01:06:31 -0400
committerGravatar Morph2021-06-02 00:39:27 -0400
commita0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484 (patch)
tree7d6a0f2189410ff77f9e768704abcfea9ef34f3b /src/core/hle/result.h
parentgeneral: Replace RESULT_SUCCESS with ResultSuccess (diff)
downloadyuzu-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/result.h')
-rw-r--r--src/core/hle/result.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h
index 9ec124cf4..605236552 100644
--- a/src/core/hle/result.h
+++ b/src/core/hle/result.h
@@ -152,7 +152,7 @@ constexpr ResultCode ResultSuccess(0);
152 * @note This should only be used when a particular error code 152 * @note This should only be used when a particular error code
153 * is not known yet. 153 * is not known yet.
154 */ 154 */
155constexpr ResultCode RESULT_UNKNOWN(UINT32_MAX); 155constexpr ResultCode ResultUnknown(UINT32_MAX);
156 156
157/** 157/**
158 * This is an optional value type. It holds a `ResultCode` and, if that code is a success code, 158 * This is an optional value type. It holds a `ResultCode` and, if that code is a success code,
@@ -191,7 +191,7 @@ class ResultVal {
191public: 191public:
192 /// Constructs an empty `ResultVal` with the given error code. The code must not be a success 192 /// Constructs an empty `ResultVal` with the given error code. The code must not be a success
193 /// code. 193 /// code.
194 ResultVal(ResultCode error_code = RESULT_UNKNOWN) : result_code(error_code) { 194 ResultVal(ResultCode error_code = ResultUnknown) : result_code(error_code) {
195 ASSERT(error_code.IsError()); 195 ASSERT(error_code.IsError());
196 } 196 }
197 197