summaryrefslogtreecommitdiff
path: root/src/core/hle/result.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-03-01 22:14:31 -0500
committerGitHub <noreply@github.com>2018-03-01 22:14:31 -0500
commit46fc7d85023f4449b542f0c58830421d667f92b7 (patch)
treea605aabd8c776bebea1111fccd8df01d569d5170 /src/core/hle/result.h
parentb1709410dd9b1f9ed9bf76f54ce82b5e7f89ab66 (diff)
parent3209cff5307ab16044ccc22e6b922545aae8215d (diff)
Merge pull request #216 from Subv/savedata
Implemented the SaveData archive and MountSaveData.
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 656e1b4a7..97fef7a48 100644
--- a/src/core/hle/result.h
+++ b/src/core/hle/result.h
@@ -108,11 +108,11 @@ union ResultCode {
}
constexpr bool IsSuccess() const {
- return is_error.ExtractValue(raw) == 0;
+ return raw == 0;
}
constexpr bool IsError() const {
- return is_error.ExtractValue(raw) == 1;
+ return raw != 0;
}
};