aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/kernel/archive.cpp
Commit message (Collapse)AuthorAge
* Make OpenDirectory fail if the directory doesn't existGravatar archshift2014-12-07
| | | | | | | This is in line with what the hardware itself does. It does this by splitting the initial directory opening into Directory.Open(), which will return false if a stat fails. Then, Archive::OpenDirectory will return nullptr, and archive.cpp will return an error code .
* Updated archive.cpp functions for proper error handlingGravatar archshift2014-12-03
|
* Implemented RenameDirectory in FS:USERGravatar archshift2014-11-24
|
* Implemented RenameFile in FS:USERGravatar archshift2014-11-24
|
* Remove duplicated docs/update them for changed parameters.Gravatar Yuri Kunde Schlesner2014-11-24
|
* HLE: Revamp error handling throrough the HLE codeGravatar Yuri Kunde Schlesner2014-11-24
| | | | | | | | | | | | | | | | | | | | | | | | | | 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/deletexyzGravatar bunnei2014-11-23
|\ | | | | Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.
| * Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.Gravatar archshift2014-11-23
| |
* | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP ↵Gravatar Emmanuel Gil Peyrot2014-11-19
|/ | | | or generated
* Archive: Fixed to not destroy archive handle on close.Gravatar bunnei2014-11-17
|
* Archive: Fixed close archive before freeing.Gravatar bunnei2014-11-17
|
* FS_User: Support FileSye::Path in a more generic way.Gravatar bunnei2014-11-17
| | | | added a todo to kernel archive
* FileSys: Updated backend code to use FileSys::Path instead of string for paths.Gravatar bunnei2014-11-17
|
* Added CreateDirectory function to service/fs.cpp, and in Archive.Gravatar archshift2014-11-02
|
* Fix some warningsGravatar Sean2014-10-29
|
* Add `override` keyword through the code.Gravatar Yuri Kunde Schlesner2014-10-26
| | | | This was automated using `clang-modernize`.
* FileSys: split the constructor into an Open method, in order to notify the ↵Gravatar Emmanuel Gil Peyrot2014-10-06
| | | | | | opener something went wrong. Kernel: Return an invalid handle to OpenFile when it failed to open.
* FileSys/Kernel: Implement SetSize service call for File objects.Gravatar Emmanuel Gil Peyrot2014-10-06
|
* Use the citra user path for the sdmc directoryGravatar archshift2014-09-21
|
* Kernel: Implement the Close command for Archive, File and Directory.Gravatar Emmanuel Gil Peyrot2014-09-17
|
* Kernel: Add a Directory object and a getter for it from an Archive object.Gravatar Emmanuel Gil Peyrot2014-09-17
|
* Kernel: Add a File object and a getter for it from an Archive object.Gravatar Emmanuel Gil Peyrot2014-09-17
|
* core: Prune redundant includesGravatar archshift2014-09-08
|
* Added FS functions to Archive and Archive_RomFSGravatar archshift2014-08-22
|
* Core: Alter the kernel string functions to use std::string instead of const ↵Gravatar Lioncash2014-08-17
| | | | | | char*. 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.Gravatar bunnei2014-07-04
|
* FileSys: Added preliminary support for applications reading the RomFS archive.Gravatar bunnei2014-07-04
| | | | | | | | | | 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.Gravatar bunnei2014-06-27