summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/errors.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vfs: expand support for NCA readingLiam2023-08-151-0/+70
|
* chore: make yuzu REUSE compliantAndrea Pappacoda2022-07-271-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [REUSE] is a specification that aims at making file copyright information consistent, so that it can be both human and machine readable. It basically requires that all files have a header containing copyright and licensing information. When this isn't possible, like when dealing with binary assets, generated files or embedded third-party dependencies, it is permitted to insert copyright information in the `.reuse/dep5` file. Oh, and it also requires that all the licenses used in the project are present in the `LICENSES` folder, that's why the diff is so huge. This can be done automatically with `reuse download --all`. The `reuse` tool also contains a handy subcommand that analyzes the project and tells whether or not the project is (still) compliant, `reuse lint`. Following REUSE has a few advantages over the current approach: - Copyright information is easy to access for users / downstream - Files like `dist/license.md` do not need to exist anymore, as `.reuse/dep5` is used instead - `reuse lint` makes it easy to ensure that copyright information of files like binary assets / images is always accurate and up to date To add copyright information of files that didn't have it I looked up who committed what and when, for each file. As yuzu contributors do not have to sign a CLA or similar I couldn't assume that copyright ownership was of the "yuzu Emulator Project", so I used the name and/or email of the commit author instead. [REUSE]: https://reuse.software Follow-up to 01cf05bc75b1e47beb08937439f3ed9339e7b254
* core: Replace all instances of ResultCode with Resultgerman772022-06-271-9/+9
|
* service: filesystem: Return proper error codes for CreateFileMorph2021-05-011-0/+1
| | | | | | This improves the accuracy of CreateFile by returning the correct error codes on certain conditions (parent directory does not exist, path already exists). This fixes saving and the loading of existing saves in New Pokemon Snap
* set_sys: Use official nintendo version stringZach Hilman2019-03-111-0/+3
|
* file_sys/errors: Remove currently unused filesystem error codesLioncash2018-11-161-10/+0
| | | | | Rather than keeping around unused values, we can just introduce them as needed.
* file_sys/errors: Get rid of the ErrCodes namespaceLioncash2018-11-161-17/+5
| | | | | | There's no real point to keeping the separate enum around, especially given the name of the error code itself is supposed to document what the value actually represents.
* file_sys/errors: Extract FS-related error codes to file_sys/errors.hLioncash2018-11-161-1/+8
| | | | Keeps filesystem-related error codes in one spot.
* file_sys/errors: Remove redundant object constructor callsLioncash2018-07-211-8/+8
| | | | | Given we're already constructing the error code, we don't need to call the constructor inside of it.
* Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman2018-07-191-1/+1
| | | | | | | | | | * Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
* General Filesystem and Save Data Fixes (#670)Zach Hilman2018-07-171-0/+2
|
* Services/FS: Return the correct error code when trying to mount a nonexistent savedata.Subv2018-06-191-0/+1
|
* FS: Use the correct error code when trying to open files that don't exist.Subv2018-03-041-22/+3
|
* hle: Use Switch formatted result codes.bunnei2017-11-011-56/+10
|
* FileSys: Move all result description to errors.hYuri Kunde Schlesner2017-05-251-43/+84
|
* file_sys: add Self NCCH archivewwylele2017-02-131-0/+10
|
* FileSys: Implement OtherSaveDatawwylele2016-11-291-0/+3
|
* FileSys: add SDMCWriteOnlyArchivewwylele2016-11-191-0/+2
|
* FileSys: add SDMCArchivewwylele2016-11-191-0/+9
| | | | Now DiskArchive only serves for SDMC, then it should be just a "SDMCArchive"
* FileSys: add SaveDataArchivewwylele2016-11-191-0/+29
The error checking of SaveDataArchive is completely different from DiskArchive, so it has to be a new class instead of a subclass of DiskArchive.