diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-02-21 18:56:52 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-02-21 18:56:52 -0300 |
| commit | b2f733da7839ff8ba7a70a529cb9eb3eea9f0af6 (patch) | |
| tree | 2ed5913d93ecf3deeabfe706934b57ee6f2309b6 /Ryujinx.Core/OsHle/Objects/ErrorCode.cs | |
| parent | 3696255457dce06111ce5a07544d30239366ebf6 (diff) | |
FspSrv improvements, also fix ImageEnd for NROs without a MOD0 section
Diffstat (limited to 'Ryujinx.Core/OsHle/Objects/ErrorCode.cs')
| -rw-r--r-- | Ryujinx.Core/OsHle/Objects/ErrorCode.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Ryujinx.Core/OsHle/Objects/ErrorCode.cs b/Ryujinx.Core/OsHle/Objects/ErrorCode.cs new file mode 100644 index 00000000..20f97f84 --- /dev/null +++ b/Ryujinx.Core/OsHle/Objects/ErrorCode.cs @@ -0,0 +1,12 @@ +using System; + +namespace Ryujinx.Core.OsHle.Objects +{ + static class ErrorCode + { + public static long MakeError(ErrorModule Module, int Code) + { + return (int)Module | (Code << 9); + } + } +}
\ No newline at end of file |
