aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon/LibHacResultExtensions.cs
blob: 8c994f14951bd1b821b4cac719946b884a917cc7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
using Ryujinx.Horizon.Common;

namespace Ryujinx.Horizon
{
    public static class LibHacResultExtensions
    {
        public static Result ToHorizonResult(this LibHac.Result result)
        {
            return new Result((int)result.Module, (int)result.Description);
        }
    }
}