aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Horizon/LibHacResultExtensions.cs
blob: 2abed197de414b773725b3e17e148daa21914058 (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);
        }
    }
}