mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-28 03:23:05 +00:00
12 lines
293 B
C#
12 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);
|
|
}
|
|
}
|
|
}
|