aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle
AgeCommit message (Collapse)Author
2014-11-24Remove duplicated docs/update them for changed parameters.Yuri Kunde Schlesner
2014-11-24HLE: Revamp error handling throrough the HLE codeYuri Kunde Schlesner
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-23Merge pull request #191 from archshift/deletexyzbunnei
Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.
2014-11-23Added DeleteFile and DeleteDirectory functions to FS:USER and the archives.archshift
2014-11-20Add more services and some fixes, along with more "override"purpasmart96
in the service's headers
2014-11-19Merge pull request #211 from linkmauve/masterbunnei
Remove trailing spaces from the entire project
2014-11-19Merge pull request #208 from lioncash/staticsbunnei
Add static to some variables
2014-11-19Remove trailing spaces in every file but the ones imported from SkyEye, AOSP ↵Emmanuel Gil Peyrot
or generated
2014-11-18Add static to some variablesLioncash
2014-11-18Remove extraneous semicolonsLioncash
2014-11-17core: Mark some hle functions as staticLioncash
These functions are not referred to by their linkage name outside of the translation unit, so they can be marked as static.
2014-11-17Archive: Fixed to not destroy archive handle on close.bunnei
2014-11-17Archive: Fixed close archive before freeing.bunnei
2014-11-17FS_User: Support FileSye::Path in a more generic way.bunnei
added a todo to kernel archive
2014-11-17FileSys: Updated backend code to use FileSys::Path instead of string for paths.bunnei
2014-11-17Add missing boss:U service, needed according to Nintendo Zone logs.archshift
2014-11-14Fix two format strings.Lioncash
2014-11-12Merge pull request #183 from archshift/lowpathbunnei
Add support for UTF-16 strings for LowPaths in FS:USER
2014-11-12Use std::u16string for conversion between UTF-8 and UTF-16, FS:USER functionsarchshift
2014-11-12Merge pull request #188 from bunnei/apt-fixesbunnei
APT_U: Various improvements and bug fixes.
2014-11-11APT_U: Added stub for function AppletUtility.bunnei
2014-11-11APT_U: Set a valid parameter buffer size in GlanceParameter.bunnei
- Also Clarified GlanceParameter/ReceiveParameter documentation.
2014-11-11APT_U: Release service lock on initialization.bunnei
2014-11-11APT_U: Fixes for GetLockHandle to boot system titles.bunnei
- Also added comment to GetLockHandle function.
2014-11-10Add FRD:U service and functionsarchshift
2014-11-10Add support for UTF-16 strings for LowPaths in FS:USERarchshift
2014-11-02Merge pull request #163 from archshift/create-directorybunnei
Added CreateDirectory function to service/fs.cpp, and in Archive.
2014-11-02Added CreateDirectory function to service/fs.cpp, and in Archive.archshift
2014-11-01Added ReceiveNotification, PublishToSubscriber unimplemented functions to SRVarchshift
2014-11-01Added stub err:f service.archshift
2014-11-01Added a bunch of servicespurpasmart96
2014-10-29Merge pull request #162 from SeannyM/warning-fixesbunnei
Fix some warnings
2014-10-29FS:USER - Implemented IsSdmcDetectedarchshift
2014-10-29Fix some warningsSean
2014-10-29Renamed souce files of services to match port namesGareth Poole
2014-10-27Merge pull request #141 from archshift/crash-huntbunnei
hid.cpp: Fixed crash when updating pad data while null
2014-10-26Add `override` keyword through the code.Yuri Kunde Schlesner
This was automated using `clang-modernize`.
2014-10-25ARM: Integrate SkyEye faster "dyncom" interpreter.bunnei
Fixed typo (make protected member public) Added license header back in. I originally removed this because I mostly rewrote the file, but meh ARM: Fixed a type error in dyncom interpreter. ARM: Updated dyncom to use unique_ptr for internal ARM state.
2014-10-25Don’t fail on empty filename in OpenFileDirectly, return the archive ↵Emmanuel Gil Peyrot
handle instead
2014-10-13hid.cpp: Fixed crash when updating pad data while nullarchshift
Fixes #137
2014-10-07Merge pull request #128 from purpasmart96/masterbunnei
APT:U Added a stub fuction for "GlanceParameter"
2014-10-07APT: Added a stub for the "GlanceParameter" function.purpasmart96
2014-10-06FileSys: split the constructor into an Open method, in order to notify the ↵Emmanuel Gil Peyrot
opener something went wrong. Kernel: Return an invalid handle to OpenFile when it failed to open.
2014-10-06FileSys/Kernel: Implement SetSize service call for File objects.Emmanuel Gil Peyrot
2014-10-04Added some more names to the function tablepurpasmart96
Added "SetApplicationCpuTimeLimit" and "GetApplicationCpuTimeLimit" to apt.cpp
2014-09-30added "StoreDataCache" to the function tablepurpasmart96
seems simple enough
2014-09-21Use the citra user path for the sdmc directoryarchshift
2014-09-17Kernel: Implement the Close command for Archive, File and Directory.Emmanuel Gil Peyrot
2014-09-17FS: Implement OpenArchive, OpenDirectory, OpenFile and OpenFileDirectly calls.Emmanuel Gil Peyrot
2014-09-17Kernel: Add a Directory object and a getter for it from an Archive object.Emmanuel Gil Peyrot