diff options
Diffstat (limited to 'Ryujinx.HLE/HOS/ErrorCode.cs')
-rw-r--r-- | Ryujinx.HLE/HOS/ErrorCode.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Ryujinx.HLE/HOS/ErrorCode.cs b/Ryujinx.HLE/HOS/ErrorCode.cs new file mode 100644 index 00000000..767664f8 --- /dev/null +++ b/Ryujinx.HLE/HOS/ErrorCode.cs @@ -0,0 +1,10 @@ +namespace Ryujinx.HLE.HOS +{ + static class ErrorCode + { + public static uint MakeError(ErrorModule Module, int Code) + { + return (uint)Module | ((uint)Code << 9); + } + } +}
\ No newline at end of file |