summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-12-07Merge pull request #245 from rohit-n/null-nullptrbunnei
Change NULLs to nullptrs.
2014-12-04Merge pull request #250 from Subv/cbranch_2bunnei
SVC: Implemented GetThreadId.
2014-12-04Merge pull request #222 from archshift/renamexyzbunnei
Implemented RenameFile and RenameDirectory in FS:USER
2014-12-04Merge pull request #248 from lioncash/kernelbunnei
Misc minor kernel-related changes.
2014-12-04Threads: Remove a redundant function.Subv
Use the next_thread_id variable directly.
2014-12-04Threads: Implemented a sequential thread idSubv
2014-12-03Updated archive.cpp functions for proper error handlingarchshift
2014-12-04SVC: Implemented GetThreadId.Subv
For now threads are using their Handle value as their Id, it should not really cause any problems because Handle values are unique in Citra, but it should be changed. I left a ToDo there because this is not correct behavior as per hardware.
2014-12-04Merge pull request #249 from lioncash/enumbunnei
mem_map: Make enum for addresses use u32 as the underlying type
2014-12-03Merge pull request #247 from lioncash/constbunnei
hid_user: Pass by reference with PadButtonPress/PadButtonRelease
2014-12-03mem_map: Make enum for addresses use u32 as the underlying typeLioncash
2014-12-03Merge pull request #238 from archshift/dspbunnei
Add stub for ConvertProcessFromDspDram
2014-12-03Add stub for ConvertProcessFromDspDramarchshift
Should theoretically push retail stuff further along
2014-12-03kernel: Shorten GetCountLioncash
2014-12-03kernel: Make some functions constLioncash
2014-12-03hid_user: Pass by reference with PadButtonPress/PadButtonReleaseLioncash
2014-12-03PTM_U: Added a stub for GetBatteryLevel & GetBatteryChargeState & ↵purpasmart96
GetAdapterState
2014-12-03Change NULLs to nullptrs.Rohit Nirmal
2014-12-03Merge pull request #236 from rohit-n/sign-comparebunnei
Silence a few -Wsign-compare warnings.
2014-12-03Merge pull request #231 from purpasmart96/serv_ac_wifi_statusbunnei
AC_U: Added a stub for GetWifiStatus
2014-12-03Merge pull request #219 from Subv/ptmbunnei
PTM_U: Implemented the GetShellState function.
2014-12-02AC_U: Added a stub for GetWifiStatuspurpasmart96
2014-11-30Silence a few -Wsign-compare warnings.Rohit Nirmal
2014-11-30Merge pull request #237 from vaguilar/fix-viewportbunnei
Fixed viewport error caused by rounding
2014-11-30Merge pull request #224 from bunnei/dsp-service-improvementsbunnei
Dsp service improvements
2014-11-30Merge pull request #214 from Subv/masterbunnei
CFG:U: Implemented the GetCountryCodeID and GetCountryCodeString
2014-11-30Merge pull request #196 from archshift/settingsbunnei
Merge Config::ReadXYZs
2014-11-30DSP: Added stubs for several commonly used DSP service functions.bunnei
2014-11-30DSP: Fixed typo in port name.bunnei
2014-11-30PTM_U: Implemented the GetShellState function.Subv
2014-11-30Fixed viewport error caused by roundingvaguilar
2014-11-30Merge pull request #225 from bunnei/fix-release-mutexbunnei
Mutex: Changed behavior to always release mutex for all threads.
2014-11-30Merge pull request #226 from bunnei/svc-and-thread-fixesbunnei
Svc and thread fixes
2014-11-30Merge pull request #228 from linkmauve/glfw-errorbunnei
GLFW: Add an error callback before calling glfwInit()
2014-11-30Merge pull request #235 from yuriks/dyncom-mapbunnei
dyncom: Use unordered_map rather than the terrible 2-level bb_map
2014-11-29CFG:U: Implemented the GetCountryCodeID and GetCountryCodeString.Subv
2014-11-29GLFW: Add an error callback before calling glfwInit()Emmanuel Gil Peyrot
It will print a message to know what happened in case something went wrong in a GLFW call. Also replace every printf() in the glfw emu-window by ERROR_LOG().
2014-11-29dyncom: Use unordered_map rather than the terrible 2-level bb_mapYuri Kunde Schlesner
Seems (probably just placebo/wishful thinking) to make it slightly faster. Also reduces memory usage and makes shutdown when debugging from MSVC fast.
2014-11-29arm_dyncom_interpreter: Get rid of unused var warningsLioncash
2014-11-27Fixed formatting and switch statement warningsvaguilar
2014-11-26Thread: Check that thread is actually in "wait state" when verifying wait.bunnei
2014-11-26SVC: Add debug log to ArbitrateAddress.bunnei
2014-11-26SVC: SleepThread should yield to the next ready thread.bunnei
2014-11-26Mutex: Changed behavior to always release mutex for all threads.bunnei
2014-11-25Remove unused includes to common/thread.hEmmanuel Gil Peyrot
2014-11-24Implemented RenameDirectory in FS:USERarchshift
2014-11-24Implemented RenameFile in FS:USERarchshift
2014-11-24Use pointers instead of passing handles around in some functions.Yuri Kunde Schlesner
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.