Add most FS results

This commit is contained in:
Alex Barney 2021-03-28 20:30:50 -07:00
parent 0c255e0f49
commit 8848959831
15 changed files with 1393 additions and 83 deletions

View file

@ -57,6 +57,8 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,30,45,,,UsableSpaceNotEnough, 2,30,45,,,UsableSpaceNotEnough,
2,31,,,,UsableSpaceNotEnoughForSaveData, 2,31,,,,UsableSpaceNotEnoughForSaveData,
2,32,,,,UsableSpaceNotEnoughAfterDataErase,
2,33,,,,UsableSpaceNotEnoughForCacheStorage,
2,34,38,,,UsableSpaceNotEnoughForBis, 2,34,38,,,UsableSpaceNotEnoughForBis,
2,35,,,,UsableSpaceNotEnoughForBisCalibration, 2,35,,,,UsableSpaceNotEnoughForBisCalibration,
2,36,,,,UsableSpaceNotEnoughForBisSafe, 2,36,,,,UsableSpaceNotEnoughForBisSafe,
@ -65,6 +67,7 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,39,,,,UsableSpaceNotEnoughForSdCard, 2,39,,,,UsableSpaceNotEnoughForSdCard,
2,50,,,,UnsupportedSdkVersion, 2,50,,,,UnsupportedSdkVersion,
2,60,,,,MountNameAlreadyExists, 2,60,,,,MountNameAlreadyExists,
2,70,,,,IndividualFileDataCacheAlreadyEnabled,
2,1000,2999,,,HandledBySystemProcess, 2,1000,2999,,,HandledBySystemProcess,
2,1001,,,,PartitionNotFound, 2,1001,,,,PartitionNotFound,
@ -155,18 +158,132 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,2200,,,,PortSdCardNotSupported, 2,2200,,,,PortSdCardNotSupported,
2,2201,,,,PortSdCardNotImplemented, 2,2201,,,,PortSdCardNotImplemented,
2,2496,,,,SdCardStorageDeviceInvalidated,
2,2497,,,,SdCardFormatWriteVerificationFailed,
2,2498,,,,SdCardFileSystemInvalidatedByRemoved, 2,2498,,,,SdCardFileSystemInvalidatedByRemoved,
2,2499,,,,SdCardDeviceUnknownError,
2,2500,2999,,,GameCardAccessFailed, 2,2500,2999,,,GameCardAccessFailed,
2,2503,,,,InvalidBufferForGameCard, 2,2503,,,,GameCardPreconditionViolation,
2,2520,,,,GameCardNotInserted, 2,2504,,,,GameCardNotImplemented,
2,2531,,,,GameCardCardAccessTimeout,
2,2510,,,,GameCardNoAvailableLockers,
2,2511,,,,GameCardLockerIndexOutOfRange,
2,2520,,,,GameCardNotInserted,
2,2521,,,,InvalidGameCardIdInSpecificData,
2,2522,,,,GameCardCardNotActivated,
2,2523,,,,InvalidCommandForDeactivatedGameCardAsic,
2,2531,,,,GameCardCardAccessTimeout,
2,2532,,,,GameCardStatusFatalError,
2,2533,,,,GameCardReadFailure,
2,2536,,,,GameCardRetryLimitHit,
2,2537,,,,GameCardStatusRefreshRequested,
2,2538,,,,GameCardStatusCrcErrorAndRefreshRequested,
2,2540,,,,InvalidSecureAccess,
2,2541,,,,InvalidNormalAccess,
2,2542,,,,InvalidAccessAcrossMode,
2,2543,2546,,,GameCardWrongCard,
2,2544,,,,InvalidGameCardInitialDataHash,
2,2545,,,,InvalidGameCardInitialDataReservedArea,
2,2546,,,,InvalidGameCardCertificateKekIndex,
2,2548,,,,InvalidGameCardModeForGetCardDeviceCertificate,
2,2549,,,,NotSupportedForGameCardSecurityMode,
2,2550,,,,,
2,2551,,,,GameCardReadHeaderTryTimeoutForActivation,
2,2552,,,,,
2,2553,,,,InvalidGameCardModeForGetChallengeCardExistence,
2,2554,,,,InvalidGameCardHeader,
2,2555,,,,InvalidGameCardCertificate,
2,2557,,,,,
2,2558,,,,,
2,2565,2595,,,GameCardCommunicationFailure,
2,2599,,,,GameCardInvalidStateTransition,
2,2600,,,,GameCardAsicInvalidTransitionToNormalMode,
2,2601,,,,GameCardAsicInvalidTransitionToSecureMode,
2,2602,,,,GameCardAsicInvalidTransitionToWriteMode,
2,2629,,,,GameCardAsicInitializationFailureForWriterFirmware,
2,2630,2669,,,GameCardAsicInitializationFailure,
2,2631,,,,GameCardAsicGetDeviceStatusFailure,
2,2632,,,,GameCardAsicActivationFailure,
2,2634,,,,GameCardAsicSetUserAsicFirmwareFailure,
2,2637,,,,GameCardAsicGetAsicCertFailure,
2,2638,,,,GameCardParseCertificateFailure,
2,2639,,,,InvalidGameCardAsicCertificate,
2,2640,,,,GameCardAsicSetEmmcEmbeddedSocCertificateFailure,
2,2645,,,,GameCardAsicGetAsicEncryptedMessageFailure,
2,2646,,,,GameCardAsicSetLibraryEncryptedMessageFailure,
2,2651,,,,GameCardAsicGetAsicAuthenticationDataFailure,
2,2652,,,,GameCardAsicSetAsicAuthenticationDataHashFailure,
2,2653,,,,GameCardAsicSetLibraryAuthenticationDataFailure,
2,2654,,,,GameCardAsicGetLibraryAuthenticationDataHashFailure,
2,2655,,,,GameCardInvalidLibraryAuthenticationDataHash,
2,2658,,,,GameCardAsicEnterSecureAsicModeFailure,
2,2659,,,,GameCardAsicExchangeRandomValuesInSecureModeFailure,
2,2660,,,,GameCardAsicChallengeCardExistenceFailure,
2,2663,,,,GameCardAsicActivationTimeout,
2,2665,2669,,,GameCardSplFailure,
2,2666,,,,GameCardSplDecryptAesKeyFailure,
2,2667,,,,GameCardSplDecryptAndStoreGcKeyFailure,
2,2668,,,,GameCardSplGenerateRandomBytesFailure,
2,2669,,,,GameCardSplDecryptGcMessageFailure,
2,2671,,,,GameCardAsicReadAsicRegisterFailure,
2,2672,,,,GameCardAsicWriteAsicRegisterFailure,
2,2673,,,,GameCardAsicEnableCardBusFailure,
2,2674,,,,GameCardAsicGetCardHeaderFailure,
2,2675,,,,GameCardAsicStatusError,
2,2676,,,,GameCardAsicGetCardKeyAreaFailure,
2,2677,,,,GameCardAsicChangeDebugModeFailure,
2,2678,,,,GameCardAsicGetRmaInformationFailure,
2,2680,,,,GameCardAsicStatusBit22Set,
2,2681,,,,GameCardSecureValuesNotInitialized,
2,2692,,,,InvalidSecureGameCardCommand,
2,2693,,,,InvalidWriteGameCardCommand,
2,2703,,,,GameCardSetVoltageFailure,
2,2731,,,,GameCardCommandReadId1Failure,
2,2732,,,,GameCardCommandReadId2Failure,
2,2733,,,,GameCardCommandReadId3Failure,
2,2735,,,,GameCardCommandReadPageFailure,
2,2736,,,,GameCardCommandReadPageUnalignedFailure,
2,2737,,,,GameCardCommandWritePageFailure,
2,2738,,,,GameCardCommandRefreshFailure,
2,2739,,,,GameCardCommandUpdateKeyFailure,
2,2742,,,,GameCardCommandReadCrcFailure,
2,2743,,,,GameCardCommandEraseFailure,
2,2744,,,,GameCardCommandReadDevParamFailure,
2,2745,,,,GameCardCommandWriteDevParamFailure,
2,2901,,,,GameCardParameterError,
2,2902,,,,,
2,2903,,,,,
2,2904,,,,,
2,2905,,,,,
2,2906,,,,,
2,2950,,,,InvalidGameCardStorageAttribute,
2,2951,,,,GameCardNotInsertedOnGetHandle, 2,2951,,,,GameCardNotInsertedOnGetHandle,
2,2952,,,,InvalidGameCardHandleOnRead, 2,2952,,,,InvalidGameCardHandleOnRead,
2,2954,,,,InvalidGameCardHandleOnGetCardInfo, 2,2954,,,,InvalidGameCardHandleOnGetCardInfo,
2,2955,,,,InvalidGameCardHandleOnGetGameCardDeviceCertificate,
2,2956,,,,InvalidGameCardHandleOnGetGameCardImageHash,
2,2957,,,,InvalidGameCardHandleOnChallengeCardExistence,
2,2958,,,,InvalidGameCardHandleOnOnAcquireLock,
2,2959,,,,InvalidGameCardModeOnAcquireSecureLock,
2,2960,,,,InvalidGameCardHandleOnOpenNormalPartition, 2,2960,,,,InvalidGameCardHandleOnOpenNormalPartition,
2,2961,,,,InvalidGameCardHandleOnOpenSecurePartition, 2,2961,,,,InvalidGameCardHandleOnOpenSecurePartition,
2,2962,,,,InvalidGameCardCompatibilityType,
2,2963,,,,GameCardsNotSupportedOnDeviceModel,
2,3000,7999,,,Internal, 2,3000,7999,,,Internal,
2,3001,,,,NotImplemented, 2,3001,,,,NotImplemented,
@ -174,13 +291,21 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,3003,,,,SaveDataPathAlreadyExists, 2,3003,,,,SaveDataPathAlreadyExists,
2,3005,,,,OutOfRange, 2,3005,,,,OutOfRange,
2,3099,,,,,
2,3100,,,,SystemPartitionNotReady, 2,3100,,,,SystemPartitionNotReady,
2,3101,,,,StorageDeviceNotReady, 2,3101,,,,StorageDeviceNotReady,
2,3200,3499,,,AllocationMemoryFailed, 2,3200,3499,,,AllocationMemoryFailed,
2,3201,,,,AllocationMemoryFailedInPrFile2,
2,3203,,,,AllocationMemoryFailedInFatFileSystemA,
2,3204,,,,AllocationMemoryFailedInFatFileSystemB,
2,3205,,,,AllocationMemoryFailedInFatFileSystemC,
2,3206,,,,AllocationMemoryFailedInFatFileSystemD,
2,3208,,,,AllocationMemoryFailedInFatFileSystemE,
2,3211,,,,AllocationMemoryFailedInFileSystemAccessorA, 2,3211,,,,AllocationMemoryFailedInFileSystemAccessorA,
2,3212,,,,AllocationMemoryFailedInFileSystemAccessorB, 2,3212,,,,AllocationMemoryFailedInFileSystemAccessorB,
2,3213,,,,AllocationMemoryFailedInApplicationA, 2,3213,,,,AllocationMemoryFailedInApplicationA,
2,3214,,,,AllocationMemoryFailedInBcatSaveDataA,
2,3215,,,,AllocationMemoryFailedInBisA, 2,3215,,,,AllocationMemoryFailedInBisA,
2,3216,,,,AllocationMemoryFailedInBisB, 2,3216,,,,AllocationMemoryFailedInBisB,
2,3217,,,,AllocationMemoryFailedInBisC, 2,3217,,,,AllocationMemoryFailedInBisC,
@ -195,32 +320,91 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,3226,,,,AllocationMemoryFailedInGameCardB, 2,3226,,,,AllocationMemoryFailedInGameCardB,
2,3227,,,,AllocationMemoryFailedInGameCardC, 2,3227,,,,AllocationMemoryFailedInGameCardC,
2,3228,,,,AllocationMemoryFailedInGameCardD, 2,3228,,,,AllocationMemoryFailedInGameCardD,
2,3229,,,,AllocationMemoryFailedInHostA,
2,3230,,,,AllocationMemoryFailedInHostB,
2,3231,,,,AllocationMemoryFailedInHostC,
2,3232,,,,AllocationMemoryFailedInImageDirectoryA, 2,3232,,,,AllocationMemoryFailedInImageDirectoryA,
2,3233,,,,AllocationMemoryFailedInLogoA,
2,3234,,,,AllocationMemoryFailedInRomA,
2,3235,,,,AllocationMemoryFailedInRomB,
2,3236,,,,AllocationMemoryFailedInRomC,
2,3237,,,,AllocationMemoryFailedInRomD,
2,3238,,,,AllocationMemoryFailedInRomE,
2,3239,,,,AllocationMemoryFailedInRomF,
2,3242,,,,AllocationMemoryFailedInSaveDataManagementA,
2,3243,,,,AllocationMemoryFailedInSaveDataThumbnailA,
2,3244,,,,AllocationMemoryFailedInSdCardA, 2,3244,,,,AllocationMemoryFailedInSdCardA,
2,3245,,,,AllocationMemoryFailedInSdCardB, 2,3245,,,,AllocationMemoryFailedInSdCardB,
2,3246,,,,AllocationMemoryFailedInSystemSaveDataA, 2,3246,,,,AllocationMemoryFailedInSystemSaveDataA,
2,3247,,,,AllocationMemoryFailedInRomFsFileSystemA, 2,3247,,,,AllocationMemoryFailedInRomFsFileSystemA,
2,3248,,,,AllocationMemoryFailedInRomFsFileSystemB, 2,3248,,,,AllocationMemoryFailedInRomFsFileSystemB,
2,3249,,,,AllocationMemoryFailedInRomFsFileSystemC, 2,3249,,,,AllocationMemoryFailedInRomFsFileSystemC,
2,3251,,,,AllocationMemoryFailedInGuidPartitionTableA,
2,3252,,,,AllocationMemoryFailedInDeviceDetectionEventManagerA,
2,3253,,,,AllocationMemoryFailedInSaveDataFileSystemServiceImplA,
2,3254,,,,AllocationMemoryFailedInFileSystemProxyCoreImplB,
2,3255,,,,AllocationMemoryFailedInSdCardProxyFileSystemCreatorA,
2,3256,,,,AllocationMemoryFailedInNcaFileSystemServiceImplA,In ParseNsp allocating FileStorageBasedFileSystem 2,3256,,,,AllocationMemoryFailedInNcaFileSystemServiceImplA,In ParseNsp allocating FileStorageBasedFileSystem
2,3257,,,,AllocationMemoryFailedInNcaFileSystemServiceImplB,In ParseNca allocating FileStorageBasedFileSystem 2,3257,,,,AllocationMemoryFailedInNcaFileSystemServiceImplB,In ParseNca allocating FileStorageBasedFileSystem
2,3258,,,,AllocationMemoryFailedInProgramRegistryManagerA,In RegisterProgram allocating ProgramInfoNode 2,3258,,,,AllocationMemoryFailedInProgramRegistryManagerA,In RegisterProgram allocating ProgramInfoNode
2,3264,,,,AllocationMemoryFailedFatFileSystemA,In Initialize allocating ProgramInfoNode 2,3259,,,,AllocationMemoryFailedInSdmmcStorageServiceA,
2,3260,,,,AllocationMemoryFailedInBuiltInStorageCreatorA,
2,3261,,,,AllocationMemoryFailedInBuiltInStorageCreatorB,
2,3262,,,,AllocationMemoryFailedInBuiltInStorageCreatorC,
2,3264,,,,AllocationMemoryFailedFatFileSystemWithBufferA,In Initialize allocating ProgramInfoNode
2,3265,,,,AllocationMemoryFailedInFatFileSystemCreatorA,
2,3266,,,,AllocationMemoryFailedInFatFileSystemCreatorB,
2,3267,,,,AllocationMemoryFailedInGameCardFileSystemCreatorA,
2,3268,,,,AllocationMemoryFailedInGameCardFileSystemCreatorB,
2,3269,,,,AllocationMemoryFailedInGameCardFileSystemCreatorC,
2,3270,,,,AllocationMemoryFailedInGameCardFileSystemCreatorD,
2,3271,,,,AllocationMemoryFailedInGameCardFileSystemCreatorE,
2,3272,,,,AllocationMemoryFailedInGameCardFileSystemCreatorF,
2,3273,,,,AllocationMemoryFailedInGameCardManagerA,
2,3274,,,,AllocationMemoryFailedInGameCardManagerB,
2,3275,,,,AllocationMemoryFailedInGameCardManagerC,
2,3276,,,,AllocationMemoryFailedInGameCardManagerD,
2,3277,,,,AllocationMemoryFailedInGameCardManagerE,
2,3278,,,,AllocationMemoryFailedInGameCardManagerF,
2,3279,,,,AllocationMemoryFailedInLocalFileSystemCreatorA,
2,3280,,,,AllocationMemoryFailedInPartitionFileSystemCreatorA,In Create allocating PartitionFileSystemCore 2,3280,,,,AllocationMemoryFailedInPartitionFileSystemCreatorA,In Create allocating PartitionFileSystemCore
2,3281,,,,AllocationMemoryFailedInRomFileSystemCreatorA, 2,3281,,,,AllocationMemoryFailedInRomFileSystemCreatorA,
2,3282,,,,AllocationMemoryFailedInSaveDataFileSystemCreatorA,
2,3283,,,,AllocationMemoryFailedInSaveDataFileSystemCreatorB,
2,3284,,,,AllocationMemoryFailedInSaveDataFileSystemCreatorC,
2,3285,,,,AllocationMemoryFailedInSaveDataFileSystemCreatorD,
2,3286,,,,AllocationMemoryFailedInSaveDataFileSystemCreatorE,
2,3288,,,,AllocationMemoryFailedInStorageOnNcaCreatorA, 2,3288,,,,AllocationMemoryFailedInStorageOnNcaCreatorA,
2,3289,,,,AllocationMemoryFailedInStorageOnNcaCreatorB, 2,3289,,,,AllocationMemoryFailedInStorageOnNcaCreatorB,
2,3290,,,,AllocationMemoryFailedInSubDirectoryFileSystemCreatorA,
2,3291,,,,AllocationMemoryFailedInTargetManagerFileSystemCreatorA,
2,3292,,,,AllocationMemoryFailedInSaveDataIndexerA,
2,3293,,,,AllocationMemoryFailedInSaveDataIndexerB,
2,3294,,,,AllocationMemoryFailedInFileSystemBuddyHeapA, 2,3294,,,,AllocationMemoryFailedInFileSystemBuddyHeapA,
2,3295,,,,AllocationMemoryFailedInFileSystemBufferManagerA, 2,3295,,,,AllocationMemoryFailedInFileSystemBufferManagerA,
2,3296,,,,AllocationMemoryFailedInBlockCacheBufferedStorageA, 2,3296,,,,AllocationMemoryFailedInBlockCacheBufferedStorageA,
2,3297,,,,AllocationMemoryFailedInBlockCacheBufferedStorageB, 2,3297,,,,AllocationMemoryFailedInBlockCacheBufferedStorageB,
2,3298,,,,AllocationMemoryFailedInDuplexStorageA,
2,3304,,,,AllocationMemoryFailedInIntegrityVerificationStorageA, 2,3304,,,,AllocationMemoryFailedInIntegrityVerificationStorageA,
2,3305,,,,AllocationMemoryFailedInIntegrityVerificationStorageB, 2,3305,,,,AllocationMemoryFailedInIntegrityVerificationStorageB,
2,3306,,,,AllocationMemoryFailedInJournalStorageA,
2,3307,,,,AllocationMemoryFailedInJournalStorageB,
2,3310,,,,AllocationMemoryFailedInSaveDataFileSystemCoreA,
2,3311,,,,AllocationMemoryFailedInSaveDataFileSystemCoreB,
2,3312,,,,AllocationMemoryFailedInAesXtsFileA,In Initialize allocating FileStorage 2,3312,,,,AllocationMemoryFailedInAesXtsFileA,In Initialize allocating FileStorage
2,3313,,,,AllocationMemoryFailedInAesXtsFileB,In Initialize allocating AesXtsStorage 2,3313,,,,AllocationMemoryFailedInAesXtsFileB,In Initialize allocating AesXtsStorage
2,3314,,,,AllocationMemoryFailedInAesXtsFileC,In Initialize allocating AlignmentMatchingStoragePooledBuffer 2,3314,,,,AllocationMemoryFailedInAesXtsFileC,In Initialize allocating AlignmentMatchingStoragePooledBuffer
2,3315,,,,AllocationMemoryFailedInAesXtsFileD,In Initialize allocating StorageFile 2,3315,,,,AllocationMemoryFailedInAesXtsFileD,In Initialize allocating StorageFile
2,3321,,,,AllocationMemoryFailedInDirectorySaveDataFileSystem, 2,3316,,,,AllocationMemoryFailedInAesXtsFileSystemA,
2,3319,,,,AllocationMemoryFailedInConcatenationFileSystemA,
2,3320,,,,AllocationMemoryFailedInConcatenationFileSystemB,
2,3321,,,,AllocationMemoryFailedInDirectorySaveDataFileSystemA,
2,3322,,,,AllocationMemoryFailedInLocalFileSystemA,
2,3323,,,,AllocationMemoryFailedInLocalFileSystemB,
2,3341,,,,AllocationMemoryFailedInNcaFileSystemDriverI, 2,3341,,,,AllocationMemoryFailedInNcaFileSystemDriverI,
2,3347,,,,AllocationMemoryFailedInPartitionFileSystemA,In Initialize allocating PartitionFileSystemMetaCore 2,3347,,,,AllocationMemoryFailedInPartitionFileSystemA,In Initialize allocating PartitionFileSystemMetaCore
2,3348,,,,AllocationMemoryFailedInPartitionFileSystemB,In DoOpenFile allocating PartitionFile 2,3348,,,,AllocationMemoryFailedInPartitionFileSystemB,In DoOpenFile allocating PartitionFile
@ -229,25 +413,48 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,3351,,,,AllocationMemoryFailedInPartitionFileSystemMetaB,In Sha256 Initialize allocating metadata buffer 2,3351,,,,AllocationMemoryFailedInPartitionFileSystemMetaB,In Sha256 Initialize allocating metadata buffer
2,3352,,,,AllocationMemoryFailedInRomFsFileSystemD, 2,3352,,,,AllocationMemoryFailedInRomFsFileSystemD,
2,3355,,,,AllocationMemoryFailedInSubdirectoryFileSystemA,In Initialize allocating RootPathBuffer 2,3355,,,,AllocationMemoryFailedInSubdirectoryFileSystemA,In Initialize allocating RootPathBuffer
2,3356,,,,AllocationMemoryFailedInTmFileSystemA,
2,3357,,,,AllocationMemoryFailedInTmFileSystemB,
2,3359,,,,AllocationMemoryFailedInProxyFileSystemA,
2,3360,,,,AllocationMemoryFailedInProxyFileSystemB,
2,3362,,,,AllocationMemoryFailedInSaveDataExtraDataAccessorCacheManagerA,
2,3363,,,,AllocationMemoryFailedInNcaReaderA, 2,3363,,,,AllocationMemoryFailedInNcaReaderA,
2,3365,,,,AllocationMemoryFailedInRegisterA, 2,3365,,,,AllocationMemoryFailedInRegisterA,
2,3366,,,,AllocationMemoryFailedInRegisterB, 2,3366,,,,AllocationMemoryFailedInRegisterB,
2,3367,,,,AllocationMemoryFailedInPathNormalizer, 2,3367,,,,AllocationMemoryFailedInPathNormalizer,
2,3375,,,,AllocationMemoryFailedInDbmRomKeyValueStorage, 2,3375,,,,AllocationMemoryFailedInDbmRomKeyValueStorage,
2,3376,,,,AllocationMemoryFailedInDbmHierarchicalRomFileTable,
2,3377,,,,AllocationMemoryFailedInRomFsFileSystemE, 2,3377,,,,AllocationMemoryFailedInRomFsFileSystemE,
2,3378,,,,AllocationMemoryFailedInISaveFileSystemA,
2,3379,,,,AllocationMemoryFailedInISaveFileSystemB,
2,3380,,,,AllocationMemoryFailedInRomOnFileA,
2,3381,,,,AllocationMemoryFailedInRomOnFileB,
2,3382,,,,AllocationMemoryFailedInRomOnFileC,
2,3383,,,,AllocationMemoryFailedInAesXtsFileE,In Initialize 2,3383,,,,AllocationMemoryFailedInAesXtsFileE,In Initialize
2,3384,,,,AllocationMemoryFailedInAesXtsFileSystemB,
2,3385,,,,AllocationMemoryFailedInAesXtsFileSystemC,
2,3386,,,,AllocationMemoryFailedInReadOnlyFileSystemA, 2,3386,,,,AllocationMemoryFailedInReadOnlyFileSystemA,
2,3394,,,,AllocationMemoryFailedInEncryptedFileSystemCreatorA,In Create allocating AesXtsFileSystem 2,3394,,,,AllocationMemoryFailedInEncryptedFileSystemCreatorA,In Create allocating AesXtsFileSystem
2,3399,,,,AllocationMemoryFailedInAesCtrCounterExtendedStorageA, 2,3399,,,,AllocationMemoryFailedInAesCtrCounterExtendedStorageA,
2,3400,,,,AllocationMemoryFailedInAesCtrCounterExtendedStorageB, 2,3400,,,,AllocationMemoryFailedInAesCtrCounterExtendedStorageB,
2,3407,,,,AllocationMemoryFailedInFileSystemInterfaceAdapter, In OpenFile or OpenDirectory 2,3406,,,,AllocationMemoryFailedInSdmmcStorageServiceB,
2,3420,,,,AllocationMemoryFailedInNew, 2,3407,,,,AllocationMemoryFailedInFileSystemInterfaceAdapter,In OpenFile or OpenDirectory
2,3408,,,,AllocationMemoryFailedInGameCardFileSystemCreatorG,
2,3409,,,,AllocationMemoryFailedInGameCardFileSystemCreatorH,
2,3411,,,,AllocationMemoryFailedInBufferedStorageA, 2,3411,,,,AllocationMemoryFailedInBufferedStorageA,
2,3412,,,,AllocationMemoryFailedInIntegrityRomFsStorageA, 2,3412,,,,AllocationMemoryFailedInIntegrityRomFsStorageA,
2,3421,,,,AllocationMemoryFailedInCreateShared, 2,3416,,,,AllocationMemoryFailedInSaveDataFileSystemServiceImplB,
2,3422,,,,AllocationMemoryFailedInMakeUnique, 2,3420,,,,AllocationMemoryFailedNew,
2,3423,,,,AllocationMemoryFailedInAllocateShared, 2,3421,,,,AllocationMemoryFailedCreateShared,
2,3424,,,,AllocationMemoryFailedPooledBufferNotEnoughSize, 2,3422,,,,AllocationMemoryFailedMakeUnique,
2,3423,,,,AllocationMemoryFailedAllocateShared,
2,3424,,,,AllocationPooledBufferNotEnoughSize,
2,3428,,,,AllocationMemoryFailedInWriteThroughCacheStorageA,
2,3429,,,,AllocationMemoryFailedInSaveDataTransferManagerA,
2,3430,,,,AllocationMemoryFailedInSaveDataTransferManagerB,
2,3431,,,,AllocationMemoryFailedInHtcFileSystemA,
2,3432,,,,AllocationMemoryFailedInHtcFileSystemB,
2,3433,,,,AllocationMemoryFailedInGameCardManagerG,
2,3500,3999,,,MmcAccessFailed, 2,3500,3999,,,MmcAccessFailed,
2,3501,,,,PortMmcNoDevice, 2,3501,,,,PortMmcNoDevice,
@ -332,6 +539,9 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,3700,,,,PortMmcNotSupported, 2,3700,,,,PortMmcNotSupported,
2,3701,,,,PortMmcNotImplemented, 2,3701,,,,PortMmcNotImplemented,
2,3998,,,,,
2,3999,,,,PortMmcUnexpected,
2,4000,4999,,,DataCorrupted, 2,4000,4999,,,DataCorrupted,
2,4001,4299,,,RomCorrupted, 2,4001,4299,,,RomCorrupted,
2,4002,,,,UnsupportedRomVersion, 2,4002,,,,UnsupportedRomVersion,
@ -341,6 +551,7 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,4013,,,,InvalidAesCtrCounterExtendedTableSize, 2,4013,,,,InvalidAesCtrCounterExtendedTableSize,
2,4014,,,,InvalidAesCtrCounterExtendedGeneration, 2,4014,,,,InvalidAesCtrCounterExtendedGeneration,
2,4015,,,,InvalidAesCtrCounterExtendedOffset, 2,4015,,,,InvalidAesCtrCounterExtendedOffset,
2,4016,,,,,
2,4021,4029,,,IndirectStorageCorrupted, 2,4021,4029,,,IndirectStorageCorrupted,
2,4022,,,,InvalidIndirectEntryOffset, 2,4022,,,,InvalidIndirectEntryOffset,
@ -349,6 +560,7 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,4025,,,,InvalidIndirectVirtualOffset, 2,4025,,,,InvalidIndirectVirtualOffset,
2,4026,,,,InvalidIndirectPhysicalOffset, 2,4026,,,,InvalidIndirectPhysicalOffset,
2,4027,,,,InvalidIndirectStorageIndex, 2,4027,,,,InvalidIndirectStorageIndex,
2,4028,,,,InvalidIndirectStorageBucketTreeSize,
2,4031,4039,,,BucketTreeCorrupted, 2,4031,4039,,,BucketTreeCorrupted,
2,4032,,,,InvalidBucketTreeSignature, 2,4032,,,,InvalidBucketTreeSignature,
@ -374,6 +586,13 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,4061,,,,InvalidRomNcaKeyIndex, 2,4061,,,,InvalidRomNcaKeyIndex,
2,4062,,,,InvalidRomNcaFsHeaderHashType, 2,4062,,,,InvalidRomNcaFsHeaderHashType,
2,4063,,,,InvalidRomNcaFsHeaderEncryptionType, 2,4063,,,,InvalidRomNcaFsHeaderEncryptionType,
2,4064,,,,InvalidRomNcaPatchInfoIndirectSize,
2,4065,,,,InvalidRomNcaPatchInfoAesCtrExSize,
2,4066,,,,InvalidRomNcaPatchInfoAesCtrExOffset,
2,4067,,,,InvalidRomNcaId,
2,4068,,,,InvalidRomNcaHeader,
2,4069,,,,InvalidRomNcaFsHeader,
2,4070,,,,InvalidRomNcaPatchInfoIndirectOffset,
2,4071,4079,,,RomNcaHierarchicalSha256StorageCorrupted, 2,4071,4079,,,RomNcaHierarchicalSha256StorageCorrupted,
2,4072,,,,InvalidRomHierarchicalSha256BlockSize, 2,4072,,,,InvalidRomHierarchicalSha256BlockSize,
@ -381,11 +600,13 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,4074,,,,RomHierarchicalSha256BaseStorageTooLarge, 2,4074,,,,RomHierarchicalSha256BaseStorageTooLarge,
2,4075,,,,RomHierarchicalSha256HashVerificationFailed, 2,4075,,,,RomHierarchicalSha256HashVerificationFailed,
2,4081,,,,InvalidRomHierarchicalIntegrityVerificationLayerCount,
2,4082,,,,RomNcaIndirectStorageOutOfRange,
2,4141,4179,,,RomIntegrityVerificationStorageCorrupted, 2,4141,4179,,,RomIntegrityVerificationStorageCorrupted,
2,4142,,,,IncorrectRomIntegrityVerificationMagic, 2,4142,,,,IncorrectRomIntegrityVerificationMagic,
2,4143,,,,InvalidRomZeroHash, 2,4143,,,,InvalidRomZeroHash,
2,4144,,,,RomNonRealDataVerificationFailed, 2,4144,,,,RomNonRealDataVerificationFailed,
2,4145,,,,InvalidRomHierarchicalIntegrityVerificationLayerCount,
2,4151,4159,,,RomRealDataVerificationFailed, 2,4151,4159,,,RomRealDataVerificationFailed,
2,4152,,,,ClearedRomRealDataVerificationFailed, 2,4152,,,,ClearedRomRealDataVerificationFailed,
@ -412,31 +633,104 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,4262,,,,InvalidRomAllocationTableBlock, 2,4262,,,,InvalidRomAllocationTableBlock,
2,4263,,,,InvalidRomKeyValueListElementIndex, 2,4263,,,,InvalidRomKeyValueListElementIndex,
2,4280,4284,,,RomStorageCorrupted,Returned directly when the header says the total size of the RomFs metadata is 0 bytes.
2,4281,,,,InvalidRomStorageSize,The RomFs metadata is located beyond the end of the provided storage.
2,4301,4499,,,SaveDataCorrupted, 2,4301,4499,,,SaveDataCorrupted,
2,4302,,,,UnsupportedSaveVersion, 2,4302,,,,UnsupportedSaveVersion,
2,4303,,,,InvalidSaveDataEntryType, 2,4303,,,,InvalidSaveDataEntryType,
2,4315,,,,InvalidSaveDataHeader,
2,4362,,,,InvalidSaveDataIvfcMagic, 2,4311,4319,,,JournalIntegritySaveDataCorrupted,
2,4363,,,,InvalidSaveDataIvfcHashValidationBit, 2,4312,,,,InvalidJournalIntegritySaveDataMasterDataSize,
2,4364,,,,InvalidSaveDataIvfcHash, 2,4313,,,,InconsistentJournalIntegritySaveDataCommitState,
2,4372,,,,EmptySaveDataIvfcHash, 2,4314,,,,InvalidJournalIntegritySaveDataStorageSize,
2,4373,,,,InvalidSaveDataHashInIvfcTopLayer, 2,4315,,,,InvalidJournalIntegritySaveDataMasterHeader,
2,4316,,,,InvalidJournalIntegritySaveDataSignature,
2,4317,,,,IncorrectJournalIntegritySaveDataLayoutHeaderMagic,
2,4321,4329,,,DuplexStorageCorrupted,
2,4322,,,,IncorrectHierarchicalDuplexStorageControlAreaMagic,
2,4323,,,,DuplexStorageAccessOutOfRange,
2,4331,4339,,,RemapStorageCorrupted,
2,4332,,,,InvalidRemapStorageMapEntryCount,
2,4333,,,,InvalidRemapStorageOffset,
2,4334,,,,InvalidRemapStorageSize,
2,4335,,,,InvalidRemapStorageAlignment,
2,4336,,,,InvalidRemapStorageStorageType,
2,4337,,,,InvalidRemapStorageNewMapEntryOffset,The range of the new map entry overlaps with the range of an existing map entry.
2,4338,,,,RemapStorageStorageNotRegistered,The storage for the map entry's storage type hasn't been registered.
2,4339,,,,RemapStorageInvalidRegisteredStorageSize,The storage registered for the map entry's storage type is too short to contain the physical range specified in the map entry.
2,4341,4349,,,UnionStorageCorrupted,
2,4342,,,,InvalidUnionStorageBlockSize,
2,4343,,,,InvalidUnionStorageLogOffsetAlignment,
2,4344,,,,InvalidUnionStorageLogOffsetForCommit,
2,4345,,,,InvalidUnionStorageLogOffset,
2,4352,,,,InvalidSaveDataThumbnailHash,
2,4357,,,,InvalidSaveDataInternalStorageIntegritySeedSize,
2,4358,,,,,
2,4359,,,,,
2,4361,4399,,,SaveDataIntegrityVerificationStorageCorrupted,
2,4362,,,,IncorrectSaveDataIntegrityVerificationMagic,
2,4363,,,,InvalidSaveDataZeroHash,
2,4364,,,,SaveDataNonRealDataVerificationFailed,
2,4372,,,,ClearedSaveDataRealDataVerificationFailed,
2,4373,,,,UnclearedSaveDataRealDataVerificationFailed,
2,4402,,,,SaveDataInvalidGptPartitionSignature, 2,4402,,,,SaveDataInvalidGptPartitionSignature,
2,4411,4419,,,SaveDataCoreFileSystemCorrupted,
2,4412,,,,IncorrectSaveDataControlAreaMagic,
2,4413,,,,InvalidSaveDataFileReadOffset,
2,4414,,,,InvalidSaveDataCoreDataStorageSize,
2,4427,,,,IncompleteBlockInZeroBitmapHashStorageFileSaveData, 2,4427,,,,IncompleteBlockInZeroBitmapHashStorageFileSaveData,
2,4431,4439,,,JournalStorageCorrupted,
2,4432,,,,JournalStorageAccessOutOfRange,
2,4433,,,,InvalidJournalStorageDataStorageSize,
2,4441,4459,,,SaveDataHostFileSystemCorrupted, 2,4441,4459,,,SaveDataHostFileSystemCorrupted,
2,4442,,,,SaveDataHostEntryCorrupted, 2,4442,,,,SaveDataHostEntryCorrupted,
2,4443,,,,SaveDataHostFileDataCorrupted, 2,4443,,,,SaveDataHostFileDataCorrupted,
2,4444,,,,SaveDataHostFileCorrupted, 2,4444,,,,SaveDataHostFileCorrupted,
2,4445,,,,InvalidSaveDataHostHandle, 2,4445,,,,InvalidSaveDataHostHandle,
2,4451,4459,,,MappingTableCorrupted,
2,4452,,,,InvalidMappingTableEntryCount,
2,4453,,,,InvalidMappingTablePhysicalIndex,
2,4454,,,,InvalidMappingTableVirtualIndex,
2,4461,4479,,,SaveDataDatabaseCorrupted,
2,4462,,,,SaveDataAllocationTableCorrupted, 2,4462,,,,SaveDataAllocationTableCorrupted,
2,4463,,,,SaveDataFileTableCorrupted, 2,4463,,,,InvalidSaveDataKeyValueListElementIndex,
2,4464,,,,AllocationTableIteratedRangeEntry, 2,4464,,,,SaveDataAllocationTableIteratedRangeEntry,
2,4465,,,,InvalidSaveDataAllocationTableOffset,
2,4466,,,,InvalidSaveDataAllocationTableBlockCount,
2,4467,,,,InvalidSaveDataKeyValueListEntryIndex,
2,4468,,,,InvalidSaveDataBitmapIndex,
2,4481,4489,,,SaveDataExtenderCorrupted,
2,4482,,,,IncorrectSaveDataExtensionContextMagic,
2,4483,,,,InvalidSaveDataExtensionContextState,
2,4484,,,,SaveDataExtensionContextMismatch,The extension context doesn't match the current save data.
2,4485,,,,InvalidSaveDataExtenderSize,
2,4491,4499,,,IntegritySaveDataCorrupted,
2,4492,,,,InvalidIntegritySaveDataMasterDataSize,
2,4494,,,,InvalidIntegritySaveDataStorageSize,
2,4495,,,,InvalidIntegritySaveDataMasterHeader,
2,4496,,,,InvalidIntegritySaveDataSignature,
2,4497,,,,IncorrectIntegritySaveDataLayoutHeaderMagic,
2,4501,4599,,,NcaCorrupted, 2,4501,4599,,,NcaCorrupted,
2,4508,,,,NcaBaseStorageOutOfRangeA, 2,4508,,,,NcaBaseStorageOutOfRangeA,
2,4509,,,,NcaBaseStorageOutOfRangeB, 2,4509,,,,NcaBaseStorageOutOfRangeB,
2,4510,,,,NcaBaseStorageOutOfRangeC,
2,4511,4529,,,NcaFileSystemCorrupted, 2,4511,4529,,,NcaFileSystemCorrupted,
2,4512,,,,InvalidNcaFileSystemType, 2,4512,,,,InvalidNcaFileSystemType,
@ -457,6 +751,7 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,4527,,,,InvalidNcaId, 2,4527,,,,InvalidNcaId,
2,4528,,,,InvalidNcaHeader, 2,4528,,,,InvalidNcaHeader,
2,4529,,,,InvalidNcaFsHeader, 2,4529,,,,InvalidNcaFsHeader,
2,4530,,,,InvalidNcaPatchInfoIndirectOffset,
2,4531,4539,,,NcaHierarchicalSha256StorageCorrupted, 2,4531,4539,,,NcaHierarchicalSha256StorageCorrupted,
2,4532,,,,InvalidHierarchicalSha256BlockSize, 2,4532,,,,InvalidHierarchicalSha256BlockSize,
@ -464,13 +759,16 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,4534,,,,HierarchicalSha256BaseStorageTooLarge, 2,4534,,,,HierarchicalSha256BaseStorageTooLarge,
2,4535,,,,HierarchicalSha256HashVerificationFailed, 2,4535,,,,HierarchicalSha256HashVerificationFailed,
2,4541,,,,InvalidHierarchicalIntegrityVerificationLayerCount,
2,4542,,,,NcaIndirectStorageOutOfRange,
2,4543,,,,InvalidNcaHeader1SignatureKeyGeneration, 2,4543,,,,InvalidNcaHeader1SignatureKeyGeneration,
2,4545,,,,InvalidNspdVerificationData,
2,4546,,,,MissingNspdVerificationData,
2,4601,4639,,,IntegrityVerificationStorageCorrupted, 2,4601,4639,,,IntegrityVerificationStorageCorrupted,
2,4602,,,,IncorrectIntegrityVerificationMagic, 2,4602,,,,IncorrectIntegrityVerificationMagic,
2,4603,,,,InvalidZeroHash, 2,4603,,,,InvalidZeroHash,
2,4604,,,,NonRealDataVerificationFailed, 2,4604,,,,NonRealDataVerificationFailed,
2,4605,,,,InvalidHierarchicalIntegrityVerificationLayerCount,
2,4611,4619,,,RealDataVerificationFailed, 2,4611,4619,,,RealDataVerificationFailed,
2,4612,,,,ClearedRealDataVerificationFailed, 2,4612,,,,ClearedRealDataVerificationFailed,
@ -486,8 +784,11 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,4661,4679,,,BuiltInStorageCorrupted, 2,4661,4679,,,BuiltInStorageCorrupted,
2,4662,,,,InvalidGptPartitionSignature, 2,4662,,,,InvalidGptPartitionSignature,
2,4664,,,,InvalidGptPartitionStorageSize,
2,4681,4699,,,FatFileSystemCorrupted, 2,4681,4699,,,FatFileSystemCorrupted,
2,4683,,,,InvalidFatFormat,
2,4684,,,,InvalidFatFileNumber,
2,4685,,,,ExFatUnavailable, 2,4685,,,,ExFatUnavailable,
2,4686,,,,InvalidFatFormatForBisUser, 2,4686,,,,InvalidFatFormatForBisUser,
2,4687,,,,InvalidFatFormatForBisSystem, 2,4687,,,,InvalidFatFormatForBisSystem,
@ -504,8 +805,11 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,4721,4739,,,DatabaseCorrupted, 2,4721,4739,,,DatabaseCorrupted,
2,4722,,,,InvalidAllocationTableBlock, 2,4722,,,,InvalidAllocationTableBlock,
2,4723,,,,InvalidKeyValueListElementIndex, 2,4723,,,,InvalidKeyValueListElementIndex,
2,4724,,,,AllocationTableIteratedRangeEntryInternal, 2,4724,,,,AllocationTableIteratedRangeEntry,
2,4725,,,,InvalidAllocationTableOffset, 2,4725,,,,InvalidAllocationTableOffset,
2,4726,,,,InvalidAllocationTableBlockCount,
2,4727,,,,InvalidKeyValueListEntryIndex,
2,4728,,,,InvalidBitmapIndex,
2,4741,4759,,,AesXtsFileSystemCorrupted, 2,4741,4759,,,AesXtsFileSystemCorrupted,
2,4742,,,,AesXtsFileHeaderTooShort, 2,4742,,,,AesXtsFileHeaderTooShort,
@ -517,8 +821,20 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,4748,,,,AesXtsFileHeaderInvalidKeysInSetSize, 2,4748,,,,AesXtsFileHeaderInvalidKeysInSetSize,
2,4761,4769,,,SaveDataTransferDataCorrupted, 2,4761,4769,,,SaveDataTransferDataCorrupted,
2,4762,,,,,
2,4763,,,,,
2,4764,,,,,
2,4765,,,,,
2,4766,,,,,
2,4767,,,,,
2,4771,4779,,,SignedSystemPartitionDataCorrupted, 2,4771,4779,,,SignedSystemPartitionDataCorrupted,
2,4772,,,,,
2,4773,,,,,
2,4774,,,,,
2,4775,,,,,
2,4776,,,,,
2,4781,,,,GameCardLogoDataCorrupted, 2,4781,,,,GameCardLogoDataCorrupted,
2,4785,,,,SimulatedDeviceDataCorrupted, 2,4785,,,,SimulatedDeviceDataCorrupted,
@ -530,12 +846,42 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,4812,,,,IncompleteBlockInZeroBitmapHashStorageFile, 2,4812,,,,IncompleteBlockInZeroBitmapHashStorageFile,
2,5000,5999,,,Unexpected, 2,5000,5999,,,Unexpected,
2,5002,,,,UnexpectedFatFileSystemError,
2,5003,,,,FatFileSystemDriverError,
2,5024,,,,FatSystemFileOpenCountLimit,
2,5025,,,,FatUserFileOpenCountLimit,
2,5026,,,,FatEntryIsDirectory,
2,5028,,,,FatFileSystemPermissionDenied,
2,5029,,,,FatDriverInitializationFailed,
2,5055,,,,UnexpectedFatSafeError,
2,5110,,,,,
2,5121,,,,UnexpectedFatFileSystemSectorCount, 2,5121,,,,UnexpectedFatFileSystemSectorCount,
2,5307,,,,UnexpectedErrorInHostFileFlush, 2,5122,,,,,
2,5308,,,,UnexpectedErrorInHostFileGetSize, 2,5123,,,,NullptrArgumentForFatFormat,
2,5309,,,,UnknownHostFileSystemError, 2,5124,,,,InvalidFatFormatParamsA,
2,5125,,,,InvalidFatFormatParamsB,
2,5126,,,,InvalidFatFormatParamsC,
2,5127,,,,InvalidFatFormatParamsD,
2,5131,,,,FatSectorWriteVerificationFailed,
2,5304,,,,UnexpectedInJournalIntegritySaveDataFileSystemC,Tried to write to an IntegrityFilteredFile that is provisionally committed.
2,5305,,,,UnexpectedInLocalFileSystemA,
2,5306,,,,UnexpectedInLocalFileSystemB,
2,5307,,,,UnexpectedInLocalFileSystemC,
2,5308,,,,UnexpectedInLocalFileSystemD,
2,5309,,,,UnexpectedInLocalFileSystemE,
2,5310,,,,UnexpectedInLocalFileSystemF,
2,5315,,,,UnexpectedInAesCtrStorageA,
2,5316,,,,UnexpectedInAesXtsStorageA,
2,5317,,,,,
2,5318,,,,,
2,5319,,,,UnexpectedInMountUtilityA, 2,5319,,,,UnexpectedInMountUtilityA,
2,5320,,,,InvalidNcaMountPoint, 2,5320,,,,InvalidNcaMountPoint,
2,5321,,,,UnexpectedInRamDiskFileSystemA,
2,5322,,,,UnexpectedInBisWiperA,
2,5323,,,,UnexpectedInBisWiperB,
2,6000,6499,,,PreconditionViolation, 2,6000,6499,,,PreconditionViolation,
2,6001,6199,,,InvalidArgument, 2,6001,6199,,,InvalidArgument,
@ -564,6 +910,7 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,6070,,,,InvalidCacheStorageIndex, 2,6070,,,,InvalidCacheStorageIndex,
2,6071,,,,InvalidCommitNameCount,Up to 10 file systems can be committed at the same time. 2,6071,,,,InvalidCommitNameCount,Up to 10 file systems can be committed at the same time.
2,6072,,,,InvalidOpenMode, 2,6072,,,,InvalidOpenMode,
2,6073,,,,InvalidFileSize,
2,6074,,,,InvalidDirectoryOpenMode, 2,6074,,,,InvalidDirectoryOpenMode,
2,6075,,,,InvalidCommitOption, 2,6075,,,,InvalidCommitOption,
@ -571,6 +918,9 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,6081,,,,InvalidSaveDataState, 2,6081,,,,InvalidSaveDataState,
2,6082,,,,InvalidSaveDataSpaceId, 2,6082,,,,InvalidSaveDataSpaceId,
2,6101,,,,GameCardLogoDataTooLarge,
2,6102,,,,FileDataCacheMemorySizeTooSmall,
2,6200,6299,,,InvalidOperationForOpenMode, 2,6200,6299,,,InvalidOperationForOpenMode,
2,6201,,,,FileExtensionWithoutOpenModeAllowAppend, 2,6201,,,,FileExtensionWithoutOpenModeAllowAppend,
2,6202,,,,ReadUnpermitted, 2,6202,,,,ReadUnpermitted,
@ -663,6 +1013,7 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,6386,,,,UnsupportedSetSizeForZeroBitmapHashStorageFile, 2,6386,,,,UnsupportedSetSizeForZeroBitmapHashStorageFile,
2,6400,6449,,,PermissionDenied, 2,6400,6449,,,PermissionDenied,
2,6403,,,,PermissionDeniedForCreateHostFileSystem,Returned when opening a host FS on a retail device.
2,6450,,,,PortAcceptableCountLimited, 2,6450,,,,PortAcceptableCountLimited,
2,6452,,,,ExternalKeyAlreadyRegistered, 2,6452,,,,ExternalKeyAlreadyRegistered,
@ -672,13 +1023,19 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,6457,,,,WriteModeFileNotClosed, 2,6457,,,,WriteModeFileNotClosed,
2,6458,,,,AllocatorAlreadyRegistered, 2,6458,,,,AllocatorAlreadyRegistered,
2,6459,,,,DefaultAllocatorUsed, 2,6459,,,,DefaultAllocatorUsed,
2,6460,,,,GameCardLogoDataNotReadable,
2,6461,,,,AllocatorAlignmentViolation, 2,6461,,,,AllocatorAlignmentViolation,
2,6462,,,,GlobalFileDataCacheAlreadyEnabled,
2,6463,,,,MultiCommitFileSystemAlreadyAdded,The provided file system has already been added to the multi-commit manager. 2,6463,,,,MultiCommitFileSystemAlreadyAdded,The provided file system has already been added to the multi-commit manager.
2,6464,,,,,
2,6465,,,,UserNotExist, 2,6465,,,,UserNotExist,
2,6466,,,,DefaultGlobalFileDataCacheEnabled, 2,6466,,,,DefaultGlobalFileDataCacheEnabled,
2,6467,,,,SaveDataRootPathUnavailable, 2,6467,,,,SaveDataRootPathUnavailable,
2,6600,6699,,,NotFound, 2,6600,6699,,,NotFound,
2,6602,,,,SaveDataFileNotFound,
2,6603,,,,SaveDataDirectoryNotFound,
2,6604,,,,SaveDataFileTableEntryNotFound,
2,6605,,,,TargetProgramNotFound,Specified program is not found in the program registry. 2,6605,,,,TargetProgramNotFound,Specified program is not found in the program registry.
2,6606,,,,TargetProgramIndexNotFound,Specified program index is not found 2,6606,,,,TargetProgramIndexNotFound,Specified program index is not found
@ -694,11 +1051,57 @@ Module,DescriptionStart,DescriptionEnd,Flags,Namespace,Name,Summary
2,6900,6999,,,BadState, 2,6900,6999,,,BadState,
2,6902,,,,NotInitialized, 2,6902,,,,NotInitialized,
2,6903,,,,BisProxyInvalidated,
2,6904,,,,NcaDigestInconsistent,
2,6905,,,,NotMounted, 2,6905,,,,NotMounted,
2,6906,,,,SaveDataIsExtending, 2,6906,,,,SaveDataIsExtending,
2,6907,,,,SaveDataToExpandIsProvisionallyCommitted,
2,7002,,,,,
2,7003,,,,,
2,7004,,,,,
2,7005,,,,,
2,7006,,,,,
2,7009,,,,,
2,7010,,,,,
2,7011,,,,,
2,7031,,,,SaveDataPorterInvalidated, 2,7031,,,,SaveDataPorterInvalidated,
2,7032,,,,,
2,7033,,,,,
2,7034,,,,,
2,7035,,,,,
2,7036,,,,,
2,7037,,,,,
2,7038,,,,,
2,7062,,,,InvalidKeyPackageMac,
2,7063,,,,KeyPackageSignatureVerificationFailed,
2,7064,,,,InvalidKeyPackageChallengeData,
2,7065,,,,UnsupportedKeyPackageKeyGeneration,
2,7066,,,,InvalidSaveDataRepairInitialDataContentGcmMac,
2,7069,,,,InvalidSaveDataRepairInitialDataCmac,
2,7070,,,,SaveDataRepairInitialDataAadMismatch,The before and after initial data have different AAD.
2,7071,,,,SaveDataRepairInitialDataSaveMismatch,The before and after initial data refer to different saves.
2,7100,7139,,,RamDiskCorrupted,
2,7101,,,,,
2,7111,7119,,,RamDiskSaveDataCoreFileSystemCorrupted,
2,7112,,,,IncorrectRamDiskSaveDataControlAreaMagic,
2,7113,,,,InvalidRamDiskSaveDataFileReadOffset,
2,7114,,,,InvalidRamDiskSaveDataCoreDataStorageSize,
2,7121,7139,,,RamDiskDatabaseCorrupted,
2,7122,,,,InvalidRamDiskAllocationTableBlock,
2,7123,,,,InvalidRamDiskKeyValueListElementIndex,
2,7124,,,,RamDiskAllocationTableIteratedRangeEntry,
2,7125,,,,InvalidRamDiskAllocationTableOffset,
2,7126,,,,InvalidRamDiskAllocationTableBlockCount,
2,7127,,,,InvalidRamDiskKeyValueListEntryIndex,
2,7142,,,,,
2,7900,,,,Unknown,
2,7901,7904,,,DbmNotFound, 2,7901,7904,,,DbmNotFound,
2,7902,,,,DbmKeyNotFound, 2,7902,,,,DbmKeyNotFound,
2,7903,,,,DbmFileNotFound, 2,7903,,,,DbmFileNotFound,

