diff options
| author | 2016-10-17 14:54:48 +0800 | |
|---|---|---|
| committer | 2016-11-19 17:17:19 +0200 | |
| commit | 7166fdc49072d987d04e681de4d9e1558ba75c63 (patch) | |
| tree | b65665c71cc0fb5dfff8ba64d1a64898ec8571fd /src/core/hle | |
| parent | FileSys: remove Open from FileBackend (diff) | |
| download | yuzu-7166fdc49072d987d04e681de4d9e1558ba75c63.tar.gz yuzu-7166fdc49072d987d04e681de4d9e1558ba75c63.tar.xz yuzu-7166fdc49072d987d04e681de4d9e1558ba75c63.zip | |
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 { | |||
| 20 | OS_InvalidBufferDescriptor = 48, | 20 | OS_InvalidBufferDescriptor = 48, |
| 21 | WrongAddress = 53, | 21 | WrongAddress = 53, |
| 22 | FS_ArchiveNotMounted = 101, | 22 | FS_ArchiveNotMounted = 101, |
| 23 | FS_FileNotFound = 112, | ||
| 24 | FS_PathNotFound = 113, | ||
| 23 | FS_NotFound = 120, | 25 | FS_NotFound = 120, |
| 26 | FS_FileAlreadyExists = 180, | ||
| 27 | FS_DirectoryAlreadyExists = 185, | ||
| 24 | FS_AlreadyExists = 190, | 28 | FS_AlreadyExists = 190, |
| 25 | FS_InvalidOpenFlags = 230, | 29 | FS_InvalidOpenFlags = 230, |
| 30 | FS_DirectoryNotEmpty = 240, | ||
| 26 | FS_NotAFile = 250, | 31 | FS_NotAFile = 250, |
| 27 | FS_NotFormatted = 340, ///< This is used by the FS service when creating a SaveData archive | 32 | FS_NotFormatted = 340, ///< This is used by the FS service when creating a SaveData archive |
| 28 | OutofRangeOrMisalignedAddress = | 33 | OutofRangeOrMisalignedAddress = |
| 29 | 513, // TODO(purpasmart): Check if this name fits its actual usage | 34 | 513, // TODO(purpasmart): Check if this name fits its actual usage |
| 30 | GPU_FirstInitialization = 519, | 35 | GPU_FirstInitialization = 519, |
| 31 | FS_InvalidPath = 702, | 36 | FS_InvalidPath = 702, |
| 37 | FS_UnsupportedOpenFlags = 760, | ||
| 38 | FS_UnexpectedFileOrDirectory = 770, | ||
| 32 | InvalidSection = 1000, | 39 | InvalidSection = 1000, |
| 33 | TooLarge = 1001, | 40 | TooLarge = 1001, |
| 34 | NotAuthorized = 1002, | 41 | NotAuthorized = 1002, |