Ryujinx/src/Ryujinx.Horizon/LibHacResultExtensions.cs

13 lines
293 B
C#
Raw Normal View History

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);
}
}
}