forked from ShuriZma/suyu
1
0
Fork 0

hle/result: Remove unnecessary bitfield entry for ResultCode

This is a hold over from the 3DS error codes in Citra.
This commit is contained in:
Lioncash 2019-04-05 16:34:31 -04:00
parent 66be5150d6
commit 5dfcf7cf26
1 changed files with 0 additions and 4 deletions

View File

@ -119,10 +119,6 @@ union ResultCode {
BitField<0, 9, ErrorModule> module; BitField<0, 9, ErrorModule> module;
BitField<9, 13, u32> description; BitField<9, 13, u32> description;
// The last bit of `level` is checked by apps and the kernel to determine if a result code is an
// error
BitField<31, 1, u32> is_error;
constexpr explicit ResultCode(u32 raw) : raw(raw) {} constexpr explicit ResultCode(u32 raw) : raw(raw) {}
constexpr ResultCode(ErrorModule module_, u32 description_) constexpr ResultCode(ErrorModule module_, u32 description_)