Ryujinx/Ryujinx.HLE/HOS/ErrorCode.cs

10 lines
208 B
C#
Raw Normal View History

namespace Ryujinx.HLE.HOS
{
static class ErrorCode
{
2018-12-01 21:01:59 +01:00
public static uint MakeError(ErrorModule module, int code)
{
2018-12-01 21:01:59 +01:00
return (uint)module | ((uint)code << 9);
}
}
}