forked from Mirror/Ryujinx
13 lines
293 B
C#
13 lines
293 B
C#
|
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);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|