diff options
| author | bunnei <bunneidev@gmail.com> | 2018-03-01 22:14:31 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-01 22:14:31 -0500 |
| commit | 46fc7d85023f4449b542f0c58830421d667f92b7 (patch) | |
| tree | a605aabd8c776bebea1111fccd8df01d569d5170 /src/core/hle/result.h | |
| parent | b1709410dd9b1f9ed9bf76f54ce82b5e7f89ab66 (diff) | |
| parent | 3209cff5307ab16044ccc22e6b922545aae8215d (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.h | 4 |
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; } }; |
