aboutsummaryrefslogtreecommitdiff
path: root/src/core/file_sys/errors.h
AgeCommit message (Collapse)Author
2024-02-10service: bcat: Address review issuesNarr the Reg
2024-01-25fs: Add path classFearlessTobi
2024-01-25fs/errors: Unify naming of result codesFearlessTobi
2023-08-15vfs: expand support for NCA readingLiam
2022-07-27chore: make yuzu REUSE compliantAndrea Pappacoda
[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-26core: Replace all instances of ResultCode with Resultgerman77
2021-05-01service: filesystem: Return proper error codes for CreateFileMorph
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-10set_sys: Use official nintendo version stringZach Hilman
2018-11-16file_sys/errors: Remove currently unused filesystem error codesLioncash
Rather than keeping around unused values, we can just introduce them as needed.
2018-11-16file_sys/errors: Get rid of the ErrCodes namespaceLioncash
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.hLioncash
Keeps filesystem-related error codes in one spot.
2018-07-20file_sys/errors: Remove redundant object constructor callsLioncash
Given we're already constructing the error code, we don't need to call the constructor inside of it.
2018-07-18Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-07-17General Filesystem and Save Data Fixes (#670)Zach Hilman
2018-06-18Services/FS: Return the correct error code when trying to mount a ↵Subv
nonexistent savedata.
2018-03-04FS: Use the correct error code when trying to open files that don't exist.Subv
2017-10-31hle: Use Switch formatted result codes.bunnei
2017-05-24FileSys: Move all result description to errors.hYuri Kunde Schlesner
2017-02-13file_sys: add Self NCCH archivewwylele
2016-11-29FileSys: Implement OtherSaveDatawwylele
2016-11-19FileSys: add SDMCWriteOnlyArchivewwylele
2016-11-19FileSys: add SDMCArchivewwylele
Now DiskArchive only serves for SDMC, then it should be just a "SDMCArchive"
2016-11-19FileSys: add SaveDataArchivewwylele
The error checking of SaveDataArchive is completely different from DiskArchive, so it has to be a new class instead of a subclass of DiskArchive.