forked from Mirror/Ryujinx
2989c163a8
* editorconfig: Add default charset * Change file encoding from UTF-8-BOM to UTF-8
12 lines
288 B
C#
12 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);
|
|
}
|
|
}
|
|
}
|