summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/fs_user.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #222 from archshift/renamexyzbunnei2014-12-051-5/+89
|\ | | | | Implemented RenameFile and RenameDirectory in FS:USER
| * Updated archive.cpp functions for proper error handlingarchshift2014-12-041-5/+5
| |
| * Implemented RenameDirectory in FS:USERarchshift2014-11-251-1/+43
| |
| * Implemented RenameFile in FS:USERarchshift2014-11-251-1/+43
| |
* | Fixed formatting and switch statement warningsvaguilar2014-11-271-3/+3
|/
* HLE: Revamp error handling throrough the HLE codeYuri Kunde Schlesner2014-11-241-37/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | All service calls in the CTR OS return result codes indicating the success or failure of the call. Previous to this commit, Citra's HLE emulation of services and the kernel universally either ignored errors or returned dummy -1 error codes. This commit makes an initial effort to provide an infrastructure for error reporting and propagation which can be use going forward to make HLE calls accurately return errors as the original system. A few parts of the code have been updated to use the new system where applicable. One part of this effort is the definition of the `ResultCode` type, which provides facilities for constructing and parsing error codes in the structured format used by the CTR. The `ResultVal` type builds on `ResultCode` by providing a container for values returned by function that can report errors. It enforces that correct error checking will be done on function returns by preventing the use of the return value if the function returned an error code. Currently this change is mostly internal since errors are still suppressed on the ARM<->HLE border, as a temporary compatibility hack. As functionality is implemented and tested this hack can be eventually removed.
* Merge pull request #191 from archshift/deletexyzbunnei2014-11-241-25/+67
|\ | | | | Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.
| * Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.archshift2014-11-231-25/+67
| |
* | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot2014-11-191-1/+1
| |
* | core: Mark some hle functions as staticLioncash2014-11-181-7/+7
|/ | | | These functions are not referred to by their linkage name outside of the translation unit, so they can be marked as static.
* FS_User: Support FileSye::Path in a more generic way.bunnei2014-11-181-42/+65
| | | | added a todo to kernel archive
* FileSys: Updated backend code to use FileSys::Path instead of string for paths.bunnei2014-11-181-4/+4
|
* Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functionsarchshift2014-11-131-109/+40
|
* Add support for UTF-16 strings for LowPaths in FS:USERarchshift2014-11-101-86/+153
|
* Added CreateDirectory function to service/fs.cpp, and in Archive.archshift2014-11-021-2/+38
|
* FS:USER - Implemented IsSdmcDetectedarchshift2014-10-301-1/+17
|
* Renamed souce files of services to match port namesGareth Poole2014-10-291-0/+302