1 Module DescriptionStart DescriptionEnd Flags Namespace Name Summary
57 2 37 35 UsableSpaceNotEnoughForBisUser UsableSpaceNotEnoughForBisCalibration
58 2 38 36 UsableSpaceNotEnoughForBisSystem UsableSpaceNotEnoughForBisSafe
59 2 39 37 UsableSpaceNotEnoughForSdCard UsableSpaceNotEnoughForBisUser
60 2 38 UsableSpaceNotEnoughForBisSystem
61 2 39 UsableSpaceNotEnoughForSdCard
62 2 50 UnsupportedSdkVersion
63 2 60 MountNameAlreadyExists
64 2 1000 70 2999 HandledBySystemProcess IndividualFileDataCacheAlreadyEnabled
67 2 1003 1002 MmcPatrolDataNotInitialized TargetNotFound
68 2 1004 1003 NcaExternalKeyUnavailable MmcPatrolDataNotInitialized The requested external key was not found
69 2 2000 1004 2499 SdCardAccessFailed NcaExternalKeyUnavailable The requested external key was not found
70 2 2000 2499 SdCardAccessFailed
71 2 2001 PortSdCardNoDevice
72 2 2002 PortSdCardNotActivated
73 2 2003 PortSdCardDeviceRemoved
158 2 3002 2523 UnsupportedVersion InvalidCommandForDeactivatedGameCardAsic
159 2 3003 2531 SaveDataPathAlreadyExists GameCardCardAccessTimeout
160 2 3005 2532 OutOfRange GameCardStatusFatalError
161 2 2533 GameCardReadFailure
162 2 2536 GameCardRetryLimitHit
163 2 3100 2537 SystemPartitionNotReady GameCardStatusRefreshRequested
164 2 2538 GameCardStatusCrcErrorAndRefreshRequested
165 2 3101 2540 StorageDeviceNotReady InvalidSecureAccess
166 2 3200 2541 3499 AllocationMemoryFailed InvalidNormalAccess
167 2 3211 2542 AllocationMemoryFailedInFileSystemAccessorA InvalidAccessAcrossMode
168 2 3212 2543 2546 AllocationMemoryFailedInFileSystemAccessorB GameCardWrongCard
2 3213 AllocationMemoryFailedInApplicationA
169 2 3215 2544 AllocationMemoryFailedInBisA InvalidGameCardInitialDataHash
170 2 2545 InvalidGameCardInitialDataReservedArea
171 2 2546 InvalidGameCardCertificateKekIndex
172 2 2548 InvalidGameCardModeForGetCardDeviceCertificate
173 2 2549 NotSupportedForGameCardSecurityMode
174 2 2550
175 2 2551 GameCardReadHeaderTryTimeoutForActivation
176 2 2552
177 2 2553 InvalidGameCardModeForGetChallengeCardExistence
178 2 2554 InvalidGameCardHeader
179 2 2555 InvalidGameCardCertificate
180 2 2557
181 2 2558
182 2 2565 2595 GameCardCommunicationFailure
183 2 2599 GameCardInvalidStateTransition
184 2 2600 GameCardAsicInvalidTransitionToNormalMode
185 2 2601 GameCardAsicInvalidTransitionToSecureMode
186 2 2602 GameCardAsicInvalidTransitionToWriteMode
187 2 2629 GameCardAsicInitializationFailureForWriterFirmware
188 2 2630 2669 GameCardAsicInitializationFailure
189 2 2631 GameCardAsicGetDeviceStatusFailure
190 2 2632 GameCardAsicActivationFailure
191 2 2634 GameCardAsicSetUserAsicFirmwareFailure
192 2 2637 GameCardAsicGetAsicCertFailure
193 2 2638 GameCardParseCertificateFailure
194 2 2639 InvalidGameCardAsicCertificate
195 2 2640 GameCardAsicSetEmmcEmbeddedSocCertificateFailure
196 2 2645 GameCardAsicGetAsicEncryptedMessageFailure
197 2 2646 GameCardAsicSetLibraryEncryptedMessageFailure
198 2 2651 GameCardAsicGetAsicAuthenticationDataFailure
199 2 2652 GameCardAsicSetAsicAuthenticationDataHashFailure
200 2 2653 GameCardAsicSetLibraryAuthenticationDataFailure
201 2 2654 GameCardAsicGetLibraryAuthenticationDataHashFailure
202 2 2655 GameCardInvalidLibraryAuthenticationDataHash
203 2 2658 GameCardAsicEnterSecureAsicModeFailure
204 2 2659 GameCardAsicExchangeRandomValuesInSecureModeFailure
205 2 2660 GameCardAsicChallengeCardExistenceFailure
206 2 2663 GameCardAsicActivationTimeout
207 2 2665 2669 GameCardSplFailure
208 2 2666 GameCardSplDecryptAesKeyFailure
209 2 2667 GameCardSplDecryptAndStoreGcKeyFailure
210 2 2668 GameCardSplGenerateRandomBytesFailure
211 2 2669 GameCardSplDecryptGcMessageFailure
212 2 2671 GameCardAsicReadAsicRegisterFailure
213 2 2672 GameCardAsicWriteAsicRegisterFailure
214 2 2673 GameCardAsicEnableCardBusFailure
215 2 2674 GameCardAsicGetCardHeaderFailure
216 2 2675 GameCardAsicStatusError
217 2 2676 GameCardAsicGetCardKeyAreaFailure
218 2 2677 GameCardAsicChangeDebugModeFailure
219 2 2678 GameCardAsicGetRmaInformationFailure
220 2 2680 GameCardAsicStatusBit22Set
221 2 2681 GameCardSecureValuesNotInitialized
222 2 2692 InvalidSecureGameCardCommand
223 2 2693 InvalidWriteGameCardCommand
224 2 2703 GameCardSetVoltageFailure
225 2 2731 GameCardCommandReadId1Failure
226 2 2732 GameCardCommandReadId2Failure
227 2 2733 GameCardCommandReadId3Failure
228 2 2735 GameCardCommandReadPageFailure
229 2 2736 GameCardCommandReadPageUnalignedFailure
230 2 2737 GameCardCommandWritePageFailure
231 2 2738 GameCardCommandRefreshFailure
232 2 2739 GameCardCommandUpdateKeyFailure
233 2 2742 GameCardCommandReadCrcFailure
234 2 2743 GameCardCommandEraseFailure
235 2 2744 GameCardCommandReadDevParamFailure
236 2 2745 GameCardCommandWriteDevParamFailure
237 2 2901 GameCardParameterError
238 2 2902
239 2 2903
240 2 2904
241 2 2905
242 2 2906
243 2 2950 InvalidGameCardStorageAttribute
244 2 2951 GameCardNotInsertedOnGetHandle
245 2 2952 InvalidGameCardHandleOnRead
246 2 2954 InvalidGameCardHandleOnGetCardInfo
247 2 2955 InvalidGameCardHandleOnGetGameCardDeviceCertificate
248 2 2956 InvalidGameCardHandleOnGetGameCardImageHash
249 2 2957 InvalidGameCardHandleOnChallengeCardExistence
250 2 2958 InvalidGameCardHandleOnOnAcquireLock
251 2 2959 InvalidGameCardModeOnAcquireSecureLock
252 2 2960 InvalidGameCardHandleOnOpenNormalPartition
253 2 2961 InvalidGameCardHandleOnOpenSecurePartition
254 2 2962 InvalidGameCardCompatibilityType
255 2 2963 GameCardsNotSupportedOnDeviceModel
256 2 3000 7999 Internal
257 2 3001 NotImplemented
258 2 3002 UnsupportedVersion
259 2 3003 SaveDataPathAlreadyExists
260 2 3005 OutOfRange
261 2 3099
262 2 3100 SystemPartitionNotReady
263 2 3101 StorageDeviceNotReady
264 2 3200 3499 AllocationMemoryFailed
265 2 3201 AllocationMemoryFailedInPrFile2
266 2 3203 AllocationMemoryFailedInFatFileSystemA
267 2 3204 AllocationMemoryFailedInFatFileSystemB
268 2 3205 AllocationMemoryFailedInFatFileSystemC
269 2 3206 AllocationMemoryFailedInFatFileSystemD
270 2 3208 AllocationMemoryFailedInFatFileSystemE
271 2 3211 AllocationMemoryFailedInFileSystemAccessorA
272 2 3212 AllocationMemoryFailedInFileSystemAccessorB
273 2 3213 AllocationMemoryFailedInApplicationA
274 2 3214 AllocationMemoryFailedInBcatSaveDataA
275 2 3216 3215 AllocationMemoryFailedInBisB AllocationMemoryFailedInBisA
276 2 3217 3216 AllocationMemoryFailedInBisC AllocationMemoryFailedInBisB
277 2 3218 3217 AllocationMemoryFailedInCodeA AllocationMemoryFailedInBisC
278 2 3218 AllocationMemoryFailedInCodeA
279 2 3219 AllocationMemoryFailedInContentA
280 2 3220 AllocationMemoryFailedInContentStorageA
281 2 3221 AllocationMemoryFailedInContentStorageB
282 2 3222 AllocationMemoryFailedInDataA
283 2 3219 3223 AllocationMemoryFailedInContentA AllocationMemoryFailedInDataB
284 2 3220 3224 AllocationMemoryFailedInContentStorageA AllocationMemoryFailedInDeviceSaveDataA
285 2 3225 AllocationMemoryFailedInGameCardA
286 2 3226 AllocationMemoryFailedInGameCardB
287 2 3221 3227 AllocationMemoryFailedInContentStorageB AllocationMemoryFailedInGameCardC
288 2 3222 3228 AllocationMemoryFailedInDataA AllocationMemoryFailedInGameCardD
289 2 3223 3229 AllocationMemoryFailedInDataB AllocationMemoryFailedInHostA
291 2 3225 3231 AllocationMemoryFailedInGameCardA AllocationMemoryFailedInHostC
292 2 3226 3232 AllocationMemoryFailedInGameCardB AllocationMemoryFailedInImageDirectoryA
293 2 3227 3233 AllocationMemoryFailedInGameCardC AllocationMemoryFailedInLogoA
294 2 3234 AllocationMemoryFailedInRomA
295 2 3228 3235 AllocationMemoryFailedInGameCardD AllocationMemoryFailedInRomB
296 2 3232 3236 AllocationMemoryFailedInImageDirectoryA AllocationMemoryFailedInRomC
297 2 3244 3237 AllocationMemoryFailedInSdCardA AllocationMemoryFailedInRomD
298 2 3245 3238 AllocationMemoryFailedInSdCardB AllocationMemoryFailedInRomE
299 2 3239 AllocationMemoryFailedInRomF
300 2 3242 AllocationMemoryFailedInSaveDataManagementA
301 2 3243 AllocationMemoryFailedInSaveDataThumbnailA
302 2 3244 AllocationMemoryFailedInSdCardA
303 2 3245 AllocationMemoryFailedInSdCardB
304 2 3246 AllocationMemoryFailedInSystemSaveDataA
305 2 3246 3247 AllocationMemoryFailedInSystemSaveDataA AllocationMemoryFailedInRomFsFileSystemA
306 2 3247 3248 AllocationMemoryFailedInRomFsFileSystemA AllocationMemoryFailedInRomFsFileSystemB
307 2 3248 3249 AllocationMemoryFailedInRomFsFileSystemB AllocationMemoryFailedInRomFsFileSystemC
308 2 3251 AllocationMemoryFailedInGuidPartitionTableA
309 2 3249 3252 AllocationMemoryFailedInRomFsFileSystemC AllocationMemoryFailedInDeviceDetectionEventManagerA
310 2 3256 3253 AllocationMemoryFailedInNcaFileSystemServiceImplA AllocationMemoryFailedInSaveDataFileSystemServiceImplA In ParseNsp allocating FileStorageBasedFileSystem
311 2 3257 3254 AllocationMemoryFailedInNcaFileSystemServiceImplB AllocationMemoryFailedInFileSystemProxyCoreImplB In ParseNca allocating FileStorageBasedFileSystem
320 2 3296 3264 AllocationMemoryFailedInBlockCacheBufferedStorageA AllocationMemoryFailedFatFileSystemWithBufferA In Initialize allocating ProgramInfoNode
321 2 3297 3265 AllocationMemoryFailedInBlockCacheBufferedStorageB AllocationMemoryFailedInFatFileSystemCreatorA
322 2 3304 3266 AllocationMemoryFailedInIntegrityVerificationStorageA AllocationMemoryFailedInFatFileSystemCreatorB
323 2 3267 AllocationMemoryFailedInGameCardFileSystemCreatorA
324 2 3268 AllocationMemoryFailedInGameCardFileSystemCreatorB
325 2 3269 AllocationMemoryFailedInGameCardFileSystemCreatorC
326 2 3305 3270 AllocationMemoryFailedInIntegrityVerificationStorageB AllocationMemoryFailedInGameCardFileSystemCreatorD
327 2 3271 AllocationMemoryFailedInGameCardFileSystemCreatorE
328 2 3272 AllocationMemoryFailedInGameCardFileSystemCreatorF
329 2 3273 AllocationMemoryFailedInGameCardManagerA
330 2 3274 AllocationMemoryFailedInGameCardManagerB
331 2 3275 AllocationMemoryFailedInGameCardManagerC
332 2 3276 AllocationMemoryFailedInGameCardManagerD
333 2 3277 AllocationMemoryFailedInGameCardManagerE
334 2 3278 AllocationMemoryFailedInGameCardManagerF
335 2 3279 AllocationMemoryFailedInLocalFileSystemCreatorA
336 2 3312 3280 AllocationMemoryFailedInAesXtsFileA AllocationMemoryFailedInPartitionFileSystemCreatorA In Initialize allocating FileStorage In Create allocating PartitionFileSystemCore
337 2 3313 3281 AllocationMemoryFailedInAesXtsFileB AllocationMemoryFailedInRomFileSystemCreatorA In Initialize allocating AesXtsStorage
338 2 3314 3282 AllocationMemoryFailedInAesXtsFileC AllocationMemoryFailedInSaveDataFileSystemCreatorA In Initialize allocating AlignmentMatchingStoragePooledBuffer
339 2 3315 3283 AllocationMemoryFailedInAesXtsFileD AllocationMemoryFailedInSaveDataFileSystemCreatorB In Initialize allocating StorageFile
340 2 3321 3284 AllocationMemoryFailedInDirectorySaveDataFileSystem AllocationMemoryFailedInSaveDataFileSystemCreatorC
341 2 3341 3285 AllocationMemoryFailedInNcaFileSystemDriverI AllocationMemoryFailedInSaveDataFileSystemCreatorD
342 2 3286 AllocationMemoryFailedInSaveDataFileSystemCreatorE
343 2 3288 AllocationMemoryFailedInStorageOnNcaCreatorA
344 2 3289 AllocationMemoryFailedInStorageOnNcaCreatorB
345 2 3290 AllocationMemoryFailedInSubDirectoryFileSystemCreatorA
346 2 3291 AllocationMemoryFailedInTargetManagerFileSystemCreatorA
347 2 3292 AllocationMemoryFailedInSaveDataIndexerA
348 2 3293 AllocationMemoryFailedInSaveDataIndexerB
349 2 3347 3294 AllocationMemoryFailedInPartitionFileSystemA AllocationMemoryFailedInFileSystemBuddyHeapA In Initialize allocating PartitionFileSystemMetaCore
350 2 3348 3295 AllocationMemoryFailedInPartitionFileSystemB AllocationMemoryFailedInFileSystemBufferManagerA In DoOpenFile allocating PartitionFile
351 2 3349 3296 AllocationMemoryFailedInPartitionFileSystemC AllocationMemoryFailedInBlockCacheBufferedStorageA In DoOpenDirectory allocating PartitionDirectory
352 2 3350 3297 AllocationMemoryFailedInPartitionFileSystemMetaA AllocationMemoryFailedInBlockCacheBufferedStorageB In Initialize allocating metadata buffer
353 2 3298 AllocationMemoryFailedInDuplexStorageA
354 2 3304 AllocationMemoryFailedInIntegrityVerificationStorageA
355 2 3305 AllocationMemoryFailedInIntegrityVerificationStorageB
356 2 3306 AllocationMemoryFailedInJournalStorageA
357 2 3307 AllocationMemoryFailedInJournalStorageB
358 2 3310 AllocationMemoryFailedInSaveDataFileSystemCoreA
359 2 3311 AllocationMemoryFailedInSaveDataFileSystemCoreB
360 2 3312 AllocationMemoryFailedInAesXtsFileA In Initialize allocating FileStorage
361 2 3313 AllocationMemoryFailedInAesXtsFileB In Initialize allocating AesXtsStorage
362 2 3314 AllocationMemoryFailedInAesXtsFileC In Initialize allocating AlignmentMatchingStoragePooledBuffer
363 2 3315 AllocationMemoryFailedInAesXtsFileD In Initialize allocating StorageFile
364 2 3316 AllocationMemoryFailedInAesXtsFileSystemA
365 2 3319 AllocationMemoryFailedInConcatenationFileSystemA
366 2 3320 AllocationMemoryFailedInConcatenationFileSystemB
367 2 3321 AllocationMemoryFailedInDirectorySaveDataFileSystemA
368 2 3322 AllocationMemoryFailedInLocalFileSystemA
369 2 3323 AllocationMemoryFailedInLocalFileSystemB
370 2 3341 AllocationMemoryFailedInNcaFileSystemDriverI
371 2 3347 AllocationMemoryFailedInPartitionFileSystemA In Initialize allocating PartitionFileSystemMetaCore
372 2 3351 3348 AllocationMemoryFailedInPartitionFileSystemMetaB AllocationMemoryFailedInPartitionFileSystemB In Sha256 Initialize allocating metadata buffer In DoOpenFile allocating PartitionFile
373 2 3352 3349 AllocationMemoryFailedInRomFsFileSystemD AllocationMemoryFailedInPartitionFileSystemC In DoOpenDirectory allocating PartitionDirectory
374 2 3350 AllocationMemoryFailedInPartitionFileSystemMetaA In Initialize allocating metadata buffer
375 2 3351 AllocationMemoryFailedInPartitionFileSystemMetaB In Sha256 Initialize allocating metadata buffer
376 2 3352 AllocationMemoryFailedInRomFsFileSystemD
377 2 3355 AllocationMemoryFailedInSubdirectoryFileSystemA In Initialize allocating RootPathBuffer
378 2 3356 AllocationMemoryFailedInTmFileSystemA
379 2 3355 3357 AllocationMemoryFailedInSubdirectoryFileSystemA AllocationMemoryFailedInTmFileSystemB In Initialize allocating RootPathBuffer
380 2 3363 3359 AllocationMemoryFailedInNcaReaderA AllocationMemoryFailedInProxyFileSystemA
381 2 3360 AllocationMemoryFailedInProxyFileSystemB
382 2 3362 AllocationMemoryFailedInSaveDataExtraDataAccessorCacheManagerA
383 2 3363 AllocationMemoryFailedInNcaReaderA
384 2 3365 AllocationMemoryFailedInRegisterA
385 2 3365 3366 AllocationMemoryFailedInRegisterA AllocationMemoryFailedInRegisterB
386 2 3366 3367 AllocationMemoryFailedInRegisterB AllocationMemoryFailedInPathNormalizer
387 2 3367 3375 AllocationMemoryFailedInPathNormalizer AllocationMemoryFailedInDbmRomKeyValueStorage
388 2 3375 3376 AllocationMemoryFailedInDbmRomKeyValueStorage AllocationMemoryFailedInDbmHierarchicalRomFileTable
389 2 3377 AllocationMemoryFailedInRomFsFileSystemE
390 2 3378 AllocationMemoryFailedInISaveFileSystemA
391 2 3377 3379 AllocationMemoryFailedInRomFsFileSystemE AllocationMemoryFailedInISaveFileSystemB
392 2 3383 3380 AllocationMemoryFailedInAesXtsFileE AllocationMemoryFailedInRomOnFileA In Initialize
393 2 3381 AllocationMemoryFailedInRomOnFileB
394 2 3382 AllocationMemoryFailedInRomOnFileC
395 2 3383 AllocationMemoryFailedInAesXtsFileE In Initialize
396 2 3384 AllocationMemoryFailedInAesXtsFileSystemB
397 2 3386 3385 AllocationMemoryFailedInReadOnlyFileSystemA AllocationMemoryFailedInAesXtsFileSystemC
398 2 3394 3386 AllocationMemoryFailedInEncryptedFileSystemCreatorA AllocationMemoryFailedInReadOnlyFileSystemA In Create allocating AesXtsFileSystem
399 2 3399 3394 AllocationMemoryFailedInAesCtrCounterExtendedStorageA AllocationMemoryFailedInEncryptedFileSystemCreatorA In Create allocating AesXtsFileSystem
400 2 3400 3399 AllocationMemoryFailedInAesCtrCounterExtendedStorageB AllocationMemoryFailedInAesCtrCounterExtendedStorageA
401 2 3407 3400 AllocationMemoryFailedInFileSystemInterfaceAdapter AllocationMemoryFailedInAesCtrCounterExtendedStorageB In OpenFile or OpenDirectory
402 2 3406 AllocationMemoryFailedInSdmmcStorageServiceB
403 2 3407 AllocationMemoryFailedInFileSystemInterfaceAdapter In OpenFile or OpenDirectory
404 2 3408 AllocationMemoryFailedInGameCardFileSystemCreatorG
405 2 3409 AllocationMemoryFailedInGameCardFileSystemCreatorH
406 2 3411 AllocationMemoryFailedInBufferedStorageA
407 2 3412 AllocationMemoryFailedInIntegrityRomFsStorageA
408 2 3420 3416 AllocationMemoryFailedInNew AllocationMemoryFailedInSaveDataFileSystemServiceImplB
409 2 3411 3420 AllocationMemoryFailedInBufferedStorageA AllocationMemoryFailedNew
410 2 3412 3421 AllocationMemoryFailedInIntegrityRomFsStorageA AllocationMemoryFailedCreateShared
413 2 3423 3424 AllocationMemoryFailedInAllocateShared AllocationPooledBufferNotEnoughSize
414 2 3424 3428 AllocationMemoryFailedPooledBufferNotEnoughSize AllocationMemoryFailedInWriteThroughCacheStorageA
415 2 3500 3429 3999 MmcAccessFailed AllocationMemoryFailedInSaveDataTransferManagerA
416 2 3430 AllocationMemoryFailedInSaveDataTransferManagerB
417 2 3431 AllocationMemoryFailedInHtcFileSystemA
418 2 3432 AllocationMemoryFailedInHtcFileSystemB
419 2 3433 AllocationMemoryFailedInGameCardManagerG
420 2 3500 3999 MmcAccessFailed
421 2 3501 PortMmcNoDevice
422 2 3502 PortMmcNotActivated
423 2 3503 PortMmcDeviceRemoved
424 2 3504 PortMmcNotAwakened
425 2 3532 3626 PortMmcCommunicationError
426 2 3533 3546 PortMmcCommunicationNotAttained
427 2 3533 3534 3546 PortMmcCommunicationNotAttained PortMmcResponseIndexError
428 2 3535 PortMmcResponseEndBitError
429 2 3536 PortMmcResponseCrcError
430 2 3537 PortMmcResponseTimeoutError
431 2 3538 PortMmcDataEndBitError
432 2 3539 PortMmcDataCrcError
433 2 3534 3540 PortMmcResponseIndexError PortMmcDataTimeoutError
434 2 3541 PortMmcAutoCommandResponseIndexError
435 2 3542 PortMmcAutoCommandResponseEndBitError
436 2 3535 3543 PortMmcResponseEndBitError PortMmcAutoCommandResponseCrcError
437 2 3536 3544 PortMmcResponseCrcError PortMmcAutoCommandResponseTimeoutError
438 2 3537 3545 PortMmcResponseTimeoutError PortMmcCommandCompleteSoftwareTimeout
439 2 3538 3546 PortMmcDataEndBitError PortMmcTransferCompleteSoftwareTimeout
440 2 3539 3548 3570 PortMmcDataCrcError PortMmcDeviceStatusHasError
441 2 3540 3549 PortMmcDataTimeoutError PortMmcDeviceStatusAddressOutOfRange
442 2 3550 PortMmcDeviceStatusAddressMisaligned
443 2 3551 PortMmcDeviceStatusBlockLenError
444 2 3541 3552 PortMmcAutoCommandResponseIndexError PortMmcDeviceStatusEraseSeqError
445 2 3542 3553 PortMmcAutoCommandResponseEndBitError PortMmcDeviceStatusEraseParam
446 2 3543 3554 PortMmcAutoCommandResponseCrcError PortMmcDeviceStatusWpViolation
447 2 3544 3555 PortMmcAutoCommandResponseTimeoutError PortMmcDeviceStatusLockUnlockFailed
448 2 3545 3556 PortMmcCommandCompleteSoftwareTimeout PortMmcDeviceStatusComCrcError
449 2 3546 3557 PortMmcTransferCompleteSoftwareTimeout PortMmcDeviceStatusIllegalCommand
450 2 3558 PortMmcDeviceStatusDeviceEccFailed
451 2 3559 PortMmcDeviceStatusCcError
452 2 3560 PortMmcDeviceStatusError
453 2 3561 PortMmcDeviceStatusCidCsdOverwrite
454 2 3562 PortMmcDeviceStatusWpEraseSkip
455 2 3563 PortMmcDeviceStatusEraseReset
456 2 3564 PortMmcDeviceStatusSwitchError
457 2 3572 PortMmcUnexpectedDeviceState
458 2 3548 3573 3570 PortMmcDeviceStatusHasError PortMmcUnexpectedDeviceCsdValue
459 2 3549 3574 PortMmcDeviceStatusAddressOutOfRange PortMmcAbortTransactionSoftwareTimeout
460 2 3550 3575 PortMmcDeviceStatusAddressMisaligned PortMmcCommandInhibitCmdSoftwareTimeout
539 2 4051 4065 4069 RomNcaFileSystemCorrupted InvalidRomNcaPatchInfoAesCtrExSize
540 2 4052 4066 InvalidRomNcaFileSystemType InvalidRomNcaPatchInfoAesCtrExOffset
541 2 4053 4067 InvalidRomAcidFileSize InvalidRomNcaId
542 2 4068 InvalidRomNcaHeader
543 2 4069 InvalidRomNcaFsHeader
544 2 4070 InvalidRomNcaPatchInfoIndirectOffset
545 2 4054 4071 4079 InvalidRomAcidSize RomNcaHierarchicalSha256StorageCorrupted
546 2 4055 4072 InvalidRomAcid InvalidRomHierarchicalSha256BlockSize
547 2 4056 4073 RomAcidVerificationFailed InvalidRomHierarchicalSha256LayerCount
551 2 4060 4082 RomNcaFsHeaderHashVerificationFailed RomNcaIndirectStorageOutOfRange
552 2 4061 4141 4179 InvalidRomNcaKeyIndex RomIntegrityVerificationStorageCorrupted
553 2 4062 4142 InvalidRomNcaFsHeaderHashType IncorrectRomIntegrityVerificationMagic
554 2 4143 InvalidRomZeroHash
555 2 4063 4144 InvalidRomNcaFsHeaderEncryptionType RomNonRealDataVerificationFailed
556 2 4071 4151 4079 4159 RomNcaHierarchicalSha256StorageCorrupted RomRealDataVerificationFailed
557 2 4072 4152 InvalidRomHierarchicalSha256BlockSize ClearedRomRealDataVerificationFailed
560 2 4075 4182 RomHierarchicalSha256HashVerificationFailed InvalidRomSha256PartitionHashTarget
561 2 4141 4183 4179 RomIntegrityVerificationStorageCorrupted RomSha256PartitionHashVerificationFailed
562 2 4142 4184 IncorrectRomIntegrityVerificationMagic RomPartitionSignatureVerificationFailed
563 2 4185 RomSha256PartitionSignatureVerificationFailed
564 2 4143 4186 InvalidRomZeroHash InvalidRomPartitionEntryOffset
565 2 4144 4187 RomNonRealDataVerificationFailed InvalidRomSha256PartitionMetaDataSize
566 2 4145 4201 4219 InvalidRomHierarchicalIntegrityVerificationLayerCount RomBuiltInStorageCorrupted
586 2 4263 4316 InvalidRomKeyValueListElementIndex InvalidJournalIntegritySaveDataSignature
587 2 4301 4317 4499 SaveDataCorrupted IncorrectJournalIntegritySaveDataLayoutHeaderMagic
588 2 4302 4321 4329 UnsupportedSaveVersion DuplexStorageCorrupted
589 2 4322 IncorrectHierarchicalDuplexStorageControlAreaMagic
590 2 4323 DuplexStorageAccessOutOfRange
591 2 4331 4339 RemapStorageCorrupted
592 2 4332 InvalidRemapStorageMapEntryCount
593 2 4333 InvalidRemapStorageOffset
594 2 4334 InvalidRemapStorageSize
595 2 4335 InvalidRemapStorageAlignment
596 2 4303 4336 InvalidSaveDataEntryType InvalidRemapStorageStorageType
597 2 4315 4337 InvalidSaveDataHeader InvalidRemapStorageNewMapEntryOffset The range of the new map entry overlaps with the range of an existing map entry.
598 2 4362 4338 InvalidSaveDataIvfcMagic RemapStorageStorageNotRegistered The storage for the map entry's storage type hasn't been registered.
600 2 4364 4341 4349 InvalidSaveDataIvfcHash UnionStorageCorrupted
601 2 4372 4342 EmptySaveDataIvfcHash InvalidUnionStorageBlockSize
602 2 4373 4343 InvalidSaveDataHashInIvfcTopLayer InvalidUnionStorageLogOffsetAlignment
603 2 4344 InvalidUnionStorageLogOffsetForCommit
604 2 4345 InvalidUnionStorageLogOffset
605 2 4352 InvalidSaveDataThumbnailHash
606 2 4402 4357 SaveDataInvalidGptPartitionSignature InvalidSaveDataInternalStorageIntegritySeedSize
607 2 4427 4358 IncompleteBlockInZeroBitmapHashStorageFileSaveData
608 2 4441 4359 4459 SaveDataHostFileSystemCorrupted
609 2 4442 4361 4399 SaveDataHostEntryCorrupted SaveDataIntegrityVerificationStorageCorrupted
2 4443 SaveDataHostFileDataCorrupted
610 2 4444 4362 SaveDataHostFileCorrupted IncorrectSaveDataIntegrityVerificationMagic
611 2 4445 4363 InvalidSaveDataHostHandle InvalidSaveDataZeroHash
612 2 4462 4364 SaveDataAllocationTableCorrupted SaveDataNonRealDataVerificationFailed
633 2 4526 4461 4479 InvalidNcaPatchInfoAesCtrExOffset SaveDataDatabaseCorrupted
634 2 4527 4462 InvalidNcaId SaveDataAllocationTableCorrupted
635 2 4528 4463 InvalidNcaHeader InvalidSaveDataKeyValueListElementIndex
636 2 4464 SaveDataAllocationTableIteratedRangeEntry
637 2 4465 InvalidSaveDataAllocationTableOffset
638 2 4466 InvalidSaveDataAllocationTableBlockCount
639 2 4529 4467 InvalidNcaFsHeader InvalidSaveDataKeyValueListEntryIndex
640 2 4531 4468 4539 NcaHierarchicalSha256StorageCorrupted InvalidSaveDataBitmapIndex
641 2 4532 4481 4489 InvalidHierarchicalSha256BlockSize SaveDataExtenderCorrupted
642 2 4533 4482 InvalidHierarchicalSha256LayerCount IncorrectSaveDataExtensionContextMagic
643 2 4534 4483 HierarchicalSha256BaseStorageTooLarge InvalidSaveDataExtensionContextState
644 2 4535 4484 HierarchicalSha256HashVerificationFailed SaveDataExtensionContextMismatch The extension context doesn't match the current save data.
645 2 4543 4485 InvalidNcaHeader1SignatureKeyGeneration InvalidSaveDataExtenderSize
646 2 4601 4491 4639 4499 IntegrityVerificationStorageCorrupted IntegritySaveDataCorrupted
647 2 4602 4492 IncorrectIntegrityVerificationMagic InvalidIntegritySaveDataMasterDataSize
648 2 4494 InvalidIntegritySaveDataStorageSize
649 2 4495 InvalidIntegritySaveDataMasterHeader
650 2 4496 InvalidIntegritySaveDataSignature
651 2 4497 IncorrectIntegritySaveDataLayoutHeaderMagic
652 2 4501 4599 NcaCorrupted
653 2 4508 NcaBaseStorageOutOfRangeA
654 2 4509 NcaBaseStorageOutOfRangeB
655 2 4510 NcaBaseStorageOutOfRangeC
656 2 4511 4529 NcaFileSystemCorrupted
657 2 4512 InvalidNcaFileSystemType
658 2 4513 InvalidAcidFileSize
659 2 4514 InvalidAcidSize
660 2 4515 InvalidAcid
661 2 4516 AcidVerificationFailed
662 2 4517 InvalidNcaSignature
663 2 4518 NcaHeaderSignature1VerificationFailed
664 2 4519 NcaHeaderSignature2VerificationFailed
665 2 4520 NcaFsHeaderHashVerificationFailed
666 2 4521 InvalidNcaKeyIndex
667 2 4522 InvalidNcaFsHeaderHashType
668 2 4523 InvalidNcaFsHeaderEncryptionType
669 2 4524 InvalidNcaPatchInfoIndirectSize
670 2 4525 InvalidNcaPatchInfoAesCtrExSize
671 2 4526 InvalidNcaPatchInfoAesCtrExOffset
672 2 4527 InvalidNcaId
673 2 4528 InvalidNcaHeader
674 2 4529 InvalidNcaFsHeader
675 2 4530 InvalidNcaPatchInfoIndirectOffset
676 2 4531 4539 NcaHierarchicalSha256StorageCorrupted
677 2 4532 InvalidHierarchicalSha256BlockSize
678 2 4533 InvalidHierarchicalSha256LayerCount
679 2 4534 HierarchicalSha256BaseStorageTooLarge
680 2 4535 HierarchicalSha256HashVerificationFailed
681 2 4541 InvalidHierarchicalIntegrityVerificationLayerCount
682 2 4542 NcaIndirectStorageOutOfRange
683 2 4603 4543 InvalidZeroHash InvalidNcaHeader1SignatureKeyGeneration
684 2 4604 4545 NonRealDataVerificationFailed InvalidNspdVerificationData
685 2 4546 MissingNspdVerificationData
686 2 4601 4639 IntegrityVerificationStorageCorrupted
687 2 4602 IncorrectIntegrityVerificationMagic
688 2 4603 InvalidZeroHash
689 2 4604 NonRealDataVerificationFailed
690 2 4611 4619 RealDataVerificationFailed
691 2 4605 4612 InvalidHierarchicalIntegrityVerificationLayerCount ClearedRealDataVerificationFailed
692 2 4613 UnclearedRealDataVerificationFailed
693 2 4641 4659 PartitionFileSystemCorrupted
694 2 4642 InvalidSha256PartitionHashTarget
695 2 4643 Sha256PartitionHashVerificationFailed
696 2 4644 PartitionSignatureVerificationFailed
697 2 4611 4645 4619 RealDataVerificationFailed Sha256PartitionSignatureVerificationFailed
698 2 4612 4646 ClearedRealDataVerificationFailed InvalidPartitionEntryOffset
699 2 4613 4647 UnclearedRealDataVerificationFailed InvalidSha256PartitionMetaDataSize
700 2 4641 4661 4659 4679 PartitionFileSystemCorrupted BuiltInStorageCorrupted
701 2 4642 4662 InvalidSha256PartitionHashTarget InvalidGptPartitionSignature
702 2 4643 4664 Sha256PartitionHashVerificationFailed InvalidGptPartitionStorageSize
703 2 4681 4699 FatFileSystemCorrupted
704 2 4683 InvalidFatFormat
705 2 4684 InvalidFatFileNumber
706 2 4685 ExFatUnavailable
707 2 4686 InvalidFatFormatForBisUser
708 2 4687 InvalidFatFormatForBisSystem
709 2 4644 4688 PartitionSignatureVerificationFailed InvalidFatFormatForBisSafe
710 2 4645 4689 Sha256PartitionSignatureVerificationFailed InvalidFatFormatForBisCalibration
711 2 4646 4690 InvalidPartitionEntryOffset InvalidFatFormatForSdCard
712 2 4701 4719 HostFileSystemCorrupted
713 2 4702 HostEntryCorrupted
714 2 4703 HostFileDataCorrupted
715 2 4704 HostFileCorrupted
716 2 4705 InvalidHostHandle
717 2 4721 4739 DatabaseCorrupted
718 2 4722 InvalidAllocationTableBlock
719 2 4723 InvalidKeyValueListElementIndex
720 2 4724 AllocationTableIteratedRangeEntry
721 2 4725 InvalidAllocationTableOffset
722 2 4726 InvalidAllocationTableBlockCount
723 2 4727 InvalidKeyValueListEntryIndex
724 2 4728 InvalidBitmapIndex
725 2 4741 4759 AesXtsFileSystemCorrupted
726 2 4742 AesXtsFileHeaderTooShort
727 2 4743 AesXtsFileHeaderInvalidKeys
728 2 4744 AesXtsFileHeaderInvalidMagic
729 2 4647 4745 InvalidSha256PartitionMetaDataSize AesXtsFileTooShort
730 2 4661 4746 4679 BuiltInStorageCorrupted AesXtsFileHeaderTooShortInSetSize
731 2 4662 4747 InvalidGptPartitionSignature AesXtsFileHeaderInvalidKeysInRenameFile
732 2 4681 4748 4699 FatFileSystemCorrupted AesXtsFileHeaderInvalidKeysInSetSize
733 2 4761 4769 SaveDataTransferDataCorrupted
734 2 4685 4762 ExFatUnavailable
735 2 4686 4763 InvalidFatFormatForBisUser
736 2 4687 4764 InvalidFatFormatForBisSystem
751 2 4742 4811 4819 AesXtsFileHeaderTooShort ZeroBitmapFileCorrupted
752 2 4743 4812 AesXtsFileHeaderInvalidKeys IncompleteBlockInZeroBitmapHashStorageFile
753 2 4744 5000 5999 AesXtsFileHeaderInvalidMagic Unexpected
754 2 5002 UnexpectedFatFileSystemError
755 2 4745 5003 AesXtsFileTooShort FatFileSystemDriverError
756 2 4746 5024 AesXtsFileHeaderTooShortInSetSize FatSystemFileOpenCountLimit
757 2 4747 5025 AesXtsFileHeaderInvalidKeysInRenameFile FatUserFileOpenCountLimit
759 2 4761 5028 4769 SaveDataTransferDataCorrupted FatFileSystemPermissionDenied
760 2 4771 5029 4779 SignedSystemPartitionDataCorrupted FatDriverInitializationFailed
761 2 4781 5055 GameCardLogoDataCorrupted UnexpectedFatSafeError
762 2 5110
763 2 5121 UnexpectedFatFileSystemSectorCount
764 2 4785 5122 SimulatedDeviceDataCorrupted
765 2 5123 NullptrArgumentForFatFormat
766 2 5124 InvalidFatFormatParamsA
767 2 4790 5125 4799 MultiCommitContextCorrupted InvalidFatFormatParamsB
768 2 4791 5126 InvalidMultiCommitContextVersion InvalidFatFormatParamsC The version of the multi-commit context file is too high for the current MultiCommitManager implementation.
769 2 4792 5127 InvalidMultiCommitContextState InvalidFatFormatParamsD The multi-commit has not been provisionally committed.
770 2 4811 5131 4819 ZeroBitmapFileCorrupted FatSectorWriteVerificationFailed
771 2 4812 5304 IncompleteBlockInZeroBitmapHashStorageFile UnexpectedInJournalIntegritySaveDataFileSystemC Tried to write to an IntegrityFilteredFile that is provisionally committed.
2 5000 5999 Unexpected
772 2 5121 5305 UnexpectedFatFileSystemSectorCount UnexpectedInLocalFileSystemA
773 2 5307 5306 UnexpectedErrorInHostFileFlush UnexpectedInLocalFileSystemB
774 2 5308 5307 UnexpectedErrorInHostFileGetSize UnexpectedInLocalFileSystemC
784 2 6006 5321 DirectoryUnobtainable UnexpectedInRamDiskFileSystemA
785 2 6007 5322 NotNormalized UnexpectedInBisWiperA
786 2 6030 5323 6059 InvalidPathForOperation UnexpectedInBisWiperB
787 2 6000 6499 PreconditionViolation
788 2 6031 6001 6199 DirectoryNotDeletable InvalidArgument
789 2 6032 6002 6029 DirectoryNotRenamable InvalidPath
790 2 6003 TooLongPath
791 2 6004 InvalidCharacter
792 2 6033 6005 IncompatiblePath InvalidPathFormat
793 2 6034 6006 RenameToOtherFileSystem DirectoryUnobtainable
794 2 6061 6007 InvalidOffset NotNormalized
805 2 6072 6066 InvalidOpenMode ExtensionSizeTooLarge
806 2 6074 6067 InvalidDirectoryOpenMode ExtensionSizeInvalid
807 2 6075 6068 InvalidCommitOption InvalidSaveDataInfoReader
808 2 6080 6069 6099 InvalidEnumValue InvalidCacheStorageSize
809 2 6081 6070 InvalidSaveDataState InvalidCacheStorageIndex
810 2 6071 InvalidCommitNameCount Up to 10 file systems can be committed at the same time.
811 2 6072 InvalidOpenMode
812 2 6073 InvalidFileSize
813 2 6082 6074 InvalidSaveDataSpaceId InvalidDirectoryOpenMode
814 2 6200 6075 6299 InvalidOperationForOpenMode InvalidCommitOption
815 2 6201 6080 6099 FileExtensionWithoutOpenModeAllowAppend InvalidEnumValue
821 2 6303 6201 UnsupportedSetSizeForResizableSubStorage FileExtensionWithoutOpenModeAllowAppend Attempted to resize a SubStorage that wasn't located at the end of the base storage.
822 2 6304 6202 UnsupportedSetSizeForMemoryStorage ReadUnpermitted
823 2 6305 6203 UnsupportedOperateRangeForMemoryStorage WriteUnpermitted
824 2 6300 6399 UnsupportedOperation
825 2 6301 UnsupportedCommitTarget
826 2 6302 UnsupportedSetSizeForNotResizableSubStorage Attempted to resize a non-resizable SubStorage.
827 2 6303 UnsupportedSetSizeForResizableSubStorage Attempted to resize a SubStorage that wasn't located at the end of the base storage.
828 2 6304 UnsupportedSetSizeForMemoryStorage
829 2 6305 UnsupportedOperateRangeForMemoryStorage
830 2 6306 UnsupportedOperateRangeForFileStorage
831 2 6307 UnsupportedOperateRangeForFileHandleStorage
832 2 6308 UnsupportedOperateRangeForSwitchStorage
833 2 6309 UnsupportedOperateRangeForStorageServiceObjectAdapter
834 2 6310 UnsupportedWriteForAesCtrCounterExtendedStorage
835 2 6311 UnsupportedSetSizeForAesCtrCounterExtendedStorage
836 2 6312 UnsupportedOperateRangeForAesCtrCounterExtendedStorage
837 2 6313 UnsupportedWriteForAesCtrStorageExternal
838 2 6308 6314 UnsupportedOperateRangeForSwitchStorage UnsupportedSetSizeForAesCtrStorageExternal
839 2 6309 6315 UnsupportedOperateRangeForStorageServiceObjectAdapter UnsupportedSetSizeForAesCtrStorage
840 2 6310 6316 UnsupportedWriteForAesCtrCounterExtendedStorage UnsupportedSetSizeForHierarchicalIntegrityVerificationStorage
846 2 6316 6322 UnsupportedSetSizeForHierarchicalIntegrityVerificationStorage UnsupportedOperateRangeForNonSaveDataBlockCacheBufferedStorage
847 2 6317 6323 UnsupportedOperateRangeForHierarchicalIntegrityVerificationStorage UnsupportedOperateRangeForBlockCacheBufferedStorage
848 2 6318 6324 UnsupportedSetSizeForIntegrityVerificationStorage UnsupportedWriteForIndirectStorage
849 2 6325 UnsupportedSetSizeForIndirectStorage
850 2 6326 UnsupportedOperateRangeForIndirectStorage
851 2 6327 UnsupportedWriteForZeroStorage
852 2 6328 UnsupportedSetSizeForZeroStorage
853 2 6329 UnsupportedSetSizeForHierarchicalSha256Storage
854 2 6330 UnsupportedWriteForReadOnlyBlockCacheStorage
855 2 6331 UnsupportedSetSizeForReadOnlyBlockCacheStorage
856 2 6332 UnsupportedSetSizeForIntegrityRomFsStorage
857 2 6333 UnsupportedSetSizeForDuplexStorage
858 2 6319 6334 UnsupportedOperateRangeForNonSaveDataIntegrityVerificationStorage UnsupportedOperateRangeForDuplexStorage
859 2 6320 6335 UnsupportedOperateRangeForIntegrityVerificationStorage UnsupportedSetSizeForHierarchicalDuplexStorage
860 2 6321 6336 UnsupportedSetSizeForBlockCacheBufferedStorage UnsupportedGetSizeForRemapStorage
861 2 6322 6337 UnsupportedOperateRangeForNonSaveDataBlockCacheBufferedStorage UnsupportedSetSizeForRemapStorage
862 2 6338 UnsupportedOperateRangeForRemapStorage
863 2 6339 UnsupportedSetSizeForIntegritySaveDataStorage
864 2 6340 UnsupportedOperateRangeForIntegritySaveDataStorage
865 2 6341 UnsupportedSetSizeForJournalIntegritySaveDataStorage
866 2 6342 UnsupportedOperateRangeForJournalIntegritySaveDataStorage
867 2 6343 UnsupportedGetSizeForJournalStorage
868 2 6344 UnsupportedSetSizeForJournalStorage
869 2 6345 UnsupportedOperateRangeForJournalStorage
870 2 6346 UnsupportedSetSizeForUnionStorage
871 2 6347 UnsupportedSetSizeForAllocationTableStorage
872 2 6348 UnsupportedReadForWriteOnlyGameCardStorage
873 2 6349 UnsupportedSetSizeForWriteOnlyGameCardStorage
874 2 6350 UnsupportedWriteForReadOnlyGameCardStorage
875 2 6351 UnsupportedSetSizeForReadOnlyGameCardStorage
876 2 6352 UnsupportedOperateRangeForReadOnlyGameCardStorage
877 2 6353 UnsupportedSetSizeForSdmmcStorage
878 2 6354 UnsupportedOperateRangeForSdmmcStorage
879 2 6323 6355 UnsupportedOperateRangeForBlockCacheBufferedStorage UnsupportedOperateRangeForFatFile
880 2 6356 UnsupportedOperateRangeForStorageFile
881 2 6324 6357 UnsupportedWriteForIndirectStorage UnsupportedSetSizeForInternalStorageConcatenationFile
882 2 6358 UnsupportedOperateRangeForInternalStorageConcatenationFile
883 2 6359 UnsupportedQueryEntryForConcatenationFileSystem
884 2 6360 UnsupportedOperateRangeForConcatenationFile
885 2 6325 6361 UnsupportedSetSizeForIndirectStorage UnsupportedSetSizeForZeroBitmapFile
886 2 6326 6362 UnsupportedOperateRangeForIndirectStorage UnsupportedOperateRangeForFileServiceObjectAdapter Called OperateRange with an invalid operation ID.
887 2 6327 6363 UnsupportedWriteForZeroStorage UnsupportedOperateRangeForAesXtsFile
910 2 6350 6403 UnsupportedWriteForReadOnlyGameCardStorage PermissionDeniedForCreateHostFileSystem Returned when opening a host FS on a retail device.
911 2 6351 6450 UnsupportedSetSizeForReadOnlyGameCardStorage PortAcceptableCountLimited
912 2 6352 6452 UnsupportedOperateRangeForReadOnlyGameCardStorage ExternalKeyAlreadyRegistered
913 2 6454 NeedFlush
914 2 6353 6455 UnsupportedSetSizeForSdmmcStorage FileNotClosed
915 2 6354 6456 UnsupportedOperateRangeForSdmmcStorage DirectoryNotClosed
916 2 6355 6457 UnsupportedOperateRangeForFatFile WriteModeFileNotClosed
918 2 6357 6459 UnsupportedSetSizeForInternalStorageConcatenationFile DefaultAllocatorUsed
919 2 6358 6460 UnsupportedOperateRangeForInternalStorageConcatenationFile GameCardLogoDataNotReadable
920 2 6359 6461 UnsupportedQueryEntryForConcatenationFileSystem AllocatorAlignmentViolation
921 2 6462 GlobalFileDataCacheAlreadyEnabled
922 2 6463 MultiCommitFileSystemAlreadyAdded The provided file system has already been added to the multi-commit manager.
923 2 6464
924 2 6360 6465 UnsupportedOperateRangeForConcatenationFile UserNotExist
925 2 6361 6466 UnsupportedSetSizeForZeroBitmapFile DefaultGlobalFileDataCacheEnabled
926 2 6362 6467 UnsupportedOperateRangeForFileServiceObjectAdapter SaveDataRootPathUnavailable Called OperateRange with an invalid operation ID.
1013 5 3 12 506 UnknownStorage OutOfAddressSpace
1014 5 100 1 InvalidContentStorage InvalidContentStorageBase
1015 5 110 2 InvalidContentMetaDatabase PlaceHolderAlreadyExists
1016 5 3 PlaceHolderNotFound
1017 5 130 4 InvalidPackageFormat ContentAlreadyExists
1018 5 140 5 InvalidContentHash ContentNotFound
1019 5 160 7 InvalidInstallTaskState ContentMetaNotFound
1023 5 200 110 NotEnoughInstallSpace InvalidContentMetaDatabase
1024 5 210 130 SystemUpdateNotFoundInPackage InvalidPackageFormat
1025 5 220 140 ContentInfoNotFound InvalidContentHash
1026 5 160 InvalidInstallTaskState
1027 5 237 170 DeltaNotFound InvalidPlaceHolderFile
1028 5 180 BufferInsufficient
1029 5 240 190 InvalidContentMetaKey WriteToReadOnlyContentStorage
1030 5 200 NotEnoughInstallSpace
1031 5 280 210 IgnorableInstallTicketFailure SystemUpdateNotFoundInPackage
1032 5 310 220 ContentStorageBaseNotFound ContentInfoNotFound
1033 5 330 237 ListPartiallyNotCommitted DeltaNotFound
1034 5 360 240 UnexpectedContentMetaPrepared InvalidContentMetaKey
1035 5 380 280 InvalidFirmwareVariation IgnorableInstallTicketFailure
1036 5 310 ContentStorageBaseNotFound
1037 5 330 ListPartiallyNotCommitted
1038 5 360 UnexpectedContentMetaPrepared
1039 5 250 380 258 ContentStorageNotActive InvalidFirmwareVariation
1040 5 251 250 258 GameCardContentStorageNotActive ContentStorageNotActive
1041 5 252 251 BuiltInSystemContentStorageNotActive GameCardContentStorageNotActive
1051 5 290 268 299 InstallTaskCancelled UnknownContentMetaDatabaseNotActive
1052 5 291 290 299 CreatePlaceHolderCancelled InstallTaskCancelled
1053 5 292 291 WritePlaceHolderCancelled CreatePlaceHolderCancelled
1054 5 292 WritePlaceHolderCancelled
1055 5 8181 8191 InvalidArgument
1056 5 8181 8182 8191 InvalidArgument InvalidOffset
1057 5 6 8182 1 InvalidOffset EndOfQuery
1058 6 2 InvalidCurrentMemory
1059 6 3 NotSingleRegion
1060 6 4 InvalidMemoryState
1061 6 5 OutOfMemory
1062 6 6 OutOfResource
1063 6 7 NotSupported
1064 6 8 InvalidHandle
1065 6 1023 InternalError
1066 8 2 ProgramNotFound
1067 8 3 DataNotFound
1068 6 8 1 4 EndOfQuery UnknownStorageId
1069 6 8 2 5 InvalidCurrentMemory LocationResolverNotFound
1070 8 6 HtmlDocumentNotFound
1071 8 7 AddOnContentNotFound
1072 8 8 ControlNotFound
1073 8 9 LegalInformationNotFound
1074 8 10 DebugProgramNotFound
1075 8 90 TooManyRegisteredPaths
1076 9 1 TooLongArgument
1077 6 9 3 2 NotSingleRegion TooManyArguments
1078 9 3 TooLargeMeta
1079 9 4 InvalidMeta
1080 9 5 InvalidNso
1081 9 6 InvalidPath
1082 9 7 TooManyProcesses
1083 9 8 NotPinned
1084 9 9 InvalidProgramId
1085 9 10 InvalidVersion
1086 9 11 InvalidAcidSignature
1087 9 12 InvalidNcaSignature
1088 9 51 InsufficientAddressSpace
1089 9 52 InvalidNro
1090 9 53 InvalidNrr
1091 9 54 InvalidSignature
1092 9 55 InsufficientNroRegistrations
1093 9 56 InsufficientNrrRegistrations
1094 9 57 NroAlreadyLoaded
1095 9 81 InvalidAddress
1096 9 82 InvalidSize
1097 9 84 NotLoaded
1098 9 85 NotRegistered
1099 9 86 InvalidSession
1100 9 87 InvalidProcess
1101 9 100 UnknownCapability
1102 9 103 InvalidCapabilityKernelFlags
1103 9 104 InvalidCapabilitySyscallMask
1104 9 106 InvalidCapabilityMapRange
1105 6 9 4 107 InvalidMemoryState InvalidCapabilityMapPage
1106 6 9 5 111 OutOfMemory InvalidCapabilityInterruptPair
1107 6 9 6 113 OutOfResource InvalidCapabilityApplicationType

