mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-03-12 10:04:24 +00: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);
|
|
}
|
|
}
|
|
}
|