aboutsummaryrefslogtreecommitdiff
path: root/src/core
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-24Change some SkyEye defines to const intsYuri Kunde Schlesner
This prevents them from interfering with other constants defined in different namespaces.
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 tabs in all files except in skyeye imports and in generated GL codeEmmanuel Gil Peyrot
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-18Merge pull request #207 from lioncash/docsTony Wasserka
Fix documentation of parameters
2014-11-18Merge pull request #209 from lioncash/warnTony Wasserka
directory_sdmc: Fix a signed/unsigned mismatch comparison
2014-11-18Merge pull request #210 from lioncash/typedefTony Wasserka
system: Get rid of an unnecessary enum typedef
2014-11-18system: Get rid of an unnecessary enum typedefLioncash
2014-11-18directory_sdmc: Fix a signed/unsigned mismatch comparisonLioncash
2014-11-18Fix documentation of parametersLioncash
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-17FileSys: Added DebugStr method to Path class.bunnei
2014-11-17Merge pull request #201 from archshift/bossbunnei
Add missing boss:U service
2014-11-17Add missing boss:U service, needed according to Nintendo Zone logs.archshift
2014-11-16mem_map: Add missing prototype for Write64Lioncash
2014-11-15Merge pull request #159 from SeannyM/enable_logTony Wasserka
Add support for disabling log from settings
2014-11-15Merge pull request #193 from lioncash/fmtbunnei
Fix two format strings.
2014-11-15Merge pull request #194 from lioncash/virtbunnei
ARM_Interface: Make destructor virtual
2014-11-14ARM_Interface: Make destructor virtualLioncash
Fixes some warnings on OSX.
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-11ARM: Fixed dyncom to use reg15 for PC (this core doesn't use pc variable).bunnei
- Fixes single stepping in debugger.
2014-11-11Core: Changed RunLoop iterations to 1000 (slightly better performance).bunnei
2014-11-11ARM: Removed unnecessary goto with each instruction.bunnei
2014-11-11ARM: Fixed several dyncom bugs.bunnei
- Fixed NZCVT flags to properly save state when function returns. - Fixed counter to keep track of the actual number of instructions executed. - Fixed single-step mode to only execute one instruction at a time. - DefaultIni: Removed comment that no longer applied to dyncom.
2014-11-10Add FRD:U service and functionsarchshift
2014-11-10Add support for UTF-16 strings for LowPaths in FS:USERarchshift
2014-11-03Add support for disabling log from settingsSean
2014-11-02Fix compilation errorsSean Maas
2014-11-02Merge pull request #163 from archshift/create-directorybunnei
Added CreateDirectory function to service/fs.cpp, and in Archive.
2014-11-02Merge pull request #166 from bunnei/skyeye-vfp-fixesbunnei
SkyEye ARM/VFP fixes
2014-11-02Added CreateDirectory function to service/fs.cpp, and in Archive.archshift