View file

@ -35,7 +35,7 @@ namespace LibHac.Common
ERROR_ALREADY_EXISTS => ResultFs.PathAlreadyExists.Value, ERROR_ALREADY_EXISTS => ResultFs.PathAlreadyExists.Value,
ERROR_DIRECTORY => ResultFs.PathNotFound.Value, ERROR_DIRECTORY => ResultFs.PathNotFound.Value,
ERROR_SPACES_NOT_ENOUGH_DRIVES => ResultFs.UsableSpaceNotEnough.Value, ERROR_SPACES_NOT_ENOUGH_DRIVES => ResultFs.UsableSpaceNotEnough.Value,
_ => ResultFs.UnknownHostFileSystemError.Value _ => ResultFs.UnexpectedInLocalFileSystemE.Value
}; };
} }
} }

File diff suppressed because it is too large Load diff

View file

@ -74,7 +74,7 @@ namespace LibHac.FsSrv
public Result GetGameCardImageHash(Span<byte> outBuffer) public Result GetGameCardImageHash(Span<byte> outBuffer)
{ {
if (outBuffer.Length < 0x20) return ResultFs.InvalidBufferForGameCard.Log(); if (outBuffer.Length < 0x20) return ResultFs.GameCardPreconditionViolation.Log();
if (!IsGameCardInserted()) return ResultFs.GameCardNotInserted.Log(); if (!IsGameCardInserted()) return ResultFs.GameCardNotInserted.Log();
CardHeader.ImageHash.CopyTo(outBuffer.Slice(0, 0x20)); CardHeader.ImageHash.CopyTo(outBuffer.Slice(0, 0x20));
@ -83,7 +83,7 @@ namespace LibHac.FsSrv
public Result GetGameCardDeviceId(Span<byte> outBuffer) public Result GetGameCardDeviceId(Span<byte> outBuffer)
{ {
if (outBuffer.Length < 0x10) return ResultFs.InvalidBufferForGameCard.Log(); if (outBuffer.Length < 0x10) return ResultFs.GameCardPreconditionViolation.Log();
if (!IsGameCardInserted()) return ResultFs.GameCardNotInserted.Log(); if (!IsGameCardInserted()) return ResultFs.GameCardNotInserted.Log();
// Skip the security mode check // Skip the security mode check

View file

@ -537,7 +537,7 @@ namespace LibHac.FsSrv
fileSystem = FileSystemInterfaceAdapter.CreateShared(ref hostFs, isRootPath); fileSystem = FileSystemInterfaceAdapter.CreateShared(ref hostFs, isRootPath);
if (fileSystem is null) if (fileSystem is null)
return ResultFs.AllocationMemoryFailedInCreateShared.Log(); return ResultFs.AllocationMemoryFailedCreateShared.Log();
return Result.Success; return Result.Success;
} }

View file

@ -314,11 +314,11 @@ namespace LibHac.FsSrv
tempFileSystem = AsynchronousAccessFileSystem.CreateShared(ref tempFileSystem); tempFileSystem = AsynchronousAccessFileSystem.CreateShared(ref tempFileSystem);
if (tempFileSystem is null) if (tempFileSystem is null)
return ResultFs.AllocationMemoryFailedInAllocateShared.Log(); return ResultFs.AllocationMemoryFailedAllocateShared.Log();
fileSystem = FileSystemInterfaceAdapter.CreateShared(ref tempFileSystem); fileSystem = FileSystemInterfaceAdapter.CreateShared(ref tempFileSystem);
if (fileSystem is null) if (fileSystem is null)
return ResultFs.AllocationMemoryFailedInCreateShared.Log(); return ResultFs.AllocationMemoryFailedCreateShared.Log();
return Result.Success; return Result.Success;
} }
@ -531,15 +531,15 @@ namespace LibHac.FsSrv
tempFileSystem = StorageLayoutTypeSetFileSystem.CreateShared(ref tempFileSystem, storageFlag); tempFileSystem = StorageLayoutTypeSetFileSystem.CreateShared(ref tempFileSystem, storageFlag);
if (tempFileSystem is null) if (tempFileSystem is null)
return ResultFs.AllocationMemoryFailedInAllocateShared.Log(); return ResultFs.AllocationMemoryFailedAllocateShared.Log();
tempFileSystem = AsynchronousAccessFileSystem.CreateShared(ref tempFileSystem); tempFileSystem = AsynchronousAccessFileSystem.CreateShared(ref tempFileSystem);
if (tempFileSystem is null) if (tempFileSystem is null)
return ResultFs.AllocationMemoryFailedInAllocateShared.Log(); return ResultFs.AllocationMemoryFailedAllocateShared.Log();
fileSystem = FileSystemInterfaceAdapter.CreateShared(ref tempFileSystem); fileSystem = FileSystemInterfaceAdapter.CreateShared(ref tempFileSystem);
if (fileSystem is null) if (fileSystem is null)
return ResultFs.AllocationMemoryFailedInCreateShared.Log(); return ResultFs.AllocationMemoryFailedCreateShared.Log();
return Result.Success; return Result.Success;
} }

