2023-05-09 23:46:23 +02:00
|
|
|
|
using Ryujinx.Horizon.Common;
|
|
|
|
|
|
|
|
|
|
namespace Ryujinx.Horizon
|
|
|
|
|
{
|
2023-09-27 19:21:26 +02:00
|
|
|
|
public static class LibHacResultExtensions
|
2023-05-09 23:46:23 +02:00
|
|
|
|
{
|
|
|
|
|
public static Result ToHorizonResult(this LibHac.Result result)
|
|
|
|
|
{
|
|
|
|
|
return new Result((int)result.Module, (int)result.Description);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|