diff options
| author | wwylele <wwylele@gmail.com> | 2016-10-17 14:54:48 +0800 |
|---|---|---|
| committer | wwylele <wwylele@gmail.com> | 2016-11-19 17:17:19 +0200 |
| commit | 7166fdc49072d987d04e681de4d9e1558ba75c63 (patch) | |
| tree | b65665c71cc0fb5dfff8ba64d1a64898ec8571fd /src/core/hle | |
| parent | 9a0405858a5602a5e1e112b131ecdd8ca27e6d10 (diff) | |
FileSys: add SaveDataArchive
The error checking of SaveDataArchive is completely different from DiskArchive, so it has to be a new class instead of a subclass of DiskArchive.
Diffstat (limited to 'src/core/hle')
| -rw-r--r-- | src/core/hle/result.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h index 7f8d8e00d..8330894f2 100644 --- a/src/core/hle/result.h +++ b/src/core/hle/result.h @@ -20,15 +20,22 @@ enum class ErrorDescription : u32 { OS_InvalidBufferDescriptor = 48, WrongAddress = 53, FS_ArchiveNotMounted = 101, + FS_FileNotFound = 112, + FS_PathNotFound = 113, FS_NotFound = 120, + FS_FileAlreadyExists = 180, + FS_DirectoryAlreadyExists = 185, FS_AlreadyExists = 190, FS_InvalidOpenFlags = 230, + FS_DirectoryNotEmpty = 240, FS_NotAFile = 250, FS_NotFormatted = 340, ///< This is used by the FS service when creating a SaveData archive OutofRangeOrMisalignedAddress = 513, // TODO(purpasmart): Check if this name fits its actual usage GPU_FirstInitialization = 519, FS_InvalidPath = 702, + FS_UnsupportedOpenFlags = 760, + FS_UnexpectedFileOrDirectory = 770, InvalidSection = 1000, TooLarge = 1001, NotAuthorized = 1002, |