View file

@ -126,7 +126,7 @@ namespace LibHac.FsSrv
readOnlyFileSystem = ReadOnlyFileSystem.CreateShared(ref manualFileSystem); readOnlyFileSystem = ReadOnlyFileSystem.CreateShared(ref manualFileSystem);
if (readOnlyFileSystem?.Target is null) if (readOnlyFileSystem?.Target is null)
return ResultFs.AllocationMemoryFailedInAllocateShared.Log(); return ResultFs.AllocationMemoryFailedAllocateShared.Log();
Shared.Move(out fileSystem, ref readOnlyFileSystem); Shared.Move(out fileSystem, ref readOnlyFileSystem);
return Result.Success; return Result.Success;

View file

@ -133,7 +133,7 @@ namespace LibHac.FsSrv.Storage
{ {
tempStorage = SpeedEmulationStorage.CreateShared(ref tempStorage); tempStorage = SpeedEmulationStorage.CreateShared(ref tempStorage);
if (tempStorage is null) if (tempStorage is null)
return ResultFs.AllocationMemoryFailedInCreateShared.Log(); return ResultFs.AllocationMemoryFailedCreateShared.Log();
} }
storage = Shared.Move(ref tempStorage); storage = Shared.Move(ref tempStorage);

View file

@ -55,7 +55,7 @@ namespace LibHac.FsSystem
} }
catch (Exception ex) when (ex.HResult < 0) catch (Exception ex) when (ex.HResult < 0)
{ {
return ResultFs.UnexpectedErrorInHostFileFlush.Log(); return ResultFs.UnexpectedInLocalFileSystemC.Log();
} }
} }
@ -69,7 +69,7 @@ namespace LibHac.FsSystem
} }
catch (Exception ex) when (ex.HResult < 0) catch (Exception ex) when (ex.HResult < 0)
{ {
return ResultFs.UnexpectedErrorInHostFileGetSize.Log(); return ResultFs.UnexpectedInLocalFileSystemD.Log();
} }
} }

