mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-07-04 08:49:33 +02:00
13 lines
288 B
C#
13 lines
288 B
C#
using Ryujinx.Horizon.Common;
|
|
|
|
namespace Ryujinx.Horizon
|
|
{
|
|
public static class LibHacResultExtensions
|
|
{
|
|
public static Result ToHorizonResult(this LibHac.Result result)
|
|
{
|
|
return new Result((int)result.Module, (int)result.Description);
|
|
}
|
|
}
|
|
}
|