summaryrefslogtreecommitdiffstats
path: root/src/core/file_sys/errors.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda1-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
2022-06-27core: Replace all instances of ResultCode with Resultgerman771-9/+9
2021-05-01service: filesystem: Return proper error codes for CreateFileMorph1-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
2019-03-11set_sys: Use official nintendo version stringZach Hilman1-0/+3
2018-11-16file_sys/errors: Remove currently unused filesystem error codesLioncash1-10/+0
Rather than keeping around unused values, we can just introduce them as needed.
2018-11-16file_sys/errors: Get rid of the ErrCodes namespaceLioncash1-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.
2018-11-16file_sys/errors: Extract FS-related error codes to file_sys/errors.hLioncash1-1/+8
Keeps filesystem-related error codes in one spot.
2018-07-21file_sys/errors: Remove redundant object constructor callsLioncash1-8/+8
Given we're already constructing the error code, we don't need to call the constructor inside of it.
2018-07-19Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman1-1/+1
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-07-17General Filesystem and Save Data Fixes (#670)Zach Hilman1-0/+2
2018-06-19Services/FS: Return the correct error code when trying to mount a nonexistent savedata.Subv1-0/+1
2018-03-04FS: Use the correct error code when trying to open files that don't exist.Subv1-22/+3
2017-11-01hle: Use Switch formatted result codes.bunnei1-56/+10
2017-05-25FileSys: Move all result description to errors.hYuri Kunde Schlesner1-43/+84
2017-02-13file_sys: add Self NCCH archivewwylele1-0/+10
2016-11-29FileSys: Implement OtherSaveDatawwylele1-0/+3
2016-11-19FileSys: add SDMCWriteOnlyArchivewwylele1-0/+2
2016-11-19FileSys: add SDMCArchivewwylele1-0/+9
Now DiskArchive only serves for SDMC, then it should be just a "SDMCArchive"
2016-11-19FileSys: add SaveDataArchivewwylele1-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.