mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2026-02-16 02:56:50 -05: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);
|
|
}
|
|
}
|
|
}
|