LibHac/build/CodeGen/results.csv
VolcaEM 7f0afbe9db Add some results codes
The result codes were taken from Switchbrew (switchbrew.org/wiki/Error_codes)
The names are consistent with those of https://github.com/Ryujinx/Ryujinx/pull/1202
2020-05-02 18:33:03 -07:00

11 KiB

1Module,DescriptionStart,DescriptionEnd,Name,Summary
22,0,999,HandledByAllProcess,
32,1,,PathNotFound,Specified path does not exist
42,2,,PathAlreadyExists,Specified path already exists
52,7,,TargetLocked,Resource already in use (file already opened, savedata filesystem already mounted)
62,8,,DirectoryNotEmpty,Specified directory is not empty when trying to delete it
72,13,,DirectoryStatusChanged,
82,30,45,InsufficientFreeSpace,
92,31,,UsableSpaceNotEnoughForSaveData,
102,34,38,InsufficientFreeSpaceBis,
112,35,,InsufficientFreeSpaceBisCalibration,
122,36,,InsufficientFreeSpaceBisSafe,
132,37,,InsufficientFreeSpaceBisUser,
142,38,,InsufficientFreeSpaceBisSystem,
152,39,,InsufficientFreeSpaceSdCard,
162,50,,UnsupportedSdkVersion,
172,60,,MountNameAlreadyExists,
182,1001,,PartitionNotFound,
192,1002,,TargetNotFound,
202,1004,,ExternalKeyNotFound,The requested external key was not found
212,2000,2499,SdCardAccessFailed,
222,2001,,SdCardNotFound,
232,2004,,SdCardAsleep,
242,2500,2999,GameCardAccessFailed,
252,2503,,InvalidBufferForGameCard,
262,2520,,GameCardNotInserted,
272,2951,,GameCardNotInsertedOnGetHandle,
282,2952,,InvalidGameCardHandleOnRead,
292,2954,,InvalidGameCardHandleOnGetCardInfo,
302,2960,,InvalidGameCardHandleOnOpenNormalPartition,
312,2961,,InvalidGameCardHandleOnOpenSecurePartition,
322,3001,,NotImplemented,
332,3002,,UnsupportedVersion,
342,3003,,SaveDataPathAlreadyExists,
352,3005,,OutOfRange,
362,3200,3499,AllocationMemoryFailed,
372,3312,,AesXtsFileFileStorageAllocationError,
382,3313,,AesXtsFileXtsStorageAllocationError,
392,3314,,AesXtsFileAlignmentStorageAllocationError,
402,3315,,AesXtsFileStorageFileAllocationError,
412,3383,,AesXtsFileSubStorageAllocationError,
422,3500,3999,MmcAccessFailed,
432,4000,4999,DataCorrupted,
442,4001,4299,RomCorrupted,
452,4023,,InvalidIndirectStorageSource,
462,4241,4259,RomHostFileSystemCorrupted,
472,4242,,RomHostEntryCorrupted,
482,4243,,RomHostFileDataCorrupted,
492,4244,,RomHostFileCorrupted,
502,4245,,InvalidRomHostHandle,
512,4301,4499,SaveDataCorrupted,
522,4302,,UnsupportedSaveVersion,
532,4303,,InvalidSaveDataEntryType,
542,4315,,InvalidSaveDataHeader,
552,4362,,InvalidSaveDataIvfcMagic,
562,4363,,InvalidSaveDataIvfcHashValidationBit,
572,4364,,InvalidSaveDataIvfcHash,
582,4372,,EmptySaveDataIvfcHash,
592,4373,,InvalidSaveDataHashInIvfcTopLayer,
602,4402,,SaveDataInvalidGptPartitionSignature,
612,4427,,IncompleteBlockInZeroBitmapHashStorageFileSaveData,
622,4441,4459,SaveDataHostFileSystemCorrupted,
632,4442,,SaveDataHostEntryCorrupted,
642,4443,,SaveDataHostFileDataCorrupted,
652,4444,,SaveDataHostFileCorrupted,
662,4445,,InvalidSaveDataHostHandle,
672,4462,,SaveDataAllocationTableCorrupted,
682,4463,,SaveDataFileTableCorrupted,
692,4464,,AllocationTableIteratedRangeEntry,
702,4501,4599,NcaCorrupted,
712,4512,,InvalidNcaFsType,
722,4527,,InvalidNcaProgramId,
732,4601,4639,IntegrityVerificationStorageCorrupted,
742,4602,,InvalidIvfcMagic,
752,4603,,InvalidIvfcHashValidationBit,
762,4604,,InvalidIvfcHash,
772,4612,,EmptyIvfcHash,
782,4613,,InvalidHashInIvfcTopLayer,
792,4641,4659,PartitionFileSystemCorrupted,
802,4642,,InvalidPartitionFileSystemHashOffset,
812,4643,,InvalidPartitionFileSystemHash,
822,4644,,InvalidPartitionFileSystemMagic,
832,4645,,InvalidHashedPartitionFileSystemMagic,
842,4646,,InvalidPartitionFileSystemEntryNameOffset,
852,4661,4679,BuiltInStorageCorrupted,
862,4662,,InvalidGptPartitionSignature,
872,4681,4699,FatFileSystemCorrupted,
882,4701,4719,HostFileSystemCorrupted,
892,4702,,HostEntryCorrupted,
902,4703,,HostFileDataCorrupted,
912,4704,,HostFileCorrupted,
922,4705,,InvalidHostHandle,
932,4721,4739,DatabaseCorrupted,
942,4722,,SaveDataAllocationTableCorruptedInternal,
952,4723,,SaveDataFileTableCorruptedInternal,
962,4724,,AllocationTableIteratedRangeEntryInternal,
972,4741,4759,AesXtsFileSystemCorrupted,
982,4742,,AesXtsFileHeaderTooShort,
992,4743,,AesXtsFileHeaderInvalidKeys,
1002,4744,,AesXtsFileHeaderInvalidMagic,
1012,4745,,AesXtsFileTooShort,
1022,4746,,AesXtsFileHeaderTooShortInSetSize,
1032,4747,,AesXtsFileHeaderInvalidKeysInRenameFile,
1042,4748,,AesXtsFileHeaderInvalidKeysInSetSize,
1052,4761,4769,SaveDataTransferDataCorrupted,
1062,4771,4779,SignedSystemPartitionDataCorrupted,
1072,4781,,GameCardLogoDataCorrupted,
1082,4790,4799,MultiCommitContextCorrupted,
1092,4791,,InvalidMultiCommitContextVersion,The version of the multi-commit context file is too high for the current MultiCommitManager implementation.
1102,4792,,InvalidMultiCommitContextState,The multi-commit has not been provisionally committed.
111# The range name is a guess. 4812 is currently the only result in it
1122,4811,4819,ZeroBitmapFileCorrupted,
1132,4812,,IncompleteBlockInZeroBitmapHashStorageFile,
1142,5000,5999,Unexpected,
1152,5307,,UnexpectedErrorInHostFileFlush,
1162,5308,,UnexpectedErrorInHostFileGetSize,
1172,5309,,UnknownHostFileSystemError,
1182,5320,,InvalidNcaMountPoint,
1192,6000,6499,PreconditionViolation,
1202,6001,6199,InvalidArgument,
1212,6002,6029,InvalidPath,
1222,6003,,TooLongPath,
1232,6004,,InvalidCharacter,
1242,6005,,InvalidPathFormat,
1252,6006,,DirectoryUnobtainable,
1262,6007,,NotNormalized,
1272,6030,6059,InvalidPathForOperation,
1282,6031,,DirectoryNotDeletable,
1292,6032,,DestinationIsSubPathOfSource,
1302,6033,,PathNotFoundInSaveDataFileTable,
1312,6034,,DifferentDestFileSystem,
1322,6061,,InvalidOffset,
1332,6062,,InvalidSize,
1342,6063,,NullptrArgument,
1352,6064,,InvalidAlignment,
1362,6065,,InvalidMountName,
1372,6066,,ExtensionSizeTooLarge,
1382,6067,,ExtensionSizeInvalid,
1392,6068,,InvalidSaveDataInfoReader,
1402,6069,,InvalidCacheStorageSize,
1412,6070,,InvalidCacheStorageIndex,
1422,6071,,InvalidCommitNameCount,Up to 10 file systems can be committed at the same time.
1432,6080,6099,InvalidEnumValue,
1442,6081,,InvalidSaveDataState,
1452,6082,,InvalidSaveDataSpaceId,
1462,6200,6299,InvalidOperationForOpenMode,
1472,6201,,FileExtensionWithoutOpenModeAllowAppend,
1482,6202,,InvalidOpenModeForRead,
1492,6203,,InvalidOpenModeForWrite,
1502,6300,6399,UnsupportedOperation,
1512,6302,,SubStorageNotResizable,
1522,6303,,SubStorageNotResizableMiddleOfFile,
1532,6304,,UnsupportedOperationInMemoryStorageSetSize,
1542,6306,,UnsupportedOperationInFileStorageOperateRange,
1552,6310,,UnsupportedOperationInAesCtrExStorageWrite,
1562,6316,,UnsupportedOperationInHierarchicalIvfcStorageSetSize,
1572,6324,,UnsupportedOperationInIndirectStorageWrite,
1582,6325,,UnsupportedOperationInIndirectStorageSetSize,
1592,6350,,UnsupportedOperationInRoGameCardStorageWrite,
1602,6351,,UnsupportedOperationInRoGameCardStorageSetSize,
1612,6359,,UnsupportedOperationInConcatFsQueryEntry,
1622,6364,,UnsupportedOperationModifyRomFsFileSystem,
1632,6365,,UnsupportedOperationInRomFsFileSystem,Called RomFsFileSystem::CommitProvisionally.
1642,6366,,UnsupportedOperationRomFsFileSystemGetSpace,
1652,6367,,UnsupportedOperationModifyRomFsFile,
1662,6369,,UnsupportedOperationModifyReadOnlyFileSystem,
1672,6371,,UnsupportedOperationReadOnlyFileSystemGetSpace,
1682,6372,,UnsupportedOperationModifyReadOnlyFile,
1692,6374,,UnsupportedOperationModifyPartitionFileSystem,
1702,6375,,UnsupportedOperationInPartitionFileSystem,Called PartitionFileSystemCore::CommitProvisionally.
1712,6376,,UnsupportedOperationInPartitionFileSetSize,
1722,6377,,UnsupportedOperationIdInPartitionFileSystem,
1732,6384,,UnsupportedOperationInDirectorySaveDataFileSystem,Called DirectorySaveDataFileSystem::CommitProvisionally on a non-user savedata.
1742,6400,6449,PermissionDenied,
1752,6452,,ExternalKeyAlreadyRegistered,
1762,6454,,WriteStateUnflushed,
1772,6457,,WriteModeFileNotClosed,
1782,6461,,AllocatorAlignmentViolation,
1792,6463,,MultiCommitFileSystemAlreadyAdded,The provided file system has already been added to the multi-commit manager.
1802,6465,,UserNotExist,
1812,6600,6699,EntryNotFound,
1822,6606,,TargetProgramIndexNotFound,Specified program index is not found
1832,6700,6799,OutOfResource,
1842,6706,,MappingTableFull,
1852,6707,,AllocationTableInsufficientFreeBlocks,
1862,6709,,OpenCountLimit,
1872,6710,,MultiCommitFileSystemLimit,The maximum number of file systems have been added to the multi-commit manager.
1882,6800,6899,MappingFailed,
1892,6811,,RemapStorageMapFull,
1902,6900,6999,BadState,
1912,6902,,SubStorageNotInitialized,
1922,6905,,NotMounted,
1932,6906,,SaveDataIsExtending,
1949,1,,TooLongArgument,
1959,2,,TooManyArguments,
1969,3,,TooLargeMeta,
1979,4,,InvalidMeta,
1989,5,,InvalidNso,
1999,6,,InvalidPath,
2009,7,,TooManyProcesses,
2019,8,,NotPinned,
2029,9,,InvalidProgramId,
2039,10,,InvalidVersion,
2049,51,,InsufficientAddressSpace,
2059,52,,InvalidNro,
2069,53,,InvalidNrr,
2079,54,,InvalidSignature,
2089,55,,InsufficientNroRegistrations,
2099,56,,InsufficientNrrRegistrations,
2109,57,,NroAlreadyLoaded,
2119,81,,InvalidAddress,
2129,82,,InvalidSize,
2139,84,,NotLoaded,
2149,85,,NotRegistered,
2159,86,,InvalidSession,
2169,87,,InvalidProcess,
2179,100,,UnknownCapability,
2189,103,,InvalidCapabilityKernelFlags,
2199,104,,InvalidCapabilitySyscallMask,
2209,106,,InvalidCapabilityMapRange,
2219,107,,InvalidCapabilityMapPage,
2229,111,,InvalidCapabilityInterruptPair,
2239,113,,InvalidCapabilityApplicationType,
2249,114,,InvalidCapabilityKernelVersion,
2259,115,,InvalidCapabilityHandleTable,
2269,116,,InvalidCapabilityDebugFlags,
2279,200,,InternalError,
22810,1,,NotSupported,
22910,3,,PreconditionViolation,
230# These should be in the sf::cmif namespace
23110,202,,InvalidHeaderSize,
23210,211,,InvalidInHeader,
23310,221,,UnknownCommandId,
23410,232,,InvalidOutRawSize,
23510,235,,InvalidNumInObjects,
23610,236,,InvalidNumOutObjects,
23710,239,,InvalidInObject,
23810,261,,TargetNotFound,
23910,301,,OutOfDomainEntries,
240# These should be in the sf::impl namespace
24110,800,899,RequestContextChanged,
24210,801,809,RequestInvalidated,
24310,802,,RequestInvalidatedByUser,
24410,811,819,RequestDeferred,
24510,812,,RequestDeferredByUser,
24620,1,,TooLargeKeyOrDbFull,
24720,2,,KeyNotFound,
24820,4,,AllocationFailed,
24920,5,,InvalidKeyValue,
25020,6,,BufferInsufficient,
25121,1,,OutOfProcesses,
25221,2,,InvalidClient,
25321,3,,OutOfSessions,
25421,4,,AlreadyRegistered,
25521,5,,OutOfServices,
25621,6,,InvalidServiceName,
25721,7,,NotRegistered,
25821,8,,NotAllowed,
25921,9,,TooLargeAccessControl,
26024,1,,DeviceNotFound,
26124,4,,DeviceAsleep,
262122,1,,InvalidArgument,
263122,2,,NotFound,
264122,3,,TargetLocked,
265122,4,,TargetAlreadyMounted,
266122,5,,TargetNotMounted,
267122,6,,AlreadyOpen,
268122,7,,NotOpen,
269122,8,,InternetRequestDenied,
270122,9,,ServiceOpenLimitReached,
271122,10,,SaveDataNotFound,
272122,31,,NetworkServiceAccountNotAvailable,
273122,80,,PassphrasePathNotFound,
274122,81,,DataVerificationFailed,
275122,90,,PermissionDenied,
276122,91,,AllocationFailed,
277122,98,,InvalidOperation,
278122,204,,InvalidDeliveryCacheStorageFile,
279122,205,,StorageOpenLimitReached,
280123,0,4999,SslService,
281124,0,,Cancelled,
282124,1,,CancelledByUser,
283124,100,,UserNotExist,
284124,200,269,NetworkServiceAccountUnavailable,
285124,430,499,TokenCacheUnavailable,
286124,3000,8191,NetworkCommunicationError,
287202,140,149,Invalid,
288202,601,,DualConnected,
289202,602,,SameJoyTypeConnected,
290202,603,,ColorNotAvailable,
291202,604,,ControllerNotConnected,
292202,3101,,Canceled,
293202,3102,,NotSupportedNpadStyle,
294202,3200,3209,ControllerFirmwareUpdateError,
295202,3201,,ControllerFirmwareUpdateFailed,
296205,110,119,IrsensorUnavailable,
297205,110,,IrsensorUnconnected,
298205,111,,IrsensorUnsupported,
299205,120,,IrsensorNotReady,
300205,122,139,IrsensorDeviceError,
301428,1,49,InvalidArgument,
302428,2,,NullArgument,
303428,3,,ArgumentOutOfRange,
304428,4,,BufferTooSmall,
305428,51,,ServiceNotInitialized,
306428,1000,1999,InvalidData,
307428,1001,1019,InvalidKip,
308428,1002,,InvalidKipFileSize,The size of the KIP file was smaller than expected.
309428,1003,,InvalidKipMagic,The magic value of the KIP file was not KIP1.
310428,1004,,InvalidKipSegmentSize,The size of the compressed KIP segment was smaller than expected.
311428,1005,,KipSegmentDecompressionFailed,An error occurred while decompressing a KIP segment.