mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-30 20:43:05 +00:00
550747eac6
* Horizon: Impl Prepo, Fixes bugs, Clean things * remove ToArray() * resultCode > status * Remove old services * Addresses gdkchan's comments and more cleanup * Addresses Gdkchan's feedback 2 * Reorganize services, make sure service are loaded before guest Co-Authored-By: gdkchan <5624669+gdkchan@users.noreply.github.com> * Create interfaces for lm and sm Co-authored-by: gdkchan <5624669+gdkchan@users.noreply.github.com>
27 lines
No EOL
1.4 KiB
C#
27 lines
No EOL
1.4 KiB
C#
using Ryujinx.Horizon.Common;
|
|
|
|
namespace Ryujinx.Horizon.Sdk.Sf
|
|
{
|
|
static class SfResult
|
|
{
|
|
public const int ModuleId = 10;
|
|
|
|
public static Result NotSupported => new(ModuleId, 1);
|
|
public static Result InvalidHeaderSize => new(ModuleId, 202);
|
|
public static Result InvalidInHeader => new(ModuleId, 211);
|
|
public static Result InvalidOutHeader => new(ModuleId, 212);
|
|
public static Result UnknownCommandId => new(ModuleId, 221);
|
|
public static Result InvalidOutRawSize => new(ModuleId, 232);
|
|
public static Result InvalidInObjectsCount => new(ModuleId, 235);
|
|
public static Result InvalidOutObjectsCount => new(ModuleId, 236);
|
|
public static Result InvalidInObject => new(ModuleId, 239);
|
|
public static Result TargetNotFound => new(ModuleId, 261);
|
|
public static Result OutOfDomainEntries => new(ModuleId, 301);
|
|
public static Result InvalidatedByUser => new(ModuleId, 802);
|
|
public static Result RequestDeferredByUser => new(ModuleId, 812);
|
|
|
|
public static bool RequestContextChanged(Result result) => result.InRange(800, 899);
|
|
public static bool Invalidated(Result result) => result.InRange(801, 809);
|
|
public static bool RequestDeferred(Result result) => result.InRange(811, 819);
|
|
}
|
|
} |