mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Move Results to their correct namespaces
This commit is contained in:
parent
b992cdf8c4
commit
981b902606
10 changed files with 282 additions and 47 deletions
|
@ -14,7 +14,7 @@ Id,Name,Default Namespace
|
|||
20,Kvdb,
|
||||
21,Sm,
|
||||
22,Ro,
|
||||
24,Sdmmc,FsSrv
|
||||
24,Sdmmc,
|
||||
26,Spl,
|
||||
30,Ddsf,
|
||||
101,I2C,
|
||||
|
|
|
|
@ -7,6 +7,8 @@ Dd,,
|
|||
Lr,,Lr/ResultLr.cs
|
||||
Loader,,Loader/ResultLoader.cs
|
||||
Sf,,Sf/ResultSf.cs
|
||||
Sf.Cmif,Cmif,Sf/Cmif/ResultCmif.cs
|
||||
Sf.Impl,SfImpl,Sf/Impl/ResultSfImpl.cs
|
||||
Hipc,,
|
||||
Dnmt,,
|
||||
Pm,,
|
||||
|
@ -14,7 +16,7 @@ Ns,,
|
|||
Kvdb,,Kvdb/ResultKvdb.cs
|
||||
Sm,,Sm/ResultSm.cs
|
||||
Ro,,
|
||||
FsSrv,Sdmmc,FsSrv/ResultSdmmc.cs
|
||||
Sdmmc,,Sdmmc/ResultSdmmc.cs
|
||||
Spl,,Spl/ResultSpl.cs
|
||||
Ddsf,,
|
||||
I2C,,
|
||||
|
|
|
|
@ -841,21 +841,24 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
|
|||
10,1,,,,NotSupported,
|
||||
10,3,,,,PreconditionViolation,
|
||||
|
||||
# These should be in the sf::cmif namespace
|
||||
10,202,,,,InvalidHeaderSize,
|
||||
10,211,,,,InvalidInHeader,
|
||||
10,221,,,,UnknownCommandId,
|
||||
10,232,,,,InvalidOutRawSize,
|
||||
10,235,,,,InvalidNumInObjects,
|
||||
10,236,,,,InvalidNumOutObjects,
|
||||
10,239,,,,InvalidInObject,
|
||||
10,261,,,,TargetNotFound,
|
||||
10,301,,,,OutOfDomainEntries,
|
||||
10,10,19,,,MemoryAllocationFailed,
|
||||
10,11,,,Sf.Cmif,CmifProxyAllocationFailed,
|
||||
|
||||
# These should be in the sf::impl namespace
|
||||
10,800,899,a,,RequestContextChanged,
|
||||
10,801,809,a,,RequestInvalidated,
|
||||
10,802,,,,RequestInvalidatedByUser,
|
||||
10,202,,,Sf.Cmif,InvalidCmifHeaderSize,
|
||||
10,211,,,Sf.Cmif,InvalidCmifInHeader,
|
||||
10,212,,,Sf.Cmif,InvalidCmifOutHeader,
|
||||
10,221,,,Sf.Cmif,UnknownMethodId,
|
||||
10,231,,,Sf.Cmif,InvalidInRawSize,
|
||||
10,232,,,Sf.Cmif,InvalidOutRawSize,
|
||||
10,235,,,Sf.Cmif,InvalidInObjectCount,
|
||||
10,236,,,Sf.Cmif,InvalidOutObjectCount,
|
||||
10,239,,,Sf.Cmif,InvalidInObject,
|
||||
10,261,,,Sf.Cmif,TargetObjectNotFound,
|
||||
10,301,,,Sf.Cmif,OutOfDomainEntry,
|
||||
|
||||
10,800,899,a,Sf.Impl,RequestContextChanged,
|
||||
10,801,809,a,Sf.Impl,RequestInvalidated,
|
||||
10,802,,,Sf.Impl,RequestInvalidatedByUser,
|
||||
|
||||
10,811,819,a,,RequestDeferred,
|
||||
10,812,,,,RequestDeferredByUser,
|
||||
|
|
Can't render this file because it has a wrong number of fields in line 844.
|
|
@ -3,7 +3,6 @@ using System.Diagnostics;
|
|||
using System.Runtime.CompilerServices;
|
||||
using LibHac.Common;
|
||||
using LibHac.Fs.Impl;
|
||||
using LibHac.FsSrv;
|
||||
using LibHac.FsSrv.Sf;
|
||||
using LibHac.FsSystem;
|
||||
using LibHac.Util;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using LibHac.Diag;
|
||||
using LibHac.FsSrv;
|
||||
using LibHac.FsSrv.Sf;
|
||||
using LibHac.Ncm;
|
||||
using LibHac.Sf;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
using System;
|
||||
using LibHac.Common;
|
||||
using LibHac.Fs.Impl;
|
||||
using LibHac.FsSrv;
|
||||
using LibHac.FsSrv.Sf;
|
||||
using IFileSystemSf = LibHac.FsSrv.Sf.IFileSystem;
|
||||
|
||||
|
|
185
src/LibHac/Sdmmc/ResultSdmmc.cs
Normal file
185
src/LibHac/Sdmmc/ResultSdmmc.cs
Normal file
|
@ -0,0 +1,185 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// This file was automatically generated.
|
||||
// Changes to this file will be lost when the file is regenerated.
|
||||
//
|
||||
// To change this file, modify /build/CodeGen/results.csv at the root of this
|
||||
// repo and run the build script.
|
||||
//
|
||||
// The script can be run with the "codegen" option to run only the
|
||||
// code generation portion of the build.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace LibHac.Sdmmc
|
||||
{
|
||||
public static class ResultSdmmc
|
||||
{
|
||||
public const int ModuleSdmmc = 24;
|
||||
|
||||
/// <summary>Error code: 2024-0001; Inner value: 0x218</summary>
|
||||
public static Result.Base NoDevice => new Result.Base(ModuleSdmmc, 1);
|
||||
/// <summary>Error code: 2024-0002; Inner value: 0x418</summary>
|
||||
public static Result.Base NotActivated => new Result.Base(ModuleSdmmc, 2);
|
||||
/// <summary>Error code: 2024-0003; Inner value: 0x618</summary>
|
||||
public static Result.Base DeviceRemoved => new Result.Base(ModuleSdmmc, 3);
|
||||
/// <summary>Error code: 2024-0004; Inner value: 0x818</summary>
|
||||
public static Result.Base NotAwakened => new Result.Base(ModuleSdmmc, 4);
|
||||
|
||||
/// <summary>Error code: 2024-0032; Range: 32-126; Inner value: 0x4018</summary>
|
||||
public static Result.Base CommunicationError => new Result.Base(ModuleSdmmc, 32, 126);
|
||||
/// <summary>Error code: 2024-0033; Range: 33-46; Inner value: 0x4218</summary>
|
||||
public static Result.Base CommunicationNotAttained => new Result.Base(ModuleSdmmc, 33, 46);
|
||||
/// <summary>Error code: 2024-0034; Inner value: 0x4418</summary>
|
||||
public static Result.Base ResponseIndexError => new Result.Base(ModuleSdmmc, 34);
|
||||
/// <summary>Error code: 2024-0035; Inner value: 0x4618</summary>
|
||||
public static Result.Base ResponseEndBitError => new Result.Base(ModuleSdmmc, 35);
|
||||
/// <summary>Error code: 2024-0036; Inner value: 0x4818</summary>
|
||||
public static Result.Base ResponseCrcError => new Result.Base(ModuleSdmmc, 36);
|
||||
/// <summary>Error code: 2024-0037; Inner value: 0x4a18</summary>
|
||||
public static Result.Base ResponseTimeoutError => new Result.Base(ModuleSdmmc, 37);
|
||||
/// <summary>Error code: 2024-0038; Inner value: 0x4c18</summary>
|
||||
public static Result.Base DataEndBitError => new Result.Base(ModuleSdmmc, 38);
|
||||
/// <summary>Error code: 2024-0039; Inner value: 0x4e18</summary>
|
||||
public static Result.Base DataCrcError => new Result.Base(ModuleSdmmc, 39);
|
||||
/// <summary>Error code: 2024-0040; Inner value: 0x5018</summary>
|
||||
public static Result.Base DataTimeoutError => new Result.Base(ModuleSdmmc, 40);
|
||||
/// <summary>Error code: 2024-0041; Inner value: 0x5218</summary>
|
||||
public static Result.Base AutoCommandResponseIndexError => new Result.Base(ModuleSdmmc, 41);
|
||||
/// <summary>Error code: 2024-0042; Inner value: 0x5418</summary>
|
||||
public static Result.Base AutoCommandResponseEndBitError => new Result.Base(ModuleSdmmc, 42);
|
||||
/// <summary>Error code: 2024-0043; Inner value: 0x5618</summary>
|
||||
public static Result.Base AutoCommandResponseCrcError => new Result.Base(ModuleSdmmc, 43);
|
||||
/// <summary>Error code: 2024-0044; Inner value: 0x5818</summary>
|
||||
public static Result.Base AutoCommandResponseTimeoutError => new Result.Base(ModuleSdmmc, 44);
|
||||
/// <summary>Error code: 2024-0045; Inner value: 0x5a18</summary>
|
||||
public static Result.Base CommandCompleteSoftwareTimeout => new Result.Base(ModuleSdmmc, 45);
|
||||
/// <summary>Error code: 2024-0046; Inner value: 0x5c18</summary>
|
||||
public static Result.Base TransferCompleteSoftwareTimeout => new Result.Base(ModuleSdmmc, 46);
|
||||
|
||||
/// <summary>Error code: 2024-0048; Range: 48-70; Inner value: 0x6018</summary>
|
||||
public static Result.Base DeviceStatusHasError => new Result.Base(ModuleSdmmc, 48, 70);
|
||||
/// <summary>Error code: 2024-0049; Inner value: 0x6218</summary>
|
||||
public static Result.Base DeviceStatusAddressOutOfRange => new Result.Base(ModuleSdmmc, 49);
|
||||
/// <summary>Error code: 2024-0050; Inner value: 0x6418</summary>
|
||||
public static Result.Base DeviceStatusAddressMisaligned => new Result.Base(ModuleSdmmc, 50);
|
||||
/// <summary>Error code: 2024-0051; Inner value: 0x6618</summary>
|
||||
public static Result.Base DeviceStatusBlockLenError => new Result.Base(ModuleSdmmc, 51);
|
||||
/// <summary>Error code: 2024-0052; Inner value: 0x6818</summary>
|
||||
public static Result.Base DeviceStatusEraseSeqError => new Result.Base(ModuleSdmmc, 52);
|
||||
/// <summary>Error code: 2024-0053; Inner value: 0x6a18</summary>
|
||||
public static Result.Base DeviceStatusEraseParam => new Result.Base(ModuleSdmmc, 53);
|
||||
/// <summary>Error code: 2024-0054; Inner value: 0x6c18</summary>
|
||||
public static Result.Base DeviceStatusWpViolation => new Result.Base(ModuleSdmmc, 54);
|
||||
/// <summary>Error code: 2024-0055; Inner value: 0x6e18</summary>
|
||||
public static Result.Base DeviceStatusLockUnlockFailed => new Result.Base(ModuleSdmmc, 55);
|
||||
/// <summary>Error code: 2024-0056; Inner value: 0x7018</summary>
|
||||
public static Result.Base DeviceStatusComCrcError => new Result.Base(ModuleSdmmc, 56);
|
||||
/// <summary>Error code: 2024-0057; Inner value: 0x7218</summary>
|
||||
public static Result.Base DeviceStatusIllegalCommand => new Result.Base(ModuleSdmmc, 57);
|
||||
/// <summary>Error code: 2024-0058; Inner value: 0x7418</summary>
|
||||
public static Result.Base DeviceStatusDeviceEccFailed => new Result.Base(ModuleSdmmc, 58);
|
||||
/// <summary>Error code: 2024-0059; Inner value: 0x7618</summary>
|
||||
public static Result.Base DeviceStatusCcError => new Result.Base(ModuleSdmmc, 59);
|
||||
/// <summary>Error code: 2024-0060; Inner value: 0x7818</summary>
|
||||
public static Result.Base DeviceStatusError => new Result.Base(ModuleSdmmc, 60);
|
||||
/// <summary>Error code: 2024-0061; Inner value: 0x7a18</summary>
|
||||
public static Result.Base DeviceStatusCidCsdOverwrite => new Result.Base(ModuleSdmmc, 61);
|
||||
/// <summary>Error code: 2024-0062; Inner value: 0x7c18</summary>
|
||||
public static Result.Base DeviceStatusWpEraseSkip => new Result.Base(ModuleSdmmc, 62);
|
||||
/// <summary>Error code: 2024-0063; Inner value: 0x7e18</summary>
|
||||
public static Result.Base DeviceStatusEraseReset => new Result.Base(ModuleSdmmc, 63);
|
||||
/// <summary>Error code: 2024-0064; Inner value: 0x8018</summary>
|
||||
public static Result.Base DeviceStatusSwitchError => new Result.Base(ModuleSdmmc, 64);
|
||||
|
||||
/// <summary>Error code: 2024-0072; Inner value: 0x9018</summary>
|
||||
public static Result.Base UnexpectedDeviceState => new Result.Base(ModuleSdmmc, 72);
|
||||
/// <summary>Error code: 2024-0073; Inner value: 0x9218</summary>
|
||||
public static Result.Base UnexpectedDeviceCsdValue => new Result.Base(ModuleSdmmc, 73);
|
||||
/// <summary>Error code: 2024-0074; Inner value: 0x9418</summary>
|
||||
public static Result.Base AbortTransactionSoftwareTimeout => new Result.Base(ModuleSdmmc, 74);
|
||||
/// <summary>Error code: 2024-0075; Inner value: 0x9618</summary>
|
||||
public static Result.Base CommandInhibitCmdSoftwareTimeout => new Result.Base(ModuleSdmmc, 75);
|
||||
/// <summary>Error code: 2024-0076; Inner value: 0x9818</summary>
|
||||
public static Result.Base CommandInhibitDatSoftwareTimeout => new Result.Base(ModuleSdmmc, 76);
|
||||
/// <summary>Error code: 2024-0077; Inner value: 0x9a18</summary>
|
||||
public static Result.Base BusySoftwareTimeout => new Result.Base(ModuleSdmmc, 77);
|
||||
/// <summary>Error code: 2024-0078; Inner value: 0x9c18</summary>
|
||||
public static Result.Base IssueTuningCommandSoftwareTimeout => new Result.Base(ModuleSdmmc, 78);
|
||||
/// <summary>Error code: 2024-0079; Inner value: 0x9e18</summary>
|
||||
public static Result.Base TuningFailed => new Result.Base(ModuleSdmmc, 79);
|
||||
/// <summary>Error code: 2024-0080; Inner value: 0xa018</summary>
|
||||
public static Result.Base MmcInitializationSoftwareTimeout => new Result.Base(ModuleSdmmc, 80);
|
||||
/// <summary>Error code: 2024-0081; Inner value: 0xa218</summary>
|
||||
public static Result.Base MmcNotSupportExtendedCsd => new Result.Base(ModuleSdmmc, 81);
|
||||
/// <summary>Error code: 2024-0082; Inner value: 0xa418</summary>
|
||||
public static Result.Base UnexpectedMmcExtendedCsdValue => new Result.Base(ModuleSdmmc, 82);
|
||||
/// <summary>Error code: 2024-0083; Inner value: 0xa618</summary>
|
||||
public static Result.Base MmcEraseSoftwareTimeout => new Result.Base(ModuleSdmmc, 83);
|
||||
/// <summary>Error code: 2024-0084; Inner value: 0xa818</summary>
|
||||
public static Result.Base SdCardValidationError => new Result.Base(ModuleSdmmc, 84);
|
||||
/// <summary>Error code: 2024-0085; Inner value: 0xaa18</summary>
|
||||
public static Result.Base SdCardInitializationSoftwareTimeout => new Result.Base(ModuleSdmmc, 85);
|
||||
/// <summary>Error code: 2024-0086; Inner value: 0xac18</summary>
|
||||
public static Result.Base SdCardGetValidRcaSoftwareTimeout => new Result.Base(ModuleSdmmc, 86);
|
||||
/// <summary>Error code: 2024-0087; Inner value: 0xae18</summary>
|
||||
public static Result.Base UnexpectedSdCardAcmdDisabled => new Result.Base(ModuleSdmmc, 87);
|
||||
/// <summary>Error code: 2024-0088; Inner value: 0xb018</summary>
|
||||
public static Result.Base SdCardNotSupportSwitchFunctionStatus => new Result.Base(ModuleSdmmc, 88);
|
||||
/// <summary>Error code: 2024-0089; Inner value: 0xb218</summary>
|
||||
public static Result.Base UnexpectedSdCardSwitchFunctionStatus => new Result.Base(ModuleSdmmc, 89);
|
||||
/// <summary>Error code: 2024-0090; Inner value: 0xb418</summary>
|
||||
public static Result.Base SdCardNotSupportAccessMode => new Result.Base(ModuleSdmmc, 90);
|
||||
/// <summary>Error code: 2024-0091; Inner value: 0xb618</summary>
|
||||
public static Result.Base SdCardNot4BitBusWidthAtUhsIMode => new Result.Base(ModuleSdmmc, 91);
|
||||
/// <summary>Error code: 2024-0092; Inner value: 0xb818</summary>
|
||||
public static Result.Base SdCardNotSupportSdr104AndSdr50 => new Result.Base(ModuleSdmmc, 92);
|
||||
/// <summary>Error code: 2024-0093; Inner value: 0xba18</summary>
|
||||
public static Result.Base SdCardCannotSwitchAccessMode => new Result.Base(ModuleSdmmc, 93);
|
||||
/// <summary>Error code: 2024-0094; Inner value: 0xbc18</summary>
|
||||
public static Result.Base SdCardFailedSwitchAccessMode => new Result.Base(ModuleSdmmc, 94);
|
||||
/// <summary>Error code: 2024-0095; Inner value: 0xbe18</summary>
|
||||
public static Result.Base SdCardUnacceptableCurrentConsumption => new Result.Base(ModuleSdmmc, 95);
|
||||
/// <summary>Error code: 2024-0096; Inner value: 0xc018</summary>
|
||||
public static Result.Base SdCardNotReadyToVoltageSwitch => new Result.Base(ModuleSdmmc, 96);
|
||||
/// <summary>Error code: 2024-0097; Inner value: 0xc218</summary>
|
||||
public static Result.Base SdCardNotCompleteVoltageSwitch => new Result.Base(ModuleSdmmc, 97);
|
||||
|
||||
/// <summary>Error code: 2024-0128; Range: 128-158; Inner value: 0x10018</summary>
|
||||
public static Result.Base HostControllerUnexpected { [MethodImpl(MethodImplOptions.AggressiveInlining)] get => new Result.Base(ModuleSdmmc, 128, 158); }
|
||||
/// <summary>Error code: 2024-0129; Inner value: 0x10218</summary>
|
||||
public static Result.Base InternalClockStableSoftwareTimeout => new Result.Base(ModuleSdmmc, 129);
|
||||
/// <summary>Error code: 2024-0130; Inner value: 0x10418</summary>
|
||||
public static Result.Base SdHostStandardUnknownAutoCmdError => new Result.Base(ModuleSdmmc, 130);
|
||||
/// <summary>Error code: 2024-0131; Inner value: 0x10618</summary>
|
||||
public static Result.Base SdHostStandardUnknownError => new Result.Base(ModuleSdmmc, 131);
|
||||
/// <summary>Error code: 2024-0132; Inner value: 0x10818</summary>
|
||||
public static Result.Base SdmmcDllCalibrationSoftwareTimeout => new Result.Base(ModuleSdmmc, 132);
|
||||
/// <summary>Error code: 2024-0133; Inner value: 0x10a18</summary>
|
||||
public static Result.Base SdmmcDllApplicationSoftwareTimeout => new Result.Base(ModuleSdmmc, 133);
|
||||
/// <summary>Error code: 2024-0134; Inner value: 0x10c18</summary>
|
||||
public static Result.Base SdHostStandardFailSwitchTo18V => new Result.Base(ModuleSdmmc, 134);
|
||||
/// <summary>Error code: 2024-0135; Inner value: 0x10e18</summary>
|
||||
public static Result.Base DriveStrengthCalibrationNotCompleted => new Result.Base(ModuleSdmmc, 135);
|
||||
/// <summary>Error code: 2024-0136; Inner value: 0x11018</summary>
|
||||
public static Result.Base DriveStrengthCalibrationSoftwareTimeout => new Result.Base(ModuleSdmmc, 136);
|
||||
/// <summary>Error code: 2024-0137; Inner value: 0x11218</summary>
|
||||
public static Result.Base SdmmcCompShortToGnd => new Result.Base(ModuleSdmmc, 137);
|
||||
/// <summary>Error code: 2024-0138; Inner value: 0x11418</summary>
|
||||
public static Result.Base SdmmcCompOpen => new Result.Base(ModuleSdmmc, 138);
|
||||
|
||||
/// <summary>Error code: 2024-0160; Range: 160-190; Inner value: 0x14018</summary>
|
||||
public static Result.Base InternalError { [MethodImpl(MethodImplOptions.AggressiveInlining)] get => new Result.Base(ModuleSdmmc, 160, 190); }
|
||||
/// <summary>Error code: 2024-0161; Inner value: 0x14218</summary>
|
||||
public static Result.Base NoWaitedInterrupt => new Result.Base(ModuleSdmmc, 161);
|
||||
/// <summary>Error code: 2024-0162; Inner value: 0x14418</summary>
|
||||
public static Result.Base WaitInterruptSoftwareTimeout => new Result.Base(ModuleSdmmc, 162);
|
||||
|
||||
/// <summary>Error code: 2024-0192; Inner value: 0x18018</summary>
|
||||
public static Result.Base AbortCommandIssued => new Result.Base(ModuleSdmmc, 192);
|
||||
/// <summary>Error code: 2024-0200; Inner value: 0x19018</summary>
|
||||
public static Result.Base NotSupported => new Result.Base(ModuleSdmmc, 200);
|
||||
/// <summary>Error code: 2024-0201; Inner value: 0x19218</summary>
|
||||
public static Result.Base NotImplemented => new Result.Base(ModuleSdmmc, 201);
|
||||
}
|
||||
}
|
43
src/LibHac/Sf/Cmif/ResultCmif.cs
Normal file
43
src/LibHac/Sf/Cmif/ResultCmif.cs
Normal file
|
@ -0,0 +1,43 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// This file was automatically generated.
|
||||
// Changes to this file will be lost when the file is regenerated.
|
||||
//
|
||||
// To change this file, modify /build/CodeGen/results.csv at the root of this
|
||||
// repo and run the build script.
|
||||
//
|
||||
// The script can be run with the "codegen" option to run only the
|
||||
// code generation portion of the build.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
namespace LibHac.Sf.Cmif
|
||||
{
|
||||
public static class ResultCmif
|
||||
{
|
||||
public const int ModuleSf = 10;
|
||||
|
||||
/// <summary>Error code: 2010-0011; Inner value: 0x160a</summary>
|
||||
public static Result.Base CmifProxyAllocationFailed => new Result.Base(ModuleSf, 11);
|
||||
/// <summary>Error code: 2010-0202; Inner value: 0x1940a</summary>
|
||||
public static Result.Base InvalidCmifHeaderSize => new Result.Base(ModuleSf, 202);
|
||||
/// <summary>Error code: 2010-0211; Inner value: 0x1a60a</summary>
|
||||
public static Result.Base InvalidCmifInHeader => new Result.Base(ModuleSf, 211);
|
||||
/// <summary>Error code: 2010-0212; Inner value: 0x1a80a</summary>
|
||||
public static Result.Base InvalidCmifOutHeader => new Result.Base(ModuleSf, 212);
|
||||
/// <summary>Error code: 2010-0221; Inner value: 0x1ba0a</summary>
|
||||
public static Result.Base UnknownMethodId => new Result.Base(ModuleSf, 221);
|
||||
/// <summary>Error code: 2010-0231; Inner value: 0x1ce0a</summary>
|
||||
public static Result.Base InvalidInRawSize => new Result.Base(ModuleSf, 231);
|
||||
/// <summary>Error code: 2010-0232; Inner value: 0x1d00a</summary>
|
||||
public static Result.Base InvalidOutRawSize => new Result.Base(ModuleSf, 232);
|
||||
/// <summary>Error code: 2010-0235; Inner value: 0x1d60a</summary>
|
||||
public static Result.Base InvalidInObjectCount => new Result.Base(ModuleSf, 235);
|
||||
/// <summary>Error code: 2010-0236; Inner value: 0x1d80a</summary>
|
||||
public static Result.Base InvalidOutObjectCount => new Result.Base(ModuleSf, 236);
|
||||
/// <summary>Error code: 2010-0239; Inner value: 0x1de0a</summary>
|
||||
public static Result.Base InvalidInObject => new Result.Base(ModuleSf, 239);
|
||||
/// <summary>Error code: 2010-0261; Inner value: 0x20a0a</summary>
|
||||
public static Result.Base TargetObjectNotFound => new Result.Base(ModuleSf, 261);
|
||||
/// <summary>Error code: 2010-0301; Inner value: 0x25a0a</summary>
|
||||
public static Result.Base OutOfDomainEntry => new Result.Base(ModuleSf, 301);
|
||||
}
|
||||
}
|
27
src/LibHac/Sf/Impl/ResultSfImpl.cs
Normal file
27
src/LibHac/Sf/Impl/ResultSfImpl.cs
Normal file
|
@ -0,0 +1,27 @@
|
|||
//-----------------------------------------------------------------------------
|
||||
// This file was automatically generated.
|
||||
// Changes to this file will be lost when the file is regenerated.
|
||||
//
|
||||
// To change this file, modify /build/CodeGen/results.csv at the root of this
|
||||
// repo and run the build script.
|
||||
//
|
||||
// The script can be run with the "codegen" option to run only the
|
||||
// code generation portion of the build.
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
namespace LibHac.Sf.Impl
|
||||
{
|
||||
public static class ResultSfImpl
|
||||
{
|
||||
public const int ModuleSf = 10;
|
||||
|
||||
/// <summary>Error code: 2010-0800; Range: 800-899</summary>
|
||||
public static Result.Base.Abstract RequestContextChanged { [MethodImpl(MethodImplOptions.AggressiveInlining)] get => new Result.Base.Abstract(ModuleSf, 800, 899); }
|
||||
/// <summary>Error code: 2010-0801; Range: 801-809</summary>
|
||||
public static Result.Base.Abstract RequestInvalidated { [MethodImpl(MethodImplOptions.AggressiveInlining)] get => new Result.Base.Abstract(ModuleSf, 801, 809); }
|
||||
/// <summary>Error code: 2010-0802; Inner value: 0x6440a</summary>
|
||||
public static Result.Base RequestInvalidatedByUser => new Result.Base(ModuleSf, 802);
|
||||
}
|
||||
}
|
|
@ -21,35 +21,13 @@ namespace LibHac.Sf
|
|||
public static Result.Base NotSupported => new Result.Base(ModuleSf, 1);
|
||||
/// <summary>Error code: 2010-0003; Inner value: 0x60a</summary>
|
||||
public static Result.Base PreconditionViolation => new Result.Base(ModuleSf, 3);
|
||||
/// <summary>Error code: 2010-0202; Inner value: 0x1940a</summary>
|
||||
public static Result.Base InvalidHeaderSize => new Result.Base(ModuleSf, 202);
|
||||
/// <summary>Error code: 2010-0211; Inner value: 0x1a60a</summary>
|
||||
public static Result.Base InvalidInHeader => new Result.Base(ModuleSf, 211);
|
||||
/// <summary>Error code: 2010-0221; Inner value: 0x1ba0a</summary>
|
||||
public static Result.Base UnknownCommandId => new Result.Base(ModuleSf, 221);
|
||||
/// <summary>Error code: 2010-0232; Inner value: 0x1d00a</summary>
|
||||
public static Result.Base InvalidOutRawSize => new Result.Base(ModuleSf, 232);
|
||||
/// <summary>Error code: 2010-0235; Inner value: 0x1d60a</summary>
|
||||
public static Result.Base InvalidNumInObjects => new Result.Base(ModuleSf, 235);
|
||||
/// <summary>Error code: 2010-0236; Inner value: 0x1d80a</summary>
|
||||
public static Result.Base InvalidNumOutObjects => new Result.Base(ModuleSf, 236);
|
||||
/// <summary>Error code: 2010-0239; Inner value: 0x1de0a</summary>
|
||||
public static Result.Base InvalidInObject => new Result.Base(ModuleSf, 239);
|
||||
/// <summary>Error code: 2010-0261; Inner value: 0x20a0a</summary>
|
||||
public static Result.Base TargetNotFound => new Result.Base(ModuleSf, 261);
|
||||
/// <summary>Error code: 2010-0301; Inner value: 0x25a0a</summary>
|
||||
public static Result.Base OutOfDomainEntries => new Result.Base(ModuleSf, 301);
|
||||
|
||||
/// <summary>Error code: 2010-0800; Range: 800-899</summary>
|
||||
public static Result.Base.Abstract RequestContextChanged { [MethodImpl(MethodImplOptions.AggressiveInlining)] get => new Result.Base.Abstract(ModuleSf, 800, 899); }
|
||||
/// <summary>Error code: 2010-0801; Range: 801-809</summary>
|
||||
public static Result.Base.Abstract RequestInvalidated { [MethodImpl(MethodImplOptions.AggressiveInlining)] get => new Result.Base.Abstract(ModuleSf, 801, 809); }
|
||||
/// <summary>Error code: 2010-0802; Inner value: 0x6440a</summary>
|
||||
public static Result.Base RequestInvalidatedByUser => new Result.Base(ModuleSf, 802);
|
||||
/// <summary>Error code: 2010-0010; Range: 10-19; Inner value: 0x140a</summary>
|
||||
public static Result.Base MemoryAllocationFailed => new Result.Base(ModuleSf, 10, 19);
|
||||
|
||||
/// <summary>Error code: 2010-0811; Range: 811-819</summary>
|
||||
public static Result.Base.Abstract RequestDeferred { [MethodImpl(MethodImplOptions.AggressiveInlining)] get => new Result.Base.Abstract(ModuleSf, 811, 819); }
|
||||
/// <summary>Error code: 2010-0812; Inner value: 0x6580a</summary>
|
||||
public static Result.Base RequestDeferredByUser => new Result.Base(ModuleSf, 812);
|
||||
/// <summary>Error code: 2010-0811; Range: 811-819</summary>
|
||||
public static Result.Base.Abstract RequestDeferred { [MethodImpl(MethodImplOptions.AggressiveInlining)] get => new Result.Base.Abstract(ModuleSf, 811, 819); }
|
||||
/// <summary>Error code: 2010-0812; Inner value: 0x6580a</summary>
|
||||
public static Result.Base RequestDeferredByUser => new Result.Base(ModuleSf, 812);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue