summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/archive.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Updated archive.cpp functions for proper error handlingarchshift2014-12-041-58/+29
|
* Implemented RenameDirectory in FS:USERarchshift2014-11-251-0/+24
|
* Implemented RenameFile in FS:USERarchshift2014-11-251-0/+24
|
* Remove duplicated docs/update them for changed parameters.Yuri Kunde Schlesner2014-11-241-31/+0
|
* HLE: Revamp error handling throrough the HLE codeYuri Kunde Schlesner2014-11-241-82/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | 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-1/+31
|\ | | | | 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-1/+31
| |
* | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot2014-11-191-3/+3
|/
* Archive: Fixed to not destroy archive handle on close.bunnei2014-11-181-3/+3
|
* Archive: Fixed close archive before freeing.bunnei2014-11-181-1/+1
|
* FS_User: Support FileSye::Path in a more generic way.bunnei2014-11-181-0/+11
| | | | added a todo to kernel archive
* FileSys: Updated backend code to use FileSys::Path instead of string for paths.bunnei2014-11-181-7/+7
|
* Added CreateDirectory function to service/fs.cpp, and in Archive.archshift2014-11-021-0/+15
|
* Fix some warningsSean2014-10-301-3/+3
|
* Add `override` keyword through the code.Yuri Kunde Schlesner2014-10-261-15/+15
| | | | This was automated using `clang-modernize`.
* FileSys: split the constructor into an Open method, in order to notify the opener something went wrong.Emmanuel Gil Peyrot2014-10-061-0/+3
| | | | Kernel: Return an invalid handle to OpenFile when it failed to open.
* FileSys/Kernel: Implement SetSize service call for File objects.Emmanuel Gil Peyrot2014-10-061-0/+8
|
* Use the citra user path for the sdmc directoryarchshift2014-09-211-2/+1
|
* Kernel: Implement the Close command for Archive, File and Directory.Emmanuel Gil Peyrot2014-09-171-0/+36
|
* Kernel: Add a Directory object and a getter for it from an Archive object.Emmanuel Gil Peyrot2014-09-171-0/+82
|
* Kernel: Add a File object and a getter for it from an Archive object.Emmanuel Gil Peyrot2014-09-171-0/+109
|
* core: Prune redundant includesarchshift2014-09-091-1/+0
|
* Added FS functions to Archive and Archive_RomFSarchshift2014-08-231-3/+31
|
* Core: Alter the kernel string functions to use std::string instead of const char*.Lioncash2014-08-181-3/+3
| | | | Most functions already operate on std::strings. This also removes the need to manually null terminate thread names.
* Archive: Added Init/Shutdown methods to reset kernel archive state.bunnei2014-07-051-0/+10
|
* FileSys: Added preliminary support for applications reading the RomFS archive.bunnei2014-07-051-6/+92
| | | | | | | | | | Archive: Fixed brace ugliness for neobrain :) FS: Commented out unused local variables to prevent warnings. ...But keeping them here for future use. archive_romfs: Removed unused #include.
* Kernel: Added stubbed code to support creation of kernel Archive objects.bunnei2014-06-271-0/+61