View file

@ -28,7 +28,7 @@ namespace LibHac.FsSystem.RomFs
long storageOffset = Offset + offset; long storageOffset = Offset + offset;
rc = BaseStorage.Read(storageOffset, destination.Slice(0, (int)toRead)); rc = ConvertToApplicationResult(BaseStorage.Read(storageOffset, destination.Slice(0, (int)toRead)));
if (rc.IsFailure()) return rc; if (rc.IsFailure()) return rc;
bytesRead = toRead; bytesRead = toRead;
@ -62,5 +62,10 @@ namespace LibHac.FsSystem.RomFs
{ {
return ResultFs.NotImplemented.Log(); return ResultFs.NotImplemented.Log();
} }
public Result ConvertToApplicationResult(Result result)
{
return RomFsFileSystem.ConvertRomFsDriverPrivateResult(result);
}
} }
} }

View file

@ -107,6 +107,163 @@ namespace LibHac.FsSystem.RomFs
UnsafeHelpers.SkipParamInit(out totalSpace); UnsafeHelpers.SkipParamInit(out totalSpace);
return ResultFs.UnsupportedGetTotalSpaceSizeForRomFsFileSystem.Log(); return ResultFs.UnsupportedGetTotalSpaceSizeForRomFsFileSystem.Log();
} }
internal static Result ConvertRomFsDriverPrivateResult(Result result)
{
if (result.IsSuccess())
return Result.Success;
if (ResultFs.UnsupportedVersion.Includes(result))
return ResultFs.UnsupportedRomVersion.LogConverted(result);
if (ResultFs.NcaCorrupted.Includes(result) ||
ResultFs.IntegrityVerificationStorageCorrupted.Includes(result) ||
ResultFs.BuiltInStorageCorrupted.Includes(result) ||
ResultFs.PartitionFileSystemCorrupted.Includes(result) ||
ResultFs.HostFileSystemCorrupted.Includes(result))
{
return ConvertCorruptedResult(result);
}
if (ResultFs.FatFileSystemCorrupted.Includes(result))
return result;
if (ResultFs.NotFound.Includes(result))
return ResultFs.PathNotFound.LogConverted(result);
if (ResultFs.InvalidOffset.Includes(result))
return ResultFs.OutOfRange.LogConverted(result);
if (ResultFs.SaveDataFileNotFound.Includes(result) ||
ResultFs.IncompatiblePath.Includes(result))
{
return ResultFs.PathNotFound.LogConverted(result);
}
return result;
}
private static Result ConvertCorruptedResult(Result result)
{
if (ResultFs.NcaCorrupted.Includes(result))
{
if (ResultFs.InvalidNcaFileSystemType.Includes(result))
return ResultFs.InvalidRomNcaFileSystemType.LogConverted(result);
if (ResultFs.InvalidNcaSignature.Includes(result))
return ResultFs.InvalidRomNcaSignature.LogConverted(result);
if (ResultFs.NcaHeaderSignature1VerificationFailed.Includes(result))
return ResultFs.RomNcaHeaderSignature1VerificationFailed.LogConverted(result);
if (ResultFs.NcaFsHeaderHashVerificationFailed.Includes(result))
return ResultFs.RomNcaFsHeaderHashVerificationFailed.LogConverted(result);
if (ResultFs.InvalidNcaKeyIndex.Includes(result))
return ResultFs.InvalidRomNcaKeyIndex.LogConverted(result);
if (ResultFs.InvalidNcaFsHeaderHashType.Includes(result))
return ResultFs.InvalidRomNcaFsHeaderHashType.LogConverted(result);
if (ResultFs.InvalidNcaFsHeaderEncryptionType.Includes(result))
return ResultFs.InvalidRomNcaFsHeaderEncryptionType.LogConverted(result);
if (ResultFs.InvalidNcaPatchInfoIndirectSize.Includes(result))
return ResultFs.InvalidRomNcaPatchInfoIndirectSize.LogConverted(result);
if (ResultFs.InvalidNcaPatchInfoAesCtrExSize.Includes(result))
return ResultFs.InvalidRomNcaPatchInfoAesCtrExSize.LogConverted(result);
if (ResultFs.InvalidNcaPatchInfoAesCtrExOffset.Includes(result))
return ResultFs.InvalidRomNcaPatchInfoAesCtrExOffset.LogConverted(result);
if (ResultFs.InvalidNcaId.Includes(result))
return ResultFs.InvalidRomNcaId.LogConverted(result);
if (ResultFs.InvalidNcaHeader.Includes(result))
return ResultFs.InvalidRomNcaHeader.LogConverted(result);
if (ResultFs.InvalidNcaFsHeader.Includes(result))
return ResultFs.InvalidRomNcaFsHeader.LogConverted(result);
if (ResultFs.InvalidNcaPatchInfoIndirectOffset.Includes(result))
return ResultFs.InvalidRomNcaPatchInfoIndirectOffset.LogConverted(result);
if (ResultFs.InvalidHierarchicalSha256BlockSize.Includes(result))
return ResultFs.InvalidRomHierarchicalSha256BlockSize.LogConverted(result);
if (ResultFs.InvalidHierarchicalSha256LayerCount.Includes(result))
return ResultFs.InvalidRomHierarchicalSha256LayerCount.LogConverted(result);
if (ResultFs.HierarchicalSha256BaseStorageTooLarge.Includes(result))
return ResultFs.RomHierarchicalSha256BaseStorageTooLarge.LogConverted(result);
if (ResultFs.HierarchicalSha256HashVerificationFailed.Includes(result))
return ResultFs.RomHierarchicalSha256HashVerificationFailed.LogConverted(result);
if (ResultFs.InvalidHierarchicalIntegrityVerificationLayerCount.Includes(result))
return ResultFs.InvalidRomHierarchicalIntegrityVerificationLayerCount.LogConverted(result);
if (ResultFs.NcaIndirectStorageOutOfRange.Includes(result))
return ResultFs.RomNcaIndirectStorageOutOfRange.LogConverted(result);
}
if (ResultFs.IntegrityVerificationStorageCorrupted.Includes(result))
{
if (ResultFs.IncorrectIntegrityVerificationMagic.Includes(result))
return ResultFs.IncorrectRomIntegrityVerificationMagic.LogConverted(result);
if (ResultFs.InvalidZeroHash.Includes(result))
return ResultFs.InvalidRomZeroHash.LogConverted(result);
if (ResultFs.NonRealDataVerificationFailed.Includes(result))
return ResultFs.RomNonRealDataVerificationFailed.LogConverted(result);
if (ResultFs.ClearedRealDataVerificationFailed.Includes(result))
return ResultFs.ClearedRomRealDataVerificationFailed.LogConverted(result);
if (ResultFs.UnclearedRealDataVerificationFailed.Includes(result))
return ResultFs.UnclearedRomRealDataVerificationFailed.LogConverted(result);
}
if (ResultFs.PartitionFileSystemCorrupted.Includes(result))
{
if (ResultFs.InvalidSha256PartitionHashTarget.Includes(result))
return ResultFs.InvalidRomSha256PartitionHashTarget.LogConverted(result);
if (ResultFs.Sha256PartitionHashVerificationFailed.Includes(result))
return ResultFs.RomSha256PartitionHashVerificationFailed.LogConverted(result);
if (ResultFs.PartitionSignatureVerificationFailed.Includes(result))
return ResultFs.RomPartitionSignatureVerificationFailed.LogConverted(result);
if (ResultFs.Sha256PartitionSignatureVerificationFailed.Includes(result))
return ResultFs.RomSha256PartitionSignatureVerificationFailed.LogConverted(result);
if (ResultFs.InvalidPartitionEntryOffset.Includes(result))
return ResultFs.InvalidRomPartitionEntryOffset.LogConverted(result);
if (ResultFs.InvalidSha256PartitionMetaDataSize.Includes(result))
return ResultFs.InvalidRomSha256PartitionMetaDataSize.LogConverted(result);
}
if (ResultFs.HostFileSystemCorrupted.Includes(result))
{
if (ResultFs.HostEntryCorrupted.Includes(result))
return ResultFs.RomHostEntryCorrupted.LogConverted(result);
if (ResultFs.HostFileDataCorrupted.Includes(result))
return ResultFs.RomHostFileDataCorrupted.LogConverted(result);
if (ResultFs.HostFileCorrupted.Includes(result))
return ResultFs.RomHostFileCorrupted.LogConverted(result);
if (ResultFs.InvalidHostHandle.Includes(result))
return ResultFs.InvalidRomHostHandle.LogConverted(result);
}
return result;
}
} }
public class RomfsHeader public class RomfsHeader

View file

@ -39,7 +39,7 @@ namespace LibHac.FsSystem.Save
if (entries[0].IsRangeEntry()) if (entries[0].IsRangeEntry())
{ {
ThrowHelper.ThrowResult(ResultFs.AllocationTableIteratedRangeEntryInternal.Value); ThrowHelper.ThrowResult(ResultFs.AllocationTableIteratedRangeEntry.Value);
} }
} }
else else

View file

@ -1295,7 +1295,7 @@ namespace LibHac.FsSystem.Save
// If the read fails due to insufficient pooled buffer size, // If the read fails due to insufficient pooled buffer size,
// then we want to fall back to the normal read path. // then we want to fall back to the normal read path.
if (!ResultFs.AllocationMemoryFailedPooledBufferNotEnoughSize.Includes(rc)) if (!ResultFs.AllocationPooledBufferNotEnoughSize.Includes(rc))
return rc; return rc;
} }
} }
@ -1519,7 +1519,7 @@ namespace LibHac.FsSystem.Save
{ {
pooledBuffer.AllocateParticularlyLarge((int)alignedSize, 1); pooledBuffer.AllocateParticularlyLarge((int)alignedSize, 1);
if (pooledBuffer.GetSize() < alignedSize) if (pooledBuffer.GetSize() < alignedSize)
return ResultFs.AllocationMemoryFailedPooledBufferNotEnoughSize.Log(); return ResultFs.AllocationPooledBufferNotEnoughSize.Log();
workBuffer = pooledBuffer.GetBuffer(); workBuffer = pooledBuffer.GetBuffer();
} }

View file

@ -50,7 +50,7 @@ namespace LibHac.FsSystem.Save
} }
else else
{ {
ThrowHelper.ThrowResult(ResultFs.InvalidSaveDataHeader.Value, "Savedata header is not valid."); ThrowHelper.ThrowResult(ResultFs.InvalidJournalIntegritySaveDataMasterHeader.Value, "Savedata header is not valid.");
} }
Header = IsFirstHeaderInUse ? headerA : headerB; Header = IsFirstHeaderInUse ? headerA : headerB;

View file

@ -27,27 +27,27 @@ namespace LibHac.FsSystem.Save
{ {
if (ResultFs.IncorrectIntegrityVerificationMagic.Includes(result)) if (ResultFs.IncorrectIntegrityVerificationMagic.Includes(result))
{ {
return ResultFs.InvalidSaveDataIvfcMagic.Value; return ResultFs.IncorrectSaveDataIntegrityVerificationMagic.Value;
} }
if (ResultFs.InvalidZeroHash.Includes(result)) if (ResultFs.InvalidZeroHash.Includes(result))
{ {
return ResultFs.InvalidSaveDataIvfcHashValidationBit.Value; return ResultFs.InvalidSaveDataZeroHash.Value;
} }
if (ResultFs.NonRealDataVerificationFailed.Includes(result)) if (ResultFs.NonRealDataVerificationFailed.Includes(result))
{ {
return ResultFs.InvalidSaveDataIvfcHash.Value; return ResultFs.SaveDataNonRealDataVerificationFailed.Value;
} }
if (ResultFs.ClearedRealDataVerificationFailed.Includes(result)) if (ResultFs.ClearedRealDataVerificationFailed.Includes(result))
{ {
return ResultFs.EmptySaveDataIvfcHash.Value; return ResultFs.ClearedSaveDataRealDataVerificationFailed.Value;
} }
if (ResultFs.UnclearedRealDataVerificationFailed.Includes(result)) if (ResultFs.UnclearedRealDataVerificationFailed.Includes(result))
{ {
return ResultFs.InvalidSaveDataHashInIvfcTopLayer.Value; return ResultFs.UnclearedSaveDataRealDataVerificationFailed.Value;
} }
return result; return result;