summaryrefslogtreecommitdiffstats
path: root/src/core/hle/result.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-05-21 07:06:31 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2021-06-02 06:39:27 +0200
commita0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484 (patch)
tree7d6a0f2189410ff77f9e768704abcfea9ef34f3b /src/core/hle/result.h
parentgeneral: Replace RESULT_SUCCESS with ResultSuccess (diff)
downloadyuzu-a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484.tar
yuzu-a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484.tar.gz
yuzu-a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484.tar.bz2
yuzu-a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484.tar.lz
yuzu-a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484.tar.xz
yuzu-a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484.tar.zst
yuzu-a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484.zip
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);
* @note This should only be used when a particular error code
* is not known yet.
*/
-constexpr ResultCode RESULT_UNKNOWN(UINT32_MAX);
+constexpr ResultCode ResultUnknown(UINT32_MAX);
/**
* This is an optional value type. It holds a `ResultCode` and, if that code is a success code,
@@ -191,7 +191,7 @@ class ResultVal {
public:
/// Constructs an empty `ResultVal` with the given error code. The code must not be a success
/// code.
- ResultVal(ResultCode error_code = RESULT_UNKNOWN) : result_code(error_code) {
+ ResultVal(ResultCode error_code = ResultUnknown) : result_code(error_code) {
ASSERT(error_code.IsError());
}