HLE/FS: Return the proper error codes on file Read/Write operations.
These operations are limited by the open flags specified while opening the file.
This commit is contained in:
parent
09b0564c75
commit
96f0e32f83
7 changed files with 40 additions and 18 deletions
|
@ -21,6 +21,7 @@ enum class ErrorDescription : u32 {
|
|||
WrongAddress = 53,
|
||||
FS_NotFound = 120,
|
||||
FS_AlreadyExists = 190,
|
||||
FS_InvalidOpenFlags = 230,
|
||||
FS_NotAFile = 250,
|
||||
FS_NotFormatted = 340, ///< This is used by the FS service when creating a SaveData archive
|
||||
InvalidSection = 1000,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue