mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-02 16:50:20 -07:00
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);
|
|
}
|
|
}
|
|
}
|