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

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