summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/fs_user.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-12-16HLE: Move kernel/archive.* to service/fs/Yuri Kunde Schlesner1-475/+0
2014-12-15Remove SyncRequest from K::Object and create a new K::Session typeYuri Kunde Schlesner1-11/+11
This is a first step at fixing the conceptual insanity that is our handling of service and IPC calls. For now, interfaces still directly derived from Session because we don't have the infrastructure to do it properly. (That is, Processes and scheduling them.)
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner1-36/+18
2014-12-04Updated archive.cpp functions for proper error handlingarchshift1-5/+5
2014-11-27Fixed formatting and switch statement warningsvaguilar1-3/+3
2014-11-25Implemented RenameDirectory in FS:USERarchshift1-1/+43
2014-11-25Implemented RenameFile in FS:USERarchshift1-1/+43
2014-11-24HLE: Revamp error handling throrough the HLE codeYuri Kunde Schlesner1-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.
2014-11-23Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.archshift1-25/+67
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot1-1/+1
2014-11-18core: Mark some hle functions as staticLioncash1-7/+7
These functions are not referred to by their linkage name outside of the translation unit, so they can be marked as static.
2014-11-18FS_User: Support FileSye::Path in a more generic way.bunnei1-42/+65
added a todo to kernel archive
2014-11-18FileSys: Updated backend code to use FileSys::Path instead of string for paths.bunnei1-4/+4
2014-11-13Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functionsarchshift1-109/+40
2014-11-10Add support for UTF-16 strings for LowPaths in FS:USERarchshift1-86/+153
2014-11-02Added CreateDirectory function to service/fs.cpp, and in Archive.archshift1-2/+38
2014-10-30FS:USER - Implemented IsSdmcDetectedarchshift1-1/+17
2014-10-29Renamed souce files of services to match port namesGareth Poole1-1/+1
2014-10-25Don’t fail on empty filename in OpenFileDirectly, return the archive handle insteadEmmanuel Gil Peyrot1-8/+7
2014-09-17FS: Implement OpenArchive, OpenDirectory, OpenFile and OpenFileDirectly calls.Emmanuel Gil Peyrot1-20/+177
2014-09-09core: Prune redundant includesarchshift1-2/+0
2014-07-05FileSys: Added preliminary support for applications reading the RomFS archive.bunnei1-3/+30
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.
2014-06-27FS: Added stubbed code to intercept and decode file system service functions.bunnei1-0/+121
FS: Added to CMakeLists.txt