aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Core/OsHle/Objects/ErrorCode.cs
blob: 20f97f84841d99f890235f2ed456383e6e3e6250 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
using System;

namespace Ryujinx.Core.OsHle.Objects
{
    static class ErrorCode
    {
        public static long MakeError(ErrorModule Module, int Code)
        {
            return (int)Module | (Code << 9);
        }
    